Add credit note

Creates a credit note for an existing sale using DigiTax item IDs and the supplied return and item details.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required

The date of the return (YYYY-MM-DD). Future dates are rejected.

string
required

The DigiTax-generated sale ID of the original sale.

string
required

The invoice reference from your system. It must be unique across sales and credit notes in the business. References from failed transactions can be reused.

string

Optional URL where DigiTax sends an HTTP POST callback with event sale.sync when the credit note's eTIMS synchronization succeeds or fails. See Callback URLs for the payload. Must use HTTP(S), include a host, and contain no credentials or fragment. Literal localhost and private IP addresses are rejected; DNS hostnames are not resolved by this check.

string

Additional details associated with the credit note.

string

The reason code for crediting the original sale. Valid values are 01 (Missing Quantity), 02 (Missing Data), 03 (Damaged), 04 (Wasted), 05 (Material Shortage), and 06 (Refund).

items
array of objects
required

The items included in the credit note, with their return quantities and amounts.

items*
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json