POST | /api/eInvoice/Invoice/vatInvoices |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
vatInvoices | body | List<VatInvoiceJson> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | int | No | |
Status | form | int | No | |
ErrorMessage | form | string | No | |
KeySearch | form | string | No | |
UrlSearch | form | string | No | |
InvoiceNo | form | string | No | |
MaCQT | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /api/eInvoice/Invoice/vatInvoices HTTP/1.1
Host: api.pos365.vn
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
vatInvoices:
[
{
Id: 0,
Status: 0,
ErrorMessage: String,
KeySearch: String,
UrlSearch: String,
InvoiceNo: String,
MaCQT: String
}
]
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { }