ดูใบเสร็จรับเงินหนึ่งใบ

GEThttps://api.checkslip.com/api/billing/receipts/{receipt_id}

ใช้ API key

แสดงใบเสร็จรับเงินหนึ่งใบ ใบเสร็จออกครั้งเดียวเมื่อชำระสำเร็จและแก้ไขไม่ได้ ข้อมูลผู้ซื้อบนใบเสร็จเป็นข้อมูล ณ เวลาที่ชำระ ถ้า seller_ready เป็น false แปลว่าใบเสร็จนี้ใช้เป็นหลักฐานทางภาษีไม่ได้ ใช้ API key ที่มีสิทธิ์ billing:read

Parameters

ฟิลด์ส่งทางชนิดจำเป็น
receipt_idpathstring (uuid)ใช่

Responses

200 application/json

ฟิลด์ชนิดจำเป็น
seller_readybooleanใช่
idstring (uuid)ใช่
receipt_nostringใช่
order_idstring (uuid)ใช่
issued_atstring (date-time)ใช่
sellerobjectใช่
seller.namestringใช่
seller.tax_idstringไม่
seller.addressstringไม่
seller.branchstringไม่
buyerBillingInfoใช่
buyer.buyer_typePERSON | COMPANYไม่
buyer.namestringไม่
buyer.tax_idstringไม่
buyer.branchstringไม่
buyer.addressstringไม่
buyer.emailstring (email)ไม่
linesobject[]ใช่
lines[].descriptionstringใช่
lines[].quantityintegerใช่
lines[].amountMoneyใช่
lines[].amount.satangintegerใช่
lines[].amount.currencystring = THBใช่
vatobjectไม่
vat.rate_bpintegerใช่
vat.baseMoneyใช่
vat.base.satangintegerใช่
vat.base.currencystring = THBใช่
vat.amountMoneyใช่
vat.amount.satangintegerใช่
vat.amount.currencystring = THBใช่
totalMoneyใช่
total.satangintegerใช่
total.currencystring = THBใช่
payment_methodCARD | PROMPTPAYใช่

Error ที่อาจได้

401403404500

error ในรูป Problem Details ดูรหัสทั้งหมดที่ รหัสข้อผิดพลาด