Skip to content

Setting Xinvoice.Currency property directly with valid data gives validation error #1

@jevonearth

Description

@jevonearth

When setting property directly

inv.CurrencyCode = 'USD'

Library raises a ValueError("Currency code should be three letters")

When using the setter method, things work fine.

inv.set_currency_code('USD')

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions