Implement CII Writer for France reform application#84
Draft
strowbeary wants to merge 21 commits intojosemmo:masterfrom
Draft
Implement CII Writer for France reform application#84strowbeary wants to merge 21 commits intojosemmo:masterfrom
strowbeary wants to merge 21 commits intojosemmo:masterfrom
Conversation
…ance correctness for trade agreement, delivery, settlement, and line item handling.
…n composer.json" This reverts commit f99a359.
…and prepare for handling charges and allowances.
Add `addLineAllowanceOrCharge` method to process specific trade allowances and charges with VAT handling. Integrate allowances and charges processing for both line and header levels, ensuring proper calculation and representation.
… breakdown Refactor allowance and charge processing to support VAT breakdown splitting at the header level. Adjust gross and net unit price calculations and improve fallback logic for VAT category and rate. Add methods to handle percentage-based and fixed distribution for allowances/charges. Update tax-specific processing to ensure EN16931 compliance.
…ation Implement recalculation of VAT breakdowns post-header adjustments. Ensure accurate taxable amounts and VAT totals in monetary summation. Refactor to support precise distribution of both fixed and percentage-based allowances/charges. Ensure EN16931 compliance with updated calculations.
…, charges, and advanced fields Implement `CiiReader` to parse CII XML invoices, extracting header, line-level data, allowances, charges, and VAT details. Add comprehensive test coverage for various invoice scenarios, including advanced fields like notes, trade references, and contact information. Ensure compliance with EN16931 standards.
…ve parsing logic Add support for parsing payment details including payment references, means codes, and account information with transfers. Improve formatting consistency by standardizing braces and spacing. Enhance compliance with EN16931 standards by refining currency, VAT, and rounding amount logic.
…t values Refactor payment and transfer parsing to ensure all fields are processed as text, improving type consistency and error prevention.
… capabilities Add classes for `AcknowledgementDocument`, `CdarReader`, `CdarWriter`, `DocumentContext`, `ExchangedDocument`, `CdarStatusDefinition`, and `CdarStatusMap` to support comprehensive CDAR document processing. Implement methods for importing, exporting, and mapping. Ensure integration with cross-domain acknowledgements.
…cumentation Introduce comprehensive guides for CDAR status mapping, exporting, and importing XML. Enhance CDAR class documentation with detailed descriptions and usage examples, improving developer understanding and usability.
…in ReferenceReferencedDocument Introduce the `DocumentTypeCode` enumeration to define standardized referenced document type codes. Update the `ReferenceReferencedDocument` class to utilize the new enum for improved type handling. Add `getDocumentType` method for converting type codes to enum values, ensuring consistency and reducing error-prone string manipulations.
…andling in ReferenceReferencedDocument" This reverts commit bab349a.
…class documentation" This reverts commit 73d4d74.
… writing capabilities" This reverts commit bfce11b.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Generate a FacturX ready XML.
tested only with EsaLink Hubtimize plateform