Happy Business Starts Here


How to query invoice item by invoiceNumber?



We can get invoices by  REST API[Get invoices],but when attempting to query one item,we need to iterate over all the invoices。

how can I get the invoice by invoiceNumber without iterate .

Support SME

Re: How to query invoice item by invoiceNumber?

Hi @zhironghao,


Currently, via the REST API you can only view the Invoices by Account Number, therefore all Invoice for that Account will be displayed.


If you want to see the Invoice Items, then this is possible via SOAP API, by querying the Invoice Item Object, along with making use of the Invoice Object.


Alternatively, you could use the Data Source Export to get the Invoice Items by the Invoice Number.


I hope that this answers your question.

If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √