# FACTURAE-1.5.2

Source: https://xmlvalid.com/rules/FACTURAE-1.5.2

> InvoicesCount (…) is not the number of invoices in the file (…).

- Level: error
- Rule sets: Facturae validation rules of the Spanish public sector Orden HAP/1650/2015, Facturae 3.2.x description of 6 June 2017
- Context: `/*:Facturae`
- Test: `es:dec($batch/*:InvoicesCount) = count($invoices)`

Validate a document against these rules: https://xmlvalid.com/validate
