Edit an Invoice

Note: Only works when all linked Loans are in CREATED state. proofIds is not accepted here, it is a creation-only field: once the object exists, evidence is added through POST /companies/{companyId}/proofs and linked through POST /companies/{companyId}/proofs/{proofId}/link. The deprecated attachments field is still accepted and still replaces the list, see the field description for how it maps onto proofs.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Defaults to me
string
required
Body Params
uuid

Unique ID assigned to a Debtor. When registering an Invoice for a German Debtor, you must provide one of the following: debtorId (Debtor associated to a Debtor's address), creditLimitId (Credit limit associated to a Debtor's address).

uuid

Unique ID assigned to a Credit limit. When registering an Invoice for a German Debtor, you must provide one of the following: debtorId (Debtor associated to a Debtor's address), creditLimitId (Credit limit associated to a Debtor's address).

receivableIds
array of strings

List of receivables to be linked to this Invoice, before or after requesting a Loan.

receivableIds
attachments
array of objects
length ≥ 0
deprecated

Deprecated, use proofIds on creation or the proof endpoints instead. Lists the non-archived proofs linked to this Invoice with source: COMPANY. On PATCH the list you send replaces the current one: a new file becomes a proof of type: INVOICE, a dropped one is archived. Omit the field and nothing changes. See the Proof guide.

attachments
number

Invoice Amount including tax. May differ from the amount in the Loan.

number

Invoice Amount excluding tax.

string
enum
Allowed:
date-time

Date on which the invoice is generated, in ISO 8601 UTC format.

string

Unique invoice number

string
enum

Indicates the ultimate owner of the Invoice who is responsible for assigning the debt. The owner can either be your company or the beneficiary of the Loan. Please use this field only when you encounter different use cases.

Allowed:
string

Name of the client being invoiced.

debtorIdentifier
object

Identifier representing the debtor being invoiced

contacts
array of objects

Only required if no contact has been provided on the Debtor previously.

contacts
string
enum
Allowed:
number

Actual payment terms written on the invoice. You can find available durations with a GET /companies/{companyId} call. Choose one of the contracted terms, agreed with Aria.

Headers
string

IP of the end-user doing the action resulting in the API call.

Responses

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json