---
name: allocate-supplier-remittance
description: "Apply one supplier payment to open invoices and credit notes exactly as its remittance advice says, cap each line at the open balance and hold excess or unclear cash unapplied. Use when a remittance advice, BACS advice or payment needs matching to supplier invoices."
license: CC-BY-4.0
metadata:
  author: Raq.com
  version: "2026-11-22"
  homepage: https://skills.raq.com/skills/allocate-supplier-remittance
---

# Allocate a supplier remittance

Work out what a payment covers and which invoice balances will remain open.

## When to use this skill

- A payment to a supplier has gone out with a remittance advice and the purchase ledger needs it applied invoice by invoice.
- The remittance lists invoice amounts, credit notes or deductions that do not add up to the cash that moved.
- A supplier says a payment does not match their invoices and you need to show what it was meant to cover.

## When not to use it

- Reconciling a whole supplier statement over a period. Use the supplier statement reconciliation skill.
- Deciding whether a deduction, discount or short payment is justified. That depends on the contract and what the supplier agreed; the method only records what the advice says.
- Posting the entries. The method proposes an allocation for someone with ledger authority to review and post.

## What you need

- Payment amount, currency, date and the remittance advice lines
- Open invoices and credit notes for the same supplier with outstanding amounts, showing credits already applied

## Ask before you start

If any of these are missing or unclear, ask before doing the work.

- Do you have the open-item list for this supplier at the payment date, including credit notes already applied? The advice alone cannot show what is still open.
- Does the remittance give an amount for each invoice, or only a total? Without per-line amounts there is no instruction to follow.
- Are the credit notes and deductions on the advice agreed, and has the ledger already used any of them against an invoice?
- What currency left the bank and what currency are the invoices in? A conversion or bank charge changes the cash to allocate.

## Method

1. Confirm the scope: one supplier account, one payment, one currency. Take the cash amount from the bank record, not from the advice, and the open items from the ledger at the payment date.
2. Rebuild the advice line by line: document reference, face amount, each deduction (credit note, discount, retention) and the net cash it assigns. Add up the net cash instructions.
3. Check every credit or deduction against the open-item ledger. If the ledger already shows a credit applied, the open balance already reflects it, so allocate only the net cash. An open credit can be applied as instructed. If a credit is unknown, or the intended cash split is unclear, ask before allocating.
4. If the instructions need more cash than was paid, hold the whole allocation and ask. The order the invoices are listed in is not authority to choose which one is short-paid.
5. Otherwise allocate each instructed amount to the one open document it names, capped at that document's outstanding balance. Keep any excess over a balance, unknown references and cash with no instruction unapplied. Do not apply leftover cash to the oldest invoice by default.
6. Prove the result: cash allocated plus cash unapplied equals the payment, no invoice balance falls below zero, and every supplied invoice shows its balance after. Present it as a proposed allocation with a query for each unapplied or short-paid amount.

## Checks before you deliver

- Applying cash automatically to the oldest invoice can contradict the remittance advice. Business Central's Apply to Oldest method does exactly this when no entry is named.
- A partial payment can legitimately leave a residual balance. An unknown reference does not justify reallocating cash to a different document.
- Applying a credit note that the ledger has already used against an invoice takes it twice and understates what is owed.
- Matching on amount alone can pick the wrong invoice when two open documents have the same value. Match on the document reference.
- Choosing which invoice to short-pay when the advice adds up to more than the cash. Ask which invoice the shortfall belongs to.

## How to present the result

Start with whether the payment can be allocated as advised and the totals allocated and unapplied. Then give a table with one row per document: open before, advice instruction, allocated and open after. Below it, list each unapplied amount with its reason, and finish with a short query to the supplier about those amounts, ready to send.

## Worked example

**Request:** Prepare a supplier payment allocation.

**Supplied material:**

```text
Payment £250. Open INV4 £180; INV5 £90. Remittance: INV4 £190; INV5 £50. No other instructions.
```

**Answer:** Of the £250 payment, apply £180 to close INV4 and £50 to INV5, leaving £40 on INV5. Keep £20 unapplied pending instructions. This includes the £10 advised above the open INV4 balance.

## Structured output for tests

For an ordinary job, answer in the format above and point back to the supplied evidence. Use this structure only for the test cases published with this skill, or when someone asks for structured JSON.

Return status as proposed or clarify, allocations and balances_after as objects keyed by invoice ID with currency amounts, and unapplied as a number. Omit zero allocations, show every supplied invoice balance. For clarify, show no allocations.

## Sources

- [Microsoft · Reconcile vendor payments in Business Central](https://learn.microsoft.com/en-us/dynamics365/business-central/payables-how-apply-purchase-transactions-manually): Business Central lets you enter the exact amount to apply to each open vendor entry, apply one payment to several entries and see whether the application balances. It also documents an Apply to Oldest method that applies an unassigned payment to the oldest open entry, which is why this skill applies only what the advice names.
- [Microsoft · Reconcile payments using automatic application](https://learn.microsoft.com/en-us/dynamics365/business-central/receivables-how-reconcile-payments-auto-application): Automatic matching suggests applications with a Low, Medium or High match confidence, and lines with a value in the Difference field must be reviewed before posting. The skill treats cash it cannot tie to a named document the same way: held for review, not forced onto an invoice.

Test cases and an answer checker for this skill: https://skills.raq.com/skills/allocate-supplier-remittance
