Import Invoice
Last updated
Last updated
Used to retrieve a list of customers based on specified conditions
Name | (*) | Type | Description |
---|---|---|---|
Name | (*) | Type | Description |
---|---|---|---|
Name | (*) | Type | Description |
---|---|---|---|
Tên | Diễn giải |
---|---|
Method
Link
{{host}}/Invoice/Import
Type
Bearer Token
Token
{{access_token}}
api_code
string
The unique key for each invoice, within the same secret connecting to the API, this api_code is not allowed to be duplicated
so_ct
string
Invoice number
ngay_ct
datetime
Invoice date, ISO 8601 format
ma_nt
string
Currency code
ty_gia
numeric
Invoice Exchange Rate
ma_kh
string
Customer Purchase Code
ma_nvbh
string
Salesperson Code
api_code
string
The key to the invoice, this key is set the same as the api_code string in the master. Within the same invoice, this string is identical
ma_vt
string
Product code
dvt
string
Unit code
ma_kho
string
Sales warehouse code
so_luong
numeric
Sales quantity
gia_nt2
numeric
Unit selling price
tien_nt2
nuemric
Total amount
api_code
string
The key to the invoice, this key is set to be identical to the api_code string in the master. In the same invoice, this string is the same
ma_httt
string
Payment method code for invoices
t_tt_nt
numeric
The total amount to be paid using this method
code
When successfully executed, the status code is 200. For other codes, such as 401, 452... it indicates a failed operation, accompanied by a descriptive message explaining the result
msg
Description of API execution results