Skip to main content

List provider accounts

This API lets you get the list of e-invoice provider accounts, with filtering by provider and status, and pagination.

POST
URLhttps://open-api.tingee.vn/v1/e-invoice/get-paging-account

Query the list of e-invoice provider accounts by filter conditions.

Header Request​

HeaderRequiredDescription
Content-Type✓application/json
x-client-id✓Partner identifier issued by TINGEE.
x-signature✓HMAC SHA512 authentication signature. See How to generate the signature.
x-request-timestamp✓Time the request is sent (format: yyyyMMddHHmmssSSS, UTC+7)

Body Parameter​

FieldTypeRequiredDescription
merchantIdnumber✕Filter by sub-Merchant.
(Only applies when you connect with a Master Merchant account; leave empty to get the accounts of all sub-Merchants).
filterstring✕Fuzzy search keyword on the tax code (taxCode) or username (username).
skipCountnumber✕Number of records to skip (Default: 0).
maxResultCountnumber✕Maximum number of records per page (maximum 2000; larger values are reduced to 2000).
If not passed, the system returns all records.
providerstring✕Filter by provider: x-cyber, hilo, s-invoice, misa, bkav.
isDefaultboolean✕Filter default accounts.
isActiveboolean✕Filter active accounts.

Results are always sorted by creation time, newest first.

Code samples​

curl --location --request POST 'https://open-api.tingee.vn/v1/e-invoice/get-paging-account' \
--header 'accept: application/json' \
--header 'x-client-id: YOUR_CLIENT_ID' \
--header 'x-request-timestamp: 20240509154004003' \
--header 'x-signature: YOUR_SIGNATURE' \
--header 'Content-Type: application/json' \
--data '{
"skipCount": 0,
"maxResultCount": 10,
"provider": "x-cyber",
"isActive": true
}'

Sample Response​

{
"code": "00",
"message": "Success",
"data": {
"totalCount": 1,
"items": [
{
"id": 1,
"merchantId": 10001,
"masterMerchantId": null,
"provider": "x-cyber",
"taxCode": "0101234567",
"username": "admin@company.vn",
"isDefault": true,
"isActive": true,
"services": ["output-invoice"],
"creationTime": "2026-01-15T08:30:00.000Z"
}
]
}
}
FieldTypeDescription
codestringResult code (00 = Success).
messagestringResponse message.
data.totalCountnumberTotal number of accounts matching the conditions.
data.itemsarrayList of provider accounts.
data.items[].idnumberAccount ID.
data.items[].merchantIdnumberID of the Merchant that owns the account.
data.items[].masterMerchantIdnumberID of the Master Merchant that manages the account (null if the account was configured by the Merchant itself).
data.items[].providerstringProvider code: x-cyber, hilo, s-invoice, misa, bkav.
data.items[].taxCodestringBusiness tax code.
data.items[].usernamestringUsername of the provider account.
data.items[].isDefaultbooleanDefault account.
data.items[].isActivebooleanActive status.
data.items[].servicesarrayRegistered services: output-invoice (sales invoices), input-invoice (purchase invoices).
data.items[].creationTimestringTime the account was created.
data.items[].merchantNamestringMerchant name (only returned when called with a Master Merchant account).
data.items[].masterMerchantNamestringMaster Merchant name (only returned when called with a Master Merchant account).

Common error codes​

CodeDescriptionHow to handle
1095, 1096Master Merchant merchantId errorPass the merchantId of a sub-Merchant belonging to the Master Merchant calling the API, or omit merchantId.
90, 91, 92, 97Request authentication error (timestamp, client-id, signature)See System error codes.
OthersOther errorsSee Error codes.