Skip to main content
pre_invoices

Create /pre_invoices

Create a pre-invoice. Required on create: contact or lead (one of), date, and items (at least one line). Optional: currency (tenant default when omitted), expiry date, sale agent, notes, addresses, organization. Returns record with the detail projection.

POST
/pre_invoices
Authorizationstringheaderrequired

API key (Bearer token) created in Setup → API & MCP.

Body

application/json
adminnotestring

Internal admin note.

billing_citystring

Billing city.

billing_countrystring

Billing country UUID.

billing_statestring

Billing state/region.

billing_streetstring

Billing street address.

billing_zipstring

Billing ZIP/postal code.

clientnotestring

Note visible to client.

contactstring

Client UUID (required on create if lead is omitted).

contact_personstring

Contact person UUID.

currencystring

Currency name (e.g. EUR). Uses tenant default when omitted on create.

custom_fieldsobject[]

Custom field values by slug.

datestringrequired

Estimate date (Y-m-d).

expiry_datestring

Expiry date (Y-m-d).

itemsobject[]required

Estimate line items. At least one object is required.

leadstring

Lead UUID (required on create if contact is omitted).

organizationstring

Organization UUID.

sale_agentstring

Sale agent staff UUID.

shipping_citystring

Shipping city.

shipping_countrystring

Shipping country UUID.

shipping_statestring

Shipping state/region.

shipping_streetstring

Shipping street address.

shipping_zipstring

Shipping ZIP/postal code.

statusinteger

Estimate status code (1–5).

termsstring

Terms and conditions.

any

Response

application/json

Success

recordobject

Fields enabled for this documentation instance (projection enabled: feature, option, subdomain, closures) plus account-level form field visibility. Role- and user-level field overrides are not applied here, so an API key whose staff user has such overrides may receive fewer fields. A disabled field is omitted from the response object entirely; a present key with a null value means the record simply has no value.