Upsert invoice template
Create or update the addressed invoice template.
Path parameters
Body parameters
Optional client reference. Null means the current workspace owns the record; do not create a placeholder client.
Must be present and may be null.
Minimum length: 1 character. · Maximum length: 128 characters.
nullProject identifier within the current workspace.
Minimum length: 1 character. · Maximum length: 128 characters.
01JQ2T5Y5Q3R8W9N6M4K2H7P1DContact identifier for the invoice, expense, income, or project contact in the current workspace.
Minimum length: 1 character. · Maximum length: 128 characters.
01JQ2T5Y5Q3R8W9N6M4K2H7P1EID of the related bank account.
Must be present and may be null.
Minimum length: 1 character. · Maximum length: 128 characters.
nullDisplay name of the resource.
Maximum length: 10000 characters.
Consulting servicesHuman-readable description of the resource.
Maximum length: 10000 characters.
Consulting services for January 2026Notes attached to the record.
Maximum length: 10000 characters.
Consulting servicesrecurrence months for this invoice template.
maximum 1200 · greater than 0
1Currency identifier for the amount. It selects the currency metadata used by the record.
Minimum length: 1 character. · Maximum length: 128 characters.
01JQ2T5Y5Q3R8W9N6M4K2H7P1FApplied economic entries. Each entry is a reusable priced unit for a product, service, plan, or other calculable line. Entry prices are authored net prices; the workspace tax modifier calculates VAT.
at most 1000 items
ShowHide 7 properties
Opaque identifier for this resource or reference.
Minimum length: 1 character. · Maximum length: 128 characters.
01JQ2T5Y5Q3R8W9N6M4K2H7P1HStable identity of this saved modifier application. Preserve it when updating a financial record, including repeated uses of the same catalog modifier.
Minimum length: 1 character. · Maximum length: 128 characters.
Consulting servicesDisplay name of the resource.
Maximum length: 10000 characters.
Consulting serviceHuman-readable description of the resource.
Maximum length: 10000 characters.
Monthly consulting serviceExact decimal string used for financial calculations. Do not round or convert it to a display number.
Maximum length: 128 characters.
2.00Unit code from the workspace catalog.
Minimum length: 1 character. · Maximum length: 128 characters.
hourExact decimal string used for financial calculations. Do not round or convert it to a display number.
Maximum length: 128 characters.
100.00Modifiers applied to one entry or the whole source. Supported values are signed fixed amounts or percentages, such as `15.00%` or `-25.00`; arbitrary multiplication and division are not supported.
at most 1000 items
ShowHide 6 properties
Opaque identifier for this resource or reference.
Minimum length: 1 character. · Maximum length: 128 characters.
01JQ2T5Y5Q3R8W9N6M4K2H7P1JStable identity of this saved modifier application. Preserve it when updating a financial record, including repeated uses of the same catalog modifier.
Minimum length: 1 character. · Maximum length: 128 characters.
Consulting servicesDisplay name of the resource.
Minimum length: 1 character. · Maximum length: 10000 characters.
VATHuman-readable description of the resource.
Maximum length: 10000 characters.
Value added taxentry index within modifiers.
100Modifier value. A trailing `%` marks a percentage; a leading `-` marks a decrease. Modifiers support fixed or percentage adjustments, not arbitrary multiplication or division.
Maximum length: 128 characters.
15.00%Tags assigned to the record.
1 itemISO 8601 timestamp for started.
2026-01-15T12:00:00.000ZISO 8601 timestamp for ended.
Must be present and may be null.
2026-01-15T12:00:00.000ZHeaders
Bearer workspace API key.
Bearer $NQD_API_KEYQuoted updatedAt timestamp used to reject stale writes. Send the latest value as If-Match: "<updatedAt>".
Minimum length: 3 characters. · pattern ^".+"$
"2026-01-15T12:00:00.000Z"Workspace scope for the request. Required for workspace operations and must belong to the authenticated identity.
Minimum length: 1 character. · Maximum length: 128 characters.
01JQ2T5Y5Q3R8W9N6M4K2H7P1ASend the complete writable representation or change set. Use the latest updatedAt for If-Match.
Recurring templates store schedules. The recurring process creates due records and payments.
Response
Response headers
Returned records. Collections and batches use an array; single records use an object.
ShowHide 26 properties
Opaque identifier for this resource or reference.
01JQ2T5Y5Q3R8W9N6M4K2H7P1QReferenced currency with its opaque ID and ISO 4217 currency code.
ShowHide 3 properties
Opaque identifier for this resource or reference.
Minimum length: 1 character. · Maximum length: 128 characters.
01JQ2T5Y5Q3R8W9N6M4K2H7P1FISO 4217 currency code, such as SAR or USD.
Minimum length: 1 character. · Maximum length: 128 characters.
SARCurrency conversion quote used for reporting, including source, target, and rate.
ShowHide 3 properties
ISO 4217 code of the source currency in this persisted quote.
Minimum length: 1 character. · Maximum length: 128 characters.
SARISO 4217 code of the target reporting currency in this persisted quote.
Minimum length: 1 character. · Maximum length: 128 characters.
SARExact decimal conversion rate from the quote source currency to its target currency.
Maximum length: 128 characters.
1.00Optional client reference. Null means the current workspace owns the record; do not create a placeholder client.
nullProject identifier within the current workspace.
01JQ2T5Y5Q3R8W9N6M4K2H7P1DContact identifier for the invoice, expense, income, or project contact in the current workspace.
01JQ2T5Y5Q3R8W9N6M4K2H7P1Eproject website for this invoice template.
https://example.comclient website for this invoice template.
1 itemclient type for this invoice template.
Allowed values: "individual", "company", "government"
individualcontact website for this invoice template.
1 itemID of the related bank account.
nullDisplay name of the record.
Consulting servicesOptional human-readable description of the record.
Consulting services for January 2026Notes attached to the record.
Consulting servicesrecurrence months for this invoice template.
1Applied economic entries. Each entry is a reusable priced unit for a product, service, plan, or other calculable line. Entry prices are authored net prices; the workspace tax modifier calculates VAT.
at most 1000 items
ShowHide 7 properties
Opaque identifier for this resource or reference.
Minimum length: 1 character. · Maximum length: 128 characters.
01JQ2T5Y5Q3R8W9N6M4K2H7P1HStable identity of this saved modifier application. Preserve it when updating a financial record, including repeated uses of the same catalog modifier.
Minimum length: 1 character. · Maximum length: 128 characters.
Consulting servicesDisplay name of the record.
Maximum length: 10000 characters.
Consulting serviceOptional human-readable description of the record.
Maximum length: 10000 characters.
Monthly consulting serviceExact decimal string used for financial calculations. Do not round or convert it to a display number.
Maximum length: 128 characters.
2.00Unit code from the workspace catalog.
Minimum length: 1 character. · Maximum length: 128 characters.
hourExact decimal string used for financial calculations. Do not round or convert it to a display number.
Maximum length: 128 characters.
100.00Modifiers applied to one entry or the whole source. Supported values are signed fixed amounts or percentages, such as `15.00%` or `-25.00`; arbitrary multiplication and division are not supported.
at most 1000 items
ShowHide 6 properties
Opaque identifier for this resource or reference.
Minimum length: 1 character. · Maximum length: 128 characters.
01JQ2T5Y5Q3R8W9N6M4K2H7P1JStable identity of this saved modifier application. Preserve it when updating a financial record, including repeated uses of the same catalog modifier.
Minimum length: 1 character. · Maximum length: 128 characters.
Consulting servicesDisplay name of the record.
Minimum length: 1 character. · Maximum length: 10000 characters.
VATOptional human-readable description of the record.
Maximum length: 10000 characters.
Value added taxentry index within modifiers.
100Modifier value. A trailing `%` marks a percentage; a leading `-` marks a decrease. Modifiers support fixed or percentage adjustments, not arbitrary multiplication or division.
Maximum length: 128 characters.
15.00%Tags assigned to the record.
1 itemIdentifier of the identity that created the record.
01JQ2T5Y5Q3R8W9N6M4K2H7P1BIdentifier of the identity that last updated the record.
nulldeleted by for this invoice template.
nullISO 8601 timestamp for started.
2026-01-15T12:00:00.000ZISO 8601 timestamp for ended.
2026-01-15T12:00:00.000ZISO 8601 timestamp for next due.
2026-01-15T12:00:00.000ZISO 8601 timestamp for the authored or payment event. Recurring records preserve their scheduled occurrence.
2026-01-15T12:00:00.000ZTimestamp used for stale-edit protection. Preserve the server value when updating.
2026-01-15T12:00:00.000ZISO 8601 timestamp when the record was deleted, or null when it exists.
nullPossible errors
Response headers
Error details returned for a failed request.
ShowHide 4 properties
Stable machine-readable error or resource code.
invalid_inputHuman-readable explanation of the result or error.
The request could not be validated.Correlation identifier for support and request tracing.
550e8400-e29b-41d4-a716-446655440000Additional structured details about the result or error.
ShowHide 1 property
Structured field issues returned when request validation fails.
ShowHide 3 properties
Field path where the validation issue occurred.
One of: string alternative 1, number alternative 2
0 itemsMachine-readable reason for the validation issue.
Allowed values: "expected_type", "required", "unexpected_property", "invalid_value", "invalid_json", "invalid_query", "unsupported_media_type", "body_too_large", "body_timeout", "conflicting_scope", "missing_header", "concurrency_required", "invalid_resource_id", "invalid_request"
invalid_requestStable machine-readable error or resource code.
invalid_input{
"error": {
"code": "invalid_input",
"message": "The request could not be validated.",
"requestId": "550e8400-e29b-41d4-a716-446655440000",
"details": {
"issues": [
{
"path": [],
"reason": "invalid_request"
}
]
}
}
}View raw OpenAPI operation
Use the machine-readable contract for client generation and payload validation.
Open OpenAPI contract ↗