Retrieve Purchase Credit Note Application List: /purchase-credit-note-applications
Purpose
This API retrieves a paginated list of purchase credit note applications. A purchase credit note application represents the allocation of a supplier’s credit note against a purchase payment. It provides visibility into how credit balances are applied, including details such as the application date, applied amount, related credit note, and payment reference. This ensures accurate tracking of credit utilization within the procurement-to-payment lifecycle.
Use Case
This endpoint is used to monitor how supplier credit notes are applied against outstanding invoices. It supports reconciliation of supplier credits, validation of whether a credit note has been fully or partially applied, and the generation of audit and financial reports that track credit utilization. By exposing application-level details, the API helps organizations maintain transparency in credit management and ensures that overpayments and credit balances are properly accounted for.
Path Parameters
This endpoint does not require path parameters.
Query Parameters
| Category | Parameter / Field | Type | Operators | Description | Example |
|---|---|---|---|---|---|
| Sorting | order_by | string | – | Field name to sort results. | order_by=created_on |
| direction | string | – | Sorting direction (asc or desc). | direction=desc | |
| Pagination | records | integer | – | Total number of records returned in this result set. | 25 |
| limit | integer | – | Maximum number of records returned per page. | limit=10 | |
| offset | integer | – | Number of records skipped before starting results. | offset=20 | |
| previousPage | string | – | URL or token for the previous page (if available). | previousPage=/purchase-credit-note-applications?limit=10&offset=10 | |
| nextPage | string | – | URL or token for the next page (if available). | nextPage=/purchase-credit-note-applications?limit=10&offset=30 | |
| Filtering | uuid | string | eq, ne, contain, not_contain | Filter by unique identifier of the purchase credit note application. | purchase-credit-note-applications/uuid eq 'c7e2a1f9-6d8a-4b0d-9af2-1f2b12345678' |
Request Body
This is a GET request, so no request body is required.
Response
The response returns a list of purchase credit note application objects, each containing metadata such as the application date, applied amount, credit note ID, payment ID, creator details, system timestamps, UUID, and version. These records show how credit notes are linked to specific payments and provide a clear audit trail of credit usage. In addition, pagination metadata is included, detailing the total number of records, the applied limit, current offset, and navigation links for previous and next pages. This structure ensures efficient browsing and reporting across large datasets of credit note applications.
Response Body
{
"purchase_credit_note_applications": [
{
"date": "DATE",
"amount": "AMOUNT",
"credit_note_id": "CREDIT_NOTE_ID",
"payment_id": "PAYMENT_ID",
"created_by": "CREATED_BY",
"created_on": "CREATED_ON",
"uuid": "UUID",
"version": "VERSION"
}
],
"pagination": {
"records": "RECORDS",
"limit": "LIMIT",
"offset": "OFFSET",
"previous_page": "PREVIOUS_PAGE",
"next_page": "NEXT_PAGE"
}
}
| Attribute | Type | Description |
|---|---|---|
| date | string (date-time) | The date when the credit note was applied to a payment (ISO 8601 format). |
| amount | string (decimal) | The amount of the credit note applied. |
| credit_note_id | string | Unique identifier of the purchase credit note. |
| payment_id | string | Unique identifier of the purchase payment to which the credit note was applied. |
| created_by | string | Name or identifier of the user who created the application. |
| created_on | string (date-time) | Timestamp when the application was created. |
| uuid | string (UUID) | Unique universal identifier for this application record. |
| version | string | Version number of the record for concurrency control. |
Retrieve Specific Purchase Credit Note Application Details: /purchase-credit-note-applications/{purchase_credit_note_applications_uuid}
Purpose
This API retrieves the details of a single purchase credit note application using its unique UUID. A purchase credit note application represents the allocation of a supplier’s credit note against a purchase payment, ensuring transparency in how credit balances are utilized within the procurement-to-payment process.
Use Case
This endpoint is used to review the details of a specific credit note application for auditing, reconciliation, or reporting purposes. It supports workflows such as confirming the applied amount, validating the linkage between a credit note and its corresponding payment, and resolving discrepancies between payments and credits. By exposing transaction-level details, the API ensures accurate tracking of supplier credits and their application to outstanding invoices.
Path Parameters
| Parameter | Type | Description |
|---|---|---|
| purchase_credit_note_application_uuid | string (UUID) | Unique identifier of the purchase credit note application record to retrieve. |
Query Parametrs
This endpoint does not support query parameters.
Request Body
This is a GET request, so no request body is required.
Response
The response returns a single object containing complete details of the credit note allocation. This includes the application date, the amount applied, the associated credit note ID, and the linked purchase payment ID. Metadata such as the creator, system timestamps, UUID, and version are also provided, offering a clear audit trail of the credit note application. This structure ensures that organizations can accurately monitor and reconcile supplier credits at the transaction level.
Response Body
{
"purchase_credit_note_application": {
"date": "DATE",
"amount": "AMOUNT",
"credit_note_id": "CREDIT_NOTE_ID",
"payment_id": "PAYMENT_ID",
"created_by": "CREATED_BY",
"created_on": "CREATED_ON",
"uuid": "UUID",
"version": "VERSION"
}
}
| Attribute | Type | Description |
|---|---|---|
| date | string (date-time) | The date when the credit note was applied to a payment (ISO 8601 format). |
| amount | string (decimal) | The amount of the credit note applied. |
| credit_note_id | string | Unique identifier of the purchase credit note associated with this application. |
| payment_id | string | Unique identifier of the purchase payment to which the credit note was applied. |
| created_by | string | Name or identifier of the user who created the application. |
| created_on | string (date-time) | Timestamp when the application was created. |
| uuid | string (UUID) | Unique universal identifier for this application record. |
| version | string | Version number of the record for concurrency control. |
Retrieve Purchase Credit Note Applications by Purchase Invoice: /purchase-invoices/{purchase_invoice_id}/purchase-credit-note-applications
Purpose
This API retrieves all purchase credit note applications linked to a specific purchase invoice. A purchase credit note application represents the allocation of supplier credits that have been applied to payments against the invoice. By exposing these records, the endpoint ensures transparency in how credit balances are utilized to settle invoice outstanding amounts.
Use Case
This endpoint is used to review how supplier credits have been applied to a particular purchase invoice. It supports workflows such as validating invoice settlement through credit notes, reconciling credits with payments, and generating reports that highlight outstanding versus settled invoice amounts. By providing application-level details, the API helps organizations maintain accurate financial records and streamline reconciliation processes.
Path Parameters
| Parameter | Type | Description |
|---|---|---|
| purchase_invoice_id | string | Unique identifier of the purchase invoice for which to retrieve credit note applications. |
Query Parameters
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Maximum number of records to return per request (default = 20). |
| offset | integer | Number of records to skip before starting to return results (for pagination). |
Request Body
This is a GET request, so no request body is required.
Response
The response returns a object containing an array of purchase credit note applications. Each application includes details such as the application date, the applied amount, the associated credit note ID, the linked payment ID, and system metadata including creator, creation timestamp, UUID, and version. In addition, a pagination object is provided, which includes metadata about the result set such as the total number of records, the applied limit, the current offset, and navigation links for previous and next pages. This structure ensures efficient browsing and reporting across multiple credit note applications tied to a single invoice.
Response Body
{
"purchase_invoice": {
"purchase_credit_note_applications": [
{
"date": "DATE",
"amount": "AMOUNT",
"credit_note_id": "CREDIT_NOTE_ID",
"payment_id": "PAYMENT_ID",
"created_by": "CREATED_BY",
"created_on": "CREATED_ON",
"uuid": "UUID",
"version": "VERSION"
}
],
"pagination": {
"records": "RECORDS",
"limit": "LIMIT",
"offset": "OFFSET",
"previous_page": "PREVIOUS_PAGE",
"next_page": "NEXT_PAGE"
}
}
}
| Attribute | Type | Description |
|---|---|---|
| date | string (date-time) | The date the credit note was applied (ISO 8601 format). |
| amount | string (decimal) | Amount of the credit note applied to the invoice. |
| credit_note_id | string | Unique identifier of the purchase credit note. |
| payment_id | string | Unique identifier of the purchase payment where the credit note was applied. |
| created_by | string | User who created the application. |
| created_on | string (date-time) | Timestamp when the record was created. |
| uuid | string (UUID) | Unique universal identifier for this record. |
| version | string | Version number of the record for concurrency control. |
Retrieve Specific Purchase Credit Note Details: /purchase-credit-notes/{purchase_credit_note_id}
Purpose
This API retrieves the details of a single purchase credit note using its unique identifier. A purchase credit note represents a supplier credit generated from an overpayment of a purchase invoice. It provides visibility into the credit note’s status, total amount, remaining balance, refund eligibility, and linkage to the original payment transaction.
Use Case
This endpoint is used to review and manage supplier credits. It supports workflows such as validating the creation of a credit note after an overpayment, reconciling outstanding balances, confirming whether a credit note is refundable, and tracking its application against future invoices. By exposing transaction-level details, the API ensures accurate monitoring of credit balances and supports compliance in financial reporting.
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| purchase_credit_note_id | string | Yes | Unique identifier of the purchase credit note to retrieve. |
Query Parameters
This endpoint does not support query parameters.
Request Body
This is a GET request, so no request body is required.
Response
The response returns a object containing complete details of the credit note. This includes the credit note ID, status, date of creation, total credited amount, and the remaining balance available for application. It also provides metadata such as refund eligibility, the linked payment ID, creator information, timestamps, UUID, version, and any custom attributes. This structure ensures that organizations can track the lifecycle of a credit note, from its creation through its application or refund, and integrate it into reconciliation and reporting processes.
Response Body
{
"purchase_credit_note": {
"status": "STATUS",
"id": "PURCHASE_CREDIT_NOTE_ID",
"date": "DATE",
"amount": "AMOUNT",
"remaining_balance": "REMAINING_BALANCE",
"refundable": "REFUNDABLE",
"payment_id": "PAYMENT_ID",
"created_by": "CREATED_BY",
"created_on": "CREATED_ON",
"last_updated_by": "LAST_UPDATED_BY",
"last_updated_on": "LAST_UPDATED_ON",
"uuid": "UUID",
"version": "VERSION",
"custom_attributes": []
}
}
| Attribute | Type | Description |
|---|---|---|
| status | string | Status of the purchase credit note (example: ACTIVE, INACTIVE). |
| id | string | Unique identifier of the purchase credit note. |
| date | string (date-time) | Date when the credit note was issued (ISO 8601 format). |
| amount | string (decimal) | Total amount of the credit note. |
| remaining_balance | string (decimal) | Balance left on the credit note that can be applied to invoices or refunded. |
| refundable | string (boolean as string) | Indicates whether the credit note is refundable (true or false). |
| payment_id | string | Identifier of the payment associated with this credit note (if any). |
| created_by | string | User who created the credit note. |
| created_on | string (date-time) | Timestamp when the credit note was created. |
| last_updated_by | string | User who last updated the credit note (empty if never updated). |
| last_updated_on | string (date-time) | Timestamp when the credit note was last updated. |
| uuid | string (UUID) | Unique universal identifier for the credit note record. |
| version | string | Version number for concurrency control. |
| custom_attributes | array | List of custom attributes attached to the credit note (empty if none exist). |
Retrieve All Purchase Credit Notes: /purchase-credit-notes
Purpose
This API retrieves a paginated list of all purchase credit notes available in the system. A purchase credit note represents a supplier credit generated from an overpayment or adjustment against a purchase invoice or payment transaction. These credits can be refunded, applied to future invoices, or used to reconcile supplier accounts. The endpoint provides essential details such as the credit note amount, remaining balance, refund eligibility, and audit metadata, ensuring transparency in credit management.
Use Case
- This endpoint is used to review all existing purchase credit notes in the system. It supports workflows such as tracking refundable credits available for future purchases or refunds, validating balances for reconciliation, and integrating credit note data into supplier account summaries. The API also assists in financial reporting and auditing by providing visibility into supplier credits, ensuring that overpayments and adjustments are properly accounted for and applied.
Path Parameters
This endpoint does not have any path parameters.
Query Parameters
| Parameter | Type | Description |
|---|---|---|
| limit | Integer | Number of records to return per page (pagination control). |
| offset | Integer | Starting index for paginated records. |
Request Body
No data is required for the request body.
Response
The response returns an array containing multiple credit note objects. Each object includes metadata such as the credit note ID, status, creation date, total credited amount, remaining balance, refund eligibility, associated payment ID, creator details, timestamps, UUID, version, and any custom attributes. Pagination metadata is also included, providing information about the total number of records, applied limit, current offset, and navigation links for previous and next pages. This structure ensures efficient browsing and reporting across large sets of credit notes, enabling accurate reconciliation and streamlined financial management.
Response Body
{
"purchase_credit_notes": [
{
"status": "status",
"id": "credit_note_id",
"date": "credit_note_date",
"amount": "credit_note_amount",
"remaining_balance": "remaining_balance_amount",
"refundable": "refundable_flag",
"payment_id": "linked_payment_id",
"created_by": "created_by_user",
"created_on": "created_timestamp",
"last_updated_by": "last_updated_user",
"last_updated_on": "last_updated_timestamp",
"uuid": "credit_note_uuid",
"version": "version_number",
"custom_attributes": [
{
"name": "custom_attribute_name",
"value": "custom_attribute_value"
}
]
}
],
"pagination": {
"records": "total_records",
"limit": "limit_value",
"offset": "offset_value",
"previous_page": "previous_page_url",
"next_page": "next_page_url"
}
}
| Attribute | Type | Description |
|---|---|---|
| purchase_credit_notes | Array | List of all purchase credit notes retrieved. |
| status | String | Current status of the credit note (example: ACTIVE, INACTIVE). |
| id | String | Unique identifier of the credit note. |
| date | String (ISO 8601) | Date when the credit note was issued. |
| amount | String | Total credited amount. |
| remaining_balance | String | Remaining available balance that can be applied or refunded. |
| refundable | String | Indicates whether the credit note is eligible for refund (true or false). |
| payment_id | String | Reference to the payment or transaction linked to this credit note. |
| created_by | String | Name of the user who created the credit note record. |
| created_on | String (ISO 8601) | Timestamp indicating when the credit note was created. |
| last_updated_by | String | Name of the user who last updated the record. |
| last_updated_on | String (ISO 8601) | Timestamp indicating the last modification. |
| uuid | String | System-generated unique identifier for the credit note. |
| version | String | Version number of the record, incremented on updates. |
| custom_attributes | Array | List of any user-defined attributes linked to the credit note. |
| name | String | Name of the custom attribute. |
| value | String | Value assigned to the custom attribute. |
| pagination | Object | Object containing pagination details for the result set. |
| records | Integer | Total number of credit notes retrieved. |
| limit | Integer | Number of records displayed per page. |
| offset | Integer | Number of records skipped before retrieving the current set. |
| previous_page | String | URL of the previous page (if applicable). |
| next_page | String | URL of the next page (if applicable). |