cURL
curl --request POST \ --url https://sandbox.hurdlr.com/rest/v5/invoicing/invoiceSetup \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: */*' \ --data ' { "invoiceSetup": { "brandColor": "#5AAE46", "defaultInvoiceNote": "Thank you for your business!", "defaultInvoiceTerm": "NET_10", "defaultReimbursableMarkUpPercent": 10, "invoiceReminderSchedule": "ON_DUE_DATE", "thirdPartyPaymentsEnabled": true, "invoiceSetupComplete": true } } '
{ "result": "SUCCESS", "errors": { "fieldErrors": {}, "globalErrors": [ { "type": "DUPLICATE", "errorMessage": "<string>" } ] }, "id": "<string>", "webhook": { "userId": "<string>", "accountantUserId": "<string>", "type": "ENTITY_UPDATE" } }
Update the user’s invoice setup
The access token received from the authorization server in the OAuth 2.0 flow.
invoiceSetup object
Show child attributes
Successful operation
Object containing details about result of the action performed
The result of the action performed
SUCCESS
FAILURE
Error object containing details errors incurred, if any
Id of the entity being acted upon