Skip to main content
POST
/
vendor-bills
/
{id}
/
write-off
Write off a vendor bill balance
curl --request POST \
  --url https://api.arcuserp.com/v1/vendor-bills/{id}/write-off \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "reason": "Vendor bankruptcy -- confirmed 2026-05-13",
  "notes": "Docket 24-11842, Western District of Louisiana"
}
'
{
  "data": {
    "success": true,
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "bill_number": "<string>",
    "amount_written_off": 123,
    "new_status": "written_off",
    "journal_entry_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  }
}

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.

Authorizations

Authorization
string
header
required

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.

Headers

Idempotency-Key
string

Optional idempotency key (UUID). Re-POST with same key returns cached 200 without re-processing.

Path Parameters

id
string<uuid>
required

Body

application/json
reason
string
required

Human-readable reason for the write-off (e.g., "Vendor bankruptcy", "Negotiated settlement").

notes
string

Optional additional context.

idempotency_key
string<uuid>

Optional idempotency key. Identical to Idempotency-Key header; body value takes precedence.

Response

Bill written off

data
object