Credit a collection case
Even if an invoice is transferred to collection, there might be cases where the creditor has to partially or fully credit the invoice. When this happens, the ongoing case inside Kravia also needs to be credited to ensure we write off the credited amount.
Credit note will only cover the original capital amount. Any registered credit note that surpass the remaining capital amount will be ignored.
Crediting an invoice
it is possible to credit part or an entire collection case using this API
curl https://api.kravia.ai/api/v2/invoice/creditnote \
--request POST \
--header 'Content-Type: application/json' \
--header 'Authorization: YOUR_SECRET_TOKEN' \
--data '{
"Date": "2024-09-16T00:00:00",
"Amount": -2500,
"AccountingPaymentId": "4564654465",
"Description": "Outgoing kreditnota 34242",
"Invoices": [
{
"InvoiceId": 308457,
"Amount": -2500.0
}
]
}'
About case termination
In some cases, crediting an invoice may result in the case being closed automatically. When crediting a case, the creditor is basically saying the invoice is no longer valid so that interest and fees might be void. If the entire amount is removed from the case, Kravia may write off the fees and interest and terminate the case automatically.

