Applies some or all of an unapplied vendor prepayment balance to a specific vendor bill.
Decrements vendor_bills.balance_due by the applied amount (Rule 23 SSOT).
GL entry posted:
DR Accounts Payable (ap_account) <amount>
CR Vendor Prepayments Asset (1440) <amount>
Validation:
active or partially_applied status.amount must not exceed prepayment.balance (returns 422 amount_exceeds_prepayment_balance).amount must not exceed bill.balance_due (returns 422 amount_exceeds_bill_balance_due).vendor_mismatch).amount is omitted, applies min(prepayment.balance, bill.balance_due) automatically.Requires ap:write scope.
Documentation Index
Fetch the complete documentation index at: https://docs.arcuserp.com/llms.txt
Use this file to discover all available pages before exploring further.
API key issued per entity via Settings > Developers > API Keys.
Each key carries scopes (e.g. orders:read, products:write).
Bearer token format: Authorization: Bearer ark_live_ent_Test keys use ark_test_ent_. Both are issued per entity
via Settings > Developers > API Keys.
Optional idempotency key.
Vendor prepayment UUID.
Prepayment applied to bill