Skip to content

Conversation

@martaprilmay
Copy link

Fix: Use DateField for tax_point_date instead of DateTimeField

Problem:

The tax_point_date field in ApplicableTradeTax was using DateTimeField. According to the EN16931, XRechnung XSD schemas and docs TaxPointDate should be of type udt:DateType.

Solution:

Created a new DateField class that properly handles date-only fields by generating and parsing <udt:DateString> elements, following the same pattern as the existing DateTimeField implementation.

@martaprilmay martaprilmay marked this pull request as ready for review January 16, 2026 12:08
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.

1 participant