The documentation is available at the following links:

Link:  Final specification of the application interface for direct access to the electronic invoice system

Link:  Final examples of XML files according to the UBL 2.1 standard