Skip to content

[Idea] 939 e-invoicing: One shared XML generator for multiple config (optional) #1220

@sudwebdesign

Description

@sudwebdesign

When dev/playing for Factur-X integration, one idea coming.

Add optional generator parameter in config's* file to share one (Xml.php) generator between numerous country.

* head of helpers/XMLConfigs/*.php

//  'generator'   => 'Facturxv10',        -> Name of the Xml file generator without 'Xml' and '.php' extension (optional)
See examples for 'DE' who used Facturx10 generator

For DE who used Facturx10 generator

helpers/XMLConfigs/Zugferd23.php

$xml_setting = [
    'full-name'   => 'ZUGFeRD v2.3',
    'countrycode' => 'DE',
    'embedXML'    => true,
    'XMLname'     => 'factur-x.xml',
    'generator'   => 'Facturxv10',
];

For DE government who used Facturx10 generator

helpers/XMLConfigs/Zugferd23g.php

$xml_setting = [
    'full-name'   => 'ZUGFeRD v2.3 [gov]',
    'countrycode' => 'DE',
    'embedXML'    => true,
    'XMLname'     => 'factur-x.xml',
    'generator'   => 'Facturxv10',
];

Question:

What is Zugferd XML filename for German government?

Perplexity are right?
Or is Wh@t-Else dot xml


These idea are ready to Push.

Do you like this?

Metadata

Metadata

Assignees

Labels

Feature RequestImprovement or Feature Request

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions