Motamed ASA
2d06563b6c
feat(tax): send Motamed ASA invoices to the tax sandbox in sandbox mode
...
Hesabix asked for a sandbox. Motamed ASA's API v2 has no separate sandbox
host: the same base URL, token and client credentials are used, and each
/send member says where it goes with sandBox (API v2 docs, section 05F).
No new table, column or migration; Direct and Fanava are unchanged.
- With tax_settings.sandbox_mode on, every /api/invoice/send member
(original, return) carries sandBox: true and no fiscalId: ASA accepts it
only with the business's Sandbox fiscal memory (its default, or the only
active one) and sends it to the tax organisation's sandbox. The memory id
issued at sign-up is a production one. In production mode the member
carries sandBox: false and that memory id, as before.
- editInvoice, cancelInvoice and registerPayment take no sandBox: an invoice
keeps the environment it was registered in (docs 08D). Each document
records its environment in extra_info.asa_sandbox (chains sent before this
change are production), and a sandbox chain has its own internalId
(hesabix-sandbox-{id}), as ASA keeps internalIds unique per business across
both environments.
- Changing the setting never moves an invoice. Before the document is marked
as being sent, a correction or cancellation of an invoice from the other
environment is refused (MOTAMED_ASA_ENVIRONMENT_MISMATCH); an original or
return whose chain there is unknown to ASA or was refused starts again in
the current environment, one registered or in flight is refused. Payment
registration follows the same rule; reading payments and inquiries work in
either mode, each chain by its stored internalId. A return must refer to a
sale of its own environment (MOTAMED_ASA_REFERENCE_OTHER_ENVIRONMENT).
- The MOTAMED_ASA_SANDBOX_UNAVAILABLE guards are removed (settings save,
provider selection, manual credentials, sending); Fanava's stay.
- Tax settings: Motamed ASA stays selectable in sandbox mode, and a note says
where invoices go and that the business's Sandbox fiscal memory must be
registered with Motamed ASA. motamedAsaSandboxNote replaces the now unused
motamedAsaSandboxUnavailable (ARB and generated files).
Tests: tests/test_motamed_asa_sandbox.py
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 04:02:12 +03:00
..
backup
some bug fix and 3 new themes
2026-09-01 20:52:34 +00:00
barcode_labels
Persist roll-label column count on save and print each row as its own page.
2026-10-29 01:56:06 +03:30
basalam
some more bug fixes that users reported
2026-09-15 08:53:44 +00:00
crm
Show person names on calls and CRM by matching numbers to the persons phone book.
2026-10-31 20:56:10 +03:30
customer_club
fix(flutter): restore customer club web compilation
2026-10-25 19:21:47 +03:30
dashboard
bug fix in fiscal year combobox select
2026-09-22 15:36:18 +00:00
digipay
feat(digipay): add credit payments with delayed settlement
2026-11-01 02:28:50 +03:30
distribution
Raise the distribution plugin to org-grade SFA with scoped access, GPS consent, and a split field UI.
2026-10-28 16:17:39 +03:30
fixed_assets
Use the shared Jalali/Gregorian date picker across the fixed-assets plugin so period and report dates follow the business calendar.
2026-10-30 15:20:17 +03:30
hscript
some more bug fixes that users reported
2026-09-15 08:53:44 +00:00
office_automation
feat(office-automation): add commercial correspondence suite
2026-11-02 15:15:33 +03:30
payroll
some bug fix and 3 new themes
2026-09-01 20:52:34 +00:00
repair_shop
feat(inventory): add opt-in lot and expiry tracking for perishables
2026-11-02 23:22:50 +03:30
settings
feat: add office automation plugin and public business pay pages
2026-11-01 22:18:23 +03:30
telephony
fix(telephony): keep softphone outbound on one call and show real errors
2026-11-01 13:36:50 +03:30
woocommerce
some more bug fixes that users reported
2026-09-15 08:53:44 +00:00
account_review_report_page.dart
bug fix in fiscal year combobox select
2026-09-22 15:36:18 +00:00
accounts_page.dart
redesign in color of accounting table
2026-07-31 15:29:39 +00:00
activity_logs_page.dart
some bug fix and 3 new themes
2026-09-01 20:52:34 +00:00
adjustment_documents_report_page.dart
some bug fix in back botton
2026-08-15 11:51:17 +00:00
ai_chat_page.dart
some stability in ai
2026-08-21 14:14:21 +00:00
ai_skills_marketplace_page.dart
some more bug fixes that users reported
2026-09-15 08:53:44 +00:00
ai_skills_publisher_revenue_page.dart
some back botton fixes
2026-08-15 12:11:14 +00:00
ai_subscription_page.dart
some bug fix in back botton
2026-08-15 11:51:17 +00:00
ai_usage_page.dart
some more bug fixes that users reported
2026-09-15 08:53:44 +00:00
ap_aging_report_page.dart
almost complete multi currency progress
2026-08-10 10:48:25 +00:00
ar_aging_report_page.dart
almost complete multi currency progress
2026-08-10 10:48:25 +00:00
ar_ap_aging_report_shared.dart
bug fix in fiscal year combobox select
2026-09-22 15:36:18 +00:00
balance_sheet_report_page.dart
bug fix in fiscal year combobox select
2026-09-22 15:36:18 +00:00
bank_accounts_page.dart
some bug fix and 3 new themes
2026-09-01 20:52:34 +00:00
bank_accounts_turnover_report_page.dart
bug fix in fiscal year combobox select
2026-09-22 15:36:18 +00:00
basalam_reports_pages.dart
some bug fix and 3 new themes
2026-09-01 20:52:34 +00:00
business_ai_provider_settings_page.dart
some bug fix and 3 new themes
2026-09-01 20:52:34 +00:00
business_currencies_settings_page.dart
some bug fix and 3 new themes
2026-09-01 20:52:34 +00:00
business_info_settings_page.dart
fix(invoice): enforce purchase price profit contracts
2026-10-26 21:46:29 +03:30
business_shell.dart
fix(office-automation): expand sidebar group so OA submenus open
2026-11-02 16:51:35 +03:30
business_shell_side_nav_scope.dart
more bug fix in permission control and reports
2026-05-07 22:21:45 +03:30
cash_flow_report_page.dart
bug fix in fiscal year combobox select
2026-09-22 15:36:18 +00:00
cash_petty_turnover_report_page.dart
bug fix in fiscal year combobox select
2026-09-22 15:36:18 +00:00
cash_registers_page.dart
some bug fix and 3 new themes
2026-09-01 20:52:34 +00:00
catalog_spec_fields_page.dart
some bug fix and 3 new themes
2026-09-01 20:52:34 +00:00
check_details_dialog.dart
some bug fix and 3 new themes
2026-09-01 20:52:34 +00:00
check_form_page.dart
some bug fix in cheques and progress in ai voice streamim and missing fonts
2026-05-27 20:39:29 +00:00
check_reconciliation_page.dart
some bug fix and 3 new themes
2026-09-01 20:52:34 +00:00
checks_page.dart
some bug fix and 3 new themes
2026-09-01 20:52:34 +00:00
credit_settings_page.dart
more bug fix
2026-04-25 12:59:05 +00:00
creditors_report_page.dart
bug fix in fiscal year combobox select
2026-09-22 15:36:18 +00:00
critical_stock_report_page.dart
some bug fix in back botton
2026-08-15 11:51:17 +00:00
currency_revaluation_page.dart
progress in multi fx providers
2026-07-18 08:41:51 +00:00
daily_purchases_report_page.dart
bug fix in fiscal year combobox select
2026-09-22 15:36:18 +00:00
daily_sales_report_page.dart
bug fix in fiscal year combobox select
2026-09-22 15:36:18 +00:00
debtors_report_page.dart
bug fix in fiscal year combobox select
2026-09-22 15:36:18 +00:00
distribution_reports_dashboard_page.dart
Raise the distribution plugin to org-grade SFA with scoped access, GPS consent, and a split field UI.
2026-10-28 16:17:39 +03:30
document_monetization_page.dart
some bug fix and 3 new themes
2026-09-01 20:52:34 +00:00
document_numbering_settings_page.dart
more bug fix
2026-04-25 12:59:05 +00:00
documents_mobile_view.dart
Move repair-shop, telephony, and document strings onto the existing i18n catalogs.
2026-10-31 11:54:01 +03:30
documents_page.dart
Move repair-shop, telephony, and document strings onto the existing i18n catalogs.
2026-10-31 11:54:01 +03:30
edit_invoice_page.dart
feat(inventory): add opt-in lot and expiry tracking for perishables
2026-11-02 23:22:50 +03:30
expense_income_dialog.dart
some bug fix and 3 new themes
2026-09-01 20:52:34 +00:00
expense_income_list_page.dart
bug fix in fiscal year combobox select
2026-09-22 15:36:18 +00:00
expense_income_page.dart
some bug fix and 3 new themes
2026-09-01 20:52:34 +00:00
expiry_stock_report_page.dart
feat(inventory): add opt-in lot and expiry tracking for perishables
2026-11-02 23:22:50 +03:30
financial_reports_package_page.dart
bug fix in fiscal year combobox select
2026-09-22 15:36:18 +00:00
fiscal_year_rollback_page.dart
some bug fix and 3 new themes
2026-09-01 20:52:34 +00:00
fiscal_year_settings_page.dart
some bug fix and 3 new themes
2026-09-01 20:52:34 +00:00
fx_auto_sync_settings_page.dart
some bug fix and 3 new themes
2026-09-01 20:52:34 +00:00
fx_revaluation_report_page.dart
bug fix in fiscal year combobox select
2026-09-22 15:36:18 +00:00
fx_revaluation_settings_page.dart
some improve in multi currency
2026-07-25 20:39:16 +00:00
general_ledger_report_page.dart
bug fix in fiscal year combobox select
2026-09-22 15:36:18 +00:00
installment_plans_page.dart
more bug fix
2026-04-25 12:59:05 +00:00
installments_report_page.dart
bug fix in fiscal year combobox select
2026-09-22 15:36:18 +00:00
inter_warehouse_transfers_report_page.dart
some bug fix in back botton
2026-08-15 11:51:17 +00:00
inventory_kardex_report_page.dart
bug fix in fiscal year combobox select
2026-09-22 15:36:18 +00:00
inventory_stock_report_page.dart
bug fix in fiscal year combobox select
2026-09-22 15:36:18 +00:00
inventory_turnover_report_page.dart
some bug fix in back botton
2026-08-15 11:51:17 +00:00
inventory_valuation_report_page.dart
some bug fix in back botton
2026-08-15 11:51:17 +00:00
invoice_page.dart
change file permissions
2026-04-14 19:34:55 +03:30
invoice_share_payment_settings_page.dart
add most des
2026-05-17 23:37:03 +03:30
invoices_list_page.dart
bug fix in fiscal year combobox select
2026-09-22 15:36:18 +00:00
item_movements_report_page.dart
bug fix in fiscal year combobox select
2026-09-22 15:36:18 +00:00
journal_ledger_report_page.dart
bug fix in fiscal year combobox select
2026-09-22 15:36:18 +00:00
kardex_page.dart
Add multi-currency kardex display
2026-10-26 18:47:03 +03:30
loan_facilities_page.dart
progress in basalam and woc bridge
2026-05-14 01:30:20 +03:30
marketplace_invoices_page.dart
some back botton fixes
2026-08-15 12:11:14 +00:00
materials_consumption_report_page.dart
bug fix in fiscal year combobox select
2026-09-22 15:36:18 +00:00
monthly_sales_report_page.dart
bug fix in fiscal year combobox select
2026-09-22 15:36:18 +00:00
new_invoice_page.dart
feat(inventory): add opt-in lot and expiry tracking for perishables
2026-11-02 23:22:50 +03:30
notification_template_form_page.dart
some bug fix and 3 new themes
2026-09-01 20:52:34 +00:00
notification_templates_page.dart
some bug fix and 3 new themes
2026-09-01 20:52:34 +00:00
opening_balance_page.dart
fix(products): optimize Excel import opening balance
2026-10-01 19:44:08 +03:30
pay_page_payment_details_dialog.dart
feat(pay-page): show deposit details in-place with gateway card and tracking
2026-11-02 12:59:55 +03:30
pay_page_poster_pdf.dart
fix(pay-page): post successful deposits to the customer and show a correct receipt
2026-11-02 16:02:05 +03:30
pay_page_settings_page.dart
feat(pay-page): show deposit details in-place with gateway card and tracking
2026-11-02 12:59:55 +03:30
payment_result_page.dart
some bug fix and 3 new themes
2026-09-01 20:52:34 +00:00
pending_documents_report_page.dart
some bug fix in back botton
2026-08-15 11:51:17 +00:00
people_transactions_report_page.dart
bug fix in fiscal year combobox select
2026-09-22 15:36:18 +00:00
period_end_fx_revaluation_page.dart
some improve in multi currency
2026-07-25 20:39:16 +00:00
person_balances_by_currency_report_page.dart
bug fix in fiscal year combobox select
2026-09-22 15:36:18 +00:00
person_details_dialog.dart
Show person names on calls and CRM by matching numbers to the persons phone book.
2026-10-31 20:56:10 +03:30
persons_page.dart
Show person names on calls and CRM by matching numbers to the persons phone book.
2026-10-31 20:56:10 +03:30
petty_cash_page.dart
some bug fix and 3 new themes
2026-09-01 20:52:34 +00:00
plugin_marketplace_page.dart
some back botton fixes
2026-08-15 12:11:14 +00:00
pnl_cumulative_report_page.dart
bug fix in fiscal year combobox select
2026-09-22 15:36:18 +00:00
pnl_period_report_page.dart
bug fix in fiscal year combobox select
2026-09-22 15:36:18 +00:00
price_list_items_page.dart
some bug fix and 3 new themes
2026-09-01 20:52:34 +00:00
price_lists_page.dart
some bug fix and 3 new themes
2026-09-01 20:52:34 +00:00
print_settings_page.dart
Fix invoice PDF currency symbols when the general print setting is on.
2026-10-27 19:15:20 +03:30
product_attributes_page.dart
some bug fix and 3 new themes
2026-09-01 20:52:34 +00:00
product_bulk_prices_sheet_page.dart
some bug fixes that users reported
2026-08-15 15:18:02 +00:00
product_bundles_page.dart
feat(products): add product bundles to sales invoices
2026-10-03 20:56:26 +03:30
product_movement_history_report_page.dart
some bug fix in back botton
2026-08-15 11:51:17 +00:00
production_report_page.dart
bug fix in fiscal year combobox select
2026-09-22 15:36:18 +00:00
products_page.dart
some bug fix and 3 new themes
2026-09-01 20:52:34 +00:00
projects_page.dart
some user bug reports
2026-09-13 15:12:21 +00:00
quick_sales_page.dart
feat(inventory): add opt-in lot and expiry tracking for perishables
2026-11-02 23:22:50 +03:30
quick_sales_settings_page.dart
feat(quick-sales): complete mobile checkout and stock workflows
2026-10-31 18:38:38 +03:30
receipts_payments_list_page.dart
Add configurable direct PDF printing
2026-10-20 16:20:17 +03:30
receipts_payments_page.dart
bug fix in transactions show in invoice
2026-07-30 21:22:53 +00:00
report_template_html_editor_page.dart
feat(report-templates): add interactive multi-size invoice canvas
2026-10-20 17:13:25 +03:30
report_template_studio_page.dart
feat(report-templates): add full-page responsive grid studio
2026-10-21 12:26:28 +03:30
report_templates_page.dart
feat(report-templates): add block-based invoice studio
2026-10-19 22:16:13 +03:30
reports_page.dart
feat(inventory): add opt-in lot and expiry tracking for perishables
2026-11-02 23:22:50 +03:30
sales_by_product_report_page.dart
bug fix in fiscal year combobox select
2026-09-22 15:36:18 +00:00
settings_page.dart
feat(digipay): add credit payments with delayed settlement
2026-11-01 02:28:50 +03:30
slow_moving_items_report_page.dart
some bug fix in back botton
2026-08-15 11:51:17 +00:00
sms_bank_assistant_settings_page.dart
some back botton fixes
2026-08-15 12:11:14 +00:00
stock_count_report_page.dart
progress in filter table, guide and some other
2026-05-14 22:34:15 +03:30
storage_file_manager_page.dart
some bug fix and 3 new themes
2026-09-01 20:52:34 +00:00
storage_files_page.dart
some bug fix and 3 new themes
2026-09-01 20:52:34 +00:00
tax_settings_page.dart
feat(tax): send Motamed ASA invoices to the tax sandbox in sandbox mode
2026-11-03 04:02:12 +03:00
tax_workspace_page.dart
feat(tax): add Motamed ASA as a tax submission provider
2026-10-20 02:01:02 +03:00
top_customers_report_page.dart
bug fix in fiscal year combobox select
2026-09-22 15:36:18 +00:00
top_suppliers_report_page.dart
bug fix in fiscal year combobox select
2026-09-22 15:36:18 +00:00
transfers_page.dart
bug fix in fiscal year combobox select
2026-09-22 15:36:18 +00:00
trial_balance_report_page.dart
bug fix in fiscal year combobox select
2026-09-22 15:36:18 +00:00
users_permissions_page.dart
feat(inventory): add opt-in lot and expiry tracking for perishables
2026-11-02 23:22:50 +03:30
wallet_page.dart
feat: add office automation plugin and public business pay pages
2026-11-01 22:18:23 +03:30
wallet_payment_result_page.dart
some bug fix and 3 new themes
2026-09-01 20:52:34 +00:00
warehouse_documents_summary_report_page.dart
some bug fix in back botton
2026-08-15 11:51:17 +00:00
warehouse_locations_page.dart
some bug fix in back botton
2026-08-15 11:51:17 +00:00
warehouse_performance_report_page.dart
some bug fix in back botton
2026-08-15 11:51:17 +00:00
warehouses_page.dart
progress in filter table, guide and some other
2026-05-14 22:34:15 +03:30
warranty_management_page.dart
some back botton fixes
2026-08-15 12:11:14 +00:00
warranty_settings_page.dart
more bug fix
2026-04-25 12:59:05 +00:00
woocommerce_reports_pages.dart
some more bug fixes that users reported
2026-09-15 08:53:44 +00:00
workflow_marketplace_page.dart
some back botton fixes
2026-08-15 12:11:14 +00:00
workflow_visual_editor_page.dart
some bug fix and 3 new themes
2026-09-01 20:52:34 +00:00
workflows_page.dart
some bug fix and 3 new themes
2026-09-01 20:52:34 +00:00
year_end_closing_page.dart
some bug fix and 3 new themes
2026-09-01 20:52:34 +00:00
zohal_inquiries_page.dart
some back botton fixes
2026-08-15 12:11:14 +00:00