Skip to main content
POST
/
v0
/
business
/
{business_id}
/
credit-memo
/
{credit_memo_id}
/
void
Void a Credit Memo
curl --request POST \
  --url https://api.sandbox.getasset.com/v0/business/{business_id}/credit-memo/{credit_memo_id}/void \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "business_id": "<string>",
    "customer_id": "<string>",
    "number": "<string>",
    "amount": 123,
    "issued_at": "2023-11-07T05:31:56Z",
    "journal_entry_id": "<string>",
    "id": "<string>",
    "voided": true,
    "memo": "<string>",
    "void_journal_entry_id": "je_R2fAXCjqJPdpYata112zyW",
    "voided_at": "2023-11-07T05:31:56Z",
    "created_by": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.getasset.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

x-user-id
string | null

Optional external entity identifier that performed the action

Path Parameters

business_id
string<biz_string>
required
credit_memo_id
string<cm_string>
required

Response

Successful Response

data
CreditMemoPublic · object
required