The Invoice object represents a sales invoice (document issued and sent to a debtor/client). This is the main piece of evidence Aria needs to validate your payments. An Invoice can be attached to many Loans, representing the advance payments.

To make a payment with Aria, you will always be asked to create an Invoice by uploading and filling information. That is the first step that will allow you to create Loans afterwards.

Debtor contact

Each uploaded invoice must be associated with a corresponding Debtor. For the purpose of debt collection, we need you to provide the Debtor's contact information. This can be done either by creating a Debtor before uploading the invoice, or by providing their contact information at the time of invoice creation.

In the first solution, all of your contact information would be stored within the Debtor object, which can be associated with multiple invoices. On the other hand, the second solution involves storing all the necessary information for each invoice within the invoice object itself.


  • An Invoice has an unique invoiceNumber, so you will not be able to upload two Invoices with the same invoiceNumber. If you create an Invoice using an invoice number that already exists, the existing Invoice will be updated with the new information you provide.
  • An Invoice may be updated if it has no Loan linked to it or if Loans are in CREATED or REFUSED status.
  • An Invoice may be deleted if it has no Loan linked to it.
  • An Invoice and its Loans must be repaid before the dueDate. For more details, see Repayment.

What’s Next