Skip to content

v2.2.5

Choose a tag to compare

@mittwald-machine mittwald-machine released this 05 Oct 19:20
· 4 commits to master since this release

Summary

This release introduces enhanced file type selection for invoice access tokens, explicit handling for DNS zone import conflicts, and support for tracking XRechnung XML file IDs within invoice and cancellation records.

Invoice File Access Token Enhancement

  • Added fileType enum (PDF, XRECHNUNG) to InvoiceGetFileAccessTokenRequest with a default value of PDF.
  • Introduced InvoiceGetFileAccessTokenRequestFileType enum and updated request builders, getters, and setters accordingly.

DNS Zone Import Conflict Handling

  • Implemented DnsCreateDnsZoneFileImportConflictResponse to explicitly handle 409 Conflict HTTP status codes during DNS zone file imports.
  • Updated DomainClientImpl to map 409 responses to the new conflict response class, addressing cases where an identical import is already in progress for the project.

XRechnung ID Support

  • Added xRechnungId (UUID) field to both Invoice and Cancellation schema objects to track the associated XRechnung XML file.
  • Implemented full support via getters, setters, withXRechnungId, withoutXRechnungId, and updated serialization/deserialization methods.

Documentation & Code Quality

  • Corrected phrasing in docblock comments for invoice file access token retrieval.
  • Updated DNS zone import description to clarify conflict rejection behavior and side-effect-free preview details.