Paymentterm data model
View field support, webhooks, and list parameters for each integration on the Supported Integrations page.
| Field | Type | Required | Description |
|---|---|---|---|
id | string | No | |
created_at | string (date-time) | No | (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format) |
updated_at | string (date-time) | No | (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format) |
name | string | No | term label, e.g. "Net 30" |
description | string | No | |
type | enum | No | Values: ON_RECEIPT, NET_7, NET_10, NET_15, NET_20, NET_25, NET_30, NET_45, NET_60, NET_90, OTHER |
category | enum | No | STANDARD (days-based) or DATE_DRIVEN (month-based) Values: STANDARD, DATE_DRIVEN, OTHER |
is_active | boolean | No | |
due_days | number | No | (standard) days until payment is due |
discount_days | number | No | (standard) days within which an early-pay discount applies |
discount_percent | number | No | (standard) early-pay discount rate |
day_of_month_due | number | No | (date-driven) day of month payment is due (1–31) |
discount_day_of_month | number | No | (date-driven) pay before this day of month for the discount |
due_next_month_days | number | No | (date-driven) if invoiced within N days of month-end, due next month |
organization_id | string | No | |
metadata | AccountingMetadata[] | No | |
metadata[].id | string | No | |
metadata[].slug | string | No | |
metadata[].value | object | No | |
metadata[].namespace | string | No | |
metadata[].format | enum | No | Values: TEXT, NUMBER, DATE, BOOLEAN, FILE, TEXTAREA, SINGLE_SELECT, MULTIPLE_SELECT, MEASUREMENT, PRICE, YES_NO, CURRENCY, URL |
metadata[].extra_data | object | No |
Are we missing anything? Let us know