Records a pre-bill advance payment to a vendor. The prepayment is booked as an asset (GL 1440 Vendor Prepayments Asset) rather than reducing AP, because no bill has been received yet. This mirrors NetSuite Vendor Prepayment / Acumatica Prepayment documents.
GL entry posted (atomic, single transaction):
DR Vendor Prepayments Asset (1440) <amount>
CR Cash / Bank (payment-method-resolved) <amount>
Mode guard: the entity setting enable_vendor_prepayments_asset_posting must be true.
Returns HTTP 422 prepayment_mode_disabled otherwise.
Idempotency: pass Idempotency-Key header (UUID) to make the call safe to retry.
Repeated calls with the same key return the original response without re-posting the JE.
Period lock: posting to a locked tax year returns HTTP 422 tax_year_locked.
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. Re-POST with same key returns cached 201 without re-processing.
Vendor account UUID (account_type must be 'vendor').
Prepayment amount in entity currency. Must be > 0.
x >= 0.01Tender method used for the advance payment.
cash, check, card, ach, external, wire, other Effective date for the journal entry. Defaults to today if omitted.
Optional free-text note (reference number, reason for advance, etc.).
Optional reference to an account_payment_methods row.
Optional bank account reference for ACH / wire payments.
Alternative idempotency key in body (header takes precedence).
Vendor prepayment recorded