# Create new billing information Endpoint: POST /billing-information Version: 1.0 Security: bearer ## Request fields (application/json): - `clientAccountId` (number, required) The client account ID Example: 1 - `billingManagerUserId` (number, required) The billing manager user ID Example: 1 - `costPerLocation` (number, required) Cost per location Example: 100 - `minimumBillingLocations` (number, required) Minimum number of billing locations Example: 5 - `isAutoRenew` (boolean, required) Whether auto-renewal is enabled Example: true - `billingStartDate` (string, required) Start date for billing Example: "2024-03-17T00:00:00Z" - `billingFrequency` (string, required) Billing frequency Enum: "MONTHLY", "QUARTERLY", "ANNUALLY" ## Response 201 fields (application/json): - `id` (number, required) ID of the billing information Example: 1 - `clientAccountId` (number, required) ID of the client account Example: 1 - `costPerLocation` (number, required) Cost per location Example: 100 - `minimumBillingLocations` (number, required) Minimum number of billing locations Example: 5 - `isAutoRenew` (boolean, required) Whether auto-renewal is enabled Example: true - `billingStartDate` (string, required) Start date for billing Example: "2024-03-17T00:00:00Z" - `billingFrequency` (string, required) Billing frequency Enum: "MONTHLY", "QUARTERLY", "ANNUALLY" - `stripeCustomerId` (string,null) Stripe customer ID Example: "cus_123456789" - `createdAt` (string, required) Creation date Example: "2024-01-01T00:00:00Z" - `stripeSubscriptionId` (string,null) Stripe subscription ID (once a subscription exists) Example: "sub_1RFBYKHGcS3PmRZjUcjG4rYN" - `updatedAt` (string, required) Last update date Example: "2024-01-01T00:00:00Z" ## Response 401 fields (application/json): - `message` (string, required) Error message indicating unauthorized access. Example: "Unauthorized" - `statusCode` (number, required) HTTP status code for unauthorized access. Example: 401