public.credit_notes
iduuidtenant_iduuidcn_numbercharacter varyingcustomer_iduuidso_iduuid?return_iduuid?invoice_iduuid?statuscharacter varyingnote_datedatesubtotalnumerictax_totalnumericgrand_totalnumericnotestext?created_byuuid?is_activebooleancreated_attimestamp with time zoneupdated_attimestamp with time zonereasontext?return_stockbooleancgst_amountnumericsgst_amountnumericigst_amountnumericgst_typecharacter varyingjournal_entry_iduuid?ext_reftext?posted_attimestamp with time zone?posted_byuuid?
| id | tenant_id | cn_number | customer_id | so_id | return_id | invoice_id | status | note_date | subtotal | tax_total | grand_total | notes | created_by | is_active | created_at | updated_at | reason | return_stock | cgst_amount | sgst_amount | igst_amount | gst_type | journal_entry_id | ext_ref | posted_at | posted_by |