Skip to main content

List Invoices

GET
string
required
/v1/invoices
List all invoices.
invoices
array
List of invoices
curl -X GET https://api.valmi.io/v1/invoices \
  -H "Authorization: Bearer sk_api_abc123xyz"

Generate Invoice

POST
string
required
/v1/invoices/generate
Generate invoices for a billing period.

Body

account_id
string
Account ID (optional, generates for all if not provided)
billing_period
string
required
Billing period (YYYY-MM)
curl -X POST https://api.valmi.io/v1/invoices/generate \
  -H "Authorization: Bearer sk_api_abc123xyz" \
  -H "Content-Type: application/json" \
  -d '{
    "billing_period": "2024-01"
  }'