Commit 0f18ac5
Copilot/add peppol architecture components (#114)
* Initial plan
* Add core PEPPOL database migrations, models, providers, and events
Co-authored-by: nielsdrost7 <[email protected]>
* Add Jobs, Services, and enhanced configuration for PEPPOL lifecycle management
Co-authored-by: nielsdrost7 <[email protected]>
* Add audit listener, console commands, and comprehensive architecture documentation
Co-authored-by: nielsdrost7 <[email protected]>
* Refactor PEPPOL to use enums, remove JSON columns, use key-value config, and logging trait
Co-authored-by: nielsdrost7 <[email protected]>
* Implement dynamic provider discovery by scanning Providers directory
Co-authored-by: nielsdrost7 <[email protected]>
* Update Modules/Invoices/Models/CustomerPeppolValidationHistory.php
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* 📝 Add docstrings to `copilot/add-peppol-architecture-components` (#105)
Docstrings generation was requested by @nielsdrost7.
* #104 (comment)
The following files were modified:
* `Modules/Clients/Database/Migrations/2025_10_02_000007_add_peppol_validation_fields_to_relations_table.php`
* `Modules/Clients/Models/Relation.php`
* `Modules/Invoices/Console/Commands/PollPeppolStatusCommand.php`
* `Modules/Invoices/Console/Commands/RetryFailedPeppolTransmissionsCommand.php`
* `Modules/Invoices/Console/Commands/TestPeppolIntegrationCommand.php`
* `Modules/Invoices/Database/Migrations/2025_10_02_000001_create_peppol_integrations_table.php`
* `Modules/Invoices/Database/Migrations/2025_10_02_000002_create_peppol_integration_config_table.php`
* `Modules/Invoices/Database/Migrations/2025_10_02_000003_create_peppol_transmissions_table.php`
* `Modules/Invoices/Database/Migrations/2025_10_02_000004_create_peppol_transmission_responses_table.php`
* `Modules/Invoices/Database/Migrations/2025_10_02_000005_create_customer_peppol_validation_history_table.php`
* `Modules/Invoices/Database/Migrations/2025_10_02_000006_create_customer_peppol_validation_responses_table.php`
* `Modules/Invoices/Enums/PeppolConnectionStatus.php`
* `Modules/Invoices/Enums/PeppolErrorType.php`
* `Modules/Invoices/Enums/PeppolTransmissionStatus.php`
* `Modules/Invoices/Enums/PeppolValidationStatus.php`
* `Modules/Invoices/Events/Peppol/PeppolAcknowledgementReceived.php`
* `Modules/Invoices/Events/Peppol/PeppolEvent.php`
* `Modules/Invoices/Events/Peppol/PeppolIdValidationCompleted.php`
* `Modules/Invoices/Events/Peppol/PeppolIntegrationCreated.php`
* `Modules/Invoices/Events/Peppol/PeppolIntegrationTested.php`
* `Modules/Invoices/Events/Peppol/PeppolTransmissionCreated.php`
* `Modules/Invoices/Events/Peppol/PeppolTransmissionDead.php`
* `Modules/Invoices/Events/Peppol/PeppolTransmissionFailed.php`
* `Modules/Invoices/Events/Peppol/PeppolTransmissionPrepared.php`
* `Modules/Invoices/Events/Peppol/PeppolTransmissionSent.php`
* `Modules/Invoices/Jobs/Peppol/PeppolStatusPoller.php`
* `Modules/Invoices/Jobs/Peppol/RetryFailedTransmissions.php`
* `Modules/Invoices/Jobs/Peppol/SendInvoiceToPeppolJob.php`
* `Modules/Invoices/Listeners/Peppol/LogPeppolEventToAudit.php`
* `Modules/Invoices/Models/CustomerPeppolValidationHistory.php`
* `Modules/Invoices/Models/CustomerPeppolValidationResponse.php`
* `Modules/Invoices/Models/PeppolIntegration.php`
* `Modules/Invoices/Models/PeppolIntegrationConfig.php`
* `Modules/Invoices/Models/PeppolTransmission.php`
* `Modules/Invoices/Models/PeppolTransmissionResponse.php`
* `Modules/Invoices/Peppol/Contracts/ProviderInterface.php`
* `Modules/Invoices/Peppol/FormatHandlers/FormatHandlerFactory.php`
* `Modules/Invoices/Peppol/Providers/BaseProvider.php`
* `Modules/Invoices/Peppol/Providers/EInvoiceBe/EInvoiceBeProvider.php`
* `Modules/Invoices/Peppol/Providers/ProviderFactory.php`
* `Modules/Invoices/Peppol/Providers/Storecove/StorecoveProvider.php`
* `Modules/Invoices/Peppol/Services/PeppolManagementService.php`
* `Modules/Invoices/Peppol/Services/PeppolTransformerService.php`
* `Modules/Invoices/Traits/LogsPeppolActivity.php`
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* CodeRabbit Generated Unit Tests: Add PEPPOL PHPUnit test suite and testing documentation (#107)
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>1 parent a103489 commit 0f18ac5
File tree
55 files changed
+6082
-6
lines changed- Modules
- Clients
- Database/Migrations
- Models
- Invoices
- Config
- Console/Commands
- Database/Migrations
- Enums
- Events/Peppol
- Jobs/Peppol
- Listeners/Peppol
- Models
- Peppol
- Contracts
- FormatHandlers
- Providers
- EInvoiceBe
- Storecove
- Services
- Tests/Unit
- Enums
- Peppol
- FormatHandlers
- Providers
- Traits
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
55 files changed
+6082
-6
lines changedLines changed: 45 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
20 | 22 | | |
21 | 23 | | |
22 | 24 | | |
| |||
37 | 39 | | |
38 | 40 | | |
39 | 41 | | |
| 42 | + | |
40 | 43 | | |
41 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
42 | 48 | | |
43 | 49 | | |
44 | 50 | | |
| |||
68 | 74 | | |
69 | 75 | | |
70 | 76 | | |
| 77 | + | |
| 78 | + | |
71 | 79 | | |
72 | 80 | | |
73 | 81 | | |
| |||
161 | 169 | | |
162 | 170 | | |
163 | 171 | | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
164 | 177 | | |
165 | 178 | | |
166 | 179 | | |
167 | 180 | | |
168 | 181 | | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
169 | 192 | | |
170 | 193 | | |
171 | 194 | | |
| |||
180 | 203 | | |
181 | 204 | | |
182 | 205 | | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
183 | 219 | | |
184 | 220 | | |
185 | 221 | | |
| |||
201 | 237 | | |
202 | 238 | | |
203 | 239 | | |
204 | | - | |
| 240 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
156 | | - | |
157 | | - | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
158 | 231 | | |
159 | 232 | | |
160 | 233 | | |
Lines changed: 40 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
Lines changed: 42 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
Lines changed: 53 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
Lines changed: 41 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
0 commit comments