bill_create_or_update
Create or update network billing records by specifying bill name, type (quota or CDR), ports, and optional fields like billing day or customer ID.
Instructions
Create or update a bill in LibreNMS.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payload | Yes | Bill payload fields: - bill_id (for updates only): Existing bill ID - bill_name (required for create): Bill name - ports (required for create): Array of port IDs to include - bill_type (required): "quota" or "cdr" (95th percentile) - bill_quota (required if quota type): Quota in bytes - bill_cdr (required if cdr type): Committed data rate - bill_day (optional): Billing day of month (1-31) - bill_custid (optional): Customer ID reference - bill_ref (optional): Billing reference - bill_notes (optional): Notes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||