Vigilbase One APICustomers
Create a customer invoice
POST /api/customers/{id}/create-invoice on the Vigilbase One API.
Needs a recent sign-in
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.
Path Parameters
idstringrequired
Body
application/jsonoperationIdstringuuidrequired
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 1000000metadataobject
Default:
{}dueDatestring
descriptionstring
max length 1000
metadataobject
Default:
{}autoAdvanceboolean
Default:
truecollectionMethodstring
One of:
charge_automaticallysend_invoiceDefault:"charge_automatically"sendEmailboolean
Default:
falseemailAddressstringemail
Response
Success
Was this page helpful?