activity.models.invoice
Classes
A grouping of invoice items. |
Functions
|
Module Contents
- activity.models.invoice.sync_invoice_items(items: Iterable[InvoiceItem], capture: bool = True) None [source]
- class activity.models.invoice.Invoice[source]
Bases:
onegov.core.orm.Base
,onegov.core.orm.mixins.TimestampMixin
A grouping of invoice items.
- items: relationship[list[InvoiceItem]][source]
- references: relationship[list[InvoiceReference]][source]
- add(group: str, text: str, unit: decimal.Decimal, quantity: decimal.Decimal, organizer: str = '', attendee_id: uuid.UUID | None = None, flush: bool = True, **kwargs: Any) onegov.activity.models.invoice_item.InvoiceItem [source]
- discourage_changes_for_items(items: Iterable[InvoiceItem]) bool [source]
- disable_changes_for_items(items: Iterable[InvoiceItem]) bool [source]
- has_online_payments_for_items(items: Iterable[InvoiceItem]) bool [source]