[FR E-Reporting] Implement invoice payment lifecycle tracking - #9659
[FR E-Reporting] Implement invoice payment lifecycle tracking#9659Milica Đukić (djukicmilica) wants to merge 82 commits into
Conversation
|
The pageextension declares a namespace but still adds unaffixed members to the base "E-Documents" page: field("Clearance Date"; ...) and action(ViewFREInvoiceLifecycles). A namespace only replaces the owned-object affix; members added to another publisher's page still need the registered app prefix or suffix, otherwise AppSourceCop AS0011 can reject the extension. Knowledge: Line mapping was unavailable, so this was posted as an issue comment. 👍 useful · ❤️ especially valuable · 👎 wrong - reply with why · AL review agent v1.12.4 |
|
Follow-up on the general review findings:
|
|
Knowledge: Line mapping was unavailable, so this was posted as an issue comment. 👍 useful · ❤️ especially valuable · 👎 wrong - reply with why · AL review agent v1.33.4 |
|
The new negative import tests verify Knowledge: Line mapping was unavailable, so this was posted as an issue comment. 👍 useful · ❤️ especially valuable · 👎 wrong - reply with why · AL review agent v1.33.4 |
|
Superseded by #10374, which contains this payment lifecycle implementation together with lifecycle message sending in a single PR targeting main. |
Pull request was closed
Why
French e-reporting regulation requires that when a payment is applied to an e-invoice, the
Collectedlifecycle status must be captured and reported to the Portail Public de Facturation (PPF). Currently, the EReporting FR app has no mechanism to track payment applications against e-invoices or to build the required XML lifecycle messages. This gap blocks compliance with the French e-invoicing mandate.Summary
FR E-Invoice Lifecycletable to capture immutable lifecycle occurrences (payment applications, reversals) linked to e-documents and customer ledger entriesFR E-Invoice Lifecycle VATtable to store per-occurrence VAT breakdown lines with amounts and currencyFR E-Invoice Lifecycle Mgt.codeunit that subscribes toOnAfterInsertDtldCustLedgEntryandOnAfterInsertDtldCustLedgEntryUnapplyto automatically capture payment lifecycle eventsFR E-Invoice Lifecycle Msg.codeunit implementingIEDocMessageBuilderto produce CrossDomainAcknowledgementAndResponse XML messages per the French regulatory profileFR E-Invoice Lifecycle ErrorandFR E-Invoice Lifecycle Workercodeunits for asynchronous processing with error handlingFR E-Invoice Lifecycleslist page for viewing captured occurrencesFixes
AB#637593