Skip to main content
POST
Create an invoice

Authorizations

x-api-key
string
header
required

Org-issued integration API key (service account credential). The plaintext secret is shown once at creation.

Headers

X-Idempotency-Key
string
required

Stable caller-chosen key (max 200 chars) making the mutation safely retryable.

Maximum string length: 200

Path Parameters

caseId
string
required

Case id

Body

application/json
direction
enum<string>
required
Available options:
inbound,
outbound
invoiceNumber
string
required
Required string length: 1 - 100
lineItems
object[]
Required array length: 1 - 500 elements
fromUnbilled
boolean
dueDate
string
billToContactId
string
Required string length: 1 - 200
vendorContactId
string
Required string length: 1 - 200
description
string
Maximum string length: 2000
terms
string
Maximum string length: 200

Response

{ success: true, invoice }

success
boolean
required
{key}
any