Zum Inhalt springen

API reference / Quittio \ Country \ AT \ EbInterface

EbInterfaceReader

final class in quittio/country-at · implements FormatReader

Quittio\Country\AT\EbInterface\EbInterfaceReader · Source

Reads ebInterface 6.0 and 6.1 invoices into the data model; CountryAT::readers() registers it, so that Quittio::read() and validateFile() accept them. The mapping is that of EbInterfaceWriter in reverse; the result has the syntax "ebinterface" and no profile.

Constants#

ConstantValueDescription
NAMESPACES['http://www.ebinterface.at/schema/6p1/', 'http://www.ebinterface.at/schema/6p0/']The namespaces of the versions read.
SYNTAX'ebinterface'

Methods#

MethodDescription
->canRead()
->read()

canRead()#

public function canRead(DOMDocument $document): bool
ParameterTypeDescription
$documentDOMDocument
Returns
bool

read()#

public function read(DOMDocument $document, string $xml): ReadResult
ParameterTypeDescription
$documentDOMDocument
$xmlstring
Returns
ReadResult

Die Open-Core-Pakete stehen unter der MIT-Lizenz. Die rechtlichen Formulierungen der Länderpakete sind mit einer Steuerberatung abzustimmen.