Revision e2f0105f
Von Moritz Bunkus vor mehr als 3 Jahren hinzugefügt
SL/ZUGFeRD.pm | ||
---|---|---|
12 | 12 |
use SL::Locale::String qw(t8); |
13 | 13 |
|
14 | 14 |
use parent qw(Exporter); |
15 |
our @EXPORT_PROFILES = qw(PROFILE_FACTURX_EXTENDED); |
|
15 |
our @EXPORT_PROFILES = qw(PROFILE_FACTURX_EXTENDED PROFILE_XRECHNUNG);
|
|
16 | 16 |
our @EXPORT_OK = (@EXPORT_PROFILES); |
17 | 17 |
our %EXPORT_TAGS = (PROFILES => \@EXPORT_PROFILES); |
18 | 18 |
|
19 | 19 |
use constant PROFILE_FACTURX_EXTENDED => 0; |
20 |
use constant PROFILE_XRECHNUNG => 1; |
|
20 | 21 |
|
21 | 22 |
use constant RES_OK => 0; |
22 | 23 |
use constant RES_ERR_FILE_OPEN => 1; |
... | ... | |
29 | 30 |
[ 0, t8('Do not create Factur-X/ZUGFeRD invoices') ], |
30 | 31 |
[ PROFILE_FACTURX_EXTENDED() * 2 + 1, t8('Create with profile \'Factur-X 1.0.05/ZUGFeRD 2.1.1 extended\'') ], |
31 | 32 |
[ PROFILE_FACTURX_EXTENDED() * 2 + 2, t8('Create with profile \'Factur-X 1.0.05/ZUGFeRD 2.1.1 extended\' (test mode)') ], |
33 |
[ PROFILE_XRECHNUNG() * 2 + 1, t8('Create with profile \'XRechnung 2.0.0\'') ], |
|
34 |
[ PROFILE_XRECHNUNG() * 2 + 2, t8('Create with profile \'XRechnung 2.0.0\' (test mode)') ], |
|
32 | 35 |
); |
33 | 36 |
|
34 | 37 |
sub convert_customer_setting { |
Auch abrufbar als: Unified diff
Factur-X/ZUGFeRD: Unterstütztung für Profil »XRechnung 2.0.0«