Creates an ad-hoc invoice for a customer. Callers can supply line items, a billing period, purchase order number, and an initial status (draft or issued).
Documentation Index
Fetch the complete documentation index at: https://alguna.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
API key authentication. Pass your API key as a Bearer token.
2026-04-01 A unique string used to ensure the request is processed exactly once. If you retry a request with the same idempotency key within 24 hours, the original response is returned without re-executing the operation.
255"ik_a1b2c3d4e5f6"
ISO 4217 currency code
"USD"
Customer to create the invoice for
End of the billing period
Start of the billing period
Invoice description or memo
Date to issue the invoice
Line items to include on the invoice
Purchase order number
Initial invoice status
draft, issued Success
Amount that has been paid
"0.00"
Remaining amount due
"110.00"
Formatted billing period string
Timestamp when the invoice was created
ISO 4217 currency code
"USD"
Customer this invoice belongs to
Invoice description or memo
Unique identifier for the invoice
Line items on this invoice
Current status of the invoice
draft, upcoming, pending_approval, scheduled, processing, issuing, issued, void, paid, canceled, overdue Sum of all line item totals before tax
"100.00"
Total tax amount
"10.00"
Total amount including tax
"110.00"
Timestamp when the invoice was last updated
End of the billing period
Start of the billing period
Date the invoice payment is due
Identifier in the external payment provider
External payment provider name
Customer-facing invoice reference number
URL to the invoice in the external system
Date the invoice is scheduled for processing
Date the invoice was issued
Date the invoice was paid
Purchase order number