I want to send customers and invoices to the quickbooks online account using the consolibyte quickbooks php devkit. I've managed to do that, but i can't set up my custom IDs for the customers and invoices because the library unset them from objects.
Does anybody know if this is achievable or if quickbooks API allows this?
The alternative would be to store a quickbooks_id in my database, which i was trying to avoid.
Thanks!
Edit: some code
$IPP->version(QuickBooks_IPP_IDS::VERSION_3);
$CustomerService = new QuickBooks_IPP_Service_Customer();
$Customer = new QuickBooks_IPP_Object_Customer();
$Customer->setId(101); // this is the ID i want to set
$Customer->setTitle('Mr');
$Customer->setGivenName('John');
$Customer->setFamilyName('Doe');