← All examples
BillingService
examples/BillingService.intent
BillingService.intent
1# BillingService.intent2# Draft IntentLang (v0). Architecture as code. Illustrative only.34service BillingService56why7 Billing owns money movement, so its boundaries and ownership must be explicit.89owns10 Invoice11 PaymentAttempt1213consumes14 OrderApproved1516publishes17 InvoiceCreated1819database20 Postgres2122dependencies23 PaymentGateway24 NotificationService2526owner27 Finance Platform Team2829guarantees30 invoices are only created from approved orders31 payment is never captured twice3233verify34 architecture boundary check35 contract checkDraft syntax. This file is illustrative and does not run yet.
More examples