Page 1 of 1

Credit notes API endpoint

PostPosted: Fri Feb 03, 2023 11:28 am
by aaron_bonntech
Hi,

Is there an endpoint to retrieve a list of credit notes from the JIWA REST API?

I have looked into /Debtor ,/Queries , and /SalesOrders and found no mention of credit notes endpoints.

Thanks,
Aaron Z

Re: Credit notes API endpoint  Topic is solved

PostPosted: Fri Feb 03, 2023 11:31 am
by Mike.Sheen
aaron_bonntech wrote:Hi,

Is there an endpoint to retrieve a list of credit notes from the JIWA REST API?

I have looked into /Debtor ,/Queries , and /SalesOrders and found no mention of credit notes endpoints.

Thanks,
Aaron Z


Credit notes can be identified by a property of a sales order - "CreditNote" - so using one of the built-in queries to get a list of sales orders and including a filter of CreditNote=1 will do what you want.

Eg: https://api.jiwa.com.au/Queries/SalesOr ... =InvoiceNo