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?
When dev/playing for Factur-X integration, one idea coming.
Add optional
generatorparameter in config's*file to share one (Xml.php) generator between numerous country.*head ofhelpers/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
DEwho used Facturx10 generatorhelpers/XMLConfigs/Zugferd23.phpFor
DE governmentwho used Facturx10 generatorhelpers/XMLConfigs/Zugferd23g.phpQuestion:
What is Zugferd XML filename for German government?
Perplexity are right?
Or is
Wh@t-ElsedotxmlThese idea are ready to Push.
Do you like this?