Regenerate receipt PDF
This endpoint triggers a regeneration of the receipt PDF for a paid invoice.
The invoice must be in paid status and must already have an existing receipt PDF.
The original PDF is archived (not permanently deleted) to maintain an audit trail.
Important Legal Considerations:
Regenerating receipt PDFs may not be permitted in all jurisdictions. Many tax authorities require that issued receipts remain unmodified. Before using this endpoint, ensure that:
- Your local tax regulations permit modification of issued billing documents
- You have a legitimate business reason (e.g., fixing template errors, updating branding)
- You maintain proper records of the original PDF (archived automatically by Orb)
Recommended use cases:
- Correcting template rendering issues
- Applying updated company branding
- Updating customer data that was incorrect at issuance
Response
OK
An Invoice is a fundamental billing entity, representing the request for payment for
a single subscription. This includes a set of line items, which correspond to prices in the subscription's plan and
can represent fixed recurring fees or usage-based fees. They are generated at the end of a billing period, or as
the result of an action, such as a cancellation.
When payment for this invoice was received. For an invoice manually marked as paid, this is the payment_received_date that was supplied. For an invoice paid through a payment provider, this is the settlement time reported by that provider. It is null for an invoice that became paid without a payment, such as a $0 invoice or one fully covered by credit notes. By contrast, paid_at is when the invoice reached the paid status in Orb.
The number of line items omitted from line_items because they have zero quantity. Amounts such as subtotal and total are computed over every line item on the invoice, including the omitted ones. In rare circumstances, hidden line items may still contribute to these amounts.
0