Skip to main content
POST
Create Credit Memo

Authorizations

Authorization
string
header
required

Use your app's API_KEY as the username, and leave the password blank

Path Parameters

connection_id
string<uuid>
required

ID of the connection to use for credit memo creation

Query Parameters

request_id
string

A custom ID that can be used to identify the request and response. This could be your local ID for the request.

Example:

"1"

webhook_url
string<uri>

Optional URL to receive a webhook when the request is completed

Body

application/json
customer_list_id
string
required

Customer ListID for the credit memo

transaction_date
string<date>
required

Credit memo transaction date (YYYY-MM-DD)

lines
object[]
required

Credit memo line items

Minimum array length: 1
class_list_id
string

Optional class ListID applied to the credit memo (and line items unless overridden)

receivables_account_list_id
string

Optional accounts receivable account ListID

template_list_id
string

Optional credit memo template ListID

ref_number
string

Optional user-defined reference number

bill_address
object

Optional bill-to address

ship_address
object

Optional ship-to address

is_pending
boolean

Whether the credit memo is pending/draft

purchase_order_number
string

Optional customer PO number

terms_list_id
string

Optional payment terms ListID

due_date
string<date>

Optional due date (YYYY-MM-DD)

sales_rep_list_id
string

Optional sales rep ListID

fob
string

Optional FOB point

ship_date
string<date>

Optional ship date (YYYY-MM-DD)

ship_method_list_id
string

Optional shipping method ListID

item_sales_tax_list_id
string

Optional tax item or tax group ListID applied to the entire credit memo

memo
string

Optional memo for reports

customer_message_list_id
string

Optional customer message ListID

is_to_be_printed
boolean

Whether the credit memo should be queued for print

is_to_be_emailed
boolean

Whether the credit memo should be queued for email

is_tax_included
boolean

Whether the line item amounts include tax

customer_sales_tax_code_list_id
string

Optional customer sales tax code ListID applied to the credit memo

other
string

Optional custom field for report layouts

exchange_rate
number

Optional currency exchange rate

external_guid
string

Optional external GUID used to avoid duplicate creation

Response

Credit memo create request accepted and queued for processing. Returns a queued request object.

data
object