OptionalcompressOptionaldeclarationEmit the XML declaration. Defaults to true.
OptionalindentIndentation for pretty printing, or false for a single line.
Defaults to false: these documents go over the wire, and for
manageInvoice the invoice payload is hashed and base64 encoded, so there
is nothing to be gained from whitespace. Pass '\t' or two spaces when a
human has to read the result.
Gzip the XML before base64 encoding.
NAV allows this for
manageInvoiceand it materially reduces payload size, but the whole batch must then setcompressedContent— the flag is per request, not per invoice.