CustomerPayment
Updated
A customer payment reduces receivable. It does not change the sales realization.
| Kind | Document |
| Module | Sales |
| Menu | Sales → Documents → Customer payments |
Fields#
| Field | Caption | Points at |
|---|---|---|
LegalEntity |
Legal entity | LegalEntity |
CashDesk |
Cash desk | CashDesk |
BankAccount |
Bank account | BankAccount |
Notes |
Notes | string |
ID |
Number | number sequence |
A payment uses a cash desk or a bank account, not both. Both empty is allowed: receivable still falls, and no desk or bank balance moves.
Table parts#
Lines are CustomerPaymentLines.
| Field | Caption | Points at |
|---|---|---|
Customer |
Customer | Customer |
Amount |
Amount | decimal, must be greater than zero |
Contract |
Contract | SalesContract |
ExchangeRate |
Exchange rate | decimal, stamped on save |
CarryingAmount |
Carrying amount | decimal, stamped on save |
Basis |
Basis | the order being settled; empty means an advance |
Commands and states#
| State | Command | What happens |
|---|---|---|
| Draft | Receive payment | Paid. Receivable falls by each line amount for that customer and contract. |
Paid is read-only.
Registers#
On Paid:
Receivableminus Amount, by customer and contract.ReceivableByBasisminus Amount, by customer, contract, and basis. An empty basis is the advance slice.CashBalanceplus the total, when Cash desk is set.BankBalanceplus the total, when Bank account is set.
The ledger entry is written only when Legal entity is set: debit cash, credit receivables.
Used by#
- Customer payment
- CustomerRefund pays money back; it is not this document.
Where next#
Was this page helpful?