Skip to content
Axis Solutions ZMB
YouTube

Get Branches

The Branches API enables businesses to retrieve details of all branches that have been registered in Smart Invoice.
It provides a comprehensive list of branches including branch names, physical addresses, and other related information.
This helps third-party systems keep branch data in sync with Smart Invoice.

GetBranchesAsync() method

This method retrieves all registered branches from Smart Invoice.
You can filter results using the TPIN, Branch ID, and Last Request Date.

Request Parameters

NB: These details are stored in the configuration files

ParameterTypeDescription
TPINstringTaxpayer Identification Number of the business
BranchIdstringBranch ID of the taxpayer
LastReqDtstringTimestamp of the last request (format: yyyyMMddHHmmss)

Usage Example

Device initialise

Response

{
  "success": false,
  "code": "E004",
  "message": "Server returned error: 001 - There is no search result",
  "timestamp": "2025-09-22 08:14:03",
  "data": null,
  "error": "There is no search result."
}