Chuyển tới nội dung chính
Phiên bản: Next

Lấy thông tin chi tiết hóa đơn

GET /<provider>/get-invoice

API dùng để lấy thông tin chi tiết 1 hóa đơn.

Headers

NameRequiredDescription
AuthorizationBearer token_truy_cap
Content-Typeapplication/json
X-Tax-CodeMã số thuế người bán.

Query Parameters

NameRequiredDescription
idsid lúc tạo hóa đơn.

Response

NameDescription
data.search_codeMã để người dùng tra cứu hóa đơn
data.invoice_dateNgày phát hành hóa đơn
data.seqSố hóa đơn
data.tax_authority_codeMã cơ quan thuế
data.buyerTên đơn vị
data.bnameTên người mua
data.total_vTổng tiền bao gồm thuế
data.vat_vTiền thuế
data.serialKý hiệu hóa đơn
data.sidId hóa đơn
data.vpidId dùng để xem hóa đơn (PDF)
data.statusTrạng thái hóa đơn
data.status_receivedTrạng thái phản hồi CQT
successTrạng thái api
curl --location 'https://stag-invoice-hub.atomsolution.vn/m-invoice/get-invoice?id=160725-8238-JFSFA1213' \
--header 'authorization: Bearer O87316arj5+Od3Fqyy5hzdBfIuPk73eKqpAzBSvv8sY=' \
--header 'origin: http://localhost:3000' \
--header 'x-tax-code: 0106026495-998'