Save Branch User
The Branch API enables businesses to manage branch and user information within Smart Invoice.
This allows third-party systems to create and synchronize branch user accounts, ensuring seamless access and role management.
SaveBranchUserAsync() method
This method is used to create branch user accounts in Smart Invoice.
User information such as name, contact details, and address should be provided by the third-party system.
Request Parameters
| Parameter | Type | Description |
|---|---|---|
| BranchId | string | Unique identifier of the branch |
| UserId | string | Unique user identifier |
| UserName | string | Full name of the branch user |
| ContactNumber | string | Phone number of the user |
| string | Email address of the user | |
| Address | string | Physical address of the user |
| Role | string | User role within the branch (e.g., Admin, Cashier, Manager) |
Usage

Successful Response
{
"success": true,
"code": "000",
"message": "Operation completed successfully",
"timestamp": "2025-09-19 15:51:03",
"data": null,
"error": null
}