Skip to main content
POST
Post accrual entries
Vendor mappings, accounting-period checks and automatic reversal settings apply. To check vendor readiness, use Find vendors for accruals. Resolve missing mappings in the dashboard. A failed item does not undo the entries that were already posted. Check failed for the items that were not posted.

Authorizations

X-API-Key
string
header
required

Your organization API key. Some operations also need a key that is associated with a user; their pages say so.

Headers

Idempotency-Key
string
required

Unique key for this operation. Retry with the same key and request body after a timeout. Keys are retained for at least 24 hours.

Required string length: 1 - 255

Body

application/json
accruals
object[]
required

Accruals to create.

Required array length: 1 - 100 elements
auto_reverse
boolean

Reverse the accrual under the reversal policy of the organization. The returned reversal dates come from that policy.

Response

Batch processed. Inspect created and failed items; HTTP 200 does not mean every item succeeded.

data
object
required

Per-entry create result. created/failed partition the requested accruals.