Account Statement
A statement is the customer's full ledger with you — every invoice, every payment, and the balance that results.
DigitalKey ERP — Docs · digital-key.co/docs/customers/statement
customer.statement2,500 IQD / monthOverview
Where a receipt covers one payment and an invoice covers one sale, a statement covers the whole relationship. It is what you send when a customer asks why they owe what they owe.

What it contains
- Your business details and the customer's details.
- Every invoice in the period, with its date, number and amount.
- Every payment, with its date and amount.
- A running balance after each entry.
- The closing balance — the amount owed at the end.
| Parameter | Type | Required | Description |
|---|---|---|---|
id | integer | Required | The customer whose statement is being produced. Taken from the URL. |
Choosing the period
The statement opens on this month. The bar above it switches to last month, this year or all time, or to any two dates you pick. The balance brought forward from before the period is shown as the opening line, so the closing balance is always the full amount owed.
One person's statement
With sub-customers, a statement can be printed for a single person under the customer: their share of the old debt, the invoices marked for them, returns on those, and the payments marked for them.
customer.sub_accounts1,500 IQD / monthOld debt on the statement
old_debt from your previous books has that amount in their total but no invoices behind it — there is nothing in this system to itemise. If a customer queries the opening figure, that is usually why. Keep the supporting paperwork from your old records for those balances.Sharing instead of printing
A statement can be shared as a link rather than printed, which is generally faster for a customer who is not standing in front of you.
customer.whatsapp_share2,000 IQD / month- A tokenised public link is generated for the document.
- It opens in any browser with no sign-in.
- It can be sent over WhatsApp with one action.
The customer portal alternative
Customers who check their balance often are better served by a portal login, where the statement is always current and no link needs sending.
customer.portal5,000 IQD / monthRelated
- Recording Payments — the entries that reduce the balance.
- Customer Management — the drawer and debt schedule.
- Invoice Settings — the branding used on printed documents.