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. Invoices
  • 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 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)
          POST
      • 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. Invoices

List invoices based on InvoiceNumber or specific DateTime (period)

POST
/api/Invoices/ChildTransactions
Sample request:
POST /api/invoices/ChildTransactions
Authorization: Bearer {access_token}
Body Parameters (specific invoice):
{
"CompanyIds": ["46087"],
"Search": "2211336677",
"SearchType": "InvoiceNumber",
"FromDate": "2023-07-10T08:00:00.000",
"ToDate": "2023-07-10T23:59:59.000"
}
Body Parameters (specific invoices - 200 limit)
{
"CompanyIds": ["46087"],
"Searches": ["2211336677", "2211334455", "2211335566"],
"SearchType": "InvoiceNumber",
"FromDate": "2023-07-10T08:00:00.000",
"ToDate": "2023-07-10T23:59:59.000"
}
Body Parameters (all invoices within a period):
{
"CompanyIds": ["46087"],
"FromDate": "2023-07-10T08:00:00.000",
"ToDate": "2023-07-10T23:59:59.000"
}
Body Parameters (specific number of invoices at a time - see 'Note' below for example)
{
"CompanyIds": ["46087"],
"FromDate": "2023-07-10T08:00:00.000",
"ToDate": "2023-07-10T23:59:59.000",
"PageSize": 1000,
"OrderBy": "Desc",
"SortableColId": "C14",
"Offset": 2000
}
Body Parameters (based on correlation status)
{
"CompanyIds": ["46087"],
"FromDate": "2023-07-10T08:00:00.000",
"ToDate": "2023-07-10T23:59:59.000",
"CorrelationStatus": "Completed" or "NotCompleted"
}
Body Parameters (based on ChannelUpdateTime)
{
"CompanyIds": ["46087"],
"FromDate": "2023-07-09T00:00:00.000",
"FromChannelUpdateTime": "2023-07-09T00:00:00.000",
"ToChannelUpdateTime": "2023-07-20T00:00:00.000",
"PageSize": "10000",
"Offset": "0",
"OrderBy": "Asc",
"SortableColId": "C18"
}
Note:
The Offset is used to exclude already collected responses when collecting a specific number of transactions at a time - ex:
If you use PageSize of 10000, you need to increase Offset by 10000 after each request.
First request: PageSize = 10000, Offset = 0
Second request: PageSize = 10000, Offset = 10000
Third request: PageSize = 10000, Offset = 20000
You need to include both OrderBy and SortableColId to use the Offset functionality.
ChannelUpdateTime require both FromChannelUpdateTime and ToChannelUpdateTime.
ChannelUpdateTime is being updated whenever something changes with the transaction,
so it's recommended to use FromDate if you only want to include invoices sent after a certain date.
You also need to use OrderBy and SortableColId together if you want to order by any of the SortableColId below.
SortableColId:
C02 = ReceivedDateTime
C14 = InvoiceNumber
C18 = ChannelUpdateTime
OrderBy:
Asc = Ascending order
Desc = Descending order
CorrelationStatus:
Completed = Transaction is complete
NotCompleted = Transaction not yet correlated

Request

Body Params application/json-patch+json

Examples

Responses

🟢200OK
Success
This response does not have a body.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/Invoices/ChildTransactions' \
--header 'Content-Type: application/json-patch+json' \
--data-raw '{
    "CompanyIds": [
        0
    ],
    "ParentTransactionRid": 0,
    "Statuses": [
        "string"
    ],
    "ChannelStatuses": [
        "string"
    ],
    "Endpoints": [
        "string"
    ],
    "RowId": 0,
    "Direction": 0,
    "PageSize": 0,
    "SearchType": "string",
    "Search": "string",
    "Searches": [
        "string"
    ],
    "FromDate": "2019-08-24T14:15:22Z",
    "ToDate": "2019-08-24T14:15:22Z",
    "DocumentType": [
        "string"
    ],
    "OrderBy": "string",
    "SortableColId": "string",
    "Offset": 0,
    "CorrelationStatus": "string",
    "FromChannelUpdateTime": "2019-08-24T14:15:22Z",
    "ToChannelUpdateTime": "2019-08-24T14:15:22Z"
}'
Modified at 2025-09-23 11:10:55
Previous
Get a summary of all invoices within a specific period with FromDate/ToDate and CompanyId
Next
Look up invoice with TransactionRid and CompanyId
Built with