Developers

PUBLIC API v1

First run dates of a rule that is not saved yet

POST /api/v1/companies/{company_pk}/recurring-invoices/schedule-preview/

Return detail-serialized created instance

Permission: read_invoices · Direct link

Company-scoped. Account permissions, plan limits and document state still apply.

Path and query parameters

ParameterLocation / typeDescription
company_pkRequiredpath · string (uuid)Not specified

Request body

application/json

FieldType / accepted valuesDescription
intervalRequired"week" | "month" | "year"* `week` - Week * `month` - Month * `year` - Year
intervalCountintegerNot specified
startsOnRequiredstring (date)Not specified
endsOnstring (date) | nullNot specified
endsAfterinteger | nullNot specified
billingInAdvancebooleanNot specified
paymentDueDaysintegerNot specified
countintegerNot specified
periodStartstring (date) | nullThe period of the first run. Unset, periods follow the run dates.
runsMadeintegerInvoices made already, for `ends_after`.

multipart/form-data

FieldType / accepted valuesDescription
intervalRequired"week" | "month" | "year"* `week` - Week * `month` - Month * `year` - Year
intervalCountintegerNot specified
startsOnRequiredstring (date)Not specified
endsOnstring (date) | nullNot specified
endsAfterinteger | nullNot specified
billingInAdvancebooleanNot specified
paymentDueDaysintegerNot specified
countintegerNot specified
periodStartstring (date) | nullThe period of the first run. Unset, periods follow the run dates.
runsMadeintegerInvoices made already, for `ends_after`.

application/x-www-form-urlencoded

FieldType / accepted valuesDescription
intervalRequired"week" | "month" | "year"* `week` - Week * `month` - Month * `year` - Year
intervalCountintegerNot specified
startsOnRequiredstring (date)Not specified
endsOnstring (date) | nullNot specified
endsAfterinteger | nullNot specified
billingInAdvancebooleanNot specified
paymentDueDaysintegerNot specified
countintegerNot specified
periodStartstring (date) | nullThe period of the first run. Unset, periods follow the run dates.
runsMadeintegerInvoices made already, for `ends_after`.

Responses

200 Response fields

application/json

FieldType / accepted valuesDescription
runOnRequiredstring (date)Not specified
dueToRequiredstring (date)Not specified
periodStartRequiredstring (date)Not specified
periodEndRequiredstring (date)Not specified
400 Response fields

application/json

FieldType / accepted valuesDescription
fieldRequiredstringNot specified
codeintegerNot specified
messageRequiredstringNot specified
type_stringNot specified
401 Response fields

application/json

FieldType / accepted valuesDescription
detailRequiredRead onlystringNot specified
403 Response fields

application/json

FieldType / accepted valuesDescription
detailRequiredRead onlystringNot specified
404 Response fields

application/json

FieldType / accepted valuesDescription
detailRequiredstringNot specified
codeRequiredintegerNot specified
type_RequiredstringNot specified
fieldRequiredstringNot specified
429 Rate limit exceeded. Wait for the Retry-After header before retrying.

Use the base URL https://api.norman.finance/api/v1. Sign up or log in to Norman to create an API key, then send it as a Bearer token. For an OpenAPI JSON file, contact support.