-
Notifications
You must be signed in to change notification settings - Fork 58
Critical error on LLC business structures #213
Copy link
Copy link
Open
Description
If a user selects any of the following business structures:
- CCORPORATIONLLC = LLC (C corporation)
- PARTNERSHIPLLC = LLC (Partnership)
- SCORPORATIONLLC = LLC (S corporation)
- SINGLEMEMBERLLC = LLC (Sole owner)
- UNSPECIFIED = Unspecified
from here:
Only these values:
- COMPANY = C corporation
- CHARITY = Exempt Organization
- NOTFORPROFIT = Nonprofit
- PARTNERSHIP = Partnership
- TRUST = Private Foundation
- SCORPORATION = S corporation
- SOLETRADER = Sole Proprietor
Are defined in:
xero-python/xero_python/accounting/models/organisation.py
Lines 423 to 438 in 5544d7d
| allowed_values = [ | |
| "ACCOUNTING_PRACTICE", | |
| "COMPANY", | |
| "CHARITY", | |
| "CLUB_OR_SOCIETY", | |
| "INDIVIDUAL", | |
| "LOOK_THROUGH_COMPANY", | |
| "NOT_FOR_PROFIT", | |
| "PARTNERSHIP", | |
| "S_CORPORATION", | |
| "SELF_MANAGED_SUPERANNUATION_FUND", | |
| "SOLE_TRADER", | |
| "SUPERANNUATION_FUND", | |
| "TRUST", | |
| "None", | |
| ] # noqa: E501 |
and
xero-python/xero_python/accounting/models/organisation.py
Lines 900 to 915 in 5544d7d
| allowed_values = [ | |
| "ACCOUNTING_PRACTICE", | |
| "COMPANY", | |
| "CHARITY", | |
| "CLUB_OR_SOCIETY", | |
| "INDIVIDUAL", | |
| "LOOK_THROUGH_COMPANY", | |
| "NOT_FOR_PROFIT", | |
| "PARTNERSHIP", | |
| "S_CORPORATION", | |
| "SELF_MANAGED_SUPERANNUATION_FUND", | |
| "SOLE_TRADER", | |
| "SUPERANNUATION_FUND", | |
| "TRUST", | |
| "None", | |
| ] # noqa: E501 |
I'm happy to open a pull request, but don't if there are others missing from non_US entity types.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels