The specification followed
The generator applies the Salaries and fees TD-bilateral specification, version 1.2 for 2026 income and version 1.0 for 2025 income.
Records are 672 characters followed by a line feed, in upper case within the 0x20 to 0x7E character range, and follow the order 010, 020, 210 repeated per payee, 300 then 310.
The return is of type 1, fees only, amounts are in whole euros and the filer’s SIREN number sits in field 300-068.
Compression, encryption and file name
The file is compressed with GZIP and encrypted with OpenPGP using the French tax authority’s public key, test or production as appropriate, before it is offered for download.
Its name follows the pattern DSAL followed by the year, the SIREN number, a sequence number and a timestamp, as the portal expects.
The accounting firm’s bulk job can combine several filers in one file.
Checks and deadline
The return is validated before generation, then the server re-checks the structure and that the SIREN number matches the company, so another company’s file is never encrypted.
The deadline is computed as the second business day after 1 May, and only payees above the 2,400 € threshold are included.
Filing stays manual
The code says it in so many words, it files nothing, the encrypted file is uploaded by hand on the TéléTD portal and the acknowledgement is then entered in IRPEA.
The DAS2 is prepared under Tax, DAS2 tab, from the year’s purchase invoices.
For accounting firms
An accounting firm prepares its clients’ DAS2 returns in the same screen, each filer keeping its own SIREN number, and the acknowledgement entered after filing stays linked to the right company.