I'm using Keith Palmer's QuickBooks PHP DevKit to create an invoice. The invoice numbers are being auto generated and auto increment. However, instead of starting from 1000
I was wondering if it would be possible to start from something like M1000
?
How can this be done?
My HTTP request is:
<Invoice xmlns="http://schema.intuit.com/finance/v3">
<DocNumber>RAPH9750</DocNumber>
<TxnDate>2014-12-14</TxnDate>
<Line xmlns="http://schema.intuit.com/finance/v3">
<Amount>596.42</Amount>
<DetailType>SalesItemLineDetail</DetailType>
<Description>Cleaning of 2 Rugs.</Description>
<SalesItemLineDetail xmlns="http://schema.intuit.com/finance/v3">
<ItemRef>21</ItemRef>
</SalesItemLineDetail>
</Line>
<Line xmlns="http://schema.intuit.com/finance/v3">
<Amount>180</Amount>
<DetailType>SalesItemLineDetail</DetailType>
<Description>Padding</Description>
<SalesItemLineDetail xmlns="http://schema.intuit.com/finance/v3">
<ItemRef>22</ItemRef>
</SalesItemLineDetail>
</Line>
<Line xmlns="http://schema.intuit.com/finance/v3">
<Amount>11.25</Amount>
<DetailType>SalesItemLineDetail</DetailType>
<Description>Padding Tax</Description>
<SalesItemLineDetail xmlns="http://schema.intuit.com/finance/v3">
<ItemRef>23</ItemRef>
</SalesItemLineDetail>
</Line>
<CustomerRef>62</CustomerRef>
</Invoice>]
It is getting auto generated based on the company setting of your QBO account. See the below snapshot. It is not possible to control the auto generated docNumber.