本文档由 Apifox 自动生成,推荐使用 Apifox - API 文档、API 调试、API Mock、API 自动化测试!
{
"status": 0,
"success": true,
"data": {
"id": 454902145,
"invoice_number": "1",
"uuid": "e7f9e1e3-90d1-487d-afe1-f97e10b80b1d",
"order_id": 0,
"invoice_reference_id": "string",
"type": "Tax Invoice",
"date": "2023-10-01",
"qr_code": "string",
"payment_method": "credit_card",
"subtotal": {
"amount": 50,
"currency": "SAR"
},
"shipping_cost": {
"amount": "string",
"taxable": true,
"currency": "string"
},
"cod_cost": {
"amount": 0,
"taxable": true,
"currency": "string"
},
"discount": {
"amount": "string",
"currency": "SAR"
},
"tax": {
"percent": 0,
"amount": {
"amount": 0,
"currency": "SAR"
}
},
"total": {
"amount": 0,
"currency": "SAR"
},
"items": [
{
"id": "string",
"item_id": "string",
"product_id": "string",
"name": "string",
"quantity": "string",
"type": "product",
"price": {
"amount": 0,
"currency": "SAR"
},
"discount": {
"amount": 0,
"currency": "SAR"
},
"tax": {
"percent": 0,
"amount": {
"amount": 15,
"currency": "SAR"
}
},
"total": {
"amount": 0,
"currency": "SAR"
}
}
]
}
}
扫码加入 Apifox 微信交流群
在这里,获得 Apifox 使用上的任何帮助,快速上手让你的研测效率得到大幅提升