PerfexCRM icon

PerfexCRM

Interact with PerfexCRM API

Actions181

Credit Note → Add Refund

AI-generated

Summary

Create a refund entry for a specified credit note in PerfexCRM.

Inputs

  • Credit Note ID (required) — The ID of the credit note to which the refund will be added.
  • Amount (required) — The amount to refund.
  • Additional Fields — Optional additional details for the refund, including Note, Payment Mode, Refunded On date, and Staff ID who processed the refund.

Output shape

a single JSON object representing the created refund entry for the credit note.

The refund data is returned as a JSON object. The 'Refunded On' date field is automatically validated and formatted. Monetary values are expected to be non-negative. Errors during execution provide detailed messages including HTTP status when applicable.

Examples

Example 1: Add a refund of $50 to a credit note with ID '12345', specifying a note and payment mode.

Credit Note ID set to '12345', Amount set to 50, Additional Fields include Note and Payment Mode.

Discussion