Add comprehensive project planning and task list
- Create PLANNING.md with detailed project architecture and phases - Create TASK.md with 200+ hour development plan broken into 6 phases - Add French language support (fr_FR/declarationtva.lang) - Update English translations with CA3-specific terminology - Define CA3 box structure and PCG account mappings - Plan bilingual interface for French-speaking users - Include database schema, testing, and documentation phases
This commit is contained in:
parent
711e68ba92
commit
1720dadd7a
132
PLANNING.md
Normal file
132
PLANNING.md
Normal file
@ -0,0 +1,132 @@
|
|||||||
|
# DeclarationTVA - French CA-3 VAT Declaration Module
|
||||||
|
|
||||||
|
## Project Overview
|
||||||
|
|
||||||
|
This Dolibarr module creates the French VAT declaration CA-3 (Déclaration de TVA CA3) with PCG account mapping functionality. The module allows users to configure PCG (Plan Comptable Général) accounts for each CA-3 box and generates the appropriate VAT declaration.
|
||||||
|
|
||||||
|
## Architecture
|
||||||
|
|
||||||
|
### Core Components
|
||||||
|
- **Module Class**: `modDeclarationTVA.class.php` - Main module descriptor
|
||||||
|
- **Setup Interface**: `admin/setup.php` - Configuration page for PCG account mapping
|
||||||
|
- **Database Schema**: `sql/dolibarr_allversions.sql` - Database structure
|
||||||
|
- **Language Support**: Bilingual (French/English) interface
|
||||||
|
- **Main Interface**: `declarationtvaindex.php` - Main module page
|
||||||
|
|
||||||
|
### CA-3 Box Structure
|
||||||
|
The module handles the following CA-3 boxes:
|
||||||
|
|
||||||
|
| Box | Label | Description | PCG Accounts |
|
||||||
|
|-----|-------|-------------|---------------|
|
||||||
|
| 01 | Livraisons de biens et prestations de services imposables en France | Domestic sales at 20% (or reduced rates) | 7xxxx (Sales) → 44571x (TVA collectée à 20%), 44572x (10%), 44573x (5,5%), 44574x (2,1%) |
|
||||||
|
| 02 | Autres opérations imposables | Other taxable domestic operations | Same 4457xx depending on rate |
|
||||||
|
| 03 | Acquisitions intracommunautaires | Intra-EU purchases (autoliquidation) | Base: 6xxxx purchases / 2xxxx immobilisations. VAT due: 4452xxx (TVA due intracom) |
|
||||||
|
| 05 | Importations | Imports from outside EU | 4452xxx (TVA due sur importations) |
|
||||||
|
| 08 | Autres opérations imposables | Specific operations (reverse charge on services, etc.) | 4452xxx |
|
||||||
|
|
||||||
|
## Technical Requirements
|
||||||
|
|
||||||
|
### Database Structure
|
||||||
|
- **Main table**: `llx_declarationtva_config` - Stores PCG account mappings
|
||||||
|
- **Declaration table**: `llx_declarationtva_declarations` - Stores generated declarations
|
||||||
|
- **Period table**: `llx_declarationtva_periods` - Manages declaration periods
|
||||||
|
|
||||||
|
### Key Features
|
||||||
|
1. **PCG Account Configuration**: Setup page to map PCG accounts to CA-3 boxes
|
||||||
|
2. **Period Management**: Handle quarterly/monthly declaration periods
|
||||||
|
3. **Data Extraction**: Query Dolibarr accounting data based on PCG mappings
|
||||||
|
4. **Declaration Generation**: Create CA-3 format declarations
|
||||||
|
5. **Export Functionality**: Export to various formats (PDF, XML, CSV)
|
||||||
|
6. **Bilingual Interface**: French and English language support
|
||||||
|
|
||||||
|
### File Structure
|
||||||
|
```
|
||||||
|
declarationtva/
|
||||||
|
├── admin/
|
||||||
|
│ ├── setup.php (Enhanced with PCG configuration)
|
||||||
|
│ └── about.php
|
||||||
|
├── core/
|
||||||
|
│ ├── modules/modDeclarationTVA.class.php
|
||||||
|
│ └── class/
|
||||||
|
│ ├── declarationtva.class.php
|
||||||
|
│ ├── declarationtva_config.class.php
|
||||||
|
│ └── declarationtva_period.class.php
|
||||||
|
├── lib/
|
||||||
|
│ └── declarationtva.lib.php
|
||||||
|
├── langs/
|
||||||
|
│ ├── en_US/declarationtva.lang
|
||||||
|
│ └── fr_FR/declarationtva.lang
|
||||||
|
├── sql/
|
||||||
|
│ └── dolibarr_allversions.sql
|
||||||
|
├── templates/
|
||||||
|
│ └── declarationtva/
|
||||||
|
│ ├── ca3_form.tpl
|
||||||
|
│ └── ca3_pdf.tpl
|
||||||
|
└── declarationtvaindex.php
|
||||||
|
```
|
||||||
|
|
||||||
|
## Development Phases
|
||||||
|
|
||||||
|
### Phase 1: Foundation (Week 1-2)
|
||||||
|
- Database schema design and implementation
|
||||||
|
- Core class structure
|
||||||
|
- Basic module setup and configuration
|
||||||
|
|
||||||
|
### Phase 2: Configuration Interface (Week 3-4)
|
||||||
|
- PCG account mapping interface
|
||||||
|
- Period management
|
||||||
|
- User permissions and access control
|
||||||
|
|
||||||
|
### Phase 3: Data Processing (Week 5-6)
|
||||||
|
- Accounting data extraction
|
||||||
|
- CA-3 calculation logic
|
||||||
|
- Data validation and error handling
|
||||||
|
|
||||||
|
### Phase 4: User Interface (Week 7-8)
|
||||||
|
- Main declaration interface
|
||||||
|
- Period selection and management
|
||||||
|
- Declaration preview and editing
|
||||||
|
|
||||||
|
### Phase 5: Export and Reporting (Week 9-10)
|
||||||
|
- PDF generation
|
||||||
|
- XML export for tax authorities
|
||||||
|
- CSV export for analysis
|
||||||
|
|
||||||
|
### Phase 6: Testing and Documentation (Week 11-12)
|
||||||
|
- Unit testing
|
||||||
|
- Integration testing
|
||||||
|
- User documentation
|
||||||
|
- French tax compliance validation
|
||||||
|
|
||||||
|
## Success Criteria
|
||||||
|
|
||||||
|
1. **Functional Requirements**
|
||||||
|
- Complete CA-3 form generation
|
||||||
|
- Accurate PCG account mapping
|
||||||
|
- Proper period management
|
||||||
|
- Export functionality
|
||||||
|
|
||||||
|
2. **Technical Requirements**
|
||||||
|
- Dolibarr compatibility (v19+)
|
||||||
|
- Bilingual interface (FR/EN)
|
||||||
|
- Database integrity
|
||||||
|
- Performance optimization
|
||||||
|
|
||||||
|
3. **Compliance Requirements**
|
||||||
|
- French tax authority format compliance
|
||||||
|
- Data accuracy and validation
|
||||||
|
- Audit trail maintenance
|
||||||
|
|
||||||
|
## Risk Mitigation
|
||||||
|
|
||||||
|
1. **Tax Compliance**: Regular validation with French tax requirements
|
||||||
|
2. **Data Accuracy**: Comprehensive testing with real accounting data
|
||||||
|
3. **Performance**: Optimization for large datasets
|
||||||
|
4. **User Experience**: Intuitive interface for non-technical users
|
||||||
|
|
||||||
|
## Future Enhancements
|
||||||
|
|
||||||
|
1. **Automated Submission**: Direct submission to tax authorities
|
||||||
|
2. **Advanced Analytics**: VAT analysis and reporting
|
||||||
|
3. **Multi-Entity Support**: Support for multiple companies
|
||||||
|
4. **Integration**: Enhanced integration with other Dolibarr modules
|
||||||
324
TASK.md
Normal file
324
TASK.md
Normal file
@ -0,0 +1,324 @@
|
|||||||
|
# DeclarationTVA - Task List
|
||||||
|
|
||||||
|
## Project: French CA-3 VAT Declaration Module for Dolibarr
|
||||||
|
|
||||||
|
**Created**: 2025-01-27
|
||||||
|
**Status**: In Development
|
||||||
|
**Priority**: High
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Phase 1: Foundation & Database (Week 1-2)
|
||||||
|
|
||||||
|
### 1.1 Database Schema Design
|
||||||
|
- [ ] **Task 1.1.1**: Design database schema for PCG account mappings
|
||||||
|
- Create `llx_declarationtva_config` table structure
|
||||||
|
- Define fields for CA-3 box mappings (01, 02, 03, 05, 08)
|
||||||
|
- Add support for multiple VAT rates (20%, 10%, 5.5%, 2.1%)
|
||||||
|
- **Estimated**: 4 hours
|
||||||
|
- **Dependencies**: None
|
||||||
|
|
||||||
|
- [ ] **Task 1.1.2**: Design declaration storage schema
|
||||||
|
- Create `llx_declarationtva_declarations` table
|
||||||
|
- Add period management fields
|
||||||
|
- Include status tracking (draft, submitted, approved)
|
||||||
|
- **Estimated**: 3 hours
|
||||||
|
- **Dependencies**: Task 1.1.1
|
||||||
|
|
||||||
|
- [ ] **Task 1.1.3**: Create period management table
|
||||||
|
- Design `llx_declarationtva_periods` table
|
||||||
|
- Support quarterly and monthly periods
|
||||||
|
- Add period status and validation
|
||||||
|
- **Estimated**: 2 hours
|
||||||
|
- **Dependencies**: None
|
||||||
|
|
||||||
|
### 1.2 Core Class Structure
|
||||||
|
- [ ] **Task 1.2.1**: Create DeclarationTVA main class
|
||||||
|
- File: `core/class/declarationtva.class.php`
|
||||||
|
- Basic CRUD operations
|
||||||
|
- Period management methods
|
||||||
|
- **Estimated**: 6 hours
|
||||||
|
- **Dependencies**: Task 1.1.1, 1.1.2
|
||||||
|
|
||||||
|
- [ ] **Task 1.2.2**: Create DeclarationTVA_Config class
|
||||||
|
- File: `core/class/declarationtva_config.class.php`
|
||||||
|
- PCG account mapping management
|
||||||
|
- Validation methods
|
||||||
|
- **Estimated**: 4 hours
|
||||||
|
- **Dependencies**: Task 1.1.1
|
||||||
|
|
||||||
|
- [ ] **Task 1.2.3**: Create DeclarationTVA_Period class
|
||||||
|
- File: `core/class/declarationtva_period.class.php`
|
||||||
|
- Period creation and validation
|
||||||
|
- Date range management
|
||||||
|
- **Estimated**: 3 hours
|
||||||
|
- **Dependencies**: Task 1.1.3
|
||||||
|
|
||||||
|
### 1.3 Database Implementation
|
||||||
|
- [ ] **Task 1.3.1**: Update SQL schema file
|
||||||
|
- File: `sql/dolibarr_allversions.sql`
|
||||||
|
- Add all table creation statements
|
||||||
|
- Include indexes and constraints
|
||||||
|
- **Estimated**: 2 hours
|
||||||
|
- **Dependencies**: Tasks 1.1.1, 1.1.2, 1.1.3
|
||||||
|
|
||||||
|
- [ ] **Task 1.3.2**: Create database migration scripts
|
||||||
|
- Handle version upgrades
|
||||||
|
- Data migration procedures
|
||||||
|
- **Estimated**: 3 hours
|
||||||
|
- **Dependencies**: Task 1.3.1
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Phase 2: Configuration Interface (Week 3-4)
|
||||||
|
|
||||||
|
### 2.1 Setup Page Enhancement
|
||||||
|
- [ ] **Task 2.1.1**: Redesign admin setup page
|
||||||
|
- File: `admin/setup.php`
|
||||||
|
- Replace generic parameters with CA-3 specific configuration
|
||||||
|
- Add PCG account selection interface
|
||||||
|
- **Estimated**: 8 hours
|
||||||
|
- **Dependencies**: Task 1.2.2
|
||||||
|
|
||||||
|
- [ ] **Task 2.1.2**: Create PCG account mapping interface
|
||||||
|
- Dynamic form for each CA-3 box
|
||||||
|
- Account code validation
|
||||||
|
- Rate selection (20%, 10%, 5.5%, 2.1%)
|
||||||
|
- **Estimated**: 10 hours
|
||||||
|
- **Dependencies**: Task 2.1.1
|
||||||
|
|
||||||
|
- [ ] **Task 2.1.3**: Add period configuration
|
||||||
|
- Quarterly/monthly period selection
|
||||||
|
- Default period settings
|
||||||
|
- **Estimated**: 4 hours
|
||||||
|
- **Dependencies**: Task 1.2.3
|
||||||
|
|
||||||
|
### 2.2 User Interface Components
|
||||||
|
- [ ] **Task 2.2.1**: Create main declaration interface
|
||||||
|
- File: `declarationtvaindex.php`
|
||||||
|
- Period selection dropdown
|
||||||
|
- Declaration status display
|
||||||
|
- **Estimated**: 6 hours
|
||||||
|
- **Dependencies**: Task 1.2.1
|
||||||
|
|
||||||
|
- [ ] **Task 2.2.2**: Add declaration creation wizard
|
||||||
|
- Step-by-step process
|
||||||
|
- Data validation at each step
|
||||||
|
- **Estimated**: 8 hours
|
||||||
|
- **Dependencies**: Task 2.2.1
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Phase 3: Data Processing (Week 5-6)
|
||||||
|
|
||||||
|
### 3.1 Accounting Data Extraction
|
||||||
|
- [ ] **Task 3.1.1**: Create data extraction methods
|
||||||
|
- Query Dolibarr accounting tables
|
||||||
|
- Filter by PCG account codes
|
||||||
|
- Handle different VAT rates
|
||||||
|
- **Estimated**: 12 hours
|
||||||
|
- **Dependencies**: Task 1.2.1
|
||||||
|
|
||||||
|
- [ ] **Task 3.1.2**: Implement CA-3 calculation logic
|
||||||
|
- Box 01: Domestic sales
|
||||||
|
- Box 02: Other taxable operations
|
||||||
|
- Box 03: Intra-EU acquisitions
|
||||||
|
- Box 05: Imports
|
||||||
|
- Box 08: Other operations
|
||||||
|
- **Estimated**: 15 hours
|
||||||
|
- **Dependencies**: Task 3.1.1
|
||||||
|
|
||||||
|
- [ ] **Task 3.1.3**: Add data validation
|
||||||
|
- Cross-check calculations
|
||||||
|
- Validate against French tax rules
|
||||||
|
- Error reporting
|
||||||
|
- **Estimated**: 8 hours
|
||||||
|
- **Dependencies**: Task 3.1.2
|
||||||
|
|
||||||
|
### 3.2 Period Management
|
||||||
|
- [ ] **Task 3.2.1**: Implement period calculation
|
||||||
|
- Automatic period detection
|
||||||
|
- Date range validation
|
||||||
|
- **Estimated**: 4 hours
|
||||||
|
- **Dependencies**: Task 1.2.3
|
||||||
|
|
||||||
|
- [ ] **Task 3.2.2**: Add period locking mechanism
|
||||||
|
- Prevent modifications to submitted periods
|
||||||
|
- Audit trail
|
||||||
|
- **Estimated**: 3 hours
|
||||||
|
- **Dependencies**: Task 3.2.1
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Phase 4: User Interface (Week 7-8)
|
||||||
|
|
||||||
|
### 4.1 Main Interface Development
|
||||||
|
- [ ] **Task 4.1.1**: Create declaration list view
|
||||||
|
- Show all declarations by period
|
||||||
|
- Status indicators
|
||||||
|
- Action buttons (edit, delete, export)
|
||||||
|
- **Estimated**: 6 hours
|
||||||
|
- **Dependencies**: Task 2.2.1
|
||||||
|
|
||||||
|
- [ ] **Task 4.1.2**: Add declaration detail view
|
||||||
|
- CA-3 form display
|
||||||
|
- Editable fields
|
||||||
|
- Calculation summary
|
||||||
|
- **Estimated**: 8 hours
|
||||||
|
- **Dependencies**: Task 3.1.2
|
||||||
|
|
||||||
|
- [ ] **Task 4.1.3**: Create period management interface
|
||||||
|
- Period creation
|
||||||
|
- Period status management
|
||||||
|
- **Estimated**: 4 hours
|
||||||
|
- **Dependencies**: Task 3.2.1
|
||||||
|
|
||||||
|
### 4.2 Form Handling
|
||||||
|
- [ ] **Task 4.2.1**: Implement form validation
|
||||||
|
- Client-side validation
|
||||||
|
- Server-side validation
|
||||||
|
- Error message display
|
||||||
|
- **Estimated**: 6 hours
|
||||||
|
- **Dependencies**: Task 4.1.2
|
||||||
|
|
||||||
|
- [ ] **Task 4.2.2**: Add auto-save functionality
|
||||||
|
- Save draft declarations
|
||||||
|
- Restore previous sessions
|
||||||
|
- **Estimated**: 4 hours
|
||||||
|
- **Dependencies**: Task 4.2.1
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Phase 5: Export and Reporting (Week 9-10)
|
||||||
|
|
||||||
|
### 5.1 PDF Generation
|
||||||
|
- [ ] **Task 5.1.1**: Create PDF template
|
||||||
|
- File: `templates/declarationtva/ca3_pdf.tpl`
|
||||||
|
- Official CA-3 form layout
|
||||||
|
- Company information header
|
||||||
|
- **Estimated**: 8 hours
|
||||||
|
- **Dependencies**: Task 4.1.2
|
||||||
|
|
||||||
|
- [ ] **Task 5.1.2**: Implement PDF generation
|
||||||
|
- Use Dolibarr PDF engine
|
||||||
|
- Data population
|
||||||
|
- Formatting and styling
|
||||||
|
- **Estimated**: 6 hours
|
||||||
|
- **Dependencies**: Task 5.1.1
|
||||||
|
|
||||||
|
### 5.2 Export Formats
|
||||||
|
- [ ] **Task 5.2.1**: Create XML export
|
||||||
|
- French tax authority format
|
||||||
|
- Data structure compliance
|
||||||
|
- **Estimated**: 6 hours
|
||||||
|
- **Dependencies**: Task 3.1.2
|
||||||
|
|
||||||
|
- [ ] **Task 5.2.2**: Create CSV export
|
||||||
|
- Data analysis format
|
||||||
|
- Customizable fields
|
||||||
|
- **Estimated**: 3 hours
|
||||||
|
- **Dependencies**: Task 3.1.2
|
||||||
|
|
||||||
|
### 5.3 Reporting Features
|
||||||
|
- [ ] **Task 5.3.1**: Add declaration history
|
||||||
|
- Previous periods view
|
||||||
|
- Comparison functionality
|
||||||
|
- **Estimated**: 4 hours
|
||||||
|
- **Dependencies**: Task 4.1.1
|
||||||
|
|
||||||
|
- [ ] **Task 5.3.2**: Create summary reports
|
||||||
|
- Annual VAT summary
|
||||||
|
- Trend analysis
|
||||||
|
- **Estimated**: 5 hours
|
||||||
|
- **Dependencies**: Task 5.3.1
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Phase 6: Testing and Documentation (Week 11-12)
|
||||||
|
|
||||||
|
### 6.1 Unit Testing
|
||||||
|
- [ ] **Task 6.1.1**: Create test suite
|
||||||
|
- File: `test/phpunit/`
|
||||||
|
- Test all core classes
|
||||||
|
- Test calculation logic
|
||||||
|
- **Estimated**: 8 hours
|
||||||
|
- **Dependencies**: All previous tasks
|
||||||
|
|
||||||
|
- [ ] **Task 6.1.2**: Integration testing
|
||||||
|
- Test with real Dolibarr data
|
||||||
|
- Performance testing
|
||||||
|
- **Estimated**: 6 hours
|
||||||
|
- **Dependencies**: Task 6.1.1
|
||||||
|
|
||||||
|
### 6.2 Documentation
|
||||||
|
- [ ] **Task 6.2.1**: Create user manual
|
||||||
|
- Setup instructions
|
||||||
|
- Usage guide
|
||||||
|
- Troubleshooting
|
||||||
|
- **Estimated**: 6 hours
|
||||||
|
- **Dependencies**: All previous tasks
|
||||||
|
|
||||||
|
- [ ] **Task 6.2.2**: Create developer documentation
|
||||||
|
- API documentation
|
||||||
|
- Code comments
|
||||||
|
- Architecture overview
|
||||||
|
- **Estimated**: 4 hours
|
||||||
|
- **Dependencies**: All previous tasks
|
||||||
|
|
||||||
|
### 6.3 French Compliance
|
||||||
|
- [ ] **Task 6.3.1**: Validate tax compliance
|
||||||
|
- Review with French tax expert
|
||||||
|
- Format validation
|
||||||
|
- **Estimated**: 4 hours
|
||||||
|
- **Dependencies**: Task 5.2.1
|
||||||
|
|
||||||
|
- [ ] **Task 6.3.2**: Final testing
|
||||||
|
- End-to-end testing
|
||||||
|
- User acceptance testing
|
||||||
|
- **Estimated**: 6 hours
|
||||||
|
- **Dependencies**: Task 6.3.1
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Language Support
|
||||||
|
|
||||||
|
### 6.4 Bilingual Interface
|
||||||
|
- [ ] **Task 6.4.1**: Complete French translations
|
||||||
|
- File: `langs/fr_FR/declarationtva.lang`
|
||||||
|
- All interface elements
|
||||||
|
- Error messages
|
||||||
|
- **Estimated**: 4 hours
|
||||||
|
- **Dependencies**: All UI tasks
|
||||||
|
|
||||||
|
- [ ] **Task 6.4.2**: Complete English translations
|
||||||
|
- File: `langs/en_US/declarationtva.lang`
|
||||||
|
- Update existing translations
|
||||||
|
- **Estimated**: 2 hours
|
||||||
|
- **Dependencies**: Task 6.4.1
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Discovered During Work
|
||||||
|
|
||||||
|
*Tasks discovered during development will be added here*
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Notes
|
||||||
|
|
||||||
|
- All tasks should include proper error handling
|
||||||
|
- Code must follow Dolibarr coding standards
|
||||||
|
- All user-facing text must be translatable
|
||||||
|
- Database changes must be backward compatible
|
||||||
|
- Performance optimization for large datasets
|
||||||
|
- Security considerations for financial data
|
||||||
|
|
||||||
|
## Total Estimated Time: 200+ hours
|
||||||
|
|
||||||
|
## Priority Order:
|
||||||
|
1. Database schema and core classes
|
||||||
|
2. Configuration interface
|
||||||
|
3. Data processing and calculations
|
||||||
|
4. User interface
|
||||||
|
5. Export functionality
|
||||||
|
6. Testing and documentation
|
||||||
@ -5,9 +5,9 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
# Module label 'ModuleDeclarationTVAName'
|
# Module label 'ModuleDeclarationTVAName'
|
||||||
ModuleDeclarationTVAName = DeclarationTVA
|
ModuleDeclarationTVAName = French CA3 VAT Declaration
|
||||||
# Module description 'ModuleDeclarationTVADesc'
|
# Module description 'ModuleDeclarationTVADesc'
|
||||||
ModuleDeclarationTVADesc = DeclarationTVA description
|
ModuleDeclarationTVADesc = French CA3 VAT declaration module with PCG account mapping
|
||||||
|
|
||||||
#
|
#
|
||||||
# Admin page
|
# Admin page
|
||||||
@ -35,8 +35,106 @@ DeclarationTVAAboutPage = DeclarationTVA about page
|
|||||||
DeclarationTVAArea = Home DeclarationTVA
|
DeclarationTVAArea = Home DeclarationTVA
|
||||||
MyPageName = My page name
|
MyPageName = My page name
|
||||||
|
|
||||||
|
# PCG Account Configuration
|
||||||
|
DECLARATIONTVA_PCG_CONFIG = PCG Account Configuration
|
||||||
|
DECLARATIONTVA_PCG_CONFIG_TOOLTIP = Configuration of General Chart of Accounts for each CA3 box
|
||||||
|
|
||||||
|
# CA3 Boxes
|
||||||
|
DECLARATIONTVA_BOX_01 = Box 01 - Domestic sales of goods and services
|
||||||
|
DECLARATIONTVA_BOX_01_TOOLTIP = Domestic sales at 20% (or reduced rates)
|
||||||
|
DECLARATIONTVA_BOX_02 = Box 02 - Other taxable operations
|
||||||
|
DECLARATIONTVA_BOX_02_TOOLTIP = Other taxable domestic operations
|
||||||
|
DECLARATIONTVA_BOX_03 = Box 03 - Intra-EU acquisitions
|
||||||
|
DECLARATIONTVA_BOX_03_TOOLTIP = Intra-EU purchases (autoliquidation)
|
||||||
|
DECLARATIONTVA_BOX_05 = Box 05 - Imports
|
||||||
|
DECLARATIONTVA_BOX_05_TOOLTIP = Imports from outside EU
|
||||||
|
DECLARATIONTVA_BOX_08 = Box 08 - Other taxable operations
|
||||||
|
DECLARATIONTVA_BOX_08_TOOLTIP = Specific operations (reverse charge on services, etc.)
|
||||||
|
|
||||||
|
# VAT Rates
|
||||||
|
DECLARATIONTVA_RATE_20 = Rate 20%
|
||||||
|
DECLARATIONTVA_RATE_10 = Rate 10%
|
||||||
|
DECLARATIONTVA_RATE_5_5 = Rate 5.5%
|
||||||
|
DECLARATIONTVA_RATE_2_1 = Rate 2.1%
|
||||||
|
|
||||||
|
# PCG Accounts
|
||||||
|
DECLARATIONTVA_PCG_SALES = Sales accounts (7xxxx)
|
||||||
|
DECLARATIONTVA_PCG_VAT_COLLECTED_20 = VAT collected 20% (44571x)
|
||||||
|
DECLARATIONTVA_PCG_VAT_COLLECTED_10 = VAT collected 10% (44572x)
|
||||||
|
DECLARATIONTVA_PCG_VAT_COLLECTED_5_5 = VAT collected 5.5% (44573x)
|
||||||
|
DECLARATIONTVA_PCG_VAT_COLLECTED_2_1 = VAT collected 2.1% (44574x)
|
||||||
|
DECLARATIONTVA_PCG_VAT_DUE_INTRA = VAT due intra-EU (4452xxx)
|
||||||
|
DECLARATIONTVA_PCG_VAT_DUE_IMPORT = VAT due on imports (4452xxx)
|
||||||
|
|
||||||
|
# Periods
|
||||||
|
DECLARATIONTVA_PERIOD_QUARTERLY = Quarterly
|
||||||
|
DECLARATIONTVA_PERIOD_MONTHLY = Monthly
|
||||||
|
DECLARATIONTVA_PERIOD_YEAR = Year
|
||||||
|
DECLARATIONTVA_PERIOD_QUARTER = Quarter
|
||||||
|
DECLARATIONTVA_PERIOD_MONTH = Month
|
||||||
|
|
||||||
|
# Declaration Status
|
||||||
|
DECLARATIONTVA_STATUS_DRAFT = Draft
|
||||||
|
DECLARATIONTVA_STATUS_VALIDATED = Validated
|
||||||
|
DECLARATIONTVA_STATUS_SUBMITTED = Submitted
|
||||||
|
DECLARATIONTVA_STATUS_APPROVED = Approved
|
||||||
|
|
||||||
|
# Actions
|
||||||
|
DECLARATIONTVA_CREATE_DECLARATION = Create declaration
|
||||||
|
DECLARATIONTVA_EDIT_DECLARATION = Edit declaration
|
||||||
|
DECLARATIONTVA_DELETE_DECLARATION = Delete declaration
|
||||||
|
DECLARATIONTVA_VALIDATE_DECLARATION = Validate declaration
|
||||||
|
DECLARARATIONTVA_EXPORT_PDF = Export to PDF
|
||||||
|
DECLARATIONTVA_EXPORT_XML = Export to XML
|
||||||
|
DECLARATIONTVA_EXPORT_CSV = Export to CSV
|
||||||
|
|
||||||
|
# Error Messages
|
||||||
|
DECLARATIONTVA_ERROR_NO_CONFIG = No PCG configuration found
|
||||||
|
DECLARATIONTVA_ERROR_INVALID_PERIOD = Invalid period
|
||||||
|
DECLARATIONTVA_ERROR_CALCULATION_FAILED = Calculation error
|
||||||
|
DECLARATIONTVA_ERROR_EXPORT_FAILED = Export error
|
||||||
|
|
||||||
|
# Success Messages
|
||||||
|
DECLARATIONTVA_SUCCESS_CONFIG_SAVED = Configuration saved
|
||||||
|
DECLARATIONTVA_SUCCESS_DECLARATION_CREATED = Declaration created
|
||||||
|
DECLARATIONTVA_SUCCESS_DECLARATION_VALIDATED = Declaration validated
|
||||||
|
DECLARATIONTVA_SUCCESS_EXPORT_COMPLETED = Export completed
|
||||||
|
|
||||||
#
|
#
|
||||||
# Sample widget
|
# Main Interface
|
||||||
#
|
#
|
||||||
MyWidget = My widget
|
DeclarationTVAArea = DeclarationTVA Home
|
||||||
MyWidgetDescription = My widget description
|
DeclarationTVAMainPage = DeclarationTVA main page
|
||||||
|
DeclarationTVAList = Declarations list
|
||||||
|
DeclarationTVACreate = Create declaration
|
||||||
|
DeclarationTVAEdit = Edit declaration
|
||||||
|
DeclarationTVAView = View declaration
|
||||||
|
|
||||||
|
# Widget
|
||||||
|
DeclarationTVAWidget = DeclarationTVA Widget
|
||||||
|
DeclarationTVAWidgetDescription = Shows recent declarations and statistics
|
||||||
|
|
||||||
|
# Navigation
|
||||||
|
DeclarationTVANavHome = Home
|
||||||
|
DeclarationTVANavDeclarations = Declarations
|
||||||
|
DeclarationTVANavConfiguration = Configuration
|
||||||
|
DeclarationTVANavReports = Reports
|
||||||
|
|
||||||
|
# Forms
|
||||||
|
DeclarationTVAFormPeriod = Period
|
||||||
|
DeclarationTVAFormCompany = Company
|
||||||
|
DeclarationTVAFormAmount = Amount
|
||||||
|
DeclarationTVAFormVATRate = VAT Rate
|
||||||
|
DeclarationTVAFormPCGAccount = PCG Account
|
||||||
|
|
||||||
|
# Tables
|
||||||
|
DeclarationTVATableBox = Box
|
||||||
|
DeclarationTVATableDescription = Description
|
||||||
|
DeclarationTVATableAmount = Amount
|
||||||
|
DeclarationTVATableVATRate = VAT Rate
|
||||||
|
DeclarationTVATableVATAmount = VAT Amount
|
||||||
|
DeclarationTVATableActions = Actions
|
||||||
|
|
||||||
|
# Help
|
||||||
|
DeclarationTVAHelpTitle = Help
|
||||||
|
DeclarationTVAHelpText = This module allows you to automatically generate your French CA3 VAT declarations by mapping your PCG accounts with the declaration boxes.
|
||||||
|
|||||||
129
langs/fr_FR/declarationtva.lang
Normal file
129
langs/fr_FR/declarationtva.lang
Normal file
@ -0,0 +1,129 @@
|
|||||||
|
# Fichier de traduction - Français
|
||||||
|
|
||||||
|
#
|
||||||
|
# Générique
|
||||||
|
#
|
||||||
|
|
||||||
|
# Libellé du module 'ModuleDeclarationTVAName'
|
||||||
|
ModuleDeclarationTVAName = Déclaration TVA CA3
|
||||||
|
# Description du module 'ModuleDeclarationTVADesc'
|
||||||
|
ModuleDeclarationTVADesc = Module de génération de la déclaration de TVA CA3 française avec mapping des comptes PCG
|
||||||
|
|
||||||
|
#
|
||||||
|
# Page d'administration
|
||||||
|
#
|
||||||
|
DeclarationTVASetup = Configuration Déclaration TVA
|
||||||
|
Settings = Paramètres
|
||||||
|
DeclarationTVASetupPage = Page de configuration du module Déclaration TVA
|
||||||
|
NewSection = Nouvelle section
|
||||||
|
|
||||||
|
# Configuration des comptes PCG
|
||||||
|
DECLARATIONTVA_PCG_CONFIG = Configuration des comptes PCG
|
||||||
|
DECLARATIONTVA_PCG_CONFIG_TOOLTIP = Configuration des comptes du Plan Comptable Général pour chaque case de la CA3
|
||||||
|
|
||||||
|
# Cases CA3
|
||||||
|
DECLARATIONTVA_BOX_01 = Case 01 - Livraisons de biens et prestations de services imposables en France
|
||||||
|
DECLARATIONTVA_BOX_01_TOOLTIP = Ventes domestiques au taux de 20% (ou taux réduits)
|
||||||
|
DECLARATIONTVA_BOX_02 = Case 02 - Autres opérations imposables
|
||||||
|
DECLARATIONTVA_BOX_02_TOOLTIP = Autres opérations imposables domestiques
|
||||||
|
DECLARATIONTVA_BOX_03 = Case 03 - Acquisitions intracommunautaires
|
||||||
|
DECLARATIONTVA_BOX_03_TOOLTIP = Achats intracommunautaires (autoliquidation)
|
||||||
|
DECLARATIONTVA_BOX_05 = Case 05 - Importations
|
||||||
|
DECLARATIONTVA_BOX_05_TOOLTIP = Importations en provenance de pays hors UE
|
||||||
|
DECLARATIONTVA_BOX_08 = Case 08 - Autres opérations imposables
|
||||||
|
DECLARATIONTVA_BOX_08_TOOLTIP = Opérations spécifiques (autoliquidation sur services, etc.)
|
||||||
|
|
||||||
|
# Taux de TVA
|
||||||
|
DECLARATIONTVA_RATE_20 = Taux 20%
|
||||||
|
DECLARATIONTVA_RATE_10 = Taux 10%
|
||||||
|
DECLARATIONTVA_RATE_5_5 = Taux 5,5%
|
||||||
|
DECLARATIONTVA_RATE_2_1 = Taux 2,1%
|
||||||
|
|
||||||
|
# Comptes PCG
|
||||||
|
DECLARATIONTVA_PCG_SALES = Comptes de vente (7xxxx)
|
||||||
|
DECLARATIONTVA_PCG_VAT_COLLECTED_20 = TVA collectée 20% (44571x)
|
||||||
|
DECLARATIONTVA_PCG_VAT_COLLECTED_10 = TVA collectée 10% (44572x)
|
||||||
|
DECLARATIONTVA_PCG_VAT_COLLECTED_5_5 = TVA collectée 5,5% (44573x)
|
||||||
|
DECLARATIONTVA_PCG_VAT_COLLECTED_2_1 = TVA collectée 2,1% (44574x)
|
||||||
|
DECLARATIONTVA_PCG_VAT_DUE_INTRA = TVA due intracommunautaire (4452xxx)
|
||||||
|
DECLARATIONTVA_PCG_VAT_DUE_IMPORT = TVA due sur importations (4452xxx)
|
||||||
|
|
||||||
|
# Périodes
|
||||||
|
DECLARATIONTVA_PERIOD_QUARTERLY = Trimestrielle
|
||||||
|
DECLARATIONTVA_PERIOD_MONTHLY = Mensuelle
|
||||||
|
DECLARATIONTVA_PERIOD_YEAR = Année
|
||||||
|
DECLARATIONTVA_PERIOD_QUARTER = Trimestre
|
||||||
|
DECLARATIONTVA_PERIOD_MONTH = Mois
|
||||||
|
|
||||||
|
# États des déclarations
|
||||||
|
DECLARATIONTVA_STATUS_DRAFT = Brouillon
|
||||||
|
DECLARATIONTVA_STATUS_VALIDATED = Validée
|
||||||
|
DECLARATIONTVA_STATUS_SUBMITTED = Soumise
|
||||||
|
DECLARATIONTVA_STATUS_APPROVED = Approuvée
|
||||||
|
|
||||||
|
# Actions
|
||||||
|
DECLARATIONTVA_CREATE_DECLARATION = Créer une déclaration
|
||||||
|
DECLARATIONTVA_EDIT_DECLARATION = Modifier la déclaration
|
||||||
|
DECLARATIONTVA_DELETE_DECLARATION = Supprimer la déclaration
|
||||||
|
DECLARATIONTVA_VALIDATE_DECLARATION = Valider la déclaration
|
||||||
|
DECLARATIONTVA_EXPORT_PDF = Exporter en PDF
|
||||||
|
DECLARATIONTVA_EXPORT_XML = Exporter en XML
|
||||||
|
DECLARATIONTVA_EXPORT_CSV = Exporter en CSV
|
||||||
|
|
||||||
|
# Messages d'erreur
|
||||||
|
DECLARATIONTVA_ERROR_NO_CONFIG = Aucune configuration PCG trouvée
|
||||||
|
DECLARATIONTVA_ERROR_INVALID_PERIOD = Période invalide
|
||||||
|
DECLARATIONTVA_ERROR_CALCULATION_FAILED = Erreur lors du calcul
|
||||||
|
DECLARATIONTVA_ERROR_EXPORT_FAILED = Erreur lors de l'export
|
||||||
|
|
||||||
|
# Messages de succès
|
||||||
|
DECLARATIONTVA_SUCCESS_CONFIG_SAVED = Configuration sauvegardée
|
||||||
|
DECLARATIONTVA_SUCCESS_DECLARATION_CREATED = Déclaration créée
|
||||||
|
DECLARATIONTVA_SUCCESS_DECLARATION_VALIDATED = Déclaration validée
|
||||||
|
DECLARATIONTVA_SUCCESS_EXPORT_COMPLETED = Export terminé
|
||||||
|
|
||||||
|
#
|
||||||
|
# Page À propos
|
||||||
|
#
|
||||||
|
About = À propos
|
||||||
|
DeclarationTVAAbout = À propos de Déclaration TVA
|
||||||
|
DeclarationTVAAboutPage = Page d'information sur le module Déclaration TVA
|
||||||
|
|
||||||
|
#
|
||||||
|
# Interface principale
|
||||||
|
#
|
||||||
|
DeclarationTVAArea = Accueil Déclaration TVA
|
||||||
|
DeclarationTVAMainPage = Page principale du module Déclaration TVA
|
||||||
|
DeclarationTVAList = Liste des déclarations
|
||||||
|
DeclarationTVACreate = Créer une déclaration
|
||||||
|
DeclarationTVAEdit = Modifier la déclaration
|
||||||
|
DeclarationTVAView = Voir la déclaration
|
||||||
|
|
||||||
|
# Widget
|
||||||
|
DeclarationTVAWidget = Widget Déclaration TVA
|
||||||
|
DeclarationTVAWidgetDescription = Affiche les déclarations récentes et les statistiques
|
||||||
|
|
||||||
|
# Navigation
|
||||||
|
DeclarationTVANavHome = Accueil
|
||||||
|
DeclarationTVANavDeclarations = Déclarations
|
||||||
|
DeclarationTVANavConfiguration = Configuration
|
||||||
|
DeclarationTVANavReports = Rapports
|
||||||
|
|
||||||
|
# Formulaires
|
||||||
|
DeclarationTVAFormPeriod = Période
|
||||||
|
DeclarationTVAFormCompany = Société
|
||||||
|
DeclarationTVAFormAmount = Montant
|
||||||
|
DeclarationTVAFormVATRate = Taux de TVA
|
||||||
|
DeclarationTVAFormPCGAccount = Compte PCG
|
||||||
|
|
||||||
|
# Tableaux
|
||||||
|
DeclarationTVATableBox = Case
|
||||||
|
DeclarationTVATableDescription = Description
|
||||||
|
DeclarationTVATableAmount = Montant
|
||||||
|
DeclarationTVATableVATRate = Taux TVA
|
||||||
|
DeclarationTVATableVATAmount = Montant TVA
|
||||||
|
DeclarationTVATableActions = Actions
|
||||||
|
|
||||||
|
# Aide
|
||||||
|
DeclarationTVAHelpTitle = Aide
|
||||||
|
DeclarationTVAHelpText = Ce module vous permet de générer automatiquement vos déclarations de TVA CA3 en mappant vos comptes PCG avec les cases de la déclaration.
|
||||||
Loading…
Reference in New Issue
Block a user