xrechnung-kit API reference

DocumentMeta
in package

FinalYes

Document-level header fields. Maps to the UBL <cbc:ID>, <cbc:IssueDate>, <cbc:InvoiceTypeCode>, <cbc:DocumentCurrencyCode>, <cbc:DueDate>, <cbc:BuyerReference>, and <cbc:Note> elements.

Table of Contents

Properties

$buyerReference  : string|null
$currency  : string
$dueDate  : DateTimeImmutable|null
$invoiceNumber  : string
$issueDate  : DateTimeImmutable
$note  : string|null
$type  : XRechnungInvoiceTypeCode

Methods

__construct()  : mixed

Properties

$buyerReference read-only

public string|null $buyerReference = null

$dueDate read-only

public DateTimeImmutable|null $dueDate = null

$issueDate read-only

public DateTimeImmutable $issueDate

Methods

__construct()

public __construct(string $invoiceNumber, XRechnungInvoiceTypeCode $type, DateTimeImmutable $issueDate, string $currency[, DateTimeImmutable|null $dueDate = null ][, string|null $buyerReference = null ][, string|null $note = null ]) : mixed
Parameters
$invoiceNumber : string
$type : XRechnungInvoiceTypeCode
$issueDate : DateTimeImmutable
$currency : string
$dueDate : DateTimeImmutable|null = null
$buyerReference : string|null = null
$note : string|null = null

        
On this page

Search results