Skip to main content
WEBHOOK
BILLING_INVOICE_CREATED
{
  "event":       "BILLING_INVOICE_CREATED",
  "eventId":     "evt_01HXY123456ABCDEF",
  "businessId":  "BUS1A2B3C4D5E6F",
  "environment": "LIVE",
  "timestamp":   "2026-06-01T00:00:00Z",
  "data": {
    "invoiceId":     "inv_01HXYZ1111ABCDEF0000",
    "programId":     "prg_01HXYZ9876ABCDEF0000",
    "amountCents":   4999,
    "currency":      "USD",
    "dueDate":       "2026-06-15",
    "status":        "PENDING",
    "createdAt":     "2026-06-01T00:00:00Z"
  }
}
{}

Documentation Index

Fetch the complete documentation index at: https://docs.fyatu.com/llms.txt

Use this file to discover all available pages before exploring further.

Fires when FYATU generates a new billing invoice for your business. Invoices are generated monthly on the first of each month. View and pay invoices in the FYATU portal under Billing.

Event Type

BILLING_INVOICE_CREATED

Payload

{
  "event":       "BILLING_INVOICE_CREATED",
  "eventId":     "evt_01HXY123456ABCDEF",
  "businessId":  "BUS1A2B3C4D5E6F",
  "environment": "LIVE",
  "timestamp":   "2026-06-01T00:00:00Z",
  "data": {
    "invoiceId":     "inv_01HXYZ1111ABCDEF0000",
    "programId":     "prg_01HXYZ9876ABCDEF0000",
    "amountCents":   4999,
    "currency":      "USD",
    "dueDate":       "2026-06-15",
    "status":        "PENDING",
    "createdAt":     "2026-06-01T00:00:00Z"
  }
}

Payload Fields

FieldTypeDescription
invoiceIdstringUnique invoice identifier
programIdstringThe program this invoice is for
amountCentsintegerInvoice amount in cents
currencystringCurrency code
dueDatestringPayment due date (YYYY-MM-DD)
statusstringAlways PENDING when created
createdAtstringISO 8601 creation timestamp
For the full event group documentation see Billing Events.
{
  "event":       "BILLING_INVOICE_CREATED",
  "eventId":     "evt_01HXY123456ABCDEF",
  "businessId":  "BUS1A2B3C4D5E6F",
  "environment": "LIVE",
  "timestamp":   "2026-06-01T00:00:00Z",
  "data": {
    "invoiceId":     "inv_01HXYZ1111ABCDEF0000",
    "programId":     "prg_01HXYZ9876ABCDEF0000",
    "amountCents":   4999,
    "currency":      "USD",
    "dueDate":       "2026-06-15",
    "status":        "PENDING",
    "createdAt":     "2026-06-01T00:00:00Z"
  }
}
{}

Authorizations

Authorization
string
header
required

API key from the FYATU CaaS portal. Pass as Authorization: Bearer <key>.

Body

application/json
event
string
Example:

"BILLING_INVOICE_CREATED"

eventId
string
businessId
string
environment
enum<string>
Available options:
LIVE,
SANDBOX
timestamp
string<date-time>
data
object

Response

200

Acknowledge the event.