Create a client

Create a new client record with specified billing preferences, invoice format settings, and requirement configurations for purchase orders and attachments.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Updatable client DTO

Client DTO

string
required
string

ID. Assigned by billing when a client is created without one; on an update the
client in the route is the one changed, whatever this says.

string | null

Name. Validated in code (see ClientDtoValidator) rather than via the
required modifier so a missing value surfaces a friendly validation
message instead of a model-binding failure.

string
enum

PO requirement

Allowed:
string
enum

Attachment requirement

Allowed:
string
enum

Invoice format

Allowed:
string | null

Invoice format tag group (e.g. "System"). Paired with InvoiceFormatTagName to identify a tag uniquely.

string | null

Invoice format tag name (e.g. "Invoice No"). Required when InvoiceFormat is TagGroup; paired with InvoiceFormatTagGroup to identify a tag uniquely.

string
enum

Strategy for auto-populating Invoice Number at invoice-creation time.
Default None (nothing is auto-filled); TagLookup reads a tag value.

Allowed:
string | null

Tag group to read when InvoiceNumberFormat is TagLookup (e.g. "System"). Case-insensitive.

string | null

Tag name to read when InvoiceNumberFormat is TagLookup (e.g. "Invoice No"). Case-insensitive.

string
enum

Subtotal grouping for invoice line items (None, PayElement, TagGroup).

Allowed:
string | null

Tag group name used when SubtotalGroupBy is TagGroup. Required when SubtotalGroupBy is TagGroup.

double | null

Rebate percentage

string | null

VAT number

string | null

Registration number

contacts
array of objects | null

Contacts

contacts
tags
array of objects | null

Tags

tags
string
enum

Client status (Active or Archived). Default Active.

Allowed:
string | null

Default revenue account code for Quick Credit (e.g. from Finance Settings).
When set, Quick Credit uses this account; otherwise first active revenue account is used.
Optional on Create when organisation finance defaults are configured; omitted values are auto-filled from org defaults.

string | null

Default tax type for Quick Credit (e.g. from Finance Settings).
When set, Quick Credit uses this tax; otherwise first active tax rate is used.
Optional on Create when organisation finance defaults are configured; omitted values are auto-filled from org defaults.

string | null

The accounting system's own id for this contact. Sending it back is what makes a re-send an update rather than a duplicate.

string | null

Which accounting system holds it, as the integrations hub named it.

string | null
enum

Sync status with external accounting provider.

Allowed:
string | null

When the accounting system last synced this (UTC, ISO 8601).

The provider's own moment, not when this service recorded
the answer, so it is safe to reconcile against the provider's
records and does not move with our internal queue timings. Null
until a send has succeeded.

string | null

Last sync error message when SyncStatus is Failed.

billingAddress
object
physicalAddress
object
string
required

Organisation ID

string
required

Created date

string
required

Created by

string
required

Updated date

string
required

Updated by

financeSettings
object

Client-scoped finance settings (defaults and pay element mappings; tax/account data is organisation-level).

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json