API Not Recognising Invoice Numbers

Hi,

When I make an API call to retrieve a single invoice I get an error saying the invoice number is incorrect. All my invoices are as such:

000336
000337
000338 and so on

When the API returns the error, the invoice number has been truncated and no longer has the 3 leading 000s, is this the problem and how can it be fixed because I can’t go back through and change all my invoice numbers.

Thank you

Hi @kepl3r

The IDs for invoices in the API is actually our internal IDs. These can be found in a few ways, including:

  • Invoice_Search API call
  • or viewing them in your web browser

If you view an invoice in your browser, you can see the invoice ID in the web address bar:

Hope that helps :slight_smile:

Thank you for your help! :smiley:

1 Like