magentoj/magento-japan-tax
Composer 安装命令:
composer require magentoj/magento-japan-tax
包简介
This module provides the correct tax calculation and qualified invoices as required by the Japanese Consumption Tax (JCT) law.
README 文档
README
This module provides the correct tax calculation and qualified invoices as required by the Qualified Invoice System which will be effective from October 2023 under the Japanese Consumption Tax (JCT) law.
Tax Information
The following rows will be added to totals at the checkout, order, and invoice views.
- Subtotal Subject to 10% Tax
- Subtotal Subject to 8% Tax
- 10% Tax
- 8% Tax
The subtotals will be shown with tax included if catalog prices are including tax. The catalog price setting can be checked at Stores > Configuration > SALES > Tax > Calculation Settings > Catalog Prices.
A tax registration number (usually 14 characters, beginning with "T", followed by the 13-digit Japan corporate number) will be added to PDF invoices if it is configured as mentioned below in the Configuration section.
Calculation
Only products that are assigned to tax class with the tax rate of 8% or 10% will be included in the calculation.
Rounding Method
The default currency rounding method is Round Down (round towards zero). Install the module CommunityEngineering/CurrencyPrecision from this repository and configure the settings in Stores > Configuration > GENERAL > Currency Setup > Currency Options > Currency Rounding Method if you need to use other methods such as Ceiling and Half up.
Configuration
The settings of this module are located in Stores > Configuration > SALES > Tax > Japanese Consumption Tax System Settings.
Registration Number
You can put a tax registration number into the field and it will be appeared after the store address on the top right corner in the PDF invoice.
Run unit tests
./vendor/bin/phpunit -c dev/tests/unit/phpunit.xml.dist app/code/Magentoj/JapaneseConsumptionTax/Test/Unit/
Run linter
vendor/bin/phpcs --standard=Magento2 app/code/Magentoj/JapaneseConsumptionTax/
Run formatter
vendor/bin/phpcbf --standard=Magento2 app/code/Magentoj/JapaneseConsumptionTax/
magentoj/magento-japan-tax 适用场景与选型建议
magentoj/magento-japan-tax 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 4 次下载、GitHub Stars 达 5, 最近一次更新时间为 2023 年 11 月 08 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 magentoj/magento-japan-tax 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 magentoj/magento-japan-tax 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 4
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 5
- 点击次数: 21
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: OSL-3.0
- 更新时间: 2023-11-08