Rental invoices
Methods, permissions, request fields and response schemas for rental invoices.
Read and search
Retrieve current records, history and status.
Read rental invoicesStripe invoices for an authorized rental; tenant-bound provider access is checked before the shared invoice service.GET/payments/bookings/:id/invoices
/payments/bookings/:id/invoicesPath parameters
| Field | Type | Description and constraints |
|---|---|---|
idRequired | string · uuid | Resource UUID scoped to the current organization. |
Edit example fields and validate the request against its schema.
What you receive
Stripe invoices for an authorized rental; tenant-bound provider access is checked before the shared invoice service.
Request example · cURL
Replace example IDs and values. Supply the token from your secret store. Each intended write uses one stable $ACTION_KEY.
curl -X GET "$BASE/payments/bookings/$ID/invoices" \
-H "Authorization: Bearer $ALLPROFILES_API_TOKEN"Success response schema · HTTP 200
{
"application/json": {
"schema": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 0,
"maxLength": 5000
},
"number": {
"type": [
"string",
"null"
],
"minLength": 0,
"maxLength": 5000
},
"status": {
"type": [
"string",
"null"
],
"minLength": 0,
"maxLength": 5000
},
"amountPaid": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"currency": {
"type": "string",
"minLength": 0,
"maxLength": 5000
},
"periodStart": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"periodEnd": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"hostedInvoiceUrl": {
"type": [
"string",
"null"
],
"minLength": 0,
"maxLength": 5000
},
"createdAt": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"billingReason": {
"type": [
"string",
"null"
],
"minLength": 0,
"maxLength": 5000
},
"creditAppliedCents": {
"type": [
"integer",
"null"
],
"minimum": 0,
"maximum": 9007199254740991
},
"creditAppliedDays": {
"type": [
"integer",
"null"
],
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"id",
"number",
"status",
"amountPaid",
"currency",
"periodStart",
"periodEnd",
"hostedInvoiceUrl",
"createdAt",
"billingReason",
"creditAppliedCents",
"creditAppliedDays"
],
"additionalProperties": true
}
}
}
}Errors and recovery
400- Invalid JSON, request fields, query, path identifier or missing Idempotency-Key.
401- Missing, invalid, revoked or expired organization API token; its issuing actor must still be the current organization owner.
403- Token scope or actor capability denied, disabled/banned account, or action unavailable.
404- Unknown route or resource not accessible in the bound organization. Cross-tenant resources are not enumerated.
409- Conflicting profile/rental state, duplicate resource, idempotency payload mismatch or operation still in progress.
410- event_cursor_expired: the event cursor is behind retained history. Reconcile current resources and start from the supplied recovery cursor.
422- Business validation/moderation rejected the operation. CHAT_MESSAGE_BLOCKED was not delivered.
429- API rate/concurrency limit exceeded; use backoff and Retry-After when present.
500- Internal operation error. Sensitive implementation details are not returned. Investigate using the request ID before repeating a write.
503- Provider or configuration unavailable; uncertain writes must retain the same Idempotency-Key.
These are documented API errors. The local sandbox checks schema fields only and does not test authorization, moderation or provider behavior.
Financial fields named ...Cents or ...InCents use integer cents. Path fields and nested constraints are shown above and in the downloadable OpenAPI contract.