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. GlItems
  • Home
    • About
  • Debt.Collection
    • About
    • Collection API
      • CallBanqSoft
        • banqsoft
      • Batches
        • Get all batches
        • Get organization batches
        • Get batch by ID
      • Collections
        • Retrieve cases for an organization
      • Invoice
        • Create a new invoice
        • Get organization invoices
        • Get invoice by ID
        • Get invoice documents by invoice id
        • Get invoice history by invoice id
        • Get invoice payments by invoice id
        • Pause invoice
        • Withdraw invoice
        • Resume invoice
      • Payment
        • Create new payments
      • Api Status
        • Ping the server
        • Ping the server to check if authorized
        • Check the status of the API health
      • Organizations
        • Get reports on a organization
      • Settlement
        • Retrieve settlements from an organization
    • AutoCollect
      • Attachment
        • /webapi/api/Attachment
      • Batch
        • /webapi/api/Batch
        • /webapi/api/Batch
      • Ping
        • /webapi/api/Ping
  • Accounts Receivable
    • About
    • ARM API
      • Health
        • Check API health
      • ArItems
        • Get one AR item
        • Get a list of AR items
        • Put (update) ar item details
      • 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
        • Get a list of GL items
          GET
      • 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
  • Distribution
    • About
    • Invoice API
      • send
        • Add a new B2B EHF/PEPPOL creditnote
        • Add a new B2B EHF/PEPPOL invoice
        • Add a new B2C invoice
        • Add a new B2C letter
        • Add a new B2C Swedish invoice
        • Add a new B2C Danish invoice
        • Check invoice status
        • Check invoice status
      • lookup
        • Get invoice lookup link
      • organization
        • Add a new company
        • Check company status
      • bankAgreement
        • Register new bank agreement
        • Check status of bank agreement
    • Partner API
      • Companies
        • Get available companies
      • Files
        • List all bundles/files within a specific period with FromDate/ToDate and CompanyId
        • Get a summary of all bundles/files within a specific period with FromDate/ToDate and CompanyId
        • List invoices based on filename
      • Invoice
        • Get a summary of all invoices within a specific period with FromDate/ToDate and CompanyId
      • Invoices
        • List invoices based on InvoiceNumber or specific DateTime (period)
      • InvoiceView
        • Look up invoice with TransactionRid and CompanyId
        • Look up invoice with InvoiceNumber and CompanyId
      • Receipt
        • Get receipt for invoice with TransactionRid and CompanyId
      • Token
        • Request a token.
  • Identity.Api
    • Identity
      • /token
      • /refresh
      • /verify
      • /health
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. GlItems

Get a list of GL items

GET
/clients/{clientno}/glitems
Get a list of GL 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

Responses

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

Body

🟠400Bad Request
🟠403Forbidden
🟠404Not Found
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/clients//glitems?glitemid&query&pageno&pagesize&glyear&glperiod&vouchertype&glaccountno&voucherno&glcaseno&gllotno&gldim1&gldim2&gldim3&gldim4&maximumcount&userid' \
--header 'Authorization: Bearer <token>'
Response Response Example
200 - List of GL items
{
    "summary": {
        "pageNo": 1,
        "currentPageSize": 2,
        "pageSizeLimit": 2,
        "totalPages": 8,
        "totalCount": 15,
        "maximumCount": 1000,
        "nextPage": "https://api.staging.amili.no/arm/v1/clients/2218/glitems?query=8NlwdOIM2YvVFApvQZziDv&pageno=2",
        "lastPage": "https://api.staging.amili.no/arm/v1/clients/2218/glitems?query=8NlwdOIM2YvVFApvQZziDv&pageno=8",
        "queryId": "8NlwdOIM2YLVFApvQZziDv"
    },
    "glItems": [
        {
            "clientNo": 2218,
            "glItemId": "2218-2025-08-1",
            "glAccountNo": 1030,
            "clientGlAccountNo": 1030,
            "glAccountName": "Bank",
            "glYear": 2025,
            "glPeriod": 2,
            "lineNo": 28,
            "dimension1": 123,
            "dimension2": 234,
            "dimension3": "abc",
            "dimension4": "bcd",
            "glAmount": 625,
            "currency": "NOK",
            "currencyAmount": 625,
            "voucherDate": "2025-02-27",
            "voucherNo": 57869,
            "voucherType": 21,
            "voucherTypeDescription": "Payment",
            "transactionText": "Payment",
            "glCaseNo": 1165723,
            "glLotNo": 6852398,
            "ledgerSource": "GL",
            "arAccountNo": 0,
            "referenceNo": 0,
            "referenceSequenceNo": 0,
            "externalId1": "",
            "exportId1": 23,
            "createdTime": "2025-02-27T17:03:36.176+01:00"
        },
        {
            "clientNo": 2218,
            "glItemId": "2218-2025-08-2",
            "glAccountNo": 1210,
            "clientGlAccountNo": 1210,
            "glAccountName": "Accounts receivable",
            "glYear": 2025,
            "glPeriod": 2,
            "lineNo": 29,
            "dimension1": 123,
            "dimension2": 234,
            "dimension3": "abc",
            "dimension4": "bcd",
            "glAmount": -625,
            "currency": "NOK",
            "currencyAmount": -625,
            "voucherDate": "2025-02-27",
            "voucherNo": 57869,
            "voucherType": 21,
            "voucherTypeDescription": "Payment",
            "transactionText": "Payment",
            "glCaseNo": 1165723,
            "glLotNo": 6852398,
            "ledgerSource": "AR",
            "arAccountNo": 500002,
            "referenceNo": 35078,
            "referenceSequenceNo": 0,
            "externalId1": "9Pb3bfEjKr2iFPxKNIGHhB",
            "exportId1": 23,
            "createdTime": "2025-02-27T17:03:36.176+01:00"
        }
    ]
}
Modified at 2025-09-29 16:08:55
Previous
Get one GL item
Next
Get one customer
Built with