Xero - beautiful accounting software

Xero Developer Help Center

Xero Developer Community

Community > Find a Developer >

[Help] Unable Push Invoice data via Private API use .NET

Started by Chien Ho -   in Find a Developer

I'm use Private Xero API to push invoices to Xero
public bool CreateInvoice(XeroInvoiceModel model)
{
var invoice = model.ToInvoice(_settings.ContactName);
var result = _api.Invoices.CreatedByMyApp().Create(invoice);

return result != null;
}

Result response "true" but new invoice does not show on "Invoices Management"
but i use Xero API preview and check Invoice Number create above then it show data.

How to push invoice via API use private my app with "Organisation" selected to Invoices List?

Thanks!