# Decision 2: How billing data comes in

Status: decided for year one; reviewed when the trigger below fires and at each yearly budget.

Context: Billing feeds monthly recurring revenue, the first number Finance signs. The plan already pays for managed connectors for billing, CRM and product data.

Question: Buy a managed connector for the billing system, or build one in-house?

Options:
- Buy a managed connector: Keep the managed connector; its price follows the billing rows it moves.
- Build it in-house: Engineering writes and runs its own job that reads the billing system's API.

Decision rule, declared before costing: Buy unless building costs at least 20% less over three years, people hours included. Why: A connector someone else maintains keeps up with the billing system's changes; one the company builds lands on its scarcest person, the engineer.

Three-year cost, base case, in thousands of US dollars:

| Cost line | Buy a managed connector | Build it in-house |
|---|---|---|
| People | 7 | 28 |
| Run | 31 | 3 |
| Switching | 0 | 2 |
| Risk | 1 | 3 |
| Shortfall | 0 | 0 |
| Total | 39 | 36 |
| Engineering hours, year one | 0 | 134 |

Decision: Buy a managed connector, US$39K over three years. An in-house connector would cost 7% less, short of the 20% the rule asks, so the default stands: here the rule decides, not the cost.

What would flip it: its two main drivers are in-house connector upkeep and the managed connector bill for all three sources. With everything else at base, it flips if in-house connector upkeep falls below 4.34 hours a month (base 6), when an in-house connector wins; or if the managed connector bill for all three sources rises above US$29.5K a year (base US$24K), when an in-house connector wins. Moved together over their ranges, the rule still picks the managed connector at 65 of 81 points. Moved alone to either end of its range, 4 of its 12 inputs with a range flip it.

Reversal trigger: watch the connector's yearly price at renewal, and the engineering hours any in-house job would need, logged when the billing API changes. Reopen this record if in-house connector upkeep falls below 4.34 hours a month or the managed connector bill for all three sources rises above US$29.5K a year.

Owner and review: Head of Data, with the engineering lead. This choice needs 0 engineering hours in year one and 0 in year two, and 28 data team hours in year one.
