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
| Parameter | Type | Description |
|---|---|---|
| TPIN | string | Taxpayer Identification Number of the business |
| BranchId | string | Branch ID of the taxpayer |
| LastReqDt | string | Timestamp of the last request (format: yyyyMMddHHmmss) |
Usage Example
![]()
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."
}