GET
/
v1
/
accounts-receivable
/
{id}
Get accounts receivable invoice
curl --request GET \
  --url http://localhost:3001/v1/accounts-receivable/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "originalFileName": "<string>",
  "filename": "<string>",
  "recipientName": "<string>",
  "recipientIban": "<string>",
  "recipientVat": "<string>",
  "recipient": {
    "id": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "email": "<string>",
    "markedTrusted": true,
    "markedTrustedDate": "2023-11-07T05:31:56Z",
    "markedTrustedUser": {
      "id": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z",
      "email": "<string>",
      "name": "<string>",
      "authId": "<string>",
      "role": "<string>",
      "hasPushNotification": true
    },
    "description": "<string>",
    "vat": "<string>",
    "accountsPayableNumber": "22 0391919",
    "paymentTermsDays": 123,
    "skontoPercentage": 123,
    "skontoDays": 123,
    "bankAccount": {
      "id": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z",
      "name": "<string>",
      "iban": "<string>",
      "bic": "<string>",
      "countryCode": "<string>",
      "address": "<string>"
    }
  },
  "invoiceNumber": "<string>",
  "purchaseOrder": "<string>",
  "date": "<string>",
  "billingPeriodStart": "<string>",
  "billingPeriodEnd": "<string>",
  "dueDate": "<string>",
  "totalAmount": 123,
  "taxRate": 123,
  "skontoDate": "<string>",
  "skontoAmount": 123,
  "skontoRate": 123,
  "currency": "EUR",
  "type": "INVOICE",
  "notes": "<string>",
  "alreadyPaid": true,
  "alreadyPaidDate": "<string>",
  "archived": true,
  "archivedDate": "<string>",
  "archivedByUser": {
    "id": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "email": "<string>",
    "name": "<string>",
    "authId": "<string>",
    "role": "<string>",
    "hasPushNotification": true
  },
  "organization": {
    "id": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "name": "<string>",
    "slug": "<string>",
    "logoFileName": "<string>",
    "country": "<string>",
    "vatNumber": "<string>",
    "featureFlags": [
      {
        "id": "<string>",
        "createdAt": "2023-11-07T05:31:56Z",
        "updatedAt": "2023-11-07T05:31:56Z",
        "featureName": "<string>",
        "isEnabled": true
      }
    ]
  },
  "status": "OUTSTANDING",
  "paymentMethodType": "BANK_TRANSFER",
  "transactionMatches": [
    {
      "id": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z",
      "bankTransaction": {
        "id": "<string>",
        "createdAt": "2023-11-07T05:31:56Z",
        "updatedAt": "2023-11-07T05:31:56Z",
        "transactionId": "<string>",
        "amount": 123,
        "currency": "EUR",
        "bookingDate": "2023-11-07T05:31:56Z",
        "remittanceInformation": "<string>",
        "additionalInformation": "<string>",
        "counterPartyName": "<string>",
        "counterPartyIban": "<string>",
        "transactionType": "incoming",
        "endToEndId": "<string>",
        "matchedInvoicesSum": 123,
        "matchingStatus": "NOT_MATCHED"
      },
      "matchedAmount": 123,
      "matchType": "MANUAL",
      "matchConfidence": "HIGH",
      "matchedBy": {
        "id": "<string>",
        "createdAt": "2023-11-07T05:31:56Z",
        "updatedAt": "2023-11-07T05:31:56Z",
        "email": "<string>",
        "name": "<string>",
        "authId": "<string>",
        "role": "<string>",
        "hasPushNotification": true
      },
      "notes": "<string>",
      "metadata": {},
      "matchedAt": "2023-11-07T05:31:56Z"
    }
  ],
  "manuallyMarkedPaid": true,
  "manuallyMarkedPaidAt": "<string>",
  "manuallyMarkedPaidBy": {
    "id": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "email": "<string>",
    "name": "<string>",
    "authId": "<string>",
    "role": "<string>",
    "hasPushNotification": true
  },
  "matchedTransactionsSum": 123
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

AR Invoice ID

Response

200 - application/json

The response is of type object.