Skip to main content

Module posting_handler

Module posting_handler 

Source
Expand description

Non-CRUD HTTP surface for the GL-posting contract: POST /accounting/posts.

Hand-authored (user-owned; see metaphor.codegen.yaml). Wraps PostingService — the inbound port a producer (billing/selling/payments) calls to record a balanced entry.

Structs§

PostingLineDto
PostingRequestDto
PostingResponse

Functions§

create_posting_routes
Route: POST /accounting/posts — the inbound GL-posting endpoint. Mount it behind the host’s org guard: the poster is read from its OrgContext.