Mô tả: api này dùng để phát hành hóa đơn trên hệ thống eHoaDon Online
Method: HTTPPOST
URL: https://[TaxNumber].ehoadon.online/api/EInvoiceOnline/PublishInvoice
Auth type: Bearer Token (mã token đã tạo từ bước "Tạo token")
Content-Type: application/json
Body:
{
"Pattern": "string",
"Serial": "string",
"InvoiceIds": ["string"],
"SerialCert": "string"
}
Responses:
{
"message": "string",
"status": "success",
"code": 200,
"data": PublishInvoiceResult[]
}
Thông tin dữ liệu:
1. PublishInvoiceResult- Thông tin phát hành hóa đơn