Revision 5edf41f7
Von Tamino Steinert vor mehr als 1 Jahr hinzugefügt
SL/XMLInvoice.pm | ||
---|---|---|
# @items is an array of hashes, each representing a line
|
||
# item on the bill
|
||
my @items = @{$invoice_parser->items};
|
||
|
||
|
||
=cut
|
||
|
||
=head1 ATTRIBUTES
|
||
... | ... | |
These methods are only implemented in C<SL::XMLInvoice> itself and define the
|
||
data structures to be exposed by any child classes.
|
||
|
||
=over 4
|
||
=over 4
|
||
|
||
=item data_keys()
|
||
|
||
... | ... | |
implent the interface promised by C<SL::XMLInvoice>. You can safely ignore them
|
||
if you don't plan on implementing any child classes.
|
||
|
||
=over 4
|
||
|
||
=item _document_nodenames()
|
||
|
||
... | ... | |
=cut
|
||
|
||
sub _document_nodenames {
|
||
return {
|
||
return {
|
||
'rsm:CrossIndustryInvoice' => 'SL::XMLInvoice::CrossIndustryInvoice',
|
||
'ubl:Invoice' => 'SL::XMLInvoice::UBL',
|
||
};
|
||
... | ... | |
C<SL::XMLInvoice> This list must contain the same keys as the list returned by
|
||
C<item_keys>. Omitting this method from a child class will cause an exception.
|
||
|
||
=back
|
||
|
||
=head1 AUTHOR
|
||
|
||
Johannes Grassler <info@computer-grassler.de>
|
SL/ZUGFeRD.pm | ||
---|---|---|
|
||
=item C<RES_OK> (0): parsing was OK.
|
||
|
||
=item C<RES_ERR_…> (all values E<!=> 0): parsing failed. Values > 0 indicate a failure
|
||
=item C<RES_ERR_…> (all values != 0): parsing failed. Values > 0 indicate a failure
|
||
in C<SL::XMLInvoice>, Values < 0 indicate a failure in C<SL::ZUGFeRD>.
|
||
|
||
=back
|
||
... | ... | |
|
||
=item C<RES_OK> (0): parsing was OK.
|
||
|
||
=item C<RES_ERR_…> (all values E<!=> 0): parsing failed. Values > 0 indicate a failure
|
||
=item C<RES_ERR_…> (all values != 0): parsing failed. Values > 0 indicate a failure
|
||
in C<SL::XMLInvoice>, Values < 0 indicate a failure in C<SL::ZUGFeRD>.
|
||
|
||
=back
|
Auch abrufbar als: Unified diff
FIX: pod Syntax und Leerzeichen entfernt