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. Batches
  • Home
    • About
  • Debt.Collection
    • About
    • Collection API
      • CallBanqSoft
        • banqsoft
      • Batches
        • Get all batches
          GET
        • Get organization batches
          GET
        • Get batch by ID
          GET
      • 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 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
  • 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. Batches

Get all batches

GET
/batches
Retrieve all batches with optional filtering

Request

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

Responses

🟢200OK
application/json
OK
Body

🟠401Unauthorized
🟠403Forbidden
🟠404Not Found
🔴500Internal Server Error
🔴503Service Unavailable
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/batches?State&Type&PageToken&PageSize&SortDirection' \
--header 'Authorization: Bearer <token>'
Response Response Example
200 - Example 1
{
    "summary": {
        "status": "string",
        "nextPageToken": "string"
    },
    "data": [
        {
            "batchId": "5579c111-9c50-47e2-af92-f16d52e63189",
            "type": "NONE",
            "status": {
                "statuscode": 0,
                "errors": [
                    {
                        "objectname": "string",
                        "objectindex": 0,
                        "message": "string"
                    }
                ],
                "responses": [
                    {
                        "objectname": "string",
                        "objectindex": 0,
                        "ledgerref": "string",
                        "status_statuscode": "string"
                    }
                ]
            },
            "createdAt": "2019-08-24T14:15:22Z",
            "finishedAt": "2019-08-24T14:15:22Z",
            "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9",
            "createdBy": "25a02396-1048-48f9-bf93-102d2fb7895e",
            "succeeded": [
                {
                    "$type": "invoiceSuccess",
                    "invoiceNumber": "string",
                    "caseId": "string",
                    "invoiceId": "4f163819-178d-470c-a246-d6768476a6ec"
                }
            ],
            "failed": [
                null
            ]
        }
    ]
}
Modified at 2025-09-23 10:42:55
Previous
banqsoft
Next
Get organization batches
Built with