Skip to content
View as Markdown

Glossary ​

The API reference has 85 resources, and several of them look alike. These are the pairs integrators confuse most.

Most often confused ​

TermMeaning
sale-order vs tradesale-order is a customer's order, not yet a sale. trade is the sale itself. An order becomes a sale through trade/create with order_id, and turns done once fully sold
POS receiptNot a resource of its own: a receipt rung up at the till is written as a trade and shows up in trade/get-paging
RefundA separate trade with is_refund: true and refund_id pointing at the original. The original's total_refunded_amount grows
purchase-order → purchase → incomeAn order to a supplier → the purchase (goods "on the way") → the income into a warehouse (goods enter stock). purchase-return sends goods back
product-warehouse vs product-stockproduct-warehouse holds counters per product × warehouse (amount, booked, in_transit, on_the_way) — the one to sell from. product-stock holds batch-level rows: cost, marking codes, expiry
price vs product pricesprice is a price list (currency, sale or income type). A product's actual price is a value inside a list, from price/items/get-paging
customer vs personcustomer is the CRM customer (state, category, organizations). person is a shared record of a human, who can be a customer, a supplier and an employee at once
payment-method vs payment-typepayment-method is how money was paid (cash, card, transfer). payment-type is why it moved (sale, debt, balance top-up, salary)
states vs states-settingsThe same thing — pipeline columns. states/get-all only reads; states-settings manages them fully
sectionNot a sales section: an HR department (the staff tree)
organization vs warehouseAn organization is a legal entity with its own currency. A warehouse belongs to one organization

Document states ​

DocumentStates
tradenew → in_progress → done; canceled from any stage
sale-ordernew, draft, in_progress, accepted, done, canceled. state_id is the pipeline column. An order created by an integration lands in the first regular column as in_progress
purchasenew, in_progress, done, canceled; receiving progress in income_state: zero, partial, full
purchase-ordernew, draft, accepted, in_progress, done, canceled
income, purchase-returndone, canceled
transactionpending → done or rejected; done → canceled. Type: income, expense, transfer, exchange, exchange_method
cashbox-sessionopen, closed, resolved, flagged
customernew, active, warning, black_list

Every resource's fields are in the API reference.

Bito 2.0 Integration API