Skip to content

Fix: make StartDate and EndDate optional per Peppol BIS 3.0 spec (BR-…#161

Merged
brtdv merged 3 commits intomasterfrom
Fix/start-and-end-date-optional
Jan 22, 2026
Merged

Fix: make StartDate and EndDate optional per Peppol BIS 3.0 spec (BR-…#161
brtdv merged 3 commits intomasterfrom
Fix/start-and-end-date-optional

Conversation

@PlayeMatthieu
Copy link
Copy Markdown
Contributor

No description provided.

…CO-19)

  Both StartDate (BT-73) and EndDate (BT-74) are optional (0..1) according to
  the Peppol BIS Billing 3.0 specification. However, BR-CO-19 requires that
  at least one of them must be present when an invoicing period is used.

  This fixes parsing of invoices that only have StartDate without EndDate.

  Refs:
  - https://docs.peppol.eu/poacc/billing/3.0/syntax/ubl-invoice/cac-InvoicePeriod/cbc-StartDate/
  - https://docs.peppol.eu/poacc/billing/3.0/syntax/ubl-invoice/cac-InvoicePeriod/cbc-EndDate/
@PlayeMatthieu PlayeMatthieu requested a review from brtdv January 22, 2026 16:48
@brtdv brtdv merged commit d485f85 into master Jan 22, 2026
5 checks passed
@brtdv brtdv deleted the Fix/start-and-end-date-optional branch January 22, 2026 18:51
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