Elbuz calculates a customer's debt across all their documents, net of payments and returns, and shows it as a card in the document and contact cards.
When you need this:
- A wholesale customer buys on credit — the “They owe” card shows what was charged and paid.
- You owe a supplier — the same card is called “We owe”.
- A customer paid an invoice — mark the payment in the document, and the debt goes down.
- An invoice in dollars — the amount is converted to the base currency at the document rate.
Where to start: open any customer document — the card is in the top stats bar.
What debt calculation does
- Contact debt — a card in the document card and “Customer debt” in the contact card, with a breakdown of the amount.
- Payment in the document — the “Paid” payment status or the “Paid” field reduces the debt.
- Cash receipts and payments — money coming in and going out in the “Finance” workspace; a cash receipt not linked to a document reduces the debt as an advance.
- Document exchange rate — a dollar invoice is calculated in the base currency at the rate on the document date.
How contact debt is calculated
The “They owe” card shows the customer's debt across all documents, net of payments. It's in the stats bar of any of their documents, next to the total and item count. It appears only when there is a debt; all paid — no card. When we owe (an unpaid purchase invoice from a supplier), it's called “We owe”.
Clicking the card opens the contact card, where the same amount appears as the “Customer debt” or “We owe” card, and the contact list has a “Has debt” quick filter. The card doesn't depend on the “Working scheme”: it's calculated the same way for dropshipping, your own warehouse and wholesale.
The card's tooltip breaks the amount down: “charged”, “paid” and, if any, “cash received”, “returns” and “unpaid documents”. Debt is charges minus all payments: amounts paid in documents, cash receipts not linked to a document (advances) and returns from the customer.
- Charges come from documents whose type has the “Settlement role” set to “Customer charge”: customer order, sales invoice, certificate of completion, sales receipt.
- A document counts as paid by the “Paid” payment status (then the whole amount counts) or by its “Paid” field (then the amount entered there).
- A cash receipt has the “Cash in” role. A cash receipt not linked to a document (an advance or a payment “on account”) reduces the debt by its amount. A cash receipt linked to a document is already counted in that document's payment and isn't subtracted a second time. If cash receipts exceed the charges, there's no debt card: it's an overpayment.
- Not included: documents with a canceled status, and an order that already has a sales invoice or sales receipt created from it — so the same amount isn't charged twice. Every order from the “POS” window is closed this way.
- Amounts in another currency are converted to the base currency at the document's exchange rate; with no rate, at 1:1 (document exchange rate).
The role is set per document type: the “Document types” window, “Settlement role” column, with the values “Not involved”, “Customer charge”, “Our liability”, “Cash in”, “Cash out”, “Return from customer”, “Return to supplier”. So your own document type can add to the debt too — just give it the “Customer charge” role (document types).
How to mark a document as paid
You mark payment in the charge document itself: with the “Paid” field (the part of the amount entered) or with the “Paid” payment status (the whole amount). After that, the debt card goes down; if everything is paid, the card disappears.
Payment by link, a sale in the “POS” window and statement allocation in “Accounting” mark the payment in the document automatically.
A fiscal receipt is issued separately: with a button in the document, on payment by link or in the “POS” window during a sale if a PRRO is connected to the till, via Vchasno.Kasa or Checkbox (software POS (PRRO)). Payment in an order is marked by the “Paid” field or the payment status.
How to record incoming money with a cash receipt
Cash receipts and payments live in the document list, in the “Finance” workspace — “Cash receipts and payments, cash flow and settlements”. Click “Add” → “Cash receipt” when money came in, or “Cash payment” when money was paid out; then choose the contact and enter the amount. These documents don't move stock.
A cash receipt or payment created manually is a document with a contact, an amount and a currency, not linked to a till. Tills with shifts and cash per shift are kept in the “POS” window, expense categories — in the “Accounting” window.
Such a cash receipt isn't linked to a document, so it reduces the customer's debt as an advance. Don't also mark the same payment in the charge document, or the debt goes down twice.
For PrivatBank, incoming payments can be pulled automatically: in the “Import from stores and marketplaces” window (menu “Store and ads”), create a template with the “API - privatbank.ua account transactions” source. It takes the account's incoming completed payments and creates a posted “Cash receipt” from each one, dated with the bank transaction date, in the “Finance” workspace. These cash receipts aren't matched to invoices or orders.
A statement file from any bank in CAMT.053, MT940 or CSV format is uploaded in the “Accounting” window, “Bank statement” section. There the payment is allocated to an invoice or order automatically: the document gets the payment, and the cash receipt is created posted. Learn more: how to reconcile a bank statement.
How amounts in another currency are calculated
The “Currency rate” field is in the “Additional” section of the document card, with the hint “Rate as of the document date” under it. The rate is filled in automatically from the “Currencies and rates” directory for the document date — when the document is created and when it's posted, if the field is still empty.
If the directory has no rate for that date, the field stays empty with “Rate is empty - reports count this amount as base currency” under it. The stats bar, dashboard and contact debt then count it at 1:1: 100 dollars become 100 hryvnias. Add the rate for that date in “Currencies and rates” or enter it manually; unpost a posted document first.
The “Sales analytics” report ignores the rate entirely — amounts there aren't converted (sales analytics).
Scenarios
A customer paid an invoice by card transfer
What to do. Open the charge document — order, sales invoice or certificate of completion — and set the “Paid” payment status or enter the amount in the “Paid” field.
What you get. The “They owe” card goes down by that amount, or disappears if everything is paid.
What won't happen. You don't need a separate cash receipt for the same amount. If you create one anyway without linking it to a document, the debt goes down a second time and the card shows an overpayment.
Pull incoming payments from PrivatBank automatically
What to do. In the “Import from stores and marketplaces” window, create a template with the “API - privatbank.ua account transactions” source.
What you get. Each incoming completed payment becomes a cash receipt in the “Finance” workspace.
What won't happen. Payments aren't allocated to invoices automatically: the cash receipts stay unlinked and reduce the customer's debt as advances. So don't also mark these payments in the documents.
To match payments to documents, upload a statement file to “Accounting”.
Your own document type should add to the debt
What to do. In the “Document types” window, set your type's “Settlement role” to “Customer charge”.
What you get. Documents of this type are added to the customer's debt just like orders or invoices.
What won't happen. You can't change the role of system types — their behavior is fixed.
FAQ
There's no debt card in the document card. Why?
The card appears only when there is a debt. If everything charged has been paid or returned, there's no card.
Does the debt depend on the “Working scheme”?
No. Debt is calculated the same way for dropshipping, your own warehouse and wholesale.
A dollar invoice was counted as hryvnias. Why?
The document has no exchange rate, so the amount is counted at 1:1. Add the rate for the document date in “Currencies and rates” or enter it in the card — see amounts in another currency.
Can I import a Privat24 statement so payments are allocated to invoices automatically?
Yes, in CAMT.053, MT940 or CSV format — in the “Accounting” window, “Bank statement” section. The payment is allocated automatically by the document number in the payment reference or by the customer's IBAN. Automatic PrivatBank transaction import only creates cash receipts — see cash receipts.
Does Elbuz have cash registers and expense categories?
Yes. Tills with shifts, opening float, cash in and cash out are in the “POS” window, expense categories — in the “Accounting” window. A cash receipt or payment created manually isn't linked to a till: money from it shows in the “Finance” workspace and in settlements with the contact.
Where to find it and who has access
- Menu
- Orders and documents → your area's entry point → the customer's document card
- Other ways in
- contact card, “Customer debt” card; the “Has debt” quick filter in the contact list
- Prepare
- a settlement role for your own document types
Related topics
- If you need the big picture of the documents window — Document list.
- If you need the full customer card: turnover, average order value, COD pickup rate — Customer base and customer card.
- If the exchange rate isn't filled in on a document — Currencies and rates.
- If you're choosing order management software — what it gives your store.
