Are invoices and credit notes distinguished in XML by whether the amount is positive or negative?

Fakturácia

Official Response

No. XML under BIS3 uses only positive values. A credit note has a different type in the XML document header, but its value remains positive.