Quantcast
Channel: e-conomic Global API Forum
Viewing all articles
Browse latest Browse all 2527

Answered: Get number on current invoice

$
0
0

Hi Kenneth

The SOAP API doesn't expose the temporal ID that is used in the GUI. To access this you will have to use the REST API. Here you can find the property "draftInvoiceNumber" on /invoices-experimental/drafts/

If you need to link the SOAP API CurrentInvoice handle Id with the REST endpoint you can take a look at the "soap" object on the draft: 

"soap": {
   "currentInvoiceHandle": {
   "id": 15
}
 
Or the other way around: use "soap.currentInvoiceHandle.id" to filter for the SOAP Id you're looking for (15 in this case):

Viewing all articles
Browse latest Browse all 2527

Trending Articles