# Credit Note Management Endpoints for creating, managing, and retrieving credit notes (refund receipts) ## Generate credit note template - [POST /credit-note/template](https://cheqi.redocly.app/apis/api-docs/credit-note-management/createreceipttemplate_1.md): Generates a UBL-compliant credit note template without customer personal data. The template can be used by the SDK to inject customer information and encrypt the credit note. Requires write_receipts OAuth scope. Accessible for: Company, Client Application ## Submit encrypted credit note - [POST /credit-note/encrypted](https://cheqi.redocly.app/apis/api-docs/credit-note-management/submitencryptedreceipt_1.md): Submits an encrypted credit note to the queue for delivery to customer devices. The credit note is encrypted with customer device keys for end-to-end privacy. Accessible for: Company, Client Application ## Get all outstanding credit note initiation requests - [GET /credit-note](https://cheqi.redocly.app/apis/api-docs/credit-note-management/getallcreditnotes.md): Retrieves all outstanding credit note initiation requests for the authenticated company or client application. These are customer-initiated refund requests that are pending processing. Accessible for: Company, Client Application ## Get issuer public key - [GET /credit-note/{cheqiReceiptId}/issuer-key](https://cheqi.redocly.app/apis/api-docs/credit-note-management/getissuerkey.md): Returns the issuer's public key for verifying the credit note signature. The device must be a valid recipient of this credit note to access the key.