ticket.models.invoice
Classes
An invoice belonging to a specific ticket. |
Module Contents
- class ticket.models.invoice.TicketInvoice[source]
Bases:
onegov.pay.Invoice
An invoice belonging to a specific ticket.
- add(group: str, text: str, unit: decimal.Decimal, quantity: decimal.Decimal = Decimal('1'), *, submission_id: uuid.UUID | None = None, reservation_id: int | None = None, family: str | None = None, vat_rate: decimal.Decimal | None = None, tid: str | None = None, source: str | None = None, flush: bool = True, **kwargs: Any) onegov.ticket.TicketInvoiceItem [source]