ZRA VSDC icon

ZRA VSDC

Interact with Zambia Revenue Authority VSDC Smart Invoice API

Item → Get All

AI-generated

Overview

This node interacts with the Zambia Revenue Authority VSDC Smart Invoice API to manage various resources such as devices, codes, items, sales, and stock. Specifically, for the 'Item' resource with the 'Get All' operation, it retrieves all items updated since a specified last request date. This is useful for synchronizing item data or fetching updated inventory information from the VSDC system.

Use Case Examples

  1. A business using n8n can automate the retrieval of all items updated since a certain date to keep their internal inventory system synchronized with the Zambia Revenue Authority's records.
  2. An accounting system can periodically fetch all items to ensure tax and classification codes are up to date.

Properties

Name Meaning
Last Request Date The date and time from which to retrieve updated items, formatted as yyyyMMddHH24MISS (e.g., 20251110145557). This helps filter items updated after this timestamp.

Output

JSON

  • data - Array of item objects returned from the VSDC API, each representing an item with its details.

Dependencies

  • Requires an API key credential for the Zambia Revenue Authority VSDC API, including base URL, TPIN, branch ID, and device serial number.

Troubleshooting

Common issues include HTTP request failures due to network problems or incorrect credentials, resulting in error messages like 'HTTP request failed: '.

  • Ensure the 'Last Request Date' is correctly formatted to avoid API errors.
  • If the node fails on a specific item, enabling 'Continue On Fail' allows processing to continue for other items while logging errors.

Links

Discussion