Response
| Field | Description | Type |
|---|---|---|
| status | "success|error|in progress" – status | |
| code | completion code | |
| batch_id | Batch ID in T&T System, if successful | integer |
| message | error message | |
| request_id | Unique request ID |
Note: The status "in progress" indicates that the request is still being processed when using the request_id parameter. This status was introduced to prevent the re-execution of requests with the same request_id if they have already been accepted for processing but not yet completed.
Error codes:
| Field | Description |
|---|---|
| 0 | Done |
| 108 | Product category ID is required |
| 113 | Access denied |
| 114 | Depatment ID is required |
| 126 | Code generation order for product %s not found |
| 127 | Product group %s in the code generation order not found |
| 159 | Incorrect emission type |
| 169 | Incorrect date |
| 184 | The number of codes to be issued to the manufacturer exceeds the quantity confirmed by tax inspection per %d codes |