Creates a new billing group for consolidated B2B billing. Groups multiple subscriptions under one customer for a single monthly invoice. All subscriptions in the group are billed on the same day each month.
| Field | Required | Description |
|---|---|---|
customerId | Yes | Business customer ID |
groupName | Yes | Display name for the group |
rentalIds | Yes | Array of subscription IDs to include |
billingDay | Yes | Day of month for billing (1-28) |
| Day | Typical Use |
|---|---|
| 1 | Start of month billing |
| 15 | Mid-month billing |
| 25-28 | End of month (use 28 for all-month compatibility) |
| Error Code | Cause | Solution |
|---|---|---|
CUSTOMER_NOT_FOUND | Invalid customer ID | Verify customer exists |
SUBSCRIPTION_NOT_FOUND | Invalid subscription ID | Verify subscription IDs |
SUBSCRIPTION_DIFFERENT_CUSTOMER | Subscription belongs to different customer | Only group same-customer subscriptions |
INVALID_BILLING_DAY | Day must be 1-28 | Use valid billing day |
API key obtained from FlexPortal dashboard
Your tenant identifier