Get a receipt

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

API key

Returns one receipt. A receipt is issued once, when payment succeeds, and never changes; the buyer details on it are those at the time of payment. If seller_ready is false, it is not yet a final receipt. Needs an API key with billing:read.

Parameters

FieldInTypeRequired
receipt_idpathstring (uuid)yes

Responses

200 application/json

FieldTypeRequired
seller_readybooleanyes
idstring (uuid)yes
receipt_nostringyes
order_idstring (uuid)yes
issued_atstring (date-time)yes
sellerobjectyes
seller.namestringyes
seller.tax_idstringno
seller.addressstringno
seller.branchstringno
buyerBillingInfoyes
buyer.buyer_typePERSON | COMPANYno
buyer.namestringno
buyer.tax_idstringno
buyer.branchstringno
buyer.addressstringno
buyer.emailstring (email)no
linesobject[]yes
lines[].descriptionstringyes
lines[].quantityintegeryes
lines[].amountMoneyyes
lines[].amount.satangintegeryes
lines[].amount.currencystring = THByes
vatobjectno
vat.rate_bpintegeryes
vat.baseMoneyyes
vat.base.satangintegeryes
vat.base.currencystring = THByes
vat.amountMoneyyes
vat.amount.satangintegeryes
vat.amount.currencystring = THByes
totalMoneyyes
total.satangintegeryes
total.currencystring = THByes
payment_methodCARD | PROMPTPAYyes

Possible errors

401403404500

An error as Problem Details. All codes are listed at Error codes