Quittio 0.3 API

GermanInvoice
in package

Read onlyYes
FinalYes

German special cases of an invoice, reached with the builder macro de():

InvoiceBuilder::make()->de()->smallAmount()->number(…) Quittio::invoice()->de()->deductAdvance($advanceInvoice)->…

Every method returns the builder, so the chain continues there. The $locale of the notes selects their language; locales without a text of the pack get the German text.

Tags
template

Table of Contents

Constants

ADVANCE_TYPES  : array<string|int, mixed> = [\Quittio\Core\Enums\InvoiceTypeCode::Commercia...
Type codes of documents that can be deducted as advance invoices: invoices that request a payment, not credit notes, debit notes, corrected invoices or final invoices.

Methods

__construct()  : mixed
consumerDefaultNotice()  : TBuilder
Notice that a consumer is in default 30 days after the due date (section 286 (3) BGB).
deductAdvance()  : TBuilder
Final invoice (section 14 (5) sentence 2 UStG) that deducts a paid advance invoice with its net amounts and VAT per rate. The full service is invoiced with its full VAT, the advance payment reduces the amount due (BT-113) and is referenced (BG-3) and itemised (BT-22).
newVehicle()  : TBuilder
Intra-community supply of a new vehicle (section 14a (4) UStG): the vehicle details are the line attributes (DE-USTG-07), the lines use VatPreset::IntraCommunitySupply (DE-USTG-13).
propertyRelatedService()  : TBuilder
Service in connection with a property to a non-business buyer, with the retention note (section 14 (4) no. 9 UStG).
selfBilled()  : TBuilder
Self-billed invoice (type code 389) with the note "Gutschrift" (section 14 (4) no. 10 UStG).
smallAmount()  : TBuilder
Small amount invoice of at most 250 EUR gross (section 33 UStDV; the limit of the issue date).

Constants

ADVANCE_TYPES

Type codes of documents that can be deducted as advance invoices: invoices that request a payment, not credit notes, debit notes, corrected invoices or final invoices.

public array<string|int, mixed> ADVANCE_TYPES = [\Quittio\Core\Enums\InvoiceTypeCode::CommercialInvoice, \Quittio\Core\Enums\InvoiceTypeCode::PrepaymentInvoice, \Quittio\Core\Enums\InvoiceTypeCode::PartialInvoice, \Quittio\Core\Enums\InvoiceTypeCode::PartialConstructionInvoice, \Quittio\Core\Enums\InvoiceTypeCode::SelfBilledInvoice]

Methods

__construct()

public __construct(TBuilder $builder) : mixed
Parameters
$builder : TBuilder

consumerDefaultNotice()

Notice that a consumer is in default 30 days after the due date (section 286 (3) BGB).

public consumerDefaultNotice([string $locale = 'de' ]) : TBuilder
Parameters
$locale : string = 'de'
Return values
TBuilder

deductAdvance()

Final invoice (section 14 (5) sentence 2 UStG) that deducts a paid advance invoice with its net amounts and VAT per rate. The full service is invoiced with its full VAT, the advance payment reduces the amount due (BT-113) and is referenced (BG-3) and itemised (BT-22).

public deductAdvance(InvoiceData $advance[, string $locale = 'de' ]) : TBuilder
Parameters
$advance : InvoiceData
$locale : string = 'de'
Tags
throws
InvalidArgumentException

for a document that is no paid advance invoice in the currency of the builder

Return values
TBuilder

newVehicle()

Intra-community supply of a new vehicle (section 14a (4) UStG): the vehicle details are the line attributes (DE-USTG-07), the lines use VatPreset::IntraCommunitySupply (DE-USTG-13).

public newVehicle([string $locale = 'de' ]) : TBuilder
Parameters
$locale : string = 'de'
Return values
TBuilder

propertyRelatedService()

Service in connection with a property to a non-business buyer, with the retention note (section 14 (4) no. 9 UStG).

public propertyRelatedService([string $locale = 'de' ]) : TBuilder
Parameters
$locale : string = 'de'
Return values
TBuilder

selfBilled()

Self-billed invoice (type code 389) with the note "Gutschrift" (section 14 (4) no. 10 UStG).

public selfBilled([string $locale = 'de' ]) : TBuilder
Parameters
$locale : string = 'de'
Return values
TBuilder

smallAmount()

Small amount invoice of at most 250 EUR gross (section 33 UStDV; the limit of the issue date).

public smallAmount() : TBuilder
Return values
TBuilder
On this page

Search results