Create an order (sale, advance, credit)
Documentation Index
Fetch the complete documentation index at: https://dev.fbox.uz/llms.txt
Use this file to discover all available pages before exploring further.
Note: Optional fields are marked with*. For integration with external payment providers, someextra_infofields become mandatory.
| Field | Type | Required | Description |
|---|---|---|---|
number | integer | β | Order number / ΠΠΎΠΌΠ΅Ρ ΡΠ΅ΠΊΠ° |
receipt_type | string | β | Type of receipt (order, prepaid, credit) |
products | array | β | List of products in the order |
products.name | string | β | Product name |
products.barcode | string | β | Product barcode (GTIN) |
products.amount | integer | β | Product amount multiplied by 1000 |
products.unit_name | string | β | Unit name (displayed on receipt) |
products.price | integer | β | Price for amount (price * amount * 100) |
products.product_price | integer | β | Unit price multiplied by 100 |
products.vat | integer | β | VAT amount multiplied by 100 |
products.vat_percent | integer | β | VAT percentage |
products.discount | integer | β | Discount multiplied by 100 |
products.discount_percent | integer | β | Discount percentage |
products.other | integer | β | Other payments (gift card, loyalty card) |
products.labels | array | β | Marking codes list (DataMatrix) |
products.class_code | string | β | Product class code (IKPU) |
products.package_code | string | β | Package code |
products.owner_type | integer | β | Owner type (0,1,2) |
products.comission_info | object | β | Commission info (inn, pinfl) |
uuid | string | * | Your UUID |
time | string | β | Time in format yyyy-MM-dd HH:mm:ss |
cashier | string | β | Cashier name |
received_cash | integer | β | Received cash price multiplied by 100 |
change | integer | β | Change price multiplied by 100 |
received_card | integer | β | Received card payment multiplied by 100 |
card_type | integer | β | Card type (1-corporate,2-personal,3-social) |
ppt_id | string | β | RRN / PPT ID from bank pinpad slip |
scan2pay_paid | boolean | * | Payment via Scan2Pay |
extra_info | object | * | Payment extra info (QR ID, phone number, card number, etc.) |
send_email | boolean | * | Send order data via email |
email | string | * | Email address |
sms_phone_number | string | * | Phone number for SMS |
open_cashbox | boolean | * | Open cash drawer |
banners | array | * | Banner info (text or barcode) |
prices | array | * | Payment prices and VAT details |
200| Field | Type | Description |
|---|---|---|
data | object | Response payload |
data.terminal_id | string | Fiscal module number |
data.receipt_count | integer | Receipt number |
data.date_time | string | Date/time in YYYYMMDDHHMMSS format |
data.fiscal_sign | string | Fiscal sign number |
data.applet_version | string | Applet version |
data.qr_url | string | QR code URL for fiscal receipt |
data.cash_box_number | string | Cash drawer number |
error | null | Error object (always null on success) |
is_success | boolean | Always true |