Billing Context Enum

Comprehensive billing context categorization for semantic understanding of billable transactions and their underlying business purpose

Overview

The billing_context field provides semantic context about the nature of the billable transaction, helping categorize invoices by their underlying business purpose and billing pattern.

Current Implementation: ["subscription", "one_time", "project"]

Field Type: string (enum)

Required: No (optional)

Usage: Context for the billable action


Complete Billing Context Enum

🔄 Recurring & Subscription Billing

ValueDescriptionUse CasesExamples
subscriptionRecurring service billingSaaS, memberships, utilities"Monthly hosting subscription"
recurringRegular repeated chargesRent, insurance, maintenance"Quarterly license renewal"
periodicFixed interval billingMagazine subscriptions, support contracts"Annual software license"
installmentPayment plan billingEquipment financing, large purchases"3rd of 12 monthly payments"
retainerPrepaid service agreementLegal services, consulting"Monthly legal retainer fee"

📊 Usage & Consumption Billing

ValueDescriptionUse CasesExamples
usage_basedPay-per-use billingCloud services, API calls"Data transfer charges"
consumptionResource consumptionUtilities, bandwidth"Electricity usage - March"
meteredMeasured service usageCloud compute, storage"AWS compute hours"
volume_basedQuantity-driven pricingBulk services, transactions"Per-transaction processing"
overageExcess usage chargesData plans, service limits"Over-limit bandwidth fees"

🎯 Project & Work-Based Billing

ValueDescriptionUse CasesExamples
projectProject-specific billingConsulting, development work"Website development project"
milestoneProject milestone paymentsConstruction, software delivery"Phase 2 completion payment"
hourlyTime-based billingConsulting, legal services"40 hours consulting @ $150/hr"
fixed_priceFixed project costWebsite design, software license"Fixed-price logo design"
time_materialsTime + materials billingConstruction, repairs"Repair work: 8hrs + parts"

💰 Transactional & Event-Based Billing

ValueDescriptionUse CasesExamples
one_timeSingle transactionProduct sales, services"Software license purchase"
event_basedEvent-triggered billingProcessing fees, penalties"Late payment fee"
commissionPerformance-based paymentSales commissions, referrals"5% sales commission"
bonusPerformance incentiveAchievement rewards"Q4 performance bonus"
reimbursementExpense reimbursementTravel, materials"Conference travel expenses"

🏢 Service & Support Billing

ValueDescriptionUse CasesExamples
maintenanceMaintenance servicesEquipment servicing, updates"Annual maintenance contract"
supportCustomer support servicesTechnical support, help desk"Premium support package"
consultingAdvisory servicesStrategy, implementation"Digital transformation consulting"
trainingEducational servicesWorkshops, certifications"Staff training program"
professional_servicesExpert servicesLegal, accounting, advisory"Tax preparation services"

📋 Contract & Agreement Billing

ValueDescriptionUse CasesExamples
contractContract-based billingService agreements"Annual service contract"
licenseLicensing feesSoftware, intellectual property"Enterprise software license"
rentalEquipment/property rentalOffice space, equipment"Monthly office rent"
leaseLong-term lease paymentsVehicle leases, equipment"Company car lease"
franchiseFranchise feesFranchise operations"Monthly franchise fee"

🔧 Adjustments & Financial Corrections

ValueDescriptionUse CasesExamples
adjustmentBilling adjustmentsCorrections, modifications"Price adjustment - Q3"
refundPayment refundsReturns, cancellations"Cancelled service refund"
creditAccount creditsService credits, discounts"Service downtime credit"
penaltyPenalty chargesLate fees, violations"Contract breach penalty"
discountDiscount applicationsPromotional pricing"Early payment discount"

💳 Financial & Payment Processing

ValueDescriptionUse CasesExamples
depositSecurity depositsService deposits, advances"Utility connection deposit"
advance_paymentPrepaid amountsFuture services, goods"50% project advance"
escrowEscrow paymentsHeld funds, guarantees"Construction escrow payment"
insuranceInsurance premiumsCoverage payments"Professional liability insurance"
taxTax-only invoicesTax assessments"Property tax assessment"

🎁 Marketing & Promotional

ValueDescriptionUse CasesExamples
promotionalPromotional billingSpecial offers, campaigns"Launch promotion - 50% off"
trialTrial period billingService trials"Premium trial upgrade"
freemiumFreemium upgradesFeature unlocks"Pro feature activation"
setupInitial setup feesOnboarding, configuration"Account setup fee"
activationService activationNew service starts"Service activation fee"

❓ Fallback Values

ValueDescriptionUse CasesExamples
otherUnspecified contextUnique situations"Specialized service"
mixedMultiple contextsCombined billing"Subscription + overage"
unknownContext not determinableOCR processing"Context unclear from document"