Mô tả: api này dùng để lấy thông tin hóa đơn trên hệ thống eHoaDon Online
Method: HTTPGET
URL: https://[TaxNumber].ehoadon.online/api/EInvoiceOnline/GetInvoiceById/{id}
Auth type: Bearer Token (mã token đã tạo từ bước "Tạo token")
Content-Type: application/json
Para:
{
"message": null,
"status": "success",
"code": 200,
"data": {
"Pattern": "01GTKT0/002",
"Serial": "DH/19E",
"ArisingDate": "2019-10-06T17:00:00",
"VatRate": 0.0,
"Status": 1,
"PaymentMethod": 8,
"PriceType": 0,
"ExchangeRate": 0.0,
"OrderItems": [
{
"ProductId": "5d61628871ff3615d4be5bc2",
"ProductName": "Email for Office Professional-BizStore 100 users",
"Unit": "Gói",
"Quantity": 1.0,
"Price": 12000000.0,
"Amount": 12000000.0,
"Free": false,
"VatRate": -1.0,
"Id": null
}
],
"InvoiceCustomer": {
"CustomerNumber": "TEST01",
"TaxNumber": "0123456789",
"CompanyName": "Công ty Tập đoàn BizStore",
"FullName": "Công ty Tập đoàn BizStore",
"AccountName": null,
"Address": "Ninh thuận",
"PhoneNumber": null,
"FaxNumber": null,
"Email": null,
"Cc": null,
"LegalRepresentative": null,
"BankAccountNumber": "05841478990",
"BankName": null,
"BankBranchName": "ViettinBank",
"BankOwnerName": null,
"Description": null,
"Password": null,
"PasswordSalt": null,
"IsAccountant": false,
"Id": "5d537495014509135066469d"
},
"Id": "5d9affdccb3a251278e25c47"
}
}
Thông tin dữ liệu: