Credit notes API endpoint  Topic is solved

Discussions relating to plugin development, and the Jiwa API.

Credit notes API endpoint

Postby aaron_bonntech » Fri Feb 03, 2023 11:28 am

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
aaron_bonntech
I'm new here
I'm new here
 
Posts: 9
Joined: Fri Jul 08, 2022 11:19 am

Re: Credit notes API endpoint  Topic is solved

Postby Mike.Sheen » Fri Feb 03, 2023 11:31 am

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
Mike Sheen
Chief Software Engineer
Jiwa Financials

If I do answer your question to your satisfaction, please mark it as the post solving the topic so others with the same issue can readily identify the solution
User avatar
Mike.Sheen
Overflow Error
Overflow Error
 
Posts: 2444
Joined: Tue Feb 12, 2008 11:12 am
Location: Perth, Republic of Western Australia
Topics Solved: 756


Return to Technical and or Programming

Who is online

Users browsing this forum: No registered users and 27 guests

cron