Register direct payments
Even after registering an invoice for collection, the creditor might receive payments directly. It is important to register those payments on the collection case inside Kravia so that we only collect the actual outstanding balance.
Direct payments will only cover the original capital amount. Any registered payment that surpass the remaining capital amount will be ignored.
Registering the payment
You can register direct payments via the following API
curl https://api.kravia.ai/api/v2/invoice/payment \
--request POST \
--header 'Content-Type: application/json' \
--header 'Authorization: YOUR_SECRET_TOKEN' \
--data '{
"date": "2024-07-16",
"description": "Direct payment registered manually",
"AccountingPaymentId": "286519",
"amount": 3000,
"invoices": [
{
"invoiceId": 1553199,
"amount": 2000
},
{
"invoiceId": 1553198,
"amount": 1000
}
]
}'
Some key data elements:
-
We usually recommend registering the payments as they are received into the creditor’s bank account in order to match the data your accounting system. It is then possible to book the payments against multiple invoices at once
-
When registering payments,, we do recommend passing your internal identifier as AccountingPaymentId as this can be used for reconciliation.
Be aware, disbursements from Kravia will also appear as payment inside your system. Make sure to identify and ignore those payments. Registering those again in Kravia may result in incorrect balance.
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.

