@rudymalhi/intacct-sdk
Version:
Sage Intacct SDK for JavaScript
22 lines • 859 B
JavaScript
;
/**
* @module Intacct/SDK/Functions/AccountsReceivable
*/
Object.defineProperty(exports, "__esModule", { value: true });
const AbstractInvoice_1 = require("./AbstractInvoice");
class InvoiceReverse extends AbstractInvoice_1.default {
writeXml(xml) {
xml.writeStartElement("function");
xml.writeAttribute("controlid", this.controlId, true);
xml.writeStartElement("reverse_invoice");
xml.writeAttribute("key", this.recordNo, true);
xml.writeStartElement("datereversed");
xml.writeDateSplitElements(this.reverseDate);
xml.writeEndElement(); // datereversed
xml.writeElement("description", this.memo);
xml.writeEndElement(); // reverse_invoice
xml.writeEndElement(); // function
}
}
exports.default = InvoiceReverse;
//# sourceMappingURL=InvoiceReverse.js.map