Advances Arcus number_counters.current_value past the source system’s last issued
document number, so the first post-cutover document does not collide with migrated
documents. Used at the end of a data migration before the cutover handoff.
Semantics. advance_to is the new current_value (NOT the next-issued number).
The next-issued number will be advance_to + 1, padded with the counter’s existing
prefix and padding. Example: if Versa’s last invoice was INV-342665, set
advance_to: 342665 and Arcus’s next invoice will be 342666.
Monotonic guarantee. advance_to must be greater than or equal to the existing
current_value. Decrementing is not allowed (Rule 23 SSOT). If the existing value
already meets or exceeds advance_to, the call is a no-op (idempotent;
advanced=false in the response).
Single or batch. Either pass {counter_type, advance_to} for a single counter,
or {counters: [...]} for up to 50 counters in one call. Each counter’s result is
returned independently; a failure on one does not roll back the others.
New counter creation. If a counter row does not exist for the entity, the
endpoint inserts one. prefix is required in that case; padding defaults to 7.
Scope: migration:write.
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. If supplied, retrying the same call within 24 hours returns the previous result.
Single-counter advance payload.
One of the counter_type enum values: order, invoice, quote, po, rma, journal, account, vendor_bill, ap_payment, check, transfer, vendor_return, refund, inventory_txn, work_order, fixed_asset, lease, lease_payment, deposit, vendor_credit, payment_batch.
"invoice"
New current_value for the counter. Next-issued = advance_to + 1. Must be >= existing current_value (monotonic; decrement not allowed).
x >= 0342665
Required only when creating a new counter row (entity does not have one yet). Existing rows preserve their prefix.
20Optional. Used only when creating a new counter row. Defaults to 7.
1 <= x <= 12