Чеки

Get Receipt

Отримання інформації про чек з партиційованої таблиці.

get/api/v1/receipts/{receipt_id}

Request

  • Base URL: https://api.checkbox.ua (the document declares no server; this is the origin it was published from)
  • URL: https://api.checkbox.ua/api/v1/receipts/{receipt_id}
  • Auth: HTTP bearer

Path parameters

string uuid required
OR
string required

Headers

X-Client-Namestring

Назва клієнту або сервісу що інтегрується з API, наприклад 'My Custom SDK'

X-Client-Versionstring

Номер версії клієнту що інтегрується з API, наприклад 'v1.2.5'

Response

Successful Response

idstring uuid required
serialinteger required
type'SELL' | 'RETURN' | 'SERVICE_IN' | 'SERVICE_OUT' | 'SERVICE_CURRENCY' | 'CURRENCY_EXCHANGE' | 'PAWNSHOP' | 'CASH_WITHDRAWAL' required

An enumeration.

status'CREATED' | 'DONE' | 'ERROR' | 'CANCELLATION' | 'CANCELLED' required

An enumeration.

total_suminteger required
total_paymentinteger required
total_restinteger required
created_atstring date-time required
shift_idstring uuid required
cashier_idstring uuid required
cash_register_idstring uuid required
organization_idstring uuid required
deliveryobject
processed_counterinteger
transaction_idstring uuid
is_created_offlineboolean
is_sent_dpsboolean
contextobject
technical_returnboolean
stock_codestring
round_suminteger
fiscal_codestring
fiscal_datestring date-time
delivered_atstring date-time
updated_atstring date-time
fiscal_api_type'FSCO_EC' | 'EVPEZ' | 'EVPEZ_EXTERNAL'

An enumeration.

order_idstring uuid
headerstring
footerstring
barcodestring
sent_dps_atstring date-time
tax_urlstring
related_receipt_idstring uuid
related_receipt_created_atstring date-time
pre_payment_relation_idstring
control_numberstring

Example response

{
  "payments": [
    {
      "type": "CASH",
      "value": 4242
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.