Contract invoicing
Invoicing runs of contracts.
Module: Contracts (contracts).
Endpoints
Section titled “Endpoints”GET /api/v1/contract_billing_runs- List with filters, sorting and pagination (scopecontracts:read)GET /api/v1/contract_billing_runs/{id}- A record by id (scopecontracts:read)POST /api/v1/contract_billing_runs/{id}/invoice- Draft invoice from the due date. (scopecontracts:write, invoices:write)POST /api/v1/contract_billing_runs/{id}/skip- Skips the due date. (scopecontracts:write)POST /api/v1/contract_billing_runs/{id}/unskip- Restores the due date. (scopecontracts:write)
Fields
Section titled “Fields”id(string, uuid; read): Unique identifier (UUID).contract_id(string, uuid; read)frequency(string; read)period_start(string, date; read)period_end(string, date; read)due_date(string, date; read)skipped(boolean; read)invoice_id(string, uuid; read)notified_upcoming_at(string, date-time; read)notified_late_at(string, date-time; read)created_at(string, date-time; read): Creation date (ISO 8601).due_until(string, date; read)