# API: Issue credit note

# issueCreditNote

Allows you to create a credit note from the invoice indicated

# Required parameters

Parameter Description
id Invoice ID

# Optional parameters

Parameter Description
cnote_type Type of credit note (just_note, note_and_credit)

# Request

GET /admin/api.php?api_id=API_ID&api_key=API_KEY&call=issueCreditNote&id=ID

# PHP Samples

# Response

{
    "success": true,
    "credit_note_id": "3",
    "call": "issueCreditNote",
    "server_time": 1532694182,
    "info": [
        "The credit note has been issued"
    ]
}
Last Updated: 5/12/2023, 3:22:14 PM