mixins.buying
Provides functionality to Transactions that can purchase goods and services for an Entity.
Module Contents
Classes
This class provides validation for Transaction that buy goods and services for an Entity. |
- class mixins.buying.BuyingMixin(**kw: Any)
Bases:
python_accounting.mixins.trading.TradingMixinThis class provides validation for Transaction that buy goods and services for an Entity.
- line_item_types: list
A list of Account Types that are allowed as Line Item accounts for buying Transactions.
- Type:
(list of Account.AccountType)
- main_account_types: list
A list of Account Types that are allowed as main accounts for buying Transactions.
- Type:
(list of Account.AccountType)
- account_type_map: dict
A mapping of Transactions to the Account Types that apply to their validation.
- Type:
(dict of Account.AccountType)