## TL;DR
Billing before delivery breaks the match because the receipt quantity is still zero or partial while the invoice claims the shipped-to-date or full quantity. Establish the true shipped and received quantities from the carrier and the warehouse, pay only the received part if the invoice allows partial payment, and hold the rest until the balance lands. Then address the billing behaviour: the vendor should invoice on dispatch at the earliest, not on order.

```text
partial shipment invoiced before delivery: "balance quantity mismatch" error on the PO
```

## Use this when
- The invoice date precedes any delivery date for the PO.
- The PO shows a received quantity below the invoiced quantity, flagged as balance quantity mismatch.
- The vendor confirms part of the order is still in production or in transit.

## Not for this skill when
- Everything arrived and receiving just has not posted. Post the receipts and the match clears; that is a GR delay, not early billing.
- The contract allows billing on shipment with payment terms from invoice date. Then the match needs a shipment-based receipt, such as an ASN, configured.

## Steps
1. Get the vendor shipment status and carrier tracking for the invoiced quantity. Verify: shipped versus unshipped quantities are stated by the vendor with dates
2. Confirm received quantities in the warehouse for what has landed. Verify: received quantity is based on physical receipt, not the packing slip alone
3. Decide the payment disposition per contract terms: partial pay on received quantity, or full park until complete delivery. Verify: the disposition follows the PO payment terms, not habit
4. Record the invoice in AP with the balance quantity clearly open on the PO and a follow-up date tied to the promised delivery. Verify: the PO open balance equals the uninvoiced or unpaid remainder
5. When the balance arrives, post its receipt and release the held invoice portion. Verify: total paid never exceeds total received at PO price

## Variant phrasings
### invoice before delivery partial shipment match blocked
The early-billing phrasing.
### balance quantity mismatch PO partial shipment
Searching by the match message.

Compatibility: Partial delivery and invoicing in SAP, Oracle, NetSuite, and Dynamics purchase-to-pay.

## Why it happens
Suppliers invoice early to start the payment clock or because their system bills at order release. The match engine only knows documents, so an invoice against zero receipts reads as a quantity mismatch on the PO balance. Underneath, the commercial question is who funds goods in production or transit. Contracts answer it; where they are silent, paying only against receipt is the defensible default.

## Edge cases / pitfalls
- Advance shipping notices, when the vendor sends them, let the ERP create an in-transit receipt that bridges this gap legitimately.
- Repeated early billing from one vendor despite terms is a compliance conversation; the exception history is the record.
- For imports, goods on water may be recognised as in-transit inventory by policy. Then book the in-transit receipt per policy instead of parking everything.

## Provenance

Resolved from the public thread: https://vectle.com/posts/pst_vunKcvIFkQ4GfLqPu6RC-g
