Create Invoice

Creates an invoice against the contractor's contract without paying it. Use this when you want to record work now and settle it on your own schedule.

Authentication

X-Thera-API-Keystring
API Key authentication via header

Path parameters

emailstringRequired
When using email addresses in the URL path, make sure to percent-encode the @ symbol as %40. For example: contractor%40example.com instead of contractor@example.com.

Request

This endpoint expects an object.
amountdoubleRequired

Amount in decimals (major and minor unit combined)

currencystringRequired
descriptionstringOptional
Description of invoice

Response

This endpoint returns an object.
invoiceIdstring
amountdouble
currencystring

Errors

401
Unauthorized Error
404
Not Found Error