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

Put (update) ar item details

PUT
/clients/{clientno}/aritems
Update details on an existing AR item. Can also be used to create a credit note for an existing invoice or interest note

Request

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

Body Params application/jsonRequired

Examples

Responses

🟢200OK
application/json
OK. The request succeeded
Body

🟠400Bad Request
🟠403Forbidden
🟠404Not Found
🟠422Unprocessable Entity
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT '/clients//aritems' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "metadata": {
        "userId": "TestUser"
    },
    "arItem": {
        "arItemId": "2218-500002-35078-0",
        "dueDate": "2025-06-15",
        "dueDateNote": "Customer called, asked for and was granted a postponed due date",
        "reminder": {
            "stopUntil": "2026-01-01",
            "stopUntilNote": "Ongoing invoice discussions with the customer. Temporarily postponing debt collection was agreed"
        }
    }
}'
Response Response Example
200 - AR item updated
{
    "status": "PROCESSED",
    "result": "UPDATED",
    "message": "AR item updated",
    "clientNo": 2218,
    "accountNo": 500002,
    "referenceNo": 350023,
    "referenceSequenceNo": 0,
    "arItemId": "2218-500002-350023-0",
    "customerNo": "543210"
}
Modified at 2025-09-29 16:08:55
Previous
Get a list of AR items
Next
Get one document
Built with