From ba120b7b252d9f00184ae520f092ef4c98a9525d Mon Sep 17 00:00:00 2001 From: Alex Malaszkiewicz Date: Mon, 19 Feb 2024 00:58:24 +0100 Subject: [PATCH] Update article XRechnung Validation with emoji --- ...2024-02-18-xrechnung-validator-with-github-actions.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/_posts/2024-02-18-xrechnung-validator-with-github-actions.md b/_posts/2024-02-18-xrechnung-validator-with-github-actions.md index f3b852f..0582298 100644 --- a/_posts/2024-02-18-xrechnung-validator-with-github-actions.md +++ b/_posts/2024-02-18-xrechnung-validator-with-github-actions.md @@ -11,10 +11,13 @@ title: XRechnung Validation with GitHub Actions **XRechnung** is a standard electronic invoicing format used in Germany, based on the Universal Business Language (UBL). +🌐 **UBL** provides a common structure for electronic business documents, facilitating efficient data exchange between systems. The goal of the XRechnung format is to standardize electronic invoices -in Germany to facilitate their exchange between businesses +in Germany +🇩🇪 +to facilitate their exchange between businesses and ensure compliance with legal and tax regulations. My task was to validate the accuracy of XML output files @@ -34,12 +37,14 @@ I needed to apply a The validator is written in Java. The released files are zip archives containing jar files. +📦 All of this complicates setting up the environment a bit. The validator won't work without the correct configuration. I've decided that the best solution will be running the validator on CI. Running the validator on CI has the benefit of skipping the need to configure the environment on local machines. +💻 GitHub Actions allows for inputs, so we can specify the name of the file being checked. In case of failure, reports are generated. @@ -110,6 +115,7 @@ jobs: Here is an example of a validation step for a valid invoice. +✔️ ```console @@ -156,6 +162,7 @@ Acceptable: 1 Rejected: 0 And also an example of a validation step for an invalid invoice (no issue date). +❌ ```console