Quittio\Core\Builder
quittio/core#
Quittio\Core\Builder
InvoiceBuilderFluent builder for InvoiceData.LineStarts an invoice line for InvoiceBuilder::line() and lines() without a callback: ->line(Line::make('Consulting', netPrice: '120.00')->sellerId('C-1')). Simple lines need no builder: ->line('Consulting', netPrice: '120.00', quantity: 4, unit: UnitCode::Hour).LineBuilderFluent builder for an invoice line (BG-25).PartyStarts a seller or buyer for InvoiceBuilder::seller() and buyer() without a callback: ->buyer(Party::make('Kunde AG')->vatId('DE987654321')->address('Weg 1', '54321', 'Beispielstadt', 'DE')).PartyBuilderFluent builder for the seller (BG-4), the buyer (BG-7) and the payee (BG-10).PaymentTermsBuilderFluent builder for structured payment terms (BT-20, BT-9).
Quittio\Core\Builder\Concerns
BuildsAllowancesAndChargestraitDocument level allowances and charges (BG-20, BG-21) and discounts split over the VAT rates.BuildsDeliverytraitDelivery information (BG-13) and the invoicing period (BG-14).BuildsExtensionstraitData of the EXTENDED profile and of the XRechnung extension.BuildsHeadertraitInvoice number, dates, type, currencies, business process and standard version.BuildsLinestraitInvoice lines (BG-25) and their groups.BuildsNotesAndAttachmentstraitInvoice notes (BG-1) and supporting documents (BG-24).BuildsPartiestraitSeller, buyer, payee and tax representative (BG-4, BG-7, BG-10, BG-11).BuildsPaymenttraitPayment instructions (BG-16 to BG-19), payment terms and the prepaid and rounding amounts (BT-113, BT-114).BuildsPresentationAndMetatraitPresentation, locale, time zone, custom values, flags and the source of the invoice.BuildsReferencestraitDocument references (BT-10 to BT-19, BG-3) and the invoiced object.