Invoices ask for money. Payments, credit notes and adjustments move it. Each of them is a ledger entry, and an account's balance is always the sum of its entries. Entries are never edited or deleted: a correction is a new entry that reverses the old one.
The ledger
Every account has a receivable side and a payable side. The ledger records each rated call, payment, top-up, credit note, adjustment and exchange difference as one signed entry.
| Balance (receivable) | Vendor balance (payable) | |
|---|---|---|
| Tracks | The customer's money with you | What you owe the vendor |
| A rated call | Lowers it by the sell charge | Raises it by the buy charge |
| A payment | Received from a customer: raises it | Paid to a vendor: lowers it |
| A credit note | Raises it | Lowers it |
Issuing or voiding an invoice leaves both balances unchanged, because the calls on it were posted one by one when they were rated. The ledger page of an account shows the sum of each side next to the balance held on the account, and the two figures agree.
Payments
A payment records money received from a customer or paid to a vendor. The fields are:
- the account and the side, receivable or payable;
- the method: wire, card, cash, crypto, offset or other;
- amount and currency, which may differ from the account's currency;
- the date received, which picks the exchange rate when the currencies differ;
- the cash account the money went into or came from, chosen among the bank, cash or clearing accounts defined in the chart of accounts. The books and the export post the payment there;
- a reference and notes.
A recorded payment cannot be edited.
Allocation
The payment is allocated to open invoices in the invoice's currency. Allocations together cannot exceed the payment converted to the account currency, and none may exceed the invoice's balance due, which is the total less payments and issued credit notes. When payments and credit notes together reach the total the invoice becomes paid. Part of the total makes it partially paid.
Whatever is not allocated stays on the balance as credit. A customer payment with no allocation on a prepaid account is a top-up: it adds credit so the customer can keep calling.
Foreign-currency payments
When a payment is in another currency, YepBoss converts it at the rate for its date, or at the rate the bank applied if the operator enters one. The ledger receives the amount in the account currency. If a foreign-currency payment settles an invoice that was converted from the same currency, the two rates usually differ, and the difference is posted as an exchange gain or loss. See Multi-currency.
Amount entry
Every amount field reads a dot as the decimal point and refuses a lone comma, because 1,50 means different things in different countries. Thousand separators are accepted only in unambiguous forms.
Credit notes
A credit note reduces what a customer owes, or records that a vendor has reduced what you owe. It has its own number, comes with a reason shown in lists and on the ledger, and moves the balance at once.
- A credit note on an invoice takes the invoice's side and currency. Without an invoice it takes the account's side. A bilateral account must choose.
- Only issued invoices can be credited. To correct a draft, void it and run billing again.
- On one invoice, credit notes together cannot exceed its total. The refusal names what is still creditable.
- A credit note on an invoice that is already paid is allowed. The customer then holds the amount as credit.
- A credit note can be voided. A reversing adjustment is posted to the ledger, and an invoice that the credit note had made paid reopens as partially paid, overdue or issued.
Disputes
A dispute records that a customer disagrees with an invoiced amount, for example calls they say they never sent or a rate they did not agree to.
- Open. The dispute records the account, the invoice, the amount claimed and the customer's reason. It must be opened inside the account's dispute window, otherwise it is refused and the refusal states the closing date. The invoice's status becomes disputed.
- Review. An optional step that tells colleagues someone is checking the claim. The call records in question can be searched from the same screens, with the routing decision and both charges.
- Resolve. The reviewer enters the accepted amount and a resolution. The whole claim gives an accepted dispute and a credit note for that amount. Part of the claim gives a partially accepted dispute and a credit note for the accepted part. Zero rejects the claim and issues nothing. The accepted amount cannot exceed the claim, nor what is still creditable on the invoice.
The invoice then leaves the disputed status. It becomes paid if payments and the credit note cover it, otherwise partially paid or issued. The resolution text is kept on the dispute and at the start of the credit note's reason.
Disputing a vendor bill
A dispute also opens from a vendor bill. When staff dispute a reconciled bill, YepBoss writes the invoice to pay as disputed, opens a dispute for the claimed amount with the evidence file and a prepared letter, and resolves it by the same steps. The vendor balance does not change when a bill is accepted or disputed, because the buy charges were already posted when the calls were rated. See Vendor bills.
Prepaid credit and payments
A payment that adds credit raises the balance used by credit control within seconds. See Credit and fraud control.
In the back office
Billing holds payments, credit notes, disputes and the ledger. Payments can be started from an invoice, from an account page or from the payment list. Customers see their balance, ledger and invoices in the customer portal. Payments are recorded by staff, or by a product front end through the API, which records a payment with an idempotent reference so a retry does not post it twice.