{"service":"zra-tax-middleware","description":"BongoHive middleware for orchestrating Xero-originated invoices through DigiTax for ZRA Smart Invoice compliance.","docs":{"swagger":"/docs","readme":"README.md","architecture":"docs/architecture.md"},"recommendedFlow":["Detect a newly created Xero invoice while it remains in DRAFT.","Validate or create customer and item mappings.","Submit the sale to DigiTax and store middleware compliance state as PENDING_COMPLIANCE.","Receive DigiTax callback or poll until the sale is complete.","Persist ZRA receipt metadata and then update the Xero invoice to AUTHORISED."],"modules":["digitax","xero","invoices","webhooks","prisma"]}