This sample app is meant to provide working example of how to make API calls to QuickBooks. Please note that while these examples work, features not called out above are not intended to be taken and used in production business applications. In other words, this is not a seed project to be taken cart blanche and deployed to your production environment.
For example, certain concerns are not addressed at all in our samples (e.g. security, privacy, scalability). In our sample apps, we strive to strike a balance between clarity, maintainability, and performance where we can. However, clarity is ultimately the most important quality in a sample app. Therefore there are certain instances where we might forgo a more complicated implementation (e.g. caching a frequently used value, robust error handling, more generic domain model structure) in favor of code that is easier to read. In that light, we welcome any feedback that makes our samples apps easier to learn from.
Note: This app has been developed and tested on Windows 7 and only deals with US QBO companies. The code will have to be modified for non-US companies. Please check DotNet CRUD sample app to see how to make calls for other entities.
- Clone the repository on your machine
- cd to project directory and launch
Sample_InvoiceWithReimbursedCharge_DotNet
in Visual Studio - Open Web.config and fill details for
clientId
,clientSecret
,appEnvironment
andlogPath
from App Keys section on your developer account - Copy
redirectURI
value in App Keys tab - Build and Run
This workflow that this app follows is as follows: