load_company_bank_accounts now makes every non-closed e-taxes bank record usable inside ERPNext, not just a read-only E-Taxes Bank Account cache row: - Bank (global, one per unique bankName) — idempotent insert. - GL Account under parent "223 Bank hesablaşma hesabları", named "<CUR> <IBAN>", account_type=Bank, account_currency from e-taxes. Parent discovered by account_number=223 with a name-prefix fallback. - Bank Account linking Bank + GL Account + Company, is_company_account=1, iban + bank_account_no = the AZ IBAN. Closed accounts (status=C) are left at cache-row only; no native records are created for them. After the loop, unused AZ CoA placeholder accounts (names like "AZN AZXXXXXXXXXXXXXXXXXXXXXXXXXX" under the bank group) are deleted so the chart isn't cluttered with unmatched templates. Per-record failures go to the "E-Taxes Bank Native Materialize" error log and don't abort the overall load. |
||
|---|---|---|
| invoice_az | ||
| test_invoice.git | ||
| .editorconfig | ||
| .eslintrc | ||
| .gitignore | ||
| .pre-commit-config.yaml | ||
| BUGFIX_STATUS_201.md | ||
| BUGFIX_TAX_TYPE.md | ||
| BUGS_VAT_OPERATIONS.md | ||
| CLAUDE.md | ||
| IMPLEMENTATION_COMPLETE.txt | ||
| IMPLEMENTATION_SUMMARY.md | ||
| MIGRATION_GUIDE.md | ||
| PLASTIC_DISPOSAL_IMPLEMENTATION.md | ||
| PROJECT_OVERVIEW.md | ||
| QA_SEND_INVOICE.md | ||
| README.md | ||
| README_TAX_TYPE_FEATURE.md | ||
| TECHNICAL_SPEC_TAX_TYPE.md | ||
| TIRE_DISPOSAL_IMPLEMENTATION.md | ||
| USER_GUIDE_TAX_TYPE.md | ||
| classification_codes.txt | ||
| invoice asan.txt | ||
| invoice.txt | ||
| item_group_codes.txt | ||
| item_group_codes_service.txt | ||
| license.txt | ||
| pyproject.toml | ||
README.md
Invoice Az
This application uploads and downloads invoices from e taxes gov az
Installation
You can install this app using the bench CLI:
cd $PATH_TO_YOUR_BENCH
bench get-app $URL_OF_THIS_REPO --branch develop
bench install-app invoice_az
Contributing
This app uses pre-commit for code formatting and linting. Please install pre-commit and enable it for this repository:
cd apps/invoice_az
pre-commit install
Pre-commit is configured to use the following tools for checking and formatting your code:
- ruff
- eslint
- prettier
- pyupgrade
License
unlicense