/// <summary> /// InvoiceXpress <a href="https://invoicexpress.com/api/proformas/change-state">Proformas ChangeState</a> Method /// </summary> public static ProformaChangeStateDto ChangeState(string apiKey, string accountName, int proformaId, ProformaChangeStateDto inputData) { HttpResponseInfo result = Rest_ChangeState(apiKey, accountName, proformaId, inputData.XmlSerializeToString()); return(result.Text.DeserializeXml <ProformaChangeStateDto>()); }
/// <summary> /// InvoiceXpress <a href="https://invoicexpress.com/api/proformas/get">Proformas Get</a> Method /// </summary> public static ProformaDto Get(string apiKey, string accountName, int proformaId) { HttpResponseInfo result = Rest_Get(apiKey, accountName, proformaId); return(result.Text.DeserializeXml <ProformaDto>()); }
/// <summary> /// InvoiceXpress <a href="https://invoicexpress.com/api/accounts/stats">Accounts Stats</a> Method /// </summary> public static AccountStatsDto Stats(string accountName, string accountId, string apiKey) { HttpResponseInfo result = Rest_Stats(accountName, accountId, apiKey); return(result.Text.DeserializeXml <AccountStatsDto>()); }
/// <summary> /// InvoiceXpress <a href="https://invoicexpress.com/api/proformas/list">Proformas List</a> Method /// </summary> public static ProformasDto List(string apiKey, string accountName) { HttpResponseInfo result = Rest_List(apiKey, accountName); return(result.Text.DeserializeXml <ProformasDto>()); }
/// <summary> /// InvoiceXpress <a href="https://invoicexpress.com/api/clients/list-invoice">Clients Invoices</a> Method /// </summary> public static InvoicesDto Invoices(string apiKey, string accountName, int clientId, int?page, int?perPage) { HttpResponseInfo result = Rest_Invoices(apiKey, accountName, clientId, page, perPage); return(result.Text.DeserializeXml <InvoicesDto>()); }
/// <summary> /// InvoiceXpress <a href="https://invoicexpress.com/api/accounts/get">Accounts Get</a> Method /// </summary> public static AccountDto Get(string apiKey, string accountName, string accountId) { HttpResponseInfo result = Rest_Get(apiKey, accountName, accountId); return(result.Text.DeserializeXml <AccountDto>()); }
/// <summary> /// InvoiceXpress <a href="https://invoicexpress.com/api/users/login">Users Login</a> Method /// </summary> public static UserAccountDto Login(CredentialsDto inputData) { HttpResponseInfo result = Rest_Login(inputData.XmlSerializeToString()); return(result.Text.DeserializeXml <UserAccountDto>()); }
/// <summary> /// InvoiceXpress <a href="https://invoicexpress.com/api/invoices/create">Invoices Create</a> Method /// </summary> public static InvoiceDto Create(string apiKey, string accountName, InvoiceDto inputData) { HttpResponseInfo result = Rest_Create(apiKey, accountName, inputData.XmlSerializeToString()); return(result.Text.DeserializeXml <InvoiceDto>()); }
/// <summary> /// InvoiceXpress <a href="https://invoicexpress.com/api/credit-notes/list">CreditNotes List</a> Method /// </summary> public static CreditNotesDto List(string apiKey, string accountName, int?page, int?perPage) { HttpResponseInfo result = Rest_List(apiKey, accountName, page, perPage); return(result.Text.DeserializeXml <CreditNotesDto>()); }
/// <summary> /// InvoiceXpress <a href="https://invoicexpress.com/api/credit-notes/get">CreditNotes Get</a> Method /// </summary> public static CreditNoteDto Get(string apiKey, string accountName, int creditNoteId) { HttpResponseInfo result = Rest_Get(apiKey, accountName, creditNoteId); return(result.Text.DeserializeXml <CreditNoteDto>()); }
/// <summary> /// InvoiceXpress <a href="https://invoicexpress.com/api/taxes/create">Taxes Delete</a> Method /// </summary> public static TaxDto Delete(string apiKey, string accountName, int taxId, TaxDto inputData) { HttpResponseInfo result = Rest_Delete(apiKey, accountName, taxId, inputData.XmlSerializeToString()); return(result.Text.DeserializeXml <TaxDto>()); }
/// <summary> /// InvoiceXpress <a href="https://invoicexpress.com/api/invoices/list">Invoices List</a> Method /// </summary> public static InvoicesDto List(string apiKey, string accountName, int?page = 1, int?perPage = 10, InvoiceFilters filters = null) { HttpResponseInfo result = Rest_List(apiKey, accountName, page, perPage, filters); return(result.Text.DeserializeXml <InvoicesDto>()); }
/// <summary> /// InvoiceXpress <a href="https://invoicexpress.com/api/clients/find-by-code">Clients FindByCode</a> Method /// </summary> public static ClientDto FindByCode(string apiKey, string accountName, string clientCode) { HttpResponseInfo result = Rest_FindByCode(apiKey, accountName, clientCode); return(result.Text.DeserializeXml <ClientDto>()); }
/// <summary> /// InvoiceXpress <a href="https://invoicexpress.com/api/invoices/related-documents">Invoices RelatedDocuments</a> Method /// </summary> public static InvoicesDto RelatedDocuments(string apiKey, string accountName, int invoiceId) { HttpResponseInfo result = Rest_RelatedDocuments(apiKey, accountName, invoiceId); return(result.Text.DeserializeXml <InvoicesDto>()); }
/// <summary> /// InvoiceXpress <a href="https://invoicexpress.com/api/users/accounts">Users Accounts</a> Method /// </summary> public static UserAccountsDto Accounts(string apiKey) { HttpResponseInfo result = Rest_Accounts(apiKey); return(result.Text.DeserializeXml <UserAccountsDto>()); }
/// <summary> /// InvoiceXpress <a href="https://invoicexpress.com/api/invoices/partial-payment">Invoices PartialPayment</a> Method /// </summary> public static PartialPaymentReceiptDto PartialPayment(string apiKey, string accountName, int documentId, PartialPaymentDto inputData) { HttpResponseInfo result = Rest_PartialPayment(apiKey, accountName, documentId, inputData.XmlSerializeToString()); return(result.Text.DeserializeXml <PartialPaymentReceiptDto>()); }
/// <summary> /// InvoiceXpress <a href="https://invoicexpress.com/api/accounts/create">Accounts Create</a> Method /// </summary> public static AccountDto Create(string apiKey, AccountDto inputData) { HttpResponseInfo result = Rest_Create(apiKey, inputData.XmlSerializeToString()); return(result.Text.DeserializeXml <AccountDto>()); }
/// <summary> /// InvoiceXpress <a href="https://invoicexpress.com/api/invoices/get">Invoices Get</a> Method /// </summary> public static InvoiceDto Get(string apiKey, string accountName, int invoiceId) { HttpResponseInfo result = Rest_Get(apiKey, accountName, invoiceId); return(result.Text.DeserializeXml <InvoiceDto>()); }
/// <summary> /// InvoiceXpress <a href="https://invoicexpress.com/api/invoice-receipt/change-state">InvoiceReceipts ChangeState</a> Method /// </summary> public static InvoiceReceiptChangeStateResponseDto ChangeState(string apiKey, string accountName, int invoiceReceiptId, InvoiceReceiptChangeStateDto inputData) { HttpResponseInfo result = Rest_ChangeState(apiKey, accountName, invoiceReceiptId, inputData.XmlSerializeToString()); return(result.Text.DeserializeXml <InvoiceReceiptChangeStateResponseDto>()); }