QbXML for Adding a Time Sheet / Time Tracking
Example qbXML Request
<?xml version="1.0" encoding="utf-8"?>
<?qbxml version="9.0"?>
<QBXML>
<QBXMLMsgsRq onError="stopOnError">
<TimeTrackingAddRq>
<TimeTrackingAdd>
<TxnDate>2013-12-02</TxnDate>
<EntityRef>
<FullName>My Vendor</FullName>
</EntityRef>
<CustomerRef>
<FullName>My Customer</FullName>
</CustomerRef>
<ItemServiceRef>
<FullName>Hourly Service</FullName>
</ItemServiceRef>
<Duration>PT2H0M0S</Duration>
<PayrollItemWageRef>
<FullName>Hourly Wages</FullName>
</PayrollItemWageRef>
<Notes>Test notes here.</Notes>
<!-- BillableStatus may have one of the following values: Billable, NotBillable, HasBeenBilled -->
<BillableStatus>Billable</BillableStatus>
</TimeTrackingAdd>
</TimeTrackingAddRq>
</QBXMLMsgsRq>
</QBXML>