ZRA VSDC icon

ZRA VSDC

Interact with Zambia Revenue Authority VSDC Smart Invoice API

Item → Get

AI-generated

Overview

This node interacts with the Zambia Revenue Authority VSDC Smart Invoice API to manage items. Specifically, the 'Item - Get' operation retrieves an item by its code from the VSDC system. This is useful for workflows that need to fetch detailed information about a specific item registered in the VSDC system, such as inventory management, sales processing, or compliance reporting.

Use Case Examples

  1. Retrieve an item by its unique code to verify its details before processing a sale.
  2. Fetch item information to update inventory records or synchronize with another system.

Properties

Name Meaning
resource The resource to operate on, fixed to 'Item' for this operation.
operation The operation to perform, fixed to 'Get' for this action.

Output

JSON

  • data - The data object containing the retrieved item details from the VSDC API.

Dependencies

  • Requires credentials for the 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'.
  • If the item code does not exist or is invalid, the API may return an empty response or error, so ensure the item code is correct.
  • Timeouts may occur if the API is slow to respond; the node has a 30-second timeout setting for requests.

Links

Discussion