# LedgerWire > A JSON REST API for QuickBooks Desktop (Pro, Premier, Accountant, Enterprise). Free hosted sandbox company file with no Windows or QuickBooks install; production through Intuit's QuickBooks Web Connector at $19 per company file per month. Base URL: https://ledgerwire.vibiz.app/v1 Auth: Authorization: Bearer lw_test_... (sandbox) or lw_live_... (production) Public read-only demo key: lw_test_demo_public_sandbox Resources: customers, vendors, items, invoices, sales-receipts, receive-payments, bills, bill-payments, accounts, company; raw qbXML at POST /v1/qbxml; jobs at GET /v1/jobs/{id} JSON keys are camelCase qbXML element names; ListID/TxnID -> id; updates need editSequence. ## Docs - [Docs and API explorer](https://ledgerwire.vibiz.app/docs) - [Pricing](https://ledgerwire.vibiz.app/pricing) - [Security](https://ledgerwire.vibiz.app/security) ## Free tools - [.qwc file generator](https://ledgerwire.vibiz.app/tools/qwc-generator) - [qbXML to JSON converter](https://ledgerwire.vibiz.app/tools/qbxml-to-json) ## qbXML reference - [ItemQuery](https://ledgerwire.vibiz.app/qbxml/itemquery) - [CustomerQuery](https://ledgerwire.vibiz.app/qbxml/customerquery) - [CustomerAdd](https://ledgerwire.vibiz.app/qbxml/customeradd) - [CustomerMod](https://ledgerwire.vibiz.app/qbxml/customermod) - [VendorQuery](https://ledgerwire.vibiz.app/qbxml/vendorquery) - [VendorAdd](https://ledgerwire.vibiz.app/qbxml/vendoradd) - [VendorMod](https://ledgerwire.vibiz.app/qbxml/vendormod) - [ItemServiceQuery](https://ledgerwire.vibiz.app/qbxml/itemservicequery) - [ItemServiceAdd](https://ledgerwire.vibiz.app/qbxml/itemserviceadd) - [ItemServiceMod](https://ledgerwire.vibiz.app/qbxml/itemservicemod) - [ItemInventoryQuery](https://ledgerwire.vibiz.app/qbxml/iteminventoryquery) - [ItemInventoryAdd](https://ledgerwire.vibiz.app/qbxml/iteminventoryadd) - [ItemInventoryMod](https://ledgerwire.vibiz.app/qbxml/iteminventorymod) - [ItemNonInventoryQuery](https://ledgerwire.vibiz.app/qbxml/itemnoninventoryquery) - [ItemNonInventoryAdd](https://ledgerwire.vibiz.app/qbxml/itemnoninventoryadd) - [ItemNonInventoryMod](https://ledgerwire.vibiz.app/qbxml/itemnoninventorymod) - [InvoiceQuery](https://ledgerwire.vibiz.app/qbxml/invoicequery) - [InvoiceAdd](https://ledgerwire.vibiz.app/qbxml/invoiceadd) - [InvoiceMod](https://ledgerwire.vibiz.app/qbxml/invoicemod) - [SalesReceiptQuery](https://ledgerwire.vibiz.app/qbxml/salesreceiptquery) - [SalesReceiptAdd](https://ledgerwire.vibiz.app/qbxml/salesreceiptadd) - [SalesReceiptMod](https://ledgerwire.vibiz.app/qbxml/salesreceiptmod) - [ReceivePaymentQuery](https://ledgerwire.vibiz.app/qbxml/receivepaymentquery) - [ReceivePaymentAdd](https://ledgerwire.vibiz.app/qbxml/receivepaymentadd) - [BillQuery](https://ledgerwire.vibiz.app/qbxml/billquery) - [BillAdd](https://ledgerwire.vibiz.app/qbxml/billadd) - [BillMod](https://ledgerwire.vibiz.app/qbxml/billmod) - [BillPaymentCheckQuery](https://ledgerwire.vibiz.app/qbxml/billpaymentcheckquery) - [BillPaymentCheckAdd](https://ledgerwire.vibiz.app/qbxml/billpaymentcheckadd) - [AccountQuery](https://ledgerwire.vibiz.app/qbxml/accountquery) - [AccountAdd](https://ledgerwire.vibiz.app/qbxml/accountadd) - [AccountMod](https://ledgerwire.vibiz.app/qbxml/accountmod) - [CompanyQuery](https://ledgerwire.vibiz.app/qbxml/companyquery) - [HostQuery](https://ledgerwire.vibiz.app/qbxml/hostquery) - [EstimateAdd](https://ledgerwire.vibiz.app/qbxml/estimateadd) - [SalesOrderAdd](https://ledgerwire.vibiz.app/qbxml/salesorderadd) - [PurchaseOrderAdd](https://ledgerwire.vibiz.app/qbxml/purchaseorderadd) - [CreditMemoAdd](https://ledgerwire.vibiz.app/qbxml/creditmemoadd) - [JournalEntryAdd](https://ledgerwire.vibiz.app/qbxml/journalentryadd) - [CheckAdd](https://ledgerwire.vibiz.app/qbxml/checkadd) - [TxnDel](https://ledgerwire.vibiz.app/qbxml/txndel) - [EmployeeQuery](https://ledgerwire.vibiz.app/qbxml/employeequery) ## Error codes - [0x80040400](https://ledgerwire.vibiz.app/errors/0x80040400): QuickBooks found an error when parsing the provided XML text stream - [0x80040401](https://ledgerwire.vibiz.app/errors/0x80040401): Could not access QuickBooks - [0x80040402](https://ledgerwire.vibiz.app/errors/0x80040402): Unexpected error from the QuickBooks SDK - [0x80040403](https://ledgerwire.vibiz.app/errors/0x80040403): Could not open the specified QuickBooks company data file - [0x80040408](https://ledgerwire.vibiz.app/errors/0x80040408): Could not start QuickBooks - [0x8004040A](https://ledgerwire.vibiz.app/errors/0x8004040a): QuickBooks company data file is already open and it is different from the one requested - [0x8004040D](https://ledgerwire.vibiz.app/errors/0x8004040d): The ticket parameter is invalid - [0x80040410](https://ledgerwire.vibiz.app/errors/0x80040410): The QuickBooks company data file is currently open in a mode other than the one specified by your application - [0x80040414](https://ledgerwire.vibiz.app/errors/0x80040414): A modal dialog box is showing in the QuickBooks user interface - [0x80040416](https://ledgerwire.vibiz.app/errors/0x80040416): If QuickBooks is not running, a call to BeginSession must include the name of the company data file - [0x80040418](https://ledgerwire.vibiz.app/errors/0x80040418): This application has not accessed this QuickBooks company data file before - [0x8004041A](https://ledgerwire.vibiz.app/errors/0x8004041a): This application does not have permission to access this QuickBooks company data file - [0x8004041D](https://ledgerwire.vibiz.app/errors/0x8004041d): This application is not allowed to log into this QuickBooks company data file automatically - [0x80040420](https://ledgerwire.vibiz.app/errors/0x80040420): The QuickBooks user has denied access - [0x80040422](https://ledgerwire.vibiz.app/errors/0x80040422): This application requires single-user file access mode and another application is already sharing data with this company file - [0x80040424](https://ledgerwire.vibiz.app/errors/0x80040424): QuickBooks did not finish its initialization - [QBWC1012](https://ledgerwire.vibiz.app/errors/qbwc1012): QBWC1012: Authentication failed due to the following error message - [QBWC1039](https://ledgerwire.vibiz.app/errors/qbwc1039): QBWC1039: There was a problem adding the application (unique OwnerID/FileID pair value required) - [QBWC1042](https://ledgerwire.vibiz.app/errors/qbwc1042): QBWC1042: ReceiveResponseXML failed - [QBWC1048](https://ledgerwire.vibiz.app/errors/qbwc1048): QBWC1048: Could not open the QuickBooks company file - [QBWC1085](https://ledgerwire.vibiz.app/errors/qbwc1085): QBWC1085: QuickBooks was unable to write to the log file - [1](https://ledgerwire.vibiz.app/errors/1): qbXML status 1: A query request did not find a matching object in QuickBooks - [3000](https://ledgerwire.vibiz.app/errors/3000): qbXML status 3000: The given object ID is invalid - [3020](https://ledgerwire.vibiz.app/errors/3020): qbXML status 3020: There was an error when converting the date value - [3070](https://ledgerwire.vibiz.app/errors/3070): qbXML status 3070: The string in the field is too long - [3100](https://ledgerwire.vibiz.app/errors/3100): qbXML status 3100: The name of the list element is already in use - [3120](https://ledgerwire.vibiz.app/errors/3120): qbXML status 3120: Object specified in the request cannot be found - [3140](https://ledgerwire.vibiz.app/errors/3140): qbXML status 3140: There is an invalid reference to QuickBooks in the request - [3200](https://ledgerwire.vibiz.app/errors/3200): qbXML status 3200: The provided edit sequence is out-of-date - [3210](https://ledgerwire.vibiz.app/errors/3210): qbXML status 3210: A field has an invalid value or a required value is missing - [3250](https://ledgerwire.vibiz.app/errors/3250): qbXML status 3250: This feature is not enabled or not available in this version of QuickBooks ## Guides - [QuickBooks Desktop API in Node.js: create invoices without qbXML or Windows](https://ledgerwire.vibiz.app/guides/quickbooks-desktop-api-node) - [QuickBooks Desktop API in Python: create invoices without qbXML or Windows](https://ledgerwire.vibiz.app/guides/quickbooks-desktop-api-python) - [QuickBooks Desktop API in PHP: create invoices without qbXML or Windows](https://ledgerwire.vibiz.app/guides/quickbooks-desktop-api-php) - [QuickBooks Desktop API in C#: create invoices without qbXML or Windows](https://ledgerwire.vibiz.app/guides/quickbooks-desktop-api-csharp) - [QuickBooks Desktop API in Ruby: create invoices without qbXML or Windows](https://ledgerwire.vibiz.app/guides/quickbooks-desktop-api-ruby) - [QuickBooks Desktop API in Go: create invoices without qbXML or Windows](https://ledgerwire.vibiz.app/guides/quickbooks-desktop-api-go) - [Sync Shopify with QuickBooks Desktop (Pro, Premier and Enterprise)](https://ledgerwire.vibiz.app/integrations/shopify-quickbooks-desktop) - [Sync Stripe with QuickBooks Desktop (Pro, Premier and Enterprise)](https://ledgerwire.vibiz.app/integrations/stripe-quickbooks-desktop) - [Sync Jobber with QuickBooks Desktop (Pro, Premier and Enterprise)](https://ledgerwire.vibiz.app/integrations/jobber-quickbooks-desktop) - [Sync ServiceTitan with QuickBooks Desktop (Pro, Premier and Enterprise)](https://ledgerwire.vibiz.app/integrations/servicetitan-quickbooks-desktop) - [Sync HubSpot with QuickBooks Desktop (Pro, Premier and Enterprise)](https://ledgerwire.vibiz.app/integrations/hubspot-quickbooks-desktop) - [Sync Salesforce with QuickBooks Desktop (Pro, Premier and Enterprise)](https://ledgerwire.vibiz.app/integrations/salesforce-quickbooks-desktop) - [Sync WooCommerce with QuickBooks Desktop (Pro, Premier and Enterprise)](https://ledgerwire.vibiz.app/integrations/woocommerce-quickbooks-desktop) - [Sync Square with QuickBooks Desktop (Pro, Premier and Enterprise)](https://ledgerwire.vibiz.app/integrations/square-quickbooks-desktop) - [Sync Airtable with QuickBooks Desktop (Pro, Premier and Enterprise)](https://ledgerwire.vibiz.app/integrations/airtable-quickbooks-desktop) - [Sync Google Sheets with QuickBooks Desktop (Pro, Premier and Enterprise)](https://ledgerwire.vibiz.app/integrations/google-sheets-quickbooks-desktop) - [Conductor alternative: QuickBooks Desktop API at $19 per company file](https://ledgerwire.vibiz.app/compare/conductor) - [Apideck alternative for QuickBooks Desktop](https://ledgerwire.vibiz.app/compare/apideck) - [Rutter alternative for QuickBooks Desktop](https://ledgerwire.vibiz.app/compare/rutter) - [unified.to alternative for QuickBooks Desktop](https://ledgerwire.vibiz.app/compare/unified-to) - [QODBC and ODBC drivers alternative for QuickBooks Desktop](https://ledgerwire.vibiz.app/compare/qodbc) - [LedgerWire vs the raw QuickBooks SDK and Web Connector](https://ledgerwire.vibiz.app/compare/qbsdk)