GET api/v{version}/Invoices/GetNextInvoiceNumber?key={key}&shopCode={shopCode}&invoiceDate={invoiceDate}&isCreditNote={isCreditNote}
Use this to get the next invoice number for an invoice. Caution! this will mark the number as used. so next time u use this function u will get a different number. U will also see a different number in WACS.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| key |
your API key. |
string |
Required |
| shopCode |
The shop code u want the invoice number from |
string |
Required |
| invoiceDate |
the date that u will use on the invoice |
date |
Required |
| isCreditNote |
Determines if the invoice is a creditnote or not. Default value is false |
boolean |
Default value is False |
| version | string |
None. |
Body Parameters
None.
Response Information
Resource Description
stringNone.
Response Formats
application/json, text/json
Sample:
"sample string 1"