ReadResult
in package
Read onlyYes
FinalYes
Result of reading an e-invoice: the parsed data, the totals declared in the document (kept unchanged for comparison), findings and the raw input.
Table of Contents
Properties
- $data : InvoiceData
- $declaredTotals : Totals|null
- $declaredVatBreakdown : array<string|int, mixed>
- $embeddedFilename : string|null
- $findings : array<string|int, mixed>
- $profile : string|null
- $raw : string|null
- $specificationId : string|null
- $syntax : string
- $xml : string
Methods
- __construct() : mixed
- hasFindings() : bool
Properties
$data
public
InvoiceData
$data
$declaredTotals
public
Totals|null
$declaredTotals
$declaredVatBreakdown
public
array<string|int, mixed>
$declaredVatBreakdown
$embeddedFilename
public
string|null
$embeddedFilename
= null
$findings
public
array<string|int, mixed>
$findings
$profile
public
string|null
$profile
$raw
public
string|null
$raw
= null
$specificationId
public
string|null
$specificationId
$syntax
public
string
$syntax
$xml
public
string
$xml
Methods
__construct()
public
__construct(InvoiceData $data, string $syntax, string|null $specificationId, string|null $profile, Totals|null $declaredTotals, array<int, VatBreakdown> $declaredVatBreakdown, array<int, ValidationMessage> $findings, string $xml[, string|null $raw = null ][, string|null $embeddedFilename = null ]) : mixed
Parameters
- $data : InvoiceData
- $syntax : string
- $specificationId : string|null
- $profile : string|null
- $declaredTotals : Totals|null
- $declaredVatBreakdown : array<int, VatBreakdown>
- $findings : array<int, ValidationMessage>
- $xml : string
- $raw : string|null = null
- $embeddedFilename : string|null = null
hasFindings()
public
hasFindings() : bool