transfer script for XR to Peppol BIS Billing NRS
- add script
- add ant target
requirements:
based on src/validation/schematron/ubl/XRechnung-UBL-validation.sch
- exclude
title
- exclude
include
- exclude
<phase>
- include only pattern "ubl-pattern", but remove pattern id
- include only those global variables from
src/validation/schematron/common.sch
that are not blacklisted inxr-variables-list.xml
(i.e. only those that will be referenced in the transformation result) -
assert
s:- exclude those with
@exclude="true"
(listed inxr-rules-list.xml
) from transformation - replace XR
assert/@id
with Peppol Id (a:assert/@key
toa:assert/@id
inxr-rules-list.xml
) - translate
assert
texts ((dummy) translations inxr-rules-list.xml
)
- exclude those with
-
rule
s:- add supplier and customer country check to
@context
path - include rules only if they contain assertions
- include only variables that are referenced in included assertions
- add supplier and customer country check to
Edited by Barbara Dewein