# API: Create invoice

# addInvoice

Creates new invoice. Note: New invoice status will be set to DRAFT, so customer wont be able to see it, after finishing work with invoice you can make it viewable by using Convert Invoice option

# Required parameters

Parameter Description
client_id Client id to create invoice for

# Request

GET /admin/api.php?api_id=API_ID&api_key=API_KEY&call=addInvoice&client_id=CLIENT_ID

# PHP Samples

# Response

{
    "success": true,
    "invoice_id": "167",
    "call": "addInvoice",
    "server_time": 1460989585
}
Last Updated: 5/12/2023, 3:22:14 PM