Skip to main content

Deposit Application API

Apply customer deposits (prepayments) to invoices.


Endpoints

MethodEndpointDescription
GET/record/v1/depositApplicationList applications
GET/record/v1/depositApplication/{id}Get specific application
POST/record/v1/depositApplicationCreate application
PATCH/record/v1/depositApplication/{id}Update application
DELETE/record/v1/depositApplication/{id}Delete application

Key Fields

FieldTypeDescriptionRequired
customerobjectCustomerYes
tranDatestringApplication dateYes
subsidiaryobjectSubsidiaryYes (OneWorld)
currencyobjectCurrencyYes
depositobjectCustomer deposit to applyYes
applycollectionInvoices to apply deposit toYes

Example: Apply Deposit to Invoice

POST /record/v1/depositApplication
Content-Type: application/json
{
"customer": {
"id": "456"
},
"tranDate": "2025-12-25",
"subsidiary": {
"id": "1"
},
"currency": {
"id": "1"
},
"deposit": {
"id": "8001"
},
"apply": {
"items": [
{
"doc": {
"id": "5001"
},
"apply": true,
"amount": 5000.00
}
]
}
}

Workflow

  1. Customer places order: Create Sales Order
  2. Customer pays deposit: Create Customer Deposit
  3. Ship & invoice order: Create Invoice
  4. Apply deposit to invoice: Create Deposit Application

See Also