Billing Tab
The Billing Tab feature lets you add items to a customer's ongoing “tab”. At a scheduled date, Billogram automatically creates an invoice containing all items currently on the tab.
How it works
- Add items over time – Add separate items as they are sold/provided.
- Accumulate items – Items accumulate on the tab until the scheduled billing date.
- Automatic invoice creation – A single invoice is created at the scheduled date.
- Tab reset – The tab is emptied for the next billing period.
Components
- Billing Tab – The customer's accumulated items that will be invoiced together
- Billing Tab Items – Individual items added over time
- Customer Settings – Per-customer billing frequency and delivery method
Validation rules
customer_nomust be numeric (digits only); invalid input returns 400.billing_tab_idandbilling_tab_item_idmust be valid UUIDs; invalid format returns 400.- Creating a billing-tab item requires
billogram_item. - Customer settings require at least one of
billing_frequencyordelivery_method.
Billing Tab Operations
- get/customer/{customer_no}/billing-tab
- get/customer/{customer_no}/billing-tab/{billing_tab_id}
- delete/customer/{customer_no}/billing-tab/{billing_tab_id}
- post/customer/{customer_no}/billing-tab/items
- get/customer/{customer_no}/billing-tab/item/{billing_tab_item_id}
- delete/customer/{customer_no}/billing-tab/item/{billing_tab_item_id}
- get/customer/{customer_no}/billing-tab/settings
- put/customer/{customer_no}/billing-tab/settings
- post/customer/{customer_no}/billing-tab/settings
- delete/customer/{customer_no}/billing-tab/settings