curl --location --request POST 'https://auth.efris.kakasa.xyz/api/v1/efris/credit-note' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"generalInfo": {
"oriInvoiceNo": "322025314924",
"reasonCode": "102",
"reason": "Cancellation of the purchase.",
"invoiceApplyCategoryCode": "101",
"remarks": "cancel this creditnote",
"sellersReferenceNo": "40V2"
},
"itemsBought": [
{
"quantity": 1.0,
"itemCode": "PIED PORTERHOUSE BONE IN",
"unitPrice": 45600.0,
"OrderNumber": 0,
"taxRule": "STANDARD"
}
]
}'