Available
Credit note schema
Generated single-invoice credit note and credit memo fields.
Updated 2026-09-24
Use typeId: 12 for a standard credit note or credit memo that credits one original invoice or bill. The original document is named on the summary as invoice_number and invoice_date; the credited lines are itemized in lineItems.
Credit notes often print their amounts as negatives (-INR 950.00). The extracted values are always absolute positive amounts — the document type already says the money is moving the other way.
Missing template fields are omitted from the payload; missing arrays and objects are still normalized to empty containers, and a field the model returned as null is dropped. This type ignores requireLineItems; both settings resolve to the same template.
Fields
| Field | Type | Template | Description |
|---|---|---|---|
processed_data.lineItems[].amount | number | Returned | Generated from the current credit note template. |
processed_data.lineItems[].cgst_amount | number | Returned | Generated from the current credit note template. |
processed_data.lineItems[].cgst_rate | number | Returned | Generated from the current credit note template. |
processed_data.lineItems[].description | string | Returned | Generated from the current credit note template. |
processed_data.lineItems[].discount | number or 0 | Returned | Generated from the current credit note template. |
processed_data.lineItems[].hsn_sac | string hsn/sac can be written only once anywhere in credit note if all items have same hsn | Returned | Generated from the current credit note template. |
processed_data.lineItems[].igst_amount | float | Returned | Generated from the current credit note template. |
processed_data.lineItems[].igst_rate | number | Returned | Generated from the current credit note template. |
processed_data.lineItems[].quantity | float | Returned | Generated from the current credit note template. |
processed_data.lineItems[].rate | float | Returned | Generated from the current credit note template. |
processed_data.lineItems[].sgst_amount | number | Returned | Generated from the current credit note template. |
processed_data.lineItems[].sgst_rate | number | Returned | Generated from the current credit note template. |
processed_data.lineItems[].unit_or_per | string | Returned | Generated from the current credit note template. |
processed_data.summary_data.cgst_amount | float | Returned | Generated from the current credit note template. |
processed_data.summary_data.cgst_rate | number | Returned | Generated from the current credit note template. |
processed_data.summary_data.credit_note_date | string (ISO 8601 date format) yyyy-mm-dd | Returned | Generated from the current credit note template. |
processed_data.summary_data.credit_note_number | string #Credit note / credit memo number | Returned | Generated from the current credit note template. |
processed_data.summary_data.currency | string | Returned | Generated from the current credit note template. |
processed_data.summary_data.from_gstin | string #GSTIN of credit note issuer | Returned | Generated from the current credit note template. |
processed_data.summary_data.from_pan | string | Returned | Generated from the current credit note template. |
processed_data.summary_data.grn_number | string #GRN reference if mentioned | Returned | Generated from the current credit note template. |
processed_data.summary_data.igst_amount | float #Total IGST amount (sum of all IGST rates if multiple) | Returned | Generated from the current credit note template. |
processed_data.summary_data.igst_rate | number #Primary IGST rate if single rate, or highest rate if multiple rates exist | Returned | Generated from the current credit note template. |
processed_data.summary_data.invoice_date | string (ISO 8601 date format) yyyy-mm-dd #Original invoice date when printed | Returned | Generated from the current credit note template. |
processed_data.summary_data.invoice_number | string #Original invoice number this credit note applies to | Returned | Generated from the current credit note template. |
processed_data.summary_data.issuer_address | string | Returned | Generated from the current credit note template. |
processed_data.summary_data.issuer_name | string #Party issuing the credit note | Returned | Generated from the current credit note template. |
processed_data.summary_data.issuer_pincode | number | Returned | Generated from the current credit note template. |
processed_data.summary_data.issuer_state | string | Returned | Generated from the current credit note template. |
processed_data.summary_data.notes | string | Returned | Generated from the current credit note template. |
processed_data.summary_data.po_number | string #PO reference if mentioned | Returned | Generated from the current credit note template. |
processed_data.summary_data.reason | string #Reason for credit when printed | Returned | Generated from the current credit note template. |
processed_data.summary_data.receiver_address | string | Returned | Generated from the current credit note template. |
processed_data.summary_data.receiver_name | string #Name of receiver if different from vendor | Returned | Generated from the current credit note template. |
processed_data.summary_data.receiver_pincode | number | Returned | Generated from the current credit note template. |
processed_data.summary_data.receiver_state | string | Returned | Generated from the current credit note template. |
processed_data.summary_data.reference_number | string | Returned | Generated from the current credit note template. |
processed_data.summary_data.round_off | number | Returned | Generated from the current credit note template. |
processed_data.summary_data.sgst_amount | float | Returned | Generated from the current credit note template. |
processed_data.summary_data.sgst_rate | number | Returned | Generated from the current credit note template. |
processed_data.summary_data.sub_total | float | Returned | Generated from the current credit note template. |
processed_data.summary_data.to_gstin | string #GSTIN of buyer/vendor (recipient) | Returned | Generated from the current credit note template. |
processed_data.summary_data.to_pan | string | Returned | Generated from the current credit note template. |
processed_data.summary_data.total_amount | float | Returned | Generated from the current credit note template. |
processed_data.summary_data.type | Credit Note | Returned | Generated from the current credit note template. |
processed_data.summary_data.vendor_address | string | Returned | Generated from the current credit note template. |
processed_data.summary_data.vendor_name | string #Name of vendor/recipient | Returned | Generated from the current credit note template. |
processed_data.summary_data.vendor_pincode | number | Returned | Generated from the current credit note template. |
processed_data.summary_data.vendor_state | string | Returned | Generated from the current credit note template. |