<?xml version='1.0' encoding='utf-8'?>
<root name="billing-backend-service" org="teaql" data_service="sqlite" _module_key="root" model_uuid="3d328bf9-6c70-4b8e-9d25-41e92001b114" agent="codex" agent_version="0.163.0-alpha.10.2" llm_provider="openai" llm_model="gpt-6.1-sol" skill_version="77093b5fb9113ef869a129ffc6e67c4765000864-dirty">
  <billing_platform _name="Billing Platform" _module="Billing" _module_key="billing" platform_name="TeaQL Billing" create_time="createTime()" update_time="updateTime()" />
  <plan_tier _name="Plan Tier" _module="Billing" _module_key="billing" billing_platform="billing_platform()" id="id()" name="string()" code="string()" display_order="number()" color="string()" progress="number()" _constant="true" _identifier="code">
    <_value id="1001" name="Free" code="FREE" display_order="1" color="#2563EB" progress="0" />
    <_value id="1002" name="Plus" code="PLUS" display_order="2" color="#2563EB" progress="0" />
    <_value id="1003" name="Pro" code="PRO" display_order="3" color="#2563EB" progress="0" />
    <_value id="1004" name="Max" code="MAX" display_order="4" color="#2563EB" progress="0" />
  </plan_tier>
  <checkout_state _name="Checkout State" _module="Billing" _module_key="billing" billing_platform="billing_platform()" id="id()" name="string()" code="string()" display_order="number()" color="string()" progress="number()" _constant="true" _identifier="code">
    <_value id="1001" name="Pending" code="PENDING" display_order="1" color="#2563EB" progress="0" />
    <_value id="1002" name="Ready" code="READY" display_order="2" color="#2563EB" progress="0" />
    <_value id="1003" name="Completed" code="COMPLETED" display_order="3" color="#2563EB" progress="0" />
  </checkout_state>
  <organization_account _name="Organization Account" _module="Billing" _module_key="billing" billing_platform="billing_platform()" iam_team_key="iam-team-example" create_time="createTime()" update_time="updateTime()" />
  <checkout_intent _name="Checkout Intent" _module="Billing" _module_key="billing" organization_account="organization_account()" requester_subject="iam-user-example" correlation_key="checkout-example" plan_tier="plan_tier()" checkout_state="checkout_state()" price_key="pri_example" provider_transaction_key="txn_pending_example" create_time="createTime()" update_time="updateTime()" />
  <subscription_record _name="Subscription Record" _module="Billing" _module_key="billing" organization_account="organization_account()" provider_subscription_key="sub_example" provider_customer_key="ctm_example" price_key="pri_example" plan_tier="plan_tier()" last_transaction_key="txn_example" create_time="createTime()" update_time="updateTime()" />
  <organization_entitlement _name="Organization Entitlement" _module="Billing" _module_key="billing" organization_account="organization_account()" subscription_record="subscription_record()" plan_tier="plan_tier()" last_transaction_key="txn_example" create_time="createTime()" update_time="updateTime()" valid_until="2026-12-28T10:00:00Z" />
  <webhook_receipt _name="Webhook Receipt" _module="Billing" _module_key="billing" organization_account="organization_account()" checkout_intent="checkout_intent()" event_key="evt_example" transaction_key="txn_example" payload_digest="sha256-example" event_kind="transaction.completed" actor_subject="paddle-webhook" occurred_at="2026-11-28T00:00:00Z" create_time="createTime()" update_time="updateTime()" />
  <command_state _name="Command State" _module="Billing" _module_key="billing" billing_platform="billing_platform()" id="id()" name="string()" code="string()" display_order="number()" color="string()" progress="number()" _constant="true" _identifier="code">
    <_value id="1001" name="Prepared" code="PREPARED" display_order="1" color="#2563EB" progress="0" />
    <_value id="1002" name="Confirmed" code="CONFIRMED" display_order="2" color="#2563EB" progress="0" />
    <_value id="1003" name="Uncertain" code="UNCERTAIN" display_order="3" color="#2563EB" progress="0" />
    <_value id="1004" name="Rejected" code="REJECTED" display_order="4" color="#2563EB" progress="0" />
    <_value id="1005" name="Observed" code="OBSERVED" display_order="5" color="#2563EB" progress="0" />
  </command_state>
  <cancellation_command _name="Cancellation Command" _module="Billing" _module_key="billing" organization_account="organization_account()" subscription_record="subscription_record()" command_state="command_state()" command_key="command-example" operation_key="sha256-operation-example" actor_subject="iam-user-example" expected_period_end="2026-12-28T10:00:00Z" requested_at="2026-12-04T00:00:00Z" result_code="AWAITING_PROVIDER" create_time="createTime()" update_time="updateTime()" />
</root>