Skip to content
SmartFormular

SmartFormular › SmartFormular E-Invoice Start › Validation rules › UBL-DT-06

UBL-DT-06

An attachment has no file type (MIME code)

Validation rule of EN 16931 (CEN, rule set 1.3.16) · Level: Error

What the message means

An attachment has no file type (MIME code).

What the issuer needs to change

Give the file type, for example application/pdf.

Your invoice reports UBL-DT-06? Check it with SmartFormular E-Invoice Start, free to try until 31 December 2026: the tool shows every finding with an explanation, the invoice in readable form and a GiroCode to pay – in your browser, no upload.

Check an e-invoice

Origin

Rule set
EN 16931 (CEN, rule set 1.3.16)
Syntax
UBL
Level
Error

Original rule text

Binary object elements shall contain the mime code attribute

Source: CEN/TC 434, EN 16931 validation rules 1.3.16, European Union Public Licence 1.2

Technical details for IT

UBL

Context: //*[ends-with(name(), 'BinaryObject')]
Test: not((@mimeCode))

Related rules

  • CII-DT-037The tax type is not "VAT"
  • CII-DT-097A date is not in the format YYYYMMDD (format code 102)
  • UBL-DT-01An amount has more than two decimals
  • UBL-DT-07An attachment has no file name
  • UBL-SR-07Missing in the preceding invoice reference: preceding invoice reference (BT-25)
  • UBL-SR-42The seller has more than two tax entries (PartyTaxScheme)

All validation rules

Technical explanation by SmartFormular, not tax or legal advice. Rules as of 31 August 2026 (KoSIT validator configuration).