Returns a single subscription (recurring invoice) by id, with full nested detail — line items, payments, taxes, documents, custom fields and the client — in one response (no recursive flag needed).This is the subscription counterpart of GET Single Invoice. Only subscription documents are returned here; an id belonging to another document type (standard invoice, estimate, credit note, …) returns 404 Recurring invoice generator not found — use that type's own single-resource endpoint instead.Requires permission to view invoices (all-invoices access, or view-details permission together with ownership of the record).
Request
Provide your bearer token in the Authorization
header when making requests to protected resources. Example:Authorization: Bearer ********************
Responses
The subscription with full nested detail.
curl --location --globoff 'https://.daftra.com/api2/invoices/view_subscription/2415.json' \
--header 'Accept: application/json' \
--header 'apikey: ' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json'
Response Response Example
{
"result": "successful",
"code": 200,
"data": {
"Invoice": {}
}
}