Skip to main content
POST
Create Policy Invoice Type

Authorizations

Authorization
string
header
required

API key authentication. Send your raw API key as the Authorization header value with NO scheme prefix — Authorization: YOUR-API-KEY. Do NOT prefix it with Bearer or ApiKey, and do not use an X-API-Key header; those are not accepted.

Path Parameters

companyId
string<uuid>
required

Company identifier

Body

application/json
name
string
required
Minimum string length: 1
kind
enum<string>
required
Available options:
operating
expectedDirection
enum<string>
required
Available options:
payable,
receivable
lineItemTypes
object[]
required

May be empty. Existing unambiguous policy line-item identities are reused and associated; new names create company line items.

moneyOutRequiresApproval
boolean

Whether the type's money-out invoices require approval before a payment can be recorded. Defaults to false for a policy invoice type.

policyPresets
object

Response

The complete refreshed Financials settings, including deprecated rows.

categories
object[]
required
policyFinancials
object
required
classifications
object[]
required
paymentDefaults
object | null