+1 vote
in REST API end points by (150 points)

Hi

whats the best way to filter the invoices which has not been transfered before in the Soap API?
I can't see any way to mark the invoices as exported / transfered. And I don't find out what the correct filter fields are either.

In the Invoice-Endpoint there are the following filters:

BaseDate
CustomerId
EndDate
InvoiceId
IsOutstanding
StartDate

But: Is StartDate related to the invoice-date?

Or we can use the exportInvoices endpoint, but there I get just all invoices. The only filter is:

maxRecordsout

What is your recommended way to do that?

Florian

1 Answer

0 votes
by (1.8k points)

Hi Florian,

There's no way of doing this I'm afraid.

Either you:
- Export all invoices, ignore the ones you're not interested in and mark them all as exported.
or
- Use the filters on the invoice endpoint on a date range

Server-side pre-filtering is something we are looking to add to the changes?since function of the REST API. This performs the same function as the ExportInvoice SOAP API without the need to confirm the export.

Welcome to AMCS PLATFORM REST API Q&A, where you can ask questions and receive answers from other members of the community.
...