feriennet.qrbill

Attributes

SUPPORTED_LANGUAGES

Functions

beneficiary_to_creditor(→ dict[str, str] | None)

swiss_iban(→ bool)

qr_iban(→ bool)

generate_qr_bill(→ bytes | None)

Generates a QR Bill and returns it as base64 encoded SVG.

Module Contents

feriennet.qrbill.beneficiary_to_creditor(value: str | None) dict[str, str] | None[source]
feriennet.qrbill.swiss_iban(value: str) bool[source]
feriennet.qrbill.qr_iban(value: str) bool[source]
feriennet.qrbill.SUPPORTED_LANGUAGES: dict[str | None, Literal['en', 'de', 'fr', 'it']][source]
feriennet.qrbill.generate_qr_bill(schema: str, request: onegov.feriennet.request.FeriennetRequest, user: onegov.user.User, invoice: onegov.activity.models.Invoice) bytes | None[source]

Generates a QR Bill and returns it as base64 encoded SVG.