Skip to main content
Version: Next

Invoice detail

Retrieve the details of a single invoice, including seller/buyer information, totals, line items and data used to build the form (QR lookup code, MCCQT).

GET /invoices/{invoiceId}
Example response
{
"id": "0de33a81-fd05-4a1b-9c94-116f62c56057",
"invoiceSymbol": "K25TAA",
"invoiceNumber": "88",
"issueDate": "2025-03-15",
"sellerName": "CÔNG TY TNHH THƯƠNG MẠI ABC",
"sellerTaxCode": "0101234567",
"sellerAddress": "Số 1 Phố Mẫu, Quận Ba Đình, Hà Nội",
"buyerName": "CÔNG TY CỔ PHẦN GIẢI PHÁP T CONNECT",
"buyerTaxCode": "0319074775",
"paymentMethod": "Tiền mặt/Chuyển khoản",
"totalBeforeTax": 5000000,
"totalTax": 400000,
"totalAmount": 5400000,
"totalInWords": "Năm triệu bốn trăm nghìn đồng",
"mccqt": "00ABCDEF1234567890ABCDEF1234MOCK",
"lookupCode": "MOCK00ABCDE",
"taxBreakdown": [{ "taxRate": "8%", "amountBeforeTax": 5000000, "taxAmount": 400000 }],
"items": [
{
"lineNumber": 1,
"description": "Dịch vụ phần mềm (mẫu)",
"unit": "Gói", "quantity": 1, "unitPrice": 5000000,
"amount": 5000000, "taxRate": "8%", "taxAmount": 400000
}
]
}
Line items are only present after details have been retrieved

items only contains data if the invoice was synced with fetchDetails: true, or after calling Fetch detail on-demand.