Xero - beautiful accounting software

Xero Developer Help Center

Xero Developer Community

Community > Wrapper libraries >

Verify Invoice before creating

Started by Martin Trezise -   in Wrapper libraries

I am using the .NET wrapper.

Is it possible to for Xero to verify that it is happy with the data I am sending it when creating an invoice programmatically without actually creating the invoice should the data be valid.

To explain, I have a batch of invoices that I would like to create for different contacts, but unless every invoice in the batch is valid e.g. there are no incorrect account codes etc on any of the invoices then I don't want to create any.

Thanks, Martin
08/Jan/2019