Skip to content

Tactics/FodAttest28186

Repository files navigation

FOD Attest 281.86

Build Test Coverage

Package to standardize the creation of tax certificates 281.86 for costs of childcare in a structured way and export it to XML for digital submission.

Install

Make sure to add this to the "repositories" key in your composer.json since this is a private package hosted on our own Composer repository generator Satis.

"repositories": [
    {
        "type": "composer",
        "url": "https://satis.tactics.be"
    }
]

Then run the following command

$ composer require tactics/fod-attest-28186

Context

Starting from 2023 onward the tax certificate 281.86 (Costs of childcare) must be delivered digitally to the government. This will be done through Belcotax On Web.

All technical documentation can be found here. Every following link is also found on the website.

Every year specs get updated and this package must be updated accordingly. This is the brochure with all changes and explanation of fields/validation of fields. The change in specs also means there is a new validation module. Sadly the government only provides us with the new validation module at the start of a new year.

The module for Fiscal Year 2021 can be found here. This means this module still validates on addresses being only 32 characters long while the spec changed to 200 chars for this fiscal year.

There also is an FAQ specifically answering questions regarding certificate 281.86.

Technical information

This package is written in PHP7.4 because it will also be used by applications that lag behind on PHP versions. In an ideal world we write this packaged in the latest PHP version and have rector make a build to an older PHP version. This package would be the ideal test case for such a setup.

Code Documentation

Code should always be documented as to what they mean in function of the tax certificate

Dependencies

When this package requires a new dependency make sure to install it through the docker container. That way we can make sure the dependency is never out of sync with the php/composer version

Change log

Please see CHANGELOG for more information on what has changed recently.

Testing

$ composer test

Static analysis

$ composer phpstan

Contributing

Please see CONTRIBUTING and CODE_OF_CONDUCT for details.

Security

If you discover any security related issues, please email info at tactics dot be instead of using the issue tracker.

Credits

Development of this library is sponsored by Tactics.

License

The Lesser GPL version 3 or later. Please see License File for more information.