# Receipt Management Endpoints for creating and managing purchase receipts with end-to-end encryption ## Generate receipt template - [POST /receipt/template](https://cheqi.redocly.app/apis/api-docs/receipt-management/createreceipttemplate.md): Generates a UBL-compliant purchase receipt template without customer personal data. The template can be used by the SDK to inject customer information and encrypt the receipt. Requires write_receipts OAuth scope. Accessible for: Company, Client Application ## Submit encrypted receipt - [POST /receipt/encrypted](https://cheqi.redocly.app/apis/api-docs/receipt-management/submitencryptedreceipt.md): Submits an encrypted purchase receipt to the queue for delivery to customer devices. The receipt is encrypted with customer device keys for end-to-end privacy. Requires write_receipts OAuth scope. Accessible for: Company, Client Application ## Send receipt via email - [POST /receipt/email](https://cheqi.redocly.app/apis/api-docs/receipt-management/submitreceiptwithemail.md): Sends a purchase receipt directly to a customer via email. The receipt is delivered as a PDF attachment. Requires write_receipts OAuth scope. Accessible for: Company, Client Application