Add credit note with item bar codes

Creates a credit note for an existing sale using item barcodes to identify the items being credited.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
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
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

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.

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

Items being credited, identified by their user-provided item barcodes (item_bar_code).

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