ec-sri-invoice-signer
Version:
Ecuador SRI invoice signer.
22 lines (21 loc) • 925 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.SupportedDocumentTypes = exports.XmlProperties = void 0;
const XmlProperties = {
namespaces: {
ds: 'http://www.w3.org/2000/09/xmldsig#',
xades: 'http://uri.etsi.org/01903/v1.3.2#'
},
algorithms: {
canonicalization: 'http://www.w3.org/TR/2001/REC-xml-c14n-20010315',
digest: 'http://www.w3.org/2000/09/xmldsig#sha1',
signature: 'http://www.w3.org/2000/09/xmldsig#rsa-sha1',
transform: 'http://www.w3.org/2000/09/xmldsig#enveloped-signature',
},
types: {
signedProperties: 'http://uri.etsi.org/01903#SignedProperties'
}
};
exports.XmlProperties = XmlProperties;
const SupportedDocumentTypes = new Set(['factura', 'liquidacionCompra', 'notaDebito', 'notaCredito', 'comprobanteRetencion', 'guiaRemision']);
exports.SupportedDocumentTypes = SupportedDocumentTypes;