Actions14
- Device Actions
- Codes Actions
- Item Actions
- Sales Actions
- Stock Actions
Codes → Get Classification Codes
AI-generatedOverview
This node interacts with the Zambia Revenue Authority VSDC Smart Invoice API to retrieve UNSPSC classification codes. It is useful for businesses or developers needing to access updated classification codes for items, ensuring compliance and accurate categorization in invoicing or inventory systems. For example, it can be used to fetch the latest classification codes since a specified date to keep a product database current.
Use Case Examples
- A business automating the update of their product classification codes by fetching new or changed codes since the last update date.
- A developer integrating the VSDC API to retrieve classification codes for validating item categories in an invoicing application.
Properties
| Name | Meaning |
|---|---|
| Last Request Date | The date and time of the last request in the format yyyyMMddHH24MISS, used to fetch classification codes updated since this timestamp. |
Output
JSON
data- Array of classification codes retrieved from the VSDC API.
Dependencies
- Requires an API key credential for the VSDC API, including base URL, TPIN, branch ID, and device serial number for authentication.
Troubleshooting
- HTTP request failures due to network issues or incorrect API credentials. Ensure the API key and other credentials are correctly configured.
- Invalid date format for 'Last Request Date' can cause the API to reject the request. Use the specified format yyyyMMddHH24MISS.
- API timeout errors if the VSDC service is slow or unresponsive; consider retrying or increasing timeout settings.
Links
- Zambia Revenue Authority - Official site for Zambia Revenue Authority, which provides the VSDC API.