Acts become a second e-taxes source alongside EQF invoices. The act seller
is a physical person identified by FIN, not a company TIN.
- fetch: get_purchase_acts (act/find.sent), get_purchase_act_details,
load_single_act_batch
- reference loading: Data Loading dialog now has two groups — data types
(items/units/customers/suppliers) and sources (inbox/outbox/acts). Acts
create individual E-Taxes Suppliers (is_individual + fin) plus their
items/units
- mapping: get_unmapped_suppliers / match_similar_suppliers /
create_unmapped_suppliers carry is_individual + fin and create an
Individual ERP Supplier (matched by FIN)
- import: import_act_with_mapping builds PO+PI with purchase_type=1,
act_type="Purchase Act", act_kind, per-line tax_type and 5%
purchase_tax_amount, and update_stock=1 (acts are always goods)
- EQF import now stamps purchase_type=1 / act_type="EQF"
- unified bulk job import_bulk_purchase_documents routes by kind; the PO
list dialog gains an Invoices / Acts / Both source selector
Fixes found while building this:
- update_mapped_statuses reset blocks compared on an unfetched
etaxes_party_name (always None), resetting every Mapped supplier and
customer back to New on each settings save
- E-Taxes Item.etaxes_item_code is unique, but act lines carry no itemId;
the shared CODE-{serial} fallback silently dropped all but the first act
line. Now uses detailOid, else a per-index code
- act items are goods: from_act forces is_service=0 so they default to
stock items
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
||
|---|---|---|
| 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