Upsert income records in a batch
Upsert income records atomically. Send an array of complete writable records, each with its resource ID. One invalid record rejects the entire batch.
Body parameters
Display name of the resource.
Maximum length: 10000 characters.
Product saleHuman-readable description of the resource.
Maximum length: 10000 characters.
Product receipt for January 2026Currency 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.
Product saleDisplay name of the resource.
Maximum length: 10000 characters.
Product saleHuman-readable description of the resource.
Maximum length: 10000 characters.
Product receipt for January 2026Exact 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.
200.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.
Product saleDisplay 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%Optional client reference. Null means the current workspace owns the record; do not create a placeholder client.
Minimum length: 1 character. · Maximum length: 128 characters.
01JQ2T5Y5Q3R8W9N6M4K2H7P1CProject 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.
Minimum length: 1 character. · Maximum length: 128 characters.
01JQ2T5Y5Q3R8W9N6M4K2H7P1GTags assigned to the record.
at most 100 items
1 itemPayment schedule for the record.
at most 500 items
ShowHide 9 properties
Opaque identifier for this resource or reference.
01JQ2T5Y5Q3R8W9N6M4K2H7P1WID of the related original.
Product saleExact decimal string used for financial calculations. Do not round or convert it to a display number.
Maximum length: 128 characters.
100.00Exact decimal string used for financial calculations. Do not round or convert it to a display number.
Maximum length: 128 characters.
100.00Exact decimal string used for financial calculations. Do not round or convert it to a display number.
Allowed values: "replace"
replaceCurrency identifier for the amount. It selects the currency metadata used by the record.
01JQ2T5Y5Q3R8W9N6M4K2H7P1Fdirection within payment plan.
Allowed values: "inbound", "outbound"
inboundID of the related bank account.
01JQ2T5Y5Q3R8W9N6M4K2H7P1GISO 8601 timestamp for the authored or payment event. Recurring records preserve their scheduled occurrence.
2026-01-15T12:00:00.000ZOpaque identifier for this resource or reference.
Minimum length: 1 character. · Maximum length: 128 characters.
01JQ2T5Y5Q3R8W9N6M4K2H7P1WTimestamp used for stale-edit protection. Preserve the server value when updating.
2026-01-15T12:00:00.000ZHeaders
Bearer workspace API key.
Bearer $NQD_API_KEYWorkspace scope for the request. Required for workspace operations and must belong to the authenticated identity.
Minimum length: 1 character. · Maximum length: 128 characters.
01JQ2T5Y5Q3R8W9N6M4K2H7P1AIncome is an incoming cash source that does not require a service-work relationship. Use it for capital, inheritance, product receipts, or other standalone receipts. A buyer Client is optional. Record cash separately through Transactions.
Send the complete writable representation or change set. Use the latest updatedAt for If-Match.
Response
Response headers
Returned records. Collections and batches use an array; single records use an object.
ShowHide 17 properties
Opaque identifier for this resource or reference.
01JQ2T5Y5Q3R8W9N6M4K2H7P1WDisplay name of the record.
Product saleOptional human-readable description of the record.
Product receipt for January 2026Referenced 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.00Applied 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.
Product saleDisplay name of the record.
Maximum length: 10000 characters.
Product saleOptional human-readable description of the record.
Maximum length: 10000 characters.
Product receipt for January 2026Exact 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.
200.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.
Product saleDisplay 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%totals for this income.
ShowHide 6 properties
line totals within totals.
base within totals.
400.00Total before tax and other modifiers.
400.00Tax calculated from the workspace payable modifier.
60.00Total after tax and other price modifiers.
460.00Amount due after all applied modifiers.
460.00Optional client reference. Null means the current workspace owns the record; do not create a placeholder client.
nullProject identifier within the current workspace.
nullContact identifier for the invoice, expense, income, or project contact in the current workspace.
nullID of the related bank account.
Minimum length: 1 character. · Maximum length: 128 characters.
nullTags assigned to the record.
1 itemIdentifier of the identity that created the record.
01JQ2T5Y5Q3R8W9N6M4K2H7P1BIdentifier of the identity that last updated the record.
01JQ2T5Y5Q3R8W9N6M4K2H7P1BISO 8601 timestamp for the authored or payment event. Recurring records preserve their scheduled occurrence.
2026-01-15T12:00:00.000ZTimestamp when effective transactions covered the amount due.
2026-01-15T12:00:00.000ZTimestamp used for stale-edit protection. Preserve the server value when updating.
2026-01-15T12:00:00.000ZPossible 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 ↗