Amili Docs
Home
Products
Products
  • Debt.collection
  • Account Receivable
  • Distribution
Go to amili.no
Home
Products
Products
  • Debt.collection
  • Account Receivable
  • Distribution
Go to amili.no
  1. ArItems
  • About
  • ARM API
    • Health
      • Check API health
    • ArItems
      • Get one AR item
        GET
      • Get a list of AR items
        GET
      • Put (update) ar item details
        PUT
    • Documents
      • Get one document
      • POST (create) a batch of documents
      • POST (create) one document
      • Get a list of documents
    • AutoPostings
      • POST (create) one or more auto postings
    • GlItems
      • Get one GL item
      • Get a list of GL items
    • Customers
      • Get one customer
      • Delete a customer
      • POST (create) a batch of customers
      • PUT (update) a batch of customers
      • PUT (update) one customer
      • GET a list of customers
      • POST (create) one customer
    • Batches
      • Get one batch
    • PaymentReservations
      • Creates a new payment reservation
    • Files
      • POST (upload) one or more OS files
Home
Products
Products
  • Debt.collection
  • Account Receivable
  • Distribution
Go to amili.no
Home
Products
Products
  • Debt.collection
  • Account Receivable
  • Distribution
Go to amili.no
  1. ArItems

Get a list of AR items

GET
/clients/{clientno}/aritems
Get a list of AR items based on criteria given i query pqrameters. Default and upper limit of maximumcount = 10000; pageSize default = 100, pageSize upper limit = 1000. (maximumcount = maximum total number of records returned per query, pagesize = maximum number of records per page)

Request

Authorization
JWT Bearer
Add the parameter
Authorization
to Headers
Example:
Authorization: ********************
or
Path Params

Query Params

Header Params

Responses

🟢200OK
application/json
AR item(s) found
Headers

Body

🟠400Bad Request
🟠403Forbidden
🟠404Not Found
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/clients//aritems?aritemid&accountno&referenceno&referencesequenceno&query&pageno&pagesize&customerno&documentno&aritemtype&voucherdatefrom&voucherdateto&duedatefrom&duedateto&glyear&glperiod&vouchertype&kid&glamountfrom&glamountto&glbalancefrom&glbalanceto&reminderdegreefrom&reminderdegreeto&remittanceno&ledgerperiodreportno&documentbundleid&adbinterval&reservedstatus&reporttype&options&expand&userid&maximumcount' \
--header 'Accept-Language;' \
--header 'Authorization: Bearer <token>'
Response Response Example
200 - List of AR items
{
    "summary": {
        "pageNo": 1,
        "currentPageSize": 2,
        "pageSizeLimit": 2,
        "totalPages": 8,
        "totalCount": 15,
        "maximumCount": 1000,
        "nextPage": "https://api.staging.amili.no/arm/v1/clients/2218/aritems?query=8NlwdOIM2YLVFApvQZziDv&pageno=2",
        "lastPage": "https://api.staging.amili.no/arm/v1/clients/2218/aritems?query=8NlwdOIM2YLVFApvQZziDv&pageno=8",
        "queryId": "8NlwdOIM2YLVFApvQZziDv"
    },
    "arItems": [
        {
            "clientNo": 2218,
            "accountNo": 500002,
            "referenceNo": 35078,
            "referenceSequenceNo": 0,
            "arItemId": "2218-500002-35078-0",
            "customerNo": "543210",
            "documentNo": "88776655",
            "voucherDate": "2025-02-27",
            "dueDate": "2025-04-01",
            "originalDueDate": "2025-03-13",
            "currency": "NOK",
            "currencyAmount": 625,
            "currencyBalance": 124.37,
            "glAmount": 625,
            "glBalance": 124.37,
            "kid": "500221850000200350786",
            "voucherType": 3,
            "voucherTypeDescription": "Invoice",
            "voucherNo": 57869,
            "transactionText": "Invoice",
            "glCaseNo": 1165723,
            "glLotNo": 6852398,
            "glYear": 2025,
            "glPeriod": 2,
            "externalId1": "9Pb3bfEjKr2iFPxKNIGHhB",
            "ledgerPeriodReportNo": 2564,
            "reservedStatus": "",
            "createdTime": "2025-02-27T17:03:36.176+01:00"
        },
        {
            "clientNo": 2218,
            "accountNo": 500002,
            "referenceNo": 35078,
            "referenceSequenceNo": 1,
            "arItemId": "2218-500002-35078-1",
            "customerNo": "543210",
            "documentNo": "88776655",
            "voucherDate": "2025-04-02",
            "dueDate": "2025-04-01",
            "originalDueDate": "2025-04-01",
            "currency": "NOK",
            "currencyAmount": 500.63,
            "currencyBalance": 0,
            "glAmount": 500.63,
            "glBalance": 0,
            "kid": "500221850000200350786",
            "voucherType": 21,
            "voucherTypeDescription": "Payment",
            "voucherNo": 57877,
            "transactionText": "ASR:533187298",
            "glCaseNo": 1165811,
            "glLotNo": 6852453,
            "glYear": 2025,
            "glPeriod": 4,
            "settledDate": "2025-04-02",
            "externalId1": "20250401_Import_0564799_256703304fgf7",
            "ledgerPeriodReportNo": 2575,
            "reservedStatus": "",
            "createdTime": "2025-04-02T15:07:12.150+01:00"
        }
    ]
}
Modified at 2025-09-29 16:08:55
Previous
Get one AR item
Next
Put (update) ar item details
Built with