{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"Tight API","colors":{"primary":"#2ab2d1","light":"#2ad17b","dark":"#009c75"},"logo":{"light":"https://mintcdn.com/tight-7c882d74/g3bHUuD81P-TYOyV/logo/light.svg?fit=max\u0026auto=format\u0026n=g3bHUuD81P-TYOyV\u0026q=85\u0026s=7efc18a7fc4dff02d17ed0eb2de01e0c","dark":"https://mintcdn.com/tight-7c882d74/g3bHUuD81P-TYOyV/logo/dark.svg?fit=max\u0026auto=format\u0026n=g3bHUuD81P-TYOyV\u0026q=85\u0026s=59da536242351519afec1ab104b7d80c"},"favicon":"https://mintcdn.com/tight-7c882d74/PBb8Gf8jW9PRt_Fg/favicon.svg?fit=max\u0026auto=format\u0026n=PBb8Gf8jW9PRt_Fg\u0026q=85\u0026s=1871b49a7fbf78ef4003d250529f1140","navbar":{"primary":{"type":"button","label":"Request Access","href":"https://www.tight.com/#get-started"}},"seo":{"metatags":{"canonical":"https://docs.tight.com"}},"integrations":{"ga4":{"measurementId":"G-64X67ZWYYY"}},"contextual":{"options":["claude","assistant","cursor","vscode","mcp","copy","chatgpt","perplexity","view"],"display":"header"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"tight-7c882d74","hasAudioNarration":false,"actualSubdomain":"tight-7c882d74","customDomains":["docs.tight.com"],"gitSource":{"type":"github","owner":"tight-embedded","repo":"traxdocs","deployBranch":"dev","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6aeb30dfd61fde81da2f4fc3","clientVersion":"0.0.4088","searchFilterCounts":[{"language":"default","tag":"API Reference","count":484},{"language":"default","tag":"Reference","count":481},{"language":"default","tag":"Company Management","count":177},{"language":"default","tag":"Guides","count":88},{"language":"default","tag":"Embedded UI","count":78},{"language":"default","tag":"Integrations","count":69},{"language":"default","tag":"Products","count":62},{"language":"default","tag":"Invoicing","count":45},{"language":"default","tag":"Banks","count":44},{"language":"default","tag":"Transactions","count":40}]},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"#sidebar:has(~#content-container [data-page-title=\"Playground\"]){display:none}#content-container:has([data-page-title=\"Playground\"]){margin-left:0}#content-area:has([data-page-title=\"Playground\"]) div:has(.chat-assistant-floating-input){display:none}#sidebar-content a{width:auto}#navigation-items{width:100%}"}],"page":{"pagePath":"v4.0/api-reference/invoicing/create-a-draft-invoice","slug":"/v4.0/api-reference/invoicing/create-a-draft-invoice","pageMetadata":{"title":"Create a draft invoice","description":"Create a new invoice if no id is supplied, otherwise update existing invoice with supplied id","deprecated":null,"version":null,"openapi":"https://dev.hurdlr.com/rest/v1/devUtils/documentation?version=4\u0026Authorization=dexfeE6aRK3zwXP4ku5aWm8w\u0026env=sandbox post /v4/invoicing/invoice","href":"/v4.0/api-reference/invoicing/create-a-draft-invoice","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Create a new invoice if no id is supplied, otherwise update existing invoice with supplied id\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create a draft invoice","description":"Create a new invoice if no id is supplied, otherwise update existing invoice with supplied id","deprecated":null,"version":null,"openapi":"https://dev.hurdlr.com/rest/v1/devUtils/documentation?version=4\u0026Authorization=dexfeE6aRK3zwXP4ku5aWm8w\u0026env=sandbox post /v4/invoicing/invoice","href":"/v4.0/api-reference/invoicing/create-a-draft-invoice","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Invoicing"],"summary":"Create a draft invoice","description":"Create a new invoice if no id is supplied, otherwise update existing invoice with supplied id","operationId":"postInvoiceV4","responses":{"200":"8361f8d4-e038-4b55-a285-028f66b0c53d"},"security":["cd94c880-4792-480a-9c79-39e68d68dc7d"],"method":"post","type":"path","servers":["dbfdc884-57f4-4624-aa5d-40c18b27730f","ebdecc5c-6305-4c51-b7cb-d5b1221c5ec8"],"path":"/v4/invoicing/invoice","baseUrlOptions":["https://sandbox.hurdlr.com/rest","https://prod.hurdlr.com/rest"],"title":"Create a draft invoice","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"responses":{"8361f8d4-e038-4b55-a285-028f66b0c53d":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"invoiceResult":{"type":"string","enum":["SUCCESS","FAILURE_INVALID_INVOICE","WORKITEMS_ALREADY_INVOICED","FAILURE_ZERO_AMOUNT","PAYMENT_NOT_SETUP","FAILURE_OTHER"],"uniqueKey":"invoiceResult","typeLabel":"enum\u003cstring>"},"cloudStorageRetVal":{"type":"object","properties":{"url":{"type":"string","uniqueKey":"cloudStorageRetVal.url","typeLabel":"string"},"fileName":{"type":"string","uniqueKey":"cloudStorageRetVal.fileName","typeLabel":"string"},"result":{"type":"string","enum":["SUCCESS","FAILURE_CLOUDSTORAGE_NOT_SETUP","FAILURE_UPLOAD_ERROR","MASTER_SUCCESS_PERSONAL_FAILURE_UPLOAD_ERROR","FAILURE_NO_DATA","FAILURE_TOKEN_INVALIDATED","FAILURE_EMAIL_TOKEN_INVALIDATED","FAILURE_UNKNOWN_ERROR","FAILURE_USER_OVER_QUOTA","FAILURE_VALIDATION_ERROR"],"uniqueKey":"cloudStorageRetVal.result","typeLabel":"enum\u003cstring>"},"htmlReport":{"type":"string","uniqueKey":"cloudStorageRetVal.htmlReport","typeLabel":"string"},"jsonReport":{"type":"object","uniqueKey":"cloudStorageRetVal.jsonReport","typeLabel":"object"}},"uniqueKey":"cloudStorageRetVal","typeLabel":"object"},"emailStatus":{"type":"string","enum":["SUCCESS","FAILURE_TOKEN_INVALIDATED","FAILURE_TOKEN_POSSIBLY_EXPIRED","FAILURE_INVOICE_NOT_FOUND","FAILURE_OTHER","SENDING","NOT_SENT","FAILURE_BOUNCED","WARNING_AUTO_RESPONSE"],"uniqueKey":"emailStatus","typeLabel":"enum\u003cstring>"},"result":{"type":"string","enum":["SUCCESS","FAILURE_INVOICE","FAILURE_CLOUDSTORAGE","FAILURE_EMAIL","FAILURE_OTHER"],"uniqueKey":"result","typeLabel":"enum\u003cstring>"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"},"errors":{"type":"object","properties":{"fieldErrors":{"type":"object","additionalProperties":{"type":"object","properties":{"type":{"type":"string","description":"A broad categorization of the error","enum":["DUPLICATE","REQUIRED","DELETE","INVALID_VALUE","NOT_MODIFIABLE","GENERAL","INVALID_FORMAT"],"uniqueKey":"errors.fieldErrors.additionalProperties.type","typeLabel":"enum\u003cstring>"},"errorMessage":{"type":"string","description":"Human-friendly message describing this error","uniqueKey":"errors.fieldErrors.additionalProperties.errorMessage","typeLabel":"string"}},"description":"List of higher-level errors","uniqueKey":"errors.fieldErrors.additionalProperties","typeLabel":"object"},"description":"Map of field-level errors, often originating from validation errors","uniqueKey":"errors.fieldErrors","typeLabel":"object"},"globalErrors":{"type":"array","description":"List of higher-level errors","items":{"type":"object","properties":{"type":{"type":"string","description":"A broad categorization of the error","enum":["DUPLICATE","REQUIRED","DELETE","INVALID_VALUE","NOT_MODIFIABLE","GENERAL","INVALID_FORMAT"],"uniqueKey":"errors.globalErrors.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"errorMessage":{"type":"string","description":"Human-friendly message describing this error","uniqueKey":"errors.globalErrors.items.[INDEX].errorMessage","typeLabel":"string"}},"description":"List of higher-level errors","uniqueKey":"errors.globalErrors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"errors.globalErrors","typeLabel":"object[]"}},"description":"Error object containing details errors incurred, if any","uniqueKey":"errors","typeLabel":"object"},"htmlReport":{"type":"string","uniqueKey":"htmlReport","typeLabel":"string"},"invoiceId":{"type":"string","uniqueKey":"invoiceId","typeLabel":"string"},"newlyCreatedInvoiceId":{"type":"string","uniqueKey":"newlyCreatedInvoiceId","typeLabel":"string"},"invoiceNo":{"type":"integer","format":"int32","uniqueKey":"invoiceNo","typeLabel":"integer\u003cint32>"},"webhook":{"type":"object","properties":{"userId":{"type":"string","uniqueKey":"webhook.userId","typeLabel":"string"},"accountantUserId":{"type":"string","uniqueKey":"webhook.accountantUserId","typeLabel":"string"},"type":{"type":"string","enum":["ENTITY_UPDATE","LIFECYCLE_EVENT","LIFECYCLE"],"uniqueKey":"webhook.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"webhook","typeLabel":"object"},"invoiceRetVal":{"type":"object","properties":{"xml":{"type":"string","uniqueKey":"invoiceRetVal.xml","typeLabel":"string"},"id":{"type":"string","uniqueKey":"invoiceRetVal.id","typeLabel":"string"},"name":{"type":"string","uniqueKey":"invoiceRetVal.name","typeLabel":"string"},"totalAmount":{"type":"number","uniqueKey":"invoiceRetVal.totalAmount","typeLabel":"number"},"term":{"type":"string","enum":["DUE_NOW","NET_10","NET_15","NET_30","NET_60","OTHER"],"uniqueKey":"invoiceRetVal.term","typeLabel":"enum\u003cstring>"},"result":{"type":"string","enum":["SUCCESS","FAILURE_INVALID_INVOICE","WORKITEMS_ALREADY_INVOICED","FAILURE_ZERO_AMOUNT","PAYMENT_NOT_SETUP","FAILURE_OTHER"],"uniqueKey":"invoiceRetVal.result","typeLabel":"enum\u003cstring>"},"invoice":{"type":"object","properties":{"id":{"type":"string","uniqueKey":"invoiceRetVal.invoice.id","typeLabel":"string"},"business":{"type":"object","properties":{"id":{"type":"string","uniqueKey":"invoiceRetVal.invoice.business.id","typeLabel":"string"},"companyId":{"type":"string","uniqueKey":"invoiceRetVal.invoice.business.companyId","typeLabel":"string"},"companyIdLong":{"type":"integer","format":"int64","uniqueKey":"invoiceRetVal.invoice.business.companyIdLong","typeLabel":"integer\u003cint64>"},"customerPartnerId":{"type":"integer","format":"int64","uniqueKey":"invoiceRetVal.invoice.business.customerPartnerId","typeLabel":"integer\u003cint64>"},"name":{"type":"string","uniqueKey":"invoiceRetVal.invoice.business.name","typeLabel":"string"},"showName":{"type":"boolean","uniqueKey":"invoiceRetVal.invoice.business.showName","typeLabel":"boolean"},"contactFirst":{"type":"string","uniqueKey":"invoiceRetVal.invoice.business.contactFirst","typeLabel":"string"},"contactLast":{"type":"string","uniqueKey":"invoiceRetVal.invoice.business.contactLast","typeLabel":"string"},"showContactFirstLast":{"type":"boolean","uniqueKey":"invoiceRetVal.invoice.business.showContactFirstLast","typeLabel":"boolean"},"email":{"type":"string","uniqueKey":"invoiceRetVal.invoice.business.email","typeLabel":"string"},"showEmail":{"type":"boolean","uniqueKey":"invoiceRetVal.invoice.business.showEmail","typeLabel":"boolean"},"phoneWork":{"type":"string","uniqueKey":"invoiceRetVal.invoice.business.phoneWork","typeLabel":"string"},"showPhoneWork":{"type":"boolean","uniqueKey":"invoiceRetVal.invoice.business.showPhoneWork","typeLabel":"boolean"},"address1":{"type":"string","uniqueKey":"invoiceRetVal.invoice.business.address1","typeLabel":"string"},"address2":{"type":"string","uniqueKey":"invoiceRetVal.invoice.business.address2","typeLabel":"string"},"city":{"type":"string","uniqueKey":"invoiceRetVal.invoice.business.city","typeLabel":"string"},"state":{"type":"string","uniqueKey":"invoiceRetVal.invoice.business.state","typeLabel":"string"},"zip":{"type":"string","uniqueKey":"invoiceRetVal.invoice.business.zip","typeLabel":"string"},"showAddress":{"type":"boolean","uniqueKey":"invoiceRetVal.invoice.business.showAddress","typeLabel":"boolean"},"tin":{"type":"string","uniqueKey":"invoiceRetVal.invoice.business.tin","typeLabel":"string"},"invoicePrefix":{"type":"string","uniqueKey":"invoiceRetVal.invoice.business.invoicePrefix","typeLabel":"string"},"plaidApiEntityIds":{"type":"string","uniqueKey":"invoiceRetVal.invoice.business.plaidApiEntityIds","typeLabel":"string"},"status":{"type":"string","enum":["ACTIVE","INACTIVE","PENDING","DELETED"],"uniqueKey":"invoiceRetVal.invoice.business.status","typeLabel":"enum\u003cstring>"},"apiName":{"type":"string","enum":["GOOGLELOGIN","LINKEDINLOGIN","DROPBOX","BOX","SKYDRIVE","CLOVER","STRIPE","GOOGLESTORAGE","GOOGLECONTACTS","GOOGLEEMAIL","LINKEDINCONTACTS","PLAID","KNOX","UBER","FACEBOOKLOGIN","FRESHBOOKS","HARVEST","KW","FRESHBOOKS2","CAPITAL_ONE","SQUARE","S3","DOTLOOP","XERO_DEPRECATED","REALOGY","UPWORK","SHOPIFY","DEDUCTR","ENTERPRISE","MOXIWORKS","STRIPE_EXPRESS","APPLELOGIN","APPDIRECT","LONEWOLF","USER_IMPORTED","LONEWOLF_TRANSACTIONDESK","SAMPLE_BANK","TAXBOT","THIRD_PARTY_BANK","GUSTO","THIRD_PARTY_PAYMENTS","XERO","UNIT","USER_ENTRY","MOOV","QBO","COLUMN","QUALPAY","BENCH","PARTNER_IMPLEMENTATION","CHECK","RUTTER","WAVE","ADYEN","APRIL","PAYABLI"],"uniqueKey":"invoiceRetVal.invoice.business.apiName","typeLabel":"enum\u003cstring>"},"apiClientId":{"type":"string","uniqueKey":"invoiceRetVal.invoice.business.apiClientId","typeLabel":"string"},"bizType":{"type":"string","enum":["ADVISOR_COACH","ARCHITECT","BRANDING_DESIGN","CONSULTANT","GOVT_CONTRACTOR","HOTEL_HOSPITALITY","PHOTOGRAPHY","PRINTING_DESIGN","PROFESSIONAL_SERVICES","LANDLORD","REAL_ESTATE_AGENT","RESTAURANT","SOFTWARE_DEV","SPEAKER_AUTHOR","TECH_SUPPORT","WEB_DESIGN_DEV","HEALTH_PROFESSIONAL","OTHER","DRIVER","AIRBNB","FINANCIAL_ADVISOR","INSURANCE_AGENT","MARKETER","RETAIL","HOST","FREELANCER","E_COMMERCE","SALES"],"uniqueKey":"invoiceRetVal.invoice.business.bizType","typeLabel":"enum\u003cstring>"},"dimensionId":{"type":"integer","format":"int64","uniqueKey":"invoiceRetVal.invoice.business.dimensionId","typeLabel":"integer\u003cint64>"},"level0Id":{"type":"integer","format":"int64","uniqueKey":"invoiceRetVal.invoice.business.level0Id","typeLabel":"integer\u003cint64>"},"createdDate":{"type":"string","format":"date-time","uniqueKey":"invoiceRetVal.invoice.business.createdDate","typeLabel":"string\u003cdate-time>"},"idPrefix":{"type":"string","enum":["COMPANY","EMPLOYEE","DIMENSION_VALUE","CLASS_LABEL","CUSTOMER","BANK_ACCOUNT","GL_ACCOUNT","TRANSACTION_CATEGORY","BANK_TRANSACTION","PROCESSOR_TRANSACTION","TRANSACTION_LINE_ITEM","VENDOR","TRANSACTION_RULE","REVENUE_RULE","INVOICE","INVOICE_LINE_ITEM","BILL","BILL_LINE_ITEM","PAYROLL","PAYROLL_LINE_ITEM","FINANCIAL_SUMMARY","TASK","CONVERSATION","MESSAGE","REACTION","BUSINESS_TYPE","TEMPLATE_DIMENSION","TEMPLATE_COA","TEMPLATE_GL_ACCOUNT","TEMPLATE_TRANSACTION_RULES","MANUAL_JOURNAL_ENTRY","GL_TRANSACTION","ATTACHMENT","CAR","MILEAGE","INTEGRATION","TIME","TIME_TYPE","TAX_RETURN"],"uniqueKey":"invoiceRetVal.invoice.business.idPrefix","typeLabel":"enum\u003cstring>"},"nameColumnNameForPagination":{"type":"string","uniqueKey":"invoiceRetVal.invoice.business.nameColumnNameForPagination","typeLabel":"string"},"externalId":{"type":"string","uniqueKey":"invoiceRetVal.invoice.business.externalId","typeLabel":"string"}},"uniqueKey":"invoiceRetVal.invoice.business","typeLabel":"object"},"businessId":{"type":"integer","format":"int64","uniqueKey":"invoiceRetVal.invoice.businessId","typeLabel":"integer\u003cint64>"},"companyId":{"type":"string","uniqueKey":"invoiceRetVal.invoice.companyId","typeLabel":"string"},"companyIdLong":{"type":"integer","format":"int64","uniqueKey":"invoiceRetVal.invoice.companyIdLong","typeLabel":"integer\u003cint64>"},"customerPartnerId":{"type":"integer","format":"int64","uniqueKey":"invoiceRetVal.invoice.customerPartnerId","typeLabel":"integer\u003cint64>"},"createdDatetime":{"type":"string","format":"date-time","uniqueKey":"invoiceRetVal.invoice.createdDatetime","typeLabel":"string\u003cdate-time>"},"name":{"type":"string","uniqueKey":"invoiceRetVal.invoice.name","typeLabel":"string"},"date":{"type":"string","format":"date-time","uniqueKey":"invoiceRetVal.invoice.date","typeLabel":"string\u003cdate-time>"},"totalAmount":{"type":"number","uniqueKey":"invoiceRetVal.invoice.totalAmount","typeLabel":"number"},"invoiceStatus":{"type":"string","enum":["OPEN","CLOSED","CANCELLED","DRAFT","REFUNDED","SCHEDULED"],"uniqueKey":"invoiceRetVal.invoice.invoiceStatus","typeLabel":"enum\u003cstring>"},"discountAmount":{"type":"number","uniqueKey":"invoiceRetVal.invoice.discountAmount","typeLabel":"number"},"discountPercent":{"type":"number","uniqueKey":"invoiceRetVal.invoice.discountPercent","typeLabel":"number"},"invoiceTerm":{"type":"string","enum":["DUE_NOW","NET_10","NET_15","NET_30","NET_60","OTHER"],"uniqueKey":"invoiceRetVal.invoice.invoiceTerm","typeLabel":"enum\u003cstring>"},"dueDate":{"type":"string","format":"date-time","uniqueKey":"invoiceRetVal.invoice.dueDate","typeLabel":"string\u003cdate-time>"},"email":{"type":"string","uniqueKey":"invoiceRetVal.invoice.email","typeLabel":"string"},"invoiceNo":{"type":"integer","format":"int32","uniqueKey":"invoiceRetVal.invoice.invoiceNo","typeLabel":"integer\u003cint32>"},"message":{"type":"string","uniqueKey":"invoiceRetVal.invoice.message","typeLabel":"string"},"propertyId":{"type":"string","uniqueKey":"invoiceRetVal.invoice.propertyId","typeLabel":"string"},"lastReminderDate":{"type":"string","format":"date-time","uniqueKey":"invoiceRetVal.invoice.lastReminderDate","typeLabel":"string\u003cdate-time>"},"emailStatus":{"type":"string","enum":["SUCCESS","FAILURE_TOKEN_INVALIDATED","FAILURE_TOKEN_POSSIBLY_EXPIRED","FAILURE_INVOICE_NOT_FOUND","FAILURE_OTHER","SENDING","NOT_SENT","FAILURE_BOUNCED","WARNING_AUTO_RESPONSE"],"uniqueKey":"invoiceRetVal.invoice.emailStatus","typeLabel":"enum\u003cstring>"},"clientId":{"type":"string","uniqueKey":"invoiceRetVal.invoice.clientId","typeLabel":"string"},"lastViewedDate":{"type":"string","format":"date-time","uniqueKey":"invoiceRetVal.invoice.lastViewedDate","typeLabel":"string\u003cdate-time>"},"acceptCredit":{"type":"boolean","uniqueKey":"invoiceRetVal.invoice.acceptCredit","typeLabel":"boolean"},"acceptCash":{"type":"boolean","uniqueKey":"invoiceRetVal.invoice.acceptCash","typeLabel":"boolean"},"reminderSchedule":{"type":"string","uniqueKey":"invoiceRetVal.invoice.reminderSchedule","typeLabel":"string"},"lastCreatedRecurringInvoice":{"type":"string","format":"date-time","uniqueKey":"invoiceRetVal.invoice.lastCreatedRecurringInvoice","typeLabel":"string\u003cdate-time>"},"parentId":{"type":"string","uniqueKey":"invoiceRetVal.invoice.parentId","typeLabel":"string"},"invoiceFrequency":{"type":"string","enum":["ONE_TIME","WEEKLY","BI_WEEKLY","MONTHLY","YEARLY","AFTER_TWO_MINS"],"uniqueKey":"invoiceRetVal.invoice.invoiceFrequency","typeLabel":"enum\u003cstring>"},"isRecurringParent":{"type":"boolean","uniqueKey":"invoiceRetVal.invoice.isRecurringParent","typeLabel":"boolean"},"refundStatus":{"type":"string","enum":["PENDING","SUCCEEDED","FAILED","UNKNOWN"],"uniqueKey":"invoiceRetVal.invoice.refundStatus","typeLabel":"enum\u003cstring>"},"emailErrors":{"type":"object","properties":{"empty":{"type":"boolean","uniqueKey":"invoiceRetVal.invoice.emailErrors.empty","typeLabel":"boolean"}},"uniqueKey":"invoiceRetVal.invoice.emailErrors","typeLabel":"object"},"sendEmail":{"type":"boolean","uniqueKey":"invoiceRetVal.invoice.sendEmail","typeLabel":"boolean"},"sentDate":{"type":"string","format":"date-time","uniqueKey":"invoiceRetVal.invoice.sentDate","typeLabel":"string\u003cdate-time>"},"billingInfoId":{"type":"string","uniqueKey":"invoiceRetVal.invoice.billingInfoId","typeLabel":"string"},"paymentErrors":{"type":"string","uniqueKey":"invoiceRetVal.invoice.paymentErrors","typeLabel":"string"},"acceptACH":{"type":"boolean","uniqueKey":"invoiceRetVal.invoice.acceptACH","typeLabel":"boolean"},"extensionId":{"type":"string","uniqueKey":"invoiceRetVal.invoice.extensionId","typeLabel":"string"},"apiName":{"type":"string","enum":["GOOGLELOGIN","LINKEDINLOGIN","DROPBOX","BOX","SKYDRIVE","CLOVER","STRIPE","GOOGLESTORAGE","GOOGLECONTACTS","GOOGLEEMAIL","LINKEDINCONTACTS","PLAID","KNOX","UBER","FACEBOOKLOGIN","FRESHBOOKS","HARVEST","KW","FRESHBOOKS2","CAPITAL_ONE","SQUARE","S3","DOTLOOP","XERO_DEPRECATED","REALOGY","UPWORK","SHOPIFY","DEDUCTR","ENTERPRISE","MOXIWORKS","STRIPE_EXPRESS","APPLELOGIN","APPDIRECT","LONEWOLF","USER_IMPORTED","LONEWOLF_TRANSACTIONDESK","SAMPLE_BANK","TAXBOT","THIRD_PARTY_BANK","GUSTO","THIRD_PARTY_PAYMENTS","XERO","UNIT","USER_ENTRY","MOOV","QBO","COLUMN","QUALPAY","BENCH","PARTNER_IMPLEMENTATION","CHECK","RUTTER","WAVE","ADYEN","APRIL","PAYABLI"],"uniqueKey":"invoiceRetVal.invoice.apiName","typeLabel":"enum\u003cstring>"},"apiInvoiceId":{"type":"string","uniqueKey":"invoiceRetVal.invoice.apiInvoiceId","typeLabel":"string"},"installments":{"type":"array","items":{"required":["dueDate","name"],"type":"object","properties":{"name":{"type":"string","description":"Name or description of the installment","example":"First Payment","isRequired":true,"uniqueKey":"invoiceRetVal.invoice.installments.items.[INDEX].name","typeLabel":"string"},"dueDate":{"type":"string","description":"The due date for this installment payment","format":"date","example":"2025-01-15","isRequired":true,"uniqueKey":"invoiceRetVal.invoice.installments.items.[INDEX].dueDate","typeLabel":"string\u003cdate>"},"id":{"type":"integer","description":"Unique identifier for the installment (for updates)","format":"int64","uniqueKey":"invoiceRetVal.invoice.installments.items.[INDEX].id","typeLabel":"integer\u003cint64>"},"amount":{"type":"number","description":"The fixed dollar amount for this installment (you can provide an amount or a percentage, but not both)","example":500,"uniqueKey":"invoiceRetVal.invoice.installments.items.[INDEX].amount","typeLabel":"number"},"percentage":{"type":"number","description":"The percentage of the total invoice amount for this installment (you can provide a percentage or an amount, but not both)","example":25,"uniqueKey":"invoiceRetVal.invoice.installments.items.[INDEX].percentage","typeLabel":"number"},"status":{"type":"string","description":"Status of the installment","example":"ACTIVE","enum":["ACTIVE","INACTIVE","REMOVED"],"uniqueKey":"invoiceRetVal.invoice.installments.items.[INDEX].status","typeLabel":"enum\u003cstring>"},"balance":{"type":"number","description":"The remaining balance for this installment after payments have been applied","readOnly":true,"example":500,"uniqueKey":"invoiceRetVal.invoice.installments.items.[INDEX].balance","typeLabel":"number"}},"uniqueKey":"invoiceRetVal.invoice.installments.items.[INDEX]","typeLabel":"object"},"uniqueKey":"invoiceRetVal.invoice.installments","typeLabel":"object[]"},"calculateSalesTaxBeforeDiscount":{"type":"boolean","uniqueKey":"invoiceRetVal.invoice.calculateSalesTaxBeforeDiscount","typeLabel":"boolean"},"glSourceId":{"type":"integer","format":"int64","uniqueKey":"invoiceRetVal.invoice.glSourceId","typeLabel":"integer\u003cint64>"},"source":{"type":"string","enum":["EXPENSE","REVENUE_ENTRY","BANK_TRANSFER","TAX_PAYMENT","AR_INVOICE_ITEM","AR_PAYMENT","PAYROLL","JOURNAL_ENTRY","TAX_ENTRY","AP_INVOICE_ITEM","AP_PAYMENT","BILL","AR_INVOICE"],"uniqueKey":"invoiceRetVal.invoice.source","typeLabel":"enum\u003cstring>"},"ccemails":{"type":"string","uniqueKey":"invoiceRetVal.invoice.ccemails","typeLabel":"string"},"bccemails":{"type":"string","uniqueKey":"invoiceRetVal.invoice.bccemails","typeLabel":"string"},"invoicePrefix":{"type":"string","uniqueKey":"invoiceRetVal.invoice.invoicePrefix","typeLabel":"string"},"glAccountId":{"type":"integer","format":"int64","uniqueKey":"invoiceRetVal.invoice.glAccountId","typeLabel":"integer\u003cint64>"},"invoiceNumberDigitLength":{"type":"integer","format":"int32","uniqueKey":"invoiceRetVal.invoice.invoiceNumberDigitLength","typeLabel":"integer\u003cint32>"},"paymentErrorsAsJsonArray":{"type":"object","properties":{"empty":{"type":"boolean","uniqueKey":"invoiceRetVal.invoice.paymentErrorsAsJsonArray.empty","typeLabel":"boolean"}},"uniqueKey":"invoiceRetVal.invoice.paymentErrorsAsJsonArray","typeLabel":"object"},"glAmount":{"type":"number","uniqueKey":"invoiceRetVal.invoice.glAmount","typeLabel":"number"},"generalLedgerStatus":{"type":"string","enum":["ACTIVE","INACTIVE"],"uniqueKey":"invoiceRetVal.invoice.generalLedgerStatus","typeLabel":"enum\u003cstring>"},"reviewStatus":{"type":"string","enum":["PARTNER_REVIEW_REQUIRED","USER_REVIEW_REQUIRED","ACCOUNTANT_REVIEW_REQUIRED","RECONCILIATION_STAGED","RECONCILED","RECONCILIATION_DISCREPANCY","ADJUSTMENT_USER_REVIEW_REQUIRED","ADJUSTMENT_ACCOUNTANT_REVIEW_REQUIRED","ADJUSTMENT_RECONCILIATION_STAGED","RECONCILIATION_AWAITING"],"uniqueKey":"invoiceRetVal.invoice.reviewStatus","typeLabel":"enum\u003cstring>"},"bankAccountId":{"type":"integer","format":"int64","uniqueKey":"invoiceRetVal.invoice.bankAccountId","typeLabel":"integer\u003cint64>"},"parentEntityId":{"type":"integer","format":"int64","uniqueKey":"invoiceRetVal.invoice.parentEntityId","typeLabel":"integer\u003cint64>"},"externalId":{"type":"string","uniqueKey":"invoiceRetVal.invoice.externalId","typeLabel":"string"},"idPrefix":{"type":"string","enum":["COMPANY","EMPLOYEE","DIMENSION_VALUE","CLASS_LABEL","CUSTOMER","BANK_ACCOUNT","GL_ACCOUNT","TRANSACTION_CATEGORY","BANK_TRANSACTION","PROCESSOR_TRANSACTION","TRANSACTION_LINE_ITEM","VENDOR","TRANSACTION_RULE","REVENUE_RULE","INVOICE","INVOICE_LINE_ITEM","BILL","BILL_LINE_ITEM","PAYROLL","PAYROLL_LINE_ITEM","FINANCIAL_SUMMARY","TASK","CONVERSATION","MESSAGE","REACTION","BUSINESS_TYPE","TEMPLATE_DIMENSION","TEMPLATE_COA","TEMPLATE_GL_ACCOUNT","TEMPLATE_TRANSACTION_RULES","MANUAL_JOURNAL_ENTRY","GL_TRANSACTION","ATTACHMENT","CAR","MILEAGE","INTEGRATION","TIME","TIME_TYPE","TAX_RETURN"],"uniqueKey":"invoiceRetVal.invoice.idPrefix","typeLabel":"enum\u003cstring>"}},"uniqueKey":"invoiceRetVal.invoice","typeLabel":"object"},"logoUrl":{"type":"string","uniqueKey":"invoiceRetVal.logoUrl","typeLabel":"string"},"invoiceReport":{"type":"object","properties":{"invoiceName":{"type":"string","uniqueKey":"invoiceRetVal.invoiceReport.invoiceName","typeLabel":"string"},"invoiceNo":{"type":"integer","format":"int32","uniqueKey":"invoiceRetVal.invoiceReport.invoiceNo","typeLabel":"integer\u003cint32>"},"totalInvoiceAmount":{"type":"number","uniqueKey":"invoiceRetVal.invoiceReport.totalInvoiceAmount","typeLabel":"number"},"totalDiscountedInvoiceAmount":{"type":"number","uniqueKey":"invoiceRetVal.invoiceReport.totalDiscountedInvoiceAmount","typeLabel":"number"},"personalNote":{"type":"string","uniqueKey":"invoiceRetVal.invoiceReport.personalNote","typeLabel":"string"},"dueDate":{"type":"string","format":"date-time","uniqueKey":"invoiceRetVal.invoiceReport.dueDate","typeLabel":"string\u003cdate-time>"},"invoiceDate":{"type":"string","format":"date-time","uniqueKey":"invoiceRetVal.invoiceReport.invoiceDate","typeLabel":"string\u003cdate-time>"},"discountAmount":{"type":"number","uniqueKey":"invoiceRetVal.invoiceReport.discountAmount","typeLabel":"number"},"discountPercent":{"type":"number","uniqueKey":"invoiceRetVal.invoiceReport.discountPercent","typeLabel":"number"},"invoiceTerm":{"type":"string","uniqueKey":"invoiceRetVal.invoiceReport.invoiceTerm","typeLabel":"string"},"businessName":{"type":"string","uniqueKey":"invoiceRetVal.invoiceReport.businessName","typeLabel":"string"},"showBusinessName":{"type":"boolean","uniqueKey":"invoiceRetVal.invoiceReport.showBusinessName","typeLabel":"boolean"},"businessLogoUrl":{"type":"string","uniqueKey":"invoiceRetVal.invoiceReport.businessLogoUrl","typeLabel":"string"},"businessCity":{"type":"string","uniqueKey":"invoiceRetVal.invoiceReport.businessCity","typeLabel":"string"},"businessState":{"type":"string","uniqueKey":"invoiceRetVal.invoiceReport.businessState","typeLabel":"string"},"businessZip":{"type":"string","uniqueKey":"invoiceRetVal.invoiceReport.businessZip","typeLabel":"string"},"businessAddress1":{"type":"string","uniqueKey":"invoiceRetVal.invoiceReport.businessAddress1","typeLabel":"string"},"businessAddress2":{"type":"string","uniqueKey":"invoiceRetVal.invoiceReport.businessAddress2","typeLabel":"string"},"clientName":{"type":"string","uniqueKey":"invoiceRetVal.invoiceReport.clientName","typeLabel":"string"},"companyName":{"type":"string","uniqueKey":"invoiceRetVal.invoiceReport.companyName","typeLabel":"string"},"companyPhone":{"type":"string","uniqueKey":"invoiceRetVal.invoiceReport.companyPhone","typeLabel":"string"},"businessPhone":{"type":"string","uniqueKey":"invoiceRetVal.invoiceReport.businessPhone","typeLabel":"string"},"companyAddress1":{"type":"string","uniqueKey":"invoiceRetVal.invoiceReport.companyAddress1","typeLabel":"string"},"companyAddress2":{"type":"string","uniqueKey":"invoiceRetVal.invoiceReport.companyAddress2","typeLabel":"string"},"companyCity":{"type":"string","uniqueKey":"invoiceRetVal.invoiceReport.companyCity","typeLabel":"string"},"companyState":{"type":"string","uniqueKey":"invoiceRetVal.invoiceReport.companyState","typeLabel":"string"},"companyZip":{"type":"string","uniqueKey":"invoiceRetVal.invoiceReport.companyZip","typeLabel":"string"},"employeeName":{"type":"string","uniqueKey":"invoiceRetVal.invoiceReport.employeeName","typeLabel":"string"},"employeeEmail":{"type":"string","uniqueKey":"invoiceRetVal.invoiceReport.employeeEmail","typeLabel":"string"},"type":{"type":"string","enum":["INITIAL","PREVIEW","FINAL","UPDATE"],"uniqueKey":"invoiceRetVal.invoiceReport.type","typeLabel":"enum\u003cstring>"},"businessAddressExist":{"type":"boolean","uniqueKey":"invoiceRetVal.invoiceReport.businessAddressExist","typeLabel":"boolean"},"senderInfoExist":{"type":"boolean","uniqueKey":"invoiceRetVal.invoiceReport.senderInfoExist","typeLabel":"boolean"},"brandColor":{"type":"string","uniqueKey":"invoiceRetVal.invoiceReport.brandColor","typeLabel":"string"},"attachments":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","description":"Id of the attachment, required when updating an existing attachment","format":"int64","uniqueKey":"invoiceRetVal.invoiceReport.attachments.items.[INDEX].id","typeLabel":"integer\u003cint64>"},"type":{"type":"string","description":"Type of the attachment","example":"FILE","enum":["PICTURE","FILE","VOICE","INVOICE"],"uniqueKey":"invoiceRetVal.invoiceReport.attachments.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"caption":{"type":"string","description":"Caption of the attachment","uniqueKey":"invoiceRetVal.invoiceReport.attachments.items.[INDEX].caption","typeLabel":"string"},"publicFileUrl":{"type":"string","description":"URL at which the attachment is located","uniqueKey":"invoiceRetVal.invoiceReport.attachments.items.[INDEX].publicFileUrl","typeLabel":"string"},"date":{"type":"string","description":"Date of the attachment","format":"date-time","uniqueKey":"invoiceRetVal.invoiceReport.attachments.items.[INDEX].date","typeLabel":"string\u003cdate-time>"},"amount":{"type":"number","description":"Amount of the attachment","uniqueKey":"invoiceRetVal.invoiceReport.attachments.items.[INDEX].amount","typeLabel":"number"},"attachToTable":{"type":"string","description":"Entity table the attachment is associated with","uniqueKey":"invoiceRetVal.invoiceReport.attachments.items.[INDEX].attachToTable","typeLabel":"string"},"attachToId":{"type":"string","description":"Id of the entity this attachment is associated with","uniqueKey":"invoiceRetVal.invoiceReport.attachments.items.[INDEX].attachToId","typeLabel":"string"}},"uniqueKey":"invoiceRetVal.invoiceReport.attachments.items.[INDEX]","typeLabel":"object"},"uniqueKey":"invoiceRetVal.invoiceReport.attachments","typeLabel":"object[]"},"showInvoiceIsDraft":{"type":"boolean","uniqueKey":"invoiceRetVal.invoiceReport.showInvoiceIsDraft","typeLabel":"boolean"},"salesTax":{"type":"number","uniqueKey":"invoiceRetVal.invoiceReport.salesTax","typeLabel":"number"},"invoiceItemByWorkItemType":{"type":"object","additionalProperties":{"type":"array","items":{"type":"object","properties":{"lineItemName":{"type":"string","uniqueKey":"invoiceRetVal.invoiceReport.invoiceItemByWorkItemType.additionalProperties.items.[INDEX].lineItemName","typeLabel":"string"},"workItemType":{"type":"string","uniqueKey":"invoiceRetVal.invoiceReport.invoiceItemByWorkItemType.additionalProperties.items.[INDEX].workItemType","typeLabel":"string"},"lineItemDescription":{"type":"string","uniqueKey":"invoiceRetVal.invoiceReport.invoiceItemByWorkItemType.additionalProperties.items.[INDEX].lineItemDescription","typeLabel":"string"},"price":{"type":"number","uniqueKey":"invoiceRetVal.invoiceReport.invoiceItemByWorkItemType.additionalProperties.items.[INDEX].price","typeLabel":"number"},"workItemDate":{"type":"string","uniqueKey":"invoiceRetVal.invoiceReport.invoiceItemByWorkItemType.additionalProperties.items.[INDEX].workItemDate","typeLabel":"string"},"invoiceItemDiscountedPrice":{"type":"number","uniqueKey":"invoiceRetVal.invoiceReport.invoiceItemByWorkItemType.additionalProperties.items.[INDEX].invoiceItemDiscountedPrice","typeLabel":"number"},"unitPrice":{"type":"number","uniqueKey":"invoiceRetVal.invoiceReport.invoiceItemByWorkItemType.additionalProperties.items.[INDEX].unitPrice","typeLabel":"number"},"quantity":{"type":"number","uniqueKey":"invoiceRetVal.invoiceReport.invoiceItemByWorkItemType.additionalProperties.items.[INDEX].quantity","typeLabel":"number"},"invoiceItemRegularPrice":{"type":"number","uniqueKey":"invoiceRetVal.invoiceReport.invoiceItemByWorkItemType.additionalProperties.items.[INDEX].invoiceItemRegularPrice","typeLabel":"number"},"salesTax":{"type":"number","uniqueKey":"invoiceRetVal.invoiceReport.invoiceItemByWorkItemType.additionalProperties.items.[INDEX].salesTax","typeLabel":"number"}},"uniqueKey":"invoiceRetVal.invoiceReport.invoiceItemByWorkItemType.additionalProperties.items.[INDEX]","typeLabel":"object"},"uniqueKey":"invoiceRetVal.invoiceReport.invoiceItemByWorkItemType.additionalProperties","typeLabel":"object[]"},"uniqueKey":"invoiceRetVal.invoiceReport.invoiceItemByWorkItemType","typeLabel":"object"},"invoiceLineItemList":{"type":"array","items":{"type":"object","properties":{"lineItemName":{"type":"string","uniqueKey":"invoiceRetVal.invoiceReport.invoiceLineItemList.items.[INDEX].lineItemName","typeLabel":"string"},"workItemType":{"type":"string","uniqueKey":"invoiceRetVal.invoiceReport.invoiceLineItemList.items.[INDEX].workItemType","typeLabel":"string"},"lineItemDescription":{"type":"string","uniqueKey":"invoiceRetVal.invoiceReport.invoiceLineItemList.items.[INDEX].lineItemDescription","typeLabel":"string"},"price":{"type":"number","uniqueKey":"invoiceRetVal.invoiceReport.invoiceLineItemList.items.[INDEX].price","typeLabel":"number"},"workItemDate":{"type":"string","uniqueKey":"invoiceRetVal.invoiceReport.invoiceLineItemList.items.[INDEX].workItemDate","typeLabel":"string"},"invoiceItemDiscountedPrice":{"type":"number","uniqueKey":"invoiceRetVal.invoiceReport.invoiceLineItemList.items.[INDEX].invoiceItemDiscountedPrice","typeLabel":"number"},"unitPrice":{"type":"number","uniqueKey":"invoiceRetVal.invoiceReport.invoiceLineItemList.items.[INDEX].unitPrice","typeLabel":"number"},"quantity":{"type":"number","uniqueKey":"invoiceRetVal.invoiceReport.invoiceLineItemList.items.[INDEX].quantity","typeLabel":"number"},"invoiceItemRegularPrice":{"type":"number","uniqueKey":"invoiceRetVal.invoiceReport.invoiceLineItemList.items.[INDEX].invoiceItemRegularPrice","typeLabel":"number"},"salesTax":{"type":"number","uniqueKey":"invoiceRetVal.invoiceReport.invoiceLineItemList.items.[INDEX].salesTax","typeLabel":"number"}},"uniqueKey":"invoiceRetVal.invoiceReport.invoiceLineItemList.items.[INDEX]","typeLabel":"object"},"uniqueKey":"invoiceRetVal.invoiceReport.invoiceLineItemList","typeLabel":"object[]"},"clientAdditionalContactName":{"type":"string","uniqueKey":"invoiceRetVal.invoiceReport.clientAdditionalContactName","typeLabel":"string"},"clientBusinessName":{"type":"string","uniqueKey":"invoiceRetVal.invoiceReport.clientBusinessName","typeLabel":"string"},"clientEmail":{"type":"string","uniqueKey":"invoiceRetVal.invoiceReport.clientEmail","typeLabel":"string"},"clientPhoneWork":{"type":"string","uniqueKey":"invoiceRetVal.invoiceReport.clientPhoneWork","typeLabel":"string"},"clientAddress1":{"type":"string","uniqueKey":"invoiceRetVal.invoiceReport.clientAddress1","typeLabel":"string"},"clientAddress2":{"type":"string","uniqueKey":"invoiceRetVal.invoiceReport.clientAddress2","typeLabel":"string"},"clientCity":{"type":"string","uniqueKey":"invoiceRetVal.invoiceReport.clientCity","typeLabel":"string"},"clientState":{"type":"string","uniqueKey":"invoiceRetVal.invoiceReport.clientState","typeLabel":"string"},"clientZip":{"type":"string","uniqueKey":"invoiceRetVal.invoiceReport.clientZip","typeLabel":"string"},"clientInfoExist":{"type":"boolean","uniqueKey":"invoiceRetVal.invoiceReport.clientInfoExist","typeLabel":"boolean"},"clientAddressExist":{"type":"boolean","uniqueKey":"invoiceRetVal.invoiceReport.clientAddressExist","typeLabel":"boolean"}},"uniqueKey":"invoiceRetVal.invoiceReport","typeLabel":"object"},"invoiceStatus":{"type":"string","enum":["OPEN","CLOSED","CANCELLED","DRAFT","REFUNDED","SCHEDULED"],"uniqueKey":"invoiceRetVal.invoiceStatus","typeLabel":"enum\u003cstring>"},"isDraftInvoice":{"type":"boolean","uniqueKey":"invoiceRetVal.isDraftInvoice","typeLabel":"boolean"}},"uniqueKey":"invoiceRetVal","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"invoiceResult":"SUCCESS","cloudStorageRetVal":{"url":"\u003cstring>","fileName":"\u003cstring>","result":"SUCCESS","htmlReport":"\u003cstring>","jsonReport":{}},"emailStatus":"SUCCESS","result":"SUCCESS","message":"\u003cstring>","errors":{"fieldErrors":{},"globalErrors":[{"type":"DUPLICATE","errorMessage":"\u003cstring>"}]},"htmlReport":"\u003cstring>","invoiceId":"\u003cstring>","newlyCreatedInvoiceId":"\u003cstring>","invoiceNo":123,"webhook":{"userId":"\u003cstring>","accountantUserId":"\u003cstring>","type":"ENTITY_UPDATE"},"invoiceRetVal":{"xml":"\u003cstring>","id":"\u003cstring>","name":"\u003cstring>","totalAmount":123,"term":"DUE_NOW","result":"SUCCESS","invoice":{"id":"\u003cstring>","business":{"id":"\u003cstring>","companyId":"\u003cstring>","companyIdLong":123,"customerPartnerId":123,"name":"\u003cstring>","showName":true,"contactFirst":"\u003cstring>","contactLast":"\u003cstring>","showContactFirstLast":true,"email":"\u003cstring>","showEmail":true,"phoneWork":"\u003cstring>","showPhoneWork":true,"address1":"\u003cstring>","address2":"\u003cstring>","city":"\u003cstring>","state":"\u003cstring>","zip":"\u003cstring>","showAddress":true,"tin":"\u003cstring>","invoicePrefix":"\u003cstring>","plaidApiEntityIds":"\u003cstring>","status":"ACTIVE","apiName":"GOOGLELOGIN","apiClientId":"\u003cstring>","bizType":"ADVISOR_COACH","dimensionId":123,"level0Id":123,"createdDate":"2023-11-07T05:31:56Z","idPrefix":"COMPANY","nameColumnNameForPagination":"\u003cstring>","externalId":"\u003cstring>"},"businessId":123,"companyId":"\u003cstring>","companyIdLong":123,"customerPartnerId":123,"createdDatetime":"2023-11-07T05:31:56Z","name":"\u003cstring>","date":"2023-11-07T05:31:56Z","totalAmount":123,"invoiceStatus":"OPEN","discountAmount":123,"discountPercent":123,"invoiceTerm":"DUE_NOW","dueDate":"2023-11-07T05:31:56Z","email":"\u003cstring>","invoiceNo":123,"message":"\u003cstring>","propertyId":"\u003cstring>","lastReminderDate":"2023-11-07T05:31:56Z","emailStatus":"SUCCESS","clientId":"\u003cstring>","lastViewedDate":"2023-11-07T05:31:56Z","acceptCredit":true,"acceptCash":true,"reminderSchedule":"\u003cstring>","lastCreatedRecurringInvoice":"2023-11-07T05:31:56Z","parentId":"\u003cstring>","invoiceFrequency":"ONE_TIME","isRecurringParent":true,"refundStatus":"PENDING","emailErrors":{"empty":true},"sendEmail":true,"sentDate":"2023-11-07T05:31:56Z","billingInfoId":"\u003cstring>","paymentErrors":"\u003cstring>","acceptACH":true,"extensionId":"\u003cstring>","apiName":"GOOGLELOGIN","apiInvoiceId":"\u003cstring>","installments":[{"name":"First Payment","dueDate":"2025-01-15","id":123,"amount":500,"percentage":25,"status":"ACTIVE","balance":500}],"calculateSalesTaxBeforeDiscount":true,"glSourceId":123,"source":"EXPENSE","ccemails":"\u003cstring>","bccemails":"\u003cstring>","invoicePrefix":"\u003cstring>","glAccountId":123,"invoiceNumberDigitLength":123,"paymentErrorsAsJsonArray":{"empty":true},"glAmount":123,"generalLedgerStatus":"ACTIVE","reviewStatus":"PARTNER_REVIEW_REQUIRED","bankAccountId":123,"parentEntityId":123,"externalId":"\u003cstring>","idPrefix":"COMPANY"},"logoUrl":"\u003cstring>","invoiceReport":{"invoiceName":"\u003cstring>","invoiceNo":123,"totalInvoiceAmount":123,"totalDiscountedInvoiceAmount":123,"personalNote":"\u003cstring>","dueDate":"2023-11-07T05:31:56Z","invoiceDate":"2023-11-07T05:31:56Z","discountAmount":123,"discountPercent":123,"invoiceTerm":"\u003cstring>","businessName":"\u003cstring>","showBusinessName":true,"businessLogoUrl":"\u003cstring>","businessCity":"\u003cstring>","businessState":"\u003cstring>","businessZip":"\u003cstring>","businessAddress1":"\u003cstring>","businessAddress2":"\u003cstring>","clientName":"\u003cstring>","companyName":"\u003cstring>","companyPhone":"\u003cstring>","businessPhone":"\u003cstring>","companyAddress1":"\u003cstring>","companyAddress2":"\u003cstring>","companyCity":"\u003cstring>","companyState":"\u003cstring>","companyZip":"\u003cstring>","employeeName":"\u003cstring>","employeeEmail":"\u003cstring>","type":"INITIAL","businessAddressExist":true,"senderInfoExist":true,"brandColor":"\u003cstring>","attachments":[{"id":123,"type":"FILE","caption":"\u003cstring>","publicFileUrl":"\u003cstring>","date":"2023-11-07T05:31:56Z","amount":123,"attachToTable":"\u003cstring>","attachToId":"\u003cstring>"}],"showInvoiceIsDraft":true,"salesTax":123,"invoiceItemByWorkItemType":{},"invoiceLineItemList":[{"lineItemName":"\u003cstring>","workItemType":"\u003cstring>","lineItemDescription":"\u003cstring>","price":123,"workItemDate":"\u003cstring>","invoiceItemDiscountedPrice":123,"unitPrice":123,"quantity":123,"invoiceItemRegularPrice":123,"salesTax":123}],"clientAdditionalContactName":"\u003cstring>","clientBusinessName":"\u003cstring>","clientEmail":"\u003cstring>","clientPhoneWork":"\u003cstring>","clientAddress1":"\u003cstring>","clientAddress2":"\u003cstring>","clientCity":"\u003cstring>","clientState":"\u003cstring>","clientZip":"\u003cstring>","clientInfoExist":true,"clientAddressExist":true},"invoiceStatus":"OPEN","isDraftInvoice":true}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"cd94c880-4792-480a-9c79-39e68d68dc7d":{"accessTokenSecurity":{"type":"oauth2","flows":{"implicit":{"authorizationUrl":"/auth/account","scopes":{"write":""}}},"scopes":[],"schemeName":"accessTokenSecurity"}}},"servers":{"dbfdc884-57f4-4624-aa5d-40c18b27730f":{"url":"https://sandbox.hurdlr.com/rest","description":"Staging Environment"},"ebdecc5c-6305-4c51-b7cb-d5b1221c5ec8":{"url":"https://prod.hurdlr.com/rest","description":"Production Environment"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"oauth2","flows":{"implicit":{"authorizationUrl":"/auth/account","scopes":{"write":""}}},"scopes":[],"schemeName":"accessTokenSecurity"},"schema":{"title":"OAuth2 Auth","type":"string","isRequired":true,"description":"The access token received from the authorization server in the OAuth 2.0 flow.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"accessTokenSecurity","name":"Authorization"}],"title":"accessTokenSecurity"}]},"originalFileLocation":"https://dev.hurdlr.com/rest/v1/devUtils/documentation?version=4\u0026Authorization=dexfeE6aRK3zwXP4ku5aWm8w\u0026env=sandbox"},"subdomain":"tight-7c882d74","siteName":"Tight API","title":"Create a draft invoice - Tight API","navMaps":{"firstHrefInVersion":{"v6.0":{"href":"/api-reference/bookkeepers/query-bookkeepers","matchLevel":2},"v5.0":{"href":"/v5.0/api-reference/invoicing/create-a-draft-invoice","matchLevel":1},"v4.0":{"href":"/v4.0/api-reference/invoicing/create-a-draft-invoice","matchLevel":0}},"firstHrefInLanguage":{}},"lastModified":"2026-11-04T12:12:41.100Z","originalFileLocation":"v4.0/api-reference/invoicing/create-a-draft-invoice.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Create a new invoice if no id is supplied, otherwise update existing invoice with supplied id\">\u003cmeta data-mint-head name=\"application-name\" content=\"Tight API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/tight-7c882d74/jFRG6eBf-CGG_9G0/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/tight-7c882d74/jFRG6eBf-CGG_9G0/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/tight-7c882d74/jFRG6eBf-CGG_9G0/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/tight-7c882d74/jFRG6eBf-CGG_9G0/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/tight-7c882d74/jFRG6eBf-CGG_9G0/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/tight-7c882d74/jFRG6eBf-CGG_9G0/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/tight-7c882d74/jFRG6eBf-CGG_9G0/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/tight-7c882d74/jFRG6eBf-CGG_9G0/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/tight-7c882d74/jFRG6eBf-CGG_9G0/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create a draft invoice - Tight API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create a new invoice if no id is supplied, otherwise update existing invoice with supplied id\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Tight API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.tight.com/v4.0/api-reference/invoicing/create-a-draft-invoice\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://tight-7c882d74.mintlify.site/_mintlify/api/og/v2?division=Invoicing\u0026amp;title=Create+a+draft+invoice\u0026amp;description=Create+a+new+invoice+if+no+id+is+supplied%2C+otherwise+update+existing+invoice+with+supplied+id\u0026amp;theme=ca0c5593681485dcdd2fa8b5\u0026amp;signature=87be147837b877f221c75bc583fe5914acdc40f9ee2bb835673a3bbcee8aa0c5\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create a draft invoice - Tight API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create a new invoice if no id is supplied, otherwise update existing invoice with supplied id\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://tight-7c882d74.mintlify.site/_mintlify/api/og/v2?division=Invoicing\u0026amp;title=Create+a+draft+invoice\u0026amp;description=Create+a+new+invoice+if+no+id+is+supplied%2C+otherwise+update+existing+invoice+with+supplied+id\u0026amp;theme=ca0c5593681485dcdd2fa8b5\u0026amp;signature=87be147837b877f221c75bc583fe5914acdc40f9ee2bb835673a3bbcee8aa0c5\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/tight-7c882d74/jFRG6eBf-CGG_9G0/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Tight API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2ab2d1\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.tight.com/v4.0/api-reference/invoicing/create-a-draft-invoice\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/v4.0/api-reference/invoicing/create-a-draft-invoice.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.tight.com/#organization\",\"name\":\"Tight API\",\"url\":\"https://docs.tight.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/tight-7c882d74/g3bHUuD81P-TYOyV/logo/light.svg?fit=max\u0026auto=format\u0026n=g3bHUuD81P-TYOyV\u0026q=85\u0026s=7efc18a7fc4dff02d17ed0eb2de01e0c\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.tight.com#website\",\"name\":\"Tight API\",\"url\":\"https://docs.tight.com\",\"publisher\":{\"@id\":\"https://docs.tight.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.tight.com/v4.0/api-reference/invoicing/create-a-draft-invoice#webpage\",\"url\":\"https://docs.tight.com/v4.0/api-reference/invoicing/create-a-draft-invoice\",\"name\":\"Create a draft invoice\",\"description\":\"Create a new invoice if no id is supplied, otherwise update existing invoice with supplied id\",\"dateModified\":\"2026-11-04T12:12:41.100Z\",\"isPartOf\":{\"@id\":\"https://docs.tight.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.tight.com/v4.0/api-reference/invoicing/create-a-draft-invoice#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.tight.com/v4.0/api-reference/invoicing/create-a-draft-invoice#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Reference\",\"item\":\"https://docs.tight.com/v4.0/api-reference/authentication/create-a-tight-account\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Invoicing\",\"item\":\"https://docs.tight.com/v4.0/api-reference/invoicing/get-invoice-setup\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Create a draft invoice\",\"item\":\"https://docs.tight.com/v4.0/api-reference/invoicing/create-a-draft-invoice\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.tight.com/v4.0/api-reference/invoicing/create-a-draft-invoice#apireference\",\"headline\":\"Create a draft invoice\",\"name\":\"Create a draft invoice\",\"description\":\"Create a new invoice if no id is supplied, otherwise update existing invoice with supplied id\",\"url\":\"https://docs.tight.com/v4.0/api-reference/invoicing/create-a-draft-invoice\",\"mainEntityOfPage\":{\"@id\":\"https://docs.tight.com/v4.0/api-reference/invoicing/create-a-draft-invoice#webpage\"},\"dateModified\":\"2026-11-04T12:12:41.100Z\",\"publisher\":{\"@id\":\"https://docs.tight.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.tight.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Tight API\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Tight API","nav":{"global":null,"versions":[{"version":"v6.0","pages":[{"title":"v6.0","href":"/api-reference/bookkeepers/query-bookkeepers"}]},{"version":"v5.0","pages":[{"title":"v5.0","href":"/v5.0/api-reference/invoicing/create-a-draft-invoice"}]},{"version":"v4.0","tabs":[{"tab":"API Reference","groups":[{"group":"Patterns","pages":[]},{"group":"Reference","pages":[{"group":"Authentication","pages":[{"title":"Create a Tight account","deprecated":null,"version":null,"openapi":"https://dev.hurdlr.com/rest/v1/devUtils/documentation?version=4\u0026Authorization=dexfeE6aRK3zwXP4ku5aWm8w\u0026env=sandbox post /v4/auth/account","href":"/v4.0/api-reference/authentication/create-a-tight-account"},{"title":"Delete a Tight account","deprecated":null,"version":null,"openapi":"https://dev.hurdlr.com/rest/v1/devUtils/documentation?version=4\u0026Authorization=dexfeE6aRK3zwXP4ku5aWm8w\u0026env=sandbox delete /v4/auth/account","href":"/v4.0/api-reference/authentication/delete-a-tight-account"},{"title":"Restore a Tight account","deprecated":null,"version":null,"openapi":"https://dev.hurdlr.com/rest/v1/devUtils/documentation?version=4\u0026Authorization=dexfeE6aRK3zwXP4ku5aWm8w\u0026env=sandbox post /v4/auth/restoreAccount","href":"/v4.0/api-reference/authentication/restore-a-tight-account"},{"title":"Refresh access token","deprecated":null,"version":null,"openapi":"https://dev.hurdlr.com/rest/v1/devUtils/documentation?version=4\u0026Authorization=dexfeE6aRK3zwXP4ku5aWm8w\u0026env=sandbox post /v4/auth/token","href":"/v4.0/api-reference/authentication/refresh-access-token"}]},{"group":"Banks","pages":[{"title":"Save a Plaid access token","deprecated":null,"version":null,"openapi":"https://dev.hurdlr.com/rest/v1/devUtils/documentation?version=4\u0026Authorization=dexfeE6aRK3zwXP4ku5aWm8w\u0026env=sandbox post /v4/banks/plaidAccessToken","href":"/v4.0/api-reference/banks/save-a-plaid-access-token"},{"title":"Get Plaid items","deprecated":null,"version":null,"openapi":"https://dev.hurdlr.com/rest/v1/devUtils/documentation?version=4\u0026Authorization=dexfeE6aRK3zwXP4ku5aWm8w\u0026env=sandbox get /v4/banks/plaidItems","href":"/v4.0/api-reference/banks/get-plaid-items"},{"title":"Get Plaid item accounts","deprecated":null,"version":null,"openapi":"https://dev.hurdlr.com/rest/v1/devUtils/documentation?version=4\u0026Authorization=dexfeE6aRK3zwXP4ku5aWm8w\u0026env=sandbox get /v4/banks/plaidItemAccounts","href":"/v4.0/api-reference/banks/get-plaid-item-accounts"},{"title":"Save Plaid item accounts","deprecated":null,"version":null,"openapi":"https://dev.hurdlr.com/rest/v1/devUtils/documentation?version=4\u0026Authorization=dexfeE6aRK3zwXP4ku5aWm8w\u0026env=sandbox post /v4/banks/plaidItemAccounts","href":"/v4.0/api-reference/banks/save-plaid-item-accounts"},{"title":"Remove Plaid item","deprecated":null,"version":null,"openapi":"https://dev.hurdlr.com/rest/v1/devUtils/documentation?version=4\u0026Authorization=dexfeE6aRK3zwXP4ku5aWm8w\u0026env=sandbox delete /v4/banks/plaidItem","href":"/v4.0/api-reference/banks/remove-plaid-item"}]},{"group":"Expenses","pages":[{"title":"Get pending expenses","deprecated":null,"version":null,"openapi":"https://dev.hurdlr.com/rest/v1/devUtils/documentation?version=4\u0026Authorization=dexfeE6aRK3zwXP4ku5aWm8w\u0026env=sandbox get /v4/expenses/pendingExpenses","href":"/v4.0/api-reference/expenses/get-pending-expenses"},{"title":"Save pending expenses","deprecated":null,"version":null,"openapi":"https://dev.hurdlr.com/rest/v1/devUtils/documentation?version=4\u0026Authorization=dexfeE6aRK3zwXP4ku5aWm8w\u0026env=sandbox post /v4/expenses/pendingExpenses","href":"/v4.0/api-reference/expenses/save-pending-expenses"},{"title":"Get a pending expense","deprecated":null,"version":null,"openapi":"https://dev.hurdlr.com/rest/v1/devUtils/documentation?version=4\u0026Authorization=dexfeE6aRK3zwXP4ku5aWm8w\u0026env=sandbox get /v4/expenses/pendingExpense","href":"/v4.0/api-reference/expenses/get-a-pending-expense"},{"title":"Save a pending expense","deprecated":null,"version":null,"openapi":"https://dev.hurdlr.com/rest/v1/devUtils/documentation?version=4\u0026Authorization=dexfeE6aRK3zwXP4ku5aWm8w\u0026env=sandbox post /v4/expenses/pendingExpense","href":"/v4.0/api-reference/expenses/save-a-pending-expense"},{"title":"Get expenses","deprecated":null,"version":null,"openapi":"https://dev.hurdlr.com/rest/v1/devUtils/documentation?version=4\u0026Authorization=dexfeE6aRK3zwXP4ku5aWm8w\u0026env=sandbox get /v4/expenses/expenses","href":"/v4.0/api-reference/expenses/get-expenses"},{"title":"Save expenses","deprecated":null,"version":null,"openapi":"https://dev.hurdlr.com/rest/v1/devUtils/documentation?version=4\u0026Authorization=dexfeE6aRK3zwXP4ku5aWm8w\u0026env=sandbox post /v4/expenses/expenses","href":"/v4.0/api-reference/expenses/save-expenses"},{"title":"Get a expense","deprecated":null,"version":null,"openapi":"https://dev.hurdlr.com/rest/v1/devUtils/documentation?version=4\u0026Authorization=dexfeE6aRK3zwXP4ku5aWm8w\u0026env=sandbox get /v4/expenses/expense","href":"/v4.0/api-reference/expenses/get-a-expense"},{"title":"Save an expense","deprecated":null,"version":null,"openapi":"https://dev.hurdlr.com/rest/v1/devUtils/documentation?version=4\u0026Authorization=dexfeE6aRK3zwXP4ku5aWm8w\u0026env=sandbox post /v4/expenses/expense","href":"/v4.0/api-reference/expenses/save-an-expense"},{"title":"Get archived expenses","deprecated":null,"version":null,"openapi":"https://dev.hurdlr.com/rest/v1/devUtils/documentation?version=4\u0026Authorization=dexfeE6aRK3zwXP4ku5aWm8w\u0026env=sandbox get /v4/expenses/archivedExpenses","href":"/v4.0/api-reference/expenses/get-archived-expenses"},{"title":"Get categories","deprecated":null,"version":null,"openapi":"https://dev.hurdlr.com/rest/v1/devUtils/documentation?version=4\u0026Authorization=dexfeE6aRK3zwXP4ku5aWm8w\u0026env=sandbox get /v4/expenses/categories","href":"/v4.0/api-reference/expenses/get-categories"},{"title":"Get personal categories","deprecated":null,"version":null,"openapi":"https://dev.hurdlr.com/rest/v1/devUtils/documentation?version=4\u0026Authorization=dexfeE6aRK3zwXP4ku5aWm8w\u0026env=sandbox get /v4/expenses/personalCategories","href":"/v4.0/api-reference/expenses/get-personal-categories"}]},{"group":"Revenue","pages":[{"title":"Get pending revenues","deprecated":null,"version":null,"openapi":"https://dev.hurdlr.com/rest/v1/devUtils/documentation?version=4\u0026Authorization=dexfeE6aRK3zwXP4ku5aWm8w\u0026env=sandbox get /v4/revenue/pendingRevenues","href":"/v4.0/api-reference/revenue/get-pending-revenues"},{"title":"Save pending revenues","deprecated":null,"version":null,"openapi":"https://dev.hurdlr.com/rest/v1/devUtils/documentation?version=4\u0026Authorization=dexfeE6aRK3zwXP4ku5aWm8w\u0026env=sandbox post /v4/revenue/pendingRevenues","href":"/v4.0/api-reference/revenue/save-pending-revenues"},{"title":"Save a pending revenue","deprecated":null,"version":null,"openapi":"https://dev.hurdlr.com/rest/v1/devUtils/documentation?version=4\u0026Authorization=dexfeE6aRK3zwXP4ku5aWm8w\u0026env=sandbox post /v4/revenue/pendingRevenue","href":"/v4.0/api-reference/revenue/save-a-pending-revenue"},{"title":"Get revenues","deprecated":null,"version":null,"openapi":"https://dev.hurdlr.com/rest/v1/devUtils/documentation?version=4\u0026Authorization=dexfeE6aRK3zwXP4ku5aWm8w\u0026env=sandbox get /v4/revenue/revenues","href":"/v4.0/api-reference/revenue/get-revenues"},{"title":"Save a revenue entry","deprecated":null,"version":null,"openapi":"https://dev.hurdlr.com/rest/v1/devUtils/documentation?version=4\u0026Authorization=dexfeE6aRK3zwXP4ku5aWm8w\u0026env=sandbox post /v4/revenue/revenue","href":"/v4.0/api-reference/revenue/save-a-revenue-entry"}]},{"group":"Business \u0026 Client Management","pages":[{"title":"Get businesses","deprecated":null,"version":null,"openapi":"https://dev.hurdlr.com/rest/v1/devUtils/documentation?version=4\u0026Authorization=dexfeE6aRK3zwXP4ku5aWm8w\u0026env=sandbox get /v4/clientMgmt/businesses","href":"/v4.0/api-reference/business-\u0026-client-management/get-businesses"},{"title":"Get a business","deprecated":null,"version":null,"openapi":"https://dev.hurdlr.com/rest/v1/devUtils/documentation?version=4\u0026Authorization=dexfeE6aRK3zwXP4ku5aWm8w\u0026env=sandbox get /v4/clientMgmt/business","href":"/v4.0/api-reference/business-\u0026-client-management/get-a-business"},{"title":"Save a business","deprecated":null,"version":null,"openapi":"https://dev.hurdlr.com/rest/v1/devUtils/documentation?version=4\u0026Authorization=dexfeE6aRK3zwXP4ku5aWm8w\u0026env=sandbox post /v4/clientMgmt/business","href":"/v4.0/api-reference/business-\u0026-client-management/save-a-business"},{"title":"Get clients","deprecated":null,"version":null,"openapi":"https://dev.hurdlr.com/rest/v1/devUtils/documentation?version=4\u0026Authorization=dexfeE6aRK3zwXP4ku5aWm8w\u0026env=sandbox get /v4/clientMgmt/clients","href":"/v4.0/api-reference/business-\u0026-client-management/get-clients"},{"title":"Get a client","deprecated":null,"version":null,"openapi":"https://dev.hurdlr.com/rest/v1/devUtils/documentation?version=4\u0026Authorization=dexfeE6aRK3zwXP4ku5aWm8w\u0026env=sandbox get /v4/clientMgmt/client","href":"/v4.0/api-reference/business-\u0026-client-management/get-a-client"},{"title":"Save a client","deprecated":null,"version":null,"openapi":"https://dev.hurdlr.com/rest/v1/devUtils/documentation?version=4\u0026Authorization=dexfeE6aRK3zwXP4ku5aWm8w\u0026env=sandbox post /v4/clientMgmt/client","href":"/v4.0/api-reference/business-\u0026-client-management/save-a-client"}]},{"group":"Invoicing","pages":[{"title":"Get invoice setup","deprecated":null,"version":null,"openapi":"https://dev.hurdlr.com/rest/v1/devUtils/documentation?version=4\u0026Authorization=dexfeE6aRK3zwXP4ku5aWm8w\u0026env=sandbox get /v4/invoicing/invoiceSetup","href":"/v4.0/api-reference/invoicing/get-invoice-setup"},{"title":"Update invoice setup","description":"Update an existing company's invoicing setup record","deprecated":null,"version":null,"openapi":"https://dev.hurdlr.com/rest/v1/devUtils/documentation?version=4\u0026Authorization=dexfeE6aRK3zwXP4ku5aWm8w\u0026env=sandbox post /v4/invoicing/invoiceSetup","href":"/v4.0/api-reference/invoicing/update-invoice-setup"},{"title":"Create a draft invoice","deprecated":null,"version":null,"openapi":"https://dev.hurdlr.com/rest/v1/devUtils/documentation?version=4\u0026Authorization=dexfeE6aRK3zwXP4ku5aWm8w\u0026env=sandbox post /v4/invoicing/invoice","href":"/v4.0/api-reference/invoicing/create-a-draft-invoice"},{"title":"Preview an invoice","description":"Retrieve a preview for an existing invoice","deprecated":null,"version":null,"openapi":"https://dev.hurdlr.com/rest/v1/devUtils/documentation?version=4\u0026Authorization=dexfeE6aRK3zwXP4ku5aWm8w\u0026env=sandbox post /v4/invoicing/previewInvoice","href":"/v4.0/api-reference/invoicing/preview-an-invoice"},{"title":"Finalize invoice","deprecated":null,"version":null,"openapi":"https://dev.hurdlr.com/rest/v1/devUtils/documentation?version=4\u0026Authorization=dexfeE6aRK3zwXP4ku5aWm8w\u0026env=sandbox post /v4/invoicing/finalizeInvoice","href":"/v4.0/api-reference/invoicing/finalize-invoice"},{"title":"Get invoices","deprecated":null,"version":null,"openapi":"https://dev.hurdlr.com/rest/v1/devUtils/documentation?version=4\u0026Authorization=dexfeE6aRK3zwXP4ku5aWm8w\u0026env=sandbox get /v4/invoicing/invoices","href":"/v4.0/api-reference/invoicing/get-invoices"},{"title":"Mark invoice as paid","deprecated":null,"version":null,"openapi":"https://dev.hurdlr.com/rest/v1/devUtils/documentation?version=4\u0026Authorization=dexfeE6aRK3zwXP4ku5aWm8w\u0026env=sandbox post /v4/invoicing/markInvoicePaid","href":"/v4.0/api-reference/invoicing/mark-invoice-as-paid"},{"title":"Cancel invoice(s)","deprecated":null,"version":null,"openapi":"https://dev.hurdlr.com/rest/v1/devUtils/documentation?version=4\u0026Authorization=dexfeE6aRK3zwXP4ku5aWm8w\u0026env=sandbox post /v4/invoicing/cancelInvoices","href":"/v4.0/api-reference/invoicing/cancel-invoices"},{"title":"Send invoice reminder(s)","deprecated":null,"version":null,"openapi":"https://dev.hurdlr.com/rest/v1/devUtils/documentation?version=4\u0026Authorization=dexfeE6aRK3zwXP4ku5aWm8w\u0026env=sandbox post /v4/invoicing/sendReminders","href":"/v4.0/api-reference/invoicing/send-invoice-reminders"},{"title":"Refund invoice","deprecated":null,"version":null,"openapi":"https://dev.hurdlr.com/rest/v1/devUtils/documentation?version=4\u0026Authorization=dexfeE6aRK3zwXP4ku5aWm8w\u0026env=sandbox post /v4/invoicing/refundInvoice","href":"/v4.0/api-reference/invoicing/refund-invoice"},{"title":"Send payment receipt(s)","deprecated":null,"version":null,"openapi":"https://dev.hurdlr.com/rest/v1/devUtils/documentation?version=4\u0026Authorization=dexfeE6aRK3zwXP4ku5aWm8w\u0026env=sandbox post /v4/invoicing/sendReceipt","href":"/v4.0/api-reference/invoicing/send-payment-receipts"},{"title":"Send invoice to client","deprecated":null,"version":null,"openapi":"https://dev.hurdlr.com/rest/v1/devUtils/documentation?version=4\u0026Authorization=dexfeE6aRK3zwXP4ku5aWm8w\u0026env=sandbox post /v4/invoicing/sendInvoice","href":"/v4.0/api-reference/invoicing/send-invoice-to-client"}]},{"group":"Reports","pages":[{"title":"Generate a report","deprecated":null,"version":null,"openapi":"https://dev.hurdlr.com/rest/v1/devUtils/documentation?version=4\u0026Authorization=dexfeE6aRK3zwXP4ku5aWm8w\u0026env=sandbox post /v4/reports/report","href":"/v4.0/api-reference/reports/generate-a-report"}]},{"group":"Taxes","pages":[{"title":"Get tax estimates","deprecated":null,"version":null,"openapi":"https://dev.hurdlr.com/rest/v1/devUtils/documentation?version=4\u0026Authorization=dexfeE6aRK3zwXP4ku5aWm8w\u0026env=sandbox get /v4/taxes/vitals","href":"/v4.0/api-reference/taxes/get-tax-estimates"},{"title":"Get tax profile","deprecated":null,"version":null,"openapi":"https://dev.hurdlr.com/rest/v1/devUtils/documentation?version=4\u0026Authorization=dexfeE6aRK3zwXP4ku5aWm8w\u0026env=sandbox get /v4/taxes/userTaxSetup","href":"/v4.0/api-reference/taxes/get-tax-profile"},{"title":"Update tax profile","deprecated":null,"version":null,"openapi":"https://dev.hurdlr.com/rest/v1/devUtils/documentation?version=4\u0026Authorization=dexfeE6aRK3zwXP4ku5aWm8w\u0026env=sandbox post /v4/taxes/userTaxSetup","href":"/v4.0/api-reference/taxes/update-tax-profile"},{"title":"Get tax filing URL","deprecated":null,"version":null,"openapi":"https://dev.hurdlr.com/rest/v1/devUtils/documentation?version=4\u0026Authorization=dexfeE6aRK3zwXP4ku5aWm8w\u0026env=sandbox post /v4/taxes/filingUrl","href":"/v4.0/api-reference/taxes/get-tax-filing-url"}]},{"group":"Accounting","pages":[{"title":"Get chart of accounts","deprecated":null,"version":null,"openapi":"https://dev.hurdlr.com/rest/v1/devUtils/documentation?version=4\u0026Authorization=dexfeE6aRK3zwXP4ku5aWm8w\u0026env=sandbox get /v4/accounting/chartOfAccounts","href":"/v4.0/api-reference/accounting/get-chart-of-accounts"},{"title":"Get general ledger entries","deprecated":null,"version":null,"openapi":"https://dev.hurdlr.com/rest/v1/devUtils/documentation?version=4\u0026Authorization=dexfeE6aRK3zwXP4ku5aWm8w\u0026env=sandbox get /v4/accounting/generalLedgerEntries","href":"/v4.0/api-reference/accounting/get-general-ledger-entries"},{"title":"Save a journal entry","deprecated":null,"version":null,"openapi":"https://dev.hurdlr.com/rest/v1/devUtils/documentation?version=4\u0026Authorization=dexfeE6aRK3zwXP4ku5aWm8w\u0026env=sandbox post /v4/accounting/journalEntry","href":"/v4.0/api-reference/accounting/save-a-journal-entry"}]}]}]}]}]},"basePath":"","title":"Create a draft invoice - Tight API","buildId":"dpl_DTau1J5HqS9UTgVSDwGksstFWtPa","deploymentId":"dpl_DTau1J5HqS9UTgVSDwGksstFWtPa","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-5FCzAcfS.js","utils-SLtAG4EZ.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-2DZi8ZMu.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-D7J3nkzE.js","snippetPresets-D0Alv0AH.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BI4qNJ2c.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BD3uyr8j.js","shallow-D8iEBr5z.js","getApiPlaygroundDisplay-CgNP4lzR.js","CodeSnippet-CX-QHuMs.js","CodeSnippets-VlXE-ZUf.js","Page-D9ithiIZ.js","getPastedJson-DYNQkZ1M.js","icon-CzacdwOi.js","MethodPill-2JVqoYKi.js","DuplicateIcon-_xVXs-U8.js","createIcon-BRHrweLo.js","DynamicMarkdown-mQG_iQiE.js","SectionHeading-DMpJzv8f.js","axios-vUo_bRtp.js","Markdown-5FGIym-8.js","clsx-D-TRO5q5.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CdrJecqK.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-CHlcWBLM.js"]}