diff --git a/Xero.Api/Core/Endpoints/InvoicesEndpoint.cs b/Xero.Api/Core/Endpoints/InvoicesEndpoint.cs index ec694657..177df470 100644 --- a/Xero.Api/Core/Endpoints/InvoicesEndpoint.cs +++ b/Xero.Api/Core/Endpoints/InvoicesEndpoint.cs @@ -21,6 +21,7 @@ public interface IInvoicesEndpoint : IXeroUpdateEndpoint statuses); IInvoicesEndpoint InvoiceNumbers(IEnumerable invoiceNumbers); void EmailInvoice(Guid invoiceId); + IInvoicesEndpoint CreatedByMyApp(); } public class InvoicesEndpoint @@ -71,6 +72,11 @@ public void EmailInvoice(Guid invoiceId) } } + public IInvoicesEndpoint CreatedByMyApp() + { + return AddParameter("createdByMyApp", true); + } + public override void ClearQueryString() { base.ClearQueryString();