Skip to main content
POST
Reverse accrual

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

Path Parameters

accrual_id
string
required

ID of the accrual.

Minimum string length: 1

Body

application/json
reversal_date
string<date>
required

Today’s date in UTC (YYYY-MM-DD). Any other date returns HTTP 400: backdated reversals are not supported.

reason
string
required

Reason recorded with the accounting/audit event.

Required string length: 1 - 500
Example:

"Correct the selected accounting records."

Response

Created.

data
object
required