Create invoice from contract
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Path Parameters
Body
Request to create an invoice from a contract.
Either party (client or contractor) of the contract may create the invoice;
attribution always flows from contract.contractor to
contract.client. Amount defaults to the contract amount when not
provided. contractor_address is optional — when omitted, the snapshot
stored on the contract (or the linked contact's address) is used.
invoice_number is auto-generated per (contractor, client) pair as e.g.
"INV-0001".
Prefix for auto-generated invoice_number, e.g. "INV" → "INV-0001".
1 - 16^[A-Za-z0-9_-]+$Address schema for user.
Canonical field names: street_address, address_line_2, city, state, country, zip. Accepts legacy Align/IBAN field names (street_line_1, street_line_2, postal_code) for backward compatibility with existing JSONB data.
Response
Successful Response
Invoice response.
^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$Supported invoice/contract currencies. G10 majors + AED/HKD.
USD, EUR, GBP, JPY, CHF, CAD, AUD, NZD, SEK, NOK, AED, HKD Invoice status.
draft, sent, paid, cancelled, client_paid, client_declined Minimal transaction info embedded in invoice response.
^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$IBAN (SEPA) external account.
- IBANAccountDetails
- USExternalAccountDetails
- SwiftAccountDetails
- ContactWalletResponse
- EmailAccountInput
Minimal participant info for invoice response.
Minimal participant info for invoice response.
Minimal contract info embedded in invoice response.