public GeneratedFile GenerateInvoiceXml(string authToken, InvoiceInfo invoiceInfo, bool disableValidation = false) { if (invoiceInfo == null) { throw new ArgumentNullException("invoiceInfo"); } return(diadocHttpApi.GenerateInvoiceXml(authToken, invoiceInfo, disableValidation)); }