getSeries
The method allows to download a series of invoice/receipt numbering.
Input parameters
Output data:
A sample request in PHP:
Output data
The method returns the data in JSON format.
status | varchar(30) | SUCCESS - request executed correctly ERROR - an error occurred during an API request. Error details will be described in 2 additional returned fields: error_message and error_code |
series | array | An array of numbering series information. |
| - id | int | Series numbering identifier |
| - type | varchar(10) | Numbering type - possible values (INVOICE, CORRECTION, RECEIPT) |
| - name | varchar(20) | Numbering name |
| - format | varchar(30) | Numbering format |
Sample
Input data:Output data:
A sample request in PHP: