Skip to main content

Module document_flow

Module document_flow 

Source
Expand description

Document flow generators for P2P and O2C processes.

This module provides generators for complete document flows:

  • P2P (Procure-to-Pay): PO → GR → Invoice → Payment
  • O2C (Order-to-Cash): SO → Delivery → Invoice → Receipt

The document_flow_je_generator submodule creates corresponding journal entries from document flows to ensure GL coherence.

Structs§

DocumentChainManager
Document Chain Manager for coordinated P2P and O2C generation.
DocumentChainManagerConfig
Configuration for document chain manager.
DocumentChainStats
Summary statistics for generated document chains.
DocumentFlowJeConfig
Configuration for document flow JE generation.
DocumentFlowJeGenerator
Generator for creating JEs from document flows.
GeneratedDocumentFlows
Generated document flows result.
JournalEntrySources
Sources for journal entry generation.
LatePaymentDistribution
Distribution of late payment days.
MatchVariance
A specific variance found during three-way match.
O2CDocumentChain
A complete O2C document chain.
O2CGenerator
Generator for O2C document flows.
O2CGeneratorConfig
Configuration for O2C flow generation.
O2CPaymentBehavior
Payment behavior configuration for O2C.
P2PDocumentChain
A complete P2P document chain.
P2PGenerator
Generator for P2P document flows.
P2PGeneratorConfig
Configuration for P2P flow generation.
P2PPaymentBehavior
Payment behavior configuration for P2P.
PaymentTimingInfo
Information about payment timing.
ThreeWayMatchConfig
Configuration for three-way match validation.
ThreeWayMatchResult
Result of three-way match validation.
ThreeWayMatcher
Three-way match validator.

Enums§

PaymentEvent
Payment event in an O2C chain.
VarianceType
Type of variance in three-way match.

Functions§

extract_je_sources
Helper to extract all journal entry-generating documents from flows.