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 422 when the AP account is missing, inactive, of a type that is not allowed, in another company, or not the intercompany AP account on an intercompany record.
Fails with 422 on installments when the amounts do not add up to the record total, when the term is not an installment term, or when the request changes a paid or partially paid installment.
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.
Authorizations
X-API-KEY
string
header
required
Headers
Idempotency-Key
string
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.
Maximum string length: 255
Query Parameters
apply_default_classifications
boolean
default:true
When false, store submitted line classifications, including an empty list. When omitted, organization defaults apply to new lines with omitted or empty classifications only when the organization setting is enabled.
Body
application/json
date
string<date>
required
company_id
integer
required
vendor_id
integer
required
If this vendor is intercompany, DualEntry also writes a transaction in the elimination company.
withholding_tax_payable_account_id
integer | null
ID of the liability account for the withheld amounts. When you send null, or omit the field on create, DualEntry uses the default_withholding_tax_payable_account_id of the vendor. A record with withholding tax needs one of the two. On an update, an omitted value keeps the stored account.
ship_from_address
AddressSchemaIn · object | null
Show child attributes
ship_to_address
AddressSchemaIn · object | null
Show child attributes
supply_date
string<date> | null
Tax point date for VAT and GST.
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.
place_of_supply
string | null
Maximum string length: 2
tax_registration_numbers
TaxRegistrationNumbersSnapshot · object | null
Show child attributes
tax_metadata
object | null
Show child attributes
custom_fields
Custom Fields · object[] | null
transaction_date
string<date> | null
auto_calculate_tax
enum<string> | null
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.
Available options:
required
currency_iso_4217_code
enum<string> | null
Available options:
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
exchange_rate
numberstring
memo
string | null
Maximum string length: 512
items
PublicBillItemIn · object[] | null
Show child attributes
expenses
PublicBillExpenseIn · object[] | null
Show child attributes
landed_costs
PublicBillLandedCostIn · object[] | null
Landed-cost lines of the bill; omit to keep the stored ones
Show child attributes
due_date
string<date> | null
term_id
integer | null
reference_number
string
default:""
purchase_order_number
integer | null
source_invoice_number
integer | null
ap_account_id
integer | null
ID of the AP account. The default is the intercompany AP account on an intercompany bill. On other bills, it is the vendor default, then the company default, then the system AP account. The account must be active, belong to the bill company or to no company, and be accounts payable, credit card, or other current liability.
An update without this field keeps the stored account, unless it changes the vendor or the company. On v3, or with the public API breaking changes, a PUT without this field uses the default. Send null to use the default.
installments
RecordInstallmentSchemaIn · object[] | null
Installment schedule of the record. Send rows to store a custom schedule; the record needs an installment term, and the amounts must add up to the record total. Paid and partially paid rows must keep their position, due date, and amount. Send [] to store no rows; that is valid only when the term is not an installment term.
Omit this field, or send null, to use the schedule of the installment term. A create or PUT without rows rebuilds the schedule from the term, so it replaces a custom schedule. A PATCH without rows keeps the stored schedule while the term, date, and transaction_date stay the same and the rows still add up to the record total; otherwise it rebuilds the schedule from the term too. When some installments are already paid, a rebuild keeps the paid rows and spreads the rest of the total over the unpaid rows.
Show child attributes
attachments
AttachmentSchemaOut · object[]
Show child attributes
record_status
enum<string>
default:posted
Available options:
draft,
posted,
archived
Response
OK
supply_date
string<date> | null
required
tax
RecordTaxContextOut · object | null
required
Base for record-level tax context; regime discriminates data.
Mirrors TaxResultV2Out (core.taxes.api.taxes)
Show child attributes
transaction_ids
integer[]
required
term_id
integer | null
required
term_name
string
required
internal_id
integer
required
number
integer
required
date
string<date>
required
Posting date (GL date) - the date when the transaction is recorded in the general ledger
transaction_date
string<date>
required
Transaction date (inception date) - the date when the transaction actually occurred
due_date
string<date>
required
company_id
integer
required
company_name
string
required
company_currency
string
required
vendor_id
integer
required
vendor_name
string
required
ap_account_id
integer
required
currency_iso_4217_code
enum<string>
required
Available options:
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
exchange_rate
string
required
Pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d{0,16}0*$
memo
string
required
amount
string
required
Total amount of transaction
Pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d{0,2}0*$
amount_due
string
required
Amount to be paid
Pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d{0,2}0*$
paid_total
string
required
Amount that was already paid by Vendor Prepayment Applications or Vendor Payments
Pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d{0,2}0*$
items
PublicBillItemOut · object[]
required
Show child attributes
expenses
PublicBillExpenseOut · object[]
required
Show child attributes
record_status
enum<string>
required
Available options:
draft,
posted,
archived
recurring_record_number
integer | null
required
purchase_order_number
integer | null
required
reference_number
string
required
tax_total
string
required
Sum of line-item tax amounts, net of discount-line tax.
Pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d{0,2}0*$
created_at
string<date-time>
required
Date and time the record was created
updated_at
string<date-time>
required
Date and time the record was last updated
custom_fields
CustomFieldValuePairOutputSchema · object[]
Show child attributes
withholding_tax_total
string
default:0.00
Sum of the withheld amounts of the lines
Pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d{0,2}0*$
withholding_tax_payable_account_id
integer | null
ID of the liability account for the withheld amounts of the record.
ship_from_address
AddressSchemaOut · object | null
Show child attributes
ship_to_address
AddressSchemaOut · object | null
Show child attributes
place_of_supply
string | null
Maximum string length: 2
tax_registration_numbers
TaxRegistrationNumbersSnapshot · object | null
Show child attributes
tax_metadata
object | null
Show child attributes
attachments
PublicAttachmentSchemaOut · object[]
Show child attributes
bank_match_status
string | null
reconciliation_status
string | null
created_by
AuditActorSchemaOut · object | null
Schema for audit actor information.
Show child attributes
updated_by
AuditActorSchemaOut · object | null
Schema for audit actor information.
Show child attributes
approval_status
string | null
next_approvers
ApproverDictSchema · object[] | null
Show child attributes
rejected_by
RejectedBySchema · object | null
Rejector info from pre-serialized dict, with the reason of that rejection.
Show child attributes
early_payment_discount_date
string<date> | null
Last date to take the early-payment discount. Empty when the record has no early-payment term.
early_payment_discount_amount
string | null
Discount amount in the record currency. Empty when the record has no early-payment term.
Pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d{0,2}0*$
code
string | null
installments
RecordInstallmentSchemaOut · object[]
Installment schedule of the record, ordered by position. Empty when the term is not an installment term. amount_paid fills the earliest installment first.
Show child attributes
source_invoice_number
integer | null
landed_costs
PublicBillLandedCostOut · object[]
Show child attributes
Was this page helpful?
{"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":"6b0751f487c9f3323b38550d","clientVersion":"0.0.4336","searchFilterCounts":[{"language":"default","tag":"API Reference","count":1093},{"language":"default","tag":"Accountants","count":281},{"language":"default","tag":"Money In","count":269},{"language":"default","tag":"Money Out","count":208},{"language":"default","tag":"Inventory","count":133},{"language":"default","tag":"Tax","count":84},{"language":"default","tag":"Accounting Setup","count":80},{"language":"default","tag":"Core Financials","count":70},{"language":"default","tag":"Developers","count":66},{"language":"default","tag":"Transactions","count":64}]},"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":"custom-rbac-roles","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":"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":"site-roles","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":"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":"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":"turbopuffer-dual-write","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":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"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-v1/bills/create-bill-record","slug":"/developers/api/resources-v1/bills/create-bill-record","pageMetadata":{"title":"Create Bill record (v1)","description":"Create a new Bill record with the provided data.","deprecated":null,"version":null,"canonical":"https://docs.dualentry.com/developers/api/resources-v2/bills/create-bill-record","openapi":"/developers/openapi/resources-v1.json post /public/v1/bills/","href":"/developers/api/resources-v1/bills/create-bill-record","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Create a new Bill record with the provided data.\"\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,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,li:`li`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components};return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Validates all required fields and business rules.`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Side effects`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`If an approval workflow matches this request, DualEntry can set `,_jsx(_components.code,{children:`record_status`}),` back to `,_jsx(_components.code,{children:`draft`}),`.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Additional validations`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Fails with `,_jsx(_components.code,{children:`422`}),` when the AP account is missing, inactive, of a type that is not allowed, in another company, or not the intercompany AP account on an intercompany record.`]}),`\n`,_jsxs(_components.li,{children:[`Fails with `,_jsx(_components.code,{children:`422`}),` on `,_jsx(_components.code,{children:`installments`}),` when the amounts do not add up to the record total, when the term is not an installment term, or when the request changes a paid or partially paid installment.`]}),`\n`,_jsxs(_components.li,{children:[`Fails with `,_jsx(_components.code,{children:`422`}),` if you set an inactive, archived, or draft customer or vendor, or an inactive company.`]}),`\n`,_jsxs(_components.li,{children:[`Fails with `,_jsx(_components.code,{children:`422`}),` if a line account is not available to the record’s company.`]}),`\n`,_jsxs(_components.li,{children:[`Fails with `,_jsx(_components.code,{children:`422`}),` if you set the customer or vendor that stands for the record’s own company as a party.`]}),`\n`,_jsx(_components.li,{children:`A reference that the record or its linked source record already holds passes these checks.`}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create Bill record (v1)","description":"Create a new Bill record with the provided data.","deprecated":null,"version":null,"canonical":"https://docs.dualentry.com/developers/api/resources-v2/bills/create-bill-record","openapi":"/developers/openapi/resources-v1.json post /public/v1/bills/","href":"/developers/api/resources-v1/bills/create-bill-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":"create_Bill_record","summary":"Create Bill record","parameters":["0dc166f2-9bd7-48a0-b956-2faf9117ea8c","97996c40-b29d-468e-9b4a-d74f6fc0a190"],"responses":{"200":"94b94918-b6a4-447b-bbc9-717b5c7f1f03","404":"83658084-bfa0-46e8-9bff-da6b4583f369","422":"5774723e-c9d6-4f1c-aa2e-95fde2febed5","500":"381a663d-c1e5-4420-a813-4106802737a2","503":"ace9a54b-e04a-4aa8-b85f-80bd558f98be"},"description":"Create a new Bill record with the provided data.","tags":["Bills"],"requestBody":"76994c08-ed9b-4c19-aecc-e6f1c825dfe1","x-mint":{"metadata":{"description":"Create a new Bill record with the provided data.","title":"Create Bill record (v1)","canonical":"https://docs.dualentry.com/developers/api/resources-v2/bills/create-bill-record"},"content":"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 `422` when the AP account is missing, inactive, of a type that is not allowed, in another company, or not the intercompany AP account on an intercompany record.\n- Fails with `422` on `installments` when the amounts do not add up to the record total, when the term is not an installment term, or when the request changes a paid or partially paid installment.\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."},"method":"post","type":"path","servers":["f46338e2-2602-41e5-8b56-217a1b4bb40f"],"security":[],"path":"/public/v1/bills/","baseUrlOptions":["https://api.dualentry.com"],"title":"Create Bill record","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"0dc166f2-9bd7-48a0-b956-2faf9117ea8c":{"in":"query","name":"apply_default_classifications","schema":{"default":true,"description":"When `false`, store submitted line `classifications`, including an empty list. When omitted, organization defaults apply to new lines with omitted or empty classifications only when the organization setting is enabled.","title":"Apply Default Classifications","type":"boolean","isRequired":false,"uniqueKey":"","typeLabel":"boolean"},"required":false,"description":"When `false`, store submitted line `classifications`, including an empty list. When omitted, organization defaults apply to new lines with omitted or empty classifications only when the organization setting is enabled."},"97996c40-b29d-468e-9b4a-d74f6fc0a190":{"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"},"withholding_tax_payable_account_id":{"oneOf":[{"description":"ID of the liability account for the withheld amounts. When you send `null`, or omit the field on create, DualEntry uses the `default_withholding_tax_payable_account_id` of the vendor. A record with withholding tax needs one of the two. On an update, an omitted value keeps the stored account.","title":"Withholding Tax Payable Account Id","type":"integer","uniqueKey":"withholding_tax_payable_account_id.oneOf.0","typeLabel":"integer"},{"description":"ID of the liability account for the withheld amounts. When you send `null`, or omit the field on create, DualEntry uses the `default_withholding_tax_payable_account_id` of the vendor. A record with withholding tax needs one of the two. On an update, an omitted value keeps the stored account.","title":"Withholding Tax Payable Account Id","type":"null","uniqueKey":"withholding_tax_payable_account_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"withholding_tax_payable_account_id","typeLabel":"integer | null"},"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","uniqueKey":"exchange_rate.oneOf.0","typeLabel":"number"},{"type":"string","title":"Exchange Rate","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,16}0*$","uniqueKey":"exchange_rate.oneOf.1","typeLabel":"string"},{"type":"null","title":"Exchange Rate","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"},"withholding_tax_rate_id":{"oneOf":[{"description":"ID of the withholding tax rate of the line, from `GET /withholding-tax-rates/`. The withheld amount is the line net amount times the rate. On an update, a line that omits this field keeps its stored rate, and `null` removes the withholding tax.","title":"Withholding Tax Rate Id","type":"integer","uniqueKey":"\\items.oneOf.0.items.[INDEX].withholding_tax_rate_id.oneOf.0","typeLabel":"integer"},{"description":"ID of the withholding tax rate of the line, from `GET /withholding-tax-rates/`. The withheld amount is the line net amount times the rate. On an update, a line that omits this field keeps its stored rate, and `null` removes the withholding tax.","title":"Withholding Tax Rate Id","type":"null","uniqueKey":"\\items.oneOf.0.items.[INDEX].withholding_tax_rate_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.oneOf.0.items.[INDEX].withholding_tax_rate_id","typeLabel":"integer | null"},"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"},"vatex_code":{"oneOf":[{"description":"The CEF VATEX code of an exempt VAT line. Invoices and customer credits store it; other records ignore it. Omit to copy the default from the VAT rate. Set a code to override that default. Valid only when the line uses an Exempt rate.","title":"Vatex Code","maxLength":32,"type":"string","uniqueKey":"\\items.oneOf.0.items.[INDEX].tax.oneOf.0.vatex_code.oneOf.0","typeLabel":"string"},{"description":"The CEF VATEX code of an exempt VAT line. Invoices and customer credits store it; other records ignore it. Omit to copy the default from the VAT rate. Set a code to override that default. Valid only when the line uses an Exempt rate.","title":"Vatex Code","maxLength":32,"type":"null","uniqueKey":"\\items.oneOf.0.items.[INDEX].tax.oneOf.0.vatex_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.oneOf.0.items.[INDEX].tax.oneOf.0.vatex_code","typeLabel":"string | 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"},"uom_id":{"oneOf":[{"title":"Uom Id","type":"integer","uniqueKey":"\\items.oneOf.0.items.[INDEX].uom_id.oneOf.0","typeLabel":"integer"},{"title":"Uom Id","type":"null","uniqueKey":"\\items.oneOf.0.items.[INDEX].uom_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.oneOf.0.items.[INDEX].uom_id","typeLabel":"integer | 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":{"withholding_tax_rate_id":{"oneOf":[{"description":"ID of the withholding tax rate of the line, from `GET /withholding-tax-rates/`. The withheld amount is the line net amount times the rate. On an update, a line that omits this field keeps its stored rate, and `null` removes the withholding tax.","title":"Withholding Tax Rate Id","type":"integer"},{"description":"ID of the withholding tax rate of the line, from `GET /withholding-tax-rates/`. The withheld amount is the line net amount times the rate. On an update, a line that omits this field keeps its stored rate, and `null` removes the withholding tax.","title":"Withholding Tax Rate Id","type":"null"}]},"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"}]},"vatex_code":{"oneOf":[{"description":"The CEF VATEX code of an exempt VAT line. Invoices and customer credits store it; other records ignore it. Omit to copy the default from the VAT rate. Set a code to override that default. Valid only when the line uses an Exempt rate.","title":"Vatex Code","maxLength":32,"type":"string"},{"description":"The CEF VATEX code of an exempt VAT line. Invoices and customer credits store it; other records ignore it. Omit to copy the default from the VAT rate. Set a code to override that default. Valid only when the line uses an Exempt rate.","title":"Vatex Code","maxLength":32,"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)."}]},"uom_id":{"oneOf":[{"title":"Uom Id","type":"integer"},{"title":"Uom Id","type":"null"}]},"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"},"withholding_tax_rate_id":{"oneOf":[{"description":"ID of the withholding tax rate of the line, from `GET /withholding-tax-rates/`. The withheld amount is the line net amount times the rate. On an update, a line that omits this field keeps its stored rate, and `null` removes the withholding tax.","title":"Withholding Tax Rate Id","type":"integer","uniqueKey":"expenses.oneOf.0.items.[INDEX].withholding_tax_rate_id.oneOf.0","typeLabel":"integer"},{"description":"ID of the withholding tax rate of the line, from `GET /withholding-tax-rates/`. The withheld amount is the line net amount times the rate. On an update, a line that omits this field keeps its stored rate, and `null` removes the withholding tax.","title":"Withholding Tax Rate Id","type":"null","uniqueKey":"expenses.oneOf.0.items.[INDEX].withholding_tax_rate_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"expenses.oneOf.0.items.[INDEX].withholding_tax_rate_id","typeLabel":"integer | null"},"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"},"vatex_code":{"oneOf":[{"description":"The CEF VATEX code of an exempt VAT line. Invoices and customer credits store it; other records ignore it. Omit to copy the default from the VAT rate. Set a code to override that default. Valid only when the line uses an Exempt rate.","title":"Vatex Code","maxLength":32,"type":"string","uniqueKey":"expenses.oneOf.0.items.[INDEX].tax.oneOf.0.vatex_code.oneOf.0","typeLabel":"string"},{"description":"The CEF VATEX code of an exempt VAT line. Invoices and customer credits store it; other records ignore it. Omit to copy the default from the VAT rate. Set a code to override that default. Valid only when the line uses an Exempt rate.","title":"Vatex Code","maxLength":32,"type":"null","uniqueKey":"expenses.oneOf.0.items.[INDEX].tax.oneOf.0.vatex_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"expenses.oneOf.0.items.[INDEX].tax.oneOf.0.vatex_code","typeLabel":"string | 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":{"withholding_tax_rate_id":{"oneOf":[{"description":"ID of the withholding tax rate of the line, from `GET /withholding-tax-rates/`. The withheld amount is the line net amount times the rate. On an update, a line that omits this field keeps its stored rate, and `null` removes the withholding tax.","title":"Withholding Tax Rate Id","type":"integer"},{"description":"ID of the withholding tax rate of the line, from `GET /withholding-tax-rates/`. The withheld amount is the line net amount times the rate. On an update, a line that omits this field keeps its stored rate, and `null` removes the withholding tax.","title":"Withholding Tax Rate Id","type":"null"}]},"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"}]},"vatex_code":{"oneOf":[{"description":"The CEF VATEX code of an exempt VAT line. Invoices and customer credits store it; other records ignore it. Omit to copy the default from the VAT rate. Set a code to override that default. Valid only when the line uses an Exempt rate.","title":"Vatex Code","maxLength":32,"type":"string"},{"description":"The CEF VATEX code of an exempt VAT line. Invoices and customer credits store it; other records ignore it. Omit to copy the default from the VAT rate. Set a code to override that default. Valid only when the line uses an Exempt rate.","title":"Vatex Code","maxLength":32,"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"},"landed_costs":{"oneOf":[{"description":"Landed-cost lines of the bill; omit to keep the stored ones","title":"Landed Costs","items":{"properties":{"landed_cost_category_id":{"description":"ID of the landed-cost category","title":"Landed Cost Category Id","type":"integer","isRequired":true,"uniqueKey":"landed_costs.oneOf.0.items.[INDEX].landed_cost_category_id","typeLabel":"integer"},"amount":{"oneOf":[{"type":"number","title":"Amount","description":"Billed landed-cost amount","isRequired":true,"uniqueKey":"landed_costs.oneOf.0.items.[INDEX].amount.oneOf.0","typeLabel":"number"},{"type":"string","title":"Amount","description":"Billed landed-cost amount","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,2}0*$","isRequired":true,"uniqueKey":"landed_costs.oneOf.0.items.[INDEX].amount.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"landed_costs.oneOf.0.items.[INDEX].amount","typeLabel":"number | string"},"id":{"oneOf":[{"description":"ID of the stored landed-cost line to keep","title":"Id","type":"integer","uniqueKey":"landed_costs.oneOf.0.items.[INDEX].id.oneOf.0","typeLabel":"integer"},{"description":"ID of the stored landed-cost line to keep","title":"Id","type":"null","uniqueKey":"landed_costs.oneOf.0.items.[INDEX].id.oneOf.1","typeLabel":"null"}],"uniqueKey":"landed_costs.oneOf.0.items.[INDEX].id","typeLabel":"integer | null"},"landed_cost_final":{"default":false,"description":"Release the unbilled estimate of the category","title":"Landed Cost Final","type":"boolean","uniqueKey":"landed_costs.oneOf.0.items.[INDEX].landed_cost_final","typeLabel":"boolean"},"memo":{"default":"","title":"Memo","type":"string","uniqueKey":"landed_costs.oneOf.0.items.[INDEX].memo","typeLabel":"string"}},"required":["landed_cost_category_id","amount"],"title":"PublicBillLandedCostIn","type":"object","uniqueKey":"landed_costs.oneOf.0.items.[INDEX]","typeLabel":"PublicBillLandedCostIn · object"},"type":"array","uniqueKey":"landed_costs.oneOf.0","typeLabel":"PublicBillLandedCostIn · object[]"},{"description":"Landed-cost lines of the bill; omit to keep the stored ones","title":"Landed Costs","items":{"properties":{"id":{"oneOf":[{"description":"ID of the stored landed-cost line to keep","title":"Id","type":"integer"},{"description":"ID of the stored landed-cost line to keep","title":"Id","type":"null"}]},"landed_cost_category_id":{"description":"ID of the landed-cost category","title":"Landed Cost Category Id","type":"integer"},"amount":{"oneOf":[{"type":"number","title":"Amount","description":"Billed landed-cost amount"},{"type":"string","title":"Amount","description":"Billed landed-cost amount","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,2}0*$"}]},"landed_cost_final":{"default":false,"description":"Release the unbilled estimate of the category","title":"Landed Cost Final","type":"boolean"},"memo":{"default":"","title":"Memo","type":"string"}},"required":["landed_cost_category_id","amount"],"title":"PublicBillLandedCostIn","type":"object"},"type":"null","uniqueKey":"landed_costs.oneOf.1","typeLabel":"null"}],"uniqueKey":"landed_costs","typeLabel":"PublicBillLandedCostIn · 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"},"source_invoice_number":{"oneOf":[{"title":"Source Invoice Number","type":"integer","uniqueKey":"source_invoice_number.oneOf.0","typeLabel":"integer"},{"title":"Source Invoice Number","type":"null","uniqueKey":"source_invoice_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"source_invoice_number","typeLabel":"integer | null"},"ap_account_id":{"oneOf":[{"description":"ID of the AP account. The default is the intercompany AP account on an intercompany bill. On other bills, it is the vendor default, then the company default, then the system AP account. The account must be active, belong to the bill company or to no company, and be accounts payable, credit card, or other current liability.\n\nAn update without this field keeps the stored account, unless it changes the vendor or the company. On v3, or with the public API breaking changes, a `PUT` without this field uses the default. Send `null` to use the default.","title":"Ap Account Id","type":"integer","uniqueKey":"ap_account_id.oneOf.0","typeLabel":"integer"},{"description":"ID of the AP account. The default is the intercompany AP account on an intercompany bill. On other bills, it is the vendor default, then the company default, then the system AP account. The account must be active, belong to the bill company or to no company, and be accounts payable, credit card, or other current liability.\n\nAn update without this field keeps the stored account, unless it changes the vendor or the company. On v3, or with the public API breaking changes, a `PUT` without this field uses the default. Send `null` to use the default.","title":"Ap Account Id","type":"null","uniqueKey":"ap_account_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"ap_account_id","typeLabel":"integer | null"},"installments":{"oneOf":[{"description":"Installment schedule of the record. Send rows to store a custom schedule; the record needs an installment term, and the amounts must add up to the record total. Paid and partially paid rows must keep their position, due date, and amount. Send `[]` to store no rows; that is valid only when the term is not an installment term.\n\nOmit this field, or send `null`, to use the schedule of the installment term. A create or `PUT` without rows rebuilds the schedule from the term, so it replaces a custom schedule. A `PATCH` without rows keeps the stored schedule while the term, `date`, and `transaction_date` stay the same and the rows still add up to the record total; otherwise it rebuilds the schedule from the term too. When some installments are already paid, a rebuild keeps the paid rows and spreads the rest of the total over the unpaid rows.","title":"Installments","items":{"properties":{"position":{"minimum":1,"title":"Position","type":"integer","isRequired":true,"uniqueKey":"installments.oneOf.0.items.[INDEX].position","typeLabel":"integer"},"due_date":{"format":"date","title":"Due Date","type":"string","isRequired":true,"uniqueKey":"installments.oneOf.0.items.[INDEX].due_date","typeLabel":"string\u003cdate>"},"amount":{"oneOf":[{"type":"number","title":"Amount","minimum":0,"isRequired":true,"uniqueKey":"installments.oneOf.0.items.[INDEX].amount.oneOf.0","typeLabel":"number"},{"type":"string","title":"Amount","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,2}0*$","isRequired":true,"uniqueKey":"installments.oneOf.0.items.[INDEX].amount.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"installments.oneOf.0.items.[INDEX].amount","typeLabel":"number | string"}},"required":["position","due_date","amount"],"title":"RecordInstallmentSchemaIn","type":"object","uniqueKey":"installments.oneOf.0.items.[INDEX]","typeLabel":"RecordInstallmentSchemaIn · object"},"type":"array","uniqueKey":"installments.oneOf.0","typeLabel":"RecordInstallmentSchemaIn · object[]"},{"description":"Installment schedule of the record. Send rows to store a custom schedule; the record needs an installment term, and the amounts must add up to the record total. Paid and partially paid rows must keep their position, due date, and amount. Send `[]` to store no rows; that is valid only when the term is not an installment term.\n\nOmit this field, or send `null`, to use the schedule of the installment term. A create or `PUT` without rows rebuilds the schedule from the term, so it replaces a custom schedule. A `PATCH` without rows keeps the stored schedule while the term, `date`, and `transaction_date` stay the same and the rows still add up to the record total; otherwise it rebuilds the schedule from the term too. When some installments are already paid, a rebuild keeps the paid rows and spreads the rest of the total over the unpaid rows.","title":"Installments","items":{"properties":{"position":{"minimum":1,"title":"Position","type":"integer"},"due_date":{"format":"date","title":"Due Date","type":"string"},"amount":{"oneOf":[{"type":"number","title":"Amount","minimum":0},{"type":"string","title":"Amount","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,2}0*$"}]}},"required":["position","due_date","amount"],"title":"RecordInstallmentSchemaIn","type":"object"},"type":"null","uniqueKey":"installments.oneOf.1","typeLabel":"null"}],"uniqueKey":"installments","typeLabel":"RecordInstallmentSchemaIn · 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"},"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":"PublicBillSchemaCreateIn","type":"object","uniqueKey":"","typeLabel":"PublicBillSchemaCreateIn · object"},"examples":{"Example":{"title":"Example","value":{"date":"2023-12-25","company_id":123,"vendor_id":123,"withholding_tax_payable_account_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,"withholding_tax_rate_id":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":{},"vatex_code":"\u003cstring>"},"is_billable":false,"billable_customer_id":123,"billable_project_id":123,"billable_markup_pct":500,"uom_id":123,"id":123,"classifications":[],"company_id":123,"custom_fields":[{}]}],"expenses":[{"position":123,"rate":123,"quantity":123,"account_number":123,"expense_description":"\u003cstring>","withholding_tax_rate_id":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":{},"vatex_code":"\u003cstring>"},"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":[{}]}],"landed_costs":[{"landed_cost_category_id":123,"amount":123,"id":123,"landed_cost_final":false,"memo":""}],"due_date":"2023-12-25","term_id":123,"reference_number":"","purchase_order_number":123,"source_invoice_number":123,"ap_account_id":123,"installments":[{"position":2,"due_date":"2023-12-25","amount":1}],"attachments":[],"record_status":"posted"}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"94b94918-b6a4-447b-bbc9-717b5c7f1f03":{"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.","x-mcp-restricted":"tax_id","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.","x-mcp-restricted":"tax_id","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.","x-mcp-restricted":"tax_id","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.","x-mcp-restricted":"tax_id","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"},"ap_account_id":{"title":"Ap Account Id","type":"integer","isRequired":true,"uniqueKey":"ap_account_id","typeLabel":"integer"},"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"},"items":{"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"},"payable_amount":{"description":"Line amount minus the withheld amount","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,2}0*$","title":"Payable Amount","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].payable_amount","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"},"withholding_tax_rate_id":{"oneOf":[{"description":"ID of the withholding tax rate of the line, or `null` when the line has no withholding tax.","title":"Withholding Tax Rate Id","type":"integer","uniqueKey":"\\items.items.[INDEX].withholding_tax_rate_id.oneOf.0","typeLabel":"integer"},{"description":"ID of the withholding tax rate of the line, or `null` when the line has no withholding tax.","title":"Withholding Tax Rate Id","type":"null","uniqueKey":"\\items.items.[INDEX].withholding_tax_rate_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].withholding_tax_rate_id","typeLabel":"integer | null"},"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"},"vatex_code":{"oneOf":[{"description":"The CEF VATEX code of an exempt VAT line. Invoices and customer credits store it; other records ignore it. Omit to copy the default from the VAT rate. Set a code to override that default. Valid only when the line uses an Exempt rate.","title":"Vatex Code","maxLength":32,"type":"string","uniqueKey":"\\items.items.[INDEX].tax.oneOf.0.vatex_code.oneOf.0","typeLabel":"string"},{"description":"The CEF VATEX code of an exempt VAT line. Invoices and customer credits store it; other records ignore it. Omit to copy the default from the VAT rate. Set a code to override that default. Valid only when the line uses an Exempt rate.","title":"Vatex Code","maxLength":32,"type":"null","uniqueKey":"\\items.items.[INDEX].tax.oneOf.0.vatex_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].tax.oneOf.0.vatex_code","typeLabel":"string | 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"},"uom_id":{"oneOf":[{"title":"Uom Id","type":"integer","uniqueKey":"\\items.items.[INDEX].uom_id.oneOf.0","typeLabel":"integer"},{"title":"Uom Id","type":"null","uniqueKey":"\\items.items.[INDEX].uom_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].uom_id","typeLabel":"integer | 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","inventory_receipt","inventory_fulfillment"],"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[]"},"withholding_tax":{"oneOf":[{"type":"object","title":"LineWithholdingTaxSchemaOut","description":"The withholding tax of the line, or `null` when the line has none. `amount` is the withheld amount in the record currency.","required":["rate_id","name","rate","amount"],"properties":{"rate_id":{"title":"Rate Id","type":"integer","isRequired":true,"uniqueKey":"\\items.items.[INDEX].withholding_tax.oneOf.0.rate_id","typeLabel":"integer"},"name":{"title":"Name","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].withholding_tax.oneOf.0.name","typeLabel":"string"},"rate":{"examples":["0.100000"],"pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Rate","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].withholding_tax.oneOf.0.rate","typeLabel":"string"},"amount":{"pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,2}0*$","title":"Amount","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].withholding_tax.oneOf.0.amount","typeLabel":"string"}},"uniqueKey":"\\items.items.[INDEX].withholding_tax.oneOf.0","typeLabel":"LineWithholdingTaxSchemaOut · object"},{"type":"null","description":"The withholding tax of the line, or `null` when the line has none. `amount` is the withheld amount in the record currency.","uniqueKey":"\\items.items.[INDEX].withholding_tax.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].withholding_tax","typeLabel":"LineWithholdingTaxSchemaOut · object | null"},"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"},"uom_code":{"oneOf":[{"title":"Uom Code","type":"string","uniqueKey":"\\items.items.[INDEX].uom_code.oneOf.0","typeLabel":"string"},{"title":"Uom Code","type":"null","uniqueKey":"\\items.items.[INDEX].uom_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].uom_code","typeLabel":"string | null"},"base_quantity":{"oneOf":[{"title":"Base Quantity","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","type":"string","uniqueKey":"\\items.items.[INDEX].base_quantity.oneOf.0","typeLabel":"string"},{"title":"Base Quantity","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","type":"null","uniqueKey":"\\items.items.[INDEX].base_quantity.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].base_quantity","typeLabel":"string | null"}},"required":["id","position","item_id","memo","rate","quantity","payable_amount","net_amount","tax_amount","gross_amount","amount"],"title":"PublicBillItemOut","type":"object","uniqueKey":"\\items.items.[INDEX]","typeLabel":"PublicBillItemOut · object"},"title":"Items","type":"array","isRequired":true,"uniqueKey":"\\items","typeLabel":"PublicBillItemOut · object[]"},"expenses":{"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"},"payable_amount":{"description":"Line amount minus the withheld amount","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,2}0*$","title":"Payable Amount","type":"string","isRequired":true,"uniqueKey":"expenses.items.[INDEX].payable_amount","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"},"withholding_tax_rate_id":{"oneOf":[{"description":"ID of the withholding tax rate of the line, or `null` when the line has no withholding tax.","title":"Withholding Tax Rate Id","type":"integer","uniqueKey":"expenses.items.[INDEX].withholding_tax_rate_id.oneOf.0","typeLabel":"integer"},{"description":"ID of the withholding tax rate of the line, or `null` when the line has no withholding tax.","title":"Withholding Tax Rate Id","type":"null","uniqueKey":"expenses.items.[INDEX].withholding_tax_rate_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"expenses.items.[INDEX].withholding_tax_rate_id","typeLabel":"integer | null"},"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"},"vatex_code":{"oneOf":[{"description":"The CEF VATEX code of an exempt VAT line. Invoices and customer credits store it; other records ignore it. Omit to copy the default from the VAT rate. Set a code to override that default. Valid only when the line uses an Exempt rate.","title":"Vatex Code","maxLength":32,"type":"string","uniqueKey":"expenses.items.[INDEX].tax.oneOf.0.vatex_code.oneOf.0","typeLabel":"string"},{"description":"The CEF VATEX code of an exempt VAT line. Invoices and customer credits store it; other records ignore it. Omit to copy the default from the VAT rate. Set a code to override that default. Valid only when the line uses an Exempt rate.","title":"Vatex Code","maxLength":32,"type":"null","uniqueKey":"expenses.items.[INDEX].tax.oneOf.0.vatex_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"expenses.items.[INDEX].tax.oneOf.0.vatex_code","typeLabel":"string | 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","inventory_receipt","inventory_fulfillment"],"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[]"},"withholding_tax":{"oneOf":[{"type":"object","title":"LineWithholdingTaxSchemaOut","description":"The withholding tax of the line, or `null` when the line has none. `amount` is the withheld amount in the record currency.","required":["rate_id","name","rate","amount"],"properties":{"rate_id":{"title":"Rate Id","type":"integer","isRequired":true,"uniqueKey":"expenses.items.[INDEX].withholding_tax.oneOf.0.rate_id","typeLabel":"integer"},"name":{"title":"Name","type":"string","isRequired":true,"uniqueKey":"expenses.items.[INDEX].withholding_tax.oneOf.0.name","typeLabel":"string"},"rate":{"examples":["0.100000"],"pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Rate","type":"string","isRequired":true,"uniqueKey":"expenses.items.[INDEX].withholding_tax.oneOf.0.rate","typeLabel":"string"},"amount":{"pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,2}0*$","title":"Amount","type":"string","isRequired":true,"uniqueKey":"expenses.items.[INDEX].withholding_tax.oneOf.0.amount","typeLabel":"string"}},"uniqueKey":"expenses.items.[INDEX].withholding_tax.oneOf.0","typeLabel":"LineWithholdingTaxSchemaOut · object"},{"type":"null","description":"The withholding tax of the line, or `null` when the line has none. `amount` is the withheld amount in the record currency.","uniqueKey":"expenses.items.[INDEX].withholding_tax.oneOf.1","typeLabel":"null"}],"uniqueKey":"expenses.items.[INDEX].withholding_tax","typeLabel":"LineWithholdingTaxSchemaOut · object | null"},"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","payable_amount","net_amount","tax_amount","gross_amount","amount"],"title":"PublicBillExpenseOut","type":"object","uniqueKey":"expenses.items.[INDEX]","typeLabel":"PublicBillExpenseOut · object"},"title":"Expenses","type":"array","isRequired":true,"uniqueKey":"expenses","typeLabel":"PublicBillExpenseOut · object[]"},"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"},"tax_total":{"description":"Sum of line-item tax amounts, net of discount-line tax.","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,2}0*$","title":"Tax Total","type":"string","isRequired":true,"uniqueKey":"tax_total","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","inventory_receipt","inventory_fulfillment"],"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[]"},"withholding_tax_total":{"default":"0.00","description":"Sum of the withheld amounts of the lines","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,2}0*$","title":"Withholding Tax Total","type":"string","uniqueKey":"withholding_tax_total","typeLabel":"string"},"withholding_tax_payable_account_id":{"oneOf":[{"description":"ID of the liability account for the withheld amounts of the record.","title":"Withholding Tax Payable Account Id","type":"integer","uniqueKey":"withholding_tax_payable_account_id.oneOf.0","typeLabel":"integer"},{"description":"ID of the liability account for the withheld amounts of the record.","title":"Withholding Tax Payable Account Id","type":"null","uniqueKey":"withholding_tax_payable_account_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"withholding_tax_payable_account_id","typeLabel":"integer | null"},"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","x-mcp-restricted":"tax_id","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","x-mcp-restricted":"tax_id","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":"Rejector info from pre-serialized dict, with the reason of that rejection.","required":["id","first_name","last_name","email","full_name"],"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"},"avatar_url":{"oneOf":[{"title":"Avatar Url","type":"string","uniqueKey":"rejected_by.oneOf.0.avatar_url.oneOf.0","typeLabel":"string"},{"title":"Avatar Url","type":"null","uniqueKey":"rejected_by.oneOf.0.avatar_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"rejected_by.oneOf.0.avatar_url","typeLabel":"string | null"},"rejection_reason":{"oneOf":[{"title":"Rejection Reason","type":"string","uniqueKey":"rejected_by.oneOf.0.rejection_reason.oneOf.0","typeLabel":"string"},{"title":"Rejection Reason","type":"null","uniqueKey":"rejected_by.oneOf.0.rejection_reason.oneOf.1","typeLabel":"null"}],"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"},"early_payment_discount_date":{"oneOf":[{"description":"Last date to take the early-payment discount. Empty when the record has no early-payment term.","title":"Early Payment Discount Date","format":"date","type":"string","uniqueKey":"early_payment_discount_date.oneOf.0","typeLabel":"string\u003cdate>"},{"description":"Last date to take the early-payment discount. Empty when the record has no early-payment term.","title":"Early Payment Discount Date","format":"date","type":"null","uniqueKey":"early_payment_discount_date.oneOf.1","typeLabel":"null"}],"uniqueKey":"early_payment_discount_date","typeLabel":"string\u003cdate> | null"},"early_payment_discount_amount":{"oneOf":[{"description":"Discount amount in the record currency. Empty when the record has no early-payment term.","title":"Early Payment Discount Amount","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,2}0*$","type":"string","uniqueKey":"early_payment_discount_amount.oneOf.0","typeLabel":"string"},{"description":"Discount amount in the record currency. Empty when the record has no early-payment term.","title":"Early Payment Discount Amount","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,2}0*$","type":"null","uniqueKey":"early_payment_discount_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"early_payment_discount_amount","typeLabel":"string | 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"},"installments":{"default":[],"description":"Installment schedule of the record, ordered by position. Empty when the term is not an installment term. `amount_paid` fills the earliest installment first.","items":{"properties":{"id":{"title":"Id","type":"integer","isRequired":true,"uniqueKey":"installments.items.[INDEX].id","typeLabel":"integer"},"position":{"title":"Position","type":"integer","isRequired":true,"uniqueKey":"installments.items.[INDEX].position","typeLabel":"integer"},"due_date":{"format":"date","title":"Due Date","type":"string","isRequired":true,"uniqueKey":"installments.items.[INDEX].due_date","typeLabel":"string\u003cdate>"},"amount":{"pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,2}0*$","title":"Amount","type":"string","isRequired":true,"uniqueKey":"installments.items.[INDEX].amount","typeLabel":"string"},"amount_paid":{"pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,2}0*$","title":"Amount Paid","type":"string","isRequired":true,"uniqueKey":"installments.items.[INDEX].amount_paid","typeLabel":"string"},"remaining":{"pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,2}0*$","title":"Remaining","type":"string","isRequired":true,"uniqueKey":"installments.items.[INDEX].remaining","typeLabel":"string"},"status":{"enum":["open","partially_paid","paid"],"title":"InstallmentStatus","type":"string","isRequired":true,"uniqueKey":"installments.items.[INDEX].status","typeLabel":"enum\u003cstring>"}},"required":["id","position","due_date","amount","amount_paid","remaining","status"],"title":"RecordInstallmentSchemaOut","type":"object","uniqueKey":"installments.items.[INDEX]","typeLabel":"RecordInstallmentSchemaOut · object"},"title":"Installments","type":"array","uniqueKey":"installments","typeLabel":"RecordInstallmentSchemaOut · object[]"},"source_invoice_number":{"oneOf":[{"title":"Source Invoice Number","type":"integer","uniqueKey":"source_invoice_number.oneOf.0","typeLabel":"integer"},{"title":"Source Invoice Number","type":"null","uniqueKey":"source_invoice_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"source_invoice_number","typeLabel":"integer | null"},"landed_costs":{"default":[],"items":{"properties":{"id":{"title":"Id","type":"integer","isRequired":true,"uniqueKey":"landed_costs.items.[INDEX].id","typeLabel":"integer"},"landed_cost_category_id":{"description":"ID of the landed-cost category","title":"Landed Cost Category Id","type":"integer","isRequired":true,"uniqueKey":"landed_costs.items.[INDEX].landed_cost_category_id","typeLabel":"integer"},"amount":{"description":"Billed landed-cost amount","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,2}0*$","title":"Amount","type":"string","isRequired":true,"uniqueKey":"landed_costs.items.[INDEX].amount","typeLabel":"string"},"landed_cost_final":{"default":false,"description":"Release the unbilled estimate of the category","title":"Landed Cost Final","type":"boolean","uniqueKey":"landed_costs.items.[INDEX].landed_cost_final","typeLabel":"boolean"},"memo":{"default":"","title":"Memo","type":"string","uniqueKey":"landed_costs.items.[INDEX].memo","typeLabel":"string"}},"required":["id","landed_cost_category_id","amount"],"title":"PublicBillLandedCostOut","type":"object","uniqueKey":"landed_costs.items.[INDEX]","typeLabel":"PublicBillLandedCostOut · object"},"title":"Landed Costs","type":"array","uniqueKey":"landed_costs","typeLabel":"PublicBillLandedCostOut · object[]"}},"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","ap_account_id","currency_iso_4217_code","exchange_rate","memo","amount","amount_due","paid_total","items","expenses","record_status","recurring_record_number","purchase_order_number","reference_number","tax_total","created_at","updated_at"],"title":"PublicBillSchemaOut","type":"object","uniqueKey":"","typeLabel":"PublicBillSchemaOut · 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>","ap_account_id":123,"currency_iso_4217_code":"AED","exchange_rate":"\u003cstring>","memo":"\u003cstring>","amount":"\u003cstring>","amount_due":"\u003cstring>","paid_total":"\u003cstring>","items":[{"id":123,"position":123,"item_id":123,"memo":"\u003cstring>","rate":"\u003cstring>","quantity":"\u003cstring>","payable_amount":"\u003cstring>","net_amount":"\u003cstring>","tax_amount":"\u003cstring>","gross_amount":"\u003cstring>","amount":"\u003cstring>","withholding_tax_rate_id":123,"tax":{"code":"\u003cstring>","rate":"\u003cstring>","amount":"\u003cstring>","is_taxable":true,"tax_exempt_amount":"\u003cstring>","vat_rate_id":123,"gst_tax_rate_id":123,"tax_metadata":{},"vatex_code":"\u003cstring>","tax_components":[{"component_type":"CGST","rate":"\u003cstring>","amount":"\u003cstring>","position":123,"region":"\u003cstring>"}],"amount_with_tax":"\u003cstring>","rate_name":"\u003cstring>","rate_description":"\u003cstring>","rate_type":"\u003cstring>","tax_treatment":"\u003cstring>","valid_to":"2023-12-25"},"is_billable":false,"billable_customer_id":123,"billable_project_id":123,"billable_markup_pct":"\u003cstring>","uom_id":123,"classifications":[],"company_id":123,"custom_fields":[],"item_type":"\u003cstring>","hsn_sac_code":"\u003cstring>","amortizable_assets":[],"fixed_assets":[],"withholding_tax":{"rate_id":123,"name":"\u003cstring>","rate":"0.100000","amount":"\u003cstring>"},"billable_customer_name":"\u003cstring>","billable_project_name":"\u003cstring>","uom_code":"\u003cstring>","base_quantity":"\u003cstring>"}],"expenses":[{"id":123,"position":123,"rate":"\u003cstring>","quantity":"\u003cstring>","account_number":123,"expense_description":"\u003cstring>","payable_amount":"\u003cstring>","net_amount":"\u003cstring>","tax_amount":"\u003cstring>","gross_amount":"\u003cstring>","amount":"\u003cstring>","withholding_tax_rate_id":123,"tax":{"code":"\u003cstring>","rate":"\u003cstring>","amount":"\u003cstring>","is_taxable":true,"tax_exempt_amount":"\u003cstring>","vat_rate_id":123,"gst_tax_rate_id":123,"tax_metadata":{},"vatex_code":"\u003cstring>","tax_components":[{"component_type":"CGST","rate":"\u003cstring>","amount":"\u003cstring>","position":123,"region":"\u003cstring>"}],"amount_with_tax":"\u003cstring>","rate_name":"\u003cstring>","rate_description":"\u003cstring>","rate_type":"\u003cstring>","tax_treatment":"\u003cstring>","valid_to":"2023-12-25"},"is_billable":false,"billable_customer_id":123,"billable_project_id":123,"billable_markup_pct":"\u003cstring>","special_tax_treatment":"IMPORT_VAT","classifications":[],"customer_id":123,"vendor_id":123,"company_id":123,"custom_fields":[],"amortizable_assets":[],"fixed_assets":[],"withholding_tax":{"rate_id":123,"name":"\u003cstring>","rate":"0.100000","amount":"\u003cstring>"},"billable_customer_name":"\u003cstring>","billable_project_name":"\u003cstring>","customer_name":"\u003cstring>","vendor_name":"\u003cstring>"}],"record_status":"draft","recurring_record_number":123,"purchase_order_number":123,"reference_number":"\u003cstring>","tax_total":"\u003cstring>","created_at":"2023-11-07T05:31:56Z","updated_at":"2023-11-07T05:31:56Z","custom_fields":[],"withholding_tax_total":"0.00","withholding_tax_payable_account_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>"},"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>","avatar_url":"\u003cstring>","rejection_reason":"\u003cstring>"},"early_payment_discount_date":"2023-12-25","early_payment_discount_amount":"\u003cstring>","code":"\u003cstring>","installments":[],"source_invoice_number":123,"landed_costs":[]}}},"exampleType":"generated"}},"exampleType":"generated"},"83658084-bfa0-46e8-9bff-da6b4583f369":{"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"},"5774723e-c9d6-4f1c-aa2e-95fde2febed5":{"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"},"381a663d-c1e5-4420-a813-4106802737a2":{"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"},"ace9a54b-e04a-4aa8-b85f-80bd558f98be":{"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":{"1f99ad6c-bd9b-4d4e-8a6d-d559c404f0e5":{"Key":{"name":"X-API-KEY","type":"apiKey","in":"header"}}},"servers":{"f46338e2-2602-41e5-8b56-217a1b4bb40f":{"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-v1.json"},"subdomain":"entryinc","siteName":"DualEntry Documentation","title":"Create Bill record (v1) - DualEntry Documentation","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{"V2":{"href":"/developers/api/resources-v2/bills/create-bill-record","matchLevel":1},"V1":{"href":"/developers/api/resources-v1/bills/create-bill-record","matchLevel":0},"V3-alpha":{"href":"/developers/api/resources-v3-alpha/bills/list-bills-lines","matchLevel":2}},"firstHrefInLanguage":{}},"originalFileLocation":"developers/api/resources-v1/bills/create-bill-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=\"Create a new Bill record with the provided data.\">\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=\"Create Bill record (v1) - DualEntry Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create a new Bill record with the provided data.\">\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-v2/bills/create-bill-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=Create+Bill+record+%28v1%29\u0026amp;description=Create+a+new+Bill+record+with+the+provided+data.\u0026amp;theme=e9c4d4c317038852e137bd1c\u0026amp;signature=d759e2b8438aa25cfad2cbe996c02322795b2daa86b1644dc0f5a174fa7de0c7\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create Bill record (v1) - DualEntry Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create a new Bill record with the provided data.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://entryinc.mintlify.site/_mintlify/api/og/v2?division=Bills\u0026amp;title=Create+Bill+record+%28v1%29\u0026amp;description=Create+a+new+Bill+record+with+the+provided+data.\u0026amp;theme=e9c4d4c317038852e137bd1c\u0026amp;signature=d759e2b8438aa25cfad2cbe996c02322795b2daa86b1644dc0f5a174fa7de0c7\">\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-v2/bills/create-bill-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-v1/bills/create-bill-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-v2/bills/create-bill-record#webpage\",\"url\":\"https://docs.dualentry.com/developers/api/resources-v2/bills/create-bill-record\",\"name\":\"Create Bill record (v1)\",\"description\":\"Create a new Bill record with the provided data.\",\"isPartOf\":{\"@id\":\"https://docs.dualentry.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.dualentry.com/developers/api/resources-v2/bills/create-bill-record#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.dualentry.com/developers/api/resources-v2/bills/create-bill-record#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Money Out\",\"item\":\"https://docs.dualentry.com/developers/api/resources-v1/bills/list-bill-records\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Bills\",\"item\":\"https://docs.dualentry.com/developers/api/resources-v1/bills/list-bill-records\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Create Bill record (v1)\",\"item\":\"https://docs.dualentry.com/developers/api/resources-v2/bills/create-bill-record\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.dualentry.com/developers/api/resources-v2/bills/create-bill-record#apireference\",\"headline\":\"Create Bill record (v1)\",\"name\":\"Create Bill record (v1)\",\"description\":\"Create a new Bill record with the provided data.\",\"url\":\"https://docs.dualentry.com/developers/api/resources-v2/bills/create-bill-record\",\"mainEntityOfPage\":{\"@id\":\"https://docs.dualentry.com/developers/api/resources-v2/bills/create-bill-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\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"DualEntry Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/developers/api/resources-v1/bills/create-bill-record.md","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/create-bill-record"}]},{"version":"V1","tag":"Legacy","groups":[{"group":"Overview","icon":"circle-info","pages":[{"title":"V1 API Reference","sidebarTitle":"Overview","href":"/developers/api/resources-v1"}]},{"group":"Organization","pages":[{"group":"Companies","pages":[{"title":"List companies (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/companies/","href":"/developers/api/resources-v1/companies/list-companies"},{"title":"Get company (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/companies/{company_id}/","href":"/developers/api/resources-v1/companies/get-company"},{"title":"Update company (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json put /public/v1/companies/{company_id}/","href":"/developers/api/resources-v1/companies/update-company"},{"title":"Update company (partial) (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json patch /public/v1/companies/{company_id}/","href":"/developers/api/resources-v1/companies/update-company-partial"}]}]},{"group":"Accounting Setup","pages":[{"group":"Accounts","pages":[{"title":"List accounts (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/accounts/","href":"/developers/api/resources-v1/accounts/list-accounts"},{"title":"Create account (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json post /public/v1/accounts/","href":"/developers/api/resources-v1/accounts/create-account"},{"title":"Get account (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/accounts/{account_number}/","href":"/developers/api/resources-v1/accounts/get-account"},{"title":"Update account (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json put /public/v1/accounts/{account_number}/","href":"/developers/api/resources-v1/accounts/update-account"},{"title":"Update account (partial) (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json patch /public/v1/accounts/{account_number}/","href":"/developers/api/resources-v1/accounts/update-account-partial"}]},{"group":"Classifications","pages":[{"title":"List Classifications (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/classifications/","href":"/developers/api/resources-v1/classifications/list-classifications"},{"title":"Create Classification (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json post /public/v1/classifications/","href":"/developers/api/resources-v1/classifications/create-classification"},{"title":"Get Classification (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/classifications/{classification_id}/","href":"/developers/api/resources-v1/classifications/get-classification"},{"title":"Update Classification (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json put /public/v1/classifications/{classification_id}/","href":"/developers/api/resources-v1/classifications/update-classification"},{"title":"Update classification (partial) (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json patch /public/v1/classifications/{classification_id}/","href":"/developers/api/resources-v1/classifications/update-classification-partial"},{"title":"Delete Classification (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json delete /public/v1/classifications/{classification_id}/","href":"/developers/api/resources-v1/classifications/delete-classification"}]},{"group":"Classifications Lines","pages":[{"title":"List Classification Lines (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/classifications-lines/","href":"/developers/api/resources-v1/classifications-lines/list-classification-lines"}]},{"group":"Custom Fields","pages":[{"title":"List custom fields (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/custom-fields/","href":"/developers/api/resources-v1/custom-fields/list-custom-fields"},{"title":"Create custom field (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json post /public/v1/custom-fields/","href":"/developers/api/resources-v1/custom-fields/create-custom-field"},{"title":"Get custom field (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/custom-fields/{custom_field_id}/","href":"/developers/api/resources-v1/custom-fields/get-custom-field"},{"title":"Update custom field (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json put /public/v1/custom-fields/{custom_field_id}/","href":"/developers/api/resources-v1/custom-fields/update-custom-field"},{"title":"Delete custom field (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json delete /public/v1/custom-fields/{custom_field_id}/","href":"/developers/api/resources-v1/custom-fields/delete-custom-field"}]},{"group":"Exchange Rates","pages":[{"title":"List exchange rates (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/exchange_rates/","href":"/developers/api/resources-v1/exchange-rates/list-exchange-rates"}]},{"group":"Items","pages":[{"title":"List Items (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/items/","href":"/developers/api/resources-v1/items/list-items"},{"title":"Create Item (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json post /public/v1/items/","href":"/developers/api/resources-v1/items/create-item"},{"title":"Get Item (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/items/{item_id}/","href":"/developers/api/resources-v1/items/get-item"},{"title":"Update Item (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json put /public/v1/items/{item_id}/","href":"/developers/api/resources-v1/items/update-item"},{"title":"Update Item (partial) (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json patch /public/v1/items/{item_id}/","href":"/developers/api/resources-v1/items/update-item-partial"},{"title":"Archive Item (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json delete /public/v1/items/{item_id}/","href":"/developers/api/resources-v1/items/archive-item"}]}]},{"group":"Transactions","pages":[{"group":"Journal Entries","pages":[{"title":"List JournalEntry records (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/journal-entries/","href":"/developers/api/resources-v1/journal-entries/list-journalentry-records"},{"title":"Create JournalEntry record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json post /public/v1/journal-entries/","href":"/developers/api/resources-v1/journal-entries/create-journalentry-record"},{"title":"Get JournalEntry record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/journal-entries/{record_number}/","href":"/developers/api/resources-v1/journal-entries/get-journalentry-record"},{"title":"Update JournalEntry record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json put /public/v1/journal-entries/{record_number}/","href":"/developers/api/resources-v1/journal-entries/update-journalentry-record"},{"title":"Create JournalEntry record attachments (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json post /public/v1/journal-entries/{record_number}/attachments/","href":"/developers/api/resources-v1/journal-entries/create-journalentry-record-attachments"}]},{"group":"Recurring Journal Entries","pages":[{"title":"List RecurringJournalEntry records (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/recurring/journal-entries/","href":"/developers/api/resources-v1/recurring-journal-entries/list-recurringjournalentry-records"},{"title":"Create RecurringJournalEntry record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json post /public/v1/recurring/journal-entries/","href":"/developers/api/resources-v1/recurring-journal-entries/create-recurringjournalentry-record"},{"title":"Get RecurringJournalEntry record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/recurring/journal-entries/{record_number}/","href":"/developers/api/resources-v1/recurring-journal-entries/get-recurringjournalentry-record"},{"title":"Update RecurringJournalEntry record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json put /public/v1/recurring/journal-entries/{record_number}/","href":"/developers/api/resources-v1/recurring-journal-entries/update-recurringjournalentry-record"},{"title":"Delete RecurringJournalEntry record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json delete /public/v1/recurring/journal-entries/{record_number}/","href":"/developers/api/resources-v1/recurring-journal-entries/delete-recurringjournalentry-record"}]},{"group":"Statistical Journals","pages":[{"title":"List StatisticalJournal records (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/statistical-journals/","href":"/developers/api/resources-v1/statistical-journals/list-statisticaljournal-records"},{"title":"Create StatisticalJournal record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json post /public/v1/statistical-journals/","href":"/developers/api/resources-v1/statistical-journals/create-statisticaljournal-record"},{"title":"Get StatisticalJournal record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/statistical-journals/{record_number}/","href":"/developers/api/resources-v1/statistical-journals/get-statisticaljournal-record"},{"title":"Update StatisticalJournal record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json put /public/v1/statistical-journals/{record_number}/","href":"/developers/api/resources-v1/statistical-journals/update-statisticaljournal-record"},{"title":"Create StatisticalJournal record attachments (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json post /public/v1/statistical-journals/{record_number}/attachments/","href":"/developers/api/resources-v1/statistical-journals/create-statisticaljournal-record-attachments"}]}]},{"group":"Money In","pages":[{"group":"Cash Sales","pages":[{"title":"List CashSale records (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/cash-sales/","href":"/developers/api/resources-v1/cash-sales/list-cashsale-records"},{"title":"Create CashSale record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json post /public/v1/cash-sales/","href":"/developers/api/resources-v1/cash-sales/create-cashsale-record"},{"title":"Get CashSale record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/cash-sales/{record_number}/","href":"/developers/api/resources-v1/cash-sales/get-cashsale-record"},{"title":"Update CashSale record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json put /public/v1/cash-sales/{record_number}/","href":"/developers/api/resources-v1/cash-sales/update-cashsale-record"},{"title":"Create CashSale record attachments (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json post /public/v1/cash-sales/{record_number}/attachments/","href":"/developers/api/resources-v1/cash-sales/create-cashsale-record-attachments"}]},{"group":"Contracts","pages":[{"title":"List Contracts (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/contracts/","href":"/developers/api/resources-v1/contracts/list-contracts"},{"title":"Create Contract (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json post /public/v1/contracts/","href":"/developers/api/resources-v1/contracts/create-contract"},{"title":"Preview Contract Schedule (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json post /public/v1/contracts/actions/preview_schedule/","href":"/developers/api/resources-v1/contracts/preview-contract-schedule"},{"title":"Get Contract (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/contracts/{record_id}/","href":"/developers/api/resources-v1/contracts/get-contract"},{"title":"List milestones for a contract (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/contracts/{contract_id}/milestones/","href":"/developers/api/resources-v1/contracts/list-milestones-for-a-contract"},{"title":"List usage records for a contract (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/contracts/{contract_id}/usage/","href":"/developers/api/resources-v1/contracts/list-usage-records-for-a-contract"},{"title":"Upsert usage records for contract obligations (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json post /public/v1/contracts/{contract_id}/usage/bulk-upsert/","href":"/developers/api/resources-v1/contracts/upsert-usage-records-for-contract-obligations"}]},{"group":"Customer Credits","pages":[{"title":"List CustomerCredit records (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/customer-credits/","href":"/developers/api/resources-v1/customer-credits/list-customercredit-records"},{"title":"Create CustomerCredit record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json post /public/v1/customer-credits/","href":"/developers/api/resources-v1/customer-credits/create-customercredit-record"},{"title":"Get CustomerCredit record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/customer-credits/{record_number}/","href":"/developers/api/resources-v1/customer-credits/get-customercredit-record"},{"title":"Update CustomerCredit record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json put /public/v1/customer-credits/{record_number}/","href":"/developers/api/resources-v1/customer-credits/update-customercredit-record"},{"title":"Update CustomerCredit record (partial) (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json patch /public/v1/customer-credits/{record_number}/","href":"/developers/api/resources-v1/customer-credits/update-customercredit-record-partial"},{"title":"Download CustomerCredit PDF (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/customer-credits/{record_number}/pdf/","href":"/developers/api/resources-v1/customer-credits/download-customercredit-pdf"}]},{"group":"Customer Deposits","pages":[{"title":"List CustomerDeposit records (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/customer-deposits/","href":"/developers/api/resources-v1/customer-deposits/list-customerdeposit-records"},{"title":"Create CustomerDeposit record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json post /public/v1/customer-deposits/","href":"/developers/api/resources-v1/customer-deposits/create-customerdeposit-record"},{"title":"Get CustomerDeposit record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/customer-deposits/{record_number}/","href":"/developers/api/resources-v1/customer-deposits/get-customerdeposit-record"},{"title":"Update CustomerDeposit record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json put /public/v1/customer-deposits/{record_number}/","href":"/developers/api/resources-v1/customer-deposits/update-customerdeposit-record"},{"title":"Create CustomerDeposit record attachments (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json post /public/v1/customer-deposits/{record_number}/attachments/","href":"/developers/api/resources-v1/customer-deposits/create-customerdeposit-record-attachments"}]},{"group":"Customer Payments","pages":[{"title":"List CustomerPayment records (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/customer-payments/","href":"/developers/api/resources-v1/customer-payments/list-customerpayment-records"},{"title":"Create CustomerPayment record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json post /public/v1/customer-payments/","href":"/developers/api/resources-v1/customer-payments/create-customerpayment-record"},{"title":"Get CustomerPayment record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/customer-payments/{record_number}/","href":"/developers/api/resources-v1/customer-payments/get-customerpayment-record"},{"title":"Update CustomerPayment record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json put /public/v1/customer-payments/{record_number}/","href":"/developers/api/resources-v1/customer-payments/update-customerpayment-record"},{"title":"Update CustomerPayment record (partial) (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json patch /public/v1/customer-payments/{record_number}/","href":"/developers/api/resources-v1/customer-payments/update-customerpayment-record-partial"}]},{"group":"Customer Prepayment Applications","pages":[{"title":"List CustomerPrepaymentApplication records (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/customer-prepayment-applications/","href":"/developers/api/resources-v1/customer-prepayment-applications/list-customerprepaymentapplication-records"},{"title":"Create CustomerPrepaymentApplication record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json post /public/v1/customer-prepayment-applications/","href":"/developers/api/resources-v1/customer-prepayment-applications/create-customerprepaymentapplication-record"},{"title":"Get CustomerPrepaymentApplication record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/customer-prepayment-applications/{record_number}/","href":"/developers/api/resources-v1/customer-prepayment-applications/get-customerprepaymentapplication-record"},{"title":"Update CustomerPrepaymentApplication record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json put /public/v1/customer-prepayment-applications/{record_number}/","href":"/developers/api/resources-v1/customer-prepayment-applications/update-customerprepaymentapplication-record"},{"title":"Update CustomerPrepaymentApplication record (partial) (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json patch /public/v1/customer-prepayment-applications/{record_number}/","href":"/developers/api/resources-v1/customer-prepayment-applications/update-customerprepaymentapplication-record-partial"},{"title":"Create CustomerPrepaymentApplication record attachments (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json post /public/v1/customer-prepayment-applications/{record_number}/attachments/","href":"/developers/api/resources-v1/customer-prepayment-applications/create-customerprepaymentapplication-record-attachments"}]},{"group":"Customer Prepayments","pages":[{"title":"List CustomerPrepayment records (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/customer-prepayments/","href":"/developers/api/resources-v1/customer-prepayments/list-customerprepayment-records"},{"title":"Create CustomerPrepayment record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json post /public/v1/customer-prepayments/","href":"/developers/api/resources-v1/customer-prepayments/create-customerprepayment-record"},{"title":"Get CustomerPrepayment record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/customer-prepayments/{record_number}/","href":"/developers/api/resources-v1/customer-prepayments/get-customerprepayment-record"},{"title":"Update CustomerPrepayment record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json put /public/v1/customer-prepayments/{record_number}/","href":"/developers/api/resources-v1/customer-prepayments/update-customerprepayment-record"},{"title":"Update CustomerPrepayment record (partial) (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json patch /public/v1/customer-prepayments/{record_number}/","href":"/developers/api/resources-v1/customer-prepayments/update-customerprepayment-record-partial"},{"title":"Create CustomerPrepayment record attachments (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json post /public/v1/customer-prepayments/{record_number}/attachments/","href":"/developers/api/resources-v1/customer-prepayments/create-customerprepayment-record-attachments"}]},{"group":"Customer Refunds","pages":[{"title":"List CustomerRefund records (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/customer-refunds/","href":"/developers/api/resources-v1/customer-refunds/list-customerrefund-records"},{"title":"Create CustomerRefund record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json post /public/v1/customer-refunds/","href":"/developers/api/resources-v1/customer-refunds/create-customerrefund-record"},{"title":"Get CustomerRefund record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/customer-refunds/{record_number}/","href":"/developers/api/resources-v1/customer-refunds/get-customerrefund-record"},{"title":"Update CustomerRefund record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json put /public/v1/customer-refunds/{record_number}/","href":"/developers/api/resources-v1/customer-refunds/update-customerrefund-record"},{"title":"Create CustomerRefund record attachments (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json post /public/v1/customer-refunds/{record_number}/attachments/","href":"/developers/api/resources-v1/customer-refunds/create-customerrefund-record-attachments"}]},{"group":"Customers","pages":[{"title":"List customers (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/customers/","href":"/developers/api/resources-v1/customers/list-customers"},{"title":"Create customer (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json post /public/v1/customers/","href":"/developers/api/resources-v1/customers/create-customer"},{"title":"Merge customers (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json post /public/v1/customers/merge/","href":"/developers/api/resources-v1/customers/merge-customers"},{"title":"Get customer (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/customers/{customer_id}/","href":"/developers/api/resources-v1/customers/get-customer"},{"title":"Update customer (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json put /public/v1/customers/{customer_id}/","href":"/developers/api/resources-v1/customers/update-customer"},{"title":"Update customer (partial) (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json patch /public/v1/customers/{customer_id}/","href":"/developers/api/resources-v1/customers/update-customer-partial"},{"title":"Delete customer (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json delete /public/v1/customers/{customer_id}/","href":"/developers/api/resources-v1/customers/delete-customer"}]},{"group":"Invoices","pages":[{"title":"List Invoice records (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/invoices/","href":"/developers/api/resources-v1/invoices/list-invoice-records"},{"title":"Create Invoice record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json post /public/v1/invoices/","href":"/developers/api/resources-v1/invoices/create-invoice-record"},{"title":"Get Invoice record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/invoices/{record_number}/","href":"/developers/api/resources-v1/invoices/get-invoice-record"},{"title":"Update Invoice record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json put /public/v1/invoices/{record_number}/","href":"/developers/api/resources-v1/invoices/update-invoice-record"},{"title":"Update Invoice record (partial) (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json patch /public/v1/invoices/{record_number}/","href":"/developers/api/resources-v1/invoices/update-invoice-record-partial"},{"title":"Create Invoice record attachments (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json post /public/v1/invoices/{record_number}/attachments/","href":"/developers/api/resources-v1/invoices/create-invoice-record-attachments"},{"title":"Replace Invoice record attachments (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json post /public/v1/invoices/{record_number}/attachments/replace/","href":"/developers/api/resources-v1/invoices/replace-invoice-record-attachments"},{"title":"Send Invoice record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json post /public/v1/invoices/{record_number}/send/","href":"/developers/api/resources-v1/invoices/send-invoice-record"},{"title":"Download Invoice PDF (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/invoices/{record_number}/pdf/","href":"/developers/api/resources-v1/invoices/download-invoice-pdf"}]},{"group":"Recurring Invoices","pages":[{"title":"List RecurringInvoice records (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/recurring/invoices/","href":"/developers/api/resources-v1/recurring-invoices/list-recurringinvoice-records"},{"title":"Create RecurringInvoice record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json post /public/v1/recurring/invoices/","href":"/developers/api/resources-v1/recurring-invoices/create-recurringinvoice-record"},{"title":"Get RecurringInvoice record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/recurring/invoices/{record_number}/","href":"/developers/api/resources-v1/recurring-invoices/get-recurringinvoice-record"},{"title":"Update RecurringInvoice record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json put /public/v1/recurring/invoices/{record_number}/","href":"/developers/api/resources-v1/recurring-invoices/update-recurringinvoice-record"},{"title":"Delete RecurringInvoice record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json delete /public/v1/recurring/invoices/{record_number}/","href":"/developers/api/resources-v1/recurring-invoices/delete-recurringinvoice-record"}]},{"group":"Sales Orders","pages":[{"title":"List SalesOrder records (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/sales-orders/","href":"/developers/api/resources-v1/sales-orders/list-salesorder-records"},{"title":"Create SalesOrder record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json post /public/v1/sales-orders/","href":"/developers/api/resources-v1/sales-orders/create-salesorder-record"},{"title":"Get SalesOrder record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/sales-orders/{record_number}/","href":"/developers/api/resources-v1/sales-orders/get-salesorder-record"},{"title":"Update SalesOrder record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json put /public/v1/sales-orders/{record_number}/","href":"/developers/api/resources-v1/sales-orders/update-salesorder-record"},{"title":"Create SalesOrder record attachments (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json post /public/v1/sales-orders/{record_number}/attachments/","href":"/developers/api/resources-v1/sales-orders/create-salesorder-record-attachments"}]}]},{"group":"Money Out","pages":[{"group":"Bills","pages":[{"title":"List Bill records (v1)","description":"Retrieve a paginated list of Bill records with filtering and ordering options.","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/bills/","href":"/developers/api/resources-v1/bills/list-bill-records"},{"title":"Create Bill record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json post /public/v1/bills/","href":"/developers/api/resources-v1/bills/create-bill-record"},{"title":"Get Bill record (v1)","description":"Retrieve a specific Bill record by its record number with all related data.","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/bills/{record_number}/","href":"/developers/api/resources-v1/bills/get-bill-record"},{"title":"Update Bill record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json put /public/v1/bills/{record_number}/","href":"/developers/api/resources-v1/bills/update-bill-record"},{"title":"Update Bill record (partial) (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json patch /public/v1/bills/{record_number}/","href":"/developers/api/resources-v1/bills/update-bill-record-partial"},{"title":"Create Bill record attachments (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json post /public/v1/bills/{record_number}/attachments/","href":"/developers/api/resources-v1/bills/create-bill-record-attachments"}]},{"group":"Direct Expenses","pages":[{"title":"List DirectExpense records (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/direct-expenses/","href":"/developers/api/resources-v1/direct-expenses/list-directexpense-records"},{"title":"Create DirectExpense record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json post /public/v1/direct-expenses/","href":"/developers/api/resources-v1/direct-expenses/create-directexpense-record"},{"title":"Get DirectExpense record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/direct-expenses/{record_number}/","href":"/developers/api/resources-v1/direct-expenses/get-directexpense-record"},{"title":"Update DirectExpense record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json put /public/v1/direct-expenses/{record_number}/","href":"/developers/api/resources-v1/direct-expenses/update-directexpense-record"},{"title":"Create DirectExpense record attachments (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json post /public/v1/direct-expenses/{record_number}/attachments/","href":"/developers/api/resources-v1/direct-expenses/create-directexpense-record-attachments"}]},{"group":"Paper Checks","pages":[{"title":"List paper checks (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/paper-checks/","href":"/developers/api/resources-v1/paper-checks/list-paper-checks"},{"title":"Print check immediately (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json post /public/v1/paper-checks/print-now/","href":"/developers/api/resources-v1/paper-checks/print-check-immediately"},{"title":"Queue checks for later printing (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json post /public/v1/paper-checks/print-later/","href":"/developers/api/resources-v1/paper-checks/queue-checks-for-later-printing"},{"title":"Batch print paper checks (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json put /public/v1/paper-checks/print-batch/","href":"/developers/api/resources-v1/paper-checks/batch-print-paper-checks"},{"title":"Get paper check (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/paper-checks/{paper_check_id}/","href":"/developers/api/resources-v1/paper-checks/get-paper-check"},{"title":"Archive paper check (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json delete /public/v1/paper-checks/{paper_check_id}/","href":"/developers/api/resources-v1/paper-checks/archive-paper-check"}]},{"group":"Purchase Orders","pages":[{"title":"List PurchaseOrder records (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/purchase-orders/","href":"/developers/api/resources-v1/purchase-orders/list-purchaseorder-records"},{"title":"Create PurchaseOrder record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json post /public/v1/purchase-orders/","href":"/developers/api/resources-v1/purchase-orders/create-purchaseorder-record"},{"title":"Get PurchaseOrder record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/purchase-orders/{record_number}/","href":"/developers/api/resources-v1/purchase-orders/get-purchaseorder-record"},{"title":"Update PurchaseOrder record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json put /public/v1/purchase-orders/{record_number}/","href":"/developers/api/resources-v1/purchase-orders/update-purchaseorder-record"},{"title":"Create PurchaseOrder record attachments (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json post /public/v1/purchase-orders/{record_number}/attachments/","href":"/developers/api/resources-v1/purchase-orders/create-purchaseorder-record-attachments"}]},{"group":"Recurring Bills","pages":[{"title":"List RecurringBill records (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/recurring/bills/","href":"/developers/api/resources-v1/recurring-bills/list-recurringbill-records"},{"title":"Create RecurringBill record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json post /public/v1/recurring/bills/","href":"/developers/api/resources-v1/recurring-bills/create-recurringbill-record"},{"title":"Get RecurringBill record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/recurring/bills/{record_number}/","href":"/developers/api/resources-v1/recurring-bills/get-recurringbill-record"},{"title":"Update RecurringBill record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json put /public/v1/recurring/bills/{record_number}/","href":"/developers/api/resources-v1/recurring-bills/update-recurringbill-record"},{"title":"Delete RecurringBill record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json delete /public/v1/recurring/bills/{record_number}/","href":"/developers/api/resources-v1/recurring-bills/delete-recurringbill-record"}]},{"group":"Vendor Credits","pages":[{"title":"List VendorCredit records (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/vendor-credits/","href":"/developers/api/resources-v1/vendor-credits/list-vendorcredit-records"},{"title":"Create VendorCredit record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json post /public/v1/vendor-credits/","href":"/developers/api/resources-v1/vendor-credits/create-vendorcredit-record"},{"title":"Get VendorCredit record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/vendor-credits/{record_number}/","href":"/developers/api/resources-v1/vendor-credits/get-vendorcredit-record"},{"title":"Update VendorCredit record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json put /public/v1/vendor-credits/{record_number}/","href":"/developers/api/resources-v1/vendor-credits/update-vendorcredit-record"}]},{"group":"Vendor Payments","pages":[{"title":"List VendorPayment records (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/vendor-payments/","href":"/developers/api/resources-v1/vendor-payments/list-vendorpayment-records"},{"title":"Create VendorPayment record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json post /public/v1/vendor-payments/","href":"/developers/api/resources-v1/vendor-payments/create-vendorpayment-record"},{"title":"Get VendorPayment record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/vendor-payments/{record_number}/","href":"/developers/api/resources-v1/vendor-payments/get-vendorpayment-record"},{"title":"Update VendorPayment record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json put /public/v1/vendor-payments/{record_number}/","href":"/developers/api/resources-v1/vendor-payments/update-vendorpayment-record"},{"title":"Update VendorPayment record (partial) (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json patch /public/v1/vendor-payments/{record_number}/","href":"/developers/api/resources-v1/vendor-payments/update-vendorpayment-record-partial"},{"title":"Create VendorPayment record attachments (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json post /public/v1/vendor-payments/{record_number}/attachments/","href":"/developers/api/resources-v1/vendor-payments/create-vendorpayment-record-attachments"}]},{"group":"Vendor Prepayment Applications","pages":[{"title":"List VendorPrepaymentApplication records (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/vendor-prepayment-applications/","href":"/developers/api/resources-v1/vendor-prepayment-applications/list-vendorprepaymentapplication-records"},{"title":"Create VendorPrepaymentApplication record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json post /public/v1/vendor-prepayment-applications/","href":"/developers/api/resources-v1/vendor-prepayment-applications/create-vendorprepaymentapplication-record"},{"title":"Get VendorPrepaymentApplication record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/vendor-prepayment-applications/{record_number}/","href":"/developers/api/resources-v1/vendor-prepayment-applications/get-vendorprepaymentapplication-record"},{"title":"Update VendorPrepaymentApplication record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json put /public/v1/vendor-prepayment-applications/{record_number}/","href":"/developers/api/resources-v1/vendor-prepayment-applications/update-vendorprepaymentapplication-record"}]},{"group":"Vendor Prepayments","pages":[{"title":"List VendorPrepayment records (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/vendor-prepayments/","href":"/developers/api/resources-v1/vendor-prepayments/list-vendorprepayment-records"},{"title":"Create VendorPrepayment record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json post /public/v1/vendor-prepayments/","href":"/developers/api/resources-v1/vendor-prepayments/create-vendorprepayment-record"},{"title":"Get VendorPrepayment record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/vendor-prepayments/{record_number}/","href":"/developers/api/resources-v1/vendor-prepayments/get-vendorprepayment-record"},{"title":"Update VendorPrepayment record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json put /public/v1/vendor-prepayments/{record_number}/","href":"/developers/api/resources-v1/vendor-prepayments/update-vendorprepayment-record"}]},{"group":"Vendor Refunds","pages":[{"title":"List VendorRefund records (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/vendor-refunds/","href":"/developers/api/resources-v1/vendor-refunds/list-vendorrefund-records"},{"title":"Create VendorRefund record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json post /public/v1/vendor-refunds/","href":"/developers/api/resources-v1/vendor-refunds/create-vendorrefund-record"},{"title":"Get VendorRefund record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/vendor-refunds/{record_number}/","href":"/developers/api/resources-v1/vendor-refunds/get-vendorrefund-record"},{"title":"Update VendorRefund record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json put /public/v1/vendor-refunds/{record_number}/","href":"/developers/api/resources-v1/vendor-refunds/update-vendorrefund-record"},{"title":"Create VendorRefund record attachments (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json post /public/v1/vendor-refunds/{record_number}/attachments/","href":"/developers/api/resources-v1/vendor-refunds/create-vendorrefund-record-attachments"}]},{"group":"Vendors","pages":[{"title":"List vendors (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/vendors/","href":"/developers/api/resources-v1/vendors/list-vendors"},{"title":"Create vendor (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json post /public/v1/vendors/","href":"/developers/api/resources-v1/vendors/create-vendor"},{"title":"Merge vendors (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json post /public/v1/vendors/merge/","href":"/developers/api/resources-v1/vendors/merge-vendors"},{"title":"Get vendor (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/vendors/{vendor_id}/","href":"/developers/api/resources-v1/vendors/get-vendor"},{"title":"Update vendor (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json put /public/v1/vendors/{vendor_id}/","href":"/developers/api/resources-v1/vendors/update-vendor"},{"title":"Update vendor (partial) (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json patch /public/v1/vendors/{vendor_id}/","href":"/developers/api/resources-v1/vendors/update-vendor-partial"},{"title":"Delete vendor (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json delete /public/v1/vendors/{vendor_id}/","href":"/developers/api/resources-v1/vendors/delete-vendor"}]}]},{"group":"Financial \u0026 Banking","pages":[{"group":"Bank Transfers","pages":[{"title":"List BankTransfer records (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/bank-transfers/","href":"/developers/api/resources-v1/bank-transfers/list-banktransfer-records"},{"title":"Create BankTransfer record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json post /public/v1/bank-transfers/","href":"/developers/api/resources-v1/bank-transfers/create-banktransfer-record"},{"title":"Get BankTransfer record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/bank-transfers/{record_number}/","href":"/developers/api/resources-v1/bank-transfers/get-banktransfer-record"},{"title":"Update BankTransfer record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json put /public/v1/bank-transfers/{record_number}/","href":"/developers/api/resources-v1/bank-transfers/update-banktransfer-record"}]}]},{"group":"Assets","pages":[{"group":"Amortizable Assets","pages":[{"title":"List amortizable assets (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/amortizable-assets/","href":"/developers/api/resources-v1/amortizable-assets/list-amortizable-assets"},{"title":"Create amortizable asset (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json post /public/v1/amortizable-assets/","href":"/developers/api/resources-v1/amortizable-assets/create-amortizable-asset"},{"title":"Get amortizable asset (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/amortizable-assets/{record_number}/","href":"/developers/api/resources-v1/amortizable-assets/get-amortizable-asset"},{"title":"Update amortizable asset (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json put /public/v1/amortizable-assets/{record_number}/","href":"/developers/api/resources-v1/amortizable-assets/update-amortizable-asset"},{"title":"Archive amortizable asset (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json delete /public/v1/amortizable-assets/{record_number}/","href":"/developers/api/resources-v1/amortizable-assets/archive-amortizable-asset"},{"title":"Terminate amortization schedule (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json post /public/v1/amortizable-assets/{record_number}/terminate/","href":"/developers/api/resources-v1/amortizable-assets/terminate-amortization-schedule"}]},{"group":"Amortizations","pages":[{"title":"List amortizations (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/amortizations/","href":"/developers/api/resources-v1/amortizations/list-amortizations"},{"title":"Get amortization (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/amortizations/{record_number}/","href":"/developers/api/resources-v1/amortizations/get-amortization"},{"title":"Archive amortization (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json delete /public/v1/amortizations/{record_number}/","href":"/developers/api/resources-v1/amortizations/archive-amortization"}]},{"group":"Fixed Asset Classes","pages":[{"title":"List fixed asset classes (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/fixed-asset-classes/","href":"/developers/api/resources-v1/fixed-asset-classes/list-fixed-asset-classes"},{"title":"Create fixed asset class (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json post /public/v1/fixed-asset-classes/","href":"/developers/api/resources-v1/fixed-asset-classes/create-fixed-asset-class"},{"title":"Get fixed asset class (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/fixed-asset-classes/{fixed_asset_class_id}/","href":"/developers/api/resources-v1/fixed-asset-classes/get-fixed-asset-class"},{"title":"Update fixed asset class (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json put /public/v1/fixed-asset-classes/{fixed_asset_class_id}/","href":"/developers/api/resources-v1/fixed-asset-classes/update-fixed-asset-class"}]},{"group":"Fixed Assets","pages":[{"title":"List fixed assets (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/fixed-assets/","href":"/developers/api/resources-v1/fixed-assets/list-fixed-assets"},{"title":"Create fixed asset (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json post /public/v1/fixed-assets/","href":"/developers/api/resources-v1/fixed-assets/create-fixed-asset"},{"title":"Get fixed asset (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/fixed-assets/{record_number}/","href":"/developers/api/resources-v1/fixed-assets/get-fixed-asset"},{"title":"Update fixed asset (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json put /public/v1/fixed-assets/{record_number}/","href":"/developers/api/resources-v1/fixed-assets/update-fixed-asset"},{"title":"Patch fixed asset (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json patch /public/v1/fixed-assets/{record_number}/","href":"/developers/api/resources-v1/fixed-assets/patch-fixed-asset"},{"title":"Archive fixed asset (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json delete /public/v1/fixed-assets/{record_number}/","href":"/developers/api/resources-v1/fixed-assets/archive-fixed-asset"}]}]},{"group":"Financial Planning","pages":[{"group":"Budgets","pages":[{"title":"List budgets (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/budgets/","href":"/developers/api/resources-v1/budgets/list-budgets"},{"title":"Get budget (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/budgets/{budget_id}/","href":"/developers/api/resources-v1/budgets/get-budget"},{"title":"Get budget cells (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/budgets/{budget_id}/cells/","href":"/developers/api/resources-v1/budgets/get-budget-cells"},{"title":"Get budget actuals (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/budgets/{budget_id}/actuals/","href":"/developers/api/resources-v1/budgets/get-budget-actuals"},{"title":"Get budget accounts (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/budgets/{budget_id}/accounts/","href":"/developers/api/resources-v1/budgets/get-budget-accounts"}]}]},{"group":"Reporting","pages":[{"group":"Reporting","pages":[{"title":"List account balances (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/account_balances/","href":"/developers/api/resources-v1/reporting/list-account-balances"},{"title":"List average daily balances (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/average_daily_balances/","href":"/developers/api/resources-v1/reporting/list-average-daily-balances"},{"title":"Get average total assets (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/average_daily_balances/total_assets/","href":"/developers/api/resources-v1/reporting/get-average-total-assets"},{"title":"List general ledger lines (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/general_ledger/","href":"/developers/api/resources-v1/reporting/list-general-ledger-lines"},{"title":"List trial balance facts (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/trial_balance/","href":"/developers/api/resources-v1/reporting/list-trial-balance-facts"},{"title":"List income statement facts (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/income_statement/","href":"/developers/api/resources-v1/reporting/list-income-statement-facts"},{"title":"List balance sheet facts (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/balance_sheet/","href":"/developers/api/resources-v1/reporting/list-balance-sheet-facts"},{"title":"List chart of accounts facts (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/chart_of_accounts/","href":"/developers/api/resources-v1/reporting/list-chart-of-accounts-facts"},{"title":"List consolidated rates (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/consolidated_rates/","href":"/developers/api/resources-v1/reporting/list-consolidated-rates"}]}]},{"group":"Governance","pages":[{"group":"Approval Policies","pages":[{"title":"List workflows (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/workflows/","href":"/developers/api/resources-v1/approval-policies/list-workflows"},{"title":"List workflow approvers (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/workflows/approvers/","href":"/developers/api/resources-v1/approval-policies/list-workflow-approvers"},{"title":"Get workflow approver (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/workflows/approvers/{approver_id}/","href":"/developers/api/resources-v1/approval-policies/get-workflow-approver"},{"title":"List execution states (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/workflows/execution-states/","href":"/developers/api/resources-v1/approval-policies/list-execution-states"},{"title":"Get execution state by ID (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/workflows/execution-states/{state_id}/","href":"/developers/api/resources-v1/approval-policies/get-execution-state-by-id"},{"title":"Get approval actions for execution state (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/workflows/execution-states/{state_id}/actions/","href":"/developers/api/resources-v1/approval-policies/get-approval-actions-for-execution-state"},{"title":"List approval actions (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/workflows/actions/","href":"/developers/api/resources-v1/approval-policies/list-approval-actions"},{"title":"Get roles for workflow conditions (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/workflows/roles/","href":"/developers/api/resources-v1/approval-policies/get-roles-for-workflow-conditions"},{"title":"Get workflow by ID (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/workflows/{workflow_id}/","href":"/developers/api/resources-v1/approval-policies/get-workflow-by-id"},{"title":"Get workflow version history (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/workflows/{workflow_id}/versions/","href":"/developers/api/resources-v1/approval-policies/get-workflow-version-history"}]},{"group":"Inbox","pages":[{"title":"Get inbox summary (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/inbox/","href":"/developers/api/resources-v1/inbox/get-inbox-summary"},{"title":"List transactions inbox (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/inbox/transactions/","href":"/developers/api/resources-v1/inbox/list-transactions-inbox"},{"title":"List records inbox (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/inbox/records/","href":"/developers/api/resources-v1/inbox/list-records-inbox"},{"title":"Get transaction inbox details (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/inbox/transactions/{record_id}/","href":"/developers/api/resources-v1/inbox/get-transaction-inbox-details"},{"title":"Get record inbox details (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/inbox/records/{record_id}/","href":"/developers/api/resources-v1/inbox/get-record-inbox-details"}]}]},{"group":"Developers","pages":[{"group":"Data Exports","pages":[{"title":"List export jobs (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/export-jobs/","href":"/developers/api/resources-v1/data-exports/list-export-jobs"},{"title":"Request a data export (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json post /public/v1/export-jobs/","href":"/developers/api/resources-v1/data-exports/request-a-data-export"},{"title":"Get export job (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/export-jobs/{job_id}/","href":"/developers/api/resources-v1/data-exports/get-export-job"}]},{"group":"Webhooks","pages":[{"title":"List webhooks (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/webhooks/","href":"/developers/api/resources-v1/webhooks/list-webhooks"},{"title":"Create webhook (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json post /public/v1/webhooks/","href":"/developers/api/resources-v1/webhooks/create-webhook"},{"title":"List webhook topics (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/webhooks/topics/","href":"/developers/api/resources-v1/webhooks/list-webhook-topics"},{"title":"Get webhook (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/webhooks/{webhook_uuid}/","href":"/developers/api/resources-v1/webhooks/get-webhook"},{"title":"Update webhook (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json put /public/v1/webhooks/{webhook_uuid}/","href":"/developers/api/resources-v1/webhooks/update-webhook"},{"title":"Patch webhook (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json patch /public/v1/webhooks/{webhook_uuid}/","href":"/developers/api/resources-v1/webhooks/patch-webhook"},{"title":"Delete webhook (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json delete /public/v1/webhooks/{webhook_uuid}/","href":"/developers/api/resources-v1/webhooks/delete-webhook"},{"title":"List webhook deliveries (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/webhooks/{webhook_uuid}/deliveries/","href":"/developers/api/resources-v1/webhooks/list-webhook-deliveries"}]}]},{"group":"Monitoring","pages":[{"group":"Health","pages":[{"title":"API Health Check (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/health/","href":"/developers/api/resources-v1/health/api-health-check"}]}]},{"group":"Inventory","pages":[{"group":"Inventory Adjustments","pages":[{"title":"List InventoryAdjustment records (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/inventory-adjustments/","href":"/developers/api/resources-v1/inventory-adjustments/list-inventoryadjustment-records"},{"title":"Create InventoryAdjustment record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json post /public/v1/inventory-adjustments/","href":"/developers/api/resources-v1/inventory-adjustments/create-inventoryadjustment-record"},{"title":"Get InventoryAdjustment record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/inventory-adjustments/{record_number}/","href":"/developers/api/resources-v1/inventory-adjustments/get-inventoryadjustment-record"},{"title":"Update InventoryAdjustment record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json put /public/v1/inventory-adjustments/{record_number}/","href":"/developers/api/resources-v1/inventory-adjustments/update-inventoryadjustment-record"},{"title":"Create InventoryAdjustment record attachments (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json post /public/v1/inventory-adjustments/{record_number}/attachments/","href":"/developers/api/resources-v1/inventory-adjustments/create-inventoryadjustment-record-attachments"}]},{"group":"Inventory Fulfillments","pages":[{"title":"List InventoryFulfillment records (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/inventory-fulfillments/","href":"/developers/api/resources-v1/inventory-fulfillments/list-inventoryfulfillment-records"},{"title":"Create InventoryFulfillment record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json post /public/v1/inventory-fulfillments/","href":"/developers/api/resources-v1/inventory-fulfillments/create-inventoryfulfillment-record"},{"title":"Get InventoryFulfillment record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/inventory-fulfillments/{record_number}/","href":"/developers/api/resources-v1/inventory-fulfillments/get-inventoryfulfillment-record"},{"title":"Update InventoryFulfillment record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json put /public/v1/inventory-fulfillments/{record_number}/","href":"/developers/api/resources-v1/inventory-fulfillments/update-inventoryfulfillment-record"},{"title":"Create InventoryFulfillment record attachments (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json post /public/v1/inventory-fulfillments/{record_number}/attachments/","href":"/developers/api/resources-v1/inventory-fulfillments/create-inventoryfulfillment-record-attachments"}]},{"group":"Inventory Receipts","pages":[{"title":"List InventoryReceipt records (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/inventory-receipts/","href":"/developers/api/resources-v1/inventory-receipts/list-inventoryreceipt-records"},{"title":"Create InventoryReceipt record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json post /public/v1/inventory-receipts/","href":"/developers/api/resources-v1/inventory-receipts/create-inventoryreceipt-record"},{"title":"Get InventoryReceipt record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/inventory-receipts/{record_number}/","href":"/developers/api/resources-v1/inventory-receipts/get-inventoryreceipt-record"},{"title":"Update InventoryReceipt record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json put /public/v1/inventory-receipts/{record_number}/","href":"/developers/api/resources-v1/inventory-receipts/update-inventoryreceipt-record"},{"title":"Create InventoryReceipt record attachments (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json post /public/v1/inventory-receipts/{record_number}/attachments/","href":"/developers/api/resources-v1/inventory-receipts/create-inventoryreceipt-record-attachments"}]},{"group":"Inventory Transfers","pages":[{"title":"List InventoryTransfer records (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/inventory-transfers/","href":"/developers/api/resources-v1/inventory-transfers/list-inventorytransfer-records"},{"title":"Create InventoryTransfer record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json post /public/v1/inventory-transfers/","href":"/developers/api/resources-v1/inventory-transfers/create-inventorytransfer-record"},{"title":"Get InventoryTransfer record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/inventory-transfers/{record_number}/","href":"/developers/api/resources-v1/inventory-transfers/get-inventorytransfer-record"},{"title":"Update InventoryTransfer record (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json put /public/v1/inventory-transfers/{record_number}/","href":"/developers/api/resources-v1/inventory-transfers/update-inventorytransfer-record"},{"title":"Create InventoryTransfer record attachments (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json post /public/v1/inventory-transfers/{record_number}/attachments/","href":"/developers/api/resources-v1/inventory-transfers/create-inventorytransfer-record-attachments"}]},{"group":"Locations","pages":[{"title":"List Locations (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/locations/","href":"/developers/api/resources-v1/locations/list-locations"},{"title":"Create Location (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json post /public/v1/locations/","href":"/developers/api/resources-v1/locations/create-location"},{"title":"Get Location (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/locations/{location_id}/","href":"/developers/api/resources-v1/locations/get-location"},{"title":"Update Location (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json put /public/v1/locations/{location_id}/","href":"/developers/api/resources-v1/locations/update-location"},{"title":"Delete Location (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json delete /public/v1/locations/{location_id}/","href":"/developers/api/resources-v1/locations/delete-location"}]},{"group":"Units of Measure","pages":[{"title":"List Units of Measure (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/units-of-measure/","href":"/developers/api/resources-v1/units-of-measure/list-units-of-measure"},{"title":"Create Unit of Measure (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json post /public/v1/units-of-measure/","href":"/developers/api/resources-v1/units-of-measure/create-unit-of-measure"},{"title":"Get Unit of Measure (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json get /public/v1/units-of-measure/{unit_id}/","href":"/developers/api/resources-v1/units-of-measure/get-unit-of-measure"},{"title":"Update Unit of Measure (v1)","deprecated":null,"version":null,"openapi":"/developers/openapi/resources-v1.json put /public/v1/units-of-measure/{unit_id}/","href":"/developers/api/resources-v1/units-of-measure/update-unit-of-measure"}]}]}]},{"version":"V3-alpha","tag":"Preview","pages":[{"title":"V3-alpha","href":"/developers/api/resources-v3-alpha/bills/list-bills-lines"}]}]},{"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":"Create Bill record (v1) - DualEntry Documentation","deploymentId":"dpl_9bQLTw9nc2h9csDGYcKwWenPcQWn","buildId":"dpl_9bQLTw9nc2h9csDGYcKwWenPcQWn","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-D4yvBxwa.js","snippetPresets-CkhhQaIQ.js","utils-XnMGX2lF.js","style-to-object-BY3JEAdk.js","utils-CRXL1dwr.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-DvwRKZnA.js","conditional-requirements-CFM0id0Q.js","cloneDeep-DYtgUc7n.js","_Uint8Array-D8z7zjjJ.js","isObject-FP1Yky1u.js","ApiExamples-RYQSJVS4.js","usePlaygroundInputsStore-k_R_BTDL.js","shallow-BwVhzryZ.js","isEqual-Cx5TQjMc.js","CodeSnippets-BDe2dS5N.js","CodeSnippet-C1QlaNYl.js","use-playground-group-access-DyQ_1IIe.js","Page-DQd9HN9r.js","api-description-markdown-BpDftTKT.js","DynamicMarkdown-CZT_WAnN.js","SectionHeading-K1iuDm9j.js","MethodPill-Dx3JIwHJ.js","getPastedJson-buPTdYs_.js","Check2Icon-DmMrzBYX.js","axios-CsQoIw0U.js","Markdown-erv2ryQz.js","AssistantPageLink-DJ01X1Sn.js","dist-D9mz3EIS.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}