public async Task <SendInvoicesResult> SendInvoicesAsync(InvoiceDocument invoiceDocument)
        {
            var mapper      = new InvoiceDocumentMapper(invoiceDocument);
            var responseDoc = await RestClient.SendRequestAsync(mapper.GetInvoiceDoc());

            return(new SendInvoicesResult(responseDoc));
        }
Beispiel #2
0
        public async Task <SendInvoicesResult> SendInvoicesAsync(ISequentialEnumerableStartingWithOne <Invoice> invoices)
        {
            var responseDoc = await RestClient.SendRequestAsync(InvoiceDocumentMapper.GetInvoiceDoc(invoices));

            return(new SendInvoicesResult(responseDoc));
        }