# Pay a bill and send a remittance advice

> Record a payment to a supplier with the bank account it left, a fee and the exchange rate, see what the ledger books, follow what is still owed per supplier, and e-mail the supplier a remittance advice so they can allocate the money.

Source: /help/en/bills/pay-bills-and-remittance-advice

A supplier payment is recorded on the bill, in the bill's currency. With the [ledger](/help/en/accounting/enable-the-ledger) enabled it books its entry by itself: the supplier's payable is settled at the rate the bill was booked at, the bank account you paid from is credited at the payment-date rate, a bank fee goes to bank charges, and the difference is an exchange gain or loss. A bill waiting for [approval](/help/en/bills/record-and-approve-a-bill) takes no payment.

## Record a payment

On the bill page (**Incoming Invoices → the bill**), the **Payments to supplier** card: **Record payment**.

1. **Amount and date.** The amount in the bill's currency (the outstanding balance is proposed) and the payment date. Partial amounts are allowed; paying more than the balance marks the bill overpaid and leaves the excess as something the supplier owes you back.
2. **Method and reference.** Bank transfer, cash, cheque, card, online or other, and the bank reference the supplier will see on their statement.
3. **Paid from.** The bank or card account the money left. Leave it on *Default bank account for payments* to use the account marked as default for payments under **Settings → Payments & bank** (else the pack's bank account). An account without a ledger account is refused (`bank_account_unmapped`); a deactivated one too (`bank_account_inactive`).
4. **Bank fee charged.** A fee your bank charged on the transfer, in the bill's currency. The supplier is still paid the full amount; the bank gives the amount plus the fee.
5. **Exchange rate.** For a bill in another currency, the rate of the payment date (base currency per unit). Leave it empty to use the Central Bank rate of that date; with none within ten days the entry is refused with `rate_missing` and the payment stays recorded until you set a rate and post it.
6. **Amount that left the bank.** Shown when the bank account you picked is in another currency than the bill (a USD bill paid from an AED account). With the exchange rate filled in, amount × rate is proposed; type what the bank actually took when it differs. The payment row then reads `AED 3,672.50 (USD 1,000.00)`: the bank's amount first, the bill's in brackets.

A **refund received** from a supplier (money back after an overpayment) is recorded as a payment with a **negative** amount: the bank is debited and the overpayment settled.

A wrong date, reference, bank account or amount is corrected in place: the pencil on the row opens **Edit payment** with the row's values. The row keeps its id; with the ledger enabled a new amount, date, bank account, fee or rate reverses the entry and books a new one, a new reference keeps it. A payment of a [batch](/help/en/bills/pay-bills-in-a-batch) keeps its amount, date and bank account (only the reference and note change); a vendor credit application is removed and applied again, never edited (`payment_not_editable`). Over the API: `PATCH /bills/{id}/payments/{paymentId}`; MCP `update_bill_payment`.

## What the ledger books

| Account | Debit | Credit |
|---|---|---|
| 2000 Trade payables (the supplier, settling bill GS-1001 under `PUR/2026/0001`) | 1,050.00 | |
| 6330 Bank charges (the fee, when any) | 15.00 | |
| 1100 Bank current account (the account paid from) | | 1,065.00 |

- The payable line of the bill is matched under the bill entry's number; the **Open items** page (**Accounting → Open items**, side **Payables**) shows what is still owed to each supplier, and a supplier's **Statement of account** lists the bill and the payment.
- A USD bill booked at 3.67 and paid at 3.70 books the difference to *Realised foreign exchange loss*; paid at 3.65, to *Realised foreign exchange gain*. The last payment of a bill absorbs the rounding of earlier partial ones.
- An overpayment leaves an open debit on the payable (the supplier owes it back); the refund settles it. Payments and refunds are reversed, never deleted, when you remove them, and a refund has to go before the overpayment it settled (`payment_in_use`).
- Each payment row shows its entry (the book icon) or why none was booked; **Post** books it by hand after you fixed the cause, or when automatic posting of payments is off.
- The ledger check names supplier payments without an entry (`payment_not_posted`), a bill whose paid amount disagrees with what is matched on its payable line (`bill_paid_mismatch`), and the **payable control**; **Post historical documents** on the Accounting settings backfills supplier payments too.
- A bill whose entry is reversed and re-posted (an account changed on a line) takes its payments with it: they re-match the new entry.

## Send a remittance advice

A remittance advice tells the supplier which bill you settled, for how much, from which account and under which reference, so they can allocate the money. One e-mail per payment: **Send remittance** on the payment row.

- **To** defaults to the supplier contact's e-mail (else the e-mail on the bill); add others, comma separated. **Cc** defaults to the organisation's default copy.
- The **language** picks the English or Arabic **remittance** template under **Settings → Document dispatch → Email templates**, where you can change the subject and the text (placeholders such as `{{document_number}}` for the bill number, `{{total}}` for the amount paid, `{{recipient_name}}` for the supplier). The bills settled, the amount and date, the method, the reference, the account paid from, the fee and what is still open are listed under the text; edit the message before sending if you like. **Insert template** puts a message template's text above that list, which stays: an advice never leaves without the bill, the amount, the reference and the account it was paid to.
- The e-mail is logged as a delivery of type *remittance* on the payment, the row shows **Advice sent** with the date, and the audit log records it. Without an e-mail provider on the deployment the advice is composed and logged as *skipped*.

## Through the API and AI assistants

- `POST /bills/{id}/payments { amount, date, method, reference, bankAccountId, feeAmount, exchangeRate }` records the payment (`GET /bills/{id}/payments` lists them; `/import/incoming/{id}/payments` is the same). A negative amount is a refund received. The payment's `ledgerEntryId` or `ledgerPostError` tells how it was booked; `POST /invoices/{id}/payments/{paymentId}/ledger/post` is not needed for bills: use the Post button or `post_payment_to_ledger`.
- `POST /bills/{id}/payments/{paymentId}/remittance { recipients, language, subject, message, preview }` e-mails the advice; `preview: true` returns the composed subject and message. `GET /ledger/open-items?side=payable` lists what is owed to suppliers.
- Assistants use `record_bill_payment` (or `record_incoming_payment` with the same bank account, fee and rate fields), `list_bill_payments`, `email_remittance_advice` and `list_open_items` with `side: payable`.

To pay many bills at once from one account with one method and date, with one remittance advice per payment, use [Pay bills in a batch](/help/en/bills/pay-bills-in-a-batch).

## Related

- [Pay bills in a batch](/help/en/bills/pay-bills-in-a-batch)
- [Record and approve a bill](/help/en/bills/record-and-approve-a-bill)
- [Payments, open items and credits](/help/en/accounting/payments-and-open-items)
- [Ageing and statements of account](/help/en/accounting/ar-ageing-and-statements)
