From e8e773c59b2fa0fcbe14c38bff37e305e88b17f8 Mon Sep 17 00:00:00 2001 From: dankito Date: Thu, 21 Nov 2024 02:12:39 +0100 Subject: [PATCH] Fixed typos --- .../kotlin/net/codinux/invoicing/api/InvoicingResource.kt | 4 ++-- .../net/codinux/invoicing/converter/EInvoiceConverter.kt | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/e-invoice-api/src/main/kotlin/net/codinux/invoicing/api/InvoicingResource.kt b/e-invoice-api/src/main/kotlin/net/codinux/invoicing/api/InvoicingResource.kt index 1ad537a..ce3b7cc 100644 --- a/e-invoice-api/src/main/kotlin/net/codinux/invoicing/api/InvoicingResource.kt +++ b/e-invoice-api/src/main/kotlin/net/codinux/invoicing/api/InvoicingResource.kt @@ -59,14 +59,14 @@ class InvoicingResource( @POST @Consumes(MediaType.APPLICATION_OCTET_STREAM) @Produces(MediaType.APPLICATION_JSON) - @Operation(summary = "Extract invoice data from a Factur-x / ZUGFeRD or XRechnung file") + @Operation(summary = "Extract invoice data from a Factur-X / ZUGFeRD or XRechnung file") fun extractInvoiceData(invoice: FileUpload) = service.extractInvoiceData(invoice.uploadedFile()) @Path("validate") @POST @Consumes(MediaType.APPLICATION_OCTET_STREAM) - @Operation(summary = "Validate a Factur-x / ZUGFeRD or XRechnung file") + @Operation(summary = "Validate a Factur-X / ZUGFeRD or XRechnung file") fun validateInvoiceXml(invoice: FileUpload) = service.validateInvoice(invoice.uploadedFile()).reportAsXml diff --git a/e-invoicing-domain/src/main/kotlin/net/codinux/invoicing/converter/EInvoiceConverter.kt b/e-invoicing-domain/src/main/kotlin/net/codinux/invoicing/converter/EInvoiceConverter.kt index db5f3a5..80b8285 100644 --- a/e-invoicing-domain/src/main/kotlin/net/codinux/invoicing/converter/EInvoiceConverter.kt +++ b/e-invoicing-domain/src/main/kotlin/net/codinux/invoicing/converter/EInvoiceConverter.kt @@ -30,12 +30,12 @@ class EInvoiceConverter { /** - * Converts a CII (Cross Industry Invoice) invoice, e.g. a Zugferd or Factur-X invoice, to UBL (Universal Business Language). + * Converts a CII (Cross Industry Invoice) invoice, e.g. a ZUGFeRD or Factur-X invoice, to UBL (Universal Business Language). */ fun convertCiiToUbl(invoice: Invoice) = convertCiiToUbl(createXRechnungXml(invoice)) /** - * Converts a CII (Cross Industry Invoice) invoice, e.g. a Zugferd or Factur-X invoice, to UBL (Universal Business Language). + * Converts a CII (Cross Industry Invoice) invoice, e.g. a ZUGFeRD or Factur-X invoice, to UBL (Universal Business Language). */ fun convertCiiToUbl(invoiceXml: String): String { // TODO: extract a common method for this @@ -54,7 +54,7 @@ class EInvoiceConverter { } /** - * Converts a CII (Cross Industry Invoice) invoice, e.g. a Zugferd or Factur-X invoice, to UBL (Universal Business Language). + * Converts a CII (Cross Industry Invoice) invoice, e.g. a ZUGFeRD or Factur-X invoice, to UBL (Universal Business Language). */ fun convertCiiToUbl(xmlFile: File, outputFile: File) { val cii2Ubl = CIIToUBL()