Skip to main content
POST
/
vendor-bills
Create a vendor bill
curl --request POST \
  --url https://api.arcuserp.com/v1/vendor-bills \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "vendor_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "bill_date": "2023-12-25",
  "items": [
    {
      "description": "<string>",
      "amount": 123,
      "product_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "quantity": 123,
      "unit_cost": 123,
      "tax_rate": 123,
      "gl_account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
    }
  ],
  "po_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "due_date": "2023-12-25",
  "notes": "<string>",
  "suppress_gl": true
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "object": "vendor_bill",
  "entity_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "bill_number": "<string>",
  "vendor_invoice_number": "<string>",
  "vendor_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "po_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "status": "draft",
  "bill_date": "2023-12-25",
  "due_date": "2023-12-25",
  "subtotal": 123,
  "tax_total": 123,
  "shipping_total": 123,
  "bill_total": 123,
  "amount_paid": 123,
  "balance_due": 123,
  "currency": "USD",
  "payment_term_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "notes": "<string>",
  "metadata": {},
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

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.

Body

application/json
vendor_id
string<uuid>
required
bill_date
string<date>
required
items
object[]
required
po_id
string<uuid>
due_date
string<date>
notes
string
suppress_gl
boolean

Migration:write scope required. Skip GL posting for historical import.

Response

Created vendor bill

A vendor invoice (AP). Posts to AP and inventory/expense on approval.

id
string<uuid>
object
enum<string>
Available options:
vendor_bill
entity_id
string<uuid>
read-only
bill_number
string
read-only

Sequential bill number per entity.

vendor_invoice_number
string | null

Vendor's invoice number.

vendor_id
string<uuid>
po_id
string<uuid> | null
status
enum<string>
read-only
Available options:
draft,
pending_approval,
approved,
rejected,
paid,
partially_paid,
voided
bill_date
string<date>
due_date
string<date> | null
subtotal
number
tax_total
number
shipping_total
number
bill_total
number
amount_paid
number
read-only
balance_due
number
read-only
currency
string
default:USD
payment_term_id
string<uuid> | null
notes
string | null
metadata
object
created_at
string<date-time>
read-only
updated_at
string<date-time>
read-only