HOME / COMMUNITY Switch to knowledge base

Invoice_Create creates invoices if TestMode is true

I am attempting to use Invoice_Create, XML interface. When I send the following (valid) XML:

<?xml version="1.0" ?>
<Invoice_Create xmlns="https://api.quickfile.co.uk" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://api.quickfile.co.uk https://api.quickfile.co.uk/schemas/1_2/Invoice_Create.xsd">
  <Header>
    <MessageType>Request</MessageType>
    <TestMode>true</TestMode>

then the invoice IS created, in draft. Why does an Invoice_Create sent in ‘TestMode’ affect the database ?

Hi @petercratle

TestMode was depreciated a few years ago and is no longer user.

What you may wish to do is set up a new account for testing purposes. As long as the account doesn’t have 1,000 or more nominal ledger entries within a 12 month period, then the account will remain free for you to play with.

No, it’s still documented as part of API v1.2: