1. Setting up the user’s business info
The Tight API allows users to have more than one business, with custom invoices for each, which provides a lot of flexibility in today’s modern workforce. First, you should retrieve a list of the user’s businesses. Be sure to include that user’saccess_token in the headers.
You can also customize which sender info fields are shown on the user’s invoices by toggling the following booleans to true or false:
To update a business, simply POST the updated business JSON object to the /business endpoint:
2. Uploading the user’s business logo
To upload a logo for a user’s business, simply POST the logo’s file path, along with anattachToId equal to the user’s business id:
3. Setting up the user’s invoice template
After updating the user’s business info, the next step to customize your user’s invoice is to update the invoice template info. First, you should retrieve the user’s invoice template info.
To update the invoice template info, simply POST the updated JSON object to the /invoiceSetup endpoint:
4. Adding the user’s default billable rate
The Tight API allows users to have more than one employee (e.g. for SMBs), but in many cases, there will be only be one employee, which represents the user himself. In order to set that user’s billable rate, you should retrieve a list of the user’s employee. Be sure to include that user’saccess_token in the headers.
billableRate field for any employees whose time will be invoiced, and then simply POST the updated JSON object to the /employee endpoint: