Quittio 0.3 API

BuildsReferences

Document references (BT-10 to BT-19, BG-3) and the invoiced object.

Part of InvoiceBuilder, which holds the state; use the builder, not the trait.

Table of Contents

Methods

buyerAccountingReference()  : static
The buyer's accounting reference (BT-19), e.g. a cost centre; null removes it.
buyerReference()  : static
Buyer reference (BT-10). For public sector buyers in Germany this is the Leitweg-ID.
contractReference()  : static
Contract reference (BT-12); null removes it.
despatchAdviceReference()  : static
Despatch advice reference (BT-16); null removes it.
invoicedObject()  : static
Identifier of the invoiced object (BT-18), e.g. a meter or subscription number, with its scheme (BT-18-1).
precedingInvoice()  : static
Adds a reference to a preceding invoice (BG-3): its number (BT-25) and issue date (BT-26), e.g. for a corrected invoice or a credit note.
projectReference()  : static
Project reference (BT-11) with the project name, which CII requires in addition to the identifier.
purchaseOrderReference()  : static
The buyer's purchase order reference (BT-13); null removes it.
receivingAdviceReference()  : static
Receiving advice reference (BT-15); null removes it.
salesOrderReference()  : static
The seller's sales order reference (BT-14); null removes it.
tenderReference()  : static
Tender or lot reference (BT-17); null removes it.

Methods

buyerAccountingReference()

The buyer's accounting reference (BT-19), e.g. a cost centre; null removes it.

public buyerAccountingReference(string|null $reference) : static
Parameters
$reference : string|null
Return values
static

buyerReference()

Buyer reference (BT-10). For public sector buyers in Germany this is the Leitweg-ID.

public buyerReference(string|null $reference) : static
Parameters
$reference : string|null
Return values
static

contractReference()

Contract reference (BT-12); null removes it.

public contractReference(string|null $reference) : static
Parameters
$reference : string|null
Return values
static

despatchAdviceReference()

Despatch advice reference (BT-16); null removes it.

public despatchAdviceReference(string|null $reference) : static
Parameters
$reference : string|null
Return values
static

invoicedObject()

Identifier of the invoiced object (BT-18), e.g. a meter or subscription number, with its scheme (BT-18-1).

public invoicedObject(string $value[, string|RawCode|null $scheme = null ]) : static
Parameters
$value : string
$scheme : string|RawCode|null = null
Return values
static

precedingInvoice()

Adds a reference to a preceding invoice (BG-3): its number (BT-25) and issue date (BT-26), e.g. for a corrected invoice or a credit note.

public precedingInvoice(string $number[, Date|DateTimeInterface|string|null $issueDate = null ]) : static
Parameters
$number : string
$issueDate : Date|DateTimeInterface|string|null = null
Return values
static

projectReference()

Project reference (BT-11) with the project name, which CII requires in addition to the identifier.

public projectReference(string $id[, string|null $name = null ]) : static
Parameters
$id : string
$name : string|null = null
Return values
static

purchaseOrderReference()

The buyer's purchase order reference (BT-13); null removes it.

public purchaseOrderReference(string|null $reference) : static
Parameters
$reference : string|null
Return values
static

receivingAdviceReference()

Receiving advice reference (BT-15); null removes it.

public receivingAdviceReference(string|null $reference) : static
Parameters
$reference : string|null
Return values
static

salesOrderReference()

The seller's sales order reference (BT-14); null removes it.

public salesOrderReference(string|null $reference) : static
Parameters
$reference : string|null
Return values
static

tenderReference()

Tender or lot reference (BT-17); null removes it.

public tenderReference(string|null $reference) : static
Parameters
$reference : string|null
Return values
static
On this page

Search results