Developer Center


Deletes the specified invoice.

Method / Endpoint

DELETE/ {{API_URL}} Billing/DeleteInvoice/ {{ID}}

Request Parameters

Parameter Name Type Requirement Description
{{ID}} Integer Yes Invoice ID number

External Sample

curl --location --request DELETE '' \
--header 'Apikey: [YOUR_API_KEY]'

Internal Sample

try {
    $result = Api::Billing()->DeleteInvoice(123);
catch (Exception $e)
    echo 'Error: '.$e->getMessage();

Sample JSON Response

    "status": "successful"

Response Parameters

Parameter Name Type Description
status String Action Status "successful" or "error"
message String Error message if action status is "error"
UpdateInvoice CreateInvoiceItem

Do you have any questions?

Feel free to contact us
Contact Us
Copyright © 2024. All Rights Reserved.
Join Our Discord Channel