====== List of QuickBooks Example qbXML Requests/Responses ====== ===== General notes about qbXML requests ===== * If the value of the tag is empty, then **do not send that tag**. i.e. rather than send an empty tag like: just don't send that tag at all. * If you're issuing a *Mod request, **you must send the ListID/TxnID and EditSequence** of the record you're trying to modify. ===== Where can I find .XSD schema for requests/responses? ===== With a default installation of the QuickBooks SDK, you can find the ones the validator uses here: * C:/Program Files/Intuit/IDN/Common/tools/validator/ ===== General notes about qbXML responses ===== Primary keys within QuickBooks are ListIDs and TxnIDs. You'll probably want to store the returned ListID and TxnID from the responses in your application. FullName is also a unique key within QuickBooks, but it can change, so it's usually not a good idea to use it as a primary key. ===== List of Example qbXML Requests/Responses ===== **WARNING** If you're using [[quickbooks_integration_php_consolibyte|Keith's / Consolibyte Solutions PHP framework]], you **must** change the requestID="..." attribute before using this examples! You need to embed the $requestID parameter passed to your handler function as requestID="xyz" **/WARNING** ==== Adding Objects ==== * [[quickbooks_qbxml_accountadd|Adding an Account]] * [[quickbooks_qbxml_classadd|Adding a Class]] * [[quickbooks_qbxml_customeradd|Adding a Customer]] * [[quickbooks_qbxml_invoiceadd|Adding an Invoice]] * [[quickbooks_qbxml_invoiceadd_with_discount|Adding an Invoice with a Coupon/Discount]] * [[quickbooks_qbxml_invoiceadd_2|Another Example of Adding an Invoice]] * Items: * [[quickbooks_qbxml_itemserviceadd|Adding a Service Item]] * [[quickbooks_qbxml_itemnoninventoryadd|Adding a Non-Inventory Item]] * [[quickbooks_qbxml_iteminventoryadd|Adding an Inventory Item]] * [[quickbooks_qbxml_receivepaymentadd|Adding a Payment]] * [[quickbooks_qbxml_salesreceiptadd|Adding a Sales Receipt]] * [[quickbooks_qbxml_itemreceiptadd|Adding an Item Receipt]] ==== Modifying Objects ==== * [[quickbooks_qbxml_customermod|Modifying a Customer]] * [[quickbooks_qbxml_dataextmod|Modifying a Custom Field (DataExt)]] * [[quickbooks_qbxml_invoicemod|Modifying an Invoice]] ==== Searching Objects ==== * [[quickbooks_qbxml_accountquery|Querying for Accounts]] * [[quickbooks_qbxml_customerquery|Querying for Customers]] * [[quickbooks_qbxml_customerquery_by_name|Querying for a Customer by Name]] * [[quickbooks_qbxml_customerquery_with_iterators|Querying for Customers with Iterators]] * [[quickbooks_qbxml_itemquery|Querying for Items]] * [[quickbooks_qbxml_iteminventoryquery|Querying for Inventory Items]]