Update an existing BillV2 record with the provided data. Validates all required fields and business rules.
Side effects
If an approval workflow matches this request, DualEntry can set record_status back to draft.
Additional validations
Fails with 503 if the exchange rate for the transaction date is unavailable.
Fails with 422 and the error code posting_date_after_limit if date is after the latest posting date that your organization allows.
Fails with 422 and error_codetax_not_calculated when the organization uses manual tax mode with the tax reminder on, the request posts the record, and the request sends lines but none of them carries tax. Set auto_calculate_tax to required, or send tax on the lines.
Fails with 422 if you set an inactive, archived, or draft customer or vendor, or an inactive company.
Fails with 422 if a line account is not available to the record’s company.
Fails with 422 if you set the customer or vendor that stands for the record’s own company as a party.
A reference that the record or its linked source record already holds passes these checks.
Optional. A unique value (a UUID works well) identifying this operation. If the request is repeated with the same key, the original response is replayed instead of the operation running again, so a retry cannot create a duplicate record. Results are replayable for 48 hours. Reusing a key with a different request body returns 422.
When the saved record uses a VAT or GST tax regime and you omit this field, DualEntry sets it to transaction_date, or to date when there is no transaction_date.
Recurring templates store the value you send. Each generated record that uses VAT or GST and has no supply date gets that default on save.
On PATCH, an omitted field keeps the stored value. Send supply_date again when you change date or transaction_date.
Configures how to handle automatic tax calculations.
If auto_calculate_tax is unset, the tax you send on each line is stored. Set it to required to have DualEntry calculate the tax, replacing the tax on every line before it saves the record.
The calculation covers native US sales tax using DualEntry's tax engine. It also covers Avalara US sales tax, VAT, and GST.
For native VAT and GST, leave this field unset and send the rate and the tax on each line. Set it to required when a tax provider returns the tax.
The request fails with 422 when the result is DualEntry's own VAT or GST, when the calculation cannot finish, or when a required address is still missing.
When the record has a customer, DualEntry reads shipping_address, then billing_address, then the address saved on the customer.
If you send neither address, DualEntry copies the customer's saved address to billing_address and shipping_address.
When the record has a vendor, DualEntry reads ship_from_address and ship_to_address, then the addresses saved on the vendor and the company.
DualEntry stores only the ship addresses you sent.
If you omit this field or send null, DualEntry calculates the rate from the company base currency, the transaction currency, and the transaction date. A date of today or later uses the rate for yesterday (UTC). A rate you send is stored, including 1.0.
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"DualEntry Documentation","colors":{"primary":"#004F5C","light":"#5BC9DB","dark":"#81E0EF"},"logo":{"light":"https://mintcdn.com/entryinc/AComF9V8rHO5A0Pv/images/brand/dualentry-docs-logo-light.svg?fit=max\u0026auto=format\u0026n=AComF9V8rHO5A0Pv\u0026q=85\u0026s=910d5b39d1a3170bb460a1da7698f74a","dark":"https://mintcdn.com/entryinc/AComF9V8rHO5A0Pv/images/brand/dualentry-docs-logo-dark.svg?fit=max\u0026auto=format\u0026n=AComF9V8rHO5A0Pv\u0026q=85\u0026s=2ca84043acf55ced53968816ab701229","href":"/"},"favicon":"https://mintcdn.com/entryinc/AComF9V8rHO5A0Pv/images/brand/favicon.svg?fit=max\u0026auto=format\u0026n=AComF9V8rHO5A0Pv\u0026q=85\u0026s=651830fae4e719b04cd5ec5a8465baf2","api":{"playground":{"display":"simple"},"mdx":{"auth":{"method":"key","name":"X-API-KEY"},"server":"https://api.dualentry.com"}},"appearance":{"default":"system"},"background":{"color":{"light":"#F8FBFC","dark":"#0F373E"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/dualentry","x":"https://x.com/dualentry","reddit":"https://www.reddit.com/r/dualentry"}},"fonts":{"heading":{"family":"TWK Lausanne","weight":700,"source":"fonts/TWKLausanne-700.woff2","format":"woff2"},"body":{"family":"TWK Lausanne","weight":400,"source":"fonts/TWKLausanne-400.woff2","format":"woff2"}},"styling":{"latex":true},"errors":{"404":{"redirect":true}},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"metadata":{"timestamp":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"entryinc","hasAudioNarration":false,"actualSubdomain":"entryinc","customDomains":["docs.dualentry.com"],"gitSource":{"type":"github","owner":"dualentry","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af1fcec2e1c4ffcdc0c9992","clientVersion":"0.0.4088","searchFilterCounts":[{"language":"default","tag":"API Reference","count":858},{"language":"default","tag":"Money In","count":255},{"language":"default","tag":"Accountants","count":214},{"language":"default","tag":"Money Out","count":194},{"language":"default","tag":"Accounting Setup","count":73},{"language":"default","tag":"Tax","count":64},{"language":"default","tag":"Transactions","count":64},{"language":"default","tag":"Developers","count":60},{"language":"default","tag":"Core Financials","count":51},{"language":"default","tag":"Integrations","count":48}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true,"deflection":{"enabled":true,"email":"ask@dualentry.com","showHelpButton":true}},"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":"html:not(.dark) #navbar,html:not(.dark) #navbar-transition,html:not(.dark) #navbar>.absolute{background-color:#F8FBFC!important}#navbar .nav-tabs{width:100%;justify-content:center}html:not(.dark) #sidebar-content{background-color:#F8FBFC!important}html:not(.dark) #sidebar-content .sidebar-group-icon{color:#004F5C!important}html.dark #navbar,html.dark #navbar-transition,html.dark #navbar>.absolute{background-color:#0F373E!important}html.dark #navbar>.absolute:not(.inset-0){border-bottom-color:rgba(255, 255, 255, 0.06)!important}@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)){html:not(.dark) #navbar,html.dark #navbar,html:not(.dark) #navbar>.absolute:not(.inset-0),html.dark #navbar>.absolute:not(.inset-0){background-color:transparent!important}html:not(.dark) #navbar>.inset-0{background-color:rgba(248, 251, 252, 0.72)!important}html.dark #navbar>.inset-0{background-color:rgba(15, 55, 62, 0.72)!important}#navbar>.inset-0{-webkit-backdrop-filter:blur(30px) saturate(1.6);backdrop-filter:blur(30px) saturate(1.6)}}@supports (animation-timeline: scroll()){@keyframes header-fade-in{from{opacity:0}to{opacity:1}}html.dark #navbar>.absolute,html:not(.dark) body:has(.home-hero) #navbar>.absolute{animation:header-fade-in linear both;animation-timeline:scroll(root block);animation-range:0 80px}@keyframes home-nav-on-hero-text{from{color:#DEE0E1}}@keyframes home-nav-on-hero-search{from{color:rgba(255, 255, 255, 0.5);background-color:rgba(255, 255, 255, 0.03);border-color:#252728}}@keyframes home-logo-on-hero{from{opacity:1}to{opacity:0}}@keyframes home-logo-off-hero{from{opacity:0}to{opacity:1}}html:not(.dark) body:has(.home-hero) #navbar :is(a,button,svg,span):not(.absolute){animation:home-nav-on-hero-text linear both;animation-timeline:scroll(root block);animation-range:0 80px}@keyframes home-nav-on-hero-hover{from{--nav-tab-hover: #5BC9DB}}html:not(.dark) body:has(.home-hero) #navbar{animation:home-nav-on-hero-hover linear both;animation-timeline:scroll(root block);animation-range:0 80px}html:not(.dark) body:has(.home-hero) #navbar .nav-tabs-item:hover :is(svg,span){animation:none}html:not(.dark) body:has(.home-hero) #navbar #search-bar-entry{animation-name:home-nav-on-hero-search}html:not(.dark) body:has(.home-hero) #navbar a:has(>img.nav-logo){position:relative;display:inline-block}html:not(.dark) body:has(.home-hero) #navbar img.nav-logo[src*=\"logo-dark\"]{content:url(\"/images/brand/dualentry-docs-logo-dark.svg\");display:block!important;position:absolute;inset:0 auto auto 0;animation:home-logo-on-hero linear both;animation-timeline:scroll(root block);animation-range:0 80px}html:not(.dark) body:has(.home-hero) #navbar img.nav-logo[src*=\"logo-light\"]{animation:home-logo-off-hero linear both;animation-timeline:scroll(root block);animation-range:0 80px}}html.dark .code-block-background{background-color:#0F373E!important}html.dark [data-fade-overlay]{background:#0F373E!important}header#header>div.prose{display:none}header#header:has(+.mdx-content>h1) #page-title{display:none}header#header:has(+.mdx-content>h1)+.mdx-content{margin-top:0!important}html:not([data-tab-logo-ready]) img.nav-logo,html:not([data-tab-logo-ready]) #navbar nav-logo,html:not([data-current-path]) img.nav-logo,html:not([data-current-path]) #navbar nav-logo{opacity:0!important;visibility:hidden!important}#footer>div:has(a[href*=\"mintlify.com\"]){display:none!important}#footer{justify-content:flex-end!important}html.dark img[src*=\"/integration-logos/\"]{background-color:#FFFFFF!important;border-radius:4px;padding:1px}.home{--home-surface: #F9FEFF;--home-border: rgba(10, 12, 13, 0.1);--home-heading: #101828;--home-title: #161919;--home-body: #3E4041;--home-muted: #7C8385;--home-icon: #5D6768;--home-accent: #007281;--home-chip: rgba(0, 57, 71, 0.07);--home-chip-text: #1B2122;--home-link-underline: #004F5C;width:100%}html.dark .home{--home-surface: #12424A;--home-border: rgba(255, 255, 255, 0.1);--home-heading: #F4FAFB;--home-title: #F4FAFB;--home-body: #C3D3D6;--home-muted: #8FA6AA;--home-icon: #A9C4C8;--home-accent: #81E0EF;--home-chip: rgba(129, 224, 239, 0.12);--home-chip-text: #E6F6F8;--home-link-underline: #81E0EF}.home h1,.home h2,.home h3,.home p{margin:0}.home a{text-decoration:none}body:has(.home-hero){--home-nav-h: 112px}body:has(.home-hero) #content-area{padding-top:0}@media (min-width: 1024px){body:has(.home-hero){--home-nav-h: 96px}body:has(.home-hero) #navbar{margin-bottom:calc(var(--home-nav-h) * -1)}}.home-hero{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;justify-content:center;min-height:calc(340px + var(--home-nav-h, 0px));padding:calc(56px + var(--home-nav-h, 0px)) 20px 56px;background:linear-gradient(to top, #308289 0%, #004F5C 50%, #002329 100%)}.home-hero-texture{position:absolute;inset:-24px 0 auto 0;width:100%;min-width:1200px;height:calc(100% + 260px);object-fit:cover;mix-blend-mode:color-dodge;opacity:0.24;pointer-events:none;z-index:-1}.home-hero-body{display:flex;flex-direction:column;align-items:center;gap:16px;text-align:center}.home-hero-title{color:#FFFFFF;font-size:35px;font-weight:600;line-height:40px;letter-spacing:-0.9px}.home-hero-subtitle{color:#FFFFFF;font-size:18px;font-weight:500;line-height:1.5}.home-assistant{display:flex;align-items:center;justify-content:space-between;width:300px;max-width:100%;height:48px;padding:0 12px 0 14px;border:2px solid rgba(91, 182, 198, 0.2);border-radius:9999px;background:rgba(255, 255, 255, 0.5);backdrop-filter:blur(2px);color:#252728;font-size:14px;cursor:pointer;transition:background-color 0.15s ease}.home-assistant:hover{background:rgba(255, 255, 255, 0.65)}.home-assistant-label{display:flex;align-items:center;gap:8px}.home-assistant-kbd{font-family:inherit;font-size:12px;background:none;border:0;color:inherit}.home-section{max-width:1440px;margin:0 auto;padding:32px 40px}.home-section+.home-section{margin-top:40px}.home-split{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));gap:24px;align-items:start}.home-prose{display:flex;flex-direction:column;gap:18px;padding:16px 0}.home-prose h2{color:var(--home-heading);font-size:24px;font-weight:600;line-height:32px;letter-spacing:-0.6px}.home-prose p{color:var(--home-body);font-size:15px;line-height:28px}.home-prose a{color:var(--home-heading);border-bottom:1px solid var(--home-link-underline)}.home-paths{display:grid;grid-template-columns:repeat(3, minmax(0, 1fr));gap:24px;margin-top:32px}.home-path-card{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:16px;height:444px;padding:24px;overflow:hidden;border:1px solid var(--home-border);border-radius:16px;background:var(--home-surface);transition:border-color 0.15s ease, box-shadow 0.15s ease}.home-path-card:hover{border-color:rgba(0, 79, 92, 0.35);box-shadow:0 8px 24px rgba(0, 35, 41, 0.08)}.home-path-card h2{position:relative;z-index:1;color:var(--home-title);font-size:20px;font-weight:600;line-height:1.2}.home-path-card p{position:relative;z-index:1;min-height:4.2em;color:var(--home-body);font-size:15px;line-height:1.4}.home-chip{position:relative;z-index:1;display:inline-flex;align-items:center;height:32px;padding:0 8px;border-radius:4px;background:var(--home-chip);color:var(--home-chip-text);font-size:14px;font-weight:500}.home-card-art{position:absolute;left:0;right:0;top:0;bottom:0;pointer-events:none}.home-card-art-layer{position:absolute;max-width:none;margin:0;border-radius:8px;transform-origin:top left;transform:rotate(30deg) skewX(-30deg) scaleY(0.87)}.home-card-art-shadow{filter:blur(6px)}.home-card-art-top{transition:translate 0.3s ease}.home-path-card:hover .home-card-art-top{translate:0 -6px}.home-icon-panel{display:grid;grid-template-columns:repeat(7, minmax(0, 72px));justify-content:center;gap:8px;padding:24px 16px;border:1px solid var(--home-border);border-radius:16px}.home-icon-cell{position:relative;display:flex;align-items:center;justify-content:center;aspect-ratio:1;border-radius:12px;transition:background-color 0.15s ease}.home-icon-cell:hover,.home-icon-cell:focus-visible{background-color:var(--home-chip)}.home-icon-cell:hover .home-icon,.home-icon-cell:focus-visible .home-icon{background-color:var(--home-accent)}.home-icon{width:32px;height:32px;background-color:var(--home-icon);-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.home-icon-tip{position:absolute;bottom:calc(100% + 6px);left:50%;z-index:10;display:flex;flex-direction:column;align-items:center;gap:2px;padding:6px 10px;border-radius:8px;background:#0F373E;color:#FFFFFF;font-size:12px;line-height:1.3;white-space:nowrap;box-shadow:0 4px 12px rgba(0, 35, 41, 0.2);opacity:0;transform:translate(-50%, 4px);transition:opacity 0.15s ease, transform 0.15s ease;pointer-events:none}.home-icon-tip strong{font-size:13px;font-weight:600}.home-icon-tip span{color:#C3D3D6}.home-icon-tip::after{content:\"\";position:absolute;top:100%;left:50%;margin-left:-5px;border:5px solid transparent;border-top-color:#0F373E}html.dark .home-icon-tip{background:#F4FAFB;color:#0F373E}html.dark .home-icon-tip span{color:#4F6B70}html.dark .home-icon-tip::after{border-top-color:#F4FAFB}.home-icon-cell:hover .home-icon-tip,.home-icon-cell:focus-visible .home-icon-tip{opacity:1;transform:translate(-50%, 0)}.home-icon-dot{position:absolute;top:calc(50% - 28px);left:calc(50% + 12px);width:16px;height:16px;border-radius:9999px;background:#56D9D9}.home-cli{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-template-rows:auto auto;column-gap:24px;row-gap:12px}.home-cli-panel{grid-column:2;grid-row:1}.home-cli-link{grid-column:2;grid-row:2}.home-cli-intro{display:flex;flex-direction:column;gap:8px}.home-cli-tabs{display:flex;flex-direction:column;gap:4px;padding:8px;border-radius:12px;background:var(--home-chip)}.home-cli-tab{display:flex;flex-direction:column;gap:2px;padding:10px 14px;border:1px solid transparent;border-radius:8px;background:none;text-align:left;cursor:pointer;transition:background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease}.home-cli-tab:hover{background:var(--home-surface)}.home-cli-tab[aria-selected=\"true\"]{border-color:var(--home-border);background:var(--home-surface);box-shadow:0 1px 3px rgba(0, 35, 41, 0.08)}.home-cli-tab-label{color:var(--home-body);font-size:14px;font-weight:500}.home-cli-tab[aria-selected=\"true\"] .home-cli-tab-label{color:var(--home-accent);font-weight:600}.home-cli-tab-blurb{color:var(--home-body);font-size:13px;line-height:1.4}.home-cli-tab:not([aria-selected=\"true\"]) .home-cli-tab-blurb{display:none}.home-cli-panel{display:flex;min-width:0}.home-cli-panel .home-terminal{display:flex;flex:1;flex-direction:column;min-width:0}.home-cli-link{justify-self:end;color:var(--home-heading);font-size:14px;font-weight:500;border-bottom:1px solid var(--home-link-underline)}.home-terminal{position:relative;padding:20px;border:1px solid #334155;border-radius:16px;background:#0F172A;box-shadow:0 4px 20px rgba(0, 0, 0, 0.35)}.home-terminal-dots{display:flex;gap:8px;margin-bottom:16px}.home-terminal-dots span{width:10px;height:10px;border-radius:9999px;background:#EF4444;opacity:0.6}.home-terminal-dots span:nth-child(2){background:#EAB308}.home-terminal-dots span:nth-child(3){background:#22C55E}.home-term-body{flex:1 1 0;min-height:0;overflow:auto;color:#E2E8F0;font-family:ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;font-size:11px;line-height:1.2;white-space:pre}.home-term-cmd{white-space:pre-wrap;overflow-wrap:anywhere}.home-term-body .home-tok-prompt{color:#64748B}.home-term-body .home-tok-cmd{color:#5BC9DB}.home-term-body .home-tok-flag{color:#9CC0E8}.home-term-body .home-tok-str{color:#F0B45B}.home-term-body .home-tok-arg{color:#E2E8F0}.home-out-green{color:#4ADE80}.home-out-yellow{color:#FACC15}.home-out-blue{color:#60A5FA}.home-term-line+.home-term-line:has(>.home-tok-prompt:first-child){margin-top:6px}.home-term-caret{display:inline-block;width:6px;height:12px;margin-left:1px;vertical-align:-2px;background:#E2E8F0;animation:home-caret-blink 1s steps(1) infinite}@keyframes home-caret-blink{50%{opacity:0}}@media (prefers-reduced-motion: reduce){.home-term-caret{animation:none}}.home-help-cards{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));gap:16px;padding:16px 0}.home-split:has(.home-help-cards){align-items:stretch}.home-help-card{display:flex;flex-direction:column;justify-content:center;gap:12px;padding:20px 19px;border:1px solid var(--home-border);border-radius:16px;background:rgba(255, 255, 255, 0.3);transition:border-color 0.15s ease}html.dark .home-help-card{background:rgba(255, 255, 255, 0.03)}.home-help-card:hover{border-color:rgba(0, 79, 92, 0.35)}.home-help-icon{width:40px;height:40px;background-color:var(--home-accent);-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.home-help-card h3{color:var(--home-title);font-size:16px;font-weight:700}.home-help-card p{color:var(--home-body);font-size:15px;line-height:1.4;overflow-wrap:anywhere}.home-help-card .home-help-note{font-size:13px;overflow-wrap:normal}.home-footer{display:flex;justify-content:flex-end;gap:24px;max-width:1360px;margin:64px auto 0;padding:40px 0 48px;border-top:1px solid var(--home-border)}.home-footer a{display:flex;color:#9EA0A1;transition:color 0.15s ease}.home-footer a:hover{color:var(--home-accent)}.home-footer svg{background-color:currentColor!important}html[data-current-path=\"/\"] #navbar .nav-tabs-item[data-active=\"true\"]{text-shadow:none!important}html[data-current-path=\"/\"] #navbar .nav-tabs-item[data-active=\"true\"]>div{background-color:transparent!important}html[data-current-path=\"/\"] #navbar .nav-tabs-item:hover>div:last-child{background-color:var(--nav-tab-hover)!important}html.dark[data-current-path=\"/\"] #navbar .nav-tabs-item:hover>div:last-child{background-color:#5BC9DB!important}@media (max-width: 1024px){.home-paths,.home-split,.home-cli{grid-template-columns:minmax(0, 1fr)}.home-cli-tabs{flex-direction:row;overflow-x:auto}.home-cli-tab{flex:0 0 auto;border:1px solid var(--home-border);border-radius:9999px;padding:8px 14px}.home-cli-tab[aria-selected=\"true\"]{border-color:var(--home-accent)}.home-cli-tab-blurb{display:none}.home-cli-panel,.home-cli-link{grid-column:1;grid-row:auto}.home-path-card{height:380px}}@media (max-width: 640px){.home-section{padding:24px 16px}.home-hero{min-height:calc(300px + var(--home-nav-h, 0px));padding:calc(40px + var(--home-nav-h, 0px)) 16px 40px}.home-hero-title{font-size:28px;line-height:34px}.home-help-cards{grid-template-columns:minmax(0, 1fr)}.home-icon-panel{display:none}.home-footer{margin:48px 16px 0}.home-term-body{height:300px;flex:none}}@media (min-width: 1024px){[data-assistant-sheet-container]{overflow:hidden!important;min-width:0!important;transition:width 0.3s cubic-bezier(0.32, 0.72, 0, 1)}[data-assistant-sheet-container] #chat-assistant-sheet{min-width:368px}}@media (prefers-reduced-motion: reduce){[data-assistant-sheet-container]{transition:none}}@property --nav-tab-hover{syntax:\"\u003ccolor>\";inherits:true;initial-value:#004F5C}#navbar .nav-tabs-item:hover{color:var(--nav-tab-hover)!important}html.dark #navbar .nav-tabs-item:hover{color:#5BC9DB!important}html:not(.dark) #navbar button.nav-tabs-item:not(:hover){color:rgb(var(--gray-800))}html.dark #navbar button.nav-tabs-item:not(:hover){color:rgb(var(--gray-200))}#navbar button.nav-tabs-item>div:first-child{color:inherit!important}#navbar button.nav-tabs-item>div:first-child>svg:first-child{background-color:currentColor!important}html[data-current-path^=\"/developers/release-notes\"] #navbar button.nav-tabs-item>div:first-child{text-shadow:-0.2px 0 0 currentColor, 0.2px 0 0 currentColor}.rh-featured,.rh-updates,.rh-posted{--rh-surface: #F9FEFF;--rh-tile: linear-gradient(160deg, #E7F4F6 0%, #F4FAFB 100%);--rh-border: rgba(10, 12, 13, 0.1);--rh-border-hover: rgba(0, 79, 92, 0.35);--rh-heading: #101828;--rh-title: #161919;--rh-body: #3E4041;--rh-muted: #696F71;--rh-accent: #007281;--rh-chip: rgba(0, 57, 71, 0.07);--rh-chip-text: #1B2122;--rh-chip-on: #004F5C;--rh-chip-on-text: #FFFFFF}html.dark .rh-featured,html.dark .rh-updates,html.dark .rh-posted{--rh-surface: #12424A;--rh-tile: linear-gradient(160deg, #164C55 0%, #12424A 100%);--rh-border: rgba(255, 255, 255, 0.1);--rh-border-hover: rgba(129, 224, 239, 0.35);--rh-heading: #F4FAFB;--rh-title: #F4FAFB;--rh-body: #C3D3D6;--rh-muted: #A5B8BB;--rh-accent: #81E0EF;--rh-chip: rgba(129, 224, 239, 0.12);--rh-chip-text: #E6F6F8;--rh-chip-on: #81E0EF;--rh-chip-on-text: #0F373E}.rh-card-meta{font-size:12px;font-weight:600;letter-spacing:0.06em;text-transform:uppercase;color:var(--rh-muted)}.rh-card-desc{margin:0;font-size:15px;line-height:1.5;color:var(--rh-body)}.rh-featured{display:grid;grid-template-columns:repeat(3, minmax(0, 1fr));gap:24px;margin:16px 0 56px}.rh-featured-card{display:flex;flex-direction:column;gap:10px}.rh-featured-visual{aspect-ratio:16 / 10;overflow:hidden;margin-bottom:8px;border:1px solid var(--rh-border);border-radius:16px;background:var(--rh-tile)}a.rh-featured-visual{display:block;text-decoration:none}.rh-featured-visual img{display:block;width:100%;height:100%;max-width:none;margin:0!important;object-fit:cover;object-position:left top;transition:transform 0.3s ease}.rh-featured-card:hover .rh-featured-visual img{transform:scale(1.03)}@media (prefers-reduced-motion: reduce){.rh-featured-visual img{transition:none}.rh-featured-card:hover .rh-featured-visual img{transform:none}}.rh-featured-visual-video{aspect-ratio:16 / 9;border:0}.rh-featured-card .rh-card-desc{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.rh-featured-title{margin:0!important;font-size:20px;font-weight:600;line-height:1.25;letter-spacing:-0.3px;color:var(--rh-title)}#rh-all-updates{scroll-margin-top:7rem}.rh-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:16px 0 16px}.rh-search{flex:1 1 260px;height:40px;padding:0 14px;border:1px solid var(--rh-border);border-radius:8px;background:var(--rh-surface);color:var(--rh-title);font-size:14px;transition:border-color 0.15s ease}.rh-search:hover{border-color:var(--rh-border-hover)}.rh-search:focus{outline:2px solid #5BC9DB;outline-offset:1px}.rh-segment{display:inline-flex;gap:2px;padding:3px;border-radius:10px;background:var(--rh-chip)}.rh-segment-btn{height:34px;padding:0 14px;border:0;border-radius:8px;background:transparent;color:var(--rh-muted);font-size:14px;font-weight:500;cursor:pointer;white-space:nowrap;transition:background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease}.rh-segment-btn:hover{color:var(--rh-title)}.rh-segment-on,.rh-segment-on:hover{background:var(--rh-surface);color:var(--rh-title);box-shadow:0 1px 3px rgba(0, 35, 41, 0.12)}html.dark .rh-segment-on,html.dark .rh-segment-on:hover{background:#1B5560;box-shadow:none}.rh-segment-btn:focus-visible{outline:2px solid #5BC9DB;outline-offset:1px}.rh-areas{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:20px}.rh-areas-label{margin-right:6px;font-size:12px;font-weight:600;letter-spacing:0.06em;text-transform:uppercase;color:var(--rh-muted)}.rh-area{height:28px;padding:0 11px;border:1px solid var(--rh-border);border-radius:999px;background:transparent;color:var(--rh-body);font-size:13px;cursor:pointer;transition:border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease}.rh-area:hover{border-color:var(--rh-border-hover);color:var(--rh-title)}.rh-area-on,.rh-area-on:hover{border-color:var(--rh-accent);background:transparent;color:var(--rh-accent);font-weight:600}.rh-area-empty{opacity:0.45}.rh-area:focus-visible{outline:2px solid #5BC9DB;outline-offset:1px}.rh-result-count{margin:0 0 12px;font-size:13px;color:var(--rh-muted)}.rh-empty{margin:24px 0;font-size:15px;color:var(--rh-muted)}.rh-grid{display:grid;grid-template-columns:repeat(3, minmax(0, 1fr));gap:20px}.rh-card{display:flex;flex-direction:column;gap:10px;padding:20px;border:1px solid var(--rh-border);border-radius:16px;background:var(--rh-surface)}.rh-card-title{margin:0!important;font-size:17px;font-weight:600;line-height:1.3;color:var(--rh-title)}.rh-card-link{color:inherit;text-decoration:none;border-bottom:0}.rh-card-link:hover{text-decoration:underline}.rh-featured-visual iframe{display:block;width:100%;height:100%;border:0}.rh-card .rh-card-desc{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.rh-card-date{margin-top:auto;padding-top:6px;font-size:13px;color:var(--rh-muted)}.rh-card-group{position:relative;transition:border-color 0.15s ease}.rh-card-group:hover{border-color:var(--rh-border-hover)}.rh-card-group .rh-card-title button{background:none;border:0;padding:0;font:inherit;color:inherit;cursor:pointer;text-align:left}.rh-card-group .rh-card-title button::after{content:\"\";position:absolute;inset:0;border-radius:16px}.rh-card-group:has(.rh-card-title button:focus-visible){outline:2px solid #5BC9DB;outline-offset:1px}.rh-card-more{float:right;color:var(--rh-accent);font-weight:600}.rh-dialog{inset:0;margin:auto;width:min(640px, calc(100vw - 32px));height:fit-content;max-height:calc(100vh - 64px);padding:0;overflow:auto;border:1px solid var(--rh-border);border-radius:16px;background:var(--rh-surface);color:var(--rh-body);box-shadow:0 24px 64px rgba(0, 35, 41, 0.25)}.rh-dialog::backdrop{background:rgba(10, 20, 22, 0.55)}.rh-dialog-body{padding:24px}.rh-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:8px}.rh-dialog-title{margin:4px 0 0!important;font-size:22px;font-weight:600;line-height:1.25;color:var(--rh-title)}.rh-dialog-close{flex:none;width:36px;height:36px;border:1px solid var(--rh-border);border-radius:8px;background:transparent;color:var(--rh-title);font-size:22px;line-height:1;cursor:pointer}.rh-dialog-close:hover{border-color:var(--rh-border-hover)}.rh-dialog-close:focus-visible{outline:2px solid #5BC9DB;outline-offset:1px}.rh-dialog-list{margin:0;padding:0;list-style:none}.rh-dialog-item{display:flex;flex-direction:column;gap:6px;padding:16px 0;border-top:1px solid var(--rh-border)}.rh-dialog-item-title{margin:0!important;font-size:16px;font-weight:600;line-height:1.3;color:var(--rh-title)}.rh-dialog-date{color:var(--rh-accent);text-decoration:none;border-bottom:0}.rh-dialog-date:hover{text-decoration:underline}.rh-pager{display:flex;align-items:center;justify-content:center;gap:16px;margin-top:24px}.rh-pager-btn{height:40px;padding:0 14px;border:1px solid var(--rh-border);border-radius:8px;background:var(--rh-surface);color:var(--rh-heading);font-size:14px;font-weight:500;cursor:pointer;transition:border-color 0.15s ease}.rh-pager-btn:hover:not(:disabled){border-color:var(--rh-border-hover)}.rh-pager-btn:disabled{opacity:0.4;cursor:default}.rh-pager-label{font-size:14px;color:var(--rh-muted);font-variant-numeric:tabular-nums}.rh-posted{position:relative;isolation:isolate;overflow:hidden;display:grid;grid-template-columns:minmax(0, 1fr) minmax(0, 1fr);gap:32px;align-items:center;margin:64px 0 24px;padding:40px;border-radius:16px;color:#FFFFFF;background:linear-gradient(to top, #308289 0%, #004F5C 50%, #002329 100%)}.rh-posted-texture{position:absolute;inset:0;width:100%;height:100%;max-width:none;margin:0!important;object-fit:cover;mix-blend-mode:color-dodge;opacity:0.24;pointer-events:none;z-index:-1}.rh-posted-title{margin:0!important;font-size:35px;font-weight:600;line-height:40px;letter-spacing:-0.9px;color:#FFFFFF}.rh-posted-sub{margin:12px 0 0;font-size:16px;line-height:1.5;color:rgba(255, 255, 255, 0.82)}.rh-posted-form{display:grid;grid-template-columns:minmax(0, 1fr) auto;gap:8px}.rh-posted-input{height:48px;padding:0 14px;border:2px solid rgba(91, 182, 198, 0.2);border-radius:8px;background:rgba(255, 255, 255, 0.92);color:#161919;font-size:15px}.rh-posted-input:focus{outline:2px solid #81E0EF;outline-offset:1px}.rh-posted-button{height:48px;padding:0 22px;border:0;border-radius:8px;cursor:pointer;background:#81E0EF;color:#002329;font-size:15px;font-weight:600;transition:background-color 0.15s ease}.rh-posted-button:hover{background:#A6EAF4}.rh-posted-button:disabled{opacity:0.7;cursor:default}.rh-posted-consent,.rh-posted-error{grid-column:1 / -1;margin:4px 0 0;font-size:12px;line-height:1.5;color:rgba(255, 255, 255, 0.7)}.rh-posted-error{color:#FFD1CC;font-size:13px}.rh-posted-consent a{color:#FFFFFF;text-decoration:underline;text-underline-offset:2px}.rh-posted-done{margin:0;font-size:16px;font-weight:500;color:#FFFFFF}html[data-page-mode=\"center\"][data-current-path=\"/developers/release-notes\"] #sidebar-content,html[data-current-path=\"/developers/release-notes/changelog\"] #sidebar-content,html[data-current-path^=\"/developers/release-notes/changelog-\"] #sidebar-content{display:none!important}.rh-periods{display:flex;flex-wrap:wrap;gap:6px;margin:16px 0 24px}.rh-period{height:30px;padding:0 12px;display:inline-flex;align-items:center;border:1px solid rgba(10, 12, 13, 0.1);border-radius:999px;color:#3E4041;font-size:13px;text-decoration:none;border-bottom-width:1px;transition:border-color 0.15s ease, color 0.15s ease}a.rh-period:hover{border-color:rgba(0, 79, 92, 0.35);color:#161919}.rh-period-on{border-color:#007281;color:#007281;font-weight:600}html.dark .rh-period{border-color:rgba(255, 255, 255, 0.1);color:#C3D3D6}html.dark a.rh-period:hover{border-color:rgba(129, 224, 239, 0.35);color:#F4FAFB}html.dark .rh-period-on{border-color:#81E0EF;color:#81E0EF}html[data-page-mode=\"center\"][data-current-path=\"/developers/release-notes\"] #content-container{max-width:1120px!important}html[data-page-mode=\"center\"][data-current-path=\"/developers/release-notes\"] #content-area{width:100%!important}.rh-update-video{width:100%;aspect-ratio:16 / 9;border-radius:16px}@media (max-width: 1100px){.rh-grid{grid-template-columns:repeat(2, minmax(0, 1fr))}}@media (max-width: 900px){.rh-featured,.rh-grid{grid-template-columns:minmax(0, 1fr)}.rh-posted{grid-template-columns:minmax(0, 1fr);padding:28px 24px}.rh-posted-form{grid-template-columns:minmax(0, 1fr)}.rh-segment{width:100%}.rh-segment-btn{flex:1}}"},{"filePath":"cli-reference.css","content":"#content .cli-group{--cli-nav: 96px;--cli-group-h: 64px;--cli-bg: #F8FBFC}html.dark #content .cli-group{--cli-bg: #0F373E}#content .cli-group+.cli-group{margin-top:64px}#content .cli-group>h2{position:sticky;top:var(--cli-nav);z-index:22;box-sizing:border-box;height:var(--cli-group-h);margin:0!important;padding:0;display:flex;align-items:center;border-bottom:1px solid rgba(10, 12, 13, 0.1);background-color:var(--cli-bg);scroll-margin-top:var(--cli-nav)!important}html.dark #content .cli-group>h2{border-bottom-color:rgba(255, 255, 255, 0.1)}#content .cli-entry>h3{scroll-margin-top:calc(var(--cli-nav) + var(--cli-group-h) + 16px)!important}#content h3:has(+.cli-cmd){scroll-margin-top:calc(var(--cli-nav) + var(--cli-group-h) - 29px)!important;height:1px;margin:72px 0 28px!important;padding:0;overflow:hidden;font-size:0;line-height:0;color:transparent;background-color:rgba(10, 12, 13, 0.1)}html.dark #content h3:has(+.cli-cmd){background-color:rgba(255, 255, 255, 0.1)}#content .cli-cmd{position:sticky;top:calc(var(--cli-nav) + var(--cli-group-h));z-index:20;display:block;margin:0 0 20px;padding:32px 0 24px;border-bottom:1px solid rgba(10, 12, 13, 0.1);background-color:var(--cli-bg);color:#101828;font-family:ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;font-size:15px;font-weight:500;line-height:1.5}#content .cli-cmd::after{content:\"\";position:absolute;top:100%;left:0;right:0;height:32px;background:linear-gradient(to bottom, var(--cli-bg), rgba(248, 251, 252, 0));pointer-events:none}html.dark #content .cli-cmd{border-bottom-color:rgba(255, 255, 255, 0.1);color:#F4FAFB}html.dark #content .cli-cmd::after{background:linear-gradient(to bottom, var(--cli-bg), rgba(15, 55, 62, 0))}#content .cli-cmd~.cli-cmd{margin-top:40px}#content .cli-cmd::before{content:\"$\";margin-right:10px;color:#7C8385}#content .cli-cmd .cli-sig-cmd{white-space:pre-wrap}#content .cli-cmd a.cli-sig-arg{color:#004F5C;border-bottom:1px dotted rgba(0, 79, 92, 0.5);text-decoration:none;font-weight:inherit;white-space:pre-wrap}#content .cli-cmd a.cli-sig-arg:hover{border-bottom-style:solid}html.dark #content .cli-cmd a.cli-sig-arg{color:#81E0EF;border-bottom-color:rgba(129, 224, 239, 0.5)}#content .cli-anchor{scroll-margin-top:calc(var(--cli-nav) + var(--cli-group-h) + 124px)}#content li:has(>.cli-anchor:target),#content li:has(>p>.cli-anchor:target){animation:cli-target-flash 2s ease-out;border-radius:4px}@keyframes cli-target-flash{0%,40%{background-color:rgba(91, 201, 219, 0.25)}100%{background-color:transparent}}@media (max-width: 1023px){#content .cli-group{--cli-nav: 112px;--cli-group-h: 56px}#content .cli-cmd{font-size:13px;padding:24px 0 18px}}"}],"page":{"pagePath":"developers/api/resources-v3-alpha/bills/update-billv2-record","slug":"/developers/api/resources-v3-alpha/bills/update-billv2-record","pageMetadata":{"title":"Update BillV2 record","description":"Update an existing BillV2 record with the provided data. Validates all required fields and business rules.\n\n**Side effects**\n- If an approval workflow matches this request, DualEntry can set `record_status` back to `draft`.\n\n**Additional validations**\n- Fails with `503` if the exchange rate for the transaction date is unavailable.\n- Fails with `422` and the error code `posting_date_after_limit` if `date` is after the latest posting date that your organization allows.\n- Fails with `422` and `error_code` `tax_not_calculated` when the organization uses manual tax mode with the tax reminder on, the request posts the record, and the request sends lines but none of them carries `tax`. Set `auto_calculate_tax` to `required`, or send `tax` on the lines.\n- Fails with `422` if you set an inactive, archived, or draft customer or vendor, or an inactive company.\n- Fails with `422` if a line account is not available to the record's company.\n- Fails with `422` if you set the customer or vendor that stands for the record's own company as a party.\n- A reference that the record or its linked source record already holds passes these checks.","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json put /public/v3-alpha/bills/{record_number}/","href":"/developers/api/resources-v3-alpha/bills/update-billv2-record","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n li: \"li\",\n p: \"p\",\n strong: \"strong\",\n ul: \"ul\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Update an existing BillV2 record with the provided data. Validates all required fields and business rules.\"\n }), \"\\n\", _jsx(_components.p, {\n children: _jsx(_components.strong, {\n children: \"Side effects\"\n })\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsxs(_components.li, {\n children: [\"If an approval workflow matches this request, DualEntry can set \", _jsx(_components.code, {\n children: \"record_status\"\n }), \" back to \", _jsx(_components.code, {\n children: \"draft\"\n }), \".\"]\n }), \"\\n\"]\n }), \"\\n\", _jsx(_components.p, {\n children: _jsx(_components.strong, {\n children: \"Additional validations\"\n })\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsxs(_components.li, {\n children: [\"Fails with \", _jsx(_components.code, {\n children: \"503\"\n }), \" if the exchange rate for the transaction date is unavailable.\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [\"Fails with \", _jsx(_components.code, {\n children: \"422\"\n }), \" and the error code \", _jsx(_components.code, {\n children: \"posting_date_after_limit\"\n }), \" if \", _jsx(_components.code, {\n children: \"date\"\n }), \" is after the latest posting date that your organization allows.\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [\"Fails with \", _jsx(_components.code, {\n children: \"422\"\n }), \" and \", _jsx(_components.code, {\n children: \"error_code\"\n }), \" \", _jsx(_components.code, {\n children: \"tax_not_calculated\"\n }), \" when the organization uses manual tax mode with the tax reminder on, the request posts the record, and the request sends lines but none of them carries \", _jsx(_components.code, {\n children: \"tax\"\n }), \". Set \", _jsx(_components.code, {\n children: \"auto_calculate_tax\"\n }), \" to \", _jsx(_components.code, {\n children: \"required\"\n }), \", or send \", _jsx(_components.code, {\n children: \"tax\"\n }), \" on the lines.\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [\"Fails with \", _jsx(_components.code, {\n children: \"422\"\n }), \" if you set an inactive, archived, or draft customer or vendor, or an inactive company.\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [\"Fails with \", _jsx(_components.code, {\n children: \"422\"\n }), \" if a line account is not available to the record’s company.\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [\"Fails with \", _jsx(_components.code, {\n children: \"422\"\n }), \" if you set the customer or vendor that stands for the record’s own company as a party.\"]\n }), \"\\n\", _jsx(_components.li, {\n children: \"A reference that the record or its linked source record already holds passes these checks.\"\n }), \"\\n\"]\n })]\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":"Update BillV2 record","description":"Update an existing BillV2 record with the provided data. Validates all required fields and business rules.\n\n**Side effects**\n- If an approval workflow matches this request, DualEntry can set `record_status` back to `draft`.\n\n**Additional validations**\n- Fails with `503` if the exchange rate for the transaction date is unavailable.\n- Fails with `422` and the error code `posting_date_after_limit` if `date` is after the latest posting date that your organization allows.\n- Fails with `422` and `error_code` `tax_not_calculated` when the organization uses manual tax mode with the tax reminder on, the request posts the record, and the request sends lines but none of them carries `tax`. Set `auto_calculate_tax` to `required`, or send `tax` on the lines.\n- Fails with `422` if you set an inactive, archived, or draft customer or vendor, or an inactive company.\n- Fails with `422` if a line account is not available to the record's company.\n- Fails with `422` if you set the customer or vendor that stands for the record's own company as a party.\n- A reference that the record or its linked source record already holds passes these checks.","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json put /public/v3-alpha/bills/{record_number}/","href":"/developers/api/resources-v3-alpha/bills/update-billv2-record","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/entryinc/01d596e72a0b5c2c/logo-tabs.js","/_mintlify/custom/entryinc/725b37e26d5b09d6/release-notes-tab.js"],"openApiReferenceData":{"operation":{"operationId":"update_BillV2_record","summary":"Update BillV2 record","parameters":["ecea7489-c9d1-4d0a-b04b-ad057528fba9","aeb033df-0960-44e5-8ea3-d6d9c27dfda5"],"responses":{"200":"c7650c4b-47d8-44d8-a6dc-be4d5f5a5d12","400":"48c0d8e9-0e11-45a3-8341-99f0600895ba","404":"50572ebd-8a6c-46f9-b698-d76c9aa2bfe3","422":"5d8cdfa8-cefe-4ce5-9094-1cd9efee254a","500":"3f7788df-943b-4236-a037-6308d166bebe","503":"0c01788b-dfd8-4ef7-b0f6-bc35c8b13824"},"description":"Update an existing BillV2 record with the provided data. Validates all required fields and business rules.\n\n**Side effects**\n- If an approval workflow matches this request, DualEntry can set `record_status` back to `draft`.\n\n**Additional validations**\n- Fails with `503` if the exchange rate for the transaction date is unavailable.\n- Fails with `422` and the error code `posting_date_after_limit` if `date` is after the latest posting date that your organization allows.\n- Fails with `422` and `error_code` `tax_not_calculated` when the organization uses manual tax mode with the tax reminder on, the request posts the record, and the request sends lines but none of them carries `tax`. Set `auto_calculate_tax` to `required`, or send `tax` on the lines.\n- Fails with `422` if you set an inactive, archived, or draft customer or vendor, or an inactive company.\n- Fails with `422` if a line account is not available to the record's company.\n- Fails with `422` if you set the customer or vendor that stands for the record's own company as a party.\n- A reference that the record or its linked source record already holds passes these checks.","tags":["Bills"],"requestBody":"9017b102-94e5-44de-8f29-bddfc2eff9ed","method":"put","type":"path","servers":["a3cf2463-24aa-4ce5-aef0-33188ad92aae"],"security":[],"path":"/public/v3-alpha/bills/{record_number}/","baseUrlOptions":["https://api.dualentry.com"],"title":"Update BillV2 record","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"ecea7489-c9d1-4d0a-b04b-ad057528fba9":{"in":"path","name":"record_number","schema":{"description":"The `number` attribute of the record.","title":"Record Number","type":"integer","isRequired":true,"uniqueKey":"","typeLabel":"integer"},"required":true,"description":"The `number` attribute of the record."},"aeb033df-0960-44e5-8ea3-d6d9c27dfda5":{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","maxLength":255,"isRequired":false,"description":"Optional. A unique value (a UUID works well) identifying this operation. If the request is repeated with the same key, the original response is replayed instead of the operation running again, so a retry cannot create a duplicate record. Results are replayable for 48 hours. Reusing a key with a different request body returns `422`.","uniqueKey":"","typeLabel":"string"},"description":"Optional. A unique value (a UUID works well) identifying this operation. If the request is repeated with the same key, the original response is replayed instead of the operation running again, so a retry cannot create a duplicate record. Results are replayable for 48 hours. Reusing a key with a different request body returns `422`."}},"requestBody":{"content":{"application/json":{"schema":{"properties":{"date":{"format":"date","title":"Date","type":"string","isRequired":true,"uniqueKey":"date","typeLabel":"string\u003cdate>"},"company_id":{"title":"Company Id","type":"integer","isRequired":true,"uniqueKey":"company_id","typeLabel":"integer"},"vendor_id":{"description":"If this vendor is intercompany, DualEntry also writes a transaction in the elimination company.","title":"Vendor Id","type":"integer","isRequired":true,"uniqueKey":"vendor_id","typeLabel":"integer"},"ship_from_address":{"oneOf":[{"type":"object","title":"AddressSchemaIn","required":["street","city","postal_code"],"properties":{"street":{"title":"Street","type":"string","isRequired":true,"uniqueKey":"ship_from_address.oneOf.0.street","typeLabel":"string"},"city":{"title":"City","type":"string","isRequired":true,"uniqueKey":"ship_from_address.oneOf.0.city","typeLabel":"string"},"postal_code":{"title":"Postal Code","type":"string","isRequired":true,"uniqueKey":"ship_from_address.oneOf.0.postal_code","typeLabel":"string"},"state":{"default":"","title":"State","type":"string","uniqueKey":"ship_from_address.oneOf.0.state","typeLabel":"string"},"country":{"oneOf":[{"type":"string","title":"Country","default":"","const":"","uniqueKey":"ship_from_address.oneOf.0.country.oneOf.0","typeLabel":"string"},{"type":"string","title":"SystemCountries","default":"","enum":["AA","AB","AC","AD","AE","AF","AG","AH","AI","AJ","AK","AL","AM","AN","AO","AP","AQ","AR","AS","AT","AU","AV","AW","AX","AY","AZ","BA","BB","BC","BD","BE","BF","BG","BH","BI","BJ","BK","BL","BM","BN","BO","BP","BQ","BR","BS","BT","BU","BV","BW","BX","BY","BZ","CA","CB","CC","CD","CE","CF","CG","CH","CI","CJ","CK","CL","CM","CN","CO","CP","CQ","CR","CS","CT","CU","CV","CW","CX","CY","CZ","DA","DB","DC","DD","DE","DF","DG","DH","DI","DJ","DK","DL","DM","DN","DO","DP","DQ","DR","DS","DT","DU","DV","DW","DX","DY","DZ","EA","EB","EC","ED","EE","EF","EG","EH","EI","EJ","EK","EL","EM","EN","EO","EP","EQ","ER","ES","ET","EU","EV","EW","EX","EY","EZ","FA","FB","FC","FD","FE","FF","FG","FH","FI","FJ","FK","FL","FM","FN","FO","FP","FQ","FR","FS","FT","FU","FV","FW","FX","FY","FZ","GA","GB","GC","GD","GE","GF","GG","GH","GI","GJ","GK","GL","GM","GN","GO","GP","GQ","GR","GS","GT","GU","GV","GW","GX","GY","GZ","HA","HB","HC","HD","HE","HF","HG","HH","HI","HJ","HK","HL","HM","HN","HO","HP","HQ","HR","HS","HT","HU","HV","HW","HX","HY","HZ","IA","IB","IC","ID","IE","IF","IG","IH","II","IJ","IK","IL","IM","IN","IO","IP","IQ","IR","IS","IT","IU","IV","IW","IX","IY","IZ","JA","JB","JC","JD","JE","JF","JG","JH","JI","JJ","JK","JL","JM","JN","JO","JP","JQ","JR","JS","JT","JU","JV","JW","JX","JY","JZ","KA","KB","KC","KD","KE","KF","KG","KH","KI","KJ","KK","KL","KM","KN","KO","KP","KQ","KR","KS","KT","KU","KV","KW","KX","KY","KZ","LA","LB","LC","LD","LE","LF","LG","LH","LI","LJ","LK","LL","LM","LN","LO","LP","LQ","LR","LS","LT","LU","LV","LW","LX","LY","LZ","MA","MB","MC","MD","ME","MF","MG","MH","MI","MJ","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NB","NC","ND","NE","NF","NG","NH","NI","NJ","NK","NL","NM","NN","NO","NP","NQ","NR","NS","NT","NU","NV","NW","NX","NY","NZ","OA","OB","OC","OD","OE","OF","OG","OH","OI","OJ","OK","OL","OM","ON","OO","OP","OQ","OR","OS","OT","OU","OV","OW","OX","OY","OZ","PA","PB","PC","PD","PE","PF","PG","PH","PI","PJ","PK","PL","PM","PN","PO","PP","PQ","PR","PS","PT","PU","PV","PW","PX","PY","PZ","QA","QB","QC","QD","QE","QF","QG","QH","QI","QJ","QK","QL","QM","QN","QO","QP","QQ","QR","QS","QT","QU","QV","QW","QX","QY","QZ","RA","RB","RC","RD","RE","RF","RG","RH","RI","RJ","RK","RL","RM","RN","RO","RP","RQ","RR","RS","RT","RU","RV","RW","RX","RY","RZ","SA","SB","SC","SD","SE","SF","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SP","SQ","SR","SS","ST","SU","SV","SW","SX","SY","SZ","TA","TB","TC","TD","TE","TF","TG","TH","TI","TJ","TK","TL","TM","TN","TO","TP","TQ","TR","TS","TT","TU","TV","TW","TX","TY","TZ","UA","UB","UC","UD","UE","UF","UG","UH","UI","UJ","UK","UL","UM","UN","UO","UP","UQ","UR","US","UT","UU","UV","UW","UX","UY","UZ","VA","VB","VC","VD","VE","VF","VG","VH","VI","VJ","VK","VL","VM","VN","VO","VP","VQ","VR","VS","VT","VU","VV","VW","VX","VY","VZ","WA","WB","WC","WD","WE","WF","WG","WH","WI","WJ","WK","WL","WM","WN","WO","WP","WQ","WR","WS","WT","WU","WV","WW","WX","WY","WZ","XA","XB","XC","XD","XE","XF","XG","XH","XI","XJ","XK","XL","XM","XN","XO","XP","XQ","XR","XS","XT","XU","XV","XW","XX","XY","XZ","YA","YB","YC","YD","YE","YF","YG","YH","YI","YJ","YK","YL","YM","YN","YO","YP","YQ","YR","YS","YT","YU","YV","YW","YX","YY","YZ","ZA","ZB","ZC","ZD","ZE","ZF","ZG","ZH","ZI","ZJ","ZK","ZL","ZM","ZN","ZO","ZP","ZQ","ZR","ZS","ZT","ZU","ZV","ZW","ZX","ZY","ZZ"],"uniqueKey":"ship_from_address.oneOf.0.country.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"ship_from_address.oneOf.0.country","typeLabel":"string | enum\u003cstring>"},"second_line":{"default":"","title":"Second Line","type":"string","uniqueKey":"ship_from_address.oneOf.0.second_line","typeLabel":"string"},"name":{"oneOf":[{"title":"Name","type":"string","uniqueKey":"ship_from_address.oneOf.0.name.oneOf.0","typeLabel":"string"},{"title":"Name","type":"null","uniqueKey":"ship_from_address.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"ship_from_address.oneOf.0.name","typeLabel":"string | null"}},"uniqueKey":"ship_from_address.oneOf.0","typeLabel":"AddressSchemaIn · object"},{"type":"null","uniqueKey":"ship_from_address.oneOf.1","typeLabel":"null"}],"uniqueKey":"ship_from_address","typeLabel":"AddressSchemaIn · object | null"},"ship_to_address":{"oneOf":[{"type":"object","title":"AddressSchemaIn","required":["street","city","postal_code"],"properties":{"street":{"title":"Street","type":"string","isRequired":true,"uniqueKey":"ship_to_address.oneOf.0.street","typeLabel":"string"},"city":{"title":"City","type":"string","isRequired":true,"uniqueKey":"ship_to_address.oneOf.0.city","typeLabel":"string"},"postal_code":{"title":"Postal Code","type":"string","isRequired":true,"uniqueKey":"ship_to_address.oneOf.0.postal_code","typeLabel":"string"},"state":{"default":"","title":"State","type":"string","uniqueKey":"ship_to_address.oneOf.0.state","typeLabel":"string"},"country":{"oneOf":[{"type":"string","title":"Country","default":"","const":"","uniqueKey":"ship_to_address.oneOf.0.country.oneOf.0","typeLabel":"string"},{"type":"string","title":"SystemCountries","default":"","enum":["AA","AB","AC","AD","AE","AF","AG","AH","AI","AJ","AK","AL","AM","AN","AO","AP","AQ","AR","AS","AT","AU","AV","AW","AX","AY","AZ","BA","BB","BC","BD","BE","BF","BG","BH","BI","BJ","BK","BL","BM","BN","BO","BP","BQ","BR","BS","BT","BU","BV","BW","BX","BY","BZ","CA","CB","CC","CD","CE","CF","CG","CH","CI","CJ","CK","CL","CM","CN","CO","CP","CQ","CR","CS","CT","CU","CV","CW","CX","CY","CZ","DA","DB","DC","DD","DE","DF","DG","DH","DI","DJ","DK","DL","DM","DN","DO","DP","DQ","DR","DS","DT","DU","DV","DW","DX","DY","DZ","EA","EB","EC","ED","EE","EF","EG","EH","EI","EJ","EK","EL","EM","EN","EO","EP","EQ","ER","ES","ET","EU","EV","EW","EX","EY","EZ","FA","FB","FC","FD","FE","FF","FG","FH","FI","FJ","FK","FL","FM","FN","FO","FP","FQ","FR","FS","FT","FU","FV","FW","FX","FY","FZ","GA","GB","GC","GD","GE","GF","GG","GH","GI","GJ","GK","GL","GM","GN","GO","GP","GQ","GR","GS","GT","GU","GV","GW","GX","GY","GZ","HA","HB","HC","HD","HE","HF","HG","HH","HI","HJ","HK","HL","HM","HN","HO","HP","HQ","HR","HS","HT","HU","HV","HW","HX","HY","HZ","IA","IB","IC","ID","IE","IF","IG","IH","II","IJ","IK","IL","IM","IN","IO","IP","IQ","IR","IS","IT","IU","IV","IW","IX","IY","IZ","JA","JB","JC","JD","JE","JF","JG","JH","JI","JJ","JK","JL","JM","JN","JO","JP","JQ","JR","JS","JT","JU","JV","JW","JX","JY","JZ","KA","KB","KC","KD","KE","KF","KG","KH","KI","KJ","KK","KL","KM","KN","KO","KP","KQ","KR","KS","KT","KU","KV","KW","KX","KY","KZ","LA","LB","LC","LD","LE","LF","LG","LH","LI","LJ","LK","LL","LM","LN","LO","LP","LQ","LR","LS","LT","LU","LV","LW","LX","LY","LZ","MA","MB","MC","MD","ME","MF","MG","MH","MI","MJ","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NB","NC","ND","NE","NF","NG","NH","NI","NJ","NK","NL","NM","NN","NO","NP","NQ","NR","NS","NT","NU","NV","NW","NX","NY","NZ","OA","OB","OC","OD","OE","OF","OG","OH","OI","OJ","OK","OL","OM","ON","OO","OP","OQ","OR","OS","OT","OU","OV","OW","OX","OY","OZ","PA","PB","PC","PD","PE","PF","PG","PH","PI","PJ","PK","PL","PM","PN","PO","PP","PQ","PR","PS","PT","PU","PV","PW","PX","PY","PZ","QA","QB","QC","QD","QE","QF","QG","QH","QI","QJ","QK","QL","QM","QN","QO","QP","QQ","QR","QS","QT","QU","QV","QW","QX","QY","QZ","RA","RB","RC","RD","RE","RF","RG","RH","RI","RJ","RK","RL","RM","RN","RO","RP","RQ","RR","RS","RT","RU","RV","RW","RX","RY","RZ","SA","SB","SC","SD","SE","SF","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SP","SQ","SR","SS","ST","SU","SV","SW","SX","SY","SZ","TA","TB","TC","TD","TE","TF","TG","TH","TI","TJ","TK","TL","TM","TN","TO","TP","TQ","TR","TS","TT","TU","TV","TW","TX","TY","TZ","UA","UB","UC","UD","UE","UF","UG","UH","UI","UJ","UK","UL","UM","UN","UO","UP","UQ","UR","US","UT","UU","UV","UW","UX","UY","UZ","VA","VB","VC","VD","VE","VF","VG","VH","VI","VJ","VK","VL","VM","VN","VO","VP","VQ","VR","VS","VT","VU","VV","VW","VX","VY","VZ","WA","WB","WC","WD","WE","WF","WG","WH","WI","WJ","WK","WL","WM","WN","WO","WP","WQ","WR","WS","WT","WU","WV","WW","WX","WY","WZ","XA","XB","XC","XD","XE","XF","XG","XH","XI","XJ","XK","XL","XM","XN","XO","XP","XQ","XR","XS","XT","XU","XV","XW","XX","XY","XZ","YA","YB","YC","YD","YE","YF","YG","YH","YI","YJ","YK","YL","YM","YN","YO","YP","YQ","YR","YS","YT","YU","YV","YW","YX","YY","YZ","ZA","ZB","ZC","ZD","ZE","ZF","ZG","ZH","ZI","ZJ","ZK","ZL","ZM","ZN","ZO","ZP","ZQ","ZR","ZS","ZT","ZU","ZV","ZW","ZX","ZY","ZZ"],"uniqueKey":"ship_to_address.oneOf.0.country.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"ship_to_address.oneOf.0.country","typeLabel":"string | enum\u003cstring>"},"second_line":{"default":"","title":"Second Line","type":"string","uniqueKey":"ship_to_address.oneOf.0.second_line","typeLabel":"string"},"name":{"oneOf":[{"title":"Name","type":"string","uniqueKey":"ship_to_address.oneOf.0.name.oneOf.0","typeLabel":"string"},{"title":"Name","type":"null","uniqueKey":"ship_to_address.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"ship_to_address.oneOf.0.name","typeLabel":"string | null"}},"uniqueKey":"ship_to_address.oneOf.0","typeLabel":"AddressSchemaIn · object"},{"type":"null","uniqueKey":"ship_to_address.oneOf.1","typeLabel":"null"}],"uniqueKey":"ship_to_address","typeLabel":"AddressSchemaIn · object | null"},"supply_date":{"oneOf":[{"description":"Tax point date for VAT and GST.\n\nWhen the saved record uses a VAT or GST tax regime and you omit this field, DualEntry sets it to `transaction_date`, or to `date` when there is no `transaction_date`.\n\nRecurring templates store the value you send. Each generated record that uses VAT or GST and has no supply date gets that default on save.\n\nOn PATCH, an omitted field keeps the stored value. Send `supply_date` again when you change `date` or `transaction_date`.","title":"Supply Date","format":"date","type":"string","uniqueKey":"supply_date.oneOf.0","typeLabel":"string\u003cdate>"},{"description":"Tax point date for VAT and GST.\n\nWhen the saved record uses a VAT or GST tax regime and you omit this field, DualEntry sets it to `transaction_date`, or to `date` when there is no `transaction_date`.\n\nRecurring templates store the value you send. Each generated record that uses VAT or GST and has no supply date gets that default on save.\n\nOn PATCH, an omitted field keeps the stored value. Send `supply_date` again when you change `date` or `transaction_date`.","title":"Supply Date","format":"date","type":"null","uniqueKey":"supply_date.oneOf.1","typeLabel":"null"}],"uniqueKey":"supply_date","typeLabel":"string\u003cdate> | null"},"place_of_supply":{"oneOf":[{"title":"Place Of Supply","maxLength":2,"type":"string","uniqueKey":"place_of_supply.oneOf.0","typeLabel":"string"},{"title":"Place Of Supply","maxLength":2,"type":"null","uniqueKey":"place_of_supply.oneOf.1","typeLabel":"null"}],"uniqueKey":"place_of_supply","typeLabel":"string | null"},"tax_registration_numbers":{"oneOf":[{"type":"object","title":"TaxRegistrationNumbersSnapshot","properties":{"company":{"items":{"properties":{"type":{"description":"Registration type (e.g. SST_SALES, SST_SERVICE, GST, GSTIN, PST, QST).","title":"Type","type":"string","isRequired":true,"uniqueKey":"tax_registration_numbers.oneOf.0.company.items.[INDEX].type","typeLabel":"string"},"number":{"description":"Frozen-at-snapshot registration number.","title":"Number","type":"string","isRequired":true,"uniqueKey":"tax_registration_numbers.oneOf.0.company.items.[INDEX].number","typeLabel":"string"},"region":{"oneOf":[{"description":"2-letter region code for region-scoped registrations (e.g. Canadian PST/QST provinces); null for country-wide registrations.","title":"Region","type":"string","uniqueKey":"tax_registration_numbers.oneOf.0.company.items.[INDEX].region.oneOf.0","typeLabel":"string"},{"description":"2-letter region code for region-scoped registrations (e.g. Canadian PST/QST provinces); null for country-wide registrations.","title":"Region","type":"null","uniqueKey":"tax_registration_numbers.oneOf.0.company.items.[INDEX].region.oneOf.1","typeLabel":"null"}],"uniqueKey":"tax_registration_numbers.oneOf.0.company.items.[INDEX].region","typeLabel":"string | null"}},"required":["type","number"],"title":"TaxRegistrationNumberEntry","type":"object","uniqueKey":"tax_registration_numbers.oneOf.0.company.items.[INDEX]","typeLabel":"TaxRegistrationNumberEntry · object"},"title":"Company","type":"array","uniqueKey":"tax_registration_numbers.oneOf.0.company","typeLabel":"TaxRegistrationNumberEntry · object[]"},"counterparty":{"items":{"properties":{"type":{"description":"Registration type (e.g. SST_SALES, SST_SERVICE, GST, GSTIN, PST, QST).","title":"Type","type":"string","isRequired":true,"uniqueKey":"tax_registration_numbers.oneOf.0.counterparty.items.[INDEX].type","typeLabel":"string"},"number":{"description":"Frozen-at-snapshot registration number.","title":"Number","type":"string","isRequired":true,"uniqueKey":"tax_registration_numbers.oneOf.0.counterparty.items.[INDEX].number","typeLabel":"string"},"region":{"oneOf":[{"description":"2-letter region code for region-scoped registrations (e.g. Canadian PST/QST provinces); null for country-wide registrations.","title":"Region","type":"string","uniqueKey":"tax_registration_numbers.oneOf.0.counterparty.items.[INDEX].region.oneOf.0","typeLabel":"string"},{"description":"2-letter region code for region-scoped registrations (e.g. Canadian PST/QST provinces); null for country-wide registrations.","title":"Region","type":"null","uniqueKey":"tax_registration_numbers.oneOf.0.counterparty.items.[INDEX].region.oneOf.1","typeLabel":"null"}],"uniqueKey":"tax_registration_numbers.oneOf.0.counterparty.items.[INDEX].region","typeLabel":"string | null"}},"required":["type","number"],"title":"TaxRegistrationNumberEntry","type":"object","uniqueKey":"tax_registration_numbers.oneOf.0.counterparty.items.[INDEX]","typeLabel":"TaxRegistrationNumberEntry · object"},"title":"Counterparty","type":"array","uniqueKey":"tax_registration_numbers.oneOf.0.counterparty","typeLabel":"TaxRegistrationNumberEntry · object[]"}},"uniqueKey":"tax_registration_numbers.oneOf.0","typeLabel":"TaxRegistrationNumbersSnapshot · object"},{"type":"null","uniqueKey":"tax_registration_numbers.oneOf.1","typeLabel":"null"}],"uniqueKey":"tax_registration_numbers","typeLabel":"TaxRegistrationNumbersSnapshot · object | null"},"tax_metadata":{"oneOf":[{"type":"object","additionalProperties":{"additionalProperties":true,"type":"object","uniqueKey":"tax_metadata.oneOf.0.additionalProperties","typeLabel":"object"},"uniqueKey":"tax_metadata.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"tax_metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"tax_metadata","typeLabel":"object | null"},"custom_fields":{"oneOf":[{"title":"Custom Fields","items":{"additionalProperties":true,"type":"object","uniqueKey":"custom_fields.oneOf.0.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"custom_fields.oneOf.0","typeLabel":"Custom Fields · object[]"},{"title":"Custom Fields","items":{"additionalProperties":true,"type":"object"},"type":"null","uniqueKey":"custom_fields.oneOf.1","typeLabel":"null"}],"uniqueKey":"custom_fields","typeLabel":"Custom Fields · object[] | null"},"transaction_date":{"oneOf":[{"title":"Transaction Date","format":"date","type":"string","uniqueKey":"transaction_date.oneOf.0","typeLabel":"string\u003cdate>"},{"title":"Transaction Date","format":"date","type":"null","uniqueKey":"transaction_date.oneOf.1","typeLabel":"null"}],"uniqueKey":"transaction_date","typeLabel":"string\u003cdate> | null"},"auto_calculate_tax":{"oneOf":[{"type":"string","title":"AutoCalculateTaxMode","description":"Configures how to handle automatic tax calculations.\n\nIf `auto_calculate_tax` is unset, the tax you send on each line is stored. Set it to `required` to have DualEntry calculate the tax, replacing the tax on every line before it saves the record.\n\nThe calculation covers native US sales tax using DualEntry's tax engine. It also covers Avalara US sales tax, VAT, and GST.\n\n- For native VAT and GST, leave this field unset and send the rate and the tax on each line. Set it to `required` when a tax provider returns the tax.\n- The request fails with `422` when the result is DualEntry's own VAT or GST, when the calculation cannot finish, or when a required address is still missing.\n- When the record has a customer, DualEntry reads `shipping_address`, then `billing_address`, then the address saved on the customer.\n- If you send neither address, DualEntry copies the customer's saved address to `billing_address` and `shipping_address`.\n- When the record has a vendor, DualEntry reads `ship_from_address` and `ship_to_address`, then the addresses saved on the vendor and the company.\n- DualEntry stores only the ship addresses you sent.","enum":["required"],"uniqueKey":"auto_calculate_tax.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Configures how to handle automatic tax calculations.\n\nIf `auto_calculate_tax` is unset, the tax you send on each line is stored. Set it to `required` to have DualEntry calculate the tax, replacing the tax on every line before it saves the record.\n\nThe calculation covers native US sales tax using DualEntry's tax engine. It also covers Avalara US sales tax, VAT, and GST.\n\n- For native VAT and GST, leave this field unset and send the rate and the tax on each line. Set it to `required` when a tax provider returns the tax.\n- The request fails with `422` when the result is DualEntry's own VAT or GST, when the calculation cannot finish, or when a required address is still missing.\n- When the record has a customer, DualEntry reads `shipping_address`, then `billing_address`, then the address saved on the customer.\n- If you send neither address, DualEntry copies the customer's saved address to `billing_address` and `shipping_address`.\n- When the record has a vendor, DualEntry reads `ship_from_address` and `ship_to_address`, then the addresses saved on the vendor and the company.\n- DualEntry stores only the ship addresses you sent.","uniqueKey":"auto_calculate_tax.oneOf.1","typeLabel":"null"}],"uniqueKey":"auto_calculate_tax","typeLabel":"enum\u003cstring> | null"},"currency_iso_4217_code":{"oneOf":[{"type":"string","title":"SystemCurrencies","enum":["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BRL","BSD","BTN","BWP","BYN","BZD","CAD","CDF","CHF","CLF","CLP","CNY","COP","CRC","CUP","CVE","CZK","DJF","DKK","DOP","DZD","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GHS","GIP","GMD","GNF","GTQ","GYD","HKD","HNL","HTG","HUF","IDR","ILS","INR","IQD","IRR","ISK","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRU","MUR","MVR","MWK","MXN","MYR","MZN","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PYG","QAR","RON","RSD","RUB","RWF","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLL","SOS","SRD","STN","SVC","SYP","SZL","THB","TJS","TMT","TND","TOP","TRY","TTD","TWD","TZS","UAH","UGX","USD","UYU","UZS","VES","VND","VUV","WST","XAF","XAG","XAU","XCD","XDR","XOF","XPD","XPF","XPT","YER","ZAR","ZMW","ZWL"],"uniqueKey":"currency_iso_4217_code.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"currency_iso_4217_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"currency_iso_4217_code","typeLabel":"enum\u003cstring> | null"},"exchange_rate":{"oneOf":[{"type":"number","title":"Exchange Rate","description":"If you omit this field or send `null`, DualEntry calculates the rate from the company base currency, the transaction currency, and the transaction date. A date of today or later uses the rate for yesterday (UTC). A rate you send is stored, including `1.0`.","uniqueKey":"exchange_rate.oneOf.0","typeLabel":"number"},{"type":"string","title":"Exchange Rate","description":"If you omit this field or send `null`, DualEntry calculates the rate from the company base currency, the transaction currency, and the transaction date. A date of today or later uses the rate for yesterday (UTC). A rate you send is stored, including `1.0`.","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,16}0*$","uniqueKey":"exchange_rate.oneOf.1","typeLabel":"string"},{"type":"null","title":"Exchange Rate","description":"If you omit this field or send `null`, DualEntry calculates the rate from the company base currency, the transaction currency, and the transaction date. A date of today or later uses the rate for yesterday (UTC). A rate you send is stored, including `1.0`.","uniqueKey":"exchange_rate.oneOf.2","typeLabel":"null"}],"uniqueKey":"exchange_rate","typeLabel":"number | string | null"},"memo":{"oneOf":[{"title":"Memo","maxLength":512,"type":"string","uniqueKey":"memo.oneOf.0","typeLabel":"string"},{"title":"Memo","maxLength":512,"type":"null","uniqueKey":"memo.oneOf.1","typeLabel":"null"}],"uniqueKey":"memo","typeLabel":"string | null"},"items":{"oneOf":[{"title":"Items","items":{"properties":{"position":{"title":"Position","type":"integer","isRequired":true,"uniqueKey":"\\items.oneOf.0.items.[INDEX].position","typeLabel":"integer"},"item_id":{"title":"Item Id","type":"integer","isRequired":true,"uniqueKey":"\\items.oneOf.0.items.[INDEX].item_id","typeLabel":"integer"},"memo":{"title":"Memo","type":"string","isRequired":true,"uniqueKey":"\\items.oneOf.0.items.[INDEX].memo","typeLabel":"string"},"rate":{"oneOf":[{"type":"number","title":"Rate","isRequired":true,"uniqueKey":"\\items.oneOf.0.items.[INDEX].rate.oneOf.0","typeLabel":"number"},{"type":"string","title":"Rate","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,6}0*$","isRequired":true,"uniqueKey":"\\items.oneOf.0.items.[INDEX].rate.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"\\items.oneOf.0.items.[INDEX].rate","typeLabel":"number | string"},"quantity":{"oneOf":[{"type":"number","title":"Quantity","isRequired":true,"uniqueKey":"\\items.oneOf.0.items.[INDEX].quantity.oneOf.0","typeLabel":"number"},{"type":"string","title":"Quantity","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,6}0*$","isRequired":true,"uniqueKey":"\\items.oneOf.0.items.[INDEX].quantity.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"\\items.oneOf.0.items.[INDEX].quantity","typeLabel":"number | string"},"tax":{"oneOf":[{"type":"object","title":"ItemTaxData","required":["code","rate","amount"],"properties":{"code":{"title":"Code","type":"string","isRequired":true,"uniqueKey":"\\items.oneOf.0.items.[INDEX].tax.oneOf.0.code","typeLabel":"string"},"rate":{"oneOf":[{"type":"number","title":"Rate","isRequired":true,"uniqueKey":"\\items.oneOf.0.items.[INDEX].tax.oneOf.0.rate.oneOf.0","typeLabel":"number"},{"type":"string","title":"Rate","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,6}0*$","isRequired":true,"uniqueKey":"\\items.oneOf.0.items.[INDEX].tax.oneOf.0.rate.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"\\items.oneOf.0.items.[INDEX].tax.oneOf.0.rate","typeLabel":"number | string"},"amount":{"oneOf":[{"type":"number","title":"Amount","isRequired":true,"uniqueKey":"\\items.oneOf.0.items.[INDEX].tax.oneOf.0.amount.oneOf.0","typeLabel":"number"},{"type":"string","title":"Amount","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,2}0*$","isRequired":true,"uniqueKey":"\\items.oneOf.0.items.[INDEX].tax.oneOf.0.amount.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"\\items.oneOf.0.items.[INDEX].tax.oneOf.0.amount","typeLabel":"number | string"},"is_taxable":{"oneOf":[{"title":"Is Taxable","type":"boolean","uniqueKey":"\\items.oneOf.0.items.[INDEX].tax.oneOf.0.is_taxable.oneOf.0","typeLabel":"boolean"},{"title":"Is Taxable","type":"null","uniqueKey":"\\items.oneOf.0.items.[INDEX].tax.oneOf.0.is_taxable.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.oneOf.0.items.[INDEX].tax.oneOf.0.is_taxable","typeLabel":"boolean | null"},"tax_exempt_amount":{"oneOf":[{"type":"number","title":"Tax Exempt Amount","uniqueKey":"\\items.oneOf.0.items.[INDEX].tax.oneOf.0.tax_exempt_amount.oneOf.0","typeLabel":"number"},{"type":"string","title":"Tax Exempt Amount","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,2}0*$","uniqueKey":"\\items.oneOf.0.items.[INDEX].tax.oneOf.0.tax_exempt_amount.oneOf.1","typeLabel":"string"},{"type":"null","title":"Tax Exempt Amount","uniqueKey":"\\items.oneOf.0.items.[INDEX].tax.oneOf.0.tax_exempt_amount.oneOf.2","typeLabel":"null"}],"uniqueKey":"\\items.oneOf.0.items.[INDEX].tax.oneOf.0.tax_exempt_amount","typeLabel":"number | string | null"},"vat_rate_id":{"oneOf":[{"title":"Vat Rate Id","type":"integer","uniqueKey":"\\items.oneOf.0.items.[INDEX].tax.oneOf.0.vat_rate_id.oneOf.0","typeLabel":"integer"},{"title":"Vat Rate Id","type":"null","uniqueKey":"\\items.oneOf.0.items.[INDEX].tax.oneOf.0.vat_rate_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.oneOf.0.items.[INDEX].tax.oneOf.0.vat_rate_id","typeLabel":"integer | null"},"gst_tax_rate_id":{"oneOf":[{"title":"Gst Tax Rate Id","type":"integer","uniqueKey":"\\items.oneOf.0.items.[INDEX].tax.oneOf.0.gst_tax_rate_id.oneOf.0","typeLabel":"integer"},{"title":"Gst Tax Rate Id","type":"null","uniqueKey":"\\items.oneOf.0.items.[INDEX].tax.oneOf.0.gst_tax_rate_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.oneOf.0.items.[INDEX].tax.oneOf.0.gst_tax_rate_id","typeLabel":"integer | null"},"tax_metadata":{"oneOf":[{"title":"Tax Metadata","additionalProperties":true,"type":"object","uniqueKey":"\\items.oneOf.0.items.[INDEX].tax.oneOf.0.tax_metadata.oneOf.0","typeLabel":"Tax Metadata · object"},{"title":"Tax Metadata","additionalProperties":true,"type":"null","uniqueKey":"\\items.oneOf.0.items.[INDEX].tax.oneOf.0.tax_metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.oneOf.0.items.[INDEX].tax.oneOf.0.tax_metadata","typeLabel":"Tax Metadata · object | null"}},"uniqueKey":"\\items.oneOf.0.items.[INDEX].tax.oneOf.0","typeLabel":"ItemTaxData · object"},{"type":"null","uniqueKey":"\\items.oneOf.0.items.[INDEX].tax.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.oneOf.0.items.[INDEX].tax","typeLabel":"ItemTaxData · object | null"},"is_billable":{"default":false,"description":"When `true`, this line is billable to a customer. Requires `billable_customer_id`.","title":"Is Billable","type":"boolean","uniqueKey":"\\items.oneOf.0.items.[INDEX].is_billable","typeLabel":"boolean"},"billable_customer_id":{"oneOf":[{"description":"Customer to rebill for this line. Required when `is_billable` is `true`. Distinct from `customer_id` on expense lines.","title":"Billable Customer Id","type":"integer","uniqueKey":"\\items.oneOf.0.items.[INDEX].billable_customer_id.oneOf.0","typeLabel":"integer"},{"description":"Customer to rebill for this line. Required when `is_billable` is `true`. Distinct from `customer_id` on expense lines.","title":"Billable Customer Id","type":"null","uniqueKey":"\\items.oneOf.0.items.[INDEX].billable_customer_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.oneOf.0.items.[INDEX].billable_customer_id","typeLabel":"integer | null"},"billable_project_id":{"oneOf":[{"description":"Optional project for the billable line. When set with `billable_customer_id`, the project must belong to that customer.","title":"Billable Project Id","type":"integer","uniqueKey":"\\items.oneOf.0.items.[INDEX].billable_project_id.oneOf.0","typeLabel":"integer"},{"description":"Optional project for the billable line. When set with `billable_customer_id`, the project must belong to that customer.","title":"Billable Project Id","type":"null","uniqueKey":"\\items.oneOf.0.items.[INDEX].billable_project_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.oneOf.0.items.[INDEX].billable_project_id","typeLabel":"integer | null"},"billable_markup_pct":{"oneOf":[{"type":"number","title":"Billable Markup Pct","description":"Optional markup percent for the billable line (0-1000).","maximum":1000,"minimum":0,"uniqueKey":"\\items.oneOf.0.items.[INDEX].billable_markup_pct.oneOf.0","typeLabel":"number"},{"type":"string","title":"Billable Markup Pct","description":"Optional markup percent for the billable line (0-1000).","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,4}0*$","uniqueKey":"\\items.oneOf.0.items.[INDEX].billable_markup_pct.oneOf.1","typeLabel":"string"},{"type":"null","title":"Billable Markup Pct","description":"Optional markup percent for the billable line (0-1000).","uniqueKey":"\\items.oneOf.0.items.[INDEX].billable_markup_pct.oneOf.2","typeLabel":"null"}],"uniqueKey":"\\items.oneOf.0.items.[INDEX].billable_markup_pct","typeLabel":"number | string | null"},"id":{"oneOf":[{"title":"Id","type":"integer","uniqueKey":"\\items.oneOf.0.items.[INDEX].id.oneOf.0","typeLabel":"integer"},{"title":"Id","type":"null","uniqueKey":"\\items.oneOf.0.items.[INDEX].id.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.oneOf.0.items.[INDEX].id","typeLabel":"integer | null"},"classifications":{"default":[],"items":{"properties":{"id":{"title":"Id","type":"integer","isRequired":true,"uniqueKey":"\\items.oneOf.0.items.[INDEX].classifications.items.[INDEX].id","typeLabel":"integer"},"name":{"title":"Name","type":"string","isRequired":true,"uniqueKey":"\\items.oneOf.0.items.[INDEX].classifications.items.[INDEX].name","typeLabel":"string"},"line_id":{"title":"Line Id","type":"integer","isRequired":true,"uniqueKey":"\\items.oneOf.0.items.[INDEX].classifications.items.[INDEX].line_id","typeLabel":"integer"},"line_name":{"title":"Line Name","type":"string","isRequired":true,"uniqueKey":"\\items.oneOf.0.items.[INDEX].classifications.items.[INDEX].line_name","typeLabel":"string"},"parent_classification_id":{"oneOf":[{"title":"Parent Classification Id","type":"integer","uniqueKey":"\\items.oneOf.0.items.[INDEX].classifications.items.[INDEX].parent_classification_id.oneOf.0","typeLabel":"integer"},{"title":"Parent Classification Id","type":"null","uniqueKey":"\\items.oneOf.0.items.[INDEX].classifications.items.[INDEX].parent_classification_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.oneOf.0.items.[INDEX].classifications.items.[INDEX].parent_classification_id","typeLabel":"integer | null"},"parent_classification_line_id":{"oneOf":[{"title":"Parent Classification Line Id","type":"integer","uniqueKey":"\\items.oneOf.0.items.[INDEX].classifications.items.[INDEX].parent_classification_line_id.oneOf.0","typeLabel":"integer"},{"title":"Parent Classification Line Id","type":"null","uniqueKey":"\\items.oneOf.0.items.[INDEX].classifications.items.[INDEX].parent_classification_line_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.oneOf.0.items.[INDEX].classifications.items.[INDEX].parent_classification_line_id","typeLabel":"integer | null"}},"required":["id","name","line_id","line_name"],"title":"RecordClassificationsSchemaOut","type":"object","uniqueKey":"\\items.oneOf.0.items.[INDEX].classifications.items.[INDEX]","typeLabel":"RecordClassificationsSchemaOut · object"},"title":"Classifications","type":"array","uniqueKey":"\\items.oneOf.0.items.[INDEX].classifications","typeLabel":"RecordClassificationsSchemaOut · object[]"},"company_id":{"oneOf":[{"description":"Optional company for this line. If this company differs from the record `company_id`, DualEntry posts intercompany Due To/From and elimination entries. Omit this field, or set it equal to the header `company_id`, for a single-company line.","title":"Company Id","type":"integer","uniqueKey":"\\items.oneOf.0.items.[INDEX].company_id.oneOf.0","typeLabel":"integer"},{"description":"Optional company for this line. If this company differs from the record `company_id`, DualEntry posts intercompany Due To/From and elimination entries. Omit this field, or set it equal to the header `company_id`, for a single-company line.","title":"Company Id","type":"null","uniqueKey":"\\items.oneOf.0.items.[INDEX].company_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.oneOf.0.items.[INDEX].company_id","typeLabel":"integer | null"},"custom_fields":{"oneOf":[{"title":"Custom Fields","items":{"additionalProperties":true,"type":"object","uniqueKey":"\\items.oneOf.0.items.[INDEX].custom_fields.oneOf.0.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"\\items.oneOf.0.items.[INDEX].custom_fields.oneOf.0","typeLabel":"Custom Fields · object[]"},{"title":"Custom Fields","items":{"additionalProperties":true,"type":"object"},"type":"null","uniqueKey":"\\items.oneOf.0.items.[INDEX].custom_fields.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.oneOf.0.items.[INDEX].custom_fields","typeLabel":"Custom Fields · object[] | null"}},"required":["position","item_id","memo","rate","quantity"],"title":"PublicBillItemIn","type":"object","uniqueKey":"\\items.oneOf.0.items.[INDEX]","typeLabel":"PublicBillItemIn · object"},"type":"array","uniqueKey":"\\items.oneOf.0","typeLabel":"PublicBillItemIn · object[]"},{"title":"Items","items":{"properties":{"tax":{"oneOf":[{"type":"object","title":"ItemTaxData","required":["code","rate","amount"],"properties":{"code":{"title":"Code","type":"string"},"rate":{"oneOf":[{"type":"number","title":"Rate"},{"type":"string","title":"Rate","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,6}0*$"}]},"amount":{"oneOf":[{"type":"number","title":"Amount"},{"type":"string","title":"Amount","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,2}0*$"}]},"is_taxable":{"oneOf":[{"title":"Is Taxable","type":"boolean"},{"title":"Is Taxable","type":"null"}]},"tax_exempt_amount":{"oneOf":[{"type":"number","title":"Tax Exempt Amount"},{"type":"string","title":"Tax Exempt Amount","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,2}0*$"},{"type":"null","title":"Tax Exempt Amount"}]},"vat_rate_id":{"oneOf":[{"title":"Vat Rate Id","type":"integer"},{"title":"Vat Rate Id","type":"null"}]},"gst_tax_rate_id":{"oneOf":[{"title":"Gst Tax Rate Id","type":"integer"},{"title":"Gst Tax Rate Id","type":"null"}]},"tax_metadata":{"oneOf":[{"title":"Tax Metadata","additionalProperties":true,"type":"object"},{"title":"Tax Metadata","additionalProperties":true,"type":"null"}]}}},{"type":"null"}]},"is_billable":{"default":false,"description":"When `true`, this line is billable to a customer. Requires `billable_customer_id`.","title":"Is Billable","type":"boolean"},"billable_customer_id":{"oneOf":[{"description":"Customer to rebill for this line. Required when `is_billable` is `true`. Distinct from `customer_id` on expense lines.","title":"Billable Customer Id","type":"integer"},{"description":"Customer to rebill for this line. Required when `is_billable` is `true`. Distinct from `customer_id` on expense lines.","title":"Billable Customer Id","type":"null"}]},"billable_project_id":{"oneOf":[{"description":"Optional project for the billable line. When set with `billable_customer_id`, the project must belong to that customer.","title":"Billable Project Id","type":"integer"},{"description":"Optional project for the billable line. When set with `billable_customer_id`, the project must belong to that customer.","title":"Billable Project Id","type":"null"}]},"billable_markup_pct":{"oneOf":[{"type":"number","title":"Billable Markup Pct","description":"Optional markup percent for the billable line (0-1000).","maximum":1000,"minimum":0},{"type":"string","title":"Billable Markup Pct","description":"Optional markup percent for the billable line (0-1000).","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,4}0*$"},{"type":"null","title":"Billable Markup Pct","description":"Optional markup percent for the billable line (0-1000)."}]},"id":{"oneOf":[{"title":"Id","type":"integer"},{"title":"Id","type":"null"}]},"position":{"title":"Position","type":"integer"},"item_id":{"title":"Item Id","type":"integer"},"memo":{"title":"Memo","type":"string"},"rate":{"oneOf":[{"type":"number","title":"Rate"},{"type":"string","title":"Rate","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,6}0*$"}]},"quantity":{"oneOf":[{"type":"number","title":"Quantity"},{"type":"string","title":"Quantity","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,6}0*$"}]},"classifications":{"default":[],"items":{"properties":{"id":{"title":"Id","type":"integer"},"name":{"title":"Name","type":"string"},"line_id":{"title":"Line Id","type":"integer"},"line_name":{"title":"Line Name","type":"string"},"parent_classification_id":{"oneOf":[{"title":"Parent Classification Id","type":"integer"},{"title":"Parent Classification Id","type":"null"}]},"parent_classification_line_id":{"oneOf":[{"title":"Parent Classification Line Id","type":"integer"},{"title":"Parent Classification Line Id","type":"null"}]}},"required":["id","name","line_id","line_name"],"title":"RecordClassificationsSchemaOut","type":"object"},"title":"Classifications","type":"array"},"company_id":{"oneOf":[{"description":"Optional company for this line. If this company differs from the record `company_id`, DualEntry posts intercompany Due To/From and elimination entries. Omit this field, or set it equal to the header `company_id`, for a single-company line.","title":"Company Id","type":"integer"},{"description":"Optional company for this line. If this company differs from the record `company_id`, DualEntry posts intercompany Due To/From and elimination entries. Omit this field, or set it equal to the header `company_id`, for a single-company line.","title":"Company Id","type":"null"}]},"custom_fields":{"oneOf":[{"title":"Custom Fields","items":{"additionalProperties":true,"type":"object"},"type":"array"},{"title":"Custom Fields","items":{"additionalProperties":true,"type":"object"},"type":"null"}]}},"required":["position","item_id","memo","rate","quantity"],"title":"PublicBillItemIn","type":"object"},"type":"null","uniqueKey":"\\items.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items","typeLabel":"PublicBillItemIn · object[] | null"},"expenses":{"oneOf":[{"title":"Expenses","items":{"properties":{"position":{"title":"Position","type":"integer","isRequired":true,"uniqueKey":"expenses.oneOf.0.items.[INDEX].position","typeLabel":"integer"},"rate":{"oneOf":[{"type":"number","title":"Rate","isRequired":true,"uniqueKey":"expenses.oneOf.0.items.[INDEX].rate.oneOf.0","typeLabel":"number"},{"type":"string","title":"Rate","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,6}0*$","isRequired":true,"uniqueKey":"expenses.oneOf.0.items.[INDEX].rate.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"expenses.oneOf.0.items.[INDEX].rate","typeLabel":"number | string"},"quantity":{"oneOf":[{"type":"number","title":"Quantity","isRequired":true,"uniqueKey":"expenses.oneOf.0.items.[INDEX].quantity.oneOf.0","typeLabel":"number"},{"type":"string","title":"Quantity","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,6}0*$","isRequired":true,"uniqueKey":"expenses.oneOf.0.items.[INDEX].quantity.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"expenses.oneOf.0.items.[INDEX].quantity","typeLabel":"number | string"},"account_number":{"title":"Account Number","type":"integer","isRequired":true,"uniqueKey":"expenses.oneOf.0.items.[INDEX].account_number","typeLabel":"integer"},"expense_description":{"title":"Expense Description","type":"string","isRequired":true,"uniqueKey":"expenses.oneOf.0.items.[INDEX].expense_description","typeLabel":"string"},"tax":{"oneOf":[{"type":"object","title":"ItemTaxData","required":["code","rate","amount"],"properties":{"code":{"title":"Code","type":"string","isRequired":true,"uniqueKey":"expenses.oneOf.0.items.[INDEX].tax.oneOf.0.code","typeLabel":"string"},"rate":{"oneOf":[{"type":"number","title":"Rate","isRequired":true,"uniqueKey":"expenses.oneOf.0.items.[INDEX].tax.oneOf.0.rate.oneOf.0","typeLabel":"number"},{"type":"string","title":"Rate","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,6}0*$","isRequired":true,"uniqueKey":"expenses.oneOf.0.items.[INDEX].tax.oneOf.0.rate.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"expenses.oneOf.0.items.[INDEX].tax.oneOf.0.rate","typeLabel":"number | string"},"amount":{"oneOf":[{"type":"number","title":"Amount","isRequired":true,"uniqueKey":"expenses.oneOf.0.items.[INDEX].tax.oneOf.0.amount.oneOf.0","typeLabel":"number"},{"type":"string","title":"Amount","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,2}0*$","isRequired":true,"uniqueKey":"expenses.oneOf.0.items.[INDEX].tax.oneOf.0.amount.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"expenses.oneOf.0.items.[INDEX].tax.oneOf.0.amount","typeLabel":"number | string"},"is_taxable":{"oneOf":[{"title":"Is Taxable","type":"boolean","uniqueKey":"expenses.oneOf.0.items.[INDEX].tax.oneOf.0.is_taxable.oneOf.0","typeLabel":"boolean"},{"title":"Is Taxable","type":"null","uniqueKey":"expenses.oneOf.0.items.[INDEX].tax.oneOf.0.is_taxable.oneOf.1","typeLabel":"null"}],"uniqueKey":"expenses.oneOf.0.items.[INDEX].tax.oneOf.0.is_taxable","typeLabel":"boolean | null"},"tax_exempt_amount":{"oneOf":[{"type":"number","title":"Tax Exempt Amount","uniqueKey":"expenses.oneOf.0.items.[INDEX].tax.oneOf.0.tax_exempt_amount.oneOf.0","typeLabel":"number"},{"type":"string","title":"Tax Exempt Amount","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,2}0*$","uniqueKey":"expenses.oneOf.0.items.[INDEX].tax.oneOf.0.tax_exempt_amount.oneOf.1","typeLabel":"string"},{"type":"null","title":"Tax Exempt Amount","uniqueKey":"expenses.oneOf.0.items.[INDEX].tax.oneOf.0.tax_exempt_amount.oneOf.2","typeLabel":"null"}],"uniqueKey":"expenses.oneOf.0.items.[INDEX].tax.oneOf.0.tax_exempt_amount","typeLabel":"number | string | null"},"vat_rate_id":{"oneOf":[{"title":"Vat Rate Id","type":"integer","uniqueKey":"expenses.oneOf.0.items.[INDEX].tax.oneOf.0.vat_rate_id.oneOf.0","typeLabel":"integer"},{"title":"Vat Rate Id","type":"null","uniqueKey":"expenses.oneOf.0.items.[INDEX].tax.oneOf.0.vat_rate_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"expenses.oneOf.0.items.[INDEX].tax.oneOf.0.vat_rate_id","typeLabel":"integer | null"},"gst_tax_rate_id":{"oneOf":[{"title":"Gst Tax Rate Id","type":"integer","uniqueKey":"expenses.oneOf.0.items.[INDEX].tax.oneOf.0.gst_tax_rate_id.oneOf.0","typeLabel":"integer"},{"title":"Gst Tax Rate Id","type":"null","uniqueKey":"expenses.oneOf.0.items.[INDEX].tax.oneOf.0.gst_tax_rate_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"expenses.oneOf.0.items.[INDEX].tax.oneOf.0.gst_tax_rate_id","typeLabel":"integer | null"},"tax_metadata":{"oneOf":[{"title":"Tax Metadata","additionalProperties":true,"type":"object","uniqueKey":"expenses.oneOf.0.items.[INDEX].tax.oneOf.0.tax_metadata.oneOf.0","typeLabel":"Tax Metadata · object"},{"title":"Tax Metadata","additionalProperties":true,"type":"null","uniqueKey":"expenses.oneOf.0.items.[INDEX].tax.oneOf.0.tax_metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"expenses.oneOf.0.items.[INDEX].tax.oneOf.0.tax_metadata","typeLabel":"Tax Metadata · object | null"}},"uniqueKey":"expenses.oneOf.0.items.[INDEX].tax.oneOf.0","typeLabel":"ItemTaxData · object"},{"type":"null","uniqueKey":"expenses.oneOf.0.items.[INDEX].tax.oneOf.1","typeLabel":"null"}],"uniqueKey":"expenses.oneOf.0.items.[INDEX].tax","typeLabel":"ItemTaxData · object | null"},"is_billable":{"default":false,"description":"When `true`, this line is billable to a customer. Requires `billable_customer_id`.","title":"Is Billable","type":"boolean","uniqueKey":"expenses.oneOf.0.items.[INDEX].is_billable","typeLabel":"boolean"},"billable_customer_id":{"oneOf":[{"description":"Customer to rebill for this line. Required when `is_billable` is `true`. Distinct from `customer_id` on expense lines.","title":"Billable Customer Id","type":"integer","uniqueKey":"expenses.oneOf.0.items.[INDEX].billable_customer_id.oneOf.0","typeLabel":"integer"},{"description":"Customer to rebill for this line. Required when `is_billable` is `true`. Distinct from `customer_id` on expense lines.","title":"Billable Customer Id","type":"null","uniqueKey":"expenses.oneOf.0.items.[INDEX].billable_customer_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"expenses.oneOf.0.items.[INDEX].billable_customer_id","typeLabel":"integer | null"},"billable_project_id":{"oneOf":[{"description":"Optional project for the billable line. When set with `billable_customer_id`, the project must belong to that customer.","title":"Billable Project Id","type":"integer","uniqueKey":"expenses.oneOf.0.items.[INDEX].billable_project_id.oneOf.0","typeLabel":"integer"},{"description":"Optional project for the billable line. When set with `billable_customer_id`, the project must belong to that customer.","title":"Billable Project Id","type":"null","uniqueKey":"expenses.oneOf.0.items.[INDEX].billable_project_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"expenses.oneOf.0.items.[INDEX].billable_project_id","typeLabel":"integer | null"},"billable_markup_pct":{"oneOf":[{"type":"number","title":"Billable Markup Pct","description":"Optional markup percent for the billable line (0-1000).","maximum":1000,"minimum":0,"uniqueKey":"expenses.oneOf.0.items.[INDEX].billable_markup_pct.oneOf.0","typeLabel":"number"},{"type":"string","title":"Billable Markup Pct","description":"Optional markup percent for the billable line (0-1000).","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,4}0*$","uniqueKey":"expenses.oneOf.0.items.[INDEX].billable_markup_pct.oneOf.1","typeLabel":"string"},{"type":"null","title":"Billable Markup Pct","description":"Optional markup percent for the billable line (0-1000).","uniqueKey":"expenses.oneOf.0.items.[INDEX].billable_markup_pct.oneOf.2","typeLabel":"null"}],"uniqueKey":"expenses.oneOf.0.items.[INDEX].billable_markup_pct","typeLabel":"number | string | null"},"special_tax_treatment":{"oneOf":[{"type":"string","title":"SpecialTaxTreatment","description":"Identifies an expense line whose full amount is import VAT.","enum":["IMPORT_VAT"],"uniqueKey":"expenses.oneOf.0.items.[INDEX].special_tax_treatment.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Identifies an expense line whose full amount is import VAT.","uniqueKey":"expenses.oneOf.0.items.[INDEX].special_tax_treatment.oneOf.1","typeLabel":"null"}],"uniqueKey":"expenses.oneOf.0.items.[INDEX].special_tax_treatment","typeLabel":"enum\u003cstring> | null"},"id":{"oneOf":[{"title":"Id","type":"integer","uniqueKey":"expenses.oneOf.0.items.[INDEX].id.oneOf.0","typeLabel":"integer"},{"title":"Id","type":"null","uniqueKey":"expenses.oneOf.0.items.[INDEX].id.oneOf.1","typeLabel":"null"}],"uniqueKey":"expenses.oneOf.0.items.[INDEX].id","typeLabel":"integer | null"},"classifications":{"default":[],"items":{"properties":{"id":{"title":"Id","type":"integer","isRequired":true,"uniqueKey":"expenses.oneOf.0.items.[INDEX].classifications.items.[INDEX].id","typeLabel":"integer"},"name":{"title":"Name","type":"string","isRequired":true,"uniqueKey":"expenses.oneOf.0.items.[INDEX].classifications.items.[INDEX].name","typeLabel":"string"},"line_id":{"title":"Line Id","type":"integer","isRequired":true,"uniqueKey":"expenses.oneOf.0.items.[INDEX].classifications.items.[INDEX].line_id","typeLabel":"integer"},"line_name":{"title":"Line Name","type":"string","isRequired":true,"uniqueKey":"expenses.oneOf.0.items.[INDEX].classifications.items.[INDEX].line_name","typeLabel":"string"},"parent_classification_id":{"oneOf":[{"title":"Parent Classification Id","type":"integer","uniqueKey":"expenses.oneOf.0.items.[INDEX].classifications.items.[INDEX].parent_classification_id.oneOf.0","typeLabel":"integer"},{"title":"Parent Classification Id","type":"null","uniqueKey":"expenses.oneOf.0.items.[INDEX].classifications.items.[INDEX].parent_classification_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"expenses.oneOf.0.items.[INDEX].classifications.items.[INDEX].parent_classification_id","typeLabel":"integer | null"},"parent_classification_line_id":{"oneOf":[{"title":"Parent Classification Line Id","type":"integer","uniqueKey":"expenses.oneOf.0.items.[INDEX].classifications.items.[INDEX].parent_classification_line_id.oneOf.0","typeLabel":"integer"},{"title":"Parent Classification Line Id","type":"null","uniqueKey":"expenses.oneOf.0.items.[INDEX].classifications.items.[INDEX].parent_classification_line_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"expenses.oneOf.0.items.[INDEX].classifications.items.[INDEX].parent_classification_line_id","typeLabel":"integer | null"}},"required":["id","name","line_id","line_name"],"title":"RecordClassificationsSchemaOut","type":"object","uniqueKey":"expenses.oneOf.0.items.[INDEX].classifications.items.[INDEX]","typeLabel":"RecordClassificationsSchemaOut · object"},"title":"Classifications","type":"array","uniqueKey":"expenses.oneOf.0.items.[INDEX].classifications","typeLabel":"RecordClassificationsSchemaOut · object[]"},"customer_id":{"oneOf":[{"title":"Customer Id","type":"integer","uniqueKey":"expenses.oneOf.0.items.[INDEX].customer_id.oneOf.0","typeLabel":"integer"},{"title":"Customer Id","type":"null","uniqueKey":"expenses.oneOf.0.items.[INDEX].customer_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"expenses.oneOf.0.items.[INDEX].customer_id","typeLabel":"integer | null"},"vendor_id":{"oneOf":[{"title":"Vendor Id","type":"integer","uniqueKey":"expenses.oneOf.0.items.[INDEX].vendor_id.oneOf.0","typeLabel":"integer"},{"title":"Vendor Id","type":"null","uniqueKey":"expenses.oneOf.0.items.[INDEX].vendor_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"expenses.oneOf.0.items.[INDEX].vendor_id","typeLabel":"integer | null"},"company_id":{"oneOf":[{"description":"Optional company for this line. If this company differs from the record `company_id`, DualEntry posts intercompany Due To/From and elimination entries. Omit this field, or set it equal to the header `company_id`, for a single-company line.","title":"Company Id","type":"integer","uniqueKey":"expenses.oneOf.0.items.[INDEX].company_id.oneOf.0","typeLabel":"integer"},{"description":"Optional company for this line. If this company differs from the record `company_id`, DualEntry posts intercompany Due To/From and elimination entries. Omit this field, or set it equal to the header `company_id`, for a single-company line.","title":"Company Id","type":"null","uniqueKey":"expenses.oneOf.0.items.[INDEX].company_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"expenses.oneOf.0.items.[INDEX].company_id","typeLabel":"integer | null"},"custom_fields":{"oneOf":[{"title":"Custom Fields","items":{"additionalProperties":true,"type":"object","uniqueKey":"expenses.oneOf.0.items.[INDEX].custom_fields.oneOf.0.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"expenses.oneOf.0.items.[INDEX].custom_fields.oneOf.0","typeLabel":"Custom Fields · object[]"},{"title":"Custom Fields","items":{"additionalProperties":true,"type":"object"},"type":"null","uniqueKey":"expenses.oneOf.0.items.[INDEX].custom_fields.oneOf.1","typeLabel":"null"}],"uniqueKey":"expenses.oneOf.0.items.[INDEX].custom_fields","typeLabel":"Custom Fields · object[] | null"}},"required":["position","rate","quantity","account_number","expense_description"],"title":"PublicBillExpenseIn","type":"object","uniqueKey":"expenses.oneOf.0.items.[INDEX]","typeLabel":"PublicBillExpenseIn · object"},"type":"array","uniqueKey":"expenses.oneOf.0","typeLabel":"PublicBillExpenseIn · object[]"},{"title":"Expenses","items":{"properties":{"tax":{"oneOf":[{"type":"object","title":"ItemTaxData","required":["code","rate","amount"],"properties":{"code":{"title":"Code","type":"string"},"rate":{"oneOf":[{"type":"number","title":"Rate"},{"type":"string","title":"Rate","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,6}0*$"}]},"amount":{"oneOf":[{"type":"number","title":"Amount"},{"type":"string","title":"Amount","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,2}0*$"}]},"is_taxable":{"oneOf":[{"title":"Is Taxable","type":"boolean"},{"title":"Is Taxable","type":"null"}]},"tax_exempt_amount":{"oneOf":[{"type":"number","title":"Tax Exempt Amount"},{"type":"string","title":"Tax Exempt Amount","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,2}0*$"},{"type":"null","title":"Tax Exempt Amount"}]},"vat_rate_id":{"oneOf":[{"title":"Vat Rate Id","type":"integer"},{"title":"Vat Rate Id","type":"null"}]},"gst_tax_rate_id":{"oneOf":[{"title":"Gst Tax Rate Id","type":"integer"},{"title":"Gst Tax Rate Id","type":"null"}]},"tax_metadata":{"oneOf":[{"title":"Tax Metadata","additionalProperties":true,"type":"object"},{"title":"Tax Metadata","additionalProperties":true,"type":"null"}]}}},{"type":"null"}]},"is_billable":{"default":false,"description":"When `true`, this line is billable to a customer. Requires `billable_customer_id`.","title":"Is Billable","type":"boolean"},"billable_customer_id":{"oneOf":[{"description":"Customer to rebill for this line. Required when `is_billable` is `true`. Distinct from `customer_id` on expense lines.","title":"Billable Customer Id","type":"integer"},{"description":"Customer to rebill for this line. Required when `is_billable` is `true`. Distinct from `customer_id` on expense lines.","title":"Billable Customer Id","type":"null"}]},"billable_project_id":{"oneOf":[{"description":"Optional project for the billable line. When set with `billable_customer_id`, the project must belong to that customer.","title":"Billable Project Id","type":"integer"},{"description":"Optional project for the billable line. When set with `billable_customer_id`, the project must belong to that customer.","title":"Billable Project Id","type":"null"}]},"billable_markup_pct":{"oneOf":[{"type":"number","title":"Billable Markup Pct","description":"Optional markup percent for the billable line (0-1000).","maximum":1000,"minimum":0},{"type":"string","title":"Billable Markup Pct","description":"Optional markup percent for the billable line (0-1000).","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,4}0*$"},{"type":"null","title":"Billable Markup Pct","description":"Optional markup percent for the billable line (0-1000)."}]},"special_tax_treatment":{"oneOf":[{"type":"string","title":"SpecialTaxTreatment","description":"Identifies an expense line whose full amount is import VAT.","enum":["IMPORT_VAT"]},{"type":"null","description":"Identifies an expense line whose full amount is import VAT."}]},"id":{"oneOf":[{"title":"Id","type":"integer"},{"title":"Id","type":"null"}]},"position":{"title":"Position","type":"integer"},"rate":{"oneOf":[{"type":"number","title":"Rate"},{"type":"string","title":"Rate","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,6}0*$"}]},"quantity":{"oneOf":[{"type":"number","title":"Quantity"},{"type":"string","title":"Quantity","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,6}0*$"}]},"account_number":{"title":"Account Number","type":"integer"},"expense_description":{"title":"Expense Description","type":"string"},"classifications":{"default":[],"items":{"properties":{"id":{"title":"Id","type":"integer"},"name":{"title":"Name","type":"string"},"line_id":{"title":"Line Id","type":"integer"},"line_name":{"title":"Line Name","type":"string"},"parent_classification_id":{"oneOf":[{"title":"Parent Classification Id","type":"integer"},{"title":"Parent Classification Id","type":"null"}]},"parent_classification_line_id":{"oneOf":[{"title":"Parent Classification Line Id","type":"integer"},{"title":"Parent Classification Line Id","type":"null"}]}},"required":["id","name","line_id","line_name"],"title":"RecordClassificationsSchemaOut","type":"object"},"title":"Classifications","type":"array"},"customer_id":{"oneOf":[{"title":"Customer Id","type":"integer"},{"title":"Customer Id","type":"null"}]},"vendor_id":{"oneOf":[{"title":"Vendor Id","type":"integer"},{"title":"Vendor Id","type":"null"}]},"company_id":{"oneOf":[{"description":"Optional company for this line. If this company differs from the record `company_id`, DualEntry posts intercompany Due To/From and elimination entries. Omit this field, or set it equal to the header `company_id`, for a single-company line.","title":"Company Id","type":"integer"},{"description":"Optional company for this line. If this company differs from the record `company_id`, DualEntry posts intercompany Due To/From and elimination entries. Omit this field, or set it equal to the header `company_id`, for a single-company line.","title":"Company Id","type":"null"}]},"custom_fields":{"oneOf":[{"title":"Custom Fields","items":{"additionalProperties":true,"type":"object"},"type":"array"},{"title":"Custom Fields","items":{"additionalProperties":true,"type":"object"},"type":"null"}]}},"required":["position","rate","quantity","account_number","expense_description"],"title":"PublicBillExpenseIn","type":"object"},"type":"null","uniqueKey":"expenses.oneOf.1","typeLabel":"null"}],"uniqueKey":"expenses","typeLabel":"PublicBillExpenseIn · object[] | null"},"due_date":{"oneOf":[{"title":"Due Date","format":"date","type":"string","uniqueKey":"due_date.oneOf.0","typeLabel":"string\u003cdate>"},{"title":"Due Date","format":"date","type":"null","uniqueKey":"due_date.oneOf.1","typeLabel":"null"}],"uniqueKey":"due_date","typeLabel":"string\u003cdate> | null"},"term_id":{"oneOf":[{"title":"Term Id","type":"integer","uniqueKey":"term_id.oneOf.0","typeLabel":"integer"},{"title":"Term Id","type":"null","uniqueKey":"term_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"term_id","typeLabel":"integer | null"},"reference_number":{"default":"","title":"Reference Number","type":"string","uniqueKey":"reference_number","typeLabel":"string"},"purchase_order_number":{"oneOf":[{"title":"Purchase Order Number","type":"integer","uniqueKey":"purchase_order_number.oneOf.0","typeLabel":"integer"},{"title":"Purchase Order Number","type":"null","uniqueKey":"purchase_order_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"purchase_order_number","typeLabel":"integer | null"},"attachments":{"default":[],"items":{"properties":{"id":{"title":"Id","type":"integer","isRequired":true,"uniqueKey":"attachments.items.[INDEX].id","typeLabel":"integer"},"file_name":{"title":"File Name","type":"string","isRequired":true,"uniqueKey":"attachments.items.[INDEX].file_name","typeLabel":"string"},"file_size":{"title":"File Size","type":"integer","isRequired":true,"uniqueKey":"attachments.items.[INDEX].file_size","typeLabel":"integer"},"download_url":{"oneOf":[{"title":"Download Url","type":"string","uniqueKey":"attachments.items.[INDEX].download_url.oneOf.0","typeLabel":"string"},{"title":"Download Url","type":"null","uniqueKey":"attachments.items.[INDEX].download_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"attachments.items.[INDEX].download_url","typeLabel":"string | null"},"upload_url":{"oneOf":[{"title":"Upload Url","type":"string","uniqueKey":"attachments.items.[INDEX].upload_url.oneOf.0","typeLabel":"string"},{"title":"Upload Url","type":"null","uniqueKey":"attachments.items.[INDEX].upload_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"attachments.items.[INDEX].upload_url","typeLabel":"string | null"},"category":{"default":"default","title":"Category","type":"string","uniqueKey":"attachments.items.[INDEX].category","typeLabel":"string"}},"required":["id","file_name","file_size"],"title":"AttachmentSchemaOut","type":"object","uniqueKey":"attachments.items.[INDEX]","typeLabel":"AttachmentSchemaOut · object"},"title":"Attachments","type":"array","uniqueKey":"attachments","typeLabel":"AttachmentSchemaOut · object[]"},"record_status":{"type":"string","title":"RecordStatus","default":"posted","enum":["draft","posted","archived"],"uniqueKey":"record_status","typeLabel":"enum\u003cstring>"}},"required":["date","company_id","vendor_id"],"title":"PublicBillSchemaUpdateIn","type":"object","uniqueKey":"","typeLabel":"PublicBillSchemaUpdateIn · object"},"examples":{"Example":{"title":"Example","value":{"date":"2023-12-25","company_id":123,"vendor_id":123,"ship_from_address":{"street":"\u003cstring>","city":"\u003cstring>","postal_code":"\u003cstring>","state":"","country":"","second_line":"","name":"\u003cstring>"},"ship_to_address":{"street":"\u003cstring>","city":"\u003cstring>","postal_code":"\u003cstring>","state":"","country":"","second_line":"","name":"\u003cstring>"},"supply_date":"2023-12-25","place_of_supply":"\u003cstring>","tax_registration_numbers":{"company":[{"type":"\u003cstring>","number":"\u003cstring>","region":"\u003cstring>"}],"counterparty":[{"type":"\u003cstring>","number":"\u003cstring>","region":"\u003cstring>"}]},"tax_metadata":{},"custom_fields":[{}],"transaction_date":"2023-12-25","auto_calculate_tax":"required","exchange_rate":123,"memo":"\u003cstring>","items":[{"position":123,"item_id":123,"memo":"\u003cstring>","rate":123,"quantity":123,"tax":{"code":"\u003cstring>","rate":123,"amount":123,"is_taxable":true,"tax_exempt_amount":123,"vat_rate_id":123,"gst_tax_rate_id":123,"tax_metadata":{}},"is_billable":false,"billable_customer_id":123,"billable_project_id":123,"billable_markup_pct":500,"id":123,"classifications":[],"company_id":123,"custom_fields":[{}]}],"expenses":[{"position":123,"rate":123,"quantity":123,"account_number":123,"expense_description":"\u003cstring>","tax":{"code":"\u003cstring>","rate":123,"amount":123,"is_taxable":true,"tax_exempt_amount":123,"vat_rate_id":123,"gst_tax_rate_id":123,"tax_metadata":{}},"is_billable":false,"billable_customer_id":123,"billable_project_id":123,"billable_markup_pct":500,"special_tax_treatment":"IMPORT_VAT","id":123,"classifications":[],"customer_id":123,"vendor_id":123,"company_id":123,"custom_fields":[{}]}],"due_date":"2023-12-25","term_id":123,"reference_number":"","purchase_order_number":123,"attachments":[],"record_status":"posted"}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"c7650c4b-47d8-44d8-a6dc-be4d5f5a5d12":{"description":"OK","content":{"application/json":{"schema":{"properties":{"supply_date":{"oneOf":[{"title":"Supply Date","format":"date","type":"string","isRequired":true,"uniqueKey":"supply_date.oneOf.0","typeLabel":"string\u003cdate>"},{"title":"Supply Date","format":"date","type":"null","isRequired":true,"uniqueKey":"supply_date.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"supply_date","typeLabel":"string\u003cdate> | null"},"tax":{"oneOf":[{"type":"object","title":"RecordTaxContextOut","description":"Base for record-level tax context; `regime` discriminates `data`.\n\nMirrors `TaxResultV2Out` (core.taxes.api.taxes)","required":["regime","data"],"properties":{"regime":{"enum":["SALES_TAX","VAT","GST","NONE"],"title":"TaxResultType","type":"string","isRequired":true,"uniqueKey":"tax.oneOf.0.regime","typeLabel":"enum\u003cstring>"},"data":{"oneOf":[{"type":"object","title":"RecordSalesTaxDataOut","description":"Reserved for future sales tax fields (e.g. nexus origin).","properties":{},"isRequired":true,"uniqueKey":"tax.oneOf.0.data.oneOf.0","typeLabel":"RecordSalesTaxDataOut · object"},{"type":"object","title":"RecordVatDataOut","properties":{"country":{"oneOf":[{"description":"ISO-2 country code that owns the VAT regime for this record (GB, DE, ...).","title":"Country","type":"string","uniqueKey":"tax.oneOf.0.data.oneOf.1.country.oneOf.0","typeLabel":"string"},{"description":"ISO-2 country code that owns the VAT regime for this record (GB, DE, ...).","title":"Country","type":"null","uniqueKey":"tax.oneOf.0.data.oneOf.1.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"tax.oneOf.0.data.oneOf.1.country","typeLabel":"string | null"},"supply_date":{"oneOf":[{"title":"Supply Date","format":"date","type":"string","uniqueKey":"tax.oneOf.0.data.oneOf.1.supply_date.oneOf.0","typeLabel":"string\u003cdate>"},{"title":"Supply Date","format":"date","type":"null","uniqueKey":"tax.oneOf.0.data.oneOf.1.supply_date.oneOf.1","typeLabel":"null"}],"uniqueKey":"tax.oneOf.0.data.oneOf.1.supply_date","typeLabel":"string\u003cdate> | null"},"tax_registration_numbers":{"oneOf":[{"type":"object","title":"TaxRegistrationNumbersSnapshot","description":"Snapshot of all relevant tax registration numbers for both parties.","properties":{"company":{"items":{"properties":{"type":{"description":"Registration type (e.g. SST_SALES, SST_SERVICE, GST, GSTIN, PST, QST).","title":"Type","type":"string","isRequired":true,"uniqueKey":"tax.oneOf.0.data.oneOf.1.tax_registration_numbers.oneOf.0.company.items.[INDEX].type","typeLabel":"string"},"number":{"description":"Frozen-at-snapshot registration number.","title":"Number","type":"string","isRequired":true,"uniqueKey":"tax.oneOf.0.data.oneOf.1.tax_registration_numbers.oneOf.0.company.items.[INDEX].number","typeLabel":"string"},"region":{"oneOf":[{"description":"2-letter region code for region-scoped registrations (e.g. Canadian PST/QST provinces); null for country-wide registrations.","title":"Region","type":"string","uniqueKey":"tax.oneOf.0.data.oneOf.1.tax_registration_numbers.oneOf.0.company.items.[INDEX].region.oneOf.0","typeLabel":"string"},{"description":"2-letter region code for region-scoped registrations (e.g. Canadian PST/QST provinces); null for country-wide registrations.","title":"Region","type":"null","uniqueKey":"tax.oneOf.0.data.oneOf.1.tax_registration_numbers.oneOf.0.company.items.[INDEX].region.oneOf.1","typeLabel":"null"}],"uniqueKey":"tax.oneOf.0.data.oneOf.1.tax_registration_numbers.oneOf.0.company.items.[INDEX].region","typeLabel":"string | null"}},"required":["type","number"],"title":"TaxRegistrationNumberEntry","type":"object","uniqueKey":"tax.oneOf.0.data.oneOf.1.tax_registration_numbers.oneOf.0.company.items.[INDEX]","typeLabel":"TaxRegistrationNumberEntry · object"},"title":"Company","type":"array","uniqueKey":"tax.oneOf.0.data.oneOf.1.tax_registration_numbers.oneOf.0.company","typeLabel":"TaxRegistrationNumberEntry · object[]"},"counterparty":{"items":{"properties":{"type":{"description":"Registration type (e.g. SST_SALES, SST_SERVICE, GST, GSTIN, PST, QST).","title":"Type","type":"string","isRequired":true,"uniqueKey":"tax.oneOf.0.data.oneOf.1.tax_registration_numbers.oneOf.0.counterparty.items.[INDEX].type","typeLabel":"string"},"number":{"description":"Frozen-at-snapshot registration number.","title":"Number","type":"string","isRequired":true,"uniqueKey":"tax.oneOf.0.data.oneOf.1.tax_registration_numbers.oneOf.0.counterparty.items.[INDEX].number","typeLabel":"string"},"region":{"oneOf":[{"description":"2-letter region code for region-scoped registrations (e.g. Canadian PST/QST provinces); null for country-wide registrations.","title":"Region","type":"string","uniqueKey":"tax.oneOf.0.data.oneOf.1.tax_registration_numbers.oneOf.0.counterparty.items.[INDEX].region.oneOf.0","typeLabel":"string"},{"description":"2-letter region code for region-scoped registrations (e.g. Canadian PST/QST provinces); null for country-wide registrations.","title":"Region","type":"null","uniqueKey":"tax.oneOf.0.data.oneOf.1.tax_registration_numbers.oneOf.0.counterparty.items.[INDEX].region.oneOf.1","typeLabel":"null"}],"uniqueKey":"tax.oneOf.0.data.oneOf.1.tax_registration_numbers.oneOf.0.counterparty.items.[INDEX].region","typeLabel":"string | null"}},"required":["type","number"],"title":"TaxRegistrationNumberEntry","type":"object","uniqueKey":"tax.oneOf.0.data.oneOf.1.tax_registration_numbers.oneOf.0.counterparty.items.[INDEX]","typeLabel":"TaxRegistrationNumberEntry · object"},"title":"Counterparty","type":"array","uniqueKey":"tax.oneOf.0.data.oneOf.1.tax_registration_numbers.oneOf.0.counterparty","typeLabel":"TaxRegistrationNumberEntry · object[]"}},"uniqueKey":"tax.oneOf.0.data.oneOf.1.tax_registration_numbers.oneOf.0","typeLabel":"TaxRegistrationNumbersSnapshot · object"},{"type":"null","description":"Snapshot of all relevant tax registration numbers for both parties.","uniqueKey":"tax.oneOf.0.data.oneOf.1.tax_registration_numbers.oneOf.1","typeLabel":"null"}],"uniqueKey":"tax.oneOf.0.data.oneOf.1.tax_registration_numbers","typeLabel":"TaxRegistrationNumbersSnapshot · object | null"}},"isRequired":true,"uniqueKey":"tax.oneOf.0.data.oneOf.1","typeLabel":"RecordVatDataOut · object"},{"type":"object","title":"RecordGstDataOut","properties":{"country":{"oneOf":[{"description":"ISO-2 country code of the GST regime (IN, AU, NZ, SG, CA).","title":"Country","type":"string","uniqueKey":"tax.oneOf.0.data.oneOf.2.country.oneOf.0","typeLabel":"string"},{"description":"ISO-2 country code of the GST regime (IN, AU, NZ, SG, CA).","title":"Country","type":"null","uniqueKey":"tax.oneOf.0.data.oneOf.2.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"tax.oneOf.0.data.oneOf.2.country","typeLabel":"string | null"},"supply_category":{"oneOf":[{"type":"string","title":"GstSupplyCategory","description":"India only (today): INTRA_STATE (CGST+SGST) vs INTER_STATE (IGST). Null for AU/NZ/SG/CA.","enum":["INTRA_STATE","INTER_STATE"],"uniqueKey":"tax.oneOf.0.data.oneOf.2.supply_category.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"India only (today): INTRA_STATE (CGST+SGST) vs INTER_STATE (IGST). Null for AU/NZ/SG/CA.","uniqueKey":"tax.oneOf.0.data.oneOf.2.supply_category.oneOf.1","typeLabel":"null"}],"uniqueKey":"tax.oneOf.0.data.oneOf.2.supply_category","typeLabel":"enum\u003cstring> | null"},"place_of_supply":{"oneOf":[{"title":"Place Of Supply","maxLength":2,"type":"string","uniqueKey":"tax.oneOf.0.data.oneOf.2.place_of_supply.oneOf.0","typeLabel":"string"},{"title":"Place Of Supply","maxLength":2,"type":"null","uniqueKey":"tax.oneOf.0.data.oneOf.2.place_of_supply.oneOf.1","typeLabel":"null"}],"uniqueKey":"tax.oneOf.0.data.oneOf.2.place_of_supply","typeLabel":"string | null"},"supply_date":{"oneOf":[{"title":"Supply Date","format":"date","type":"string","uniqueKey":"tax.oneOf.0.data.oneOf.2.supply_date.oneOf.0","typeLabel":"string\u003cdate>"},{"title":"Supply Date","format":"date","type":"null","uniqueKey":"tax.oneOf.0.data.oneOf.2.supply_date.oneOf.1","typeLabel":"null"}],"uniqueKey":"tax.oneOf.0.data.oneOf.2.supply_date","typeLabel":"string\u003cdate> | null"},"tax_registration_numbers":{"oneOf":[{"type":"object","title":"TaxRegistrationNumbersSnapshot","description":"Snapshot of all relevant tax registration numbers for both parties.","properties":{"company":{"items":{"properties":{"type":{"description":"Registration type (e.g. SST_SALES, SST_SERVICE, GST, GSTIN, PST, QST).","title":"Type","type":"string","isRequired":true,"uniqueKey":"tax.oneOf.0.data.oneOf.2.tax_registration_numbers.oneOf.0.company.items.[INDEX].type","typeLabel":"string"},"number":{"description":"Frozen-at-snapshot registration number.","title":"Number","type":"string","isRequired":true,"uniqueKey":"tax.oneOf.0.data.oneOf.2.tax_registration_numbers.oneOf.0.company.items.[INDEX].number","typeLabel":"string"},"region":{"oneOf":[{"description":"2-letter region code for region-scoped registrations (e.g. Canadian PST/QST provinces); null for country-wide registrations.","title":"Region","type":"string","uniqueKey":"tax.oneOf.0.data.oneOf.2.tax_registration_numbers.oneOf.0.company.items.[INDEX].region.oneOf.0","typeLabel":"string"},{"description":"2-letter region code for region-scoped registrations (e.g. Canadian PST/QST provinces); null for country-wide registrations.","title":"Region","type":"null","uniqueKey":"tax.oneOf.0.data.oneOf.2.tax_registration_numbers.oneOf.0.company.items.[INDEX].region.oneOf.1","typeLabel":"null"}],"uniqueKey":"tax.oneOf.0.data.oneOf.2.tax_registration_numbers.oneOf.0.company.items.[INDEX].region","typeLabel":"string | null"}},"required":["type","number"],"title":"TaxRegistrationNumberEntry","type":"object","uniqueKey":"tax.oneOf.0.data.oneOf.2.tax_registration_numbers.oneOf.0.company.items.[INDEX]","typeLabel":"TaxRegistrationNumberEntry · object"},"title":"Company","type":"array","uniqueKey":"tax.oneOf.0.data.oneOf.2.tax_registration_numbers.oneOf.0.company","typeLabel":"TaxRegistrationNumberEntry · object[]"},"counterparty":{"items":{"properties":{"type":{"description":"Registration type (e.g. SST_SALES, SST_SERVICE, GST, GSTIN, PST, QST).","title":"Type","type":"string","isRequired":true,"uniqueKey":"tax.oneOf.0.data.oneOf.2.tax_registration_numbers.oneOf.0.counterparty.items.[INDEX].type","typeLabel":"string"},"number":{"description":"Frozen-at-snapshot registration number.","title":"Number","type":"string","isRequired":true,"uniqueKey":"tax.oneOf.0.data.oneOf.2.tax_registration_numbers.oneOf.0.counterparty.items.[INDEX].number","typeLabel":"string"},"region":{"oneOf":[{"description":"2-letter region code for region-scoped registrations (e.g. Canadian PST/QST provinces); null for country-wide registrations.","title":"Region","type":"string","uniqueKey":"tax.oneOf.0.data.oneOf.2.tax_registration_numbers.oneOf.0.counterparty.items.[INDEX].region.oneOf.0","typeLabel":"string"},{"description":"2-letter region code for region-scoped registrations (e.g. Canadian PST/QST provinces); null for country-wide registrations.","title":"Region","type":"null","uniqueKey":"tax.oneOf.0.data.oneOf.2.tax_registration_numbers.oneOf.0.counterparty.items.[INDEX].region.oneOf.1","typeLabel":"null"}],"uniqueKey":"tax.oneOf.0.data.oneOf.2.tax_registration_numbers.oneOf.0.counterparty.items.[INDEX].region","typeLabel":"string | null"}},"required":["type","number"],"title":"TaxRegistrationNumberEntry","type":"object","uniqueKey":"tax.oneOf.0.data.oneOf.2.tax_registration_numbers.oneOf.0.counterparty.items.[INDEX]","typeLabel":"TaxRegistrationNumberEntry · object"},"title":"Counterparty","type":"array","uniqueKey":"tax.oneOf.0.data.oneOf.2.tax_registration_numbers.oneOf.0.counterparty","typeLabel":"TaxRegistrationNumberEntry · object[]"}},"uniqueKey":"tax.oneOf.0.data.oneOf.2.tax_registration_numbers.oneOf.0","typeLabel":"TaxRegistrationNumbersSnapshot · object"},{"type":"null","description":"Snapshot of all relevant tax registration numbers for both parties.","uniqueKey":"tax.oneOf.0.data.oneOf.2.tax_registration_numbers.oneOf.1","typeLabel":"null"}],"uniqueKey":"tax.oneOf.0.data.oneOf.2.tax_registration_numbers","typeLabel":"TaxRegistrationNumbersSnapshot · object | null"}},"isRequired":true,"uniqueKey":"tax.oneOf.0.data.oneOf.2","typeLabel":"RecordGstDataOut · object"},{"type":"object","title":"RecordNoneTaxDataOut","properties":{},"isRequired":true,"uniqueKey":"tax.oneOf.0.data.oneOf.3","typeLabel":"RecordNoneTaxDataOut · object"}],"isRequired":true,"uniqueKey":"tax.oneOf.0.data","typeLabel":"RecordSalesTaxDataOut · object | RecordVatDataOut · object | RecordGstDataOut · object | RecordNoneTaxDataOut · object"}},"isRequired":true,"uniqueKey":"tax.oneOf.0","typeLabel":"RecordTaxContextOut · object"},{"type":"null","isRequired":true,"uniqueKey":"tax.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"tax","typeLabel":"RecordTaxContextOut · object | null"},"transaction_ids":{"items":{"type":"integer","uniqueKey":"transaction_ids.items.[INDEX]","typeLabel":"integer"},"title":"Transaction Ids","type":"array","isRequired":true,"uniqueKey":"transaction_ids","typeLabel":"integer[]"},"term_id":{"oneOf":[{"title":"Term Id","type":"integer","isRequired":true,"uniqueKey":"term_id.oneOf.0","typeLabel":"integer"},{"title":"Term Id","type":"null","isRequired":true,"uniqueKey":"term_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"term_id","typeLabel":"integer | null"},"term_name":{"title":"Term Name","type":"string","isRequired":true,"uniqueKey":"term_name","typeLabel":"string"},"internal_id":{"title":"Internal Id","type":"integer","isRequired":true,"uniqueKey":"internal_id","typeLabel":"integer"},"number":{"title":"Number","type":"integer","isRequired":true,"uniqueKey":"number","typeLabel":"integer"},"date":{"description":"Posting date (GL date) - the date when the transaction is recorded in the general ledger","format":"date","title":"Date","type":"string","isRequired":true,"uniqueKey":"date","typeLabel":"string\u003cdate>"},"transaction_date":{"description":"Transaction date (inception date) - the date when the transaction actually occurred","format":"date","title":"Transaction Date","type":"string","isRequired":true,"uniqueKey":"transaction_date","typeLabel":"string\u003cdate>"},"due_date":{"format":"date","title":"Due Date","type":"string","isRequired":true,"uniqueKey":"due_date","typeLabel":"string\u003cdate>"},"company_id":{"title":"Company Id","type":"integer","isRequired":true,"uniqueKey":"company_id","typeLabel":"integer"},"company_name":{"title":"Company Name","type":"string","isRequired":true,"uniqueKey":"company_name","typeLabel":"string"},"company_currency":{"title":"Company Currency","type":"string","isRequired":true,"uniqueKey":"company_currency","typeLabel":"string"},"vendor_id":{"title":"Vendor Id","type":"integer","isRequired":true,"uniqueKey":"vendor_id","typeLabel":"integer"},"vendor_name":{"title":"Vendor Name","type":"string","isRequired":true,"uniqueKey":"vendor_name","typeLabel":"string"},"currency_iso_4217_code":{"enum":["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BRL","BSD","BTN","BWP","BYN","BZD","CAD","CDF","CHF","CLF","CLP","CNY","COP","CRC","CUP","CVE","CZK","DJF","DKK","DOP","DZD","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GHS","GIP","GMD","GNF","GTQ","GYD","HKD","HNL","HTG","HUF","IDR","ILS","INR","IQD","IRR","ISK","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRU","MUR","MVR","MWK","MXN","MYR","MZN","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PYG","QAR","RON","RSD","RUB","RWF","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLL","SOS","SRD","STN","SVC","SYP","SZL","THB","TJS","TMT","TND","TOP","TRY","TTD","TWD","TZS","UAH","UGX","USD","UYU","UZS","VES","VND","VUV","WST","XAF","XAG","XAU","XCD","XDR","XOF","XPD","XPF","XPT","YER","ZAR","ZMW","ZWL"],"title":"SystemCurrencies","type":"string","isRequired":true,"uniqueKey":"currency_iso_4217_code","typeLabel":"enum\u003cstring>"},"exchange_rate":{"pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,16}0*$","title":"Exchange Rate","type":"string","isRequired":true,"uniqueKey":"exchange_rate","typeLabel":"string"},"memo":{"title":"Memo","type":"string","isRequired":true,"uniqueKey":"memo","typeLabel":"string"},"amount":{"description":"Total amount of transaction","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,2}0*$","title":"Amount","type":"string","isRequired":true,"uniqueKey":"amount","typeLabel":"string"},"amount_due":{"description":"Amount to be paid","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,2}0*$","title":"Amount Due","type":"string","isRequired":true,"uniqueKey":"amount_due","typeLabel":"string"},"paid_total":{"description":"Amount that was already paid by Vendor Prepayment Applications or Vendor Payments","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,2}0*$","title":"Paid Total","type":"string","isRequired":true,"uniqueKey":"paid_total","typeLabel":"string"},"record_status":{"enum":["draft","posted","archived"],"title":"RecordStatus","type":"string","isRequired":true,"uniqueKey":"record_status","typeLabel":"enum\u003cstring>"},"recurring_record_number":{"oneOf":[{"title":"Recurring Record Number","type":"integer","isRequired":true,"uniqueKey":"recurring_record_number.oneOf.0","typeLabel":"integer"},{"title":"Recurring Record Number","type":"null","isRequired":true,"uniqueKey":"recurring_record_number.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"recurring_record_number","typeLabel":"integer | null"},"purchase_order_number":{"oneOf":[{"title":"Purchase Order Number","type":"integer","isRequired":true,"uniqueKey":"purchase_order_number.oneOf.0","typeLabel":"integer"},{"title":"Purchase Order Number","type":"null","isRequired":true,"uniqueKey":"purchase_order_number.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"purchase_order_number","typeLabel":"integer | null"},"reference_number":{"title":"Reference Number","type":"string","isRequired":true,"uniqueKey":"reference_number","typeLabel":"string"},"created_at":{"description":"Date and time the record was created","format":"date-time","title":"Created At","type":"string","isRequired":true,"uniqueKey":"created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"description":"Date and time the record was last updated","format":"date-time","title":"Updated At","type":"string","isRequired":true,"uniqueKey":"updated_at","typeLabel":"string\u003cdate-time>"},"custom_fields":{"default":[],"items":{"properties":{"field":{"properties":{"id":{"title":"Id","type":"integer","isRequired":true,"uniqueKey":"custom_fields.items.[INDEX].field.id","typeLabel":"integer"},"name":{"title":"Name","type":"string","isRequired":true,"uniqueKey":"custom_fields.items.[INDEX].field.name","typeLabel":"string"},"description":{"oneOf":[{"title":"Description","type":"string","isRequired":true,"uniqueKey":"custom_fields.items.[INDEX].field.description.oneOf.0","typeLabel":"string"},{"title":"Description","type":"null","isRequired":true,"uniqueKey":"custom_fields.items.[INDEX].field.description.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"custom_fields.items.[INDEX].field.description","typeLabel":"string | null"},"helper_text":{"oneOf":[{"title":"Helper Text","type":"string","isRequired":true,"uniqueKey":"custom_fields.items.[INDEX].field.helper_text.oneOf.0","typeLabel":"string"},{"title":"Helper Text","type":"null","isRequired":true,"uniqueKey":"custom_fields.items.[INDEX].field.helper_text.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"custom_fields.items.[INDEX].field.helper_text","typeLabel":"string | null"},"field_type":{"enum":["text","number","currency","date","boolean","single_select","multi_select","link","paragraph"],"title":"FieldType","type":"string","isRequired":true,"uniqueKey":"custom_fields.items.[INDEX].field.field_type","typeLabel":"enum\u003cstring>"},"applies_to":{"items":{"description":"Schema for individual applies_to items.","properties":{"type":{"description":"Record types a custom field can apply to. Stored in DB as plain text; no Django choices.","enum":["invoice","bill","direct_expense","journal_entry","intercompany_journal_entry","vendor_prepayment","vendor_credit","vendor_payment","vendor_refund","customer_payment","customer_prepayment","customer_refund","customer_deposit","currency_revaluation","contract","fixed_asset","customer","vendor","account","company","sales_order","purchase_order","cash_sale","customer_credit","quote"],"title":"CustomFieldAppliesToType","type":"string","isRequired":true,"uniqueKey":"custom_fields.items.[INDEX].field.applies_to.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"layer":{"type":"string","title":"Layer","default":"transaction","enum":["transaction","entry"],"uniqueKey":"custom_fields.items.[INDEX].field.applies_to.items.[INDEX].layer","typeLabel":"enum\u003cstring>"},"is_active":{"default":true,"title":"Is Active","type":"boolean","uniqueKey":"custom_fields.items.[INDEX].field.applies_to.items.[INDEX].is_active","typeLabel":"boolean"},"is_required":{"default":false,"title":"Is Required","type":"boolean","uniqueKey":"custom_fields.items.[INDEX].field.applies_to.items.[INDEX].is_required","typeLabel":"boolean"}},"required":["type"],"title":"AppliesToItemSchema","type":"object","uniqueKey":"custom_fields.items.[INDEX].field.applies_to.items.[INDEX]","typeLabel":"AppliesToItemSchema · object"},"title":"Applies To","type":"array","isRequired":true,"uniqueKey":"custom_fields.items.[INDEX].field.applies_to","typeLabel":"AppliesToItemSchema · object[]"},"options":{"oneOf":[{"title":"Options","items":{"type":"string","uniqueKey":"custom_fields.items.[INDEX].field.options.oneOf.0.items.[INDEX]","typeLabel":"string"},"type":"array","isRequired":true,"uniqueKey":"custom_fields.items.[INDEX].field.options.oneOf.0","typeLabel":"string[]"},{"title":"Options","items":{"type":"string"},"type":"null","isRequired":true,"uniqueKey":"custom_fields.items.[INDEX].field.options.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"custom_fields.items.[INDEX].field.options","typeLabel":"string[] | null"},"is_active":{"oneOf":[{"title":"Is Active","type":"boolean","isRequired":true,"uniqueKey":"custom_fields.items.[INDEX].field.is_active.oneOf.0","typeLabel":"boolean"},{"title":"Is Active","type":"null","isRequired":true,"uniqueKey":"custom_fields.items.[INDEX].field.is_active.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"custom_fields.items.[INDEX].field.is_active","typeLabel":"boolean | null"},"company_id":{"oneOf":[{"title":"Company Id","type":"integer","uniqueKey":"custom_fields.items.[INDEX].field.company_id.oneOf.0","typeLabel":"integer"},{"title":"Company Id","type":"null","uniqueKey":"custom_fields.items.[INDEX].field.company_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"custom_fields.items.[INDEX].field.company_id","typeLabel":"integer | null"},"company_ids":{"oneOf":[{"title":"Company Ids","items":{"type":"integer","uniqueKey":"custom_fields.items.[INDEX].field.company_ids.oneOf.0.items.[INDEX]","typeLabel":"integer"},"type":"array","uniqueKey":"custom_fields.items.[INDEX].field.company_ids.oneOf.0","typeLabel":"integer[]"},{"title":"Company Ids","items":{"type":"integer"},"type":"null","uniqueKey":"custom_fields.items.[INDEX].field.company_ids.oneOf.1","typeLabel":"null"}],"uniqueKey":"custom_fields.items.[INDEX].field.company_ids","typeLabel":"integer[] | null"},"default_value":{"oneOf":[{"type":"string","title":"Default Value","uniqueKey":"custom_fields.items.[INDEX].field.default_value.oneOf.0","typeLabel":"string"},{"type":"array","items":{"type":"string","uniqueKey":"custom_fields.items.[INDEX].field.default_value.oneOf.1.items.[INDEX]","typeLabel":"string"},"title":"Default Value","uniqueKey":"custom_fields.items.[INDEX].field.default_value.oneOf.1","typeLabel":"string[]"},{"type":"null","title":"Default Value","uniqueKey":"custom_fields.items.[INDEX].field.default_value.oneOf.2","typeLabel":"null"}],"uniqueKey":"custom_fields.items.[INDEX].field.default_value","typeLabel":"string | string[] | null"}},"required":["id","name","description","helper_text","field_type","applies_to","options","is_active"],"title":"CustomFieldSchemaOut","type":"object","isRequired":true,"uniqueKey":"custom_fields.items.[INDEX].field","typeLabel":"CustomFieldSchemaOut · object"},"value":{"oneOf":[{"type":"object","title":"CustomFieldValueSchemaOut","required":["id","custom_field_id","custom_field_name","custom_field_type","custom_field_value_id","value","created_at","updated_at"],"properties":{"id":{"title":"Id","type":"integer","isRequired":true,"uniqueKey":"custom_fields.items.[INDEX].value.oneOf.0.id","typeLabel":"integer"},"custom_field_id":{"title":"Custom Field Id","type":"integer","isRequired":true,"uniqueKey":"custom_fields.items.[INDEX].value.oneOf.0.custom_field_id","typeLabel":"integer"},"custom_field_name":{"title":"Custom Field Name","type":"string","isRequired":true,"uniqueKey":"custom_fields.items.[INDEX].value.oneOf.0.custom_field_name","typeLabel":"string"},"custom_field_type":{"title":"Custom Field Type","type":"string","isRequired":true,"uniqueKey":"custom_fields.items.[INDEX].value.oneOf.0.custom_field_type","typeLabel":"string"},"custom_field_value_id":{"title":"Custom Field Value Id","type":"integer","isRequired":true,"uniqueKey":"custom_fields.items.[INDEX].value.oneOf.0.custom_field_value_id","typeLabel":"integer"},"value":{"oneOf":[{"title":"Value","isRequired":true}],"isRequired":true,"uniqueKey":"custom_fields.items.[INDEX].value.oneOf.0.value","typeLabel":"any"},"created_at":{"title":"Created At","type":"string","isRequired":true,"uniqueKey":"custom_fields.items.[INDEX].value.oneOf.0.created_at","typeLabel":"string"},"updated_at":{"title":"Updated At","type":"string","isRequired":true,"uniqueKey":"custom_fields.items.[INDEX].value.oneOf.0.updated_at","typeLabel":"string"}},"uniqueKey":"custom_fields.items.[INDEX].value.oneOf.0","typeLabel":"CustomFieldValueSchemaOut · object"},{"type":"null","uniqueKey":"custom_fields.items.[INDEX].value.oneOf.1","typeLabel":"null"}],"uniqueKey":"custom_fields.items.[INDEX].value","typeLabel":"CustomFieldValueSchemaOut · object | null"}},"required":["field"],"title":"CustomFieldValuePairOutputSchema","type":"object","uniqueKey":"custom_fields.items.[INDEX]","typeLabel":"CustomFieldValuePairOutputSchema · object"},"title":"Custom Fields","type":"array","uniqueKey":"custom_fields","typeLabel":"CustomFieldValuePairOutputSchema · object[]"},"ship_from_address":{"oneOf":[{"type":"object","title":"AddressSchemaOut","required":["street","city","postal_code"],"properties":{"street":{"title":"Street","type":"string","isRequired":true,"uniqueKey":"ship_from_address.oneOf.0.street","typeLabel":"string"},"city":{"title":"City","type":"string","isRequired":true,"uniqueKey":"ship_from_address.oneOf.0.city","typeLabel":"string"},"postal_code":{"title":"Postal Code","type":"string","isRequired":true,"uniqueKey":"ship_from_address.oneOf.0.postal_code","typeLabel":"string"},"state":{"default":"","title":"State","type":"string","uniqueKey":"ship_from_address.oneOf.0.state","typeLabel":"string"},"country":{"oneOf":[{"type":"string","title":"Country","default":"","const":"","uniqueKey":"ship_from_address.oneOf.0.country.oneOf.0","typeLabel":"string"},{"type":"string","title":"SystemCountries","default":"","enum":["AA","AB","AC","AD","AE","AF","AG","AH","AI","AJ","AK","AL","AM","AN","AO","AP","AQ","AR","AS","AT","AU","AV","AW","AX","AY","AZ","BA","BB","BC","BD","BE","BF","BG","BH","BI","BJ","BK","BL","BM","BN","BO","BP","BQ","BR","BS","BT","BU","BV","BW","BX","BY","BZ","CA","CB","CC","CD","CE","CF","CG","CH","CI","CJ","CK","CL","CM","CN","CO","CP","CQ","CR","CS","CT","CU","CV","CW","CX","CY","CZ","DA","DB","DC","DD","DE","DF","DG","DH","DI","DJ","DK","DL","DM","DN","DO","DP","DQ","DR","DS","DT","DU","DV","DW","DX","DY","DZ","EA","EB","EC","ED","EE","EF","EG","EH","EI","EJ","EK","EL","EM","EN","EO","EP","EQ","ER","ES","ET","EU","EV","EW","EX","EY","EZ","FA","FB","FC","FD","FE","FF","FG","FH","FI","FJ","FK","FL","FM","FN","FO","FP","FQ","FR","FS","FT","FU","FV","FW","FX","FY","FZ","GA","GB","GC","GD","GE","GF","GG","GH","GI","GJ","GK","GL","GM","GN","GO","GP","GQ","GR","GS","GT","GU","GV","GW","GX","GY","GZ","HA","HB","HC","HD","HE","HF","HG","HH","HI","HJ","HK","HL","HM","HN","HO","HP","HQ","HR","HS","HT","HU","HV","HW","HX","HY","HZ","IA","IB","IC","ID","IE","IF","IG","IH","II","IJ","IK","IL","IM","IN","IO","IP","IQ","IR","IS","IT","IU","IV","IW","IX","IY","IZ","JA","JB","JC","JD","JE","JF","JG","JH","JI","JJ","JK","JL","JM","JN","JO","JP","JQ","JR","JS","JT","JU","JV","JW","JX","JY","JZ","KA","KB","KC","KD","KE","KF","KG","KH","KI","KJ","KK","KL","KM","KN","KO","KP","KQ","KR","KS","KT","KU","KV","KW","KX","KY","KZ","LA","LB","LC","LD","LE","LF","LG","LH","LI","LJ","LK","LL","LM","LN","LO","LP","LQ","LR","LS","LT","LU","LV","LW","LX","LY","LZ","MA","MB","MC","MD","ME","MF","MG","MH","MI","MJ","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NB","NC","ND","NE","NF","NG","NH","NI","NJ","NK","NL","NM","NN","NO","NP","NQ","NR","NS","NT","NU","NV","NW","NX","NY","NZ","OA","OB","OC","OD","OE","OF","OG","OH","OI","OJ","OK","OL","OM","ON","OO","OP","OQ","OR","OS","OT","OU","OV","OW","OX","OY","OZ","PA","PB","PC","PD","PE","PF","PG","PH","PI","PJ","PK","PL","PM","PN","PO","PP","PQ","PR","PS","PT","PU","PV","PW","PX","PY","PZ","QA","QB","QC","QD","QE","QF","QG","QH","QI","QJ","QK","QL","QM","QN","QO","QP","QQ","QR","QS","QT","QU","QV","QW","QX","QY","QZ","RA","RB","RC","RD","RE","RF","RG","RH","RI","RJ","RK","RL","RM","RN","RO","RP","RQ","RR","RS","RT","RU","RV","RW","RX","RY","RZ","SA","SB","SC","SD","SE","SF","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SP","SQ","SR","SS","ST","SU","SV","SW","SX","SY","SZ","TA","TB","TC","TD","TE","TF","TG","TH","TI","TJ","TK","TL","TM","TN","TO","TP","TQ","TR","TS","TT","TU","TV","TW","TX","TY","TZ","UA","UB","UC","UD","UE","UF","UG","UH","UI","UJ","UK","UL","UM","UN","UO","UP","UQ","UR","US","UT","UU","UV","UW","UX","UY","UZ","VA","VB","VC","VD","VE","VF","VG","VH","VI","VJ","VK","VL","VM","VN","VO","VP","VQ","VR","VS","VT","VU","VV","VW","VX","VY","VZ","WA","WB","WC","WD","WE","WF","WG","WH","WI","WJ","WK","WL","WM","WN","WO","WP","WQ","WR","WS","WT","WU","WV","WW","WX","WY","WZ","XA","XB","XC","XD","XE","XF","XG","XH","XI","XJ","XK","XL","XM","XN","XO","XP","XQ","XR","XS","XT","XU","XV","XW","XX","XY","XZ","YA","YB","YC","YD","YE","YF","YG","YH","YI","YJ","YK","YL","YM","YN","YO","YP","YQ","YR","YS","YT","YU","YV","YW","YX","YY","YZ","ZA","ZB","ZC","ZD","ZE","ZF","ZG","ZH","ZI","ZJ","ZK","ZL","ZM","ZN","ZO","ZP","ZQ","ZR","ZS","ZT","ZU","ZV","ZW","ZX","ZY","ZZ"],"uniqueKey":"ship_from_address.oneOf.0.country.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"ship_from_address.oneOf.0.country","typeLabel":"string | enum\u003cstring>"},"second_line":{"default":"","title":"Second Line","type":"string","uniqueKey":"ship_from_address.oneOf.0.second_line","typeLabel":"string"},"name":{"oneOf":[{"title":"Name","type":"string","uniqueKey":"ship_from_address.oneOf.0.name.oneOf.0","typeLabel":"string"},{"title":"Name","type":"null","uniqueKey":"ship_from_address.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"ship_from_address.oneOf.0.name","typeLabel":"string | null"}},"uniqueKey":"ship_from_address.oneOf.0","typeLabel":"AddressSchemaOut · object"},{"type":"null","uniqueKey":"ship_from_address.oneOf.1","typeLabel":"null"}],"uniqueKey":"ship_from_address","typeLabel":"AddressSchemaOut · object | null"},"ship_to_address":{"oneOf":[{"type":"object","title":"AddressSchemaOut","required":["street","city","postal_code"],"properties":{"street":{"title":"Street","type":"string","isRequired":true,"uniqueKey":"ship_to_address.oneOf.0.street","typeLabel":"string"},"city":{"title":"City","type":"string","isRequired":true,"uniqueKey":"ship_to_address.oneOf.0.city","typeLabel":"string"},"postal_code":{"title":"Postal Code","type":"string","isRequired":true,"uniqueKey":"ship_to_address.oneOf.0.postal_code","typeLabel":"string"},"state":{"default":"","title":"State","type":"string","uniqueKey":"ship_to_address.oneOf.0.state","typeLabel":"string"},"country":{"oneOf":[{"type":"string","title":"Country","default":"","const":"","uniqueKey":"ship_to_address.oneOf.0.country.oneOf.0","typeLabel":"string"},{"type":"string","title":"SystemCountries","default":"","enum":["AA","AB","AC","AD","AE","AF","AG","AH","AI","AJ","AK","AL","AM","AN","AO","AP","AQ","AR","AS","AT","AU","AV","AW","AX","AY","AZ","BA","BB","BC","BD","BE","BF","BG","BH","BI","BJ","BK","BL","BM","BN","BO","BP","BQ","BR","BS","BT","BU","BV","BW","BX","BY","BZ","CA","CB","CC","CD","CE","CF","CG","CH","CI","CJ","CK","CL","CM","CN","CO","CP","CQ","CR","CS","CT","CU","CV","CW","CX","CY","CZ","DA","DB","DC","DD","DE","DF","DG","DH","DI","DJ","DK","DL","DM","DN","DO","DP","DQ","DR","DS","DT","DU","DV","DW","DX","DY","DZ","EA","EB","EC","ED","EE","EF","EG","EH","EI","EJ","EK","EL","EM","EN","EO","EP","EQ","ER","ES","ET","EU","EV","EW","EX","EY","EZ","FA","FB","FC","FD","FE","FF","FG","FH","FI","FJ","FK","FL","FM","FN","FO","FP","FQ","FR","FS","FT","FU","FV","FW","FX","FY","FZ","GA","GB","GC","GD","GE","GF","GG","GH","GI","GJ","GK","GL","GM","GN","GO","GP","GQ","GR","GS","GT","GU","GV","GW","GX","GY","GZ","HA","HB","HC","HD","HE","HF","HG","HH","HI","HJ","HK","HL","HM","HN","HO","HP","HQ","HR","HS","HT","HU","HV","HW","HX","HY","HZ","IA","IB","IC","ID","IE","IF","IG","IH","II","IJ","IK","IL","IM","IN","IO","IP","IQ","IR","IS","IT","IU","IV","IW","IX","IY","IZ","JA","JB","JC","JD","JE","JF","JG","JH","JI","JJ","JK","JL","JM","JN","JO","JP","JQ","JR","JS","JT","JU","JV","JW","JX","JY","JZ","KA","KB","KC","KD","KE","KF","KG","KH","KI","KJ","KK","KL","KM","KN","KO","KP","KQ","KR","KS","KT","KU","KV","KW","KX","KY","KZ","LA","LB","LC","LD","LE","LF","LG","LH","LI","LJ","LK","LL","LM","LN","LO","LP","LQ","LR","LS","LT","LU","LV","LW","LX","LY","LZ","MA","MB","MC","MD","ME","MF","MG","MH","MI","MJ","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NB","NC","ND","NE","NF","NG","NH","NI","NJ","NK","NL","NM","NN","NO","NP","NQ","NR","NS","NT","NU","NV","NW","NX","NY","NZ","OA","OB","OC","OD","OE","OF","OG","OH","OI","OJ","OK","OL","OM","ON","OO","OP","OQ","OR","OS","OT","OU","OV","OW","OX","OY","OZ","PA","PB","PC","PD","PE","PF","PG","PH","PI","PJ","PK","PL","PM","PN","PO","PP","PQ","PR","PS","PT","PU","PV","PW","PX","PY","PZ","QA","QB","QC","QD","QE","QF","QG","QH","QI","QJ","QK","QL","QM","QN","QO","QP","QQ","QR","QS","QT","QU","QV","QW","QX","QY","QZ","RA","RB","RC","RD","RE","RF","RG","RH","RI","RJ","RK","RL","RM","RN","RO","RP","RQ","RR","RS","RT","RU","RV","RW","RX","RY","RZ","SA","SB","SC","SD","SE","SF","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SP","SQ","SR","SS","ST","SU","SV","SW","SX","SY","SZ","TA","TB","TC","TD","TE","TF","TG","TH","TI","TJ","TK","TL","TM","TN","TO","TP","TQ","TR","TS","TT","TU","TV","TW","TX","TY","TZ","UA","UB","UC","UD","UE","UF","UG","UH","UI","UJ","UK","UL","UM","UN","UO","UP","UQ","UR","US","UT","UU","UV","UW","UX","UY","UZ","VA","VB","VC","VD","VE","VF","VG","VH","VI","VJ","VK","VL","VM","VN","VO","VP","VQ","VR","VS","VT","VU","VV","VW","VX","VY","VZ","WA","WB","WC","WD","WE","WF","WG","WH","WI","WJ","WK","WL","WM","WN","WO","WP","WQ","WR","WS","WT","WU","WV","WW","WX","WY","WZ","XA","XB","XC","XD","XE","XF","XG","XH","XI","XJ","XK","XL","XM","XN","XO","XP","XQ","XR","XS","XT","XU","XV","XW","XX","XY","XZ","YA","YB","YC","YD","YE","YF","YG","YH","YI","YJ","YK","YL","YM","YN","YO","YP","YQ","YR","YS","YT","YU","YV","YW","YX","YY","YZ","ZA","ZB","ZC","ZD","ZE","ZF","ZG","ZH","ZI","ZJ","ZK","ZL","ZM","ZN","ZO","ZP","ZQ","ZR","ZS","ZT","ZU","ZV","ZW","ZX","ZY","ZZ"],"uniqueKey":"ship_to_address.oneOf.0.country.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"ship_to_address.oneOf.0.country","typeLabel":"string | enum\u003cstring>"},"second_line":{"default":"","title":"Second Line","type":"string","uniqueKey":"ship_to_address.oneOf.0.second_line","typeLabel":"string"},"name":{"oneOf":[{"title":"Name","type":"string","uniqueKey":"ship_to_address.oneOf.0.name.oneOf.0","typeLabel":"string"},{"title":"Name","type":"null","uniqueKey":"ship_to_address.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"ship_to_address.oneOf.0.name","typeLabel":"string | null"}},"uniqueKey":"ship_to_address.oneOf.0","typeLabel":"AddressSchemaOut · object"},{"type":"null","uniqueKey":"ship_to_address.oneOf.1","typeLabel":"null"}],"uniqueKey":"ship_to_address","typeLabel":"AddressSchemaOut · object | null"},"place_of_supply":{"oneOf":[{"title":"Place Of Supply","maxLength":2,"type":"string","uniqueKey":"place_of_supply.oneOf.0","typeLabel":"string"},{"title":"Place Of Supply","maxLength":2,"type":"null","uniqueKey":"place_of_supply.oneOf.1","typeLabel":"null"}],"uniqueKey":"place_of_supply","typeLabel":"string | null"},"tax_registration_numbers":{"oneOf":[{"type":"object","title":"TaxRegistrationNumbersSnapshot","properties":{"company":{"items":{"properties":{"type":{"description":"Registration type (e.g. SST_SALES, SST_SERVICE, GST, GSTIN, PST, QST).","title":"Type","type":"string","isRequired":true,"uniqueKey":"tax_registration_numbers.oneOf.0.company.items.[INDEX].type","typeLabel":"string"},"number":{"description":"Frozen-at-snapshot registration number.","title":"Number","type":"string","isRequired":true,"uniqueKey":"tax_registration_numbers.oneOf.0.company.items.[INDEX].number","typeLabel":"string"},"region":{"oneOf":[{"description":"2-letter region code for region-scoped registrations (e.g. Canadian PST/QST provinces); null for country-wide registrations.","title":"Region","type":"string","uniqueKey":"tax_registration_numbers.oneOf.0.company.items.[INDEX].region.oneOf.0","typeLabel":"string"},{"description":"2-letter region code for region-scoped registrations (e.g. Canadian PST/QST provinces); null for country-wide registrations.","title":"Region","type":"null","uniqueKey":"tax_registration_numbers.oneOf.0.company.items.[INDEX].region.oneOf.1","typeLabel":"null"}],"uniqueKey":"tax_registration_numbers.oneOf.0.company.items.[INDEX].region","typeLabel":"string | null"}},"required":["type","number"],"title":"TaxRegistrationNumberEntry","type":"object","uniqueKey":"tax_registration_numbers.oneOf.0.company.items.[INDEX]","typeLabel":"TaxRegistrationNumberEntry · object"},"title":"Company","type":"array","uniqueKey":"tax_registration_numbers.oneOf.0.company","typeLabel":"TaxRegistrationNumberEntry · object[]"},"counterparty":{"items":{"properties":{"type":{"description":"Registration type (e.g. SST_SALES, SST_SERVICE, GST, GSTIN, PST, QST).","title":"Type","type":"string","isRequired":true,"uniqueKey":"tax_registration_numbers.oneOf.0.counterparty.items.[INDEX].type","typeLabel":"string"},"number":{"description":"Frozen-at-snapshot registration number.","title":"Number","type":"string","isRequired":true,"uniqueKey":"tax_registration_numbers.oneOf.0.counterparty.items.[INDEX].number","typeLabel":"string"},"region":{"oneOf":[{"description":"2-letter region code for region-scoped registrations (e.g. Canadian PST/QST provinces); null for country-wide registrations.","title":"Region","type":"string","uniqueKey":"tax_registration_numbers.oneOf.0.counterparty.items.[INDEX].region.oneOf.0","typeLabel":"string"},{"description":"2-letter region code for region-scoped registrations (e.g. Canadian PST/QST provinces); null for country-wide registrations.","title":"Region","type":"null","uniqueKey":"tax_registration_numbers.oneOf.0.counterparty.items.[INDEX].region.oneOf.1","typeLabel":"null"}],"uniqueKey":"tax_registration_numbers.oneOf.0.counterparty.items.[INDEX].region","typeLabel":"string | null"}},"required":["type","number"],"title":"TaxRegistrationNumberEntry","type":"object","uniqueKey":"tax_registration_numbers.oneOf.0.counterparty.items.[INDEX]","typeLabel":"TaxRegistrationNumberEntry · object"},"title":"Counterparty","type":"array","uniqueKey":"tax_registration_numbers.oneOf.0.counterparty","typeLabel":"TaxRegistrationNumberEntry · object[]"}},"uniqueKey":"tax_registration_numbers.oneOf.0","typeLabel":"TaxRegistrationNumbersSnapshot · object"},{"type":"null","uniqueKey":"tax_registration_numbers.oneOf.1","typeLabel":"null"}],"uniqueKey":"tax_registration_numbers","typeLabel":"TaxRegistrationNumbersSnapshot · object | null"},"tax_metadata":{"oneOf":[{"type":"object","additionalProperties":{"additionalProperties":true,"type":"object","uniqueKey":"tax_metadata.oneOf.0.additionalProperties","typeLabel":"object"},"uniqueKey":"tax_metadata.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"tax_metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"tax_metadata","typeLabel":"object | null"},"attachments":{"default":[],"items":{"properties":{"id":{"title":"Id","type":"integer","isRequired":true,"uniqueKey":"attachments.items.[INDEX].id","typeLabel":"integer"},"file_name":{"title":"File Name","type":"string","isRequired":true,"uniqueKey":"attachments.items.[INDEX].file_name","typeLabel":"string"},"file_size":{"title":"File Size","type":"integer","isRequired":true,"uniqueKey":"attachments.items.[INDEX].file_size","typeLabel":"integer"},"download_url":{"oneOf":[{"title":"Download Url","type":"string","uniqueKey":"attachments.items.[INDEX].download_url.oneOf.0","typeLabel":"string"},{"title":"Download Url","type":"null","uniqueKey":"attachments.items.[INDEX].download_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"attachments.items.[INDEX].download_url","typeLabel":"string | null"}},"required":["id","file_name","file_size"],"title":"PublicAttachmentSchemaOut","type":"object","uniqueKey":"attachments.items.[INDEX]","typeLabel":"PublicAttachmentSchemaOut · object"},"title":"Attachments","type":"array","uniqueKey":"attachments","typeLabel":"PublicAttachmentSchemaOut · object[]"},"bank_match_status":{"oneOf":[{"title":"Bank Match Status","type":"string","uniqueKey":"bank_match_status.oneOf.0","typeLabel":"string"},{"title":"Bank Match Status","type":"null","uniqueKey":"bank_match_status.oneOf.1","typeLabel":"null"}],"uniqueKey":"bank_match_status","typeLabel":"string | null"},"reconciliation_status":{"oneOf":[{"title":"Reconciliation Status","type":"string","uniqueKey":"reconciliation_status.oneOf.0","typeLabel":"string"},{"title":"Reconciliation Status","type":"null","uniqueKey":"reconciliation_status.oneOf.1","typeLabel":"null"}],"uniqueKey":"reconciliation_status","typeLabel":"string | null"},"created_by":{"oneOf":[{"type":"object","title":"AuditActorSchemaOut","description":"Schema for audit actor information.","properties":{"actor_type":{"oneOf":[{"title":"Actor Type","type":"string","uniqueKey":"created_by.oneOf.0.actor_type.oneOf.0","typeLabel":"string"},{"title":"Actor Type","type":"null","uniqueKey":"created_by.oneOf.0.actor_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"created_by.oneOf.0.actor_type","typeLabel":"string | null"},"email":{"oneOf":[{"title":"Email","type":"string","uniqueKey":"created_by.oneOf.0.email.oneOf.0","typeLabel":"string"},{"title":"Email","type":"null","uniqueKey":"created_by.oneOf.0.email.oneOf.1","typeLabel":"null"}],"uniqueKey":"created_by.oneOf.0.email","typeLabel":"string | null"},"first_name":{"oneOf":[{"title":"First Name","type":"string","uniqueKey":"created_by.oneOf.0.first_name.oneOf.0","typeLabel":"string"},{"title":"First Name","type":"null","uniqueKey":"created_by.oneOf.0.first_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"created_by.oneOf.0.first_name","typeLabel":"string | null"},"last_name":{"oneOf":[{"title":"Last Name","type":"string","uniqueKey":"created_by.oneOf.0.last_name.oneOf.0","typeLabel":"string"},{"title":"Last Name","type":"null","uniqueKey":"created_by.oneOf.0.last_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"created_by.oneOf.0.last_name","typeLabel":"string | null"},"via":{"oneOf":[{"title":"Via","type":"string","uniqueKey":"created_by.oneOf.0.via.oneOf.0","typeLabel":"string"},{"title":"Via","type":"null","uniqueKey":"created_by.oneOf.0.via.oneOf.1","typeLabel":"null"}],"uniqueKey":"created_by.oneOf.0.via","typeLabel":"string | null"},"agent_id":{"oneOf":[{"title":"Agent Id","type":"integer","uniqueKey":"created_by.oneOf.0.agent_id.oneOf.0","typeLabel":"integer"},{"title":"Agent Id","type":"null","uniqueKey":"created_by.oneOf.0.agent_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"created_by.oneOf.0.agent_id","typeLabel":"integer | null"},"agent_name":{"oneOf":[{"title":"Agent Name","type":"string","uniqueKey":"created_by.oneOf.0.agent_name.oneOf.0","typeLabel":"string"},{"title":"Agent Name","type":"null","uniqueKey":"created_by.oneOf.0.agent_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"created_by.oneOf.0.agent_name","typeLabel":"string | null"},"timestamp":{"oneOf":[{"title":"Timestamp","format":"date-time","type":"string","uniqueKey":"created_by.oneOf.0.timestamp.oneOf.0","typeLabel":"string\u003cdate-time>"},{"title":"Timestamp","format":"date-time","type":"null","uniqueKey":"created_by.oneOf.0.timestamp.oneOf.1","typeLabel":"null"}],"uniqueKey":"created_by.oneOf.0.timestamp","typeLabel":"string\u003cdate-time> | null"}},"uniqueKey":"created_by.oneOf.0","typeLabel":"AuditActorSchemaOut · object"},{"type":"null","uniqueKey":"created_by.oneOf.1","typeLabel":"null"}],"uniqueKey":"created_by","typeLabel":"AuditActorSchemaOut · object | null"},"updated_by":{"oneOf":[{"type":"object","title":"AuditActorSchemaOut","description":"Schema for audit actor information.","properties":{"actor_type":{"oneOf":[{"title":"Actor Type","type":"string","uniqueKey":"updated_by.oneOf.0.actor_type.oneOf.0","typeLabel":"string"},{"title":"Actor Type","type":"null","uniqueKey":"updated_by.oneOf.0.actor_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"updated_by.oneOf.0.actor_type","typeLabel":"string | null"},"email":{"oneOf":[{"title":"Email","type":"string","uniqueKey":"updated_by.oneOf.0.email.oneOf.0","typeLabel":"string"},{"title":"Email","type":"null","uniqueKey":"updated_by.oneOf.0.email.oneOf.1","typeLabel":"null"}],"uniqueKey":"updated_by.oneOf.0.email","typeLabel":"string | null"},"first_name":{"oneOf":[{"title":"First Name","type":"string","uniqueKey":"updated_by.oneOf.0.first_name.oneOf.0","typeLabel":"string"},{"title":"First Name","type":"null","uniqueKey":"updated_by.oneOf.0.first_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"updated_by.oneOf.0.first_name","typeLabel":"string | null"},"last_name":{"oneOf":[{"title":"Last Name","type":"string","uniqueKey":"updated_by.oneOf.0.last_name.oneOf.0","typeLabel":"string"},{"title":"Last Name","type":"null","uniqueKey":"updated_by.oneOf.0.last_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"updated_by.oneOf.0.last_name","typeLabel":"string | null"},"via":{"oneOf":[{"title":"Via","type":"string","uniqueKey":"updated_by.oneOf.0.via.oneOf.0","typeLabel":"string"},{"title":"Via","type":"null","uniqueKey":"updated_by.oneOf.0.via.oneOf.1","typeLabel":"null"}],"uniqueKey":"updated_by.oneOf.0.via","typeLabel":"string | null"},"agent_id":{"oneOf":[{"title":"Agent Id","type":"integer","uniqueKey":"updated_by.oneOf.0.agent_id.oneOf.0","typeLabel":"integer"},{"title":"Agent Id","type":"null","uniqueKey":"updated_by.oneOf.0.agent_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"updated_by.oneOf.0.agent_id","typeLabel":"integer | null"},"agent_name":{"oneOf":[{"title":"Agent Name","type":"string","uniqueKey":"updated_by.oneOf.0.agent_name.oneOf.0","typeLabel":"string"},{"title":"Agent Name","type":"null","uniqueKey":"updated_by.oneOf.0.agent_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"updated_by.oneOf.0.agent_name","typeLabel":"string | null"},"timestamp":{"oneOf":[{"title":"Timestamp","format":"date-time","type":"string","uniqueKey":"updated_by.oneOf.0.timestamp.oneOf.0","typeLabel":"string\u003cdate-time>"},{"title":"Timestamp","format":"date-time","type":"null","uniqueKey":"updated_by.oneOf.0.timestamp.oneOf.1","typeLabel":"null"}],"uniqueKey":"updated_by.oneOf.0.timestamp","typeLabel":"string\u003cdate-time> | null"}},"uniqueKey":"updated_by.oneOf.0","typeLabel":"AuditActorSchemaOut · object"},{"type":"null","uniqueKey":"updated_by.oneOf.1","typeLabel":"null"}],"uniqueKey":"updated_by","typeLabel":"AuditActorSchemaOut · object | null"},"approval_status":{"oneOf":[{"title":"Approval Status","type":"string","uniqueKey":"approval_status.oneOf.0","typeLabel":"string"},{"title":"Approval Status","type":"null","uniqueKey":"approval_status.oneOf.1","typeLabel":"null"}],"uniqueKey":"approval_status","typeLabel":"string | null"},"next_approvers":{"oneOf":[{"title":"Next Approvers","items":{"description":"Approver info from pre-serialized dict.","properties":{"id":{"title":"Id","type":"integer","isRequired":true,"uniqueKey":"next_approvers.oneOf.0.items.[INDEX].id","typeLabel":"integer"},"first_name":{"title":"First Name","type":"string","isRequired":true,"uniqueKey":"next_approvers.oneOf.0.items.[INDEX].first_name","typeLabel":"string"},"last_name":{"title":"Last Name","type":"string","isRequired":true,"uniqueKey":"next_approvers.oneOf.0.items.[INDEX].last_name","typeLabel":"string"},"email":{"title":"Email","type":"string","isRequired":true,"uniqueKey":"next_approvers.oneOf.0.items.[INDEX].email","typeLabel":"string"},"full_name":{"title":"Full Name","type":"string","isRequired":true,"uniqueKey":"next_approvers.oneOf.0.items.[INDEX].full_name","typeLabel":"string"},"avatar_url":{"oneOf":[{"title":"Avatar Url","type":"string","uniqueKey":"next_approvers.oneOf.0.items.[INDEX].avatar_url.oneOf.0","typeLabel":"string"},{"title":"Avatar Url","type":"null","uniqueKey":"next_approvers.oneOf.0.items.[INDEX].avatar_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"next_approvers.oneOf.0.items.[INDEX].avatar_url","typeLabel":"string | null"}},"required":["id","first_name","last_name","email","full_name"],"title":"ApproverDictSchema","type":"object","uniqueKey":"next_approvers.oneOf.0.items.[INDEX]","typeLabel":"ApproverDictSchema · object"},"type":"array","uniqueKey":"next_approvers.oneOf.0","typeLabel":"ApproverDictSchema · object[]"},{"title":"Next Approvers","items":{"description":"Approver info from pre-serialized dict.","properties":{"id":{"title":"Id","type":"integer"},"first_name":{"title":"First Name","type":"string"},"last_name":{"title":"Last Name","type":"string"},"email":{"title":"Email","type":"string"},"full_name":{"title":"Full Name","type":"string"},"avatar_url":{"oneOf":[{"title":"Avatar Url","type":"string"},{"title":"Avatar Url","type":"null"}]}},"required":["id","first_name","last_name","email","full_name"],"title":"ApproverDictSchema","type":"object"},"type":"null","uniqueKey":"next_approvers.oneOf.1","typeLabel":"null"}],"uniqueKey":"next_approvers","typeLabel":"ApproverDictSchema · object[] | null"},"rejected_by":{"oneOf":[{"type":"object","title":"RejectedBySchema","description":"Schema for rejector information including rejection reason.","required":["id","first_name","last_name","email","full_name","rejection_reason"],"properties":{"id":{"title":"Id","type":"integer","isRequired":true,"uniqueKey":"rejected_by.oneOf.0.id","typeLabel":"integer"},"first_name":{"title":"First Name","type":"string","isRequired":true,"uniqueKey":"rejected_by.oneOf.0.first_name","typeLabel":"string"},"last_name":{"title":"Last Name","type":"string","isRequired":true,"uniqueKey":"rejected_by.oneOf.0.last_name","typeLabel":"string"},"email":{"title":"Email","type":"string","isRequired":true,"uniqueKey":"rejected_by.oneOf.0.email","typeLabel":"string"},"full_name":{"title":"Full Name","type":"string","isRequired":true,"uniqueKey":"rejected_by.oneOf.0.full_name","typeLabel":"string"},"rejection_reason":{"oneOf":[{"title":"Rejection Reason","type":"string","isRequired":true,"uniqueKey":"rejected_by.oneOf.0.rejection_reason.oneOf.0","typeLabel":"string"},{"title":"Rejection Reason","type":"null","isRequired":true,"uniqueKey":"rejected_by.oneOf.0.rejection_reason.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"rejected_by.oneOf.0.rejection_reason","typeLabel":"string | null"}},"uniqueKey":"rejected_by.oneOf.0","typeLabel":"RejectedBySchema · object"},{"type":"null","uniqueKey":"rejected_by.oneOf.1","typeLabel":"null"}],"uniqueKey":"rejected_by","typeLabel":"RejectedBySchema · object | null"},"code":{"oneOf":[{"title":"Code","type":"string","uniqueKey":"code.oneOf.0","typeLabel":"string"},{"title":"Code","type":"null","uniqueKey":"code.oneOf.1","typeLabel":"null"}],"uniqueKey":"code","typeLabel":"string | null"},"items":{"default":[],"items":{"properties":{"id":{"title":"Id","type":"integer","isRequired":true,"uniqueKey":"\\items.items.[INDEX].id","typeLabel":"integer"},"position":{"title":"Position","type":"integer","isRequired":true,"uniqueKey":"\\items.items.[INDEX].position","typeLabel":"integer"},"item_id":{"title":"Item Id","type":"integer","isRequired":true,"uniqueKey":"\\items.items.[INDEX].item_id","typeLabel":"integer"},"memo":{"title":"Memo","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].memo","typeLabel":"string"},"rate":{"pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,6}0*$","title":"Rate","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].rate","typeLabel":"string"},"quantity":{"pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,6}0*$","title":"Quantity","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].quantity","typeLabel":"string"},"net_amount":{"description":"Net amount before tax","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,2}0*$","readOnly":true,"title":"Net Amount","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].net_amount","typeLabel":"string"},"tax_amount":{"description":"Calculated tax amount","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,2}0*$","readOnly":true,"title":"Tax Amount","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].tax_amount","typeLabel":"string"},"gross_amount":{"description":"Calculated total amount including tax","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,2}0*$","readOnly":true,"title":"Gross Amount","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].gross_amount","typeLabel":"string"},"amount":{"description":"Calculated total amount including tax named amount for backward compatibility","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,2}0*$","readOnly":true,"title":"Amount","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].amount","typeLabel":"string"},"tax":{"oneOf":[{"type":"object","title":"ItemTaxDataOut","required":["code","rate","amount"],"properties":{"code":{"title":"Code","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].tax.oneOf.0.code","typeLabel":"string"},"rate":{"pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,6}0*$","title":"Rate","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].tax.oneOf.0.rate","typeLabel":"string"},"amount":{"pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,2}0*$","title":"Amount","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].tax.oneOf.0.amount","typeLabel":"string"},"is_taxable":{"oneOf":[{"title":"Is Taxable","type":"boolean","uniqueKey":"\\items.items.[INDEX].tax.oneOf.0.is_taxable.oneOf.0","typeLabel":"boolean"},{"title":"Is Taxable","type":"null","uniqueKey":"\\items.items.[INDEX].tax.oneOf.0.is_taxable.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].tax.oneOf.0.is_taxable","typeLabel":"boolean | null"},"tax_exempt_amount":{"oneOf":[{"title":"Tax Exempt Amount","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,2}0*$","type":"string","uniqueKey":"\\items.items.[INDEX].tax.oneOf.0.tax_exempt_amount.oneOf.0","typeLabel":"string"},{"title":"Tax Exempt Amount","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,2}0*$","type":"null","uniqueKey":"\\items.items.[INDEX].tax.oneOf.0.tax_exempt_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].tax.oneOf.0.tax_exempt_amount","typeLabel":"string | null"},"vat_rate_id":{"oneOf":[{"title":"Vat Rate Id","type":"integer","uniqueKey":"\\items.items.[INDEX].tax.oneOf.0.vat_rate_id.oneOf.0","typeLabel":"integer"},{"title":"Vat Rate Id","type":"null","uniqueKey":"\\items.items.[INDEX].tax.oneOf.0.vat_rate_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].tax.oneOf.0.vat_rate_id","typeLabel":"integer | null"},"gst_tax_rate_id":{"oneOf":[{"title":"Gst Tax Rate Id","type":"integer","uniqueKey":"\\items.items.[INDEX].tax.oneOf.0.gst_tax_rate_id.oneOf.0","typeLabel":"integer"},{"title":"Gst Tax Rate Id","type":"null","uniqueKey":"\\items.items.[INDEX].tax.oneOf.0.gst_tax_rate_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].tax.oneOf.0.gst_tax_rate_id","typeLabel":"integer | null"},"tax_metadata":{"oneOf":[{"title":"Tax Metadata","additionalProperties":true,"type":"object","uniqueKey":"\\items.items.[INDEX].tax.oneOf.0.tax_metadata.oneOf.0","typeLabel":"Tax Metadata · object"},{"title":"Tax Metadata","additionalProperties":true,"type":"null","uniqueKey":"\\items.items.[INDEX].tax.oneOf.0.tax_metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].tax.oneOf.0.tax_metadata","typeLabel":"Tax Metadata · object | null"},"tax_components":{"oneOf":[{"title":"Tax Components","items":{"description":"Per-component consumption tax breakdown stored on line items.","properties":{"component_type":{"oneOf":[{"type":"string","title":"GstComponentType","enum":["CGST","SGST","IGST","CESS","GST","PST","HST","QST"],"isRequired":true,"uniqueKey":"\\items.items.[INDEX].tax.oneOf.0.tax_components.oneOf.0.items.[INDEX].component_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"TaxFamily","description":"Broad classification of a tax rate within the GST module.\n\n`GST` covers the single-stage value-added-style regimes (AU, NZ, SG, IN, CA).\n`SST` covers Malaysia's Sales and Service Tax — a non-creditable single-stage\nregime that replaced Malaysia's GST in 2018. SST actually has two sub-regimes\n(Sales Tax on goods, Service Tax on services) but they share registration\nformat (ANN-YYMM-NNNNNNNN, self-identifying by prefix), calculation rules, and\nadministration — so we don't split them at the family level. The rate's\n``name`` (\"Sales Tax 10%\", \"Service Tax 8%\") carries that human distinction.","enum":["GST","SST"],"isRequired":true,"uniqueKey":"\\items.items.[INDEX].tax.oneOf.0.tax_components.oneOf.0.items.[INDEX].component_type.oneOf.1","typeLabel":"enum\u003cstring>"}],"isRequired":true,"uniqueKey":"\\items.items.[INDEX].tax.oneOf.0.tax_components.oneOf.0.items.[INDEX].component_type","typeLabel":"enum\u003cstring>"},"rate":{"pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,6}0*$","title":"Rate","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].tax.oneOf.0.tax_components.oneOf.0.items.[INDEX].rate","typeLabel":"string"},"amount":{"pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,2}0*$","title":"Amount","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].tax.oneOf.0.tax_components.oneOf.0.items.[INDEX].amount","typeLabel":"string"},"position":{"title":"Position","type":"integer","isRequired":true,"uniqueKey":"\\items.items.[INDEX].tax.oneOf.0.tax_components.oneOf.0.items.[INDEX].position","typeLabel":"integer"},"region":{"oneOf":[{"title":"Region","type":"string","uniqueKey":"\\items.items.[INDEX].tax.oneOf.0.tax_components.oneOf.0.items.[INDEX].region.oneOf.0","typeLabel":"string"},{"title":"Region","type":"null","uniqueKey":"\\items.items.[INDEX].tax.oneOf.0.tax_components.oneOf.0.items.[INDEX].region.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].tax.oneOf.0.tax_components.oneOf.0.items.[INDEX].region","typeLabel":"string | null"}},"required":["component_type","rate","amount","position"],"title":"TaxComponentSchema","type":"object","uniqueKey":"\\items.items.[INDEX].tax.oneOf.0.tax_components.oneOf.0.items.[INDEX]","typeLabel":"TaxComponentSchema · object"},"type":"array","uniqueKey":"\\items.items.[INDEX].tax.oneOf.0.tax_components.oneOf.0","typeLabel":"TaxComponentSchema · object[]"},{"title":"Tax Components","items":{"description":"Per-component consumption tax breakdown stored on line items.","properties":{"component_type":{"oneOf":[{"type":"string","title":"GstComponentType","enum":["CGST","SGST","IGST","CESS","GST","PST","HST","QST"]},{"type":"string","title":"TaxFamily","description":"Broad classification of a tax rate within the GST module.\n\n`GST` covers the single-stage value-added-style regimes (AU, NZ, SG, IN, CA).\n`SST` covers Malaysia's Sales and Service Tax — a non-creditable single-stage\nregime that replaced Malaysia's GST in 2018. SST actually has two sub-regimes\n(Sales Tax on goods, Service Tax on services) but they share registration\nformat (ANN-YYMM-NNNNNNNN, self-identifying by prefix), calculation rules, and\nadministration — so we don't split them at the family level. The rate's\n``name`` (\"Sales Tax 10%\", \"Service Tax 8%\") carries that human distinction.","enum":["GST","SST"]}]},"rate":{"pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,6}0*$","title":"Rate","type":"string"},"amount":{"pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,2}0*$","title":"Amount","type":"string"},"region":{"oneOf":[{"title":"Region","type":"string"},{"title":"Region","type":"null"}]},"position":{"title":"Position","type":"integer"}},"required":["component_type","rate","amount","position"],"title":"TaxComponentSchema","type":"object"},"type":"null","uniqueKey":"\\items.items.[INDEX].tax.oneOf.0.tax_components.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].tax.oneOf.0.tax_components","typeLabel":"TaxComponentSchema · object[] | null"},"amount_with_tax":{"oneOf":[{"title":"Amount With Tax","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,2}0*$","type":"string","uniqueKey":"\\items.items.[INDEX].tax.oneOf.0.amount_with_tax.oneOf.0","typeLabel":"string"},{"title":"Amount With Tax","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,2}0*$","type":"null","uniqueKey":"\\items.items.[INDEX].tax.oneOf.0.amount_with_tax.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].tax.oneOf.0.amount_with_tax","typeLabel":"string | null"},"rate_name":{"oneOf":[{"title":"Rate Name","type":"string","uniqueKey":"\\items.items.[INDEX].tax.oneOf.0.rate_name.oneOf.0","typeLabel":"string"},{"title":"Rate Name","type":"null","uniqueKey":"\\items.items.[INDEX].tax.oneOf.0.rate_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].tax.oneOf.0.rate_name","typeLabel":"string | null"},"rate_description":{"oneOf":[{"title":"Rate Description","type":"string","uniqueKey":"\\items.items.[INDEX].tax.oneOf.0.rate_description.oneOf.0","typeLabel":"string"},{"title":"Rate Description","type":"null","uniqueKey":"\\items.items.[INDEX].tax.oneOf.0.rate_description.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].tax.oneOf.0.rate_description","typeLabel":"string | null"},"rate_type":{"oneOf":[{"title":"Rate Type","type":"string","uniqueKey":"\\items.items.[INDEX].tax.oneOf.0.rate_type.oneOf.0","typeLabel":"string"},{"title":"Rate Type","type":"null","uniqueKey":"\\items.items.[INDEX].tax.oneOf.0.rate_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].tax.oneOf.0.rate_type","typeLabel":"string | null"},"tax_treatment":{"oneOf":[{"title":"Tax Treatment","type":"string","uniqueKey":"\\items.items.[INDEX].tax.oneOf.0.tax_treatment.oneOf.0","typeLabel":"string"},{"title":"Tax Treatment","type":"null","uniqueKey":"\\items.items.[INDEX].tax.oneOf.0.tax_treatment.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].tax.oneOf.0.tax_treatment","typeLabel":"string | null"},"valid_to":{"oneOf":[{"title":"Valid To","format":"date","type":"string","uniqueKey":"\\items.items.[INDEX].tax.oneOf.0.valid_to.oneOf.0","typeLabel":"string\u003cdate>"},{"title":"Valid To","format":"date","type":"null","uniqueKey":"\\items.items.[INDEX].tax.oneOf.0.valid_to.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].tax.oneOf.0.valid_to","typeLabel":"string\u003cdate> | null"}},"uniqueKey":"\\items.items.[INDEX].tax.oneOf.0","typeLabel":"ItemTaxDataOut · object"},{"type":"null","uniqueKey":"\\items.items.[INDEX].tax.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].tax","typeLabel":"ItemTaxDataOut · object | null"},"is_billable":{"default":false,"title":"Is Billable","type":"boolean","uniqueKey":"\\items.items.[INDEX].is_billable","typeLabel":"boolean"},"billable_customer_id":{"oneOf":[{"title":"Billable Customer Id","type":"integer","uniqueKey":"\\items.items.[INDEX].billable_customer_id.oneOf.0","typeLabel":"integer"},{"title":"Billable Customer Id","type":"null","uniqueKey":"\\items.items.[INDEX].billable_customer_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].billable_customer_id","typeLabel":"integer | null"},"billable_project_id":{"oneOf":[{"title":"Billable Project Id","type":"integer","uniqueKey":"\\items.items.[INDEX].billable_project_id.oneOf.0","typeLabel":"integer"},{"title":"Billable Project Id","type":"null","uniqueKey":"\\items.items.[INDEX].billable_project_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].billable_project_id","typeLabel":"integer | null"},"billable_markup_pct":{"oneOf":[{"title":"Billable Markup Pct","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,4}0*$","type":"string","uniqueKey":"\\items.items.[INDEX].billable_markup_pct.oneOf.0","typeLabel":"string"},{"title":"Billable Markup Pct","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,4}0*$","type":"null","uniqueKey":"\\items.items.[INDEX].billable_markup_pct.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].billable_markup_pct","typeLabel":"string | null"},"classifications":{"default":[],"items":{"properties":{"id":{"title":"Id","type":"integer","isRequired":true,"uniqueKey":"\\items.items.[INDEX].classifications.items.[INDEX].id","typeLabel":"integer"},"name":{"title":"Name","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].classifications.items.[INDEX].name","typeLabel":"string"},"line_id":{"title":"Line Id","type":"integer","isRequired":true,"uniqueKey":"\\items.items.[INDEX].classifications.items.[INDEX].line_id","typeLabel":"integer"},"line_name":{"title":"Line Name","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].classifications.items.[INDEX].line_name","typeLabel":"string"},"parent_classification_id":{"oneOf":[{"title":"Parent Classification Id","type":"integer","uniqueKey":"\\items.items.[INDEX].classifications.items.[INDEX].parent_classification_id.oneOf.0","typeLabel":"integer"},{"title":"Parent Classification Id","type":"null","uniqueKey":"\\items.items.[INDEX].classifications.items.[INDEX].parent_classification_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].classifications.items.[INDEX].parent_classification_id","typeLabel":"integer | null"},"parent_classification_line_id":{"oneOf":[{"title":"Parent Classification Line Id","type":"integer","uniqueKey":"\\items.items.[INDEX].classifications.items.[INDEX].parent_classification_line_id.oneOf.0","typeLabel":"integer"},{"title":"Parent Classification Line Id","type":"null","uniqueKey":"\\items.items.[INDEX].classifications.items.[INDEX].parent_classification_line_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].classifications.items.[INDEX].parent_classification_line_id","typeLabel":"integer | null"}},"required":["id","name","line_id","line_name"],"title":"RecordClassificationsSchemaOut","type":"object","uniqueKey":"\\items.items.[INDEX].classifications.items.[INDEX]","typeLabel":"RecordClassificationsSchemaOut · object"},"title":"Classifications","type":"array","uniqueKey":"\\items.items.[INDEX].classifications","typeLabel":"RecordClassificationsSchemaOut · object[]"},"company_id":{"oneOf":[{"description":"Optional company for this line. If this company differs from the record `company_id`, DualEntry posts intercompany Due To/From and elimination entries. Omit this field, or set it equal to the header `company_id`, for a single-company line.","title":"Company Id","type":"integer","uniqueKey":"\\items.items.[INDEX].company_id.oneOf.0","typeLabel":"integer"},{"description":"Optional company for this line. If this company differs from the record `company_id`, DualEntry posts intercompany Due To/From and elimination entries. Omit this field, or set it equal to the header `company_id`, for a single-company line.","title":"Company Id","type":"null","uniqueKey":"\\items.items.[INDEX].company_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].company_id","typeLabel":"integer | null"},"custom_fields":{"default":[],"items":{"properties":{"field":{"properties":{"id":{"title":"Id","type":"integer","isRequired":true,"uniqueKey":"\\items.items.[INDEX].custom_fields.items.[INDEX].field.id","typeLabel":"integer"},"name":{"title":"Name","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].custom_fields.items.[INDEX].field.name","typeLabel":"string"},"description":{"oneOf":[{"title":"Description","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].custom_fields.items.[INDEX].field.description.oneOf.0","typeLabel":"string"},{"title":"Description","type":"null","isRequired":true,"uniqueKey":"\\items.items.[INDEX].custom_fields.items.[INDEX].field.description.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"\\items.items.[INDEX].custom_fields.items.[INDEX].field.description","typeLabel":"string | null"},"helper_text":{"oneOf":[{"title":"Helper Text","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].custom_fields.items.[INDEX].field.helper_text.oneOf.0","typeLabel":"string"},{"title":"Helper Text","type":"null","isRequired":true,"uniqueKey":"\\items.items.[INDEX].custom_fields.items.[INDEX].field.helper_text.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"\\items.items.[INDEX].custom_fields.items.[INDEX].field.helper_text","typeLabel":"string | null"},"field_type":{"enum":["text","number","currency","date","boolean","single_select","multi_select","link","paragraph"],"title":"FieldType","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].custom_fields.items.[INDEX].field.field_type","typeLabel":"enum\u003cstring>"},"applies_to":{"items":{"description":"Schema for individual applies_to items.","properties":{"type":{"description":"Record types a custom field can apply to. Stored in DB as plain text; no Django choices.","enum":["invoice","bill","direct_expense","journal_entry","intercompany_journal_entry","vendor_prepayment","vendor_credit","vendor_payment","vendor_refund","customer_payment","customer_prepayment","customer_refund","customer_deposit","currency_revaluation","contract","fixed_asset","customer","vendor","account","company","sales_order","purchase_order","cash_sale","customer_credit","quote"],"title":"CustomFieldAppliesToType","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].custom_fields.items.[INDEX].field.applies_to.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"layer":{"type":"string","title":"Layer","default":"transaction","enum":["transaction","entry"],"uniqueKey":"\\items.items.[INDEX].custom_fields.items.[INDEX].field.applies_to.items.[INDEX].layer","typeLabel":"enum\u003cstring>"},"is_active":{"default":true,"title":"Is Active","type":"boolean","uniqueKey":"\\items.items.[INDEX].custom_fields.items.[INDEX].field.applies_to.items.[INDEX].is_active","typeLabel":"boolean"},"is_required":{"default":false,"title":"Is Required","type":"boolean","uniqueKey":"\\items.items.[INDEX].custom_fields.items.[INDEX].field.applies_to.items.[INDEX].is_required","typeLabel":"boolean"}},"required":["type"],"title":"AppliesToItemSchema","type":"object","uniqueKey":"\\items.items.[INDEX].custom_fields.items.[INDEX].field.applies_to.items.[INDEX]","typeLabel":"AppliesToItemSchema · object"},"title":"Applies To","type":"array","isRequired":true,"uniqueKey":"\\items.items.[INDEX].custom_fields.items.[INDEX].field.applies_to","typeLabel":"AppliesToItemSchema · object[]"},"options":{"oneOf":[{"title":"Options","items":{"type":"string","uniqueKey":"\\items.items.[INDEX].custom_fields.items.[INDEX].field.options.oneOf.0.items.[INDEX]","typeLabel":"string"},"type":"array","isRequired":true,"uniqueKey":"\\items.items.[INDEX].custom_fields.items.[INDEX].field.options.oneOf.0","typeLabel":"string[]"},{"title":"Options","items":{"type":"string"},"type":"null","isRequired":true,"uniqueKey":"\\items.items.[INDEX].custom_fields.items.[INDEX].field.options.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"\\items.items.[INDEX].custom_fields.items.[INDEX].field.options","typeLabel":"string[] | null"},"is_active":{"oneOf":[{"title":"Is Active","type":"boolean","isRequired":true,"uniqueKey":"\\items.items.[INDEX].custom_fields.items.[INDEX].field.is_active.oneOf.0","typeLabel":"boolean"},{"title":"Is Active","type":"null","isRequired":true,"uniqueKey":"\\items.items.[INDEX].custom_fields.items.[INDEX].field.is_active.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"\\items.items.[INDEX].custom_fields.items.[INDEX].field.is_active","typeLabel":"boolean | null"},"company_id":{"oneOf":[{"title":"Company Id","type":"integer","uniqueKey":"\\items.items.[INDEX].custom_fields.items.[INDEX].field.company_id.oneOf.0","typeLabel":"integer"},{"title":"Company Id","type":"null","uniqueKey":"\\items.items.[INDEX].custom_fields.items.[INDEX].field.company_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].custom_fields.items.[INDEX].field.company_id","typeLabel":"integer | null"},"company_ids":{"oneOf":[{"title":"Company Ids","items":{"type":"integer","uniqueKey":"\\items.items.[INDEX].custom_fields.items.[INDEX].field.company_ids.oneOf.0.items.[INDEX]","typeLabel":"integer"},"type":"array","uniqueKey":"\\items.items.[INDEX].custom_fields.items.[INDEX].field.company_ids.oneOf.0","typeLabel":"integer[]"},{"title":"Company Ids","items":{"type":"integer"},"type":"null","uniqueKey":"\\items.items.[INDEX].custom_fields.items.[INDEX].field.company_ids.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].custom_fields.items.[INDEX].field.company_ids","typeLabel":"integer[] | null"},"default_value":{"oneOf":[{"type":"string","title":"Default Value","uniqueKey":"\\items.items.[INDEX].custom_fields.items.[INDEX].field.default_value.oneOf.0","typeLabel":"string"},{"type":"array","items":{"type":"string","uniqueKey":"\\items.items.[INDEX].custom_fields.items.[INDEX].field.default_value.oneOf.1.items.[INDEX]","typeLabel":"string"},"title":"Default Value","uniqueKey":"\\items.items.[INDEX].custom_fields.items.[INDEX].field.default_value.oneOf.1","typeLabel":"string[]"},{"type":"null","title":"Default Value","uniqueKey":"\\items.items.[INDEX].custom_fields.items.[INDEX].field.default_value.oneOf.2","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].custom_fields.items.[INDEX].field.default_value","typeLabel":"string | string[] | null"}},"required":["id","name","description","helper_text","field_type","applies_to","options","is_active"],"title":"CustomFieldSchemaOut","type":"object","isRequired":true,"uniqueKey":"\\items.items.[INDEX].custom_fields.items.[INDEX].field","typeLabel":"CustomFieldSchemaOut · object"},"value":{"oneOf":[{"type":"object","title":"CustomFieldValueSchemaOut","required":["id","custom_field_id","custom_field_name","custom_field_type","custom_field_value_id","value","created_at","updated_at"],"properties":{"id":{"title":"Id","type":"integer","isRequired":true,"uniqueKey":"\\items.items.[INDEX].custom_fields.items.[INDEX].value.oneOf.0.id","typeLabel":"integer"},"custom_field_id":{"title":"Custom Field Id","type":"integer","isRequired":true,"uniqueKey":"\\items.items.[INDEX].custom_fields.items.[INDEX].value.oneOf.0.custom_field_id","typeLabel":"integer"},"custom_field_name":{"title":"Custom Field Name","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].custom_fields.items.[INDEX].value.oneOf.0.custom_field_name","typeLabel":"string"},"custom_field_type":{"title":"Custom Field Type","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].custom_fields.items.[INDEX].value.oneOf.0.custom_field_type","typeLabel":"string"},"custom_field_value_id":{"title":"Custom Field Value Id","type":"integer","isRequired":true,"uniqueKey":"\\items.items.[INDEX].custom_fields.items.[INDEX].value.oneOf.0.custom_field_value_id","typeLabel":"integer"},"value":{"oneOf":[{"title":"Value","isRequired":true}],"isRequired":true,"uniqueKey":"\\items.items.[INDEX].custom_fields.items.[INDEX].value.oneOf.0.value","typeLabel":"any"},"created_at":{"title":"Created At","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].custom_fields.items.[INDEX].value.oneOf.0.created_at","typeLabel":"string"},"updated_at":{"title":"Updated At","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].custom_fields.items.[INDEX].value.oneOf.0.updated_at","typeLabel":"string"}},"uniqueKey":"\\items.items.[INDEX].custom_fields.items.[INDEX].value.oneOf.0","typeLabel":"CustomFieldValueSchemaOut · object"},{"type":"null","uniqueKey":"\\items.items.[INDEX].custom_fields.items.[INDEX].value.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].custom_fields.items.[INDEX].value","typeLabel":"CustomFieldValueSchemaOut · object | null"}},"required":["field"],"title":"CustomFieldValuePairOutputSchema","type":"object","uniqueKey":"\\items.items.[INDEX].custom_fields.items.[INDEX]","typeLabel":"CustomFieldValuePairOutputSchema · object"},"title":"Custom Fields","type":"array","uniqueKey":"\\items.items.[INDEX].custom_fields","typeLabel":"CustomFieldValuePairOutputSchema · object[]"},"item_type":{"oneOf":[{"title":"Item Type","type":"string","uniqueKey":"\\items.items.[INDEX].item_type.oneOf.0","typeLabel":"string"},{"title":"Item Type","type":"null","uniqueKey":"\\items.items.[INDEX].item_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].item_type","typeLabel":"string | null"},"hsn_sac_code":{"oneOf":[{"title":"Hsn Sac Code","type":"string","uniqueKey":"\\items.items.[INDEX].hsn_sac_code.oneOf.0","typeLabel":"string"},{"title":"Hsn Sac Code","type":"null","uniqueKey":"\\items.items.[INDEX].hsn_sac_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].hsn_sac_code","typeLabel":"string | null"},"amortizable_assets":{"default":[],"items":{"properties":{"id":{"title":"Id","type":"integer","isRequired":true,"uniqueKey":"\\items.items.[INDEX].amortizable_assets.items.[INDEX].id","typeLabel":"integer"},"name":{"title":"Name","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].amortizable_assets.items.[INDEX].name","typeLabel":"string"}},"required":["id","name"],"title":"AmortizableAssetRefOut","type":"object","uniqueKey":"\\items.items.[INDEX].amortizable_assets.items.[INDEX]","typeLabel":"AmortizableAssetRefOut · object"},"title":"Amortizable Assets","type":"array","uniqueKey":"\\items.items.[INDEX].amortizable_assets","typeLabel":"AmortizableAssetRefOut · object[]"},"fixed_assets":{"default":[],"items":{"properties":{"id":{"title":"Id","type":"integer","isRequired":true,"uniqueKey":"\\items.items.[INDEX].fixed_assets.items.[INDEX].id","typeLabel":"integer"},"name":{"title":"Name","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].fixed_assets.items.[INDEX].name","typeLabel":"string"}},"required":["id","name"],"title":"FixedAssetRefOut","type":"object","uniqueKey":"\\items.items.[INDEX].fixed_assets.items.[INDEX]","typeLabel":"FixedAssetRefOut · object"},"title":"Fixed Assets","type":"array","uniqueKey":"\\items.items.[INDEX].fixed_assets","typeLabel":"FixedAssetRefOut · object[]"},"billable_customer_name":{"oneOf":[{"title":"Billable Customer Name","type":"string","uniqueKey":"\\items.items.[INDEX].billable_customer_name.oneOf.0","typeLabel":"string"},{"title":"Billable Customer Name","type":"null","uniqueKey":"\\items.items.[INDEX].billable_customer_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].billable_customer_name","typeLabel":"string | null"},"billable_project_name":{"oneOf":[{"title":"Billable Project Name","type":"string","uniqueKey":"\\items.items.[INDEX].billable_project_name.oneOf.0","typeLabel":"string"},{"title":"Billable Project Name","type":"null","uniqueKey":"\\items.items.[INDEX].billable_project_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].billable_project_name","typeLabel":"string | null"}},"required":["id","position","item_id","memo","rate","quantity","net_amount","tax_amount","gross_amount","amount"],"title":"PublicBillItemOut","type":"object","uniqueKey":"\\items.items.[INDEX]","typeLabel":"PublicBillItemOut · object"},"title":"Items","type":"array","uniqueKey":"\\items","typeLabel":"PublicBillItemOut · object[]"},"expenses":{"default":[],"items":{"properties":{"id":{"title":"Id","type":"integer","isRequired":true,"uniqueKey":"expenses.items.[INDEX].id","typeLabel":"integer"},"position":{"title":"Position","type":"integer","isRequired":true,"uniqueKey":"expenses.items.[INDEX].position","typeLabel":"integer"},"rate":{"pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,6}0*$","title":"Rate","type":"string","isRequired":true,"uniqueKey":"expenses.items.[INDEX].rate","typeLabel":"string"},"quantity":{"pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,6}0*$","title":"Quantity","type":"string","isRequired":true,"uniqueKey":"expenses.items.[INDEX].quantity","typeLabel":"string"},"account_number":{"title":"Account Number","type":"integer","isRequired":true,"uniqueKey":"expenses.items.[INDEX].account_number","typeLabel":"integer"},"expense_description":{"title":"Expense Description","type":"string","isRequired":true,"uniqueKey":"expenses.items.[INDEX].expense_description","typeLabel":"string"},"net_amount":{"description":"Net amount before tax","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,2}0*$","readOnly":true,"title":"Net Amount","type":"string","isRequired":true,"uniqueKey":"expenses.items.[INDEX].net_amount","typeLabel":"string"},"tax_amount":{"description":"Calculated tax amount","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,2}0*$","readOnly":true,"title":"Tax Amount","type":"string","isRequired":true,"uniqueKey":"expenses.items.[INDEX].tax_amount","typeLabel":"string"},"gross_amount":{"description":"Calculated total amount including tax","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,2}0*$","readOnly":true,"title":"Gross Amount","type":"string","isRequired":true,"uniqueKey":"expenses.items.[INDEX].gross_amount","typeLabel":"string"},"amount":{"description":"Calculated total amount including tax named amount for backward compatibility","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,2}0*$","readOnly":true,"title":"Amount","type":"string","isRequired":true,"uniqueKey":"expenses.items.[INDEX].amount","typeLabel":"string"},"tax":{"oneOf":[{"type":"object","title":"ItemTaxDataOut","required":["code","rate","amount"],"properties":{"code":{"title":"Code","type":"string","isRequired":true,"uniqueKey":"expenses.items.[INDEX].tax.oneOf.0.code","typeLabel":"string"},"rate":{"pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,6}0*$","title":"Rate","type":"string","isRequired":true,"uniqueKey":"expenses.items.[INDEX].tax.oneOf.0.rate","typeLabel":"string"},"amount":{"pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,2}0*$","title":"Amount","type":"string","isRequired":true,"uniqueKey":"expenses.items.[INDEX].tax.oneOf.0.amount","typeLabel":"string"},"is_taxable":{"oneOf":[{"title":"Is Taxable","type":"boolean","uniqueKey":"expenses.items.[INDEX].tax.oneOf.0.is_taxable.oneOf.0","typeLabel":"boolean"},{"title":"Is Taxable","type":"null","uniqueKey":"expenses.items.[INDEX].tax.oneOf.0.is_taxable.oneOf.1","typeLabel":"null"}],"uniqueKey":"expenses.items.[INDEX].tax.oneOf.0.is_taxable","typeLabel":"boolean | null"},"tax_exempt_amount":{"oneOf":[{"title":"Tax Exempt Amount","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,2}0*$","type":"string","uniqueKey":"expenses.items.[INDEX].tax.oneOf.0.tax_exempt_amount.oneOf.0","typeLabel":"string"},{"title":"Tax Exempt Amount","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,2}0*$","type":"null","uniqueKey":"expenses.items.[INDEX].tax.oneOf.0.tax_exempt_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"expenses.items.[INDEX].tax.oneOf.0.tax_exempt_amount","typeLabel":"string | null"},"vat_rate_id":{"oneOf":[{"title":"Vat Rate Id","type":"integer","uniqueKey":"expenses.items.[INDEX].tax.oneOf.0.vat_rate_id.oneOf.0","typeLabel":"integer"},{"title":"Vat Rate Id","type":"null","uniqueKey":"expenses.items.[INDEX].tax.oneOf.0.vat_rate_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"expenses.items.[INDEX].tax.oneOf.0.vat_rate_id","typeLabel":"integer | null"},"gst_tax_rate_id":{"oneOf":[{"title":"Gst Tax Rate Id","type":"integer","uniqueKey":"expenses.items.[INDEX].tax.oneOf.0.gst_tax_rate_id.oneOf.0","typeLabel":"integer"},{"title":"Gst Tax Rate Id","type":"null","uniqueKey":"expenses.items.[INDEX].tax.oneOf.0.gst_tax_rate_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"expenses.items.[INDEX].tax.oneOf.0.gst_tax_rate_id","typeLabel":"integer | null"},"tax_metadata":{"oneOf":[{"title":"Tax Metadata","additionalProperties":true,"type":"object","uniqueKey":"expenses.items.[INDEX].tax.oneOf.0.tax_metadata.oneOf.0","typeLabel":"Tax Metadata · object"},{"title":"Tax Metadata","additionalProperties":true,"type":"null","uniqueKey":"expenses.items.[INDEX].tax.oneOf.0.tax_metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"expenses.items.[INDEX].tax.oneOf.0.tax_metadata","typeLabel":"Tax Metadata · object | null"},"tax_components":{"oneOf":[{"title":"Tax Components","items":{"description":"Per-component consumption tax breakdown stored on line items.","properties":{"component_type":{"oneOf":[{"type":"string","title":"GstComponentType","enum":["CGST","SGST","IGST","CESS","GST","PST","HST","QST"],"isRequired":true,"uniqueKey":"expenses.items.[INDEX].tax.oneOf.0.tax_components.oneOf.0.items.[INDEX].component_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"TaxFamily","description":"Broad classification of a tax rate within the GST module.\n\n`GST` covers the single-stage value-added-style regimes (AU, NZ, SG, IN, CA).\n`SST` covers Malaysia's Sales and Service Tax — a non-creditable single-stage\nregime that replaced Malaysia's GST in 2018. SST actually has two sub-regimes\n(Sales Tax on goods, Service Tax on services) but they share registration\nformat (ANN-YYMM-NNNNNNNN, self-identifying by prefix), calculation rules, and\nadministration — so we don't split them at the family level. The rate's\n``name`` (\"Sales Tax 10%\", \"Service Tax 8%\") carries that human distinction.","enum":["GST","SST"],"isRequired":true,"uniqueKey":"expenses.items.[INDEX].tax.oneOf.0.tax_components.oneOf.0.items.[INDEX].component_type.oneOf.1","typeLabel":"enum\u003cstring>"}],"isRequired":true,"uniqueKey":"expenses.items.[INDEX].tax.oneOf.0.tax_components.oneOf.0.items.[INDEX].component_type","typeLabel":"enum\u003cstring>"},"rate":{"pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,6}0*$","title":"Rate","type":"string","isRequired":true,"uniqueKey":"expenses.items.[INDEX].tax.oneOf.0.tax_components.oneOf.0.items.[INDEX].rate","typeLabel":"string"},"amount":{"pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,2}0*$","title":"Amount","type":"string","isRequired":true,"uniqueKey":"expenses.items.[INDEX].tax.oneOf.0.tax_components.oneOf.0.items.[INDEX].amount","typeLabel":"string"},"position":{"title":"Position","type":"integer","isRequired":true,"uniqueKey":"expenses.items.[INDEX].tax.oneOf.0.tax_components.oneOf.0.items.[INDEX].position","typeLabel":"integer"},"region":{"oneOf":[{"title":"Region","type":"string","uniqueKey":"expenses.items.[INDEX].tax.oneOf.0.tax_components.oneOf.0.items.[INDEX].region.oneOf.0","typeLabel":"string"},{"title":"Region","type":"null","uniqueKey":"expenses.items.[INDEX].tax.oneOf.0.tax_components.oneOf.0.items.[INDEX].region.oneOf.1","typeLabel":"null"}],"uniqueKey":"expenses.items.[INDEX].tax.oneOf.0.tax_components.oneOf.0.items.[INDEX].region","typeLabel":"string | null"}},"required":["component_type","rate","amount","position"],"title":"TaxComponentSchema","type":"object","uniqueKey":"expenses.items.[INDEX].tax.oneOf.0.tax_components.oneOf.0.items.[INDEX]","typeLabel":"TaxComponentSchema · object"},"type":"array","uniqueKey":"expenses.items.[INDEX].tax.oneOf.0.tax_components.oneOf.0","typeLabel":"TaxComponentSchema · object[]"},{"title":"Tax Components","items":{"description":"Per-component consumption tax breakdown stored on line items.","properties":{"component_type":{"oneOf":[{"type":"string","title":"GstComponentType","enum":["CGST","SGST","IGST","CESS","GST","PST","HST","QST"]},{"type":"string","title":"TaxFamily","description":"Broad classification of a tax rate within the GST module.\n\n`GST` covers the single-stage value-added-style regimes (AU, NZ, SG, IN, CA).\n`SST` covers Malaysia's Sales and Service Tax — a non-creditable single-stage\nregime that replaced Malaysia's GST in 2018. SST actually has two sub-regimes\n(Sales Tax on goods, Service Tax on services) but they share registration\nformat (ANN-YYMM-NNNNNNNN, self-identifying by prefix), calculation rules, and\nadministration — so we don't split them at the family level. The rate's\n``name`` (\"Sales Tax 10%\", \"Service Tax 8%\") carries that human distinction.","enum":["GST","SST"]}]},"rate":{"pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,6}0*$","title":"Rate","type":"string"},"amount":{"pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,2}0*$","title":"Amount","type":"string"},"region":{"oneOf":[{"title":"Region","type":"string"},{"title":"Region","type":"null"}]},"position":{"title":"Position","type":"integer"}},"required":["component_type","rate","amount","position"],"title":"TaxComponentSchema","type":"object"},"type":"null","uniqueKey":"expenses.items.[INDEX].tax.oneOf.0.tax_components.oneOf.1","typeLabel":"null"}],"uniqueKey":"expenses.items.[INDEX].tax.oneOf.0.tax_components","typeLabel":"TaxComponentSchema · object[] | null"},"amount_with_tax":{"oneOf":[{"title":"Amount With Tax","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,2}0*$","type":"string","uniqueKey":"expenses.items.[INDEX].tax.oneOf.0.amount_with_tax.oneOf.0","typeLabel":"string"},{"title":"Amount With Tax","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,2}0*$","type":"null","uniqueKey":"expenses.items.[INDEX].tax.oneOf.0.amount_with_tax.oneOf.1","typeLabel":"null"}],"uniqueKey":"expenses.items.[INDEX].tax.oneOf.0.amount_with_tax","typeLabel":"string | null"},"rate_name":{"oneOf":[{"title":"Rate Name","type":"string","uniqueKey":"expenses.items.[INDEX].tax.oneOf.0.rate_name.oneOf.0","typeLabel":"string"},{"title":"Rate Name","type":"null","uniqueKey":"expenses.items.[INDEX].tax.oneOf.0.rate_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"expenses.items.[INDEX].tax.oneOf.0.rate_name","typeLabel":"string | null"},"rate_description":{"oneOf":[{"title":"Rate Description","type":"string","uniqueKey":"expenses.items.[INDEX].tax.oneOf.0.rate_description.oneOf.0","typeLabel":"string"},{"title":"Rate Description","type":"null","uniqueKey":"expenses.items.[INDEX].tax.oneOf.0.rate_description.oneOf.1","typeLabel":"null"}],"uniqueKey":"expenses.items.[INDEX].tax.oneOf.0.rate_description","typeLabel":"string | null"},"rate_type":{"oneOf":[{"title":"Rate Type","type":"string","uniqueKey":"expenses.items.[INDEX].tax.oneOf.0.rate_type.oneOf.0","typeLabel":"string"},{"title":"Rate Type","type":"null","uniqueKey":"expenses.items.[INDEX].tax.oneOf.0.rate_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"expenses.items.[INDEX].tax.oneOf.0.rate_type","typeLabel":"string | null"},"tax_treatment":{"oneOf":[{"title":"Tax Treatment","type":"string","uniqueKey":"expenses.items.[INDEX].tax.oneOf.0.tax_treatment.oneOf.0","typeLabel":"string"},{"title":"Tax Treatment","type":"null","uniqueKey":"expenses.items.[INDEX].tax.oneOf.0.tax_treatment.oneOf.1","typeLabel":"null"}],"uniqueKey":"expenses.items.[INDEX].tax.oneOf.0.tax_treatment","typeLabel":"string | null"},"valid_to":{"oneOf":[{"title":"Valid To","format":"date","type":"string","uniqueKey":"expenses.items.[INDEX].tax.oneOf.0.valid_to.oneOf.0","typeLabel":"string\u003cdate>"},{"title":"Valid To","format":"date","type":"null","uniqueKey":"expenses.items.[INDEX].tax.oneOf.0.valid_to.oneOf.1","typeLabel":"null"}],"uniqueKey":"expenses.items.[INDEX].tax.oneOf.0.valid_to","typeLabel":"string\u003cdate> | null"}},"uniqueKey":"expenses.items.[INDEX].tax.oneOf.0","typeLabel":"ItemTaxDataOut · object"},{"type":"null","uniqueKey":"expenses.items.[INDEX].tax.oneOf.1","typeLabel":"null"}],"uniqueKey":"expenses.items.[INDEX].tax","typeLabel":"ItemTaxDataOut · object | null"},"is_billable":{"default":false,"title":"Is Billable","type":"boolean","uniqueKey":"expenses.items.[INDEX].is_billable","typeLabel":"boolean"},"billable_customer_id":{"oneOf":[{"title":"Billable Customer Id","type":"integer","uniqueKey":"expenses.items.[INDEX].billable_customer_id.oneOf.0","typeLabel":"integer"},{"title":"Billable Customer Id","type":"null","uniqueKey":"expenses.items.[INDEX].billable_customer_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"expenses.items.[INDEX].billable_customer_id","typeLabel":"integer | null"},"billable_project_id":{"oneOf":[{"title":"Billable Project Id","type":"integer","uniqueKey":"expenses.items.[INDEX].billable_project_id.oneOf.0","typeLabel":"integer"},{"title":"Billable Project Id","type":"null","uniqueKey":"expenses.items.[INDEX].billable_project_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"expenses.items.[INDEX].billable_project_id","typeLabel":"integer | null"},"billable_markup_pct":{"oneOf":[{"title":"Billable Markup Pct","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,4}0*$","type":"string","uniqueKey":"expenses.items.[INDEX].billable_markup_pct.oneOf.0","typeLabel":"string"},{"title":"Billable Markup Pct","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,4}0*$","type":"null","uniqueKey":"expenses.items.[INDEX].billable_markup_pct.oneOf.1","typeLabel":"null"}],"uniqueKey":"expenses.items.[INDEX].billable_markup_pct","typeLabel":"string | null"},"special_tax_treatment":{"oneOf":[{"type":"string","title":"SpecialTaxTreatment","description":"Identifies an expense line whose full amount is import VAT.","enum":["IMPORT_VAT"],"uniqueKey":"expenses.items.[INDEX].special_tax_treatment.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Identifies an expense line whose full amount is import VAT.","uniqueKey":"expenses.items.[INDEX].special_tax_treatment.oneOf.1","typeLabel":"null"}],"uniqueKey":"expenses.items.[INDEX].special_tax_treatment","typeLabel":"enum\u003cstring> | null"},"classifications":{"default":[],"items":{"properties":{"id":{"title":"Id","type":"integer","isRequired":true,"uniqueKey":"expenses.items.[INDEX].classifications.items.[INDEX].id","typeLabel":"integer"},"name":{"title":"Name","type":"string","isRequired":true,"uniqueKey":"expenses.items.[INDEX].classifications.items.[INDEX].name","typeLabel":"string"},"line_id":{"title":"Line Id","type":"integer","isRequired":true,"uniqueKey":"expenses.items.[INDEX].classifications.items.[INDEX].line_id","typeLabel":"integer"},"line_name":{"title":"Line Name","type":"string","isRequired":true,"uniqueKey":"expenses.items.[INDEX].classifications.items.[INDEX].line_name","typeLabel":"string"},"parent_classification_id":{"oneOf":[{"title":"Parent Classification Id","type":"integer","uniqueKey":"expenses.items.[INDEX].classifications.items.[INDEX].parent_classification_id.oneOf.0","typeLabel":"integer"},{"title":"Parent Classification Id","type":"null","uniqueKey":"expenses.items.[INDEX].classifications.items.[INDEX].parent_classification_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"expenses.items.[INDEX].classifications.items.[INDEX].parent_classification_id","typeLabel":"integer | null"},"parent_classification_line_id":{"oneOf":[{"title":"Parent Classification Line Id","type":"integer","uniqueKey":"expenses.items.[INDEX].classifications.items.[INDEX].parent_classification_line_id.oneOf.0","typeLabel":"integer"},{"title":"Parent Classification Line Id","type":"null","uniqueKey":"expenses.items.[INDEX].classifications.items.[INDEX].parent_classification_line_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"expenses.items.[INDEX].classifications.items.[INDEX].parent_classification_line_id","typeLabel":"integer | null"}},"required":["id","name","line_id","line_name"],"title":"RecordClassificationsSchemaOut","type":"object","uniqueKey":"expenses.items.[INDEX].classifications.items.[INDEX]","typeLabel":"RecordClassificationsSchemaOut · object"},"title":"Classifications","type":"array","uniqueKey":"expenses.items.[INDEX].classifications","typeLabel":"RecordClassificationsSchemaOut · object[]"},"customer_id":{"oneOf":[{"title":"Customer Id","type":"integer","uniqueKey":"expenses.items.[INDEX].customer_id.oneOf.0","typeLabel":"integer"},{"title":"Customer Id","type":"null","uniqueKey":"expenses.items.[INDEX].customer_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"expenses.items.[INDEX].customer_id","typeLabel":"integer | null"},"vendor_id":{"oneOf":[{"title":"Vendor Id","type":"integer","uniqueKey":"expenses.items.[INDEX].vendor_id.oneOf.0","typeLabel":"integer"},{"title":"Vendor Id","type":"null","uniqueKey":"expenses.items.[INDEX].vendor_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"expenses.items.[INDEX].vendor_id","typeLabel":"integer | null"},"company_id":{"oneOf":[{"description":"Optional company for this line. If this company differs from the record `company_id`, DualEntry posts intercompany Due To/From and elimination entries. Omit this field, or set it equal to the header `company_id`, for a single-company line.","title":"Company Id","type":"integer","uniqueKey":"expenses.items.[INDEX].company_id.oneOf.0","typeLabel":"integer"},{"description":"Optional company for this line. If this company differs from the record `company_id`, DualEntry posts intercompany Due To/From and elimination entries. Omit this field, or set it equal to the header `company_id`, for a single-company line.","title":"Company Id","type":"null","uniqueKey":"expenses.items.[INDEX].company_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"expenses.items.[INDEX].company_id","typeLabel":"integer | null"},"custom_fields":{"default":[],"items":{"properties":{"field":{"properties":{"id":{"title":"Id","type":"integer","isRequired":true,"uniqueKey":"expenses.items.[INDEX].custom_fields.items.[INDEX].field.id","typeLabel":"integer"},"name":{"title":"Name","type":"string","isRequired":true,"uniqueKey":"expenses.items.[INDEX].custom_fields.items.[INDEX].field.name","typeLabel":"string"},"description":{"oneOf":[{"title":"Description","type":"string","isRequired":true,"uniqueKey":"expenses.items.[INDEX].custom_fields.items.[INDEX].field.description.oneOf.0","typeLabel":"string"},{"title":"Description","type":"null","isRequired":true,"uniqueKey":"expenses.items.[INDEX].custom_fields.items.[INDEX].field.description.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"expenses.items.[INDEX].custom_fields.items.[INDEX].field.description","typeLabel":"string | null"},"helper_text":{"oneOf":[{"title":"Helper Text","type":"string","isRequired":true,"uniqueKey":"expenses.items.[INDEX].custom_fields.items.[INDEX].field.helper_text.oneOf.0","typeLabel":"string"},{"title":"Helper Text","type":"null","isRequired":true,"uniqueKey":"expenses.items.[INDEX].custom_fields.items.[INDEX].field.helper_text.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"expenses.items.[INDEX].custom_fields.items.[INDEX].field.helper_text","typeLabel":"string | null"},"field_type":{"enum":["text","number","currency","date","boolean","single_select","multi_select","link","paragraph"],"title":"FieldType","type":"string","isRequired":true,"uniqueKey":"expenses.items.[INDEX].custom_fields.items.[INDEX].field.field_type","typeLabel":"enum\u003cstring>"},"applies_to":{"items":{"description":"Schema for individual applies_to items.","properties":{"type":{"description":"Record types a custom field can apply to. Stored in DB as plain text; no Django choices.","enum":["invoice","bill","direct_expense","journal_entry","intercompany_journal_entry","vendor_prepayment","vendor_credit","vendor_payment","vendor_refund","customer_payment","customer_prepayment","customer_refund","customer_deposit","currency_revaluation","contract","fixed_asset","customer","vendor","account","company","sales_order","purchase_order","cash_sale","customer_credit","quote"],"title":"CustomFieldAppliesToType","type":"string","isRequired":true,"uniqueKey":"expenses.items.[INDEX].custom_fields.items.[INDEX].field.applies_to.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"layer":{"type":"string","title":"Layer","default":"transaction","enum":["transaction","entry"],"uniqueKey":"expenses.items.[INDEX].custom_fields.items.[INDEX].field.applies_to.items.[INDEX].layer","typeLabel":"enum\u003cstring>"},"is_active":{"default":true,"title":"Is Active","type":"boolean","uniqueKey":"expenses.items.[INDEX].custom_fields.items.[INDEX].field.applies_to.items.[INDEX].is_active","typeLabel":"boolean"},"is_required":{"default":false,"title":"Is Required","type":"boolean","uniqueKey":"expenses.items.[INDEX].custom_fields.items.[INDEX].field.applies_to.items.[INDEX].is_required","typeLabel":"boolean"}},"required":["type"],"title":"AppliesToItemSchema","type":"object","uniqueKey":"expenses.items.[INDEX].custom_fields.items.[INDEX].field.applies_to.items.[INDEX]","typeLabel":"AppliesToItemSchema · object"},"title":"Applies To","type":"array","isRequired":true,"uniqueKey":"expenses.items.[INDEX].custom_fields.items.[INDEX].field.applies_to","typeLabel":"AppliesToItemSchema · object[]"},"options":{"oneOf":[{"title":"Options","items":{"type":"string","uniqueKey":"expenses.items.[INDEX].custom_fields.items.[INDEX].field.options.oneOf.0.items.[INDEX]","typeLabel":"string"},"type":"array","isRequired":true,"uniqueKey":"expenses.items.[INDEX].custom_fields.items.[INDEX].field.options.oneOf.0","typeLabel":"string[]"},{"title":"Options","items":{"type":"string"},"type":"null","isRequired":true,"uniqueKey":"expenses.items.[INDEX].custom_fields.items.[INDEX].field.options.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"expenses.items.[INDEX].custom_fields.items.[INDEX].field.options","typeLabel":"string[] | null"},"is_active":{"oneOf":[{"title":"Is Active","type":"boolean","isRequired":true,"uniqueKey":"expenses.items.[INDEX].custom_fields.items.[INDEX].field.is_active.oneOf.0","typeLabel":"boolean"},{"title":"Is Active","type":"null","isRequired":true,"uniqueKey":"expenses.items.[INDEX].custom_fields.items.[INDEX].field.is_active.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"expenses.items.[INDEX].custom_fields.items.[INDEX].field.is_active","typeLabel":"boolean | null"},"company_id":{"oneOf":[{"title":"Company Id","type":"integer","uniqueKey":"expenses.items.[INDEX].custom_fields.items.[INDEX].field.company_id.oneOf.0","typeLabel":"integer"},{"title":"Company Id","type":"null","uniqueKey":"expenses.items.[INDEX].custom_fields.items.[INDEX].field.company_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"expenses.items.[INDEX].custom_fields.items.[INDEX].field.company_id","typeLabel":"integer | null"},"company_ids":{"oneOf":[{"title":"Company Ids","items":{"type":"integer","uniqueKey":"expenses.items.[INDEX].custom_fields.items.[INDEX].field.company_ids.oneOf.0.items.[INDEX]","typeLabel":"integer"},"type":"array","uniqueKey":"expenses.items.[INDEX].custom_fields.items.[INDEX].field.company_ids.oneOf.0","typeLabel":"integer[]"},{"title":"Company Ids","items":{"type":"integer"},"type":"null","uniqueKey":"expenses.items.[INDEX].custom_fields.items.[INDEX].field.company_ids.oneOf.1","typeLabel":"null"}],"uniqueKey":"expenses.items.[INDEX].custom_fields.items.[INDEX].field.company_ids","typeLabel":"integer[] | null"},"default_value":{"oneOf":[{"type":"string","title":"Default Value","uniqueKey":"expenses.items.[INDEX].custom_fields.items.[INDEX].field.default_value.oneOf.0","typeLabel":"string"},{"type":"array","items":{"type":"string","uniqueKey":"expenses.items.[INDEX].custom_fields.items.[INDEX].field.default_value.oneOf.1.items.[INDEX]","typeLabel":"string"},"title":"Default Value","uniqueKey":"expenses.items.[INDEX].custom_fields.items.[INDEX].field.default_value.oneOf.1","typeLabel":"string[]"},{"type":"null","title":"Default Value","uniqueKey":"expenses.items.[INDEX].custom_fields.items.[INDEX].field.default_value.oneOf.2","typeLabel":"null"}],"uniqueKey":"expenses.items.[INDEX].custom_fields.items.[INDEX].field.default_value","typeLabel":"string | string[] | null"}},"required":["id","name","description","helper_text","field_type","applies_to","options","is_active"],"title":"CustomFieldSchemaOut","type":"object","isRequired":true,"uniqueKey":"expenses.items.[INDEX].custom_fields.items.[INDEX].field","typeLabel":"CustomFieldSchemaOut · object"},"value":{"oneOf":[{"type":"object","title":"CustomFieldValueSchemaOut","required":["id","custom_field_id","custom_field_name","custom_field_type","custom_field_value_id","value","created_at","updated_at"],"properties":{"id":{"title":"Id","type":"integer","isRequired":true,"uniqueKey":"expenses.items.[INDEX].custom_fields.items.[INDEX].value.oneOf.0.id","typeLabel":"integer"},"custom_field_id":{"title":"Custom Field Id","type":"integer","isRequired":true,"uniqueKey":"expenses.items.[INDEX].custom_fields.items.[INDEX].value.oneOf.0.custom_field_id","typeLabel":"integer"},"custom_field_name":{"title":"Custom Field Name","type":"string","isRequired":true,"uniqueKey":"expenses.items.[INDEX].custom_fields.items.[INDEX].value.oneOf.0.custom_field_name","typeLabel":"string"},"custom_field_type":{"title":"Custom Field Type","type":"string","isRequired":true,"uniqueKey":"expenses.items.[INDEX].custom_fields.items.[INDEX].value.oneOf.0.custom_field_type","typeLabel":"string"},"custom_field_value_id":{"title":"Custom Field Value Id","type":"integer","isRequired":true,"uniqueKey":"expenses.items.[INDEX].custom_fields.items.[INDEX].value.oneOf.0.custom_field_value_id","typeLabel":"integer"},"value":{"oneOf":[{"title":"Value","isRequired":true}],"isRequired":true,"uniqueKey":"expenses.items.[INDEX].custom_fields.items.[INDEX].value.oneOf.0.value","typeLabel":"any"},"created_at":{"title":"Created At","type":"string","isRequired":true,"uniqueKey":"expenses.items.[INDEX].custom_fields.items.[INDEX].value.oneOf.0.created_at","typeLabel":"string"},"updated_at":{"title":"Updated At","type":"string","isRequired":true,"uniqueKey":"expenses.items.[INDEX].custom_fields.items.[INDEX].value.oneOf.0.updated_at","typeLabel":"string"}},"uniqueKey":"expenses.items.[INDEX].custom_fields.items.[INDEX].value.oneOf.0","typeLabel":"CustomFieldValueSchemaOut · object"},{"type":"null","uniqueKey":"expenses.items.[INDEX].custom_fields.items.[INDEX].value.oneOf.1","typeLabel":"null"}],"uniqueKey":"expenses.items.[INDEX].custom_fields.items.[INDEX].value","typeLabel":"CustomFieldValueSchemaOut · object | null"}},"required":["field"],"title":"CustomFieldValuePairOutputSchema","type":"object","uniqueKey":"expenses.items.[INDEX].custom_fields.items.[INDEX]","typeLabel":"CustomFieldValuePairOutputSchema · object"},"title":"Custom Fields","type":"array","uniqueKey":"expenses.items.[INDEX].custom_fields","typeLabel":"CustomFieldValuePairOutputSchema · object[]"},"amortizable_assets":{"default":[],"items":{"properties":{"id":{"title":"Id","type":"integer","isRequired":true,"uniqueKey":"expenses.items.[INDEX].amortizable_assets.items.[INDEX].id","typeLabel":"integer"},"name":{"title":"Name","type":"string","isRequired":true,"uniqueKey":"expenses.items.[INDEX].amortizable_assets.items.[INDEX].name","typeLabel":"string"}},"required":["id","name"],"title":"AmortizableAssetRefOut","type":"object","uniqueKey":"expenses.items.[INDEX].amortizable_assets.items.[INDEX]","typeLabel":"AmortizableAssetRefOut · object"},"title":"Amortizable Assets","type":"array","uniqueKey":"expenses.items.[INDEX].amortizable_assets","typeLabel":"AmortizableAssetRefOut · object[]"},"fixed_assets":{"default":[],"items":{"properties":{"id":{"title":"Id","type":"integer","isRequired":true,"uniqueKey":"expenses.items.[INDEX].fixed_assets.items.[INDEX].id","typeLabel":"integer"},"name":{"title":"Name","type":"string","isRequired":true,"uniqueKey":"expenses.items.[INDEX].fixed_assets.items.[INDEX].name","typeLabel":"string"}},"required":["id","name"],"title":"FixedAssetRefOut","type":"object","uniqueKey":"expenses.items.[INDEX].fixed_assets.items.[INDEX]","typeLabel":"FixedAssetRefOut · object"},"title":"Fixed Assets","type":"array","uniqueKey":"expenses.items.[INDEX].fixed_assets","typeLabel":"FixedAssetRefOut · object[]"},"billable_customer_name":{"oneOf":[{"title":"Billable Customer Name","type":"string","uniqueKey":"expenses.items.[INDEX].billable_customer_name.oneOf.0","typeLabel":"string"},{"title":"Billable Customer Name","type":"null","uniqueKey":"expenses.items.[INDEX].billable_customer_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"expenses.items.[INDEX].billable_customer_name","typeLabel":"string | null"},"billable_project_name":{"oneOf":[{"title":"Billable Project Name","type":"string","uniqueKey":"expenses.items.[INDEX].billable_project_name.oneOf.0","typeLabel":"string"},{"title":"Billable Project Name","type":"null","uniqueKey":"expenses.items.[INDEX].billable_project_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"expenses.items.[INDEX].billable_project_name","typeLabel":"string | null"},"customer_name":{"oneOf":[{"title":"Customer Name","type":"string","uniqueKey":"expenses.items.[INDEX].customer_name.oneOf.0","typeLabel":"string"},{"title":"Customer Name","type":"null","uniqueKey":"expenses.items.[INDEX].customer_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"expenses.items.[INDEX].customer_name","typeLabel":"string | null"},"vendor_name":{"oneOf":[{"title":"Vendor Name","type":"string","uniqueKey":"expenses.items.[INDEX].vendor_name.oneOf.0","typeLabel":"string"},{"title":"Vendor Name","type":"null","uniqueKey":"expenses.items.[INDEX].vendor_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"expenses.items.[INDEX].vendor_name","typeLabel":"string | null"}},"required":["id","position","rate","quantity","account_number","expense_description","net_amount","tax_amount","gross_amount","amount"],"title":"PublicBillExpenseOut","type":"object","uniqueKey":"expenses.items.[INDEX]","typeLabel":"PublicBillExpenseOut · object"},"title":"Expenses","type":"array","uniqueKey":"expenses","typeLabel":"PublicBillExpenseOut · object[]"},"items_has_more":{"default":false,"title":"Items Has More","type":"boolean","uniqueKey":"items_has_more","typeLabel":"boolean"},"items_count":{"default":0,"title":"Items Count","type":"integer","uniqueKey":"items_count","typeLabel":"integer"},"expenses_has_more":{"default":false,"title":"Expenses Has More","type":"boolean","uniqueKey":"expenses_has_more","typeLabel":"boolean"},"expenses_count":{"default":0,"title":"Expenses Count","type":"integer","uniqueKey":"expenses_count","typeLabel":"integer"}},"required":["supply_date","tax","transaction_ids","term_id","term_name","internal_id","number","date","transaction_date","due_date","company_id","company_name","company_currency","vendor_id","vendor_name","currency_iso_4217_code","exchange_rate","memo","amount","amount_due","paid_total","record_status","recurring_record_number","purchase_order_number","reference_number","created_at","updated_at"],"title":"PublicBillV2SchemaOut","type":"object","uniqueKey":"","typeLabel":"PublicBillV2SchemaOut · object"},"examples":{"Example":{"title":"Example","value":{"supply_date":"2023-12-25","tax":{"regime":"SALES_TAX","data":{}},"transaction_ids":[123],"term_id":123,"term_name":"\u003cstring>","internal_id":123,"number":123,"date":"2023-12-25","transaction_date":"2023-12-25","due_date":"2023-12-25","company_id":123,"company_name":"\u003cstring>","company_currency":"\u003cstring>","vendor_id":123,"vendor_name":"\u003cstring>","currency_iso_4217_code":"AED","exchange_rate":"\u003cstring>","memo":"\u003cstring>","amount":"\u003cstring>","amount_due":"\u003cstring>","paid_total":"\u003cstring>","record_status":"draft","recurring_record_number":123,"purchase_order_number":123,"reference_number":"\u003cstring>","created_at":"2023-11-07T05:31:56Z","updated_at":"2023-11-07T05:31:56Z","custom_fields":[],"ship_from_address":{"street":"\u003cstring>","city":"\u003cstring>","postal_code":"\u003cstring>","state":"","country":"","second_line":"","name":"\u003cstring>"},"ship_to_address":{"street":"\u003cstring>","city":"\u003cstring>","postal_code":"\u003cstring>","state":"","country":"","second_line":"","name":"\u003cstring>"},"place_of_supply":"\u003cstring>","tax_registration_numbers":{"company":[{"type":"\u003cstring>","number":"\u003cstring>","region":"\u003cstring>"}],"counterparty":[{"type":"\u003cstring>","number":"\u003cstring>","region":"\u003cstring>"}]},"tax_metadata":{},"attachments":[],"bank_match_status":"\u003cstring>","reconciliation_status":"\u003cstring>","created_by":{"actor_type":"\u003cstring>","email":"\u003cstring>","first_name":"\u003cstring>","last_name":"\u003cstring>","via":"\u003cstring>","agent_id":123,"agent_name":"\u003cstring>","timestamp":"2023-11-07T05:31:56Z"},"updated_by":{"actor_type":"\u003cstring>","email":"\u003cstring>","first_name":"\u003cstring>","last_name":"\u003cstring>","via":"\u003cstring>","agent_id":123,"agent_name":"\u003cstring>","timestamp":"2023-11-07T05:31:56Z"},"approval_status":"\u003cstring>","next_approvers":[{"id":123,"first_name":"\u003cstring>","last_name":"\u003cstring>","email":"\u003cstring>","full_name":"\u003cstring>","avatar_url":"\u003cstring>"}],"rejected_by":{"id":123,"first_name":"\u003cstring>","last_name":"\u003cstring>","email":"\u003cstring>","full_name":"\u003cstring>","rejection_reason":"\u003cstring>"},"code":"\u003cstring>","items":[],"expenses":[],"items_has_more":false,"items_count":0,"expenses_has_more":false,"expenses_count":0}}},"exampleType":"generated"}},"exampleType":"generated"},"48c0d8e9-0e11-45a3-8341-99f0600895ba":{"description":"Bad Request","content":{"application/json":{"schema":{"properties":{"errors":{"additionalProperties":{"items":{"type":"string","uniqueKey":"errors.additionalProperties.items.[INDEX]","typeLabel":"string"},"type":"array","uniqueKey":"errors.additionalProperties","typeLabel":"string[]"},"title":"Errors","type":"object","isRequired":true,"uniqueKey":"errors","typeLabel":"Errors · object"},"success":{"const":false,"default":false,"title":"Success","type":"boolean","uniqueKey":"success","typeLabel":"boolean"},"error_code":{"oneOf":[{"description":"A stable code that identifies the control that refused the request. Branch on this code, not on the message text. When a control refuses the request, `error_code` is one of these values:\n- `period_locked`: The request changes data in a locked accounting period.\n- `approved_record_immutable`: The record is approved, and the organization does not allow changes to approved records.\n- `posted_record_immutable`: The record is posted, and the organization does not allow changes to posted records.\n- `adjusting_entry_permission_required`: You do not have the permission to post adjusting entries.\n- `adjusting_entries_disabled`: Adjusting entries are not enabled for the company.\n- `adjusting_entry_bank_account`: An adjusting entry cannot use a bank or credit card account.\n- `recurring_adjusting_entry`: A recurring journal entry cannot be an adjusting entry.\n- `segregation_of_duties_no_substitute_approver`: The approval policy needs an approver other than the creator, and the organization has no other admin.\n- `posting_date_after_limit`: The organization limits how far in the future a record can be posted.\n- `independent_transaction_dates_disabled`: The organization does not allow transaction_date to differ from date. Enable Separate posting and transaction dates in organization settings.\n- `tax_not_calculated`: The organization uses manual tax mode with the tax reminder on. A posted record needs calculated tax.\n- `recurring_template_archived_party`: A recurring template cannot use an archived customer or vendor.\n- `master_data_unavailable`: The request sets a reference that the app does not offer for this record. It is inactive, archived, a draft, not available to the record's company, in another currency, or the party for the record's own company.","title":"Error Code","type":"string","uniqueKey":"error_code.oneOf.0","typeLabel":"string"},{"description":"A stable code that identifies the control that refused the request. Branch on this code, not on the message text. When a control refuses the request, `error_code` is one of these values:\n- `period_locked`: The request changes data in a locked accounting period.\n- `approved_record_immutable`: The record is approved, and the organization does not allow changes to approved records.\n- `posted_record_immutable`: The record is posted, and the organization does not allow changes to posted records.\n- `adjusting_entry_permission_required`: You do not have the permission to post adjusting entries.\n- `adjusting_entries_disabled`: Adjusting entries are not enabled for the company.\n- `adjusting_entry_bank_account`: An adjusting entry cannot use a bank or credit card account.\n- `recurring_adjusting_entry`: A recurring journal entry cannot be an adjusting entry.\n- `segregation_of_duties_no_substitute_approver`: The approval policy needs an approver other than the creator, and the organization has no other admin.\n- `posting_date_after_limit`: The organization limits how far in the future a record can be posted.\n- `independent_transaction_dates_disabled`: The organization does not allow transaction_date to differ from date. Enable Separate posting and transaction dates in organization settings.\n- `tax_not_calculated`: The organization uses manual tax mode with the tax reminder on. A posted record needs calculated tax.\n- `recurring_template_archived_party`: A recurring template cannot use an archived customer or vendor.\n- `master_data_unavailable`: The request sets a reference that the app does not offer for this record. It is inactive, archived, a draft, not available to the record's company, in another currency, or the party for the record's own company.","title":"Error Code","type":"null","uniqueKey":"error_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"error_code","typeLabel":"string | null"},"error_reason":{"oneOf":[{"title":"Error Reason","type":"string","uniqueKey":"error_reason.oneOf.0","typeLabel":"string"},{"title":"Error Reason","type":"null","uniqueKey":"error_reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"error_reason","typeLabel":"string | null"}},"required":["errors"],"title":"ErrorSchema","type":"object","uniqueKey":"","typeLabel":"ErrorSchema · object"},"examples":{"Example":{"title":"Example","value":{"errors":{},"success":false,"error_code":"\u003cstring>","error_reason":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"50572ebd-8a6c-46f9-b698-d76c9aa2bfe3":{"description":"Not Found","content":{"application/json":{"schema":{"properties":{"errors":{"additionalProperties":{"items":{"type":"string","uniqueKey":"errors.additionalProperties.items.[INDEX]","typeLabel":"string"},"type":"array","uniqueKey":"errors.additionalProperties","typeLabel":"string[]"},"title":"Errors","type":"object","isRequired":true,"uniqueKey":"errors","typeLabel":"Errors · object"},"success":{"const":false,"default":false,"title":"Success","type":"boolean","uniqueKey":"success","typeLabel":"boolean"},"error_code":{"oneOf":[{"description":"A stable code that identifies the control that refused the request. Branch on this code, not on the message text. When a control refuses the request, `error_code` is one of these values:\n- `period_locked`: The request changes data in a locked accounting period.\n- `approved_record_immutable`: The record is approved, and the organization does not allow changes to approved records.\n- `posted_record_immutable`: The record is posted, and the organization does not allow changes to posted records.\n- `adjusting_entry_permission_required`: You do not have the permission to post adjusting entries.\n- `adjusting_entries_disabled`: Adjusting entries are not enabled for the company.\n- `adjusting_entry_bank_account`: An adjusting entry cannot use a bank or credit card account.\n- `recurring_adjusting_entry`: A recurring journal entry cannot be an adjusting entry.\n- `segregation_of_duties_no_substitute_approver`: The approval policy needs an approver other than the creator, and the organization has no other admin.\n- `posting_date_after_limit`: The organization limits how far in the future a record can be posted.\n- `independent_transaction_dates_disabled`: The organization does not allow transaction_date to differ from date. Enable Separate posting and transaction dates in organization settings.\n- `tax_not_calculated`: The organization uses manual tax mode with the tax reminder on. A posted record needs calculated tax.\n- `recurring_template_archived_party`: A recurring template cannot use an archived customer or vendor.\n- `master_data_unavailable`: The request sets a reference that the app does not offer for this record. It is inactive, archived, a draft, not available to the record's company, in another currency, or the party for the record's own company.","title":"Error Code","type":"string","uniqueKey":"error_code.oneOf.0","typeLabel":"string"},{"description":"A stable code that identifies the control that refused the request. Branch on this code, not on the message text. When a control refuses the request, `error_code` is one of these values:\n- `period_locked`: The request changes data in a locked accounting period.\n- `approved_record_immutable`: The record is approved, and the organization does not allow changes to approved records.\n- `posted_record_immutable`: The record is posted, and the organization does not allow changes to posted records.\n- `adjusting_entry_permission_required`: You do not have the permission to post adjusting entries.\n- `adjusting_entries_disabled`: Adjusting entries are not enabled for the company.\n- `adjusting_entry_bank_account`: An adjusting entry cannot use a bank or credit card account.\n- `recurring_adjusting_entry`: A recurring journal entry cannot be an adjusting entry.\n- `segregation_of_duties_no_substitute_approver`: The approval policy needs an approver other than the creator, and the organization has no other admin.\n- `posting_date_after_limit`: The organization limits how far in the future a record can be posted.\n- `independent_transaction_dates_disabled`: The organization does not allow transaction_date to differ from date. Enable Separate posting and transaction dates in organization settings.\n- `tax_not_calculated`: The organization uses manual tax mode with the tax reminder on. A posted record needs calculated tax.\n- `recurring_template_archived_party`: A recurring template cannot use an archived customer or vendor.\n- `master_data_unavailable`: The request sets a reference that the app does not offer for this record. It is inactive, archived, a draft, not available to the record's company, in another currency, or the party for the record's own company.","title":"Error Code","type":"null","uniqueKey":"error_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"error_code","typeLabel":"string | null"},"error_reason":{"oneOf":[{"title":"Error Reason","type":"string","uniqueKey":"error_reason.oneOf.0","typeLabel":"string"},{"title":"Error Reason","type":"null","uniqueKey":"error_reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"error_reason","typeLabel":"string | null"}},"required":["errors"],"title":"ErrorSchema","type":"object","uniqueKey":"","typeLabel":"ErrorSchema · object"},"examples":{"Example":{"title":"Example","value":{"errors":{},"success":false,"error_code":"\u003cstring>","error_reason":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"5d8cdfa8-cefe-4ce5-9094-1cd9efee254a":{"description":"Unprocessable Content","content":{"application/json":{"schema":{"properties":{"errors":{"additionalProperties":{"items":{"type":"string","uniqueKey":"errors.additionalProperties.items.[INDEX]","typeLabel":"string"},"type":"array","uniqueKey":"errors.additionalProperties","typeLabel":"string[]"},"title":"Errors","type":"object","isRequired":true,"uniqueKey":"errors","typeLabel":"Errors · object"},"success":{"const":false,"default":false,"title":"Success","type":"boolean","uniqueKey":"success","typeLabel":"boolean"},"error_code":{"oneOf":[{"description":"A stable code that identifies the control that refused the request. Branch on this code, not on the message text. When a control refuses the request, `error_code` is one of these values:\n- `period_locked`: The request changes data in a locked accounting period.\n- `approved_record_immutable`: The record is approved, and the organization does not allow changes to approved records.\n- `posted_record_immutable`: The record is posted, and the organization does not allow changes to posted records.\n- `adjusting_entry_permission_required`: You do not have the permission to post adjusting entries.\n- `adjusting_entries_disabled`: Adjusting entries are not enabled for the company.\n- `adjusting_entry_bank_account`: An adjusting entry cannot use a bank or credit card account.\n- `recurring_adjusting_entry`: A recurring journal entry cannot be an adjusting entry.\n- `segregation_of_duties_no_substitute_approver`: The approval policy needs an approver other than the creator, and the organization has no other admin.\n- `posting_date_after_limit`: The organization limits how far in the future a record can be posted.\n- `independent_transaction_dates_disabled`: The organization does not allow transaction_date to differ from date. Enable Separate posting and transaction dates in organization settings.\n- `tax_not_calculated`: The organization uses manual tax mode with the tax reminder on. A posted record needs calculated tax.\n- `recurring_template_archived_party`: A recurring template cannot use an archived customer or vendor.\n- `master_data_unavailable`: The request sets a reference that the app does not offer for this record. It is inactive, archived, a draft, not available to the record's company, in another currency, or the party for the record's own company.","title":"Error Code","type":"string","uniqueKey":"error_code.oneOf.0","typeLabel":"string"},{"description":"A stable code that identifies the control that refused the request. Branch on this code, not on the message text. When a control refuses the request, `error_code` is one of these values:\n- `period_locked`: The request changes data in a locked accounting period.\n- `approved_record_immutable`: The record is approved, and the organization does not allow changes to approved records.\n- `posted_record_immutable`: The record is posted, and the organization does not allow changes to posted records.\n- `adjusting_entry_permission_required`: You do not have the permission to post adjusting entries.\n- `adjusting_entries_disabled`: Adjusting entries are not enabled for the company.\n- `adjusting_entry_bank_account`: An adjusting entry cannot use a bank or credit card account.\n- `recurring_adjusting_entry`: A recurring journal entry cannot be an adjusting entry.\n- `segregation_of_duties_no_substitute_approver`: The approval policy needs an approver other than the creator, and the organization has no other admin.\n- `posting_date_after_limit`: The organization limits how far in the future a record can be posted.\n- `independent_transaction_dates_disabled`: The organization does not allow transaction_date to differ from date. Enable Separate posting and transaction dates in organization settings.\n- `tax_not_calculated`: The organization uses manual tax mode with the tax reminder on. A posted record needs calculated tax.\n- `recurring_template_archived_party`: A recurring template cannot use an archived customer or vendor.\n- `master_data_unavailable`: The request sets a reference that the app does not offer for this record. It is inactive, archived, a draft, not available to the record's company, in another currency, or the party for the record's own company.","title":"Error Code","type":"null","uniqueKey":"error_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"error_code","typeLabel":"string | null"},"error_reason":{"oneOf":[{"title":"Error Reason","type":"string","uniqueKey":"error_reason.oneOf.0","typeLabel":"string"},{"title":"Error Reason","type":"null","uniqueKey":"error_reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"error_reason","typeLabel":"string | null"}},"required":["errors"],"title":"ErrorSchema","type":"object","uniqueKey":"","typeLabel":"ErrorSchema · object"},"examples":{"Example":{"title":"Example","value":{"errors":{},"success":false,"error_code":"\u003cstring>","error_reason":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"3f7788df-943b-4236-a037-6308d166bebe":{"description":"Internal Server Error","content":{"application/json":{"schema":{"properties":{"errors":{"additionalProperties":{"items":{"type":"string","uniqueKey":"errors.additionalProperties.items.[INDEX]","typeLabel":"string"},"type":"array","uniqueKey":"errors.additionalProperties","typeLabel":"string[]"},"title":"Errors","type":"object","isRequired":true,"uniqueKey":"errors","typeLabel":"Errors · object"},"success":{"const":false,"default":false,"title":"Success","type":"boolean","uniqueKey":"success","typeLabel":"boolean"},"error_code":{"oneOf":[{"description":"A stable code that identifies the control that refused the request. Branch on this code, not on the message text. When a control refuses the request, `error_code` is one of these values:\n- `period_locked`: The request changes data in a locked accounting period.\n- `approved_record_immutable`: The record is approved, and the organization does not allow changes to approved records.\n- `posted_record_immutable`: The record is posted, and the organization does not allow changes to posted records.\n- `adjusting_entry_permission_required`: You do not have the permission to post adjusting entries.\n- `adjusting_entries_disabled`: Adjusting entries are not enabled for the company.\n- `adjusting_entry_bank_account`: An adjusting entry cannot use a bank or credit card account.\n- `recurring_adjusting_entry`: A recurring journal entry cannot be an adjusting entry.\n- `segregation_of_duties_no_substitute_approver`: The approval policy needs an approver other than the creator, and the organization has no other admin.\n- `posting_date_after_limit`: The organization limits how far in the future a record can be posted.\n- `independent_transaction_dates_disabled`: The organization does not allow transaction_date to differ from date. Enable Separate posting and transaction dates in organization settings.\n- `tax_not_calculated`: The organization uses manual tax mode with the tax reminder on. A posted record needs calculated tax.\n- `recurring_template_archived_party`: A recurring template cannot use an archived customer or vendor.\n- `master_data_unavailable`: The request sets a reference that the app does not offer for this record. It is inactive, archived, a draft, not available to the record's company, in another currency, or the party for the record's own company.","title":"Error Code","type":"string","uniqueKey":"error_code.oneOf.0","typeLabel":"string"},{"description":"A stable code that identifies the control that refused the request. Branch on this code, not on the message text. When a control refuses the request, `error_code` is one of these values:\n- `period_locked`: The request changes data in a locked accounting period.\n- `approved_record_immutable`: The record is approved, and the organization does not allow changes to approved records.\n- `posted_record_immutable`: The record is posted, and the organization does not allow changes to posted records.\n- `adjusting_entry_permission_required`: You do not have the permission to post adjusting entries.\n- `adjusting_entries_disabled`: Adjusting entries are not enabled for the company.\n- `adjusting_entry_bank_account`: An adjusting entry cannot use a bank or credit card account.\n- `recurring_adjusting_entry`: A recurring journal entry cannot be an adjusting entry.\n- `segregation_of_duties_no_substitute_approver`: The approval policy needs an approver other than the creator, and the organization has no other admin.\n- `posting_date_after_limit`: The organization limits how far in the future a record can be posted.\n- `independent_transaction_dates_disabled`: The organization does not allow transaction_date to differ from date. Enable Separate posting and transaction dates in organization settings.\n- `tax_not_calculated`: The organization uses manual tax mode with the tax reminder on. A posted record needs calculated tax.\n- `recurring_template_archived_party`: A recurring template cannot use an archived customer or vendor.\n- `master_data_unavailable`: The request sets a reference that the app does not offer for this record. It is inactive, archived, a draft, not available to the record's company, in another currency, or the party for the record's own company.","title":"Error Code","type":"null","uniqueKey":"error_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"error_code","typeLabel":"string | null"},"error_reason":{"oneOf":[{"title":"Error Reason","type":"string","uniqueKey":"error_reason.oneOf.0","typeLabel":"string"},{"title":"Error Reason","type":"null","uniqueKey":"error_reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"error_reason","typeLabel":"string | null"}},"required":["errors"],"title":"ErrorSchema","type":"object","uniqueKey":"","typeLabel":"ErrorSchema · object"},"examples":{"Example":{"title":"Example","value":{"errors":{},"success":false,"error_code":"\u003cstring>","error_reason":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"0c01788b-dfd8-4ef7-b0f6-bc35c8b13824":{"description":"Service Unavailable","content":{"application/json":{"schema":{"properties":{"errors":{"additionalProperties":{"items":{"type":"string","uniqueKey":"errors.additionalProperties.items.[INDEX]","typeLabel":"string"},"type":"array","uniqueKey":"errors.additionalProperties","typeLabel":"string[]"},"title":"Errors","type":"object","isRequired":true,"uniqueKey":"errors","typeLabel":"Errors · object"},"success":{"const":false,"default":false,"title":"Success","type":"boolean","uniqueKey":"success","typeLabel":"boolean"},"error_code":{"oneOf":[{"description":"A stable code that identifies the control that refused the request. Branch on this code, not on the message text. When a control refuses the request, `error_code` is one of these values:\n- `period_locked`: The request changes data in a locked accounting period.\n- `approved_record_immutable`: The record is approved, and the organization does not allow changes to approved records.\n- `posted_record_immutable`: The record is posted, and the organization does not allow changes to posted records.\n- `adjusting_entry_permission_required`: You do not have the permission to post adjusting entries.\n- `adjusting_entries_disabled`: Adjusting entries are not enabled for the company.\n- `adjusting_entry_bank_account`: An adjusting entry cannot use a bank or credit card account.\n- `recurring_adjusting_entry`: A recurring journal entry cannot be an adjusting entry.\n- `segregation_of_duties_no_substitute_approver`: The approval policy needs an approver other than the creator, and the organization has no other admin.\n- `posting_date_after_limit`: The organization limits how far in the future a record can be posted.\n- `independent_transaction_dates_disabled`: The organization does not allow transaction_date to differ from date. Enable Separate posting and transaction dates in organization settings.\n- `tax_not_calculated`: The organization uses manual tax mode with the tax reminder on. A posted record needs calculated tax.\n- `recurring_template_archived_party`: A recurring template cannot use an archived customer or vendor.\n- `master_data_unavailable`: The request sets a reference that the app does not offer for this record. It is inactive, archived, a draft, not available to the record's company, in another currency, or the party for the record's own company.","title":"Error Code","type":"string","uniqueKey":"error_code.oneOf.0","typeLabel":"string"},{"description":"A stable code that identifies the control that refused the request. Branch on this code, not on the message text. When a control refuses the request, `error_code` is one of these values:\n- `period_locked`: The request changes data in a locked accounting period.\n- `approved_record_immutable`: The record is approved, and the organization does not allow changes to approved records.\n- `posted_record_immutable`: The record is posted, and the organization does not allow changes to posted records.\n- `adjusting_entry_permission_required`: You do not have the permission to post adjusting entries.\n- `adjusting_entries_disabled`: Adjusting entries are not enabled for the company.\n- `adjusting_entry_bank_account`: An adjusting entry cannot use a bank or credit card account.\n- `recurring_adjusting_entry`: A recurring journal entry cannot be an adjusting entry.\n- `segregation_of_duties_no_substitute_approver`: The approval policy needs an approver other than the creator, and the organization has no other admin.\n- `posting_date_after_limit`: The organization limits how far in the future a record can be posted.\n- `independent_transaction_dates_disabled`: The organization does not allow transaction_date to differ from date. Enable Separate posting and transaction dates in organization settings.\n- `tax_not_calculated`: The organization uses manual tax mode with the tax reminder on. A posted record needs calculated tax.\n- `recurring_template_archived_party`: A recurring template cannot use an archived customer or vendor.\n- `master_data_unavailable`: The request sets a reference that the app does not offer for this record. It is inactive, archived, a draft, not available to the record's company, in another currency, or the party for the record's own company.","title":"Error Code","type":"null","uniqueKey":"error_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"error_code","typeLabel":"string | null"},"error_reason":{"oneOf":[{"title":"Error Reason","type":"string","uniqueKey":"error_reason.oneOf.0","typeLabel":"string"},{"title":"Error Reason","type":"null","uniqueKey":"error_reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"error_reason","typeLabel":"string | null"}},"required":["errors"],"title":"ErrorSchema","type":"object","uniqueKey":"","typeLabel":"ErrorSchema · object"},"examples":{"Example":{"title":"Example","value":{"errors":{},"success":false,"error_code":"\u003cstring>","error_reason":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"19499554-8557-4ce7-9564-a00e1d6298c1":{"Key":{"name":"X-API-KEY","type":"apiKey","in":"header"}}},"servers":{"a3cf2463-24aa-4ce5-aef0-33188ad92aae":{"url":"https://api.dualentry.com","description":"Production environment"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"name":"X-API-KEY","type":"apiKey","in":"header"},"schema":{"title":"X-API-KEY","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"Key","name":"X-API-KEY"}],"title":"Key"}]},"originalFileLocation":"developers/openapi/resources-v3-alpha.json"},"subdomain":"entryinc","siteName":"DualEntry Documentation","title":"Update BillV2 record - DualEntry Documentation","navMaps":{"firstHrefInVersion":{"V2":{"href":"/developers/api/resources-v2/bills/list-bill-records","matchLevel":2},"V1":{"href":"/developers/api/resources-v1/bills/list-bill-records","matchLevel":2},"V3-alpha":{"href":"/developers/api/resources-v3-alpha/bills/update-billv2-record","matchLevel":0}},"firstHrefInLanguage":{}},"originalFileLocation":"developers/api/resources-v3-alpha/bills/update-billv2-record.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=\"Update an existing BillV2 record with the provided data. Validates all required fields and business rules. Side effects - If an approval workflow matches this request, DualEntry can set record_status back to draft. Additional validations - Fails with 503 if the exchange rate for the transaction date is unavailable. - Fails with 422 and the error code posting_date_after_limit if date is after the latest posting date that your organization allows. - Fails with 422 and error_code tax_not_calculated when the organization uses manual tax mode with the tax reminder on, the request posts the record, and the request sends lines but none of them carries tax. Set auto_calculate_tax to required, or send tax on the lines. - Fails with 422 if you set an inactive, archived, or draft customer or vendor, or an inactive company. - Fails with 422 if a line account is not available to the record\u0026#x27;s company. - Fails with 422 if you set the customer or vendor that stands for the record\u0026#x27;s own company as a party. - A reference that the record or its linked source record already holds passes these checks.\">\u003cmeta data-mint-head name=\"application-name\" content=\"DualEntry Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/entryinc/0hFGr3nbZt8w2lts/_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/entryinc/0hFGr3nbZt8w2lts/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/entryinc/0hFGr3nbZt8w2lts/_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/entryinc/0hFGr3nbZt8w2lts/_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/entryinc/0hFGr3nbZt8w2lts/_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/entryinc/0hFGr3nbZt8w2lts/_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/entryinc/0hFGr3nbZt8w2lts/_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/entryinc/0hFGr3nbZt8w2lts/_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/entryinc/0hFGr3nbZt8w2lts/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update BillV2 record - DualEntry Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Update an existing BillV2 record with the provided data. Validates all required fields and business rules. Side effects - If an approval workflow matches this request, DualEntry can set record_status back to draft. Additional validations - Fails with 503 if the exchange rate for the transaction date is unavailable. - Fails with 422 and the error code posting_date_after_limit if date is after the latest posting date that your organization allows. - Fails with 422 and error_code tax_not_calculated when the organization uses manual tax mode with the tax reminder on, the request posts the record, and the request sends lines but none of them carries tax. Set auto_calculate_tax to required, or send tax on the lines. - Fails with 422 if you set an inactive, archived, or draft customer or vendor, or an inactive company. - Fails with 422 if a line account is not available to the record\u0026#x27;s company. - Fails with 422 if you set the customer or vendor that stands for the record\u0026#x27;s own company as a party. - A reference that the record or its linked source record already holds passes these checks.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"DualEntry Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.dualentry.com/developers/api/resources-v3-alpha/bills/update-billv2-record\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://entryinc.mintlify.site/_mintlify/api/og/v2?division=Bills\u0026amp;title=Update+BillV2+record\u0026amp;description=Update+an+existing+BillV2+record+with+the+provided+data.+Validates+all+required+fields+and+business+rules.%0A%0A**Side+effects**%0A-+If+an+approval+workflow+matches+t\u0026amp;theme=e25e10837db34fb642d89fb0\u0026amp;signature=ee5ba873339d075ff2d1476149ea7beadebaff828cdb097feef3999c24b34017\">\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=\"Update BillV2 record - DualEntry Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Update an existing BillV2 record with the provided data. Validates all required fields and business rules. Side effects - If an approval workflow matches this request, DualEntry can set record_status back to draft. Additional validations - Fails with 503 if the exchange rate for the transaction date is unavailable. - Fails with 422 and the error code posting_date_after_limit if date is after the latest posting date that your organization allows. - Fails with 422 and error_code tax_not_calculated when the organization uses manual tax mode with the tax reminder on, the request posts the record, and the request sends lines but none of them carries tax. Set auto_calculate_tax to required, or send tax on the lines. - Fails with 422 if you set an inactive, archived, or draft customer or vendor, or an inactive company. - Fails with 422 if a line account is not available to the record\u0026#x27;s company. - Fails with 422 if you set the customer or vendor that stands for the record\u0026#x27;s own company as a party. - A reference that the record or its linked source record already holds passes these checks.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://entryinc.mintlify.site/_mintlify/api/og/v2?division=Bills\u0026amp;title=Update+BillV2+record\u0026amp;description=Update+an+existing+BillV2+record+with+the+provided+data.+Validates+all+required+fields+and+business+rules.%0A%0A**Side+effects**%0A-+If+an+approval+workflow+matches+t\u0026amp;theme=e25e10837db34fb642d89fb0\u0026amp;signature=ee5ba873339d075ff2d1476149ea7beadebaff828cdb097feef3999c24b34017\">\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/entryinc/0hFGr3nbZt8w2lts/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"DualEntry Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#004F5C\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.dualentry.com/developers/api/resources-v3-alpha/bills/update-billv2-record\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/developers/api/resources-v3-alpha/bills/update-billv2-record.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.dualentry.com/#organization\",\"name\":\"DualEntry Documentation\",\"url\":\"https://docs.dualentry.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/entryinc/AComF9V8rHO5A0Pv/images/brand/dualentry-docs-logo-light.svg?fit=max\u0026auto=format\u0026n=AComF9V8rHO5A0Pv\u0026q=85\u0026s=910d5b39d1a3170bb460a1da7698f74a\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.dualentry.com#website\",\"name\":\"DualEntry Documentation\",\"url\":\"https://docs.dualentry.com\",\"publisher\":{\"@id\":\"https://docs.dualentry.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.dualentry.com/developers/api/resources-v3-alpha/bills/update-billv2-record#webpage\",\"url\":\"https://docs.dualentry.com/developers/api/resources-v3-alpha/bills/update-billv2-record\",\"name\":\"Update BillV2 record\",\"description\":\"Update an existing BillV2 record with the provided data. Validates all required fields and business rules. Side effects - If an approval workflow matches this request, DualEntry can set record_status back to draft. Additional validations - Fails with 503 if the exchange rate for the transaction date is unavailable. - Fails with 422 and the error code posting_date_after_limit if date is after the latest posting date that your organization allows. - Fails with 422 and error_code tax_not_calculated when the organization uses manual tax mode with the tax reminder on, the request posts the record, and the request sends lines but none of them carries tax. Set auto_calculate_tax to required, or send tax on the lines. - Fails with 422 if you set an inactive, archived, or draft customer or vendor, or an inactive company. - Fails with 422 if a line account is not available to the record's company. - Fails with 422 if you set the customer or vendor that stands for the record's own company as a party. - A reference that the record or its linked source record already holds passes these checks.\",\"isPartOf\":{\"@id\":\"https://docs.dualentry.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.dualentry.com/developers/api/resources-v3-alpha/bills/update-billv2-record#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.dualentry.com/developers/api/resources-v3-alpha/bills/update-billv2-record#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Money Out\",\"item\":\"https://docs.dualentry.com/developers/api/resources-v3-alpha/bills/list-bills-lines\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Bills\",\"item\":\"https://docs.dualentry.com/developers/api/resources-v3-alpha/bills/list-bills-lines\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Update BillV2 record\",\"item\":\"https://docs.dualentry.com/developers/api/resources-v3-alpha/bills/update-billv2-record\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.dualentry.com/developers/api/resources-v3-alpha/bills/update-billv2-record#apireference\",\"headline\":\"Update BillV2 record\",\"name\":\"Update BillV2 record\",\"description\":\"Update an existing BillV2 record with the provided data. Validates all required fields and business rules. Side effects - If an approval workflow matches this request, DualEntry can set record_status back to draft. Additional validations - Fails with 503 if the exchange rate for the transaction date is unavailable. - Fails with 422 and the error code posting_date_after_limit if date is after the latest posting date that your organization allows. - Fails with 422 and error_code tax_not_calculated when the organization uses manual tax mode with the tax reminder on, the request posts the record, and the request sends lines but none of them carries tax. Set auto_calculate_tax to required, or send tax on the lines. - Fails with 422 if you set an inactive, archived, or draft customer or vendor, or an inactive company. - Fails with 422 if a line account is not available to the record's company. - Fails with 422 if you set the customer or vendor that stands for the record's own company as a party. - A reference that the record or its linked source record already holds passes these checks.\",\"url\":\"https://docs.dualentry.com/developers/api/resources-v3-alpha/bills/update-billv2-record\",\"mainEntityOfPage\":{\"@id\":\"https://docs.dualentry.com/developers/api/resources-v3-alpha/bills/update-billv2-record#webpage\"},\"publisher\":{\"@id\":\"https://docs.dualentry.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.dualentry.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"DualEntry Documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"DualEntry Documentation","nav":{"global":null,"tabs":[{"tab":"Accountants","icon":"book-open","pages":[{"title":"Accountants","href":"/accountants/get-started"}]},{"tab":"Developers","icon":"compass","pages":[{"title":"Developers","href":"/developers/guides"}]},{"tab":"API Reference","icon":"server","versions":[{"version":"V2","default":true,"tag":"Latest","pages":[{"title":"V2","href":"/developers/api/resources-v2/bills/list-bill-records"}]},{"version":"V1","tag":"Legacy","pages":[{"title":"V1","href":"/developers/api/resources-v1/bills/list-bill-records"}]},{"version":"V3-alpha","tag":"Preview","groups":[{"group":"Overview","icon":"circle-info","pages":[{"title":"V3 (Alpha) API Reference","sidebarTitle":"Overview","href":"/developers/api/resources-v3-alpha"}]},{"group":"Organization","pages":[{"group":"Books","pages":[{"title":"List books","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/books/","href":"/developers/api/resources-v3-alpha/books/list-books"},{"title":"Get book","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/books/{book_id}/","href":"/developers/api/resources-v3-alpha/books/get-book"}]},{"group":"Companies","pages":[{"title":"List companies","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/companies/","href":"/developers/api/resources-v3-alpha/companies/list-companies"},{"title":"Get company","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/companies/{company_id}/","href":"/developers/api/resources-v3-alpha/companies/get-company"}]},{"group":"Payment Methods","pages":[{"title":"List payment methods","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/payment-methods/","href":"/developers/api/resources-v3-alpha/payment-methods/list-payment-methods"},{"title":"Get payment method","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/payment-methods/{payment_method_id}/","href":"/developers/api/resources-v3-alpha/payment-methods/get-payment-method"}]},{"group":"Period Locks","pages":[{"title":"List period locks","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/period-locks/","href":"/developers/api/resources-v3-alpha/period-locks/list-period-locks"}]},{"group":"Terms","pages":[{"title":"List terms","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/terms/","href":"/developers/api/resources-v3-alpha/terms/list-terms"},{"title":"Get term","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/terms/{term_id}/","href":"/developers/api/resources-v3-alpha/terms/get-term"}]}]},{"group":"Accounting Setup","pages":[{"group":"Accounts","pages":[{"title":"List accounts","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/accounts/","href":"/developers/api/resources-v3-alpha/accounts/list-accounts"},{"title":"Create account","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json post /public/v3-alpha/accounts/","href":"/developers/api/resources-v3-alpha/accounts/create-account"},{"title":"Get account","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/accounts/{account_number}/","href":"/developers/api/resources-v3-alpha/accounts/get-account"},{"title":"Update account","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json put /public/v3-alpha/accounts/{account_number}/","href":"/developers/api/resources-v3-alpha/accounts/update-account"}]},{"group":"Classifications","pages":[{"title":"List Classifications","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/classifications/","href":"/developers/api/resources-v3-alpha/classifications/list-classifications"},{"title":"Create Classification","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json post /public/v3-alpha/classifications/","href":"/developers/api/resources-v3-alpha/classifications/create-classification"},{"title":"Get Classification","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/classifications/{classification_id}/","href":"/developers/api/resources-v3-alpha/classifications/get-classification"},{"title":"Update Classification","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json put /public/v3-alpha/classifications/{classification_id}/","href":"/developers/api/resources-v3-alpha/classifications/update-classification"},{"title":"Update classification (partial)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json patch /public/v3-alpha/classifications/{classification_id}/","href":"/developers/api/resources-v3-alpha/classifications/update-classification-partial"},{"title":"Delete Classification","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json delete /public/v3-alpha/classifications/{classification_id}/","href":"/developers/api/resources-v3-alpha/classifications/delete-classification"}]},{"group":"Classifications Lines","pages":[{"title":"List Classification Lines","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/classifications-lines/","href":"/developers/api/resources-v3-alpha/classifications-lines/list-classification-lines"}]},{"group":"Custom Fields","pages":[{"title":"List custom fields","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/custom-fields/","href":"/developers/api/resources-v3-alpha/custom-fields/list-custom-fields"},{"title":"Create custom field","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json post /public/v3-alpha/custom-fields/","href":"/developers/api/resources-v3-alpha/custom-fields/create-custom-field"},{"title":"Get custom field","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/custom-fields/{custom_field_id}/","href":"/developers/api/resources-v3-alpha/custom-fields/get-custom-field"},{"title":"Update custom field","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json put /public/v3-alpha/custom-fields/{custom_field_id}/","href":"/developers/api/resources-v3-alpha/custom-fields/update-custom-field"},{"title":"Delete custom field","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json delete /public/v3-alpha/custom-fields/{custom_field_id}/","href":"/developers/api/resources-v3-alpha/custom-fields/delete-custom-field"}]},{"group":"Exchange Rates","pages":[{"title":"List exchange rates","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/exchange_rates/","href":"/developers/api/resources-v3-alpha/exchange-rates/list-exchange-rates"}]},{"group":"Items","pages":[{"title":"List Items","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/items/","href":"/developers/api/resources-v3-alpha/items/list-items"},{"title":"Create Item","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json post /public/v3-alpha/items/","href":"/developers/api/resources-v3-alpha/items/create-item"},{"title":"Get Item","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/items/{item_id}/","href":"/developers/api/resources-v3-alpha/items/get-item"},{"title":"Update Item","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json put /public/v3-alpha/items/{item_id}/","href":"/developers/api/resources-v3-alpha/items/update-item"},{"title":"Update Item (partial)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json patch /public/v3-alpha/items/{item_id}/","href":"/developers/api/resources-v3-alpha/items/update-item-partial"},{"title":"Archive Item","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json delete /public/v3-alpha/items/{item_id}/","href":"/developers/api/resources-v3-alpha/items/archive-item"}]},{"group":"Projects","pages":[{"title":"List projects","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/projects/","href":"/developers/api/resources-v3-alpha/projects/list-projects"},{"title":"Get project","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/projects/{project_id}/","href":"/developers/api/resources-v3-alpha/projects/get-project"}]}]},{"group":"Transactions","pages":[{"group":"Accrual Templates","pages":[{"title":"List accrual templates","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/accrual-templates/","href":"/developers/api/resources-v3-alpha/accrual-templates/list-accrual-templates"},{"title":"Get accrual template","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/accrual-templates/{accrual_template_id}/","href":"/developers/api/resources-v3-alpha/accrual-templates/get-accrual-template"}]},{"group":"Intercompany Journal Entries","pages":[{"title":"List intercompany journal entries","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/intercompany-journal-entries/","href":"/developers/api/resources-v3-alpha/intercompany-journal-entries/list-intercompany-journal-entries"},{"title":"Create intercompany journal entry","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json post /public/v3-alpha/intercompany-journal-entries/","href":"/developers/api/resources-v3-alpha/intercompany-journal-entries/create-intercompany-journal-entry"},{"title":"Get intercompany journal entry","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/intercompany-journal-entries/{record_number}/","href":"/developers/api/resources-v3-alpha/intercompany-journal-entries/get-intercompany-journal-entry"},{"title":"Update intercompany journal entry","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json put /public/v3-alpha/intercompany-journal-entries/{record_number}/","href":"/developers/api/resources-v3-alpha/intercompany-journal-entries/update-intercompany-journal-entry"},{"title":"List intercompany journal entry lines","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/intercompany-journal-entries/{record_number}/lines/","href":"/developers/api/resources-v3-alpha/intercompany-journal-entries/list-intercompany-journal-entry-lines"}]},{"group":"Journal Entries","pages":[{"title":"List journal entry lines","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/journal-entries/lines/","href":"/developers/api/resources-v3-alpha/journal-entries/list-journal-entry-lines"},{"title":"List JournalEntryV2 records","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/journal-entries/","href":"/developers/api/resources-v3-alpha/journal-entries/list-journalentryv2-records"},{"title":"Create JournalEntryV2 record","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json post /public/v3-alpha/journal-entries/","href":"/developers/api/resources-v3-alpha/journal-entries/create-journalentryv2-record"},{"title":"Get JournalEntryV2 record","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/journal-entries/{record_number}/","href":"/developers/api/resources-v3-alpha/journal-entries/get-journalentryv2-record"},{"title":"Update JournalEntryV2 record","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json put /public/v3-alpha/journal-entries/{record_number}/","href":"/developers/api/resources-v3-alpha/journal-entries/update-journalentryv2-record"},{"title":"Create JournalEntryV2 record attachments","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json post /public/v3-alpha/journal-entries/{record_number}/attachments/","href":"/developers/api/resources-v3-alpha/journal-entries/create-journalentryv2-record-attachments"},{"title":"List JournalEntryV2 record lines","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/journal-entries/{record_number}/lines/","href":"/developers/api/resources-v3-alpha/journal-entries/list-journalentryv2-record-lines"}]},{"group":"Recurring Journal Entries","pages":[{"title":"List RecurringJournalEntry records","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/recurring/journal-entries/","href":"/developers/api/resources-v3-alpha/recurring-journal-entries/list-recurringjournalentry-records"},{"title":"Create RecurringJournalEntry record","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json post /public/v3-alpha/recurring/journal-entries/","href":"/developers/api/resources-v3-alpha/recurring-journal-entries/create-recurringjournalentry-record"},{"title":"Get RecurringJournalEntry record","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/recurring/journal-entries/{record_number}/","href":"/developers/api/resources-v3-alpha/recurring-journal-entries/get-recurringjournalentry-record"},{"title":"Update RecurringJournalEntry record","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json put /public/v3-alpha/recurring/journal-entries/{record_number}/","href":"/developers/api/resources-v3-alpha/recurring-journal-entries/update-recurringjournalentry-record"},{"title":"Delete RecurringJournalEntry record","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json delete /public/v3-alpha/recurring/journal-entries/{record_number}/","href":"/developers/api/resources-v3-alpha/recurring-journal-entries/delete-recurringjournalentry-record"}]},{"group":"Statistical Journals","pages":[{"title":"List statistical journal lines","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/statistical-journals/lines/","href":"/developers/api/resources-v3-alpha/statistical-journals/list-statistical-journal-lines"},{"title":"List StatisticalJournalV2 records","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/statistical-journals/","href":"/developers/api/resources-v3-alpha/statistical-journals/list-statisticaljournalv2-records"},{"title":"Create StatisticalJournalV2 record","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json post /public/v3-alpha/statistical-journals/","href":"/developers/api/resources-v3-alpha/statistical-journals/create-statisticaljournalv2-record"},{"title":"Get StatisticalJournalV2 record","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/statistical-journals/{record_number}/","href":"/developers/api/resources-v3-alpha/statistical-journals/get-statisticaljournalv2-record"},{"title":"Update StatisticalJournalV2 record","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json put /public/v3-alpha/statistical-journals/{record_number}/","href":"/developers/api/resources-v3-alpha/statistical-journals/update-statisticaljournalv2-record"},{"title":"Create StatisticalJournalV2 record attachments","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json post /public/v3-alpha/statistical-journals/{record_number}/attachments/","href":"/developers/api/resources-v3-alpha/statistical-journals/create-statisticaljournalv2-record-attachments"},{"title":"List StatisticalJournalV2 record lines","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/statistical-journals/{record_number}/lines/","href":"/developers/api/resources-v3-alpha/statistical-journals/list-statisticaljournalv2-record-lines"}]}]},{"group":"Money In","pages":[{"group":"Cash Sales","pages":[{"title":"List cash sales lines","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/cash-sales/lines/","href":"/developers/api/resources-v3-alpha/cash-sales/list-cash-sales-lines"},{"title":"List CashSaleV2 records","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/cash-sales/","href":"/developers/api/resources-v3-alpha/cash-sales/list-cashsalev2-records"},{"title":"Create CashSaleV2 record","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json post /public/v3-alpha/cash-sales/","href":"/developers/api/resources-v3-alpha/cash-sales/create-cashsalev2-record"},{"title":"Get CashSaleV2 record","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/cash-sales/{record_number}/","href":"/developers/api/resources-v3-alpha/cash-sales/get-cashsalev2-record"},{"title":"Update CashSaleV2 record","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json put /public/v3-alpha/cash-sales/{record_number}/","href":"/developers/api/resources-v3-alpha/cash-sales/update-cashsalev2-record"},{"title":"Create CashSaleV2 record attachments","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json post /public/v3-alpha/cash-sales/{record_number}/attachments/","href":"/developers/api/resources-v3-alpha/cash-sales/create-cashsalev2-record-attachments"},{"title":"List CashSaleV2 record lines","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/cash-sales/{record_number}/lines/","href":"/developers/api/resources-v3-alpha/cash-sales/list-cashsalev2-record-lines"}]},{"group":"Contract Templates","pages":[{"title":"List contract templates","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/contract-templates/","href":"/developers/api/resources-v3-alpha/contract-templates/list-contract-templates"},{"title":"Get contract template","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/contract-templates/{contract_template_id}/","href":"/developers/api/resources-v3-alpha/contract-templates/get-contract-template"}]},{"group":"Contracts","pages":[{"title":"Get Contract","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/contracts/{record_id}/","href":"/developers/api/resources-v3-alpha/contracts/get-contract"},{"title":"Update Contract","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json put /public/v3-alpha/contracts/{record_id}/","href":"/developers/api/resources-v3-alpha/contracts/update-contract"},{"title":"Update Contract (partial)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json patch /public/v3-alpha/contracts/{record_id}/","href":"/developers/api/resources-v3-alpha/contracts/update-contract-partial"},{"title":"List milestones for a contract","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/contracts/{contract_id}/milestones/","href":"/developers/api/resources-v3-alpha/contracts/list-milestones-for-a-contract"},{"title":"Upsert usage records for contract obligations","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json post /public/v3-alpha/contracts/{contract_id}/usage/bulk-upsert/","href":"/developers/api/resources-v3-alpha/contracts/upsert-usage-records-for-contract-obligations"},{"title":"List Change Orders","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/contracts/{contract_id}/change-orders/","href":"/developers/api/resources-v3-alpha/contracts/list-change-orders"},{"title":"Create Change Order","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json post /public/v3-alpha/contracts/{contract_id}/change-orders/","href":"/developers/api/resources-v3-alpha/contracts/create-change-order"},{"title":"Get Change Order","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/contracts/{contract_id}/change-orders/{change_order_id}/","href":"/developers/api/resources-v3-alpha/contracts/get-change-order"},{"title":"Update Change Order","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json put /public/v3-alpha/contracts/{contract_id}/change-orders/{change_order_id}/","href":"/developers/api/resources-v3-alpha/contracts/update-change-order"},{"title":"Archive Change Order","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json delete /public/v3-alpha/contracts/{contract_id}/change-orders/{change_order_id}/","href":"/developers/api/resources-v3-alpha/contracts/archive-change-order"},{"title":"List Contracts","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/contracts/","href":"/developers/api/resources-v3-alpha/contracts/list-contracts"},{"title":"List usage records for a contract","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/contracts/{contract_id}/usage/","href":"/developers/api/resources-v3-alpha/contracts/list-usage-records-for-a-contract"}]},{"group":"Customer Credits","pages":[{"title":"List customer credits lines","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/customer-credits/lines/","href":"/developers/api/resources-v3-alpha/customer-credits/list-customer-credits-lines"},{"title":"List CustomerCreditV2 records","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/customer-credits/","href":"/developers/api/resources-v3-alpha/customer-credits/list-customercreditv2-records"},{"title":"Create CustomerCreditV2 record","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json post /public/v3-alpha/customer-credits/","href":"/developers/api/resources-v3-alpha/customer-credits/create-customercreditv2-record"},{"title":"Get CustomerCreditV2 record","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/customer-credits/{record_number}/","href":"/developers/api/resources-v3-alpha/customer-credits/get-customercreditv2-record"},{"title":"Update CustomerCreditV2 record","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json put /public/v3-alpha/customer-credits/{record_number}/","href":"/developers/api/resources-v3-alpha/customer-credits/update-customercreditv2-record"},{"title":"Update CustomerCreditV2 record (partial)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json patch /public/v3-alpha/customer-credits/{record_number}/","href":"/developers/api/resources-v3-alpha/customer-credits/update-customercreditv2-record-partial"},{"title":"List CustomerCreditV2 record lines","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/customer-credits/{record_number}/lines/","href":"/developers/api/resources-v3-alpha/customer-credits/list-customercreditv2-record-lines"}]},{"group":"Customer Deposits","pages":[{"title":"List customer deposits lines","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/customer-deposits/lines/","href":"/developers/api/resources-v3-alpha/customer-deposits/list-customer-deposits-lines"},{"title":"List CustomerDepositV2 records","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/customer-deposits/","href":"/developers/api/resources-v3-alpha/customer-deposits/list-customerdepositv2-records"},{"title":"Create CustomerDepositV2 record","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json post /public/v3-alpha/customer-deposits/","href":"/developers/api/resources-v3-alpha/customer-deposits/create-customerdepositv2-record"},{"title":"Get CustomerDepositV2 record","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/customer-deposits/{record_number}/","href":"/developers/api/resources-v3-alpha/customer-deposits/get-customerdepositv2-record"},{"title":"Update CustomerDepositV2 record","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json put /public/v3-alpha/customer-deposits/{record_number}/","href":"/developers/api/resources-v3-alpha/customer-deposits/update-customerdepositv2-record"},{"title":"Create CustomerDepositV2 record attachments","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json post /public/v3-alpha/customer-deposits/{record_number}/attachments/","href":"/developers/api/resources-v3-alpha/customer-deposits/create-customerdepositv2-record-attachments"},{"title":"List CustomerDepositV2 record lines","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/customer-deposits/{record_number}/lines/","href":"/developers/api/resources-v3-alpha/customer-deposits/list-customerdepositv2-record-lines"}]},{"group":"Customer Payments","pages":[{"title":"List customer payments lines","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/customer-payments/lines/","href":"/developers/api/resources-v3-alpha/customer-payments/list-customer-payments-lines"},{"title":"List CustomerPaymentV2 records","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/customer-payments/","href":"/developers/api/resources-v3-alpha/customer-payments/list-customerpaymentv2-records"},{"title":"Create CustomerPaymentV2 record","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json post /public/v3-alpha/customer-payments/","href":"/developers/api/resources-v3-alpha/customer-payments/create-customerpaymentv2-record"},{"title":"Get CustomerPaymentV2 record","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/customer-payments/{record_number}/","href":"/developers/api/resources-v3-alpha/customer-payments/get-customerpaymentv2-record"},{"title":"Update CustomerPaymentV2 record","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json put /public/v3-alpha/customer-payments/{record_number}/","href":"/developers/api/resources-v3-alpha/customer-payments/update-customerpaymentv2-record"},{"title":"Update CustomerPaymentV2 record (partial)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json patch /public/v3-alpha/customer-payments/{record_number}/","href":"/developers/api/resources-v3-alpha/customer-payments/update-customerpaymentv2-record-partial"},{"title":"List CustomerPaymentV2 record lines","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/customer-payments/{record_number}/lines/","href":"/developers/api/resources-v3-alpha/customer-payments/list-customerpaymentv2-record-lines"}]},{"group":"Customer Prepayment Applications","pages":[{"title":"List CustomerPrepaymentApplicationV2 records","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/customer-prepayment-applications/","href":"/developers/api/resources-v3-alpha/customer-prepayment-applications/list-customerprepaymentapplicationv2-records"},{"title":"Create CustomerPrepaymentApplicationV2 record","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json post /public/v3-alpha/customer-prepayment-applications/","href":"/developers/api/resources-v3-alpha/customer-prepayment-applications/create-customerprepaymentapplicationv2-record"},{"title":"Get CustomerPrepaymentApplicationV2 record","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/customer-prepayment-applications/{record_number}/","href":"/developers/api/resources-v3-alpha/customer-prepayment-applications/get-customerprepaymentapplicationv2-record"},{"title":"Update CustomerPrepaymentApplicationV2 record","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json put /public/v3-alpha/customer-prepayment-applications/{record_number}/","href":"/developers/api/resources-v3-alpha/customer-prepayment-applications/update-customerprepaymentapplicationv2-record"},{"title":"Update CustomerPrepaymentApplicationV2 record (partial)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json patch /public/v3-alpha/customer-prepayment-applications/{record_number}/","href":"/developers/api/resources-v3-alpha/customer-prepayment-applications/update-customerprepaymentapplicationv2-record-partial"},{"title":"Create CustomerPrepaymentApplicationV2 record attachments","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json post /public/v3-alpha/customer-prepayment-applications/{record_number}/attachments/","href":"/developers/api/resources-v3-alpha/customer-prepayment-applications/create-customerprepaymentapplicationv2-record-attachments"},{"title":"List CustomerPrepaymentApplicationV2 record lines","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/customer-prepayment-applications/{record_number}/lines/","href":"/developers/api/resources-v3-alpha/customer-prepayment-applications/list-customerprepaymentapplicationv2-record-lines"}]},{"group":"Customer Prepayments","pages":[{"title":"List CustomerPrepayment records","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/customer-prepayments/","href":"/developers/api/resources-v3-alpha/customer-prepayments/list-customerprepayment-records"},{"title":"Create CustomerPrepayment record","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json post /public/v3-alpha/customer-prepayments/","href":"/developers/api/resources-v3-alpha/customer-prepayments/create-customerprepayment-record"},{"title":"Get CustomerPrepayment record","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/customer-prepayments/{record_number}/","href":"/developers/api/resources-v3-alpha/customer-prepayments/get-customerprepayment-record"},{"title":"Update CustomerPrepayment record","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json put /public/v3-alpha/customer-prepayments/{record_number}/","href":"/developers/api/resources-v3-alpha/customer-prepayments/update-customerprepayment-record"},{"title":"Update CustomerPrepayment record (partial)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json patch /public/v3-alpha/customer-prepayments/{record_number}/","href":"/developers/api/resources-v3-alpha/customer-prepayments/update-customerprepayment-record-partial"},{"title":"Create CustomerPrepayment record attachments","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json post /public/v3-alpha/customer-prepayments/{record_number}/attachments/","href":"/developers/api/resources-v3-alpha/customer-prepayments/create-customerprepayment-record-attachments"}]},{"group":"Customer Refunds","pages":[{"title":"List CustomerRefundV2 records","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/customer-refunds/","href":"/developers/api/resources-v3-alpha/customer-refunds/list-customerrefundv2-records"},{"title":"Create CustomerRefundV2 record","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json post /public/v3-alpha/customer-refunds/","href":"/developers/api/resources-v3-alpha/customer-refunds/create-customerrefundv2-record"},{"title":"Get CustomerRefundV2 record","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/customer-refunds/{record_number}/","href":"/developers/api/resources-v3-alpha/customer-refunds/get-customerrefundv2-record"},{"title":"Update CustomerRefundV2 record","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json put /public/v3-alpha/customer-refunds/{record_number}/","href":"/developers/api/resources-v3-alpha/customer-refunds/update-customerrefundv2-record"},{"title":"Create CustomerRefundV2 record attachments","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json post /public/v3-alpha/customer-refunds/{record_number}/attachments/","href":"/developers/api/resources-v3-alpha/customer-refunds/create-customerrefundv2-record-attachments"},{"title":"List CustomerRefundV2 record lines","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/customer-refunds/{record_number}/lines/","href":"/developers/api/resources-v3-alpha/customer-refunds/list-customerrefundv2-record-lines"}]},{"group":"Customers","pages":[{"title":"List customers","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/customers/","href":"/developers/api/resources-v3-alpha/customers/list-customers"},{"title":"Create customer","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json post /public/v3-alpha/customers/","href":"/developers/api/resources-v3-alpha/customers/create-customer"},{"title":"Merge customers","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json post /public/v3-alpha/customers/merge/","href":"/developers/api/resources-v3-alpha/customers/merge-customers"},{"title":"Get customer","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/customers/{customer_id}/","href":"/developers/api/resources-v3-alpha/customers/get-customer"},{"title":"Update customer","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json put /public/v3-alpha/customers/{customer_id}/","href":"/developers/api/resources-v3-alpha/customers/update-customer"},{"title":"Update customer (partial)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json patch /public/v3-alpha/customers/{customer_id}/","href":"/developers/api/resources-v3-alpha/customers/update-customer-partial"},{"title":"Delete customer","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json delete /public/v3-alpha/customers/{customer_id}/","href":"/developers/api/resources-v3-alpha/customers/delete-customer"}]},{"group":"Invoices","pages":[{"title":"List invoices lines","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/invoices/lines/","href":"/developers/api/resources-v3-alpha/invoices/list-invoices-lines"},{"title":"List InvoiceV2 records","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/invoices/","href":"/developers/api/resources-v3-alpha/invoices/list-invoicev2-records"},{"title":"Create InvoiceV2 record","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json post /public/v3-alpha/invoices/","href":"/developers/api/resources-v3-alpha/invoices/create-invoicev2-record"},{"title":"Get InvoiceV2 record","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/invoices/{record_number}/","href":"/developers/api/resources-v3-alpha/invoices/get-invoicev2-record"},{"title":"Update InvoiceV2 record","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json put /public/v3-alpha/invoices/{record_number}/","href":"/developers/api/resources-v3-alpha/invoices/update-invoicev2-record"},{"title":"Update InvoiceV2 record (partial)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json patch /public/v3-alpha/invoices/{record_number}/","href":"/developers/api/resources-v3-alpha/invoices/update-invoicev2-record-partial"},{"title":"Create InvoiceV2 record attachments","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json post /public/v3-alpha/invoices/{record_number}/attachments/","href":"/developers/api/resources-v3-alpha/invoices/create-invoicev2-record-attachments"},{"title":"Replace InvoiceV2 record attachments","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json post /public/v3-alpha/invoices/{record_number}/attachments/replace/","href":"/developers/api/resources-v3-alpha/invoices/replace-invoicev2-record-attachments"},{"title":"List InvoiceV2 record lines","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/invoices/{record_number}/lines/","href":"/developers/api/resources-v3-alpha/invoices/list-invoicev2-record-lines"},{"title":"Send InvoiceV2 record","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json post /public/v3-alpha/invoices/{record_number}/send/","href":"/developers/api/resources-v3-alpha/invoices/send-invoicev2-record"}]},{"group":"Quotes","pages":[{"title":"List Quote records","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/quotes/","href":"/developers/api/resources-v3-alpha/quotes/list-quote-records"},{"title":"Create Quote record","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json post /public/v3-alpha/quotes/","href":"/developers/api/resources-v3-alpha/quotes/create-quote-record"},{"title":"Get Quote record","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/quotes/{record_number}/","href":"/developers/api/resources-v3-alpha/quotes/get-quote-record"},{"title":"Update Quote record","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json put /public/v3-alpha/quotes/{record_number}/","href":"/developers/api/resources-v3-alpha/quotes/update-quote-record"},{"title":"Update Quote record (partial)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json patch /public/v3-alpha/quotes/{record_number}/","href":"/developers/api/resources-v3-alpha/quotes/update-quote-record-partial"},{"title":"Send Quote record","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json post /public/v3-alpha/quotes/{record_number}/send/","href":"/developers/api/resources-v3-alpha/quotes/send-quote-record"}]},{"group":"Recurring Invoices","pages":[{"title":"List RecurringInvoice records","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/recurring/invoices/","href":"/developers/api/resources-v3-alpha/recurring-invoices/list-recurringinvoice-records"},{"title":"Create RecurringInvoice record","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json post /public/v3-alpha/recurring/invoices/","href":"/developers/api/resources-v3-alpha/recurring-invoices/create-recurringinvoice-record"},{"title":"Get RecurringInvoice record","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/recurring/invoices/{record_number}/","href":"/developers/api/resources-v3-alpha/recurring-invoices/get-recurringinvoice-record"},{"title":"Update RecurringInvoice record","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json put /public/v3-alpha/recurring/invoices/{record_number}/","href":"/developers/api/resources-v3-alpha/recurring-invoices/update-recurringinvoice-record"},{"title":"Delete RecurringInvoice record","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json delete /public/v3-alpha/recurring/invoices/{record_number}/","href":"/developers/api/resources-v3-alpha/recurring-invoices/delete-recurringinvoice-record"}]},{"group":"Sales Orders","pages":[{"title":"List sales order lines","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/sales-orders/lines/","href":"/developers/api/resources-v3-alpha/sales-orders/list-sales-order-lines"},{"title":"List SalesOrderV2 records","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/sales-orders/","href":"/developers/api/resources-v3-alpha/sales-orders/list-salesorderv2-records"},{"title":"Create SalesOrderV2 record","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json post /public/v3-alpha/sales-orders/","href":"/developers/api/resources-v3-alpha/sales-orders/create-salesorderv2-record"},{"title":"Get SalesOrderV2 record","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/sales-orders/{record_number}/","href":"/developers/api/resources-v3-alpha/sales-orders/get-salesorderv2-record"},{"title":"Update SalesOrderV2 record","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json put /public/v3-alpha/sales-orders/{record_number}/","href":"/developers/api/resources-v3-alpha/sales-orders/update-salesorderv2-record"},{"title":"Create SalesOrderV2 record attachments","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json post /public/v3-alpha/sales-orders/{record_number}/attachments/","href":"/developers/api/resources-v3-alpha/sales-orders/create-salesorderv2-record-attachments"},{"title":"List SalesOrderV2 record lines","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/sales-orders/{record_number}/lines/","href":"/developers/api/resources-v3-alpha/sales-orders/list-salesorderv2-record-lines"}]}]},{"group":"Money Out","pages":[{"group":"Bills","pages":[{"title":"List bills lines","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/bills/lines/","href":"/developers/api/resources-v3-alpha/bills/list-bills-lines"},{"title":"List BillV2 records","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/bills/","href":"/developers/api/resources-v3-alpha/bills/list-billv2-records"},{"title":"Create BillV2 record","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json post /public/v3-alpha/bills/","href":"/developers/api/resources-v3-alpha/bills/create-billv2-record"},{"title":"Get BillV2 record","description":"Retrieve a specific BillV2 record by its record number with all related data.","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/bills/{record_number}/","href":"/developers/api/resources-v3-alpha/bills/get-billv2-record"},{"title":"Update BillV2 record","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json put /public/v3-alpha/bills/{record_number}/","href":"/developers/api/resources-v3-alpha/bills/update-billv2-record"},{"title":"Update BillV2 record (partial)","description":"Partially update an existing BillV2 record. Send only the fields you want to change. Anything you don't send stays as it is. Updates are subject to the same constraints as the full update endpoint: period locks, payment-applied restrictions, and approval-workflow rules apply.\n\n**Side effects**\n- If an approval workflow matches this request, DualEntry can set `record_status` back to `draft`.\n\n**Additional validations**\n- Fails with `503` if the exchange rate for the transaction date is unavailable.\n- Fails with `422` and the error code `posting_date_after_limit` if `date` is after the latest posting date that your organization allows.\n- Fails with `422` and `error_code` `tax_not_calculated` when the organization uses manual tax mode with the tax reminder on, the request posts the record, and the request sends lines but none of them carries `tax`. Set `auto_calculate_tax` to `required`, or send `tax` on the lines.\n- Fails with `422` if you set an inactive, archived, or draft customer or vendor, or an inactive company.\n- Fails with `422` if a line account is not available to the record's company.\n- Fails with `422` if you set the customer or vendor that stands for the record's own company as a party.\n- A reference that the record or its linked source record already holds passes these checks.","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json patch /public/v3-alpha/bills/{record_number}/","href":"/developers/api/resources-v3-alpha/bills/update-billv2-record-partial"},{"title":"Create BillV2 record attachments","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json post /public/v3-alpha/bills/{record_number}/attachments/","href":"/developers/api/resources-v3-alpha/bills/create-billv2-record-attachments"},{"title":"List BillV2 record lines","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/bills/{record_number}/lines/","href":"/developers/api/resources-v3-alpha/bills/list-billv2-record-lines"}]},{"group":"Direct Expenses","pages":[{"title":"List direct expenses lines","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/direct-expenses/lines/","href":"/developers/api/resources-v3-alpha/direct-expenses/list-direct-expenses-lines"},{"title":"List DirectExpenseV2 records","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/direct-expenses/","href":"/developers/api/resources-v3-alpha/direct-expenses/list-directexpensev2-records"},{"title":"Create DirectExpenseV2 record","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json post /public/v3-alpha/direct-expenses/","href":"/developers/api/resources-v3-alpha/direct-expenses/create-directexpensev2-record"},{"title":"Get DirectExpenseV2 record","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/direct-expenses/{record_number}/","href":"/developers/api/resources-v3-alpha/direct-expenses/get-directexpensev2-record"},{"title":"Update DirectExpenseV2 record","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json put /public/v3-alpha/direct-expenses/{record_number}/","href":"/developers/api/resources-v3-alpha/direct-expenses/update-directexpensev2-record"},{"title":"Create DirectExpenseV2 record attachments","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json post /public/v3-alpha/direct-expenses/{record_number}/attachments/","href":"/developers/api/resources-v3-alpha/direct-expenses/create-directexpensev2-record-attachments"},{"title":"List DirectExpenseV2 record lines","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/direct-expenses/{record_number}/lines/","href":"/developers/api/resources-v3-alpha/direct-expenses/list-directexpensev2-record-lines"}]},{"group":"Paper Check Templates","pages":[{"title":"List paper check templates","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/paper-check-templates/","href":"/developers/api/resources-v3-alpha/paper-check-templates/list-paper-check-templates"},{"title":"Get paper check template","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/paper-check-templates/{template_id}/","href":"/developers/api/resources-v3-alpha/paper-check-templates/get-paper-check-template"}]},{"group":"Paper Checks","pages":[{"title":"List paper checks","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/paper-checks/","href":"/developers/api/resources-v3-alpha/paper-checks/list-paper-checks"},{"title":"Print check immediately","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json post /public/v3-alpha/paper-checks/print-now/","href":"/developers/api/resources-v3-alpha/paper-checks/print-check-immediately"},{"title":"Queue checks for later printing","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json post /public/v3-alpha/paper-checks/print-later/","href":"/developers/api/resources-v3-alpha/paper-checks/queue-checks-for-later-printing"},{"title":"Batch print paper checks","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json put /public/v3-alpha/paper-checks/print-batch/","href":"/developers/api/resources-v3-alpha/paper-checks/batch-print-paper-checks"},{"title":"Get paper check","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/paper-checks/{paper_check_id}/","href":"/developers/api/resources-v3-alpha/paper-checks/get-paper-check"},{"title":"Archive paper check","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json delete /public/v3-alpha/paper-checks/{paper_check_id}/","href":"/developers/api/resources-v3-alpha/paper-checks/archive-paper-check"}]},{"group":"Purchase Orders","pages":[{"title":"List purchase order lines","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/purchase-orders/lines/","href":"/developers/api/resources-v3-alpha/purchase-orders/list-purchase-order-lines"},{"title":"List PurchaseOrderV2 records","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/purchase-orders/","href":"/developers/api/resources-v3-alpha/purchase-orders/list-purchaseorderv2-records"},{"title":"Create PurchaseOrderV2 record","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json post /public/v3-alpha/purchase-orders/","href":"/developers/api/resources-v3-alpha/purchase-orders/create-purchaseorderv2-record"},{"title":"Get PurchaseOrderV2 record","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/purchase-orders/{record_number}/","href":"/developers/api/resources-v3-alpha/purchase-orders/get-purchaseorderv2-record"},{"title":"Update PurchaseOrderV2 record","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json put /public/v3-alpha/purchase-orders/{record_number}/","href":"/developers/api/resources-v3-alpha/purchase-orders/update-purchaseorderv2-record"},{"title":"Create PurchaseOrderV2 record attachments","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json post /public/v3-alpha/purchase-orders/{record_number}/attachments/","href":"/developers/api/resources-v3-alpha/purchase-orders/create-purchaseorderv2-record-attachments"},{"title":"List PurchaseOrderV2 record lines","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/purchase-orders/{record_number}/lines/","href":"/developers/api/resources-v3-alpha/purchase-orders/list-purchaseorderv2-record-lines"}]},{"group":"Recurring Bills","pages":[{"title":"List RecurringBill records","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/recurring/bills/","href":"/developers/api/resources-v3-alpha/recurring-bills/list-recurringbill-records"},{"title":"Create RecurringBill record","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json post /public/v3-alpha/recurring/bills/","href":"/developers/api/resources-v3-alpha/recurring-bills/create-recurringbill-record"},{"title":"Get RecurringBill record","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/recurring/bills/{record_number}/","href":"/developers/api/resources-v3-alpha/recurring-bills/get-recurringbill-record"},{"title":"Update RecurringBill record","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json put /public/v3-alpha/recurring/bills/{record_number}/","href":"/developers/api/resources-v3-alpha/recurring-bills/update-recurringbill-record"},{"title":"Delete RecurringBill record","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json delete /public/v3-alpha/recurring/bills/{record_number}/","href":"/developers/api/resources-v3-alpha/recurring-bills/delete-recurringbill-record"}]},{"group":"Vendor Credits","pages":[{"title":"List vendor credits lines","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/vendor-credits/lines/","href":"/developers/api/resources-v3-alpha/vendor-credits/list-vendor-credits-lines"},{"title":"List VendorCreditV2 records","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/vendor-credits/","href":"/developers/api/resources-v3-alpha/vendor-credits/list-vendorcreditv2-records"},{"title":"Create VendorCreditV2 record","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json post /public/v3-alpha/vendor-credits/","href":"/developers/api/resources-v3-alpha/vendor-credits/create-vendorcreditv2-record"},{"title":"Get VendorCreditV2 record","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/vendor-credits/{record_number}/","href":"/developers/api/resources-v3-alpha/vendor-credits/get-vendorcreditv2-record"},{"title":"Update VendorCreditV2 record","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json put /public/v3-alpha/vendor-credits/{record_number}/","href":"/developers/api/resources-v3-alpha/vendor-credits/update-vendorcreditv2-record"},{"title":"List VendorCreditV2 record lines","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/vendor-credits/{record_number}/lines/","href":"/developers/api/resources-v3-alpha/vendor-credits/list-vendorcreditv2-record-lines"}]},{"group":"Vendor Payments","pages":[{"title":"List vendor payments lines","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/vendor-payments/lines/","href":"/developers/api/resources-v3-alpha/vendor-payments/list-vendor-payments-lines"},{"title":"List VendorPaymentV2 records","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/vendor-payments/","href":"/developers/api/resources-v3-alpha/vendor-payments/list-vendorpaymentv2-records"},{"title":"Create VendorPaymentV2 record","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json post /public/v3-alpha/vendor-payments/","href":"/developers/api/resources-v3-alpha/vendor-payments/create-vendorpaymentv2-record"},{"title":"Get VendorPaymentV2 record","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/vendor-payments/{record_number}/","href":"/developers/api/resources-v3-alpha/vendor-payments/get-vendorpaymentv2-record"},{"title":"Update VendorPaymentV2 record","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json put /public/v3-alpha/vendor-payments/{record_number}/","href":"/developers/api/resources-v3-alpha/vendor-payments/update-vendorpaymentv2-record"},{"title":"Update VendorPaymentV2 record (partial)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json patch /public/v3-alpha/vendor-payments/{record_number}/","href":"/developers/api/resources-v3-alpha/vendor-payments/update-vendorpaymentv2-record-partial"},{"title":"Create VendorPaymentV2 record attachments","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json post /public/v3-alpha/vendor-payments/{record_number}/attachments/","href":"/developers/api/resources-v3-alpha/vendor-payments/create-vendorpaymentv2-record-attachments"},{"title":"List VendorPaymentV2 record lines","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/vendor-payments/{record_number}/lines/","href":"/developers/api/resources-v3-alpha/vendor-payments/list-vendorpaymentv2-record-lines"}]},{"group":"Vendor Prepayment Applications","pages":[{"title":"List VendorPrepaymentApplicationV2 records","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/vendor-prepayment-applications/","href":"/developers/api/resources-v3-alpha/vendor-prepayment-applications/list-vendorprepaymentapplicationv2-records"},{"title":"Create VendorPrepaymentApplicationV2 record","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json post /public/v3-alpha/vendor-prepayment-applications/","href":"/developers/api/resources-v3-alpha/vendor-prepayment-applications/create-vendorprepaymentapplicationv2-record"},{"title":"Get VendorPrepaymentApplicationV2 record","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/vendor-prepayment-applications/{record_number}/","href":"/developers/api/resources-v3-alpha/vendor-prepayment-applications/get-vendorprepaymentapplicationv2-record"},{"title":"Update VendorPrepaymentApplicationV2 record","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json put /public/v3-alpha/vendor-prepayment-applications/{record_number}/","href":"/developers/api/resources-v3-alpha/vendor-prepayment-applications/update-vendorprepaymentapplicationv2-record"},{"title":"List VendorPrepaymentApplicationV2 record lines","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/vendor-prepayment-applications/{record_number}/lines/","href":"/developers/api/resources-v3-alpha/vendor-prepayment-applications/list-vendorprepaymentapplicationv2-record-lines"}]},{"group":"Vendor Prepayments","pages":[{"title":"List VendorPrepayment records","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/vendor-prepayments/","href":"/developers/api/resources-v3-alpha/vendor-prepayments/list-vendorprepayment-records"},{"title":"Create VendorPrepayment record","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json post /public/v3-alpha/vendor-prepayments/","href":"/developers/api/resources-v3-alpha/vendor-prepayments/create-vendorprepayment-record"},{"title":"Get VendorPrepayment record","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/vendor-prepayments/{record_number}/","href":"/developers/api/resources-v3-alpha/vendor-prepayments/get-vendorprepayment-record"},{"title":"Update VendorPrepayment record","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json put /public/v3-alpha/vendor-prepayments/{record_number}/","href":"/developers/api/resources-v3-alpha/vendor-prepayments/update-vendorprepayment-record"}]},{"group":"Vendor Refunds","pages":[{"title":"List VendorRefundV2 records","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/vendor-refunds/","href":"/developers/api/resources-v3-alpha/vendor-refunds/list-vendorrefundv2-records"},{"title":"Create VendorRefundV2 record","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json post /public/v3-alpha/vendor-refunds/","href":"/developers/api/resources-v3-alpha/vendor-refunds/create-vendorrefundv2-record"},{"title":"Get VendorRefundV2 record","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/vendor-refunds/{record_number}/","href":"/developers/api/resources-v3-alpha/vendor-refunds/get-vendorrefundv2-record"},{"title":"Update VendorRefundV2 record","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json put /public/v3-alpha/vendor-refunds/{record_number}/","href":"/developers/api/resources-v3-alpha/vendor-refunds/update-vendorrefundv2-record"},{"title":"Create VendorRefundV2 record attachments","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json post /public/v3-alpha/vendor-refunds/{record_number}/attachments/","href":"/developers/api/resources-v3-alpha/vendor-refunds/create-vendorrefundv2-record-attachments"},{"title":"List VendorRefundV2 record lines","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/vendor-refunds/{record_number}/lines/","href":"/developers/api/resources-v3-alpha/vendor-refunds/list-vendorrefundv2-record-lines"}]},{"group":"Vendors","pages":[{"title":"List vendors","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/vendors/","href":"/developers/api/resources-v3-alpha/vendors/list-vendors"},{"title":"Create vendor","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json post /public/v3-alpha/vendors/","href":"/developers/api/resources-v3-alpha/vendors/create-vendor"},{"title":"Merge vendors","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json post /public/v3-alpha/vendors/merge/","href":"/developers/api/resources-v3-alpha/vendors/merge-vendors"},{"title":"Get vendor","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/vendors/{vendor_id}/","href":"/developers/api/resources-v3-alpha/vendors/get-vendor"},{"title":"Update vendor","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json put /public/v3-alpha/vendors/{vendor_id}/","href":"/developers/api/resources-v3-alpha/vendors/update-vendor"},{"title":"Update vendor (partial)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json patch /public/v3-alpha/vendors/{vendor_id}/","href":"/developers/api/resources-v3-alpha/vendors/update-vendor-partial"},{"title":"Delete vendor","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json delete /public/v3-alpha/vendors/{vendor_id}/","href":"/developers/api/resources-v3-alpha/vendors/delete-vendor"}]}]},{"group":"Financial \u0026 Banking","pages":[{"group":"Bank Connections","pages":[{"title":"List customer API bank connections","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/bank-connections/","href":"/developers/api/resources-v3-alpha/bank-connections/list-customer-api-bank-connections"},{"title":"Register a customer API bank connection","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json post /public/v3-alpha/bank-connections/","href":"/developers/api/resources-v3-alpha/bank-connections/register-a-customer-api-bank-connection"},{"title":"Push bank transactions for a customer_api account","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json post /public/v3-alpha/bank-connections/accounts/{financial_account_id}/transactions/","href":"/developers/api/resources-v3-alpha/bank-connections/push-bank-transactions-for-a-customer_api-account"},{"title":"List accounts for a customer API bank connection","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/bank-connections/{connection_id}/accounts/","href":"/developers/api/resources-v3-alpha/bank-connections/list-accounts-for-a-customer-api-bank-connection"},{"title":"Register accounts under a customer API bank connection","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json post /public/v3-alpha/bank-connections/{connection_id}/accounts/","href":"/developers/api/resources-v3-alpha/bank-connections/register-accounts-under-a-customer-api-bank-connection"},{"title":"Get a customer API bank connection","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/bank-connections/{connection_id}/","href":"/developers/api/resources-v3-alpha/bank-connections/get-a-customer-api-bank-connection"},{"title":"Unregister a customer API bank connection","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json delete /public/v3-alpha/bank-connections/{connection_id}/","href":"/developers/api/resources-v3-alpha/bank-connections/unregister-a-customer-api-bank-connection"}]},{"group":"Bank Match","pages":[{"title":"Run the bank-match pipeline now","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json post /public/v3-alpha/bank-match/populate/","href":"/developers/api/resources-v3-alpha/bank-match/run-the-bank-match-pipeline-now"},{"title":"List bank-match suggestions","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/bank-match/suggestions/","href":"/developers/api/resources-v3-alpha/bank-match/list-bank-match-suggestions"},{"title":"Get one bank-match suggestion","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/bank-match/suggestions/{suggestion_id}/","href":"/developers/api/resources-v3-alpha/bank-match/get-one-bank-match-suggestion"},{"title":"Check bank-match pipeline progress","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/bank-match/status-counts/","href":"/developers/api/resources-v3-alpha/bank-match/check-bank-match-pipeline-progress"},{"title":"List bank-feed transactions","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/bank-match/bank-transactions/","href":"/developers/api/resources-v3-alpha/bank-match/list-bank-feed-transactions"},{"title":"Get one bank-feed transaction","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/bank-match/bank-transactions/{financial_transaction_id}/","href":"/developers/api/resources-v3-alpha/bank-match/get-one-bank-feed-transaction"},{"title":"Confirm a bank-match","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json post /public/v3-alpha/bank-match/matches/","href":"/developers/api/resources-v3-alpha/bank-match/confirm-a-bank-match"},{"title":"Undo a bank-match","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json post /public/v3-alpha/bank-match/unmatches/","href":"/developers/api/resources-v3-alpha/bank-match/undo-a-bank-match"}]},{"group":"Bank Transfers","pages":[{"title":"List BankTransfer records","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/bank-transfers/","href":"/developers/api/resources-v3-alpha/bank-transfers/list-banktransfer-records"},{"title":"Create BankTransfer record","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json post /public/v3-alpha/bank-transfers/","href":"/developers/api/resources-v3-alpha/bank-transfers/create-banktransfer-record"},{"title":"Get BankTransfer record","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/bank-transfers/{record_number}/","href":"/developers/api/resources-v3-alpha/bank-transfers/get-banktransfer-record"},{"title":"Update BankTransfer record","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json put /public/v3-alpha/bank-transfers/{record_number}/","href":"/developers/api/resources-v3-alpha/bank-transfers/update-banktransfer-record"}]}]},{"group":"Assets","pages":[{"group":"Depreciation Books","pages":[{"title":"List depreciation books","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/depreciation-books/","href":"/developers/api/resources-v3-alpha/depreciation-books/list-depreciation-books"},{"title":"Get depreciation book by code","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/depreciation-books/{book_code}/","href":"/developers/api/resources-v3-alpha/depreciation-books/get-depreciation-book-by-code"}]},{"group":"Fixed Asset Classes","pages":[{"title":"List fixed asset classes","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/fixed-asset-classes/","href":"/developers/api/resources-v3-alpha/fixed-asset-classes/list-fixed-asset-classes"},{"title":"Get fixed asset class","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/fixed-asset-classes/{fixed_asset_class_id}/","href":"/developers/api/resources-v3-alpha/fixed-asset-classes/get-fixed-asset-class"}]},{"group":"Fixed Assets","pages":[{"title":"List fixed assets","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/fixed-assets/","href":"/developers/api/resources-v3-alpha/fixed-assets/list-fixed-assets"},{"title":"Create fixed asset","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json post /public/v3-alpha/fixed-assets/","href":"/developers/api/resources-v3-alpha/fixed-assets/create-fixed-asset"},{"title":"Get fixed asset","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/fixed-assets/{fixed_asset_number}/","href":"/developers/api/resources-v3-alpha/fixed-assets/get-fixed-asset"},{"title":"Update fixed asset","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json put /public/v3-alpha/fixed-assets/{fixed_asset_number}/","href":"/developers/api/resources-v3-alpha/fixed-assets/update-fixed-asset"},{"title":"Partial update fixed asset","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json patch /public/v3-alpha/fixed-assets/{fixed_asset_number}/","href":"/developers/api/resources-v3-alpha/fixed-assets/partial-update-fixed-asset"},{"title":"Archive fixed asset","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json delete /public/v3-alpha/fixed-assets/{fixed_asset_number}/","href":"/developers/api/resources-v3-alpha/fixed-assets/archive-fixed-asset"},{"title":"Get depreciation schedule by book","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/fixed-assets/{fixed_asset_number}/schedules/{depreciation_book_id}/schedule/","href":"/developers/api/resources-v3-alpha/fixed-assets/get-depreciation-schedule-by-book"}]}]},{"group":"Tax","pages":[{"group":"E-invoicing","pages":[{"title":"Get the e-invoicing status of the organization","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/e-invoicing/","href":"/developers/api/resources-v3-alpha/e-invoicing/get-the-e-invoicing-status-of-the-organization"},{"title":"List the e-invoicing countries","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/e-invoicing/countries/","href":"/developers/api/resources-v3-alpha/e-invoicing/list-the-e-invoicing-countries"},{"title":"List the e-invoicing settings of the companies","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/e-invoicing/companies/","href":"/developers/api/resources-v3-alpha/e-invoicing/list-the-e-invoicing-settings-of-the-companies"},{"title":"Get the e-invoicing settings of a company","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/e-invoicing/companies/{company_id}/","href":"/developers/api/resources-v3-alpha/e-invoicing/get-the-e-invoicing-settings-of-a-company"},{"title":"Get the e-invoicing registration of a company","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/e-invoicing/companies/{company_id}/countries/{country}/registration/","href":"/developers/api/resources-v3-alpha/e-invoicing/get-the-e-invoicing-registration-of-a-company"},{"title":"List the e-invoice filing events","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/e-invoicing/events/","href":"/developers/api/resources-v3-alpha/e-invoicing/list-the-e-invoice-filing-events"},{"title":"Check that a customer can receive an e-invoice","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/e-invoicing/preflight/","href":"/developers/api/resources-v3-alpha/e-invoicing/check-that-a-customer-can-receive-an-e-invoice"},{"title":"Get the e-invoice filing of an invoice","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/e-invoicing/invoices/{number}/","href":"/developers/api/resources-v3-alpha/e-invoicing/get-the-e-invoice-filing-of-an-invoice"},{"title":"Get the credit note filing of a customer credit","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/e-invoicing/customer-credits/{number}/","href":"/developers/api/resources-v3-alpha/e-invoicing/get-the-credit-note-filing-of-a-customer-credit"},{"title":"Retry the e-invoice filing of an invoice","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json post /public/v3-alpha/e-invoicing/invoices/{number}/retry/","href":"/developers/api/resources-v3-alpha/e-invoicing/retry-the-e-invoice-filing-of-an-invoice"},{"title":"Retry the credit note filing of a customer credit","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json post /public/v3-alpha/e-invoicing/customer-credits/{number}/retry/","href":"/developers/api/resources-v3-alpha/e-invoicing/retry-the-credit-note-filing-of-a-customer-credit"},{"title":"Refresh the e-invoice filing of an invoice","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json post /public/v3-alpha/e-invoicing/invoices/{number}/refresh/","href":"/developers/api/resources-v3-alpha/e-invoicing/refresh-the-e-invoice-filing-of-an-invoice"},{"title":"Refresh the credit note filing of a customer credit","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json post /public/v3-alpha/e-invoicing/customer-credits/{number}/refresh/","href":"/developers/api/resources-v3-alpha/e-invoicing/refresh-the-credit-note-filing-of-a-customer-credit"},{"title":"Download a legal file of an invoice filing","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/e-invoicing/invoices/{number}/files/{attachment_id}/","href":"/developers/api/resources-v3-alpha/e-invoicing/download-a-legal-file-of-an-invoice-filing"},{"title":"Download a legal file of a credit note filing","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/e-invoicing/customer-credits/{number}/files/{attachment_id}/","href":"/developers/api/resources-v3-alpha/e-invoicing/download-a-legal-file-of-a-credit-note-filing"},{"title":"List the events of an invoice filing","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/e-invoicing/invoices/{number}/events/","href":"/developers/api/resources-v3-alpha/e-invoicing/list-the-events-of-an-invoice-filing"},{"title":"List the events of a credit note filing","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/e-invoicing/customer-credits/{number}/events/","href":"/developers/api/resources-v3-alpha/e-invoicing/list-the-events-of-a-credit-note-filing"},{"title":"Get the e-invoicing identifiers of a customer","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/e-invoicing/customers/{customer_id}/identifiers/","href":"/developers/api/resources-v3-alpha/e-invoicing/get-the-e-invoicing-identifiers-of-a-customer"},{"title":"Set the e-invoicing identifiers of a customer","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json put /public/v3-alpha/e-invoicing/customers/{customer_id}/identifiers/","href":"/developers/api/resources-v3-alpha/e-invoicing/set-the-e-invoicing-identifiers-of-a-customer"},{"title":"Get the e-invoicing identifiers of a vendor","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/e-invoicing/vendors/{vendor_id}/identifiers/","href":"/developers/api/resources-v3-alpha/e-invoicing/get-the-e-invoicing-identifiers-of-a-vendor"}]},{"group":"GST Tax Rates","pages":[{"title":"List GST tax rates","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/gst-tax-rates/","href":"/developers/api/resources-v3-alpha/gst-tax-rates/list-gst-tax-rates"},{"title":"Get GST tax rate by ID","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/gst-tax-rates/{gst_tax_rate_id}/","href":"/developers/api/resources-v3-alpha/gst-tax-rates/get-gst-tax-rate-by-id"}]},{"group":"Product Tax Codes","pages":[{"title":"List product tax codes","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/product-tax-codes/","href":"/developers/api/resources-v3-alpha/product-tax-codes/list-product-tax-codes"},{"title":"Create product tax code","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json post /public/v3-alpha/product-tax-codes/","href":"/developers/api/resources-v3-alpha/product-tax-codes/create-product-tax-code"},{"title":"Get product tax code","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/product-tax-codes/{product_tax_code_id}/","href":"/developers/api/resources-v3-alpha/product-tax-codes/get-product-tax-code"},{"title":"Update product tax code","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json put /public/v3-alpha/product-tax-codes/{product_tax_code_id}/","href":"/developers/api/resources-v3-alpha/product-tax-codes/update-product-tax-code"},{"title":"Delete product tax code","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json delete /public/v3-alpha/product-tax-codes/{product_tax_code_id}/","href":"/developers/api/resources-v3-alpha/product-tax-codes/delete-product-tax-code"}]},{"group":"Taxes","pages":[{"title":"Calculate tax","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json post /public/v3-alpha/taxes/calculate/","href":"/developers/api/resources-v3-alpha/taxes/calculate-tax"}]},{"group":"VAT Rates","pages":[{"title":"List VAT rates","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/vat-rates/","href":"/developers/api/resources-v3-alpha/vat-rates/list-vat-rates"},{"title":"Get VAT rate by ID","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/vat-rates/{vat_rate_id}/","href":"/developers/api/resources-v3-alpha/vat-rates/get-vat-rate-by-id"}]}]},{"group":"Financial Planning","pages":[{"group":"Budgets","pages":[{"title":"List budgets","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/budgets/","href":"/developers/api/resources-v3-alpha/budgets/list-budgets"},{"title":"Get budget","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/budgets/{budget_id}/","href":"/developers/api/resources-v3-alpha/budgets/get-budget"},{"title":"Get budget cells","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/budgets/{budget_id}/cells/","href":"/developers/api/resources-v3-alpha/budgets/get-budget-cells"},{"title":"Get budget actuals","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/budgets/{budget_id}/actuals/","href":"/developers/api/resources-v3-alpha/budgets/get-budget-actuals"},{"title":"Get budget accounts","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/budgets/{budget_id}/accounts/","href":"/developers/api/resources-v3-alpha/budgets/get-budget-accounts"}]}]},{"group":"Reporting","pages":[{"group":"Reporting","pages":[{"title":"List account balances","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/account_balances/","href":"/developers/api/resources-v3-alpha/reporting/list-account-balances"},{"title":"List general ledger lines","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/general_ledger/","href":"/developers/api/resources-v3-alpha/reporting/list-general-ledger-lines"},{"title":"List trial balance facts","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/trial_balance/","href":"/developers/api/resources-v3-alpha/reporting/list-trial-balance-facts"},{"title":"List chart of accounts facts","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/chart_of_accounts/","href":"/developers/api/resources-v3-alpha/reporting/list-chart-of-accounts-facts"},{"title":"List consolidated rates","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/consolidated_rates/","href":"/developers/api/resources-v3-alpha/reporting/list-consolidated-rates"}]}]},{"group":"Governance","pages":[{"group":"Approval Policies","pages":[{"title":"List workflows","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/workflows/","href":"/developers/api/resources-v3-alpha/approval-policies/list-workflows"},{"title":"List workflow approvers","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/workflows/approvers/","href":"/developers/api/resources-v3-alpha/approval-policies/list-workflow-approvers"},{"title":"Get workflow approver","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/workflows/approvers/{approver_id}/","href":"/developers/api/resources-v3-alpha/approval-policies/get-workflow-approver"},{"title":"List execution states","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/workflows/execution-states/","href":"/developers/api/resources-v3-alpha/approval-policies/list-execution-states"},{"title":"Get execution state by ID","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/workflows/execution-states/{state_id}/","href":"/developers/api/resources-v3-alpha/approval-policies/get-execution-state-by-id"},{"title":"List approval actions","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/workflows/actions/","href":"/developers/api/resources-v3-alpha/approval-policies/list-approval-actions"},{"title":"Get roles for workflow conditions","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/workflows/roles/","href":"/developers/api/resources-v3-alpha/approval-policies/get-roles-for-workflow-conditions"},{"title":"Get workflow by ID","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/workflows/{workflow_id}/","href":"/developers/api/resources-v3-alpha/approval-policies/get-workflow-by-id"},{"title":"Get approval actions for execution state","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/workflows/execution-states/{state_id}/actions/","href":"/developers/api/resources-v3-alpha/approval-policies/get-approval-actions-for-execution-state"},{"title":"Get workflow version history","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/workflows/{workflow_id}/versions/","href":"/developers/api/resources-v3-alpha/approval-policies/get-workflow-version-history"}]},{"group":"Inbox","pages":[{"title":"Get inbox summary","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/inbox/","href":"/developers/api/resources-v3-alpha/inbox/get-inbox-summary"},{"title":"List transactions inbox","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/inbox/transactions/","href":"/developers/api/resources-v3-alpha/inbox/list-transactions-inbox"},{"title":"List records inbox","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/inbox/records/","href":"/developers/api/resources-v3-alpha/inbox/list-records-inbox"},{"title":"Get transaction inbox details","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/inbox/transactions/{record_id}/","href":"/developers/api/resources-v3-alpha/inbox/get-transaction-inbox-details"},{"title":"Get record inbox details","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/inbox/records/{record_id}/","href":"/developers/api/resources-v3-alpha/inbox/get-record-inbox-details"}]}]},{"group":"Developers","pages":[{"group":"Data Exports","pages":[{"title":"List export jobs","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/export-jobs/","href":"/developers/api/resources-v3-alpha/data-exports/list-export-jobs"},{"title":"Request a data export","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json post /public/v3-alpha/export-jobs/","href":"/developers/api/resources-v3-alpha/data-exports/request-a-data-export"},{"title":"Get export job","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/export-jobs/{job_id}/","href":"/developers/api/resources-v3-alpha/data-exports/get-export-job"}]},{"group":"Webhooks","pages":[{"title":"List webhooks","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/webhooks/","href":"/developers/api/resources-v3-alpha/webhooks/list-webhooks"},{"title":"Create webhook","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json post /public/v3-alpha/webhooks/","href":"/developers/api/resources-v3-alpha/webhooks/create-webhook"},{"title":"List webhook topics","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/webhooks/topics/","href":"/developers/api/resources-v3-alpha/webhooks/list-webhook-topics"},{"title":"Get webhook","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/webhooks/{webhook_uuid}/","href":"/developers/api/resources-v3-alpha/webhooks/get-webhook"},{"title":"Update webhook","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json put /public/v3-alpha/webhooks/{webhook_uuid}/","href":"/developers/api/resources-v3-alpha/webhooks/update-webhook"},{"title":"Patch webhook","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json patch /public/v3-alpha/webhooks/{webhook_uuid}/","href":"/developers/api/resources-v3-alpha/webhooks/patch-webhook"},{"title":"Delete webhook","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json delete /public/v3-alpha/webhooks/{webhook_uuid}/","href":"/developers/api/resources-v3-alpha/webhooks/delete-webhook"},{"title":"List webhook deliveries","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/webhooks/{webhook_uuid}/deliveries/","href":"/developers/api/resources-v3-alpha/webhooks/list-webhook-deliveries"}]}]},{"group":"Monitoring","pages":[{"group":"Health","pages":[{"title":"API Health Check","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/health/","href":"/developers/api/resources-v3-alpha/health/api-health-check"}]}]},{"group":"OAuth","pages":[{"title":"Start CLI OAuth flow","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json post /public/v3-alpha/oauth/authorize/","href":"/developers/api/resources-v3-alpha/oauth/start-cli-oauth-flow"},{"title":"OAuth callback from WorkOS","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json get /public/v3-alpha/oauth/callback/","href":"/developers/api/resources-v3-alpha/oauth/oauth-callback-from-workos"},{"title":"Exchange authorization code for API key","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v3-alpha.json post /public/v3-alpha/oauth/token/","href":"/developers/api/resources-v3-alpha/oauth/exchange-authorization-code-for-api-key"}]}]}]},{"tab":"Release Notes","icon":"clock-rotate-left","menu":[{"item":"Release notes","icon":"sparkles","description":"The biggest launches, plus every new feature and improvement.","pages":[{"title":"Release notes","href":"/developers/release-notes"}]},{"item":"Changelog","icon":"list","description":"Every release by date, including fixes.","pages":[{"title":"Changelog","href":"/developers/release-notes/changelog"}]}],"pages":[{"title":"Release Notes","href":"/developers/release-notes"}]}]},"basePath":"","title":"Update BillV2 record - DualEntry Documentation","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"]}