Чеки

Validate Receipt

post/api/v1/receipts/validate

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/validate
  • Auth: HTTP bearer

Headers

X-Client-Namestring

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

X-Client-Versionstring

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

X-Device-IDstring

ID RRO Agent або мобільного пристрою каси (Для блокування дублікатів)

Request body

idstring uuid

Обов'язково вкажіть унікальний UUID чеку!

cashier_namestring
departamentstring
roundingboolean

Застаріле поле, використовуйте rounding_mode

rounding_mode'ROUND_10' | 'ROUND_50'

An enumeration.

headerstring
footerstring
barcodestring
order_idstring uuid
related_receipt_idstring uuid
related_receipt_created_atstring date-time
stock_codestring
technical_returnboolean
is_pawnshopboolean
contextobject
previous_receipt_idstring uuid

id попереднього фіскального чека (використовується опціонально для контролю послідовності)

callback_urlstring uri

Example request

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

Response

Successful Response

object required

Changes

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