Loading...
Loading...
Performs requirement checks and compliance diagnostics for excellent electronic books. Activate with keywords such as "Excellent Electronic Books", "Compliance with Electronic Bookkeeping Law", "Requirement Confirmation for Electronic Books", "Preparation for Tax Audits", "Conditions for the 750,000 Yen Deduction", "Do the Books Meet Requirements?", or "e-bookkeeping compliance".
npx skill4agent add kazukinagata/shinkoku e-bookkeeping-complianceskills/tax-advisor/reference/electronic-bookkeeping.mddocs/system-overview.md--db-path--fiscal-yearRegarding Notification: To apply the preservation of excellent electronic books, prior submission of the notification is required. If applying for Reiwa 9, the notification must be submitted by the end of Reiwa 8. The notification form can be downloaded from the National Tax Agency website.
| # | Requirement | Regulation | Check Method |
|---|---|---|---|
| G1 | Availability of system-related documents | Article 2, Paragraph 2, Item 1 of the Enforcement Regulations | Verify the existence of the |
| G2 | Ensuring readability | Article 2, Paragraph 2, Item 2 of the Enforcement Regulations | Execute |
| G3 | Download support | Article 2, Paragraph 2, Item 3 of the Enforcement Regulations | Execute |
| G4 | Correction/deletion history | Article 5, Paragraph 5, Item 1(a) of the Enforcement Regulations | Execute |
| G5 | Ensuring interrelatedness | Article 5, Paragraph 5, Item 1(b) of the Enforcement Regulations | Execute |
| G6 | Counterparty search | Article 5, Paragraph 5, Item 1(c) of the Enforcement Regulations | Execute a search using the |
| G7 | Range search by date/amount | Article 5, Paragraph 5, Item 1(c) of the Enforcement Regulations | Execute a search using the |
| G8 | Combined search | Article 5, Paragraph 5, Item 1(c) of the Enforcement Regulations | Execute a combined search of date + counterparty + amount |
docs/system-overview.mdshinkoku ledger trial-balance --db-path <db> --fiscal-year <year>shinkoku ledger search --db-path <db> --input <params> --format csv{"fiscal_year": <year>, "limit": 5}shinkoku ledger audit-log --db-path <db>shinkoku ledger general-ledger --db-path <db> --fiscal-year <year> --account-code <code># G6: Counterparty search
shinkoku ledger search --db-path <db> --input <params>
# params: {"fiscal_year": <year>, "counterparty_contains": "<part of counterparty name>"}
# G7: Range search
# params: {"fiscal_year": <year>, "date_from": "<start date>", "date_to": "<end date>", "amount_min": 1, "amount_max": 1000000}
# G8: Combined search
# params: {"fiscal_year": <year>, "date_from": "...", "counterparty_contains": "...", "amount_min": 1}## Excellent Electronic Bookkeeping Compliance Diagnosis Results
| # | Requirement | Regulation | Result | Remarks |
|---|-------------|------------|--------|---------|
| G1 | System-related documents | Article 2, Paragraph 2, Item 1 of the Enforcement Regulations | ✓ / ✗ | ... |
| G2 | Readability | Article 2, Paragraph 2, Item 2 of the Enforcement Regulations | ✓ / ✗ | ... |
| G3 | Download support | Article 2, Paragraph 2, Item 3 of the Enforcement Regulations | ✓ / ✗ | ... |
| G4 | Correction/deletion history | Article 5, Paragraph 5, Item 1(a) of the Enforcement Regulations | ✓ / ✗ | ... |
| G5 | Interrelatedness | Article 5, Paragraph 5, Item 1(b) of the Enforcement Regulations | ✓ / ✗ | ... |
| G6 | Counterparty search | Article 5, Paragraph 5, Item 1(c) of the Enforcement Regulations | ✓ / ✗ | ... |
| G7 | Range search | Article 5, Paragraph 5, Item 1(c) of the Enforcement Regulations | ✓ / ✗ | ... |
| G8 | Combined search | Article 5, Paragraph 5, Item 1(c) of the Enforcement Regulations | ✓ / ✗ | ... |# Trial balance
shinkoku ledger trial-balance --db-path <db> --fiscal-year <year>
# Profit and loss statement
shinkoku ledger pl --db-path <db> --fiscal-year <year>
# Balance sheet
shinkoku ledger bs --db-path <db> --fiscal-year <year>
# General ledger (main accounts)
shinkoku ledger general-ledger --db-path <db> --fiscal-year <year> --account-code <code># Add --format csv to output in CSV format
shinkoku ledger trial-balance --db-path <db> --fiscal-year <year> --format csvshinkoku ledger audit-log --db-path <db> --fiscal-year <year>docs/system-overview.md## Diagnosis Result: All Requirements Compliant
shinkoku technically satisfies the requirements for excellent electronic books (Article 5, Paragraph 5 of the Enforcement Regulations).
### Next Actions
1. Submit the notification (if not already submitted)
- Submit the "Notification Concerning the Preservation of National Tax-Related Books via Electronic Records, etc." to the competent tax office
2. Perform regular backups
3. Ensure book data is preserved for 7 years> **Note**: This system is designed to meet the technical requirements for excellent electronic books specified in Article 5, Paragraph 5 of the Enforcement Regulations of the Electronic Bookkeeping Preservation Act. The prior approval system was abolished by the Reiwa 3 tax system reform, and third-party certifications such as JIIMA certification are not legal requirements (however, they can be used as a means to confirm compliance).
> To apply the preservation of excellent electronic books, prior submission of a notification to the competent tax office is required (Article 8, Paragraph 4 of the Electronic Bookkeeping Preservation Act).> **Limitations**:
> - Audit logs (journal_audit_log) are recorded at the application layer, so changes made via direct database operations are not recorded.
> Database triggers for tamper prevention are planned for future implementation.
> - Timestamps are recorded in UTC (conversion to JST is planned for future implementation).
> - Operator information recording is not currently implemented, as the system is intended for personal use.