- Billing now uses add_line_item directly; timer_entry/charge_timer_entry removed - Added Verified Response Shapes table for all endpoints (tested live against ACG internal customer) - Billing workflow rewritten as strict 5-step locked script with no branches - Added STOP rule: never try alternative endpoints/formats on unexpected responses - bot-alerts section: explicit success ([OK] + message_id) and failure ([WARNING]) criteria - Updated feedback memory to supersede the old timer-first rule Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
19 lines
1.1 KiB
Markdown
19 lines
1.1 KiB
Markdown
---
|
|
name: Syncro — use add_line_item for billing, not timers
|
|
description: Syncro billing uses add_line_item directly. Timer workflow (timer_entry → charge_timer_entry) is not used. Overrides previous rule about timers being required.
|
|
type: feedback
|
|
---
|
|
|
|
**Rule:** Bill Syncro tickets with `POST /tickets/{id}/add_line_item` directly. Do NOT use `timer_entry → charge_timer_entry`.
|
|
|
|
**Why:** Mike confirmed 2026-05-21 that the timer workflow is not used. The previous rule requiring timers was wrong and caused repeated billing failures (wrong product on the timer, product_id silently ignored by charge_timer_entry, etc.).
|
|
|
|
**How to apply:**
|
|
|
|
- `add_line_item` is the billing path for all work: labor, warranty, internal, hardware.
|
|
- Set `product_id`, `quantity` (decimal hours), `price_retail` (fetched live), `name`, `description`, `taxable: false`.
|
|
- Do not create timer entries as part of billing.
|
|
- Timer endpoints still exist in Syncro but are not part of the ACG billing workflow.
|
|
|
|
**Previous rule (SUPERSEDED):** "All work-time billing MUST go through timer_entry → charge_timer_entry." That rule is no longer in effect as of 2026-05-21.
|