Skip to content

FE Document

03. Fiscal Document Model

EVENTFLOW FE · TECHNICAL DOCUMENTATION · 03

Fiscal Document Model

Defines the public information model used by EventFlow FE to represent a fiscal document before, during and after electronic processing.

Version
1.1

Status
Production

Model scope
Fiscal document representation

Fiscal environment
SIFEN · Paraguay

Model definition

A fiscal document is a product-domain representation with a corresponding electronic fiscal representation for SIFEN interoperability.

EventFlow FE maintains the information required to construct, process and represent a fiscal transaction within the product. The electronic fiscal representation is produced from the product-domain document according to the applicable SIFEN requirements.

Document domains

Domain Representation Purpose
Document identity Identifiers and document references Distinguishes the fiscal document within its processing context
Issuer Fiscal identity and issuing context Associates the document with the responsible issuing entity
Recipient Available recipient identification and fiscal data Represents the receiving party when required by the transaction
Document items Individual goods or service lines Represents the economic content of the transaction
Amounts Calculated monetary values and totals Represents the financial result of the document
Fiscal metadata Information required for electronic fiscal processing Supports generation and interoperability in the SIFEN environment
Fiscal result Authority response and resulting product state Represents the outcome returned through fiscal interoperability

Conceptual document structure

Fiscal transaction
Issuer, recipient, items and monetary values
Fiscal document model
Product-domain representation of the document
Electronic fiscal representation
Representation prepared for fiscal interoperability
Fiscal result
Authority outcome represented within EventFlow FE

Document identity

  • Product document identifier
  • Fiscal document numbering
  • Electronic fiscal identifiers produced by the applicable fiscal process
  • References required to associate the document with its fiscal processing result

Transaction parties

The issuer context identifies the entity responsible for the fiscal document. Recipient information is included according to the identification and fiscal data required by the transaction.

Party information remains part of the fiscal product domain and is mapped into the electronic fiscal representation where required by SIFEN interoperability.

Economic content

Document items represent the goods or services associated with the fiscal transaction. Monetary values are derived from the document’s economic content and represented through the totals required by the product and fiscal process.

Electronic fiscal representation

The product-domain fiscal document is the source for the electronic representation used in the SIFEN integration lifecycle. Generation, signing and QR processing operate on that electronic representation.

Transport and authority interaction are documented separately in 05. SIFEN Interoperability.

Model invariants

  • A fiscal document remains associated with its issuing context throughout fiscal processing.
  • Document items and monetary values belong to the fiscal transaction represented by the document.
  • The electronic fiscal representation derives from the product-domain fiscal document.
  • Fiscal authority outcomes originate from the external fiscal authority and are represented inside EventFlow FE.
  • Operational runtime processing does not redefine fiscal document semantics.

Lifecycle separation

The document model defines what a fiscal document represents. State transitions, processing stages and fiscal outcomes over time are specified in 04. Document Lifecycle.