---
updatedAt: 2025-06-02T22:32:34.000Z
agentTools:
  projectIndex: https://docs.helloaria.eu/llms.txt
---

# Register a CreditLimit

This endpoint allows you to ask the credit Aria is willing to finance for a given client.

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Aria API",
    "description": "This document is a reference for Aria API.\n\n**Base URLs:**\n- Production server baseURL: https://api.helloaria.eu\n- Sandbox server baseURL: https://api.sandbox.helloaria.eu",
    "contact": {
      "name": "Aria Support",
      "email": "support@helloaria.eu"
    },
    "version": ""
  },
  "servers": [
    {
      "description": "Sandbox environement (to test your integration)",
      "url": "https://api.sandbox.helloaria.eu"
    },
    {
      "description": "Production environement",
      "url": "https://api.helloaria.eu"
    }
  ],
  "paths": {
    "/companies/{companyId}/credit-limits": {
      "post": {
        "tags": [
          "Credit Limits"
        ],
        "summary": "Register a CreditLimit",
        "description": "This endpoint allows you to ask the credit Aria is willing to finance for a given client.",
        "operationId": "registerCreditLimit",
        "parameters": [
          {
            "$ref": "#/components/parameters/EndUserIpHeader"
          },
          {
            "name": "companyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "default": "me"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreditLimitCreationPayload"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "description": "A credit limit for the company is already registered. The request flow depends on the existing Credit Limit status: Read our Credit limit guide to know more.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreditLimit"
                }
              }
            }
          },
          "201": {
            "description": "New credit limit created successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreditLimit"
                }
              }
            }
          },
          "403": {
            "description": "Not permitted",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "Conflict with server state",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "OAuth2ApplicationAuth": []
          }
        ],
        "x-codegen-request-body-name": "body"
      }
    }
  },
  "components": {
    "schemas": {
      "Entity": {
        "required": [
          "id",
          "createdAt",
          "updatedAt"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Opaque identifier"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "Creation date in ISO 8601 UTC format"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "description": "Last update date in ISO 8601 UTC format"
          }
        }
      },
      "CountryCode": {
        "type": "string",
        "enum": [
          "AF",
          "AL",
          "DZ",
          "AS",
          "AD",
          "AO",
          "AI",
          "AQ",
          "AG",
          "AR",
          "AM",
          "AW",
          "AU",
          "AT",
          "AZ",
          "BS",
          "BH",
          "BD",
          "BB",
          "BY",
          "BE",
          "BZ",
          "BJ",
          "BM",
          "BT",
          "BO",
          "BA",
          "BW",
          "BV",
          "BR",
          "IO",
          "BN",
          "BG",
          "BF",
          "BI",
          "KH",
          "CM",
          "CA",
          "CV",
          "KY",
          "CF",
          "TD",
          "CL",
          "CN",
          "CX",
          "CC",
          "CO",
          "KM",
          "CG",
          "CD",
          "CK",
          "CR",
          "CI",
          "HR",
          "CU",
          "CY",
          "CZ",
          "DK",
          "DJ",
          "DM",
          "DO",
          "EC",
          "EG",
          "SV",
          "GQ",
          "ER",
          "EE",
          "ET",
          "FK",
          "FO",
          "FJ",
          "FI",
          "FR",
          "GF",
          "PF",
          "TF",
          "GA",
          "GM",
          "GE",
          "DE",
          "GH",
          "GI",
          "GR",
          "GL",
          "GD",
          "GP",
          "GU",
          "GT",
          "GN",
          "GW",
          "GY",
          "HT",
          "HM",
          "VA",
          "HN",
          "HK",
          "HU",
          "IC",
          "IS",
          "IN",
          "ID",
          "IR",
          "IQ",
          "IE",
          "IL",
          "IT",
          "JM",
          "JP",
          "JO",
          "KZ",
          "KE",
          "KI",
          "KP",
          "KR",
          "KW",
          "KG",
          "LA",
          "LV",
          "LB",
          "LS",
          "LR",
          "LY",
          "LI",
          "LT",
          "LU",
          "MO",
          "MG",
          "MW",
          "MY",
          "MV",
          "ML",
          "MT",
          "MH",
          "MQ",
          "MR",
          "MU",
          "YT",
          "MX",
          "FM",
          "MD",
          "MC",
          "MN",
          "MS",
          "MA",
          "MZ",
          "MM",
          "NA",
          "NR",
          "NP",
          "NL",
          "NC",
          "NZ",
          "NI",
          "NE",
          "NG",
          "NU",
          "NF",
          "MP",
          "MK",
          "NO",
          "OM",
          "PK",
          "PW",
          "PS",
          "PA",
          "PG",
          "PY",
          "PE",
          "PH",
          "PN",
          "PL",
          "PT",
          "PR",
          "QA",
          "RE",
          "RO",
          "RU",
          "RW",
          "SH",
          "KN",
          "LC",
          "PM",
          "VC",
          "WS",
          "SM",
          "ST",
          "SA",
          "SN",
          "SC",
          "SL",
          "SG",
          "SK",
          "SI",
          "SB",
          "SO",
          "ZA",
          "GS",
          "ES",
          "LK",
          "SD",
          "SR",
          "SJ",
          "SZ",
          "SE",
          "CH",
          "SY",
          "TW",
          "TJ",
          "TZ",
          "TH",
          "TL",
          "TG",
          "TK",
          "TO",
          "TT",
          "TN",
          "TR",
          "TM",
          "TC",
          "TV",
          "UG",
          "UA",
          "AE",
          "GB",
          "US",
          "UM",
          "UY",
          "UZ",
          "VU",
          "VE",
          "VN",
          "VG",
          "VI",
          "WF",
          "EH",
          "YE",
          "ZM",
          "ZW",
          "AX",
          "BQ",
          "CW",
          "GG",
          "IM",
          "JE",
          "ME",
          "BL",
          "MF",
          "RS",
          "SX",
          "SS",
          "XK"
        ],
        "description": "Country code (ISO-3166-Alpha2). Must be written in uppercase."
      },
      "Currency": {
        "type": "string",
        "enum": [
          "EUR",
          "GBP",
          "USD",
          "CHF"
        ]
      },
      "Attachment": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string"
          },
          "url": {
            "type": "string",
            "format": "uri"
          },
          "labels": {
            "type": "object"
          }
        },
        "required": [
          "url"
        ]
      },
      "Reason": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string"
          }
        },
        "required": [
          "code"
        ]
      },
      "Address": {
        "required": [
          "city",
          "country",
          "first",
          "postal"
        ],
        "type": "object",
        "properties": {
          "first": {
            "type": "string",
            "description": "Primary address line"
          },
          "second": {
            "type": "string",
            "description": "Optional secondary address line"
          },
          "city": {
            "type": "string",
            "description": "City (i.e Paris)"
          },
          "region": {
            "type": "string",
            "description": "Region or state"
          },
          "postal": {
            "type": "string",
            "description": "Postal code (i.e 75013)"
          },
          "country": {
            "$ref": "#/components/schemas/CountryCode"
          }
        }
      },
      "Error": {
        "required": [
          "code",
          "message",
          "status"
        ],
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "description": "Text representating status code (e.g `FORBIDDEN`, `NOT_FOUND`, `SERVER_ERROR`, `BAD_REQUEST`, etc...)"
          },
          "message": {
            "type": "string",
            "description": "Error message"
          },
          "status": {
            "type": "integer",
            "description": "HTTP Status Code (e.g 400, 403, 404, 500, etc...)"
          },
          "userInfo": {
            "type": "object",
            "properties": {},
            "description": "Optional informations concerning the error. Does not obey to any schema."
          }
        }
      },
      "RegistrationNumberType": {
        "type": "string",
        "description": "Public registration number type.",
        "enum": [
          "abn",
          "bn",
          "cben",
          "chrn",
          "cif",
          "cnpj",
          "cofis",
          "crn",
          "cro",
          "cuit",
          "cvrn",
          "duns",
          "ein",
          "fn",
          "hr",
          "ico",
          "idno",
          "kvk",
          "nip",
          "nipc",
          "nit",
          "nrcs",
          "nrt",
          "oib",
          "orgn",
          "orgnr",
          "pan",
          "rci",
          "rea",
          "reg",
          "run",
          "siren",
          "siret",
          "srn",
          "tin",
          "trn",
          "uen",
          "urn",
          "utr",
          "vat-number",
          "yt",
          "stnr"
        ]
      },
      "RegistrationNumber": {
        "type": "object",
        "description": "Business identifier of the client being invoiced.",
        "properties": {
          "type": {
            "$ref": "#/components/schemas/RegistrationNumberType"
          },
          "value": {
            "type": "string",
            "description": "Actual identifier depending on the selected `type`"
          },
          "country": {
            "$ref": "#/components/schemas/CountryCode"
          }
        },
        "required": [
          "type",
          "value"
        ]
      },
      "DebtorReturnedBody": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Entity"
          },
          {
            "type": "object",
            "properties": {
              "name": {
                "type": "string",
                "description": "Example: Acme Corporation"
              },
              "address": {
                "$ref": "#/components/schemas/Address",
                "nullable": true,
                "description": "Address of the Debtor's main office. Since this information will be used for scoring, kindly ensure the details are accurate. Required for German Debtors or to create a Repayment & RepaymentMethod."
              },
              "country": {
                "$ref": "#/components/schemas/CountryCode"
              },
              "tosNotifiedAt": {
                "format": "date-time",
                "type": "string",
                "nullable": true,
                "description": "Date at which the Debtor was notified of Aria's Terms of Services."
              }
            },
            "required": [
              "name",
              "country",
              "address"
            ]
          }
        ]
      },
      "CreditLimitCreationPayload": {
        "type": "object",
        "properties": {
          "debtorId": {
            "type": "string",
            "format": "uuid",
            "description": "Unique ID assigned to a Debtor. When registering a Credit limit for a German Debtor, you must provide one of the following: `debtorId` (Debtor associated to a Debtor's address) or `debtorAddress`."
          },
          "claimedAmount": {
            "type": "number",
            "description": "Amount you want Aria to finance. To fill if you have an idea of the overall envelope amount or if you want to challenge an `amount` that was already decided by Aria.",
            "minimum": 0,
            "exclusiveMinimum": true
          },
          "claimedCurrency": {
            "$ref": "#/components/schemas/Currency"
          },
          "debtorIdentifier": {
            "$ref": "#/components/schemas/RegistrationNumber",
            "description": "Business identifier of the client being invoiced. Use either this field or `debtorId`. In any case, we suggest first creating a Debtor prior to creating a credit-limit and making use of the `debtorId` field."
          },
          "debtorAddress": {
            "$ref": "#/components/schemas/Address",
            "description": "Address of the Debtor's main office. When registering a Credit limit for a German Debtor, you must provide one of the following: `debtorId` (Debtor associated to a Debtor's address) or `debtorAddress`."
          },
          "debtorName": {
            "type": "string",
            "description": "Company name of the Debtor. Only `required` if has not been set on the Debtor previously."
          },
          "guarantor": {
            "type": "string",
            "enum": [
              "company",
              "aria"
            ],
            "description": "Defines what `creditLimit.allocation` you want to target when asking for a Credit limit revision. We recommand you to use this field only if you know how Credit limit segments work."
          },
          "comment": {
            "type": "string",
            "description": "Use this field to provide any additional information or context about the buyer that you believe may influence the credit limit decision. This could include specific circumstances, financial considerations, or any other relevant details that support your request."
          },
          "attachments": {
            "type": "array",
            "description": "Use this field to provide any additional documents about the buyer that you believe may influence the credit limit decision. The file needs to be uploaded with the `upload file` endpoint first.",
            "items": {
              "$ref": "#/components/schemas/Attachment"
            }
          }
        },
        "required": [
          "claimedCurrency",
          "debtorIdentifier",
          "debtorName"
        ]
      },
      "CreditLimit": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Entity"
          },
          {
            "properties": {
              "debtorId": {
                "type": "string",
                "format": "uuid",
                "nullable": true,
                "description": "Unique ID assigned to a Debtor. When registering a Credit limit for a German Debtor, you must provide one of the following: `debtorId` (Debtor associated to a Debtor's address) or `debtorAddress`."
              },
              "claimedAmount": {
                "type": "number",
                "description": "Total of latest claimed amounts on all allocations.",
                "minimum": 0,
                "exclusiveMinimum": true
              },
              "claimedCurrency": {
                "$ref": "#/components/schemas/Currency"
              },
              "debtorIdentifier": {
                "$ref": "#/components/schemas/RegistrationNumber",
                "description": "Business identifier of the client being invoiced. Use either this field or `debtorId`. In any case, we suggest first creating a Debtor prior to creating a credit-limit and making use of the `debtorId` field."
              },
              "amount": {
                "type": "number",
                "description": "Total maximum outstanding amount Aria will finance for a given Debtor, for all allocations. When a Debtor is linked to multiple CreditLimits (one per currency), every CreditLimit's amount will remain consistent across currencies, as we use a single credit envelope per Debtor. We convert and set this Credit-limit amount in each currency using the foreign exchange (FX) rate."
              },
              "currency": {
                "$ref": "#/components/schemas/Currency"
              },
              "allocations": {
                "type": "array",
                "description": "List of credit limit allocations scoped by guarantor.",
                "items": {
                  "type": "object",
                  "properties": {
                    "guarantor": {
                      "type": "string",
                      "description": "The entity responsible for repaying any Loan associated with this specific credit allocation (defined by setting `loan.guarantor`) if the debtor defaults. This can be either your company (`company`) or Aria (`aria`). If Aria is the default guarantor on your account, requesting a Credit limit allocation where you act as the guarantor must be done through our dashboard, as it requires an e-signature."
                    },
                    "claimedAmount": {
                      "type": "number",
                      "description": "Amount you requested for allocation to this guarantor."
                    },
                    "amount": {
                      "type": "number",
                      "description": "Maximum outstanding amount allocated for this guarantor."
                    },
                    "outstandingAmount": {
                      "type": "number",
                      "description": "Total sum Aria has advanced that remains unpaid, for one Debtor and this specific allocation. It's important to note that when having multiple CreditLimits (one per currency), a Debtor cannot be associated with specific outstandingAmounts for each currency. The outstandingAmount represents the total of all unpaid Loans in various currencies, with Loans in other currencies being converted to the currency of the CreditLimit."
                    },
                    "currency": {
                      "$ref": "#/components/schemas/Currency"
                    }
                  }
                }
              },
              "status": {
                "type": "string",
                "description": "Status of the Credit limit. Read our guides to know how it works.",
                "enum": [
                  "ACCEPTED",
                  "ONGOING_REVISION",
                  "PROCESSING",
                  "REFUSED",
                  "REVISED"
                ]
              },
              "possibleRevision": {
                "type": "boolean",
                "nullable": true,
                "description": "When `false`, you may consider there is no need to ask for a revision. When `true` you might check `refusalReasons` or `missingSupportingDocuments` to see what is to be done to revise the Credit limit."
              },
              "missingSupportingDocuments": {
                "type": "array",
                "description": "Types of attachments you could send when asking for a Credit limit revision.",
                "items": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "FINANCIAL_STATEMENTS",
                        "FUNDRAISING_PROOF",
                        "OTHER_DOCUMENT"
                      ]
                    }
                  },
                  "required": [
                    "code"
                  ]
                }
              },
              "debtor": {
                "$ref": "#/components/schemas/DebtorReturnedBody"
              },
              "refusalReasons": {
                "type": "array",
                "description": "List of global refusal reasons for the Credit limit.",
                "items": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "DEBTOR_NOT_ELIGIBLE",
                        "DEBTOR_NOT_FOUND_OR_CLOSED",
                        "OTHER_REASON",
                        "NEWLY_ESTABLISHED_DEBTOR",
                        "COLLECTIVE_PROCEDURE",
                        "WRONG_OR_MISSING_DEBTOR_NAME",
                        "WRONG_OR_MISSING_DEBTOR_ADDRESS",
                        "WRONG_DEBTOR_IDENTIFIER",
                        "MISSING_SUPPORTING_DOCUMENTS"
                      ]
                    }
                  },
                  "required": [
                    "code"
                  ]
                }
              },
              "frozenAt": {
                "format": "date-time",
                "type": "string",
                "nullable": true,
                "description": "The date on which we have frozen your Credit limit. When a date is set, it means that we have temporarily blocked your Credit limit. Associated Loans wont be approved until the situation with the Debtor has been fixed and the date has been nullified."
              },
              "freezeReasons": {
                "type": "array",
                "description": "List of reasons why we have frozen the Credit limit.",
                "items": {
                  "$ref": "#/components/schemas/Reason"
                }
              }
            },
            "required": [
              "claimedAmount",
              "claimedCurrency",
              "status",
              "debtorIdentifier",
              "debtor",
              "allocations",
              "possibleRevision",
              "missingSupportingDocuments"
            ]
          }
        ]
      }
    },
    "parameters": {
      "EndUserIpHeader": {
        "name": "x-end-user-ip",
        "in": "header",
        "required": false,
        "schema": {
          "type": "string"
        },
        "description": "IP of the end-user doing the action resulting in the API call."
      }
    },
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "apiKey",
        "name": "X-API-Key",
        "in": "header"
      },
      "OAuth2ApplicationAuth": {
        "type": "oauth2",
        "flows": {
          "clientCredentials": {
            "tokenUrl": "https://auth.helloaria.eu/oauth/token",
            "scopes": {}
          }
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true,
    "samples-enabled": true
  }
}
```