Chi tiết 1 hoá đơn
URL: {host}/api/invoice/{invoice_number}/detail
Method: GET
invoice_number: Mã hóa đơn
Header:
Parameter | Mô tả |
---|---|
Authorization | {Bear + access_token} |
Accept | application/json |
Response :
Parameter | Mô tả |
---|---|
type | Loại hóa đơn: trả trước, trả sau (subscription | retail ) |
invoice_number | Mã hóa đơn |
total_money | Tổng tiền |
status | Trạng thái (pending | paid) |
provisional | Tổng tiền tạm tính (chưa trừ thuế) |
tax_money | Số tiền thuế |
tax | Thuế |
order | Đơn hàng trong hóa đơn |
order.employer | Nhân sự |
order.items.id | Định danh item |
order.items.name | Tên item |
order.items.price | Giá trị |
order.items.quality | Số lượng |
order.items.attributes | Thuộc tính item |
order.items.conditions | Giảm giá |
order.created_at | Ngày tạo |
order.amount | Tổng tiền order |
Last updated