Payment details

An AP payment detail object provides details about a payment, including information about the bill, adjustment, or advance that was paid and line-item information for the bill, adjustment, or advance. AP payment detail is an owned object of AP payment.

List payment details

get/objects/accounts-payable/payment-detail

Returns a collection with a key, ID, and link for each payment detail. This operation is mostly for use in testing; use the query service to find objects that meet certain criteria and to specify properties that are returned.

SecurityOAuth2
Responses
200

OK

201

Created

400

Bad Request

401

Unauthorized

Request samples
Response samples
application/json
{
  • "ia::result": [
    • {
      • "key": "367",
      • "id": "367",
      • "href": "/objects/accounts-payable/payment-detail/367"
      },
    • {
      • "key": "1043",
      • "id": "1043",
      • "href": "/objects/accounts-payable/payment-detail/1043"
      },
    • {
      • "key": "1203",
      • "id": "1203",
      • "href": "/objects/accounts-payable/payment-detail/1203"
      }
    ],
  • "ia::meta": {
    • "totalCount": 509,
    • "start": 1,
    • "pageSize": 100,
    • "next": 101,
    • "previous": null
    }
}

Get payment details

get/objects/accounts-payable/payment-detail/{key}

Returns detailed information for a specified payment detail object.

SecurityOAuth2
Request
path Parameters
key
required
string

System-assigned unique key for the payment detail.

Example: 99
Responses
200

OK

400

Bad Request

Request samples
Response samples
application/json
{
  • "ia::result": {
    • "id": "1133",
    • "key": "1133",
    • "bill": {
      • "id": "2570",
      • "key": "2570",
      • "href": "/objects/accounts-payable/bill/2570"
      },
    • "billLine": {
      • "id": "25392",
      • "key": "25392",
      • "href": "/objects/accounts-payable/bill-line/25392"
      },
    • "apCreditAdjustment": {
      • "id": null,
      • "key": null
      },
    • "apCreditAdjustmentLine": {
      • "id": null,
      • "key": null
      },
    • "apPayment": {
      • "id": "3346",
      • "key": "3346",
      • "href": "/objects/accounts-payable/payment/3346"
      },
    • "apPaymentLine": {
      • "id": "31060",
      • "key": "31060",
      • "href": "/objects/accounts-payable/payment-line/31060"
      },
    • "paymentDate": "2024-04-12",
    • "baseCurrency": {
      • "paymentAmount": "100.00",
      • "inlineAmount": null,
      • "discountAmount": null,
      • "adjustmentAmount": null,
      • "postedAdvanceAmount": null
      },
    • "txnCurrency": {
      • "paymentAmount": "100.00",
      • "inlineAmount": null,
      • "discountAmount": null,
      • "adjustmentAmount": null,
      • "postedAdvanceAmount": null,
      • "currency": "USD"
      },
    • "inlineBill": {
      • "id": null,
      • "key": null
      },
    • "inlineBillLine": {
      • "id": null,
      • "key": null
      },
    • "discountDate": null,
    • "apDebitAdjustment": {
      • "id": null,
      • "key": null
      },
    • "apDebitAdjustmentLine": {
      • "id": null,
      • "key": null
      },
    • "apAdvance": {
      • "id": null,
      • "key": null
      },
    • "apAdvanceLine": {
      • "id": null,
      • "key": null
      },
    • "apPostedAdvance": {
      • "id": null,
      • "key": null
      },
    • "apPostedAdvanceLine": {
      • "id": null,
      • "key": null
      },
    • "state": "confirmed",
    • "moduleKey": "3.AP",
    • "audit": {
      • "createdDateTime": "2024-04-12T07:05:13Z",
      • "modifiedDateTime": "2024-04-12T07:05:13Z",
      • "createdByUser": {
        },
      • "modifiedByUser": {
        }
      },
    • "jointPayee": {
      • "id": null,
      • "key": null,
      • "printAs": null
      },
    • "href": "/objects/accounts-payable/payment-detail/1133"
    },
  • "ia::meta": {
    • "totalCount": 1,
    • "totalSuccess": 1,
    • "totalError": 0
    }
}