Revision 0bdaae6a
Von Johannes Grassler vor mehr als 1 Jahr hinzugefügt
SL/XMLInvoice/CrossIndustryInvoice.pm | ||
---|---|---|
|
||
=head1 NAME
|
||
|
||
SL::XMLInvoice::FakturX - XML parser for UN/CEFACT Cross Industry Invoice
|
||
SL::XMLInvoice::CrossIndustryInvoice - XML parser for UN/CEFACT Cross Industry Invoice
|
||
|
||
=head1 DESCRIPTION
|
||
|
||
... | ... | |
|
||
=cut
|
||
|
||
sub supported {
|
||
my @supported = ( "UN/CEFACT Cross Industry Invoice (urn:un:unece:uncefact:data:standard:CrossIndustryInvoice:100)" );
|
||
return @supported;
|
||
}
|
||
|
||
sub check_signature {
|
||
my ($self, $dom) = @_;
|
||
|
||
my $rootnode = $dom->documentElement;
|
||
|
||
foreach my $attr ( $rootnode->attributes ) {
|
||
if ( $attr->getData =~ m/urn:un:unece:uncefact:data:standard:CrossIndustryInvoice:100/ ) {
|
||
return 1;
|
||
}
|
||
}
|
||
|
||
return 0;
|
||
}
|
||
|
||
# XML XPath expressions for global metadata
|
||
sub scalar_xpaths {
|
||
return {
|
Auch abrufbar als: Unified diff
XMLInvoice: Formaterkennung umgebaut