Skip to content

Conversation

@BolZer
Copy link
Member

@BolZer BolZer commented Dec 8, 2025

This PR significantly expands the ZUGFeRD 2 data model to support a wider range of referenced documents and product metadata, while simultaneously modernizing the test infrastructure.

  • Expanded Trade Agreements & Settlements: Added comprehensive referenced document support (e.g., sellerOrderReferencedDocument, contractReferencedDocument, ultimateCustomerOrderReferencedDocument) to LineTradeAgreement and LineTradeSettlement to ensure full compliance with complex invoicing scenarios.

  • Enriched Product Data: Updated TradeProduct and ProductClassification to include granular identification fields such as modelID, batchID, brandName, and className, allowing for richer line-item descriptions.

  • Enhanced Document References: Refactored ReferencedDocument and DocumentLineDocument to support lineId, lineStatusCode, and lineStatusReasonCode, improving data precision in document linking.

  • Test Suite Modernization: Upgraded PHPUnit configuration to schema 12.0 with strict failure settings (Notices/Deprecations) and cleaned up unused AccessorOrder attributes to improve code quality.

  • PHP 8.5 Compatibility: Updated Composer scripts and GitHub Actions workflows to validate the library against PHP 8.5.

@BolZer BolZer merged commit f583132 into master Dec 8, 2025
5 checks passed
@BolZer BolZer deleted the dev-2.4 branch December 8, 2025 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants