You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to extract Ap invoices for which attachment is not available

Summary:

I want to extract the all AP invoices for which users has not upload the attachment.

Below mention REST API is not working but when I changed the "And attachments.FileName is not null" then it is successfully return the invoices for which attachment is available.

Content (please ensure you mask any confidential information):

https://server/fscmRestApi/resources/11.13.18.05/invoices?expand=attachments&onlyData=true&fields=InvoiceType,InvoiceId,InvoiceNumber,InvoiceCurrency,InvoiceDate,InvoiceAmount,Supplier,SupplierNumber,SupplierSite,CreationDate;attachments:FileName&q=CreationDate >='2025-10-16' And SupplierSite IN('80377','8023','8013') And InvoiceType IN('Standard','Credit memo') And attachments.FileName is null

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!