Navigation
VigilbaseDocs

    Type at least two letters.

    Open Vigilbase One

    Create a customer invoice

    POST /api/customers/{id}/create-invoice on the Vigilbase One API.

    Needs a recent sign-in
    POST/api/customers/{id}/create-invoice

    One accepts this request only with a recent sign-in; renewing a token doesn't count, and MCP sessions and API keys are always refused. See changes that need a recent sign-in.

    Authorizations

    AuthorizationstringAccess tokenheaderrequired

    Bearer access token from Vigilbase Identity (auth.vigilbase.com), sent as Authorization: Bearer <token>. The CLI gets one with vigilbase login. Organisation API keys can't call this endpoint: it needs a recent sign-in by a person.

    Permissions checkedwrite:billing

    Path Parameters

    idstringrequired

    Body

    application/json
    operationIdstringuuidrequired
    lineItemsobject[]required
    min 1 itemsmax 250 items
    6 child attributes
    namestringrequired
    min length 1max length 250
    descriptionstring
    max length 1000
    unitAmountnumberrequired
    currencystring
    Default:"usd"pattern ^[a-z]{3}$
    quantityinteger
    Default:1minimum 1maximum 1000000
    metadataobject
    Default:{}
    dueDatestring
    descriptionstring
    max length 1000
    metadataobject
    Default:{}
    autoAdvanceboolean
    Default:true
    collectionMethodstring
    One of:charge_automaticallysend_invoiceDefault:"charge_automatically"
    sendEmailboolean
    Default:false
    emailAddressstringemail

    Response

    Success

    Was this page helpful?