{"docsConfig":{"theme":"almond","$schema":"https://mintlify.com/docs.json","name":"ibana","colors":{"primary":"#042228","light":"#07C983","dark":"#0D9373"},"logo":{"light":"https://mintcdn.com/ibana/SbiFijMHDJQMKhLk/logo/ibana-logo-black.png?fit=max\u0026auto=format\u0026n=SbiFijMHDJQMKhLk\u0026q=85\u0026s=e52ac3edaaaa4a580ab873885bb6e0c8","dark":"https://mintcdn.com/ibana/SbiFijMHDJQMKhLk/logo/ibana-logo-white.png?fit=max\u0026auto=format\u0026n=SbiFijMHDJQMKhLk\u0026q=85\u0026s=d2769f98f200e90645ea9e6b130e93b0"},"favicon":"https://mintcdn.com/ibana/gppGL_BNwpXjYgGA/images/favicon.svg?fit=max\u0026auto=format\u0026n=gppGL_BNwpXjYgGA\u0026q=85\u0026s=79d8f4ecc2816dc0919bb7b5b0ca20c7","navbar":{"links":[{"href":"mailto:[email protected]","label":"Support"}],"primary":{"type":"button","label":"Get started","href":"https://app.ibana.io/"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/ibanaio"}},"fonts":{"family":"Inter"},"icons":{"library":"lucide"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Updates","icon":"megaphone","href":"https://ibana.io/updates"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"ibana","hasAudioNarration":false,"actualSubdomain":"ibana","customDomains":["docs.ibana.io"],"gitSource":{"type":"github","owner":"ibana-io","repo":"ibana-app","deployBranch":"main","contentDirectory":"apps/documentation","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{},"buildId":"6ac8a0b9f1343267037ecddf","clientVersion":"0.0.4088","searchFilterCounts":[{"language":"default","tag":"Dokumentation","count":42},{"language":"default","tag":"API Reference","count":41},{"language":"default","tag":"Offene Forderungen","count":9},{"language":"default","tag":"Eingangsrechnungen","count":8},{"language":"default","tag":"Purchase Order","count":7},{"language":"default","tag":"Transaction","count":6},{"language":"default","tag":"Buchhaltungs-Setup","count":6},{"language":"default","tag":"Cost Center","count":5},{"language":"default","tag":"Delivery","count":5},{"language":"default","tag":"Invoice","count":5}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/invoice/get-invoice","slug":"/api-reference/invoice/get-invoice","pageMetadata":{"openapi":"get /v1/invoice/{id}","title":"Get invoice","description":"Retrieve the details of an invoice.","href":"/api-reference/invoice/get-invoice"},"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: \"Retrieve the details of an invoice.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"openapi":"get /v1/invoice/{id}","title":"Get invoice","description":"Retrieve the details of an invoice.","href":"/api-reference/invoice/get-invoice"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"description":"Retrieve the details of an invoice.","operationId":"InvoiceController_getById_v1","parameters":["b2f8e51a-8910-4afc-9e9c-a9698522e358"],"responses":{"200":"b57b7cbf-b241-45d1-b64e-0a9d2ba0236b"},"security":["5e69112f-a329-456f-bebd-0d4639126836"],"summary":"Get invoice","tags":["Invoice"],"method":"get","type":"path","servers":["f4acd1da-ccdf-4dec-9ede-c219e9aa2eea"],"path":"/v1/invoice/{id}","baseUrlOptions":["https://public-api.ibana.io"],"title":"Get invoice","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"b2f8e51a-8910-4afc-9e9c-a9698522e358":{"name":"id","required":true,"in":"path","description":"Invoice ID","schema":{"type":"string","isRequired":true,"description":"Invoice ID","uniqueKey":"","typeLabel":"string"}}},"responses":{"b57b7cbf-b241-45d1-b64e-0a9d2ba0236b":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR","USD","GBP","JPY","AUD","CAD","CHF","CNY","HKD","NZD","SEK","KRW","SGD","NOK","MXN","INR","BRL","RUB","ZAR","TRY","AED","THB","DKK","HUF","PLN","TWD","SAR","MYR","IDR"],"default":"EUR","description":"Currency code for invoice amounts (e.g., EUR, USD).","isRequired":true,"uniqueKey":"currency","typeLabel":"enum\u003cstring>"},"baseCurrency":{"type":"string","enum":["EUR","USD","GBP","JPY","AUD","CAD","CHF","CNY","HKD","NZD","SEK","KRW","SGD","NOK","MXN","INR","BRL","RUB","ZAR","TRY","AED","THB","DKK","HUF","PLN","TWD","SAR","MYR","IDR"],"default":"EUR","description":"Base currency for the organization (typically EUR).","isRequired":true,"uniqueKey":"baseCurrency","typeLabel":"enum\u003cstring>"},"type":{"type":"string","enum":["INVOICE","CREDIT_NOTE","REMINDER","REIMBURSEMENT_GROUP"],"default":"INVOICE","description":"Type of invoice (e.g., Invoice, Credit Note, Reminder).","isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"shouldCreateTransaction":{"type":"boolean","default":true,"description":"Indicates whether a transaction is automatically created upon invoice approval.","isRequired":true,"uniqueKey":"shouldCreateTransaction","typeLabel":"boolean"},"alreadyPaid":{"type":"boolean","default":false,"description":"Indicates whether the invoice has been paid.","isRequired":true,"uniqueKey":"alreadyPaid","typeLabel":"boolean"},"archived":{"type":"boolean","default":false,"description":"Indicates whether the invoice is archived.","isRequired":true,"uniqueKey":"archived","typeLabel":"boolean"},"organization":{"type":"object","description":"Organization associated with the invoice.","required":["name","slug","logoFileName","country","vatNumber","featureFlags","baseCurrency","paymentRunBatchBooking","paymentRunVerificationOfPayee","invoiceExportIncludeForeignCurrencies","allowDirectInvoiceApproval","allowDirectPaymentRunApproval","customExportFormats","apInvoiceBookingTextTemplate","autoPopulateCustomerEmailFromMetadata","autoPopulateSupplierEmailFromMetadata","excludedEmailDomains"],"properties":{"name":{"type":"string","description":"The name of the organization.","isRequired":true,"uniqueKey":"organization.name","typeLabel":"string"},"slug":{"type":"string","description":"The slug of the organization.","isRequired":true,"uniqueKey":"organization.slug","typeLabel":"string"},"logoFileName":{"type":"string","description":"The logo file name.","isRequired":true,"uniqueKey":"organization.logoFileName","typeLabel":"string"},"country":{"type":"string","description":"The country of the organization using ISO 3166-1 alpha-2 code","isRequired":true,"uniqueKey":"organization.country","typeLabel":"string"},"vatNumber":{"type":"string","description":"The VAT number of the organization","isRequired":true,"uniqueKey":"organization.vatNumber","typeLabel":"string"},"featureFlags":{"description":"The feature flags associated with the organization.","type":"array","items":{"type":"object","properties":{"featureName":{"type":"string","description":"The name of the feature.","isRequired":true,"uniqueKey":"organization.featureFlags.items.[INDEX].featureName","typeLabel":"string"},"isEnabled":{"type":"boolean","description":"A boolean that indicates if the feature is enabled.","isRequired":true,"uniqueKey":"organization.featureFlags.items.[INDEX].isEnabled","typeLabel":"boolean"},"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"organization.featureFlags.items.[INDEX].id","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","description":"The date and time the entity was created.","uniqueKey":"organization.featureFlags.items.[INDEX].createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"format":"date-time","type":"string","description":"The date and time the entity was last updated.","uniqueKey":"organization.featureFlags.items.[INDEX].updatedAt","typeLabel":"string\u003cdate-time>"}},"required":["featureName","isEnabled"],"uniqueKey":"organization.featureFlags.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"organization.featureFlags","typeLabel":"object[]"},"baseCurrency":{"type":"string","description":"The base currency of the organization","enum":["EUR","USD","GBP","JPY","AUD","CAD","CHF","CNY","HKD","NZD","SEK","KRW","SGD","NOK","MXN","INR","BRL","RUB","ZAR","TRY","AED","THB","DKK","HUF","PLN","TWD","SAR","MYR","IDR"],"default":"EUR","isRequired":true,"uniqueKey":"organization.baseCurrency","typeLabel":"enum\u003cstring>"},"paymentRunBatchBooking":{"type":"boolean","description":"Default setting for whether payment runs should be exported as batch booking or single bookings.","isRequired":true,"uniqueKey":"organization.paymentRunBatchBooking","typeLabel":"boolean"},"paymentRunVerificationOfPayee":{"type":"boolean","description":"Default setting for whether the bank should perform verification of payee (IBAN-Name check) for payment runs.","isRequired":true,"uniqueKey":"organization.paymentRunVerificationOfPayee","typeLabel":"boolean"},"invoiceExportIncludeForeignCurrencies":{"type":"boolean","description":"When true, invoice exports include original currency/amounts; when false, exports use EUR only (foreign amounts converted).","isRequired":true,"uniqueKey":"organization.invoiceExportIncludeForeignCurrencies","typeLabel":"boolean"},"allowDirectInvoiceApproval":{"type":"boolean","description":"Whether direct approval is allowed for invoice approval workflows in this organization.","isRequired":true,"uniqueKey":"organization.allowDirectInvoiceApproval","typeLabel":"boolean"},"allowDirectPaymentRunApproval":{"type":"boolean","description":"Whether direct approval is allowed for payment run approval workflows in this organization.","isRequired":true,"uniqueKey":"organization.allowDirectPaymentRunApproval","typeLabel":"boolean"},"customExportFormats":{"description":"Custom export formats enabled for this organization","example":["custom_experta"],"type":"array","items":{"type":"string","uniqueKey":"organization.customExportFormats.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"organization.customExportFormats","typeLabel":"string[]"},"apInvoiceBookingTextTemplate":{"oneOf":[{"type":"string","description":"JSON-encoded array of booking text tokens defining the template for AP invoice exports.","default":"[\"counterparty-name\",\"invoice-number\",\"notes\"]","isRequired":true,"uniqueKey":"organization.apInvoiceBookingTextTemplate.oneOf.0","typeLabel":"string"},{"type":"null","description":"JSON-encoded array of booking text tokens defining the template for AP invoice exports.","default":"[\"counterparty-name\",\"invoice-number\",\"notes\"]","isRequired":true,"uniqueKey":"organization.apInvoiceBookingTextTemplate.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"organization.apInvoiceBookingTextTemplate","typeLabel":"string | null"},"autoPopulateCustomerEmailFromMetadata":{"type":"boolean","description":"Determines if the organization automatically populates customer email addresses from email metadata for AR invoices.","isRequired":true,"uniqueKey":"organization.autoPopulateCustomerEmailFromMetadata","typeLabel":"boolean"},"autoPopulateSupplierEmailFromMetadata":{"type":"boolean","description":"Determines if the organization automatically populates supplier email addresses from email metadata for AP invoices.","isRequired":true,"uniqueKey":"organization.autoPopulateSupplierEmailFromMetadata","typeLabel":"boolean"},"excludedEmailDomains":{"type":"string","description":"Comma-separated list of email domains that should be excluded from auto-population.","isRequired":true,"uniqueKey":"organization.excludedEmailDomains","typeLabel":"string"},"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"organization.id","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","description":"The date and time the entity was created.","uniqueKey":"organization.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"format":"date-time","type":"string","description":"The date and time the entity was last updated.","uniqueKey":"organization.updatedAt","typeLabel":"string\u003cdate-time>"},"inCaseOfLawCustomerId":{"oneOf":[{"type":"string","description":"The In case of law customer ID for this organization, if already connected.","uniqueKey":"organization.inCaseOfLawCustomerId.oneOf.0","typeLabel":"string"},{"type":"null","description":"The In case of law customer ID for this organization, if already connected.","uniqueKey":"organization.inCaseOfLawCustomerId.oneOf.1","typeLabel":"null"}],"uniqueKey":"organization.inCaseOfLawCustomerId","typeLabel":"string | null"},"cardCommonBookingTargetName":{"oneOf":[{"type":"string","description":"Configured shared card booking target display name used for card bookkeeping export.","uniqueKey":"organization.cardCommonBookingTargetName.oneOf.0","typeLabel":"string"},{"type":"null","description":"Configured shared card booking target display name used for card bookkeeping export.","uniqueKey":"organization.cardCommonBookingTargetName.oneOf.1","typeLabel":"null"}],"uniqueKey":"organization.cardCommonBookingTargetName","typeLabel":"string | null"},"cardCommonBookingTargetAccountsPayableNumber":{"oneOf":[{"type":"string","description":"Configured shared card booking target accounts payable number used for card bookkeeping export.","uniqueKey":"organization.cardCommonBookingTargetAccountsPayableNumber.oneOf.0","typeLabel":"string"},{"type":"null","description":"Configured shared card booking target accounts payable number used for card bookkeeping export.","uniqueKey":"organization.cardCommonBookingTargetAccountsPayableNumber.oneOf.1","typeLabel":"null"}],"uniqueKey":"organization.cardCommonBookingTargetAccountsPayableNumber","typeLabel":"string | null"},"cardFxDifferenceLedgerAccount":{"oneOf":[{"type":"string","description":"Configured ledger account used for FX difference lines in card bookkeeping export.","uniqueKey":"organization.cardFxDifferenceLedgerAccount.oneOf.0","typeLabel":"string"},{"type":"null","description":"Configured ledger account used for FX difference lines in card bookkeeping export.","uniqueKey":"organization.cardFxDifferenceLedgerAccount.oneOf.1","typeLabel":"null"}],"uniqueKey":"organization.cardFxDifferenceLedgerAccount","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"organization","typeLabel":"object"},"status":{"type":"string","enum":["NEW","REJECTED","APPROVED","IN_PROGRESS","CANCELLED"],"default":"NEW","description":"Current status of the invoice (e.g., New, Approved, Declined).","isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"id","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","description":"The date and time the entity was created.","uniqueKey":"createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"format":"date-time","type":"string","description":"The date and time the entity was last updated.","uniqueKey":"updatedAt","typeLabel":"string\u003cdate-time>"},"customFieldValues":{"type":"object","additionalProperties":true,"description":"Custom field values configured for the invoice.","uniqueKey":"customFieldValues","typeLabel":"object"},"originalFileName":{"type":"string","description":"Original name of the uploaded invoice file.","uniqueKey":"originalFileName","typeLabel":"string"},"filename":{"type":"string","description":"Stored filename of the invoice document.","uniqueKey":"filename","typeLabel":"string"},"fileUrl":{"type":"string","description":"Signed URL to access the invoice file from Google Cloud Storage. Valid for 7 days.","uniqueKey":"fileUrl","typeLabel":"string"},"counterpartyName":{"type":"string","description":"Name of the counterparty extracted from OCR scan.","uniqueKey":"counterpartyName","typeLabel":"string"},"counterpartyIban":{"type":"string","description":"IBAN of the counterparty extracted from OCR scan.","uniqueKey":"counterpartyIban","typeLabel":"string"},"counterpartyVat":{"type":"string","description":"VAT number of the counterparty extracted from OCR scan.","uniqueKey":"counterpartyVat","typeLabel":"string"},"counterpartyStreet":{"type":"string","uniqueKey":"counterpartyStreet","typeLabel":"string"},"counterpartyBuildingNumber":{"type":"string","uniqueKey":"counterpartyBuildingNumber","typeLabel":"string"},"counterpartyCity":{"type":"string","uniqueKey":"counterpartyCity","typeLabel":"string"},"counterpartyZip":{"type":"string","uniqueKey":"counterpartyZip","typeLabel":"string"},"counterpartyCountry":{"type":"string","uniqueKey":"counterpartyCountry","typeLabel":"string"},"detectedBankTransferDetails":{"oneOf":[{"type":"object","uniqueKey":"detectedBankTransferDetails.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"detectedBankTransferDetails.oneOf.1","typeLabel":"null"}],"uniqueKey":"detectedBankTransferDetails","typeLabel":"object | null"},"counterparty":{"type":"object","description":"The counterparty of the invoice.","required":["email","description","vat","accountsPayableNumber","paymentTermsDays","skontoPercentage","skontoDays","bankAccount"],"properties":{"email":{"type":"string","description":"The email of the counterparty.","isRequired":true,"uniqueKey":"counterparty.email","typeLabel":"string"},"description":{"type":"string","description":"The description of the counterparty.","isRequired":true,"uniqueKey":"counterparty.description","typeLabel":"string"},"vat":{"type":"string","description":"The EU VAT number of the counterparty.","isRequired":true,"uniqueKey":"counterparty.vat","typeLabel":"string"},"accountsPayableNumber":{"type":"string","example":"22 0391919","description":"Accounts payable number of the counterparty. Used in bookkeeping.","isRequired":true,"uniqueKey":"counterparty.accountsPayableNumber","typeLabel":"string"},"paymentTermsDays":{"type":"number","description":"Payment term in days","isRequired":true,"uniqueKey":"counterparty.paymentTermsDays","typeLabel":"number"},"skontoPercentage":{"type":"number","description":"Early payment discount percentage","isRequired":true,"uniqueKey":"counterparty.skontoPercentage","typeLabel":"number"},"skontoDays":{"type":"number","description":"Days for early payment discount","isRequired":true,"uniqueKey":"counterparty.skontoDays","typeLabel":"number"},"bankAccount":{"type":"object","description":"The bank account of the counterparty.","required":["identifierType","name","bic","countryCode"],"properties":{"identifierType":{"type":"string","enum":["IBAN","ACCOUNT_NUMBER"],"isRequired":true,"uniqueKey":"counterparty.bankAccount.identifierType","typeLabel":"enum\u003cstring>"},"name":{"type":"string","description":"The name of the bank account holder.","isRequired":true,"uniqueKey":"counterparty.bankAccount.name","typeLabel":"string"},"bic":{"type":"string","description":"The BIC of the bank account.","isRequired":true,"uniqueKey":"counterparty.bankAccount.bic","typeLabel":"string"},"countryCode":{"type":"string","description":"The country code of the bank account.","isRequired":true,"uniqueKey":"counterparty.bankAccount.countryCode","typeLabel":"string"},"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"counterparty.bankAccount.id","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","description":"The date and time the entity was created.","uniqueKey":"counterparty.bankAccount.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"format":"date-time","type":"string","description":"The date and time the entity was last updated.","uniqueKey":"counterparty.bankAccount.updatedAt","typeLabel":"string\u003cdate-time>"},"iban":{"oneOf":[{"type":"string","description":"The IBAN of the bank account.","uniqueKey":"counterparty.bankAccount.iban.oneOf.0","typeLabel":"string"},{"type":"null","description":"The IBAN of the bank account.","uniqueKey":"counterparty.bankAccount.iban.oneOf.1","typeLabel":"null"}],"uniqueKey":"counterparty.bankAccount.iban","typeLabel":"string | null"},"accountNumber":{"oneOf":[{"type":"string","description":"The non-IBAN account number.","uniqueKey":"counterparty.bankAccount.accountNumber.oneOf.0","typeLabel":"string"},{"type":"null","description":"The non-IBAN account number.","uniqueKey":"counterparty.bankAccount.accountNumber.oneOf.1","typeLabel":"null"}],"uniqueKey":"counterparty.bankAccount.accountNumber","typeLabel":"string | null"},"latestVerification":{"oneOf":[{"type":"object","required":["status","submittedName","submittedIban","isStale"],"properties":{"status":{"type":"string","enum":["QUEUED","PROCESSING","COMPLETED","FAILED"],"isRequired":true,"uniqueKey":"counterparty.bankAccount.latestVerification.oneOf.0.status","typeLabel":"enum\u003cstring>"},"submittedName":{"type":"string","isRequired":true,"uniqueKey":"counterparty.bankAccount.latestVerification.oneOf.0.submittedName","typeLabel":"string"},"submittedIban":{"type":"string","isRequired":true,"uniqueKey":"counterparty.bankAccount.latestVerification.oneOf.0.submittedIban","typeLabel":"string"},"isStale":{"type":"boolean","description":"Whether the saved account details changed after this check.","isRequired":true,"uniqueKey":"counterparty.bankAccount.latestVerification.oneOf.0.isStale","typeLabel":"boolean"},"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"counterparty.bankAccount.latestVerification.oneOf.0.id","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","description":"The date and time the entity was created.","uniqueKey":"counterparty.bankAccount.latestVerification.oneOf.0.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"format":"date-time","type":"string","description":"The date and time the entity was last updated.","uniqueKey":"counterparty.bankAccount.latestVerification.oneOf.0.updatedAt","typeLabel":"string\u003cdate-time>"},"result":{"oneOf":[{"type":"string","enum":["MATCHED","CLOSE_MATCH","NOT_MATCHED","CANNOT_BE_CHECKED"],"uniqueKey":"counterparty.bankAccount.latestVerification.oneOf.0.result.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["MATCHED","CLOSE_MATCH","NOT_MATCHED","CANNOT_BE_CHECKED"],"uniqueKey":"counterparty.bankAccount.latestVerification.oneOf.0.result.oneOf.1","typeLabel":"null"}],"uniqueKey":"counterparty.bankAccount.latestVerification.oneOf.0.result","typeLabel":"enum\u003cstring> | null"},"returnedName":{"oneOf":[{"type":"string","uniqueKey":"counterparty.bankAccount.latestVerification.oneOf.0.returnedName.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"counterparty.bankAccount.latestVerification.oneOf.0.returnedName.oneOf.1","typeLabel":"null"}],"uniqueKey":"counterparty.bankAccount.latestVerification.oneOf.0.returnedName","typeLabel":"string | null"},"reason":{"oneOf":[{"type":"string","uniqueKey":"counterparty.bankAccount.latestVerification.oneOf.0.reason.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"counterparty.bankAccount.latestVerification.oneOf.0.reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"counterparty.bankAccount.latestVerification.oneOf.0.reason","typeLabel":"string | null"}},"uniqueKey":"counterparty.bankAccount.latestVerification.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"counterparty.bankAccount.latestVerification.oneOf.1","typeLabel":"null"}],"uniqueKey":"counterparty.bankAccount.latestVerification","typeLabel":"object | null"}},"isRequired":true,"uniqueKey":"counterparty.bankAccount","typeLabel":"object"},"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"counterparty.id","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","description":"The date and time the entity was created.","uniqueKey":"counterparty.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"format":"date-time","type":"string","description":"The date and time the entity was last updated.","uniqueKey":"counterparty.updatedAt","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"counterparty","typeLabel":"object"},"invoiceNumber":{"type":"string","description":"Unique identifier or number of the invoice.","uniqueKey":"invoiceNumber","typeLabel":"string"},"internalInvoiceNumber":{"type":"string","description":"Internal unique invoice number (YYYY-MM-XXXXX).","uniqueKey":"internalInvoiceNumber","typeLabel":"string"},"purchaseOrderNumber":{"type":"string","description":"Purchase order number associated with the invoice.","uniqueKey":"purchaseOrderNumber","typeLabel":"string"},"purchaseOrder":{"type":"object","description":"The matched purchase order for procurement workflow.","required":["currency","counterpartyId","counterpartyName","totalOrderAmount","totalInvoicedAmount","totalLineItems","fullyInvoicedLineItemsCount","fullyDeliveredLineItemsCount","invoiceCompletionPercentage","totalOrderQuantity","totalDeliveredQuantity","uniqueDeliveriesCount","totalInvoicedQuantity","uniqueInvoicesCount","outstandingInvoiceAmount"],"properties":{"currency":{"type":"string","description":"The currency of the purchase order","isRequired":true,"uniqueKey":"purchaseOrder.currency","typeLabel":"string"},"counterpartyId":{"type":"string","description":"The counterparty ID","isRequired":true,"uniqueKey":"purchaseOrder.counterpartyId","typeLabel":"string"},"counterpartyName":{"type":"string","description":"The counterparty name","isRequired":true,"uniqueKey":"purchaseOrder.counterpartyName","typeLabel":"string"},"totalOrderAmount":{"type":"number","description":"Total monetary amount of the purchase order","isRequired":true,"uniqueKey":"purchaseOrder.totalOrderAmount","typeLabel":"number"},"totalInvoicedAmount":{"type":"number","description":"Total monetary amount invoiced for this purchase order","isRequired":true,"uniqueKey":"purchaseOrder.totalInvoicedAmount","typeLabel":"number"},"totalLineItems":{"type":"number","description":"Total number of line items in the purchase order","isRequired":true,"uniqueKey":"purchaseOrder.totalLineItems","typeLabel":"number"},"fullyInvoicedLineItemsCount":{"type":"number","description":"Number of line items that are fully invoiced (quantity-wise)","isRequired":true,"uniqueKey":"purchaseOrder.fullyInvoicedLineItemsCount","typeLabel":"number"},"fullyDeliveredLineItemsCount":{"type":"number","description":"Number of line items that are fully delivered (quantity-wise)","isRequired":true,"uniqueKey":"purchaseOrder.fullyDeliveredLineItemsCount","typeLabel":"number"},"invoiceCompletionPercentage":{"type":"number","description":"Percentage of order amount that has been invoiced (monetary)","isRequired":true,"uniqueKey":"purchaseOrder.invoiceCompletionPercentage","typeLabel":"number"},"totalOrderQuantity":{"type":"number","description":"Total quantity ordered across all line items","isRequired":true,"uniqueKey":"purchaseOrder.totalOrderQuantity","typeLabel":"number"},"totalDeliveredQuantity":{"type":"number","description":"Total quantity delivered across all line items","isRequired":true,"uniqueKey":"purchaseOrder.totalDeliveredQuantity","typeLabel":"number"},"uniqueDeliveriesCount":{"type":"number","description":"Number of unique deliveries for this purchase order","isRequired":true,"uniqueKey":"purchaseOrder.uniqueDeliveriesCount","typeLabel":"number"},"totalInvoicedQuantity":{"type":"number","description":"Total quantity invoiced across all line items","isRequired":true,"uniqueKey":"purchaseOrder.totalInvoicedQuantity","typeLabel":"number"},"uniqueInvoicesCount":{"type":"number","description":"Number of unique invoices for this purchase order","isRequired":true,"uniqueKey":"purchaseOrder.uniqueInvoicesCount","typeLabel":"number"},"outstandingInvoiceAmount":{"type":"number","description":"Monetary amount still pending invoicing","isRequired":true,"uniqueKey":"purchaseOrder.outstandingInvoiceAmount","typeLabel":"number"},"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"purchaseOrder.id","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","description":"The date and time the entity was created.","uniqueKey":"purchaseOrder.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"format":"date-time","type":"string","description":"The date and time the entity was last updated.","uniqueKey":"purchaseOrder.updatedAt","typeLabel":"string\u003cdate-time>"},"purchaseOrderNumber":{"type":"string","description":"The unique number of the purchase order.","uniqueKey":"purchaseOrder.purchaseOrderNumber","typeLabel":"string"},"externalId":{"type":"string","description":"The external ID of the purchase order.","uniqueKey":"purchaseOrder.externalId","typeLabel":"string"},"orderDate":{"format":"date-time","type":"string","description":"The date of the purchase order.","uniqueKey":"purchaseOrder.orderDate","typeLabel":"string\u003cdate-time>"},"deliveryDate":{"format":"date-time","type":"string","description":"The date of the delivery of the purchase order.","uniqueKey":"purchaseOrder.deliveryDate","typeLabel":"string\u003cdate-time>"},"counterparty":{"type":"object","description":"The counterparty of the purchase order.","required":["archivedAt","email","name","description","vat","accountsPayableNumber","accountsPayableMode","street","city","zip","country","paymentTermsDays","skontoPercentage","skontoDays","organization","bankAccount","transactions","cardBookingPreference"],"properties":{"archivedAt":{"format":"date-time","type":"string","description":"When the counterparty was archived, null if active.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.archivedAt","typeLabel":"string\u003cdate-time>"},"email":{"type":"string","description":"The email of the counterparty.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.email","typeLabel":"string"},"name":{"type":"string","description":"The name of the counterparty.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.name","typeLabel":"string"},"description":{"type":"string","description":"The description of the counterparty.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.description","typeLabel":"string"},"vat":{"type":"string","description":"The EU VAT number of the counterparty.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.vat","typeLabel":"string"},"accountsPayableNumber":{"type":"string","example":"22 0391919","description":"Accounts payable number of the counterparty. Used in bookkeeping.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.accountsPayableNumber","typeLabel":"string"},"accountsPayableMode":{"type":"string","enum":["AUTO","MANUAL","NONE"],"description":"How accounts payable number is managed for this counterparty.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.accountsPayableMode","typeLabel":"enum\u003cstring>"},"street":{"type":"string","description":"Street name and number of the counterparty.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.street","typeLabel":"string"},"city":{"type":"string","description":"City of the counterparty.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.city","typeLabel":"string"},"zip":{"type":"string","description":"ZIP or postal code of the counterparty.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.zip","typeLabel":"string"},"country":{"type":"string","description":"Country of the counterparty using ISO 3166-1 alpha-2 code.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.country","typeLabel":"string"},"paymentTermsDays":{"type":"number","description":"Payment term in days","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.paymentTermsDays","typeLabel":"number"},"skontoPercentage":{"type":"number","description":"Early payment discount percentage","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.skontoPercentage","typeLabel":"number"},"skontoDays":{"type":"number","description":"Days for early payment discount","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.skontoDays","typeLabel":"number"},"organization":{"type":"object","description":"The organization of the counterparty.","required":["name","slug","logoFileName","country","vatNumber","featureFlags","baseCurrency","paymentRunBatchBooking","paymentRunVerificationOfPayee","invoiceExportIncludeForeignCurrencies","allowDirectInvoiceApproval","allowDirectPaymentRunApproval","customExportFormats","apInvoiceBookingTextTemplate","autoPopulateCustomerEmailFromMetadata","autoPopulateSupplierEmailFromMetadata","excludedEmailDomains"],"properties":{"name":{"type":"string","description":"The name of the organization.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.organization.name","typeLabel":"string"},"slug":{"type":"string","description":"The slug of the organization.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.organization.slug","typeLabel":"string"},"logoFileName":{"type":"string","description":"The logo file name.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.organization.logoFileName","typeLabel":"string"},"country":{"type":"string","description":"The country of the organization using ISO 3166-1 alpha-2 code","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.organization.country","typeLabel":"string"},"vatNumber":{"type":"string","description":"The VAT number of the organization","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.organization.vatNumber","typeLabel":"string"},"featureFlags":{"description":"The feature flags associated with the organization.","type":"array","items":{"type":"object","properties":{"featureName":{"type":"string","description":"The name of the feature.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.organization.featureFlags.items.[INDEX].featureName","typeLabel":"string"},"isEnabled":{"type":"boolean","description":"A boolean that indicates if the feature is enabled.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.organization.featureFlags.items.[INDEX].isEnabled","typeLabel":"boolean"},"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"purchaseOrder.counterparty.organization.featureFlags.items.[INDEX].id","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","description":"The date and time the entity was created.","uniqueKey":"purchaseOrder.counterparty.organization.featureFlags.items.[INDEX].createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"format":"date-time","type":"string","description":"The date and time the entity was last updated.","uniqueKey":"purchaseOrder.counterparty.organization.featureFlags.items.[INDEX].updatedAt","typeLabel":"string\u003cdate-time>"}},"required":["featureName","isEnabled"],"uniqueKey":"purchaseOrder.counterparty.organization.featureFlags.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"purchaseOrder.counterparty.organization.featureFlags","typeLabel":"object[]"},"baseCurrency":{"type":"string","description":"The base currency of the organization","enum":["EUR","USD","GBP","JPY","AUD","CAD","CHF","CNY","HKD","NZD","SEK","KRW","SGD","NOK","MXN","INR","BRL","RUB","ZAR","TRY","AED","THB","DKK","HUF","PLN","TWD","SAR","MYR","IDR"],"default":"EUR","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.organization.baseCurrency","typeLabel":"enum\u003cstring>"},"paymentRunBatchBooking":{"type":"boolean","description":"Default setting for whether payment runs should be exported as batch booking or single bookings.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.organization.paymentRunBatchBooking","typeLabel":"boolean"},"paymentRunVerificationOfPayee":{"type":"boolean","description":"Default setting for whether the bank should perform verification of payee (IBAN-Name check) for payment runs.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.organization.paymentRunVerificationOfPayee","typeLabel":"boolean"},"invoiceExportIncludeForeignCurrencies":{"type":"boolean","description":"When true, invoice exports include original currency/amounts; when false, exports use EUR only (foreign amounts converted).","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.organization.invoiceExportIncludeForeignCurrencies","typeLabel":"boolean"},"allowDirectInvoiceApproval":{"type":"boolean","description":"Whether direct approval is allowed for invoice approval workflows in this organization.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.organization.allowDirectInvoiceApproval","typeLabel":"boolean"},"allowDirectPaymentRunApproval":{"type":"boolean","description":"Whether direct approval is allowed for payment run approval workflows in this organization.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.organization.allowDirectPaymentRunApproval","typeLabel":"boolean"},"customExportFormats":{"description":"Custom export formats enabled for this organization","example":["custom_experta"],"type":"array","items":{"type":"string","uniqueKey":"purchaseOrder.counterparty.organization.customExportFormats.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"purchaseOrder.counterparty.organization.customExportFormats","typeLabel":"string[]"},"apInvoiceBookingTextTemplate":{"oneOf":[{"type":"string","description":"JSON-encoded array of booking text tokens defining the template for AP invoice exports.","default":"[\"counterparty-name\",\"invoice-number\",\"notes\"]","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.organization.apInvoiceBookingTextTemplate.oneOf.0","typeLabel":"string"},{"type":"null","description":"JSON-encoded array of booking text tokens defining the template for AP invoice exports.","default":"[\"counterparty-name\",\"invoice-number\",\"notes\"]","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.organization.apInvoiceBookingTextTemplate.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"purchaseOrder.counterparty.organization.apInvoiceBookingTextTemplate","typeLabel":"string | null"},"autoPopulateCustomerEmailFromMetadata":{"type":"boolean","description":"Determines if the organization automatically populates customer email addresses from email metadata for AR invoices.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.organization.autoPopulateCustomerEmailFromMetadata","typeLabel":"boolean"},"autoPopulateSupplierEmailFromMetadata":{"type":"boolean","description":"Determines if the organization automatically populates supplier email addresses from email metadata for AP invoices.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.organization.autoPopulateSupplierEmailFromMetadata","typeLabel":"boolean"},"excludedEmailDomains":{"type":"string","description":"Comma-separated list of email domains that should be excluded from auto-population.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.organization.excludedEmailDomains","typeLabel":"string"},"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"purchaseOrder.counterparty.organization.id","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","description":"The date and time the entity was created.","uniqueKey":"purchaseOrder.counterparty.organization.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"format":"date-time","type":"string","description":"The date and time the entity was last updated.","uniqueKey":"purchaseOrder.counterparty.organization.updatedAt","typeLabel":"string\u003cdate-time>"},"inCaseOfLawCustomerId":{"oneOf":[{"type":"string","description":"The In case of law customer ID for this organization, if already connected.","uniqueKey":"purchaseOrder.counterparty.organization.inCaseOfLawCustomerId.oneOf.0","typeLabel":"string"},{"type":"null","description":"The In case of law customer ID for this organization, if already connected.","uniqueKey":"purchaseOrder.counterparty.organization.inCaseOfLawCustomerId.oneOf.1","typeLabel":"null"}],"uniqueKey":"purchaseOrder.counterparty.organization.inCaseOfLawCustomerId","typeLabel":"string | null"},"cardCommonBookingTargetName":{"oneOf":[{"type":"string","description":"Configured shared card booking target display name used for card bookkeeping export.","uniqueKey":"purchaseOrder.counterparty.organization.cardCommonBookingTargetName.oneOf.0","typeLabel":"string"},{"type":"null","description":"Configured shared card booking target display name used for card bookkeeping export.","uniqueKey":"purchaseOrder.counterparty.organization.cardCommonBookingTargetName.oneOf.1","typeLabel":"null"}],"uniqueKey":"purchaseOrder.counterparty.organization.cardCommonBookingTargetName","typeLabel":"string | null"},"cardCommonBookingTargetAccountsPayableNumber":{"oneOf":[{"type":"string","description":"Configured shared card booking target accounts payable number used for card bookkeeping export.","uniqueKey":"purchaseOrder.counterparty.organization.cardCommonBookingTargetAccountsPayableNumber.oneOf.0","typeLabel":"string"},{"type":"null","description":"Configured shared card booking target accounts payable number used for card bookkeeping export.","uniqueKey":"purchaseOrder.counterparty.organization.cardCommonBookingTargetAccountsPayableNumber.oneOf.1","typeLabel":"null"}],"uniqueKey":"purchaseOrder.counterparty.organization.cardCommonBookingTargetAccountsPayableNumber","typeLabel":"string | null"},"cardFxDifferenceLedgerAccount":{"oneOf":[{"type":"string","description":"Configured ledger account used for FX difference lines in card bookkeeping export.","uniqueKey":"purchaseOrder.counterparty.organization.cardFxDifferenceLedgerAccount.oneOf.0","typeLabel":"string"},{"type":"null","description":"Configured ledger account used for FX difference lines in card bookkeeping export.","uniqueKey":"purchaseOrder.counterparty.organization.cardFxDifferenceLedgerAccount.oneOf.1","typeLabel":"null"}],"uniqueKey":"purchaseOrder.counterparty.organization.cardFxDifferenceLedgerAccount","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"purchaseOrder.counterparty.organization","typeLabel":"object"},"bankAccount":{"type":"object","description":"The bank account of the counterparty.","required":["identifierType","name","bic","countryCode"],"properties":{"identifierType":{"type":"string","enum":["IBAN","ACCOUNT_NUMBER"],"isRequired":true,"uniqueKey":"purchaseOrder.counterparty.bankAccount.identifierType","typeLabel":"enum\u003cstring>"},"name":{"type":"string","description":"The name of the bank account holder.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.bankAccount.name","typeLabel":"string"},"bic":{"type":"string","description":"The BIC of the bank account.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.bankAccount.bic","typeLabel":"string"},"countryCode":{"type":"string","description":"The country code of the bank account.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.bankAccount.countryCode","typeLabel":"string"},"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"purchaseOrder.counterparty.bankAccount.id","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","description":"The date and time the entity was created.","uniqueKey":"purchaseOrder.counterparty.bankAccount.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"format":"date-time","type":"string","description":"The date and time the entity was last updated.","uniqueKey":"purchaseOrder.counterparty.bankAccount.updatedAt","typeLabel":"string\u003cdate-time>"},"iban":{"oneOf":[{"type":"string","description":"The IBAN of the bank account.","uniqueKey":"purchaseOrder.counterparty.bankAccount.iban.oneOf.0","typeLabel":"string"},{"type":"null","description":"The IBAN of the bank account.","uniqueKey":"purchaseOrder.counterparty.bankAccount.iban.oneOf.1","typeLabel":"null"}],"uniqueKey":"purchaseOrder.counterparty.bankAccount.iban","typeLabel":"string | null"},"accountNumber":{"oneOf":[{"type":"string","description":"The non-IBAN account number.","uniqueKey":"purchaseOrder.counterparty.bankAccount.accountNumber.oneOf.0","typeLabel":"string"},{"type":"null","description":"The non-IBAN account number.","uniqueKey":"purchaseOrder.counterparty.bankAccount.accountNumber.oneOf.1","typeLabel":"null"}],"uniqueKey":"purchaseOrder.counterparty.bankAccount.accountNumber","typeLabel":"string | null"},"latestVerification":{"oneOf":[{"type":"object","required":["status","submittedName","submittedIban","isStale"],"properties":{"status":{"type":"string","enum":["QUEUED","PROCESSING","COMPLETED","FAILED"],"isRequired":true,"uniqueKey":"purchaseOrder.counterparty.bankAccount.latestVerification.oneOf.0.status","typeLabel":"enum\u003cstring>"},"submittedName":{"type":"string","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.bankAccount.latestVerification.oneOf.0.submittedName","typeLabel":"string"},"submittedIban":{"type":"string","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.bankAccount.latestVerification.oneOf.0.submittedIban","typeLabel":"string"},"isStale":{"type":"boolean","description":"Whether the saved account details changed after this check.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.bankAccount.latestVerification.oneOf.0.isStale","typeLabel":"boolean"},"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"purchaseOrder.counterparty.bankAccount.latestVerification.oneOf.0.id","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","description":"The date and time the entity was created.","uniqueKey":"purchaseOrder.counterparty.bankAccount.latestVerification.oneOf.0.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"format":"date-time","type":"string","description":"The date and time the entity was last updated.","uniqueKey":"purchaseOrder.counterparty.bankAccount.latestVerification.oneOf.0.updatedAt","typeLabel":"string\u003cdate-time>"},"result":{"oneOf":[{"type":"string","enum":["MATCHED","CLOSE_MATCH","NOT_MATCHED","CANNOT_BE_CHECKED"],"uniqueKey":"purchaseOrder.counterparty.bankAccount.latestVerification.oneOf.0.result.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["MATCHED","CLOSE_MATCH","NOT_MATCHED","CANNOT_BE_CHECKED"],"uniqueKey":"purchaseOrder.counterparty.bankAccount.latestVerification.oneOf.0.result.oneOf.1","typeLabel":"null"}],"uniqueKey":"purchaseOrder.counterparty.bankAccount.latestVerification.oneOf.0.result","typeLabel":"enum\u003cstring> | null"},"returnedName":{"oneOf":[{"type":"string","uniqueKey":"purchaseOrder.counterparty.bankAccount.latestVerification.oneOf.0.returnedName.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"purchaseOrder.counterparty.bankAccount.latestVerification.oneOf.0.returnedName.oneOf.1","typeLabel":"null"}],"uniqueKey":"purchaseOrder.counterparty.bankAccount.latestVerification.oneOf.0.returnedName","typeLabel":"string | null"},"reason":{"oneOf":[{"type":"string","uniqueKey":"purchaseOrder.counterparty.bankAccount.latestVerification.oneOf.0.reason.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"purchaseOrder.counterparty.bankAccount.latestVerification.oneOf.0.reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"purchaseOrder.counterparty.bankAccount.latestVerification.oneOf.0.reason","typeLabel":"string | null"}},"uniqueKey":"purchaseOrder.counterparty.bankAccount.latestVerification.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"purchaseOrder.counterparty.bankAccount.latestVerification.oneOf.1","typeLabel":"null"}],"uniqueKey":"purchaseOrder.counterparty.bankAccount.latestVerification","typeLabel":"object | null"}},"isRequired":true,"uniqueKey":"purchaseOrder.counterparty.bankAccount","typeLabel":"object"},"transactions":{"type":"object","description":"The transactions of the counterparty.","properties":{"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"purchaseOrder.counterparty.transactions.id","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","description":"The date and time the entity was created.","uniqueKey":"purchaseOrder.counterparty.transactions.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"format":"date-time","type":"string","description":"The date and time the entity was last updated.","uniqueKey":"purchaseOrder.counterparty.transactions.updatedAt","typeLabel":"string\u003cdate-time>"},"amount":{"type":"number","description":"The amount of the transaction.","uniqueKey":"purchaseOrder.counterparty.transactions.amount","typeLabel":"number"},"remittanceInformation":{"type":"string","description":"The remittance information of the transaction.","uniqueKey":"purchaseOrder.counterparty.transactions.remittanceInformation","typeLabel":"string"},"requestedExecutionDate":{"format":"date-time","type":"string","description":"The requested execution date of the transaction.","uniqueKey":"purchaseOrder.counterparty.transactions.requestedExecutionDate","typeLabel":"string\u003cdate-time>"},"skontoAmount":{"type":"number","description":"The amount of the skonto.","uniqueKey":"purchaseOrder.counterparty.transactions.skontoAmount","typeLabel":"number"},"skontoDate":{"format":"date-time","type":"string","description":"The date of the skonto.","uniqueKey":"purchaseOrder.counterparty.transactions.skontoDate","typeLabel":"string\u003cdate-time>"},"ignoreSkontoDeadline":{"type":"boolean","description":"Determines if the skonto deadline should be ignored.","uniqueKey":"purchaseOrder.counterparty.transactions.ignoreSkontoDeadline","typeLabel":"boolean"},"express":{"type":"boolean","description":"Determines if the transaction should be processed as an instant or urgent payment.","uniqueKey":"purchaseOrder.counterparty.transactions.express","typeLabel":"boolean"},"currency":{"type":"string","nullable":false,"enum":["EUR","USD","GBP","JPY","AUD","CAD","CHF","CNY","HKD","NZD","SEK","KRW","SGD","NOK","MXN","INR","BRL","RUB","ZAR","TRY","AED","THB","DKK","HUF","PLN","TWD","SAR","MYR","IDR"],"description":"The currency of the transaction.","uniqueKey":"purchaseOrder.counterparty.transactions.currency","typeLabel":"enum\u003cstring>"},"creditor":{"type":"object","description":"The creditor of the transaction.","required":["identifierType","name","bic","countryCode"],"properties":{"identifierType":{"type":"string","enum":["IBAN","ACCOUNT_NUMBER"],"isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.creditor.identifierType","typeLabel":"enum\u003cstring>"},"name":{"type":"string","description":"The name of the bank account holder.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.creditor.name","typeLabel":"string"},"bic":{"type":"string","description":"The BIC of the bank account.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.creditor.bic","typeLabel":"string"},"countryCode":{"type":"string","description":"The country code of the bank account.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.creditor.countryCode","typeLabel":"string"},"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"purchaseOrder.counterparty.transactions.creditor.id","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","description":"The date and time the entity was created.","uniqueKey":"purchaseOrder.counterparty.transactions.creditor.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"format":"date-time","type":"string","description":"The date and time the entity was last updated.","uniqueKey":"purchaseOrder.counterparty.transactions.creditor.updatedAt","typeLabel":"string\u003cdate-time>"},"iban":{"oneOf":[{"type":"string","description":"The IBAN of the bank account.","uniqueKey":"purchaseOrder.counterparty.transactions.creditor.iban.oneOf.0","typeLabel":"string"},{"type":"null","description":"The IBAN of the bank account.","uniqueKey":"purchaseOrder.counterparty.transactions.creditor.iban.oneOf.1","typeLabel":"null"}],"uniqueKey":"purchaseOrder.counterparty.transactions.creditor.iban","typeLabel":"string | null"},"accountNumber":{"oneOf":[{"type":"string","description":"The non-IBAN account number.","uniqueKey":"purchaseOrder.counterparty.transactions.creditor.accountNumber.oneOf.0","typeLabel":"string"},{"type":"null","description":"The non-IBAN account number.","uniqueKey":"purchaseOrder.counterparty.transactions.creditor.accountNumber.oneOf.1","typeLabel":"null"}],"uniqueKey":"purchaseOrder.counterparty.transactions.creditor.accountNumber","typeLabel":"string | null"},"latestVerification":{"oneOf":[{"type":"object","required":["status","submittedName","submittedIban","isStale"],"properties":{"status":{"type":"string","enum":["QUEUED","PROCESSING","COMPLETED","FAILED"],"isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.creditor.latestVerification.oneOf.0.status","typeLabel":"enum\u003cstring>"},"submittedName":{"type":"string","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.creditor.latestVerification.oneOf.0.submittedName","typeLabel":"string"},"submittedIban":{"type":"string","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.creditor.latestVerification.oneOf.0.submittedIban","typeLabel":"string"},"isStale":{"type":"boolean","description":"Whether the saved account details changed after this check.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.creditor.latestVerification.oneOf.0.isStale","typeLabel":"boolean"},"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"purchaseOrder.counterparty.transactions.creditor.latestVerification.oneOf.0.id","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","description":"The date and time the entity was created.","uniqueKey":"purchaseOrder.counterparty.transactions.creditor.latestVerification.oneOf.0.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"format":"date-time","type":"string","description":"The date and time the entity was last updated.","uniqueKey":"purchaseOrder.counterparty.transactions.creditor.latestVerification.oneOf.0.updatedAt","typeLabel":"string\u003cdate-time>"},"result":{"oneOf":[{"type":"string","enum":["MATCHED","CLOSE_MATCH","NOT_MATCHED","CANNOT_BE_CHECKED"],"uniqueKey":"purchaseOrder.counterparty.transactions.creditor.latestVerification.oneOf.0.result.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["MATCHED","CLOSE_MATCH","NOT_MATCHED","CANNOT_BE_CHECKED"],"uniqueKey":"purchaseOrder.counterparty.transactions.creditor.latestVerification.oneOf.0.result.oneOf.1","typeLabel":"null"}],"uniqueKey":"purchaseOrder.counterparty.transactions.creditor.latestVerification.oneOf.0.result","typeLabel":"enum\u003cstring> | null"},"returnedName":{"oneOf":[{"type":"string","uniqueKey":"purchaseOrder.counterparty.transactions.creditor.latestVerification.oneOf.0.returnedName.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"purchaseOrder.counterparty.transactions.creditor.latestVerification.oneOf.0.returnedName.oneOf.1","typeLabel":"null"}],"uniqueKey":"purchaseOrder.counterparty.transactions.creditor.latestVerification.oneOf.0.returnedName","typeLabel":"string | null"},"reason":{"oneOf":[{"type":"string","uniqueKey":"purchaseOrder.counterparty.transactions.creditor.latestVerification.oneOf.0.reason.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"purchaseOrder.counterparty.transactions.creditor.latestVerification.oneOf.0.reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"purchaseOrder.counterparty.transactions.creditor.latestVerification.oneOf.0.reason","typeLabel":"string | null"}},"uniqueKey":"purchaseOrder.counterparty.transactions.creditor.latestVerification.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"purchaseOrder.counterparty.transactions.creditor.latestVerification.oneOf.1","typeLabel":"null"}],"uniqueKey":"purchaseOrder.counterparty.transactions.creditor.latestVerification","typeLabel":"object | null"}},"uniqueKey":"purchaseOrder.counterparty.transactions.creditor","typeLabel":"object"},"debitor":{"type":"object","description":"The debitor of the transaction.","required":["identifierType","name","bic","countryCode"],"properties":{"identifierType":{"type":"string","enum":["IBAN","ACCOUNT_NUMBER"],"isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.debitor.identifierType","typeLabel":"enum\u003cstring>"},"name":{"type":"string","description":"The name of the bank account holder.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.debitor.name","typeLabel":"string"},"bic":{"type":"string","description":"The BIC of the bank account.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.debitor.bic","typeLabel":"string"},"countryCode":{"type":"string","description":"The country code of the bank account.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.debitor.countryCode","typeLabel":"string"},"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"purchaseOrder.counterparty.transactions.debitor.id","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","description":"The date and time the entity was created.","uniqueKey":"purchaseOrder.counterparty.transactions.debitor.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"format":"date-time","type":"string","description":"The date and time the entity was last updated.","uniqueKey":"purchaseOrder.counterparty.transactions.debitor.updatedAt","typeLabel":"string\u003cdate-time>"},"iban":{"oneOf":[{"type":"string","description":"The IBAN of the bank account.","uniqueKey":"purchaseOrder.counterparty.transactions.debitor.iban.oneOf.0","typeLabel":"string"},{"type":"null","description":"The IBAN of the bank account.","uniqueKey":"purchaseOrder.counterparty.transactions.debitor.iban.oneOf.1","typeLabel":"null"}],"uniqueKey":"purchaseOrder.counterparty.transactions.debitor.iban","typeLabel":"string | null"},"accountNumber":{"oneOf":[{"type":"string","description":"The non-IBAN account number.","uniqueKey":"purchaseOrder.counterparty.transactions.debitor.accountNumber.oneOf.0","typeLabel":"string"},{"type":"null","description":"The non-IBAN account number.","uniqueKey":"purchaseOrder.counterparty.transactions.debitor.accountNumber.oneOf.1","typeLabel":"null"}],"uniqueKey":"purchaseOrder.counterparty.transactions.debitor.accountNumber","typeLabel":"string | null"},"latestVerification":{"oneOf":[{"type":"object","required":["status","submittedName","submittedIban","isStale"],"properties":{"status":{"type":"string","enum":["QUEUED","PROCESSING","COMPLETED","FAILED"],"isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.debitor.latestVerification.oneOf.0.status","typeLabel":"enum\u003cstring>"},"submittedName":{"type":"string","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.debitor.latestVerification.oneOf.0.submittedName","typeLabel":"string"},"submittedIban":{"type":"string","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.debitor.latestVerification.oneOf.0.submittedIban","typeLabel":"string"},"isStale":{"type":"boolean","description":"Whether the saved account details changed after this check.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.debitor.latestVerification.oneOf.0.isStale","typeLabel":"boolean"},"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"purchaseOrder.counterparty.transactions.debitor.latestVerification.oneOf.0.id","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","description":"The date and time the entity was created.","uniqueKey":"purchaseOrder.counterparty.transactions.debitor.latestVerification.oneOf.0.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"format":"date-time","type":"string","description":"The date and time the entity was last updated.","uniqueKey":"purchaseOrder.counterparty.transactions.debitor.latestVerification.oneOf.0.updatedAt","typeLabel":"string\u003cdate-time>"},"result":{"oneOf":[{"type":"string","enum":["MATCHED","CLOSE_MATCH","NOT_MATCHED","CANNOT_BE_CHECKED"],"uniqueKey":"purchaseOrder.counterparty.transactions.debitor.latestVerification.oneOf.0.result.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["MATCHED","CLOSE_MATCH","NOT_MATCHED","CANNOT_BE_CHECKED"],"uniqueKey":"purchaseOrder.counterparty.transactions.debitor.latestVerification.oneOf.0.result.oneOf.1","typeLabel":"null"}],"uniqueKey":"purchaseOrder.counterparty.transactions.debitor.latestVerification.oneOf.0.result","typeLabel":"enum\u003cstring> | null"},"returnedName":{"oneOf":[{"type":"string","uniqueKey":"purchaseOrder.counterparty.transactions.debitor.latestVerification.oneOf.0.returnedName.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"purchaseOrder.counterparty.transactions.debitor.latestVerification.oneOf.0.returnedName.oneOf.1","typeLabel":"null"}],"uniqueKey":"purchaseOrder.counterparty.transactions.debitor.latestVerification.oneOf.0.returnedName","typeLabel":"string | null"},"reason":{"oneOf":[{"type":"string","uniqueKey":"purchaseOrder.counterparty.transactions.debitor.latestVerification.oneOf.0.reason.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"purchaseOrder.counterparty.transactions.debitor.latestVerification.oneOf.0.reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"purchaseOrder.counterparty.transactions.debitor.latestVerification.oneOf.0.reason","typeLabel":"string | null"}},"uniqueKey":"purchaseOrder.counterparty.transactions.debitor.latestVerification.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"purchaseOrder.counterparty.transactions.debitor.latestVerification.oneOf.1","typeLabel":"null"}],"uniqueKey":"purchaseOrder.counterparty.transactions.debitor.latestVerification","typeLabel":"object | null"}},"uniqueKey":"purchaseOrder.counterparty.transactions.debitor","typeLabel":"object"},"analysis":{"type":"object","description":"The analysis of the transaction.","required":["analysisRules"],"properties":{"analysisRules":{"type":"object","description":"The analysis rules of the transaction.","required":["type","severity","markedOk","markedOkReason","markedOkDate","value","markedOkUser"],"properties":{"type":{"type":"string","enum":["AMOUNT_DEVIATION","AMOUNT_DEVIATION_SAME_IBAN","AMOUNT_DEVIATION_SAME_COUNTRY","SAME_IBAN_DIFFERENT_NAME","SAME_NAME_DIFFERENT_IBAN","NEW_BANK_ACCOUNT","DUPLICATE_INVOICE","PAYMENT_REMINDER","NON_INVOICE"],"description":"The type of the analysis rule.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.analysis.analysisRules.type","typeLabel":"enum\u003cstring>"},"severity":{"type":"string","enum":["NORMAL","INFO","WARNING","SUSPICIOUS"],"description":"The severity of the analysis rule.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.analysis.analysisRules.severity","typeLabel":"enum\u003cstring>"},"markedOk":{"type":"boolean","description":"Determines if the transaction was marked as ok by a user.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.analysis.analysisRules.markedOk","typeLabel":"boolean"},"markedOkReason":{"type":"string","description":"The reason why the transaction was marked as ok.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.analysis.analysisRules.markedOkReason","typeLabel":"string"},"markedOkDate":{"format":"date-time","type":"string","description":"The date and time the transaction was marked as ok.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.analysis.analysisRules.markedOkDate","typeLabel":"string\u003cdate-time>"},"value":{"type":"string","description":"The value of the analysis rule. ","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.analysis.analysisRules.value","typeLabel":"string"},"markedOkUser":{"type":"object","description":"The user that marked the transaction as ok.","required":["email","name","authId","role","hasPushNotification","organization"],"properties":{"email":{"type":"string","description":"The email of the user.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.analysis.analysisRules.markedOkUser.email","typeLabel":"string"},"name":{"type":"string","description":"The name of the user.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.analysis.analysisRules.markedOkUser.name","typeLabel":"string"},"authId":{"type":"string","description":"The workOs authentication id of the user.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.analysis.analysisRules.markedOkUser.authId","typeLabel":"string"},"role":{"type":"string","description":"The role the user has in the organization.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.analysis.analysisRules.markedOkUser.role","typeLabel":"string"},"hasPushNotification":{"type":"boolean","description":"A boolean that determines if the user has push notifications enabled.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.analysis.analysisRules.markedOkUser.hasPushNotification","typeLabel":"boolean"},"organization":{"type":"object","description":"The active organization the user is in.","required":["name","slug","logoFileName","country","vatNumber","featureFlags","baseCurrency","paymentRunBatchBooking","paymentRunVerificationOfPayee","invoiceExportIncludeForeignCurrencies","allowDirectInvoiceApproval","allowDirectPaymentRunApproval","customExportFormats","apInvoiceBookingTextTemplate","autoPopulateCustomerEmailFromMetadata","autoPopulateSupplierEmailFromMetadata","excludedEmailDomains"],"properties":{"name":{"type":"string","description":"The name of the organization.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.analysis.analysisRules.markedOkUser.organization.name","typeLabel":"string"},"slug":{"type":"string","description":"The slug of the organization.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.analysis.analysisRules.markedOkUser.organization.slug","typeLabel":"string"},"logoFileName":{"type":"string","description":"The logo file name.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.analysis.analysisRules.markedOkUser.organization.logoFileName","typeLabel":"string"},"country":{"type":"string","description":"The country of the organization using ISO 3166-1 alpha-2 code","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.analysis.analysisRules.markedOkUser.organization.country","typeLabel":"string"},"vatNumber":{"type":"string","description":"The VAT number of the organization","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.analysis.analysisRules.markedOkUser.organization.vatNumber","typeLabel":"string"},"featureFlags":{"description":"The feature flags associated with the organization.","type":"array","items":{"type":"object","properties":{"featureName":{"type":"string","description":"The name of the feature.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.analysis.analysisRules.markedOkUser.organization.featureFlags.items.[INDEX].featureName","typeLabel":"string"},"isEnabled":{"type":"boolean","description":"A boolean that indicates if the feature is enabled.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.analysis.analysisRules.markedOkUser.organization.featureFlags.items.[INDEX].isEnabled","typeLabel":"boolean"},"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"purchaseOrder.counterparty.transactions.analysis.analysisRules.markedOkUser.organization.featureFlags.items.[INDEX].id","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","description":"The date and time the entity was created.","uniqueKey":"purchaseOrder.counterparty.transactions.analysis.analysisRules.markedOkUser.organization.featureFlags.items.[INDEX].createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"format":"date-time","type":"string","description":"The date and time the entity was last updated.","uniqueKey":"purchaseOrder.counterparty.transactions.analysis.analysisRules.markedOkUser.organization.featureFlags.items.[INDEX].updatedAt","typeLabel":"string\u003cdate-time>"}},"required":["featureName","isEnabled"],"uniqueKey":"purchaseOrder.counterparty.transactions.analysis.analysisRules.markedOkUser.organization.featureFlags.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.analysis.analysisRules.markedOkUser.organization.featureFlags","typeLabel":"object[]"},"baseCurrency":{"type":"string","description":"The base currency of the organization","enum":["EUR","USD","GBP","JPY","AUD","CAD","CHF","CNY","HKD","NZD","SEK","KRW","SGD","NOK","MXN","INR","BRL","RUB","ZAR","TRY","AED","THB","DKK","HUF","PLN","TWD","SAR","MYR","IDR"],"default":"EUR","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.analysis.analysisRules.markedOkUser.organization.baseCurrency","typeLabel":"enum\u003cstring>"},"paymentRunBatchBooking":{"type":"boolean","description":"Default setting for whether payment runs should be exported as batch booking or single bookings.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.analysis.analysisRules.markedOkUser.organization.paymentRunBatchBooking","typeLabel":"boolean"},"paymentRunVerificationOfPayee":{"type":"boolean","description":"Default setting for whether the bank should perform verification of payee (IBAN-Name check) for payment runs.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.analysis.analysisRules.markedOkUser.organization.paymentRunVerificationOfPayee","typeLabel":"boolean"},"invoiceExportIncludeForeignCurrencies":{"type":"boolean","description":"When true, invoice exports include original currency/amounts; when false, exports use EUR only (foreign amounts converted).","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.analysis.analysisRules.markedOkUser.organization.invoiceExportIncludeForeignCurrencies","typeLabel":"boolean"},"allowDirectInvoiceApproval":{"type":"boolean","description":"Whether direct approval is allowed for invoice approval workflows in this organization.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.analysis.analysisRules.markedOkUser.organization.allowDirectInvoiceApproval","typeLabel":"boolean"},"allowDirectPaymentRunApproval":{"type":"boolean","description":"Whether direct approval is allowed for payment run approval workflows in this organization.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.analysis.analysisRules.markedOkUser.organization.allowDirectPaymentRunApproval","typeLabel":"boolean"},"customExportFormats":{"description":"Custom export formats enabled for this organization","example":["custom_experta"],"type":"array","items":{"type":"string","uniqueKey":"purchaseOrder.counterparty.transactions.analysis.analysisRules.markedOkUser.organization.customExportFormats.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.analysis.analysisRules.markedOkUser.organization.customExportFormats","typeLabel":"string[]"},"apInvoiceBookingTextTemplate":{"oneOf":[{"type":"string","description":"JSON-encoded array of booking text tokens defining the template for AP invoice exports.","default":"[\"counterparty-name\",\"invoice-number\",\"notes\"]","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.analysis.analysisRules.markedOkUser.organization.apInvoiceBookingTextTemplate.oneOf.0","typeLabel":"string"},{"type":"null","description":"JSON-encoded array of booking text tokens defining the template for AP invoice exports.","default":"[\"counterparty-name\",\"invoice-number\",\"notes\"]","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.analysis.analysisRules.markedOkUser.organization.apInvoiceBookingTextTemplate.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.analysis.analysisRules.markedOkUser.organization.apInvoiceBookingTextTemplate","typeLabel":"string | null"},"autoPopulateCustomerEmailFromMetadata":{"type":"boolean","description":"Determines if the organization automatically populates customer email addresses from email metadata for AR invoices.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.analysis.analysisRules.markedOkUser.organization.autoPopulateCustomerEmailFromMetadata","typeLabel":"boolean"},"autoPopulateSupplierEmailFromMetadata":{"type":"boolean","description":"Determines if the organization automatically populates supplier email addresses from email metadata for AP invoices.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.analysis.analysisRules.markedOkUser.organization.autoPopulateSupplierEmailFromMetadata","typeLabel":"boolean"},"excludedEmailDomains":{"type":"string","description":"Comma-separated list of email domains that should be excluded from auto-population.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.analysis.analysisRules.markedOkUser.organization.excludedEmailDomains","typeLabel":"string"},"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"purchaseOrder.counterparty.transactions.analysis.analysisRules.markedOkUser.organization.id","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","description":"The date and time the entity was created.","uniqueKey":"purchaseOrder.counterparty.transactions.analysis.analysisRules.markedOkUser.organization.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"format":"date-time","type":"string","description":"The date and time the entity was last updated.","uniqueKey":"purchaseOrder.counterparty.transactions.analysis.analysisRules.markedOkUser.organization.updatedAt","typeLabel":"string\u003cdate-time>"},"inCaseOfLawCustomerId":{"oneOf":[{"type":"string","description":"The In case of law customer ID for this organization, if already connected.","uniqueKey":"purchaseOrder.counterparty.transactions.analysis.analysisRules.markedOkUser.organization.inCaseOfLawCustomerId.oneOf.0","typeLabel":"string"},{"type":"null","description":"The In case of law customer ID for this organization, if already connected.","uniqueKey":"purchaseOrder.counterparty.transactions.analysis.analysisRules.markedOkUser.organization.inCaseOfLawCustomerId.oneOf.1","typeLabel":"null"}],"uniqueKey":"purchaseOrder.counterparty.transactions.analysis.analysisRules.markedOkUser.organization.inCaseOfLawCustomerId","typeLabel":"string | null"},"cardCommonBookingTargetName":{"oneOf":[{"type":"string","description":"Configured shared card booking target display name used for card bookkeeping export.","uniqueKey":"purchaseOrder.counterparty.transactions.analysis.analysisRules.markedOkUser.organization.cardCommonBookingTargetName.oneOf.0","typeLabel":"string"},{"type":"null","description":"Configured shared card booking target display name used for card bookkeeping export.","uniqueKey":"purchaseOrder.counterparty.transactions.analysis.analysisRules.markedOkUser.organization.cardCommonBookingTargetName.oneOf.1","typeLabel":"null"}],"uniqueKey":"purchaseOrder.counterparty.transactions.analysis.analysisRules.markedOkUser.organization.cardCommonBookingTargetName","typeLabel":"string | null"},"cardCommonBookingTargetAccountsPayableNumber":{"oneOf":[{"type":"string","description":"Configured shared card booking target accounts payable number used for card bookkeeping export.","uniqueKey":"purchaseOrder.counterparty.transactions.analysis.analysisRules.markedOkUser.organization.cardCommonBookingTargetAccountsPayableNumber.oneOf.0","typeLabel":"string"},{"type":"null","description":"Configured shared card booking target accounts payable number used for card bookkeeping export.","uniqueKey":"purchaseOrder.counterparty.transactions.analysis.analysisRules.markedOkUser.organization.cardCommonBookingTargetAccountsPayableNumber.oneOf.1","typeLabel":"null"}],"uniqueKey":"purchaseOrder.counterparty.transactions.analysis.analysisRules.markedOkUser.organization.cardCommonBookingTargetAccountsPayableNumber","typeLabel":"string | null"},"cardFxDifferenceLedgerAccount":{"oneOf":[{"type":"string","description":"Configured ledger account used for FX difference lines in card bookkeeping export.","uniqueKey":"purchaseOrder.counterparty.transactions.analysis.analysisRules.markedOkUser.organization.cardFxDifferenceLedgerAccount.oneOf.0","typeLabel":"string"},{"type":"null","description":"Configured ledger account used for FX difference lines in card bookkeeping export.","uniqueKey":"purchaseOrder.counterparty.transactions.analysis.analysisRules.markedOkUser.organization.cardFxDifferenceLedgerAccount.oneOf.1","typeLabel":"null"}],"uniqueKey":"purchaseOrder.counterparty.transactions.analysis.analysisRules.markedOkUser.organization.cardFxDifferenceLedgerAccount","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.analysis.analysisRules.markedOkUser.organization","typeLabel":"object"},"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"purchaseOrder.counterparty.transactions.analysis.analysisRules.markedOkUser.id","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","description":"The date and time the entity was created.","uniqueKey":"purchaseOrder.counterparty.transactions.analysis.analysisRules.markedOkUser.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"format":"date-time","type":"string","description":"The date and time the entity was last updated.","uniqueKey":"purchaseOrder.counterparty.transactions.analysis.analysisRules.markedOkUser.updatedAt","typeLabel":"string\u003cdate-time>"},"featureFlags":{"type":"array","description":"The feature flags available to the user.","items":{"type":"string","enum":["invoice","custom-fields","ar-invoice","transaction","candis","bank-transaction","webhook","procurement","ai-search","accounting-agent","ibana-agents","insights","payment-cards","in-case-of-law","reimbursement-groups","bank-account-verification"],"uniqueKey":"purchaseOrder.counterparty.transactions.analysis.analysisRules.markedOkUser.featureFlags.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"purchaseOrder.counterparty.transactions.analysis.analysisRules.markedOkUser.featureFlags","typeLabel":"enum\u003cstring>[]"}},"isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.analysis.analysisRules.markedOkUser","typeLabel":"object"},"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"purchaseOrder.counterparty.transactions.analysis.analysisRules.id","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","description":"The date and time the entity was created.","uniqueKey":"purchaseOrder.counterparty.transactions.analysis.analysisRules.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"format":"date-time","type":"string","description":"The date and time the entity was last updated.","uniqueKey":"purchaseOrder.counterparty.transactions.analysis.analysisRules.updatedAt","typeLabel":"string\u003cdate-time>"}},"isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.analysis.analysisRules","typeLabel":"object"},"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"purchaseOrder.counterparty.transactions.analysis.id","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","description":"The date and time the entity was created.","uniqueKey":"purchaseOrder.counterparty.transactions.analysis.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"format":"date-time","type":"string","description":"The date and time the entity was last updated.","uniqueKey":"purchaseOrder.counterparty.transactions.analysis.updatedAt","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"purchaseOrder.counterparty.transactions.analysis","typeLabel":"object"},"archived":{"type":"boolean","description":"Determines if the transaction has been archived.","uniqueKey":"purchaseOrder.counterparty.transactions.archived","typeLabel":"boolean"},"archivedDate":{"format":"date-time","type":"string","description":"The date and time the transaction was archived.","uniqueKey":"purchaseOrder.counterparty.transactions.archivedDate","typeLabel":"string\u003cdate-time>"},"archivedByUser":{"type":"object","description":"The user that archived the transaction.","required":["email","name","authId","role","hasPushNotification","organization"],"properties":{"email":{"type":"string","description":"The email of the user.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.archivedByUser.email","typeLabel":"string"},"name":{"type":"string","description":"The name of the user.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.archivedByUser.name","typeLabel":"string"},"authId":{"type":"string","description":"The workOs authentication id of the user.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.archivedByUser.authId","typeLabel":"string"},"role":{"type":"string","description":"The role the user has in the organization.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.archivedByUser.role","typeLabel":"string"},"hasPushNotification":{"type":"boolean","description":"A boolean that determines if the user has push notifications enabled.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.archivedByUser.hasPushNotification","typeLabel":"boolean"},"organization":{"type":"object","description":"The active organization the user is in.","required":["name","slug","logoFileName","country","vatNumber","featureFlags","baseCurrency","paymentRunBatchBooking","paymentRunVerificationOfPayee","invoiceExportIncludeForeignCurrencies","allowDirectInvoiceApproval","allowDirectPaymentRunApproval","customExportFormats","apInvoiceBookingTextTemplate","autoPopulateCustomerEmailFromMetadata","autoPopulateSupplierEmailFromMetadata","excludedEmailDomains"],"properties":{"name":{"type":"string","description":"The name of the organization.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.archivedByUser.organization.name","typeLabel":"string"},"slug":{"type":"string","description":"The slug of the organization.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.archivedByUser.organization.slug","typeLabel":"string"},"logoFileName":{"type":"string","description":"The logo file name.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.archivedByUser.organization.logoFileName","typeLabel":"string"},"country":{"type":"string","description":"The country of the organization using ISO 3166-1 alpha-2 code","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.archivedByUser.organization.country","typeLabel":"string"},"vatNumber":{"type":"string","description":"The VAT number of the organization","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.archivedByUser.organization.vatNumber","typeLabel":"string"},"featureFlags":{"description":"The feature flags associated with the organization.","type":"array","items":{"type":"object","properties":{"featureName":{"type":"string","description":"The name of the feature.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.archivedByUser.organization.featureFlags.items.[INDEX].featureName","typeLabel":"string"},"isEnabled":{"type":"boolean","description":"A boolean that indicates if the feature is enabled.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.archivedByUser.organization.featureFlags.items.[INDEX].isEnabled","typeLabel":"boolean"},"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"purchaseOrder.counterparty.transactions.archivedByUser.organization.featureFlags.items.[INDEX].id","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","description":"The date and time the entity was created.","uniqueKey":"purchaseOrder.counterparty.transactions.archivedByUser.organization.featureFlags.items.[INDEX].createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"format":"date-time","type":"string","description":"The date and time the entity was last updated.","uniqueKey":"purchaseOrder.counterparty.transactions.archivedByUser.organization.featureFlags.items.[INDEX].updatedAt","typeLabel":"string\u003cdate-time>"}},"required":["featureName","isEnabled"],"uniqueKey":"purchaseOrder.counterparty.transactions.archivedByUser.organization.featureFlags.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.archivedByUser.organization.featureFlags","typeLabel":"object[]"},"baseCurrency":{"type":"string","description":"The base currency of the organization","enum":["EUR","USD","GBP","JPY","AUD","CAD","CHF","CNY","HKD","NZD","SEK","KRW","SGD","NOK","MXN","INR","BRL","RUB","ZAR","TRY","AED","THB","DKK","HUF","PLN","TWD","SAR","MYR","IDR"],"default":"EUR","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.archivedByUser.organization.baseCurrency","typeLabel":"enum\u003cstring>"},"paymentRunBatchBooking":{"type":"boolean","description":"Default setting for whether payment runs should be exported as batch booking or single bookings.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.archivedByUser.organization.paymentRunBatchBooking","typeLabel":"boolean"},"paymentRunVerificationOfPayee":{"type":"boolean","description":"Default setting for whether the bank should perform verification of payee (IBAN-Name check) for payment runs.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.archivedByUser.organization.paymentRunVerificationOfPayee","typeLabel":"boolean"},"invoiceExportIncludeForeignCurrencies":{"type":"boolean","description":"When true, invoice exports include original currency/amounts; when false, exports use EUR only (foreign amounts converted).","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.archivedByUser.organization.invoiceExportIncludeForeignCurrencies","typeLabel":"boolean"},"allowDirectInvoiceApproval":{"type":"boolean","description":"Whether direct approval is allowed for invoice approval workflows in this organization.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.archivedByUser.organization.allowDirectInvoiceApproval","typeLabel":"boolean"},"allowDirectPaymentRunApproval":{"type":"boolean","description":"Whether direct approval is allowed for payment run approval workflows in this organization.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.archivedByUser.organization.allowDirectPaymentRunApproval","typeLabel":"boolean"},"customExportFormats":{"description":"Custom export formats enabled for this organization","example":["custom_experta"],"type":"array","items":{"type":"string","uniqueKey":"purchaseOrder.counterparty.transactions.archivedByUser.organization.customExportFormats.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.archivedByUser.organization.customExportFormats","typeLabel":"string[]"},"apInvoiceBookingTextTemplate":{"oneOf":[{"type":"string","description":"JSON-encoded array of booking text tokens defining the template for AP invoice exports.","default":"[\"counterparty-name\",\"invoice-number\",\"notes\"]","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.archivedByUser.organization.apInvoiceBookingTextTemplate.oneOf.0","typeLabel":"string"},{"type":"null","description":"JSON-encoded array of booking text tokens defining the template for AP invoice exports.","default":"[\"counterparty-name\",\"invoice-number\",\"notes\"]","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.archivedByUser.organization.apInvoiceBookingTextTemplate.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.archivedByUser.organization.apInvoiceBookingTextTemplate","typeLabel":"string | null"},"autoPopulateCustomerEmailFromMetadata":{"type":"boolean","description":"Determines if the organization automatically populates customer email addresses from email metadata for AR invoices.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.archivedByUser.organization.autoPopulateCustomerEmailFromMetadata","typeLabel":"boolean"},"autoPopulateSupplierEmailFromMetadata":{"type":"boolean","description":"Determines if the organization automatically populates supplier email addresses from email metadata for AP invoices.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.archivedByUser.organization.autoPopulateSupplierEmailFromMetadata","typeLabel":"boolean"},"excludedEmailDomains":{"type":"string","description":"Comma-separated list of email domains that should be excluded from auto-population.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.archivedByUser.organization.excludedEmailDomains","typeLabel":"string"},"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"purchaseOrder.counterparty.transactions.archivedByUser.organization.id","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","description":"The date and time the entity was created.","uniqueKey":"purchaseOrder.counterparty.transactions.archivedByUser.organization.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"format":"date-time","type":"string","description":"The date and time the entity was last updated.","uniqueKey":"purchaseOrder.counterparty.transactions.archivedByUser.organization.updatedAt","typeLabel":"string\u003cdate-time>"},"inCaseOfLawCustomerId":{"oneOf":[{"type":"string","description":"The In case of law customer ID for this organization, if already connected.","uniqueKey":"purchaseOrder.counterparty.transactions.archivedByUser.organization.inCaseOfLawCustomerId.oneOf.0","typeLabel":"string"},{"type":"null","description":"The In case of law customer ID for this organization, if already connected.","uniqueKey":"purchaseOrder.counterparty.transactions.archivedByUser.organization.inCaseOfLawCustomerId.oneOf.1","typeLabel":"null"}],"uniqueKey":"purchaseOrder.counterparty.transactions.archivedByUser.organization.inCaseOfLawCustomerId","typeLabel":"string | null"},"cardCommonBookingTargetName":{"oneOf":[{"type":"string","description":"Configured shared card booking target display name used for card bookkeeping export.","uniqueKey":"purchaseOrder.counterparty.transactions.archivedByUser.organization.cardCommonBookingTargetName.oneOf.0","typeLabel":"string"},{"type":"null","description":"Configured shared card booking target display name used for card bookkeeping export.","uniqueKey":"purchaseOrder.counterparty.transactions.archivedByUser.organization.cardCommonBookingTargetName.oneOf.1","typeLabel":"null"}],"uniqueKey":"purchaseOrder.counterparty.transactions.archivedByUser.organization.cardCommonBookingTargetName","typeLabel":"string | null"},"cardCommonBookingTargetAccountsPayableNumber":{"oneOf":[{"type":"string","description":"Configured shared card booking target accounts payable number used for card bookkeeping export.","uniqueKey":"purchaseOrder.counterparty.transactions.archivedByUser.organization.cardCommonBookingTargetAccountsPayableNumber.oneOf.0","typeLabel":"string"},{"type":"null","description":"Configured shared card booking target accounts payable number used for card bookkeeping export.","uniqueKey":"purchaseOrder.counterparty.transactions.archivedByUser.organization.cardCommonBookingTargetAccountsPayableNumber.oneOf.1","typeLabel":"null"}],"uniqueKey":"purchaseOrder.counterparty.transactions.archivedByUser.organization.cardCommonBookingTargetAccountsPayableNumber","typeLabel":"string | null"},"cardFxDifferenceLedgerAccount":{"oneOf":[{"type":"string","description":"Configured ledger account used for FX difference lines in card bookkeeping export.","uniqueKey":"purchaseOrder.counterparty.transactions.archivedByUser.organization.cardFxDifferenceLedgerAccount.oneOf.0","typeLabel":"string"},{"type":"null","description":"Configured ledger account used for FX difference lines in card bookkeeping export.","uniqueKey":"purchaseOrder.counterparty.transactions.archivedByUser.organization.cardFxDifferenceLedgerAccount.oneOf.1","typeLabel":"null"}],"uniqueKey":"purchaseOrder.counterparty.transactions.archivedByUser.organization.cardFxDifferenceLedgerAccount","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.archivedByUser.organization","typeLabel":"object"},"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"purchaseOrder.counterparty.transactions.archivedByUser.id","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","description":"The date and time the entity was created.","uniqueKey":"purchaseOrder.counterparty.transactions.archivedByUser.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"format":"date-time","type":"string","description":"The date and time the entity was last updated.","uniqueKey":"purchaseOrder.counterparty.transactions.archivedByUser.updatedAt","typeLabel":"string\u003cdate-time>"},"featureFlags":{"type":"array","description":"The feature flags available to the user.","items":{"type":"string","enum":["invoice","custom-fields","ar-invoice","transaction","candis","bank-transaction","webhook","procurement","ai-search","accounting-agent","ibana-agents","insights","payment-cards","in-case-of-law","reimbursement-groups","bank-account-verification"],"uniqueKey":"purchaseOrder.counterparty.transactions.archivedByUser.featureFlags.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"purchaseOrder.counterparty.transactions.archivedByUser.featureFlags","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"purchaseOrder.counterparty.transactions.archivedByUser","typeLabel":"object"},"paymentRun":{"type":"object","description":"The payment run the transaction is assigned to","required":["id","createdAt","createdById","createdByName","organizationId","sumAmount","sumAmountWithSkonto","sumBookedAmount","sumAmountEur","transactionCount"],"properties":{"id":{"type":"string","description":"Id of the payment run","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.paymentRun.id","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","description":"Creation date of the payment run","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.paymentRun.createdAt","typeLabel":"string\u003cdate-time>"},"createdById":{"type":"string","description":"Id of the user who created the payment run","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.paymentRun.createdById","typeLabel":"string"},"createdByName":{"type":"string","description":"Name of the user who created the payment run","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.paymentRun.createdByName","typeLabel":"string"},"organizationId":{"type":"string","description":"Id of the orgnaization","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.paymentRun.organizationId","typeLabel":"string"},"sumAmount":{"type":"number","description":"Total amount of all transactions in the payment run","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.paymentRun.sumAmount","typeLabel":"number"},"sumAmountWithSkonto":{"type":"number","description":"Total amount of all transactions in the payment run with skonto","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.paymentRun.sumAmountWithSkonto","typeLabel":"number"},"sumBookedAmount":{"type":"number","description":"Total amount of all transactions in the payment run at the time of booking","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.paymentRun.sumBookedAmount","typeLabel":"number"},"sumAmountEur":{"type":"number","description":"EUR-equivalent total: locked at approval rate or live-converted from today's exchange rates","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.paymentRun.sumAmountEur","typeLabel":"number"},"transactionCount":{"type":"number","description":"Count of transactions in the payment run","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.paymentRun.transactionCount","typeLabel":"number"},"batchBooking":{"type":"boolean","description":"Override setting for whether this payment run should be exported as batch booking. If null, uses the organization default.","uniqueKey":"purchaseOrder.counterparty.transactions.paymentRun.batchBooking","typeLabel":"boolean"}},"uniqueKey":"purchaseOrder.counterparty.transactions.paymentRun","typeLabel":"object"},"counterparty":{"description":"The counterparty of the transaction.","uniqueKey":"purchaseOrder.counterparty.transactions.counterparty","typeLabel":"any"},"invoice":{"type":"object","description":"The invoice associated with the transaction.","required":["id","invoiceNumber","status","totalAmount","dueDate","invoiceDate","currency"],"properties":{"id":{"type":"string","description":"The id of the invoice.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.invoice.id","typeLabel":"string"},"invoiceNumber":{"type":"string","description":"The invoice number.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.invoice.invoiceNumber","typeLabel":"string"},"status":{"type":"string","description":"The status of the invoice.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.invoice.status","typeLabel":"string"},"totalAmount":{"type":"number","description":"The total amount of the invoice.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.invoice.totalAmount","typeLabel":"number"},"dueDate":{"format":"date-time","type":"string","description":"The due date of the invoice.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.invoice.dueDate","typeLabel":"string\u003cdate-time>"},"invoiceDate":{"format":"date-time","type":"string","description":"The date of the invoice.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.invoice.invoiceDate","typeLabel":"string\u003cdate-time>"},"currency":{"type":"string","description":"The currency of the invoice.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions.invoice.currency","typeLabel":"string"}},"uniqueKey":"purchaseOrder.counterparty.transactions.invoice","typeLabel":"object"}},"isRequired":true,"uniqueKey":"purchaseOrder.counterparty.transactions","typeLabel":"object"},"cardBookingPreference":{"type":"string","enum":["INVOICE_COUNTERPARTY","ORG_CARD_COMMON"],"description":"Default booking preference for card-paid invoices of this counterparty.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.cardBookingPreference","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"purchaseOrder.counterparty.id","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","description":"The date and time the entity was created.","uniqueKey":"purchaseOrder.counterparty.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"format":"date-time","type":"string","description":"The date and time the entity was last updated.","uniqueKey":"purchaseOrder.counterparty.updatedAt","typeLabel":"string\u003cdate-time>"},"archivedBy":{"type":"object","description":"The user that archived the counterparty.","required":["email","name","authId","role","hasPushNotification","organization"],"properties":{"email":{"type":"string","description":"The email of the user.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.archivedBy.email","typeLabel":"string"},"name":{"type":"string","description":"The name of the user.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.archivedBy.name","typeLabel":"string"},"authId":{"type":"string","description":"The workOs authentication id of the user.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.archivedBy.authId","typeLabel":"string"},"role":{"type":"string","description":"The role the user has in the organization.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.archivedBy.role","typeLabel":"string"},"hasPushNotification":{"type":"boolean","description":"A boolean that determines if the user has push notifications enabled.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.archivedBy.hasPushNotification","typeLabel":"boolean"},"organization":{"type":"object","description":"The active organization the user is in.","required":["name","slug","logoFileName","country","vatNumber","featureFlags","baseCurrency","paymentRunBatchBooking","paymentRunVerificationOfPayee","invoiceExportIncludeForeignCurrencies","allowDirectInvoiceApproval","allowDirectPaymentRunApproval","customExportFormats","apInvoiceBookingTextTemplate","autoPopulateCustomerEmailFromMetadata","autoPopulateSupplierEmailFromMetadata","excludedEmailDomains"],"properties":{"name":{"type":"string","description":"The name of the organization.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.archivedBy.organization.name","typeLabel":"string"},"slug":{"type":"string","description":"The slug of the organization.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.archivedBy.organization.slug","typeLabel":"string"},"logoFileName":{"type":"string","description":"The logo file name.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.archivedBy.organization.logoFileName","typeLabel":"string"},"country":{"type":"string","description":"The country of the organization using ISO 3166-1 alpha-2 code","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.archivedBy.organization.country","typeLabel":"string"},"vatNumber":{"type":"string","description":"The VAT number of the organization","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.archivedBy.organization.vatNumber","typeLabel":"string"},"featureFlags":{"description":"The feature flags associated with the organization.","type":"array","items":{"type":"object","properties":{"featureName":{"type":"string","description":"The name of the feature.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.archivedBy.organization.featureFlags.items.[INDEX].featureName","typeLabel":"string"},"isEnabled":{"type":"boolean","description":"A boolean that indicates if the feature is enabled.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.archivedBy.organization.featureFlags.items.[INDEX].isEnabled","typeLabel":"boolean"},"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"purchaseOrder.counterparty.archivedBy.organization.featureFlags.items.[INDEX].id","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","description":"The date and time the entity was created.","uniqueKey":"purchaseOrder.counterparty.archivedBy.organization.featureFlags.items.[INDEX].createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"format":"date-time","type":"string","description":"The date and time the entity was last updated.","uniqueKey":"purchaseOrder.counterparty.archivedBy.organization.featureFlags.items.[INDEX].updatedAt","typeLabel":"string\u003cdate-time>"}},"required":["featureName","isEnabled"],"uniqueKey":"purchaseOrder.counterparty.archivedBy.organization.featureFlags.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"purchaseOrder.counterparty.archivedBy.organization.featureFlags","typeLabel":"object[]"},"baseCurrency":{"type":"string","description":"The base currency of the organization","enum":["EUR","USD","GBP","JPY","AUD","CAD","CHF","CNY","HKD","NZD","SEK","KRW","SGD","NOK","MXN","INR","BRL","RUB","ZAR","TRY","AED","THB","DKK","HUF","PLN","TWD","SAR","MYR","IDR"],"default":"EUR","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.archivedBy.organization.baseCurrency","typeLabel":"enum\u003cstring>"},"paymentRunBatchBooking":{"type":"boolean","description":"Default setting for whether payment runs should be exported as batch booking or single bookings.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.archivedBy.organization.paymentRunBatchBooking","typeLabel":"boolean"},"paymentRunVerificationOfPayee":{"type":"boolean","description":"Default setting for whether the bank should perform verification of payee (IBAN-Name check) for payment runs.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.archivedBy.organization.paymentRunVerificationOfPayee","typeLabel":"boolean"},"invoiceExportIncludeForeignCurrencies":{"type":"boolean","description":"When true, invoice exports include original currency/amounts; when false, exports use EUR only (foreign amounts converted).","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.archivedBy.organization.invoiceExportIncludeForeignCurrencies","typeLabel":"boolean"},"allowDirectInvoiceApproval":{"type":"boolean","description":"Whether direct approval is allowed for invoice approval workflows in this organization.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.archivedBy.organization.allowDirectInvoiceApproval","typeLabel":"boolean"},"allowDirectPaymentRunApproval":{"type":"boolean","description":"Whether direct approval is allowed for payment run approval workflows in this organization.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.archivedBy.organization.allowDirectPaymentRunApproval","typeLabel":"boolean"},"customExportFormats":{"description":"Custom export formats enabled for this organization","example":["custom_experta"],"type":"array","items":{"type":"string","uniqueKey":"purchaseOrder.counterparty.archivedBy.organization.customExportFormats.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"purchaseOrder.counterparty.archivedBy.organization.customExportFormats","typeLabel":"string[]"},"apInvoiceBookingTextTemplate":{"oneOf":[{"type":"string","description":"JSON-encoded array of booking text tokens defining the template for AP invoice exports.","default":"[\"counterparty-name\",\"invoice-number\",\"notes\"]","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.archivedBy.organization.apInvoiceBookingTextTemplate.oneOf.0","typeLabel":"string"},{"type":"null","description":"JSON-encoded array of booking text tokens defining the template for AP invoice exports.","default":"[\"counterparty-name\",\"invoice-number\",\"notes\"]","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.archivedBy.organization.apInvoiceBookingTextTemplate.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"purchaseOrder.counterparty.archivedBy.organization.apInvoiceBookingTextTemplate","typeLabel":"string | null"},"autoPopulateCustomerEmailFromMetadata":{"type":"boolean","description":"Determines if the organization automatically populates customer email addresses from email metadata for AR invoices.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.archivedBy.organization.autoPopulateCustomerEmailFromMetadata","typeLabel":"boolean"},"autoPopulateSupplierEmailFromMetadata":{"type":"boolean","description":"Determines if the organization automatically populates supplier email addresses from email metadata for AP invoices.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.archivedBy.organization.autoPopulateSupplierEmailFromMetadata","typeLabel":"boolean"},"excludedEmailDomains":{"type":"string","description":"Comma-separated list of email domains that should be excluded from auto-population.","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.archivedBy.organization.excludedEmailDomains","typeLabel":"string"},"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"purchaseOrder.counterparty.archivedBy.organization.id","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","description":"The date and time the entity was created.","uniqueKey":"purchaseOrder.counterparty.archivedBy.organization.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"format":"date-time","type":"string","description":"The date and time the entity was last updated.","uniqueKey":"purchaseOrder.counterparty.archivedBy.organization.updatedAt","typeLabel":"string\u003cdate-time>"},"inCaseOfLawCustomerId":{"oneOf":[{"type":"string","description":"The In case of law customer ID for this organization, if already connected.","uniqueKey":"purchaseOrder.counterparty.archivedBy.organization.inCaseOfLawCustomerId.oneOf.0","typeLabel":"string"},{"type":"null","description":"The In case of law customer ID for this organization, if already connected.","uniqueKey":"purchaseOrder.counterparty.archivedBy.organization.inCaseOfLawCustomerId.oneOf.1","typeLabel":"null"}],"uniqueKey":"purchaseOrder.counterparty.archivedBy.organization.inCaseOfLawCustomerId","typeLabel":"string | null"},"cardCommonBookingTargetName":{"oneOf":[{"type":"string","description":"Configured shared card booking target display name used for card bookkeeping export.","uniqueKey":"purchaseOrder.counterparty.archivedBy.organization.cardCommonBookingTargetName.oneOf.0","typeLabel":"string"},{"type":"null","description":"Configured shared card booking target display name used for card bookkeeping export.","uniqueKey":"purchaseOrder.counterparty.archivedBy.organization.cardCommonBookingTargetName.oneOf.1","typeLabel":"null"}],"uniqueKey":"purchaseOrder.counterparty.archivedBy.organization.cardCommonBookingTargetName","typeLabel":"string | null"},"cardCommonBookingTargetAccountsPayableNumber":{"oneOf":[{"type":"string","description":"Configured shared card booking target accounts payable number used for card bookkeeping export.","uniqueKey":"purchaseOrder.counterparty.archivedBy.organization.cardCommonBookingTargetAccountsPayableNumber.oneOf.0","typeLabel":"string"},{"type":"null","description":"Configured shared card booking target accounts payable number used for card bookkeeping export.","uniqueKey":"purchaseOrder.counterparty.archivedBy.organization.cardCommonBookingTargetAccountsPayableNumber.oneOf.1","typeLabel":"null"}],"uniqueKey":"purchaseOrder.counterparty.archivedBy.organization.cardCommonBookingTargetAccountsPayableNumber","typeLabel":"string | null"},"cardFxDifferenceLedgerAccount":{"oneOf":[{"type":"string","description":"Configured ledger account used for FX difference lines in card bookkeeping export.","uniqueKey":"purchaseOrder.counterparty.archivedBy.organization.cardFxDifferenceLedgerAccount.oneOf.0","typeLabel":"string"},{"type":"null","description":"Configured ledger account used for FX difference lines in card bookkeeping export.","uniqueKey":"purchaseOrder.counterparty.archivedBy.organization.cardFxDifferenceLedgerAccount.oneOf.1","typeLabel":"null"}],"uniqueKey":"purchaseOrder.counterparty.archivedBy.organization.cardFxDifferenceLedgerAccount","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"purchaseOrder.counterparty.archivedBy.organization","typeLabel":"object"},"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"purchaseOrder.counterparty.archivedBy.id","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","description":"The date and time the entity was created.","uniqueKey":"purchaseOrder.counterparty.archivedBy.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"format":"date-time","type":"string","description":"The date and time the entity was last updated.","uniqueKey":"purchaseOrder.counterparty.archivedBy.updatedAt","typeLabel":"string\u003cdate-time>"},"featureFlags":{"type":"array","description":"The feature flags available to the user.","items":{"type":"string","enum":["invoice","custom-fields","ar-invoice","transaction","candis","bank-transaction","webhook","procurement","ai-search","accounting-agent","ibana-agents","insights","payment-cards","in-case-of-law","reimbursement-groups","bank-account-verification"],"uniqueKey":"purchaseOrder.counterparty.archivedBy.featureFlags.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"purchaseOrder.counterparty.archivedBy.featureFlags","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"purchaseOrder.counterparty.archivedBy","typeLabel":"object"},"buildingNumber":{"type":"string","description":"Building number of the counterparty.","uniqueKey":"purchaseOrder.counterparty.buildingNumber","typeLabel":"string"},"apBalance":{"type":"object","description":"Derived AP balance for this counterparty.","required":["openInvoiceAmount","approvedOpenCreditNoteAmount","manualCreditAmount","totalAvailableCredit","netPayableAmount","remainingCreditBalance","scheduledBankTransferAmount","remainingToScheduleAmount","unapprovedCreditNoteAmount","appliedInvoiceCreditAmount"],"properties":{"openInvoiceAmount":{"type":"number","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.apBalance.openInvoiceAmount","typeLabel":"number"},"approvedOpenCreditNoteAmount":{"type":"number","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.apBalance.approvedOpenCreditNoteAmount","typeLabel":"number"},"manualCreditAmount":{"type":"number","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.apBalance.manualCreditAmount","typeLabel":"number"},"totalAvailableCredit":{"type":"number","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.apBalance.totalAvailableCredit","typeLabel":"number"},"netPayableAmount":{"type":"number","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.apBalance.netPayableAmount","typeLabel":"number"},"remainingCreditBalance":{"type":"number","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.apBalance.remainingCreditBalance","typeLabel":"number"},"scheduledBankTransferAmount":{"type":"number","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.apBalance.scheduledBankTransferAmount","typeLabel":"number"},"remainingToScheduleAmount":{"type":"number","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.apBalance.remainingToScheduleAmount","typeLabel":"number"},"unapprovedCreditNoteAmount":{"type":"number","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.apBalance.unapprovedCreditNoteAmount","typeLabel":"number"},"appliedInvoiceCreditAmount":{"type":"number","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.apBalance.appliedInvoiceCreditAmount","typeLabel":"number"},"balancesByCurrency":{"type":"array","items":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR","USD","GBP","JPY","AUD","CAD","CHF","CNY","HKD","NZD","SEK","KRW","SGD","NOK","MXN","INR","BRL","RUB","ZAR","TRY","AED","THB","DKK","HUF","PLN","TWD","SAR","MYR","IDR"],"isRequired":true,"uniqueKey":"purchaseOrder.counterparty.apBalance.balancesByCurrency.items.[INDEX].currency","typeLabel":"enum\u003cstring>"},"approvedOpenCreditNoteAmount":{"type":"number","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.apBalance.balancesByCurrency.items.[INDEX].approvedOpenCreditNoteAmount","typeLabel":"number"},"manualCreditAmount":{"type":"number","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.apBalance.balancesByCurrency.items.[INDEX].manualCreditAmount","typeLabel":"number"},"totalAvailableCredit":{"type":"number","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.apBalance.balancesByCurrency.items.[INDEX].totalAvailableCredit","typeLabel":"number"},"appliedInvoiceCreditAmount":{"type":"number","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.apBalance.balancesByCurrency.items.[INDEX].appliedInvoiceCreditAmount","typeLabel":"number"},"remainingCreditBalance":{"type":"number","isRequired":true,"uniqueKey":"purchaseOrder.counterparty.apBalance.balancesByCurrency.items.[INDEX].remainingCreditBalance","typeLabel":"number"}},"required":["currency","approvedOpenCreditNoteAmount","manualCreditAmount","totalAvailableCredit","appliedInvoiceCreditAmount","remainingCreditBalance"],"uniqueKey":"purchaseOrder.counterparty.apBalance.balancesByCurrency.items.[INDEX]","typeLabel":"object"},"uniqueKey":"purchaseOrder.counterparty.apBalance.balancesByCurrency","typeLabel":"object[]"}},"uniqueKey":"purchaseOrder.counterparty.apBalance","typeLabel":"object"}},"uniqueKey":"purchaseOrder.counterparty","typeLabel":"object"},"lineItems":{"description":"The line items of the purchase order.","type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"purchaseOrder.lineItems.items.[INDEX].id","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","description":"The date and time the entity was created.","uniqueKey":"purchaseOrder.lineItems.items.[INDEX].createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"format":"date-time","type":"string","description":"The date and time the entity was last updated.","uniqueKey":"purchaseOrder.lineItems.items.[INDEX].updatedAt","typeLabel":"string\u003cdate-time>"},"productCode":{"type":"number","description":"Unique identifier or code for the product or service in this line item.","uniqueKey":"purchaseOrder.lineItems.items.[INDEX].productCode","typeLabel":"number"},"externalId":{"type":"string","description":"External identifier for this line item from the source system.","uniqueKey":"purchaseOrder.lineItems.items.[INDEX].externalId","typeLabel":"string"},"title":{"type":"string","description":"Brief title or name of the product or service in this line item.","uniqueKey":"purchaseOrder.lineItems.items.[INDEX].title","typeLabel":"string"},"summary":{"type":"string","description":"Short semantic summary of what this line item represents.","uniqueKey":"purchaseOrder.lineItems.items.[INDEX].summary","typeLabel":"string"},"description":{"type":"string","description":"Detailed description of the product, service, or purpose of this line item.","uniqueKey":"purchaseOrder.lineItems.items.[INDEX].description","typeLabel":"string"},"quantity":{"type":"number","description":"Number of units for this line item.","uniqueKey":"purchaseOrder.lineItems.items.[INDEX].quantity","typeLabel":"number"},"unit":{"type":"number","description":"Unit of measure for this line item (e.g., \"pcs\", \"kg\", \"discount\" for discounts).","uniqueKey":"purchaseOrder.lineItems.items.[INDEX].unit","typeLabel":"number"},"unitPrice":{"type":"number","description":"Price per unit for this line item (net amount, excluding tax), in the invoice currency.","uniqueKey":"purchaseOrder.lineItems.items.[INDEX].unitPrice","typeLabel":"number"},"pricePerQuantity":{"type":"number","description":"Pricing basis for the displayed unit price, e.g. 100 for \"1.84 per 100\".","uniqueKey":"purchaseOrder.lineItems.items.[INDEX].pricePerQuantity","typeLabel":"number"},"totalPrice":{"type":"number","description":"Total price for this line item (net amount, excluding tax). Calculated as quantity / pricePerQuantity * unitPrice, in the invoice currency.","uniqueKey":"purchaseOrder.lineItems.items.[INDEX].totalPrice","typeLabel":"number"},"discount":{"type":"number","description":"Discount amount for this line item, in the invoice currency (negative for discounts).","uniqueKey":"purchaseOrder.lineItems.items.[INDEX].discount","typeLabel":"number"},"taxRate":{"type":"number","description":"Tax rate applied to this line item, in percent.","uniqueKey":"purchaseOrder.lineItems.items.[INDEX].taxRate","typeLabel":"number"},"taxAmount":{"type":"number","description":"Total tax amount for this line item, in the invoice currency.","uniqueKey":"purchaseOrder.lineItems.items.[INDEX].taxAmount","typeLabel":"number"},"deliveredQuantity":{"type":"number","description":"Total quantity delivered for this line item","uniqueKey":"purchaseOrder.lineItems.items.[INDEX].deliveredQuantity","typeLabel":"number"},"invoicedQuantity":{"type":"number","description":"Total quantity invoiced for this line item","uniqueKey":"purchaseOrder.lineItems.items.[INDEX].invoicedQuantity","typeLabel":"number"},"invoicedTotalAmount":{"type":"number","description":"Total amount invoiced for this line item","uniqueKey":"purchaseOrder.lineItems.items.[INDEX].invoicedTotalAmount","typeLabel":"number"},"deliveryPercentage":{"type":"number","description":"Percentage of ordered quantity that has been delivered","uniqueKey":"purchaseOrder.lineItems.items.[INDEX].deliveryPercentage","typeLabel":"number"},"invoicedPercentage":{"type":"number","description":"Percentage of ordered quantity that has been invoiced","uniqueKey":"purchaseOrder.lineItems.items.[INDEX].invoicedPercentage","typeLabel":"number"}},"uniqueKey":"purchaseOrder.lineItems.items.[INDEX]","typeLabel":"object"},"uniqueKey":"purchaseOrder.lineItems","typeLabel":"object[]"}},"uniqueKey":"purchaseOrder","typeLabel":"object"},"taxRegistration":{"oneOf":[{"type":"object","description":"Optional tax registration used as invoice tax jurisdiction.","required":["name","country","currency"],"properties":{"name":{"type":"string","isRequired":true,"uniqueKey":"taxRegistration.oneOf.0.name","typeLabel":"string"},"country":{"type":"string","isRequired":true,"uniqueKey":"taxRegistration.oneOf.0.country","typeLabel":"string"},"currency":{"type":"string","enum":["EUR","USD","GBP","JPY","AUD","CAD","CHF","CNY","HKD","NZD","SEK","KRW","SGD","NOK","MXN","INR","BRL","RUB","ZAR","TRY","AED","THB","DKK","HUF","PLN","TWD","SAR","MYR","IDR"],"isRequired":true,"uniqueKey":"taxRegistration.oneOf.0.currency","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"taxRegistration.oneOf.0.id","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","description":"The date and time the entity was created.","uniqueKey":"taxRegistration.oneOf.0.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"format":"date-time","type":"string","description":"The date and time the entity was last updated.","uniqueKey":"taxRegistration.oneOf.0.updatedAt","typeLabel":"string\u003cdate-time>"},"code":{"oneOf":[{"type":"string","uniqueKey":"taxRegistration.oneOf.0.code.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"taxRegistration.oneOf.0.code.oneOf.1","typeLabel":"null"}],"uniqueKey":"taxRegistration.oneOf.0.code","typeLabel":"string | null"},"uid":{"oneOf":[{"type":"string","uniqueKey":"taxRegistration.oneOf.0.uid.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"taxRegistration.oneOf.0.uid.oneOf.1","typeLabel":"null"}],"uniqueKey":"taxRegistration.oneOf.0.uid","typeLabel":"string | null"},"deletedAt":{"oneOf":[{"format":"date-time","type":"string","uniqueKey":"taxRegistration.oneOf.0.deletedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"format":"date-time","type":"null","uniqueKey":"taxRegistration.oneOf.0.deletedAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"taxRegistration.oneOf.0.deletedAt","typeLabel":"string\u003cdate-time> | null"}},"uniqueKey":"taxRegistration.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"taxRegistration.oneOf.1","typeLabel":"null"}],"uniqueKey":"taxRegistration","typeLabel":"object | null"},"recommendedPurchaseOrder":{"type":"object","description":"Top recommendation candidate for invoice-to-purchase-order matching.","uniqueKey":"recommendedPurchaseOrder","typeLabel":"object"},"hasPurchaseOrderRecommendation":{"type":"boolean","description":"Whether a purchase order recommendation is available for this invoice.","uniqueKey":"hasPurchaseOrderRecommendation","typeLabel":"boolean"},"date":{"type":"string","description":"Issuance date of the invoice.","uniqueKey":"date","typeLabel":"string"},"billingPeriodStart":{"type":"string","description":"Start date of the billing period.","uniqueKey":"billingPeriodStart","typeLabel":"string"},"billingPeriodEnd":{"type":"string","description":"End date of the billing period.","uniqueKey":"billingPeriodEnd","typeLabel":"string"},"bookingPeriodOverride":{"type":"string","description":"Optional override for the booking period used in accounting exports (BMD, IBANA). Only year and month are significant.","uniqueKey":"bookingPeriodOverride","typeLabel":"string"},"dueDate":{"type":"string","description":"Due date for invoice payment.","uniqueKey":"dueDate","typeLabel":"string"},"skontoDate":{"type":"string","description":"Deadline for skonto (early payment discount) eligibility.","uniqueKey":"skontoDate","typeLabel":"string"},"skontoAmount":{"type":"number","description":"Discount amount offered for early payment within skonto terms.","uniqueKey":"skontoAmount","typeLabel":"number"},"skontoRate":{"type":"number","description":"Percentage rate of the skonto discount.","uniqueKey":"skontoRate","typeLabel":"number"},"totalAmount":{"type":"number","description":"Total amount due for the invoice.","uniqueKey":"totalAmount","typeLabel":"number"},"extractedTaxAmount":{"oneOf":[{"type":"number","description":"Tax amount extracted from the invoice scan.","uniqueKey":"extractedTaxAmount.oneOf.0","typeLabel":"number"},{"type":"null","description":"Tax amount extracted from the invoice scan.","uniqueKey":"extractedTaxAmount.oneOf.1","typeLabel":"null"}],"uniqueKey":"extractedTaxAmount","typeLabel":"number | null"},"extractedTaxBreakdown":{"description":"Tax amounts per extracted tax rate from the invoice scan.","type":"array","items":{"type":"array","uniqueKey":"extractedTaxBreakdown.items.[INDEX]","typeLabel":"array"},"uniqueKey":"extractedTaxBreakdown","typeLabel":"array[]"},"fxRate":{"type":"number","description":"Foreign exchange rate used for conversion to base currency.","uniqueKey":"fxRate","typeLabel":"number"},"fxRateSource":{"type":"string","enum":["DAILY","MANUAL","CARD_TRANSACTION"],"description":"Source of the currently active FX rate.","uniqueKey":"fxRateSource","typeLabel":"enum\u003cstring>"},"originalFxRate":{"oneOf":[{"type":"number","description":"FX rate before card-transaction override.","uniqueKey":"originalFxRate.oneOf.0","typeLabel":"number"},{"type":"null","description":"FX rate before card-transaction override.","uniqueKey":"originalFxRate.oneOf.1","typeLabel":"null"}],"uniqueKey":"originalFxRate","typeLabel":"number | null"},"originalFxRateSource":{"oneOf":[{"type":"string","enum":["DAILY","MANUAL","CARD_TRANSACTION"],"description":"Source of the FX rate before card-transaction override.","uniqueKey":"originalFxRateSource.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["DAILY","MANUAL","CARD_TRANSACTION"],"description":"Source of the FX rate before card-transaction override.","uniqueKey":"originalFxRateSource.oneOf.1","typeLabel":"null"}],"uniqueKey":"originalFxRateSource","typeLabel":"enum\u003cstring> | null"},"paymentTerms":{"type":"string","description":"Payment terms or conditions for the invoice.","uniqueKey":"paymentTerms","typeLabel":"string"},"notes":{"type":"string","description":"Additional comments or notes on the invoice.","uniqueKey":"notes","typeLabel":"string"},"alreadyPaidDate":{"type":"string","description":"Date when the invoice was paid.","uniqueKey":"alreadyPaidDate","typeLabel":"string"},"archivedDate":{"type":"string","description":"Date when the invoice was archived.","uniqueKey":"archivedDate","typeLabel":"string"},"archivedByUser":{"type":"object","description":"User who archived the invoice.","required":["email","name","authId","role","hasPushNotification"],"properties":{"email":{"type":"string","description":"The email of the user.","isRequired":true,"uniqueKey":"archivedByUser.email","typeLabel":"string"},"name":{"type":"string","description":"The name of the user.","isRequired":true,"uniqueKey":"archivedByUser.name","typeLabel":"string"},"authId":{"type":"string","description":"The workOs authentication id of the user.","isRequired":true,"uniqueKey":"archivedByUser.authId","typeLabel":"string"},"role":{"type":"string","description":"The role the user has in the organization.","isRequired":true,"uniqueKey":"archivedByUser.role","typeLabel":"string"},"hasPushNotification":{"type":"boolean","description":"A boolean that determines if the user has push notifications enabled.","isRequired":true,"uniqueKey":"archivedByUser.hasPushNotification","typeLabel":"boolean"},"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"archivedByUser.id","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","description":"The date and time the entity was created.","uniqueKey":"archivedByUser.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"format":"date-time","type":"string","description":"The date and time the entity was last updated.","uniqueKey":"archivedByUser.updatedAt","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"archivedByUser","typeLabel":"object"},"transactions":{"description":"Payment transactions associated with the invoice.","type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"transactions.items.[INDEX].id","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","description":"The date and time the entity was created.","uniqueKey":"transactions.items.[INDEX].createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"format":"date-time","type":"string","description":"The date and time the entity was last updated.","uniqueKey":"transactions.items.[INDEX].updatedAt","typeLabel":"string\u003cdate-time>"},"amount":{"type":"number","description":"The amount of the transaction.","uniqueKey":"transactions.items.[INDEX].amount","typeLabel":"number"},"remittanceInformation":{"type":"string","description":"The remittance information of the transaction.","uniqueKey":"transactions.items.[INDEX].remittanceInformation","typeLabel":"string"},"requestedExecutionDate":{"format":"date-time","type":"string","description":"The requested execution date of the transaction.","uniqueKey":"transactions.items.[INDEX].requestedExecutionDate","typeLabel":"string\u003cdate-time>"},"skontoAmount":{"type":"number","description":"The amount of the skonto.","uniqueKey":"transactions.items.[INDEX].skontoAmount","typeLabel":"number"},"skontoDate":{"format":"date-time","type":"string","description":"The date of the skonto.","uniqueKey":"transactions.items.[INDEX].skontoDate","typeLabel":"string\u003cdate-time>"},"ignoreSkontoDeadline":{"type":"boolean","description":"Determines if the skonto deadline should be ignored.","uniqueKey":"transactions.items.[INDEX].ignoreSkontoDeadline","typeLabel":"boolean"},"express":{"type":"boolean","description":"Determines if the transaction should be processed as an instant or urgent payment.","uniqueKey":"transactions.items.[INDEX].express","typeLabel":"boolean"},"currency":{"type":"string","nullable":false,"enum":["EUR","USD","GBP","JPY","AUD","CAD","CHF","CNY","HKD","NZD","SEK","KRW","SGD","NOK","MXN","INR","BRL","RUB","ZAR","TRY","AED","THB","DKK","HUF","PLN","TWD","SAR","MYR","IDR"],"description":"The currency of the transaction.","uniqueKey":"transactions.items.[INDEX].currency","typeLabel":"enum\u003cstring>"},"creditor":{"type":"object","description":"The creditor of the transaction.","required":["identifierType","name","bic","countryCode"],"properties":{"identifierType":{"type":"string","enum":["IBAN","ACCOUNT_NUMBER"],"isRequired":true,"uniqueKey":"transactions.items.[INDEX].creditor.identifierType","typeLabel":"enum\u003cstring>"},"name":{"type":"string","description":"The name of the bank account holder.","isRequired":true,"uniqueKey":"transactions.items.[INDEX].creditor.name","typeLabel":"string"},"bic":{"type":"string","description":"The BIC of the bank account.","isRequired":true,"uniqueKey":"transactions.items.[INDEX].creditor.bic","typeLabel":"string"},"countryCode":{"type":"string","description":"The country code of the bank account.","isRequired":true,"uniqueKey":"transactions.items.[INDEX].creditor.countryCode","typeLabel":"string"},"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"transactions.items.[INDEX].creditor.id","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","description":"The date and time the entity was created.","uniqueKey":"transactions.items.[INDEX].creditor.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"format":"date-time","type":"string","description":"The date and time the entity was last updated.","uniqueKey":"transactions.items.[INDEX].creditor.updatedAt","typeLabel":"string\u003cdate-time>"},"iban":{"oneOf":[{"type":"string","description":"The IBAN of the bank account.","uniqueKey":"transactions.items.[INDEX].creditor.iban.oneOf.0","typeLabel":"string"},{"type":"null","description":"The IBAN of the bank account.","uniqueKey":"transactions.items.[INDEX].creditor.iban.oneOf.1","typeLabel":"null"}],"uniqueKey":"transactions.items.[INDEX].creditor.iban","typeLabel":"string | null"},"accountNumber":{"oneOf":[{"type":"string","description":"The non-IBAN account number.","uniqueKey":"transactions.items.[INDEX].creditor.accountNumber.oneOf.0","typeLabel":"string"},{"type":"null","description":"The non-IBAN account number.","uniqueKey":"transactions.items.[INDEX].creditor.accountNumber.oneOf.1","typeLabel":"null"}],"uniqueKey":"transactions.items.[INDEX].creditor.accountNumber","typeLabel":"string | null"},"latestVerification":{"oneOf":[{"type":"object","required":["status","submittedName","submittedIban","isStale"],"properties":{"status":{"type":"string","enum":["QUEUED","PROCESSING","COMPLETED","FAILED"],"isRequired":true,"uniqueKey":"transactions.items.[INDEX].creditor.latestVerification.oneOf.0.status","typeLabel":"enum\u003cstring>"},"submittedName":{"type":"string","isRequired":true,"uniqueKey":"transactions.items.[INDEX].creditor.latestVerification.oneOf.0.submittedName","typeLabel":"string"},"submittedIban":{"type":"string","isRequired":true,"uniqueKey":"transactions.items.[INDEX].creditor.latestVerification.oneOf.0.submittedIban","typeLabel":"string"},"isStale":{"type":"boolean","description":"Whether the saved account details changed after this check.","isRequired":true,"uniqueKey":"transactions.items.[INDEX].creditor.latestVerification.oneOf.0.isStale","typeLabel":"boolean"},"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"transactions.items.[INDEX].creditor.latestVerification.oneOf.0.id","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","description":"The date and time the entity was created.","uniqueKey":"transactions.items.[INDEX].creditor.latestVerification.oneOf.0.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"format":"date-time","type":"string","description":"The date and time the entity was last updated.","uniqueKey":"transactions.items.[INDEX].creditor.latestVerification.oneOf.0.updatedAt","typeLabel":"string\u003cdate-time>"},"result":{"oneOf":[{"type":"string","enum":["MATCHED","CLOSE_MATCH","NOT_MATCHED","CANNOT_BE_CHECKED"],"uniqueKey":"transactions.items.[INDEX].creditor.latestVerification.oneOf.0.result.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["MATCHED","CLOSE_MATCH","NOT_MATCHED","CANNOT_BE_CHECKED"],"uniqueKey":"transactions.items.[INDEX].creditor.latestVerification.oneOf.0.result.oneOf.1","typeLabel":"null"}],"uniqueKey":"transactions.items.[INDEX].creditor.latestVerification.oneOf.0.result","typeLabel":"enum\u003cstring> | null"},"returnedName":{"oneOf":[{"type":"string","uniqueKey":"transactions.items.[INDEX].creditor.latestVerification.oneOf.0.returnedName.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"transactions.items.[INDEX].creditor.latestVerification.oneOf.0.returnedName.oneOf.1","typeLabel":"null"}],"uniqueKey":"transactions.items.[INDEX].creditor.latestVerification.oneOf.0.returnedName","typeLabel":"string | null"},"reason":{"oneOf":[{"type":"string","uniqueKey":"transactions.items.[INDEX].creditor.latestVerification.oneOf.0.reason.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"transactions.items.[INDEX].creditor.latestVerification.oneOf.0.reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"transactions.items.[INDEX].creditor.latestVerification.oneOf.0.reason","typeLabel":"string | null"}},"uniqueKey":"transactions.items.[INDEX].creditor.latestVerification.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"transactions.items.[INDEX].creditor.latestVerification.oneOf.1","typeLabel":"null"}],"uniqueKey":"transactions.items.[INDEX].creditor.latestVerification","typeLabel":"object | null"}},"uniqueKey":"transactions.items.[INDEX].creditor","typeLabel":"object"},"debitor":{"type":"object","description":"The debitor of the transaction.","required":["identifierType","name","bic","countryCode"],"properties":{"identifierType":{"type":"string","enum":["IBAN","ACCOUNT_NUMBER"],"isRequired":true,"uniqueKey":"transactions.items.[INDEX].debitor.identifierType","typeLabel":"enum\u003cstring>"},"name":{"type":"string","description":"The name of the bank account holder.","isRequired":true,"uniqueKey":"transactions.items.[INDEX].debitor.name","typeLabel":"string"},"bic":{"type":"string","description":"The BIC of the bank account.","isRequired":true,"uniqueKey":"transactions.items.[INDEX].debitor.bic","typeLabel":"string"},"countryCode":{"type":"string","description":"The country code of the bank account.","isRequired":true,"uniqueKey":"transactions.items.[INDEX].debitor.countryCode","typeLabel":"string"},"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"transactions.items.[INDEX].debitor.id","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","description":"The date and time the entity was created.","uniqueKey":"transactions.items.[INDEX].debitor.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"format":"date-time","type":"string","description":"The date and time the entity was last updated.","uniqueKey":"transactions.items.[INDEX].debitor.updatedAt","typeLabel":"string\u003cdate-time>"},"iban":{"oneOf":[{"type":"string","description":"The IBAN of the bank account.","uniqueKey":"transactions.items.[INDEX].debitor.iban.oneOf.0","typeLabel":"string"},{"type":"null","description":"The IBAN of the bank account.","uniqueKey":"transactions.items.[INDEX].debitor.iban.oneOf.1","typeLabel":"null"}],"uniqueKey":"transactions.items.[INDEX].debitor.iban","typeLabel":"string | null"},"accountNumber":{"oneOf":[{"type":"string","description":"The non-IBAN account number.","uniqueKey":"transactions.items.[INDEX].debitor.accountNumber.oneOf.0","typeLabel":"string"},{"type":"null","description":"The non-IBAN account number.","uniqueKey":"transactions.items.[INDEX].debitor.accountNumber.oneOf.1","typeLabel":"null"}],"uniqueKey":"transactions.items.[INDEX].debitor.accountNumber","typeLabel":"string | null"},"latestVerification":{"oneOf":[{"type":"object","required":["status","submittedName","submittedIban","isStale"],"properties":{"status":{"type":"string","enum":["QUEUED","PROCESSING","COMPLETED","FAILED"],"isRequired":true,"uniqueKey":"transactions.items.[INDEX].debitor.latestVerification.oneOf.0.status","typeLabel":"enum\u003cstring>"},"submittedName":{"type":"string","isRequired":true,"uniqueKey":"transactions.items.[INDEX].debitor.latestVerification.oneOf.0.submittedName","typeLabel":"string"},"submittedIban":{"type":"string","isRequired":true,"uniqueKey":"transactions.items.[INDEX].debitor.latestVerification.oneOf.0.submittedIban","typeLabel":"string"},"isStale":{"type":"boolean","description":"Whether the saved account details changed after this check.","isRequired":true,"uniqueKey":"transactions.items.[INDEX].debitor.latestVerification.oneOf.0.isStale","typeLabel":"boolean"},"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"transactions.items.[INDEX].debitor.latestVerification.oneOf.0.id","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","description":"The date and time the entity was created.","uniqueKey":"transactions.items.[INDEX].debitor.latestVerification.oneOf.0.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"format":"date-time","type":"string","description":"The date and time the entity was last updated.","uniqueKey":"transactions.items.[INDEX].debitor.latestVerification.oneOf.0.updatedAt","typeLabel":"string\u003cdate-time>"},"result":{"oneOf":[{"type":"string","enum":["MATCHED","CLOSE_MATCH","NOT_MATCHED","CANNOT_BE_CHECKED"],"uniqueKey":"transactions.items.[INDEX].debitor.latestVerification.oneOf.0.result.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["MATCHED","CLOSE_MATCH","NOT_MATCHED","CANNOT_BE_CHECKED"],"uniqueKey":"transactions.items.[INDEX].debitor.latestVerification.oneOf.0.result.oneOf.1","typeLabel":"null"}],"uniqueKey":"transactions.items.[INDEX].debitor.latestVerification.oneOf.0.result","typeLabel":"enum\u003cstring> | null"},"returnedName":{"oneOf":[{"type":"string","uniqueKey":"transactions.items.[INDEX].debitor.latestVerification.oneOf.0.returnedName.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"transactions.items.[INDEX].debitor.latestVerification.oneOf.0.returnedName.oneOf.1","typeLabel":"null"}],"uniqueKey":"transactions.items.[INDEX].debitor.latestVerification.oneOf.0.returnedName","typeLabel":"string | null"},"reason":{"oneOf":[{"type":"string","uniqueKey":"transactions.items.[INDEX].debitor.latestVerification.oneOf.0.reason.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"transactions.items.[INDEX].debitor.latestVerification.oneOf.0.reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"transactions.items.[INDEX].debitor.latestVerification.oneOf.0.reason","typeLabel":"string | null"}},"uniqueKey":"transactions.items.[INDEX].debitor.latestVerification.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"transactions.items.[INDEX].debitor.latestVerification.oneOf.1","typeLabel":"null"}],"uniqueKey":"transactions.items.[INDEX].debitor.latestVerification","typeLabel":"object | null"}},"uniqueKey":"transactions.items.[INDEX].debitor","typeLabel":"object"},"analysis":{"type":"object","description":"The analysis of the transaction.","required":["analysisRules"],"properties":{"analysisRules":{"type":"object","description":"The analysis rules of the transaction.","required":["type","severity","markedOk","markedOkReason","markedOkDate","value","markedOkUser"],"properties":{"type":{"type":"string","enum":["AMOUNT_DEVIATION","AMOUNT_DEVIATION_SAME_IBAN","AMOUNT_DEVIATION_SAME_COUNTRY","SAME_IBAN_DIFFERENT_NAME","SAME_NAME_DIFFERENT_IBAN","NEW_BANK_ACCOUNT","DUPLICATE_INVOICE","PAYMENT_REMINDER","NON_INVOICE"],"description":"The type of the analysis rule.","isRequired":true,"uniqueKey":"transactions.items.[INDEX].analysis.analysisRules.type","typeLabel":"enum\u003cstring>"},"severity":{"type":"string","enum":["NORMAL","INFO","WARNING","SUSPICIOUS"],"description":"The severity of the analysis rule.","isRequired":true,"uniqueKey":"transactions.items.[INDEX].analysis.analysisRules.severity","typeLabel":"enum\u003cstring>"},"markedOk":{"type":"boolean","description":"Determines if the transaction was marked as ok by a user.","isRequired":true,"uniqueKey":"transactions.items.[INDEX].analysis.analysisRules.markedOk","typeLabel":"boolean"},"markedOkReason":{"type":"string","description":"The reason why the transaction was marked as ok.","isRequired":true,"uniqueKey":"transactions.items.[INDEX].analysis.analysisRules.markedOkReason","typeLabel":"string"},"markedOkDate":{"format":"date-time","type":"string","description":"The date and time the transaction was marked as ok.","isRequired":true,"uniqueKey":"transactions.items.[INDEX].analysis.analysisRules.markedOkDate","typeLabel":"string\u003cdate-time>"},"value":{"type":"string","description":"The value of the analysis rule. ","isRequired":true,"uniqueKey":"transactions.items.[INDEX].analysis.analysisRules.value","typeLabel":"string"},"markedOkUser":{"type":"object","description":"The user that marked the transaction as ok.","required":["email","name","authId","role","hasPushNotification","organization"],"properties":{"email":{"type":"string","description":"The email of the user.","isRequired":true,"uniqueKey":"transactions.items.[INDEX].analysis.analysisRules.markedOkUser.email","typeLabel":"string"},"name":{"type":"string","description":"The name of the user.","isRequired":true,"uniqueKey":"transactions.items.[INDEX].analysis.analysisRules.markedOkUser.name","typeLabel":"string"},"authId":{"type":"string","description":"The workOs authentication id of the user.","isRequired":true,"uniqueKey":"transactions.items.[INDEX].analysis.analysisRules.markedOkUser.authId","typeLabel":"string"},"role":{"type":"string","description":"The role the user has in the organization.","isRequired":true,"uniqueKey":"transactions.items.[INDEX].analysis.analysisRules.markedOkUser.role","typeLabel":"string"},"hasPushNotification":{"type":"boolean","description":"A boolean that determines if the user has push notifications enabled.","isRequired":true,"uniqueKey":"transactions.items.[INDEX].analysis.analysisRules.markedOkUser.hasPushNotification","typeLabel":"boolean"},"organization":{"type":"object","description":"The active organization the user is in.","required":["name","slug","logoFileName","country","vatNumber","featureFlags","baseCurrency","paymentRunBatchBooking","paymentRunVerificationOfPayee","invoiceExportIncludeForeignCurrencies","allowDirectInvoiceApproval","allowDirectPaymentRunApproval","customExportFormats","apInvoiceBookingTextTemplate","autoPopulateCustomerEmailFromMetadata","autoPopulateSupplierEmailFromMetadata","excludedEmailDomains"],"properties":{"name":{"type":"string","description":"The name of the organization.","isRequired":true,"uniqueKey":"transactions.items.[INDEX].analysis.analysisRules.markedOkUser.organization.name","typeLabel":"string"},"slug":{"type":"string","description":"The slug of the organization.","isRequired":true,"uniqueKey":"transactions.items.[INDEX].analysis.analysisRules.markedOkUser.organization.slug","typeLabel":"string"},"logoFileName":{"type":"string","description":"The logo file name.","isRequired":true,"uniqueKey":"transactions.items.[INDEX].analysis.analysisRules.markedOkUser.organization.logoFileName","typeLabel":"string"},"country":{"type":"string","description":"The country of the organization using ISO 3166-1 alpha-2 code","isRequired":true,"uniqueKey":"transactions.items.[INDEX].analysis.analysisRules.markedOkUser.organization.country","typeLabel":"string"},"vatNumber":{"type":"string","description":"The VAT number of the organization","isRequired":true,"uniqueKey":"transactions.items.[INDEX].analysis.analysisRules.markedOkUser.organization.vatNumber","typeLabel":"string"},"featureFlags":{"description":"The feature flags associated with the organization.","type":"array","items":{"type":"object","properties":{"featureName":{"type":"string","description":"The name of the feature.","isRequired":true,"uniqueKey":"transactions.items.[INDEX].analysis.analysisRules.markedOkUser.organization.featureFlags.items.[INDEX].featureName","typeLabel":"string"},"isEnabled":{"type":"boolean","description":"A boolean that indicates if the feature is enabled.","isRequired":true,"uniqueKey":"transactions.items.[INDEX].analysis.analysisRules.markedOkUser.organization.featureFlags.items.[INDEX].isEnabled","typeLabel":"boolean"},"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"transactions.items.[INDEX].analysis.analysisRules.markedOkUser.organization.featureFlags.items.[INDEX].id","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","description":"The date and time the entity was created.","uniqueKey":"transactions.items.[INDEX].analysis.analysisRules.markedOkUser.organization.featureFlags.items.[INDEX].createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"format":"date-time","type":"string","description":"The date and time the entity was last updated.","uniqueKey":"transactions.items.[INDEX].analysis.analysisRules.markedOkUser.organization.featureFlags.items.[INDEX].updatedAt","typeLabel":"string\u003cdate-time>"}},"required":["featureName","isEnabled"],"uniqueKey":"transactions.items.[INDEX].analysis.analysisRules.markedOkUser.organization.featureFlags.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"transactions.items.[INDEX].analysis.analysisRules.markedOkUser.organization.featureFlags","typeLabel":"object[]"},"baseCurrency":{"type":"string","description":"The base currency of the organization","enum":["EUR","USD","GBP","JPY","AUD","CAD","CHF","CNY","HKD","NZD","SEK","KRW","SGD","NOK","MXN","INR","BRL","RUB","ZAR","TRY","AED","THB","DKK","HUF","PLN","TWD","SAR","MYR","IDR"],"default":"EUR","isRequired":true,"uniqueKey":"transactions.items.[INDEX].analysis.analysisRules.markedOkUser.organization.baseCurrency","typeLabel":"enum\u003cstring>"},"paymentRunBatchBooking":{"type":"boolean","description":"Default setting for whether payment runs should be exported as batch booking or single bookings.","isRequired":true,"uniqueKey":"transactions.items.[INDEX].analysis.analysisRules.markedOkUser.organization.paymentRunBatchBooking","typeLabel":"boolean"},"paymentRunVerificationOfPayee":{"type":"boolean","description":"Default setting for whether the bank should perform verification of payee (IBAN-Name check) for payment runs.","isRequired":true,"uniqueKey":"transactions.items.[INDEX].analysis.analysisRules.markedOkUser.organization.paymentRunVerificationOfPayee","typeLabel":"boolean"},"invoiceExportIncludeForeignCurrencies":{"type":"boolean","description":"When true, invoice exports include original currency/amounts; when false, exports use EUR only (foreign amounts converted).","isRequired":true,"uniqueKey":"transactions.items.[INDEX].analysis.analysisRules.markedOkUser.organization.invoiceExportIncludeForeignCurrencies","typeLabel":"boolean"},"allowDirectInvoiceApproval":{"type":"boolean","description":"Whether direct approval is allowed for invoice approval workflows in this organization.","isRequired":true,"uniqueKey":"transactions.items.[INDEX].analysis.analysisRules.markedOkUser.organization.allowDirectInvoiceApproval","typeLabel":"boolean"},"allowDirectPaymentRunApproval":{"type":"boolean","description":"Whether direct approval is allowed for payment run approval workflows in this organization.","isRequired":true,"uniqueKey":"transactions.items.[INDEX].analysis.analysisRules.markedOkUser.organization.allowDirectPaymentRunApproval","typeLabel":"boolean"},"customExportFormats":{"description":"Custom export formats enabled for this organization","example":["custom_experta"],"type":"array","items":{"type":"string","uniqueKey":"transactions.items.[INDEX].analysis.analysisRules.markedOkUser.organization.customExportFormats.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"transactions.items.[INDEX].analysis.analysisRules.markedOkUser.organization.customExportFormats","typeLabel":"string[]"},"apInvoiceBookingTextTemplate":{"oneOf":[{"type":"string","description":"JSON-encoded array of booking text tokens defining the template for AP invoice exports.","default":"[\"counterparty-name\",\"invoice-number\",\"notes\"]","isRequired":true,"uniqueKey":"transactions.items.[INDEX].analysis.analysisRules.markedOkUser.organization.apInvoiceBookingTextTemplate.oneOf.0","typeLabel":"string"},{"type":"null","description":"JSON-encoded array of booking text tokens defining the template for AP invoice exports.","default":"[\"counterparty-name\",\"invoice-number\",\"notes\"]","isRequired":true,"uniqueKey":"transactions.items.[INDEX].analysis.analysisRules.markedOkUser.organization.apInvoiceBookingTextTemplate.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"transactions.items.[INDEX].analysis.analysisRules.markedOkUser.organization.apInvoiceBookingTextTemplate","typeLabel":"string | null"},"autoPopulateCustomerEmailFromMetadata":{"type":"boolean","description":"Determines if the organization automatically populates customer email addresses from email metadata for AR invoices.","isRequired":true,"uniqueKey":"transactions.items.[INDEX].analysis.analysisRules.markedOkUser.organization.autoPopulateCustomerEmailFromMetadata","typeLabel":"boolean"},"autoPopulateSupplierEmailFromMetadata":{"type":"boolean","description":"Determines if the organization automatically populates supplier email addresses from email metadata for AP invoices.","isRequired":true,"uniqueKey":"transactions.items.[INDEX].analysis.analysisRules.markedOkUser.organization.autoPopulateSupplierEmailFromMetadata","typeLabel":"boolean"},"excludedEmailDomains":{"type":"string","description":"Comma-separated list of email domains that should be excluded from auto-population.","isRequired":true,"uniqueKey":"transactions.items.[INDEX].analysis.analysisRules.markedOkUser.organization.excludedEmailDomains","typeLabel":"string"},"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"transactions.items.[INDEX].analysis.analysisRules.markedOkUser.organization.id","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","description":"The date and time the entity was created.","uniqueKey":"transactions.items.[INDEX].analysis.analysisRules.markedOkUser.organization.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"format":"date-time","type":"string","description":"The date and time the entity was last updated.","uniqueKey":"transactions.items.[INDEX].analysis.analysisRules.markedOkUser.organization.updatedAt","typeLabel":"string\u003cdate-time>"},"inCaseOfLawCustomerId":{"oneOf":[{"type":"string","description":"The In case of law customer ID for this organization, if already connected.","uniqueKey":"transactions.items.[INDEX].analysis.analysisRules.markedOkUser.organization.inCaseOfLawCustomerId.oneOf.0","typeLabel":"string"},{"type":"null","description":"The In case of law customer ID for this organization, if already connected.","uniqueKey":"transactions.items.[INDEX].analysis.analysisRules.markedOkUser.organization.inCaseOfLawCustomerId.oneOf.1","typeLabel":"null"}],"uniqueKey":"transactions.items.[INDEX].analysis.analysisRules.markedOkUser.organization.inCaseOfLawCustomerId","typeLabel":"string | null"},"cardCommonBookingTargetName":{"oneOf":[{"type":"string","description":"Configured shared card booking target display name used for card bookkeeping export.","uniqueKey":"transactions.items.[INDEX].analysis.analysisRules.markedOkUser.organization.cardCommonBookingTargetName.oneOf.0","typeLabel":"string"},{"type":"null","description":"Configured shared card booking target display name used for card bookkeeping export.","uniqueKey":"transactions.items.[INDEX].analysis.analysisRules.markedOkUser.organization.cardCommonBookingTargetName.oneOf.1","typeLabel":"null"}],"uniqueKey":"transactions.items.[INDEX].analysis.analysisRules.markedOkUser.organization.cardCommonBookingTargetName","typeLabel":"string | null"},"cardCommonBookingTargetAccountsPayableNumber":{"oneOf":[{"type":"string","description":"Configured shared card booking target accounts payable number used for card bookkeeping export.","uniqueKey":"transactions.items.[INDEX].analysis.analysisRules.markedOkUser.organization.cardCommonBookingTargetAccountsPayableNumber.oneOf.0","typeLabel":"string"},{"type":"null","description":"Configured shared card booking target accounts payable number used for card bookkeeping export.","uniqueKey":"transactions.items.[INDEX].analysis.analysisRules.markedOkUser.organization.cardCommonBookingTargetAccountsPayableNumber.oneOf.1","typeLabel":"null"}],"uniqueKey":"transactions.items.[INDEX].analysis.analysisRules.markedOkUser.organization.cardCommonBookingTargetAccountsPayableNumber","typeLabel":"string | null"},"cardFxDifferenceLedgerAccount":{"oneOf":[{"type":"string","description":"Configured ledger account used for FX difference lines in card bookkeeping export.","uniqueKey":"transactions.items.[INDEX].analysis.analysisRules.markedOkUser.organization.cardFxDifferenceLedgerAccount.oneOf.0","typeLabel":"string"},{"type":"null","description":"Configured ledger account used for FX difference lines in card bookkeeping export.","uniqueKey":"transactions.items.[INDEX].analysis.analysisRules.markedOkUser.organization.cardFxDifferenceLedgerAccount.oneOf.1","typeLabel":"null"}],"uniqueKey":"transactions.items.[INDEX].analysis.analysisRules.markedOkUser.organization.cardFxDifferenceLedgerAccount","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"transactions.items.[INDEX].analysis.analysisRules.markedOkUser.organization","typeLabel":"object"},"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"transactions.items.[INDEX].analysis.analysisRules.markedOkUser.id","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","description":"The date and time the entity was created.","uniqueKey":"transactions.items.[INDEX].analysis.analysisRules.markedOkUser.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"format":"date-time","type":"string","description":"The date and time the entity was last updated.","uniqueKey":"transactions.items.[INDEX].analysis.analysisRules.markedOkUser.updatedAt","typeLabel":"string\u003cdate-time>"},"featureFlags":{"type":"array","description":"The feature flags available to the user.","items":{"type":"string","enum":["invoice","custom-fields","ar-invoice","transaction","candis","bank-transaction","webhook","procurement","ai-search","accounting-agent","ibana-agents","insights","payment-cards","in-case-of-law","reimbursement-groups","bank-account-verification"],"uniqueKey":"transactions.items.[INDEX].analysis.analysisRules.markedOkUser.featureFlags.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"transactions.items.[INDEX].analysis.analysisRules.markedOkUser.featureFlags","typeLabel":"enum\u003cstring>[]"}},"isRequired":true,"uniqueKey":"transactions.items.[INDEX].analysis.analysisRules.markedOkUser","typeLabel":"object"},"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"transactions.items.[INDEX].analysis.analysisRules.id","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","description":"The date and time the entity was created.","uniqueKey":"transactions.items.[INDEX].analysis.analysisRules.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"format":"date-time","type":"string","description":"The date and time the entity was last updated.","uniqueKey":"transactions.items.[INDEX].analysis.analysisRules.updatedAt","typeLabel":"string\u003cdate-time>"}},"isRequired":true,"uniqueKey":"transactions.items.[INDEX].analysis.analysisRules","typeLabel":"object"},"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"transactions.items.[INDEX].analysis.id","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","description":"The date and time the entity was created.","uniqueKey":"transactions.items.[INDEX].analysis.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"format":"date-time","type":"string","description":"The date and time the entity was last updated.","uniqueKey":"transactions.items.[INDEX].analysis.updatedAt","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"transactions.items.[INDEX].analysis","typeLabel":"object"},"archived":{"type":"boolean","description":"Determines if the transaction has been archived.","uniqueKey":"transactions.items.[INDEX].archived","typeLabel":"boolean"},"archivedDate":{"format":"date-time","type":"string","description":"The date and time the transaction was archived.","uniqueKey":"transactions.items.[INDEX].archivedDate","typeLabel":"string\u003cdate-time>"},"archivedByUser":{"type":"object","description":"The user that archived the transaction.","required":["email","name","authId","role","hasPushNotification","organization"],"properties":{"email":{"type":"string","description":"The email of the user.","isRequired":true,"uniqueKey":"transactions.items.[INDEX].archivedByUser.email","typeLabel":"string"},"name":{"type":"string","description":"The name of the user.","isRequired":true,"uniqueKey":"transactions.items.[INDEX].archivedByUser.name","typeLabel":"string"},"authId":{"type":"string","description":"The workOs authentication id of the user.","isRequired":true,"uniqueKey":"transactions.items.[INDEX].archivedByUser.authId","typeLabel":"string"},"role":{"type":"string","description":"The role the user has in the organization.","isRequired":true,"uniqueKey":"transactions.items.[INDEX].archivedByUser.role","typeLabel":"string"},"hasPushNotification":{"type":"boolean","description":"A boolean that determines if the user has push notifications enabled.","isRequired":true,"uniqueKey":"transactions.items.[INDEX].archivedByUser.hasPushNotification","typeLabel":"boolean"},"organization":{"type":"object","description":"The active organization the user is in.","required":["name","slug","logoFileName","country","vatNumber","featureFlags","baseCurrency","paymentRunBatchBooking","paymentRunVerificationOfPayee","invoiceExportIncludeForeignCurrencies","allowDirectInvoiceApproval","allowDirectPaymentRunApproval","customExportFormats","apInvoiceBookingTextTemplate","autoPopulateCustomerEmailFromMetadata","autoPopulateSupplierEmailFromMetadata","excludedEmailDomains"],"properties":{"name":{"type":"string","description":"The name of the organization.","isRequired":true,"uniqueKey":"transactions.items.[INDEX].archivedByUser.organization.name","typeLabel":"string"},"slug":{"type":"string","description":"The slug of the organization.","isRequired":true,"uniqueKey":"transactions.items.[INDEX].archivedByUser.organization.slug","typeLabel":"string"},"logoFileName":{"type":"string","description":"The logo file name.","isRequired":true,"uniqueKey":"transactions.items.[INDEX].archivedByUser.organization.logoFileName","typeLabel":"string"},"country":{"type":"string","description":"The country of the organization using ISO 3166-1 alpha-2 code","isRequired":true,"uniqueKey":"transactions.items.[INDEX].archivedByUser.organization.country","typeLabel":"string"},"vatNumber":{"type":"string","description":"The VAT number of the organization","isRequired":true,"uniqueKey":"transactions.items.[INDEX].archivedByUser.organization.vatNumber","typeLabel":"string"},"featureFlags":{"description":"The feature flags associated with the organization.","type":"array","items":{"type":"object","properties":{"featureName":{"type":"string","description":"The name of the feature.","isRequired":true,"uniqueKey":"transactions.items.[INDEX].archivedByUser.organization.featureFlags.items.[INDEX].featureName","typeLabel":"string"},"isEnabled":{"type":"boolean","description":"A boolean that indicates if the feature is enabled.","isRequired":true,"uniqueKey":"transactions.items.[INDEX].archivedByUser.organization.featureFlags.items.[INDEX].isEnabled","typeLabel":"boolean"},"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"transactions.items.[INDEX].archivedByUser.organization.featureFlags.items.[INDEX].id","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","description":"The date and time the entity was created.","uniqueKey":"transactions.items.[INDEX].archivedByUser.organization.featureFlags.items.[INDEX].createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"format":"date-time","type":"string","description":"The date and time the entity was last updated.","uniqueKey":"transactions.items.[INDEX].archivedByUser.organization.featureFlags.items.[INDEX].updatedAt","typeLabel":"string\u003cdate-time>"}},"required":["featureName","isEnabled"],"uniqueKey":"transactions.items.[INDEX].archivedByUser.organization.featureFlags.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"transactions.items.[INDEX].archivedByUser.organization.featureFlags","typeLabel":"object[]"},"baseCurrency":{"type":"string","description":"The base currency of the organization","enum":["EUR","USD","GBP","JPY","AUD","CAD","CHF","CNY","HKD","NZD","SEK","KRW","SGD","NOK","MXN","INR","BRL","RUB","ZAR","TRY","AED","THB","DKK","HUF","PLN","TWD","SAR","MYR","IDR"],"default":"EUR","isRequired":true,"uniqueKey":"transactions.items.[INDEX].archivedByUser.organization.baseCurrency","typeLabel":"enum\u003cstring>"},"paymentRunBatchBooking":{"type":"boolean","description":"Default setting for whether payment runs should be exported as batch booking or single bookings.","isRequired":true,"uniqueKey":"transactions.items.[INDEX].archivedByUser.organization.paymentRunBatchBooking","typeLabel":"boolean"},"paymentRunVerificationOfPayee":{"type":"boolean","description":"Default setting for whether the bank should perform verification of payee (IBAN-Name check) for payment runs.","isRequired":true,"uniqueKey":"transactions.items.[INDEX].archivedByUser.organization.paymentRunVerificationOfPayee","typeLabel":"boolean"},"invoiceExportIncludeForeignCurrencies":{"type":"boolean","description":"When true, invoice exports include original currency/amounts; when false, exports use EUR only (foreign amounts converted).","isRequired":true,"uniqueKey":"transactions.items.[INDEX].archivedByUser.organization.invoiceExportIncludeForeignCurrencies","typeLabel":"boolean"},"allowDirectInvoiceApproval":{"type":"boolean","description":"Whether direct approval is allowed for invoice approval workflows in this organization.","isRequired":true,"uniqueKey":"transactions.items.[INDEX].archivedByUser.organization.allowDirectInvoiceApproval","typeLabel":"boolean"},"allowDirectPaymentRunApproval":{"type":"boolean","description":"Whether direct approval is allowed for payment run approval workflows in this organization.","isRequired":true,"uniqueKey":"transactions.items.[INDEX].archivedByUser.organization.allowDirectPaymentRunApproval","typeLabel":"boolean"},"customExportFormats":{"description":"Custom export formats enabled for this organization","example":["custom_experta"],"type":"array","items":{"type":"string","uniqueKey":"transactions.items.[INDEX].archivedByUser.organization.customExportFormats.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"transactions.items.[INDEX].archivedByUser.organization.customExportFormats","typeLabel":"string[]"},"apInvoiceBookingTextTemplate":{"oneOf":[{"type":"string","description":"JSON-encoded array of booking text tokens defining the template for AP invoice exports.","default":"[\"counterparty-name\",\"invoice-number\",\"notes\"]","isRequired":true,"uniqueKey":"transactions.items.[INDEX].archivedByUser.organization.apInvoiceBookingTextTemplate.oneOf.0","typeLabel":"string"},{"type":"null","description":"JSON-encoded array of booking text tokens defining the template for AP invoice exports.","default":"[\"counterparty-name\",\"invoice-number\",\"notes\"]","isRequired":true,"uniqueKey":"transactions.items.[INDEX].archivedByUser.organization.apInvoiceBookingTextTemplate.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"transactions.items.[INDEX].archivedByUser.organization.apInvoiceBookingTextTemplate","typeLabel":"string | null"},"autoPopulateCustomerEmailFromMetadata":{"type":"boolean","description":"Determines if the organization automatically populates customer email addresses from email metadata for AR invoices.","isRequired":true,"uniqueKey":"transactions.items.[INDEX].archivedByUser.organization.autoPopulateCustomerEmailFromMetadata","typeLabel":"boolean"},"autoPopulateSupplierEmailFromMetadata":{"type":"boolean","description":"Determines if the organization automatically populates supplier email addresses from email metadata for AP invoices.","isRequired":true,"uniqueKey":"transactions.items.[INDEX].archivedByUser.organization.autoPopulateSupplierEmailFromMetadata","typeLabel":"boolean"},"excludedEmailDomains":{"type":"string","description":"Comma-separated list of email domains that should be excluded from auto-population.","isRequired":true,"uniqueKey":"transactions.items.[INDEX].archivedByUser.organization.excludedEmailDomains","typeLabel":"string"},"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"transactions.items.[INDEX].archivedByUser.organization.id","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","description":"The date and time the entity was created.","uniqueKey":"transactions.items.[INDEX].archivedByUser.organization.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"format":"date-time","type":"string","description":"The date and time the entity was last updated.","uniqueKey":"transactions.items.[INDEX].archivedByUser.organization.updatedAt","typeLabel":"string\u003cdate-time>"},"inCaseOfLawCustomerId":{"oneOf":[{"type":"string","description":"The In case of law customer ID for this organization, if already connected.","uniqueKey":"transactions.items.[INDEX].archivedByUser.organization.inCaseOfLawCustomerId.oneOf.0","typeLabel":"string"},{"type":"null","description":"The In case of law customer ID for this organization, if already connected.","uniqueKey":"transactions.items.[INDEX].archivedByUser.organization.inCaseOfLawCustomerId.oneOf.1","typeLabel":"null"}],"uniqueKey":"transactions.items.[INDEX].archivedByUser.organization.inCaseOfLawCustomerId","typeLabel":"string | null"},"cardCommonBookingTargetName":{"oneOf":[{"type":"string","description":"Configured shared card booking target display name used for card bookkeeping export.","uniqueKey":"transactions.items.[INDEX].archivedByUser.organization.cardCommonBookingTargetName.oneOf.0","typeLabel":"string"},{"type":"null","description":"Configured shared card booking target display name used for card bookkeeping export.","uniqueKey":"transactions.items.[INDEX].archivedByUser.organization.cardCommonBookingTargetName.oneOf.1","typeLabel":"null"}],"uniqueKey":"transactions.items.[INDEX].archivedByUser.organization.cardCommonBookingTargetName","typeLabel":"string | null"},"cardCommonBookingTargetAccountsPayableNumber":{"oneOf":[{"type":"string","description":"Configured shared card booking target accounts payable number used for card bookkeeping export.","uniqueKey":"transactions.items.[INDEX].archivedByUser.organization.cardCommonBookingTargetAccountsPayableNumber.oneOf.0","typeLabel":"string"},{"type":"null","description":"Configured shared card booking target accounts payable number used for card bookkeeping export.","uniqueKey":"transactions.items.[INDEX].archivedByUser.organization.cardCommonBookingTargetAccountsPayableNumber.oneOf.1","typeLabel":"null"}],"uniqueKey":"transactions.items.[INDEX].archivedByUser.organization.cardCommonBookingTargetAccountsPayableNumber","typeLabel":"string | null"},"cardFxDifferenceLedgerAccount":{"oneOf":[{"type":"string","description":"Configured ledger account used for FX difference lines in card bookkeeping export.","uniqueKey":"transactions.items.[INDEX].archivedByUser.organization.cardFxDifferenceLedgerAccount.oneOf.0","typeLabel":"string"},{"type":"null","description":"Configured ledger account used for FX difference lines in card bookkeeping export.","uniqueKey":"transactions.items.[INDEX].archivedByUser.organization.cardFxDifferenceLedgerAccount.oneOf.1","typeLabel":"null"}],"uniqueKey":"transactions.items.[INDEX].archivedByUser.organization.cardFxDifferenceLedgerAccount","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"transactions.items.[INDEX].archivedByUser.organization","typeLabel":"object"},"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"transactions.items.[INDEX].archivedByUser.id","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","description":"The date and time the entity was created.","uniqueKey":"transactions.items.[INDEX].archivedByUser.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"format":"date-time","type":"string","description":"The date and time the entity was last updated.","uniqueKey":"transactions.items.[INDEX].archivedByUser.updatedAt","typeLabel":"string\u003cdate-time>"},"featureFlags":{"type":"array","description":"The feature flags available to the user.","items":{"type":"string","enum":["invoice","custom-fields","ar-invoice","transaction","candis","bank-transaction","webhook","procurement","ai-search","accounting-agent","ibana-agents","insights","payment-cards","in-case-of-law","reimbursement-groups","bank-account-verification"],"uniqueKey":"transactions.items.[INDEX].archivedByUser.featureFlags.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"transactions.items.[INDEX].archivedByUser.featureFlags","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"transactions.items.[INDEX].archivedByUser","typeLabel":"object"},"paymentRun":{"type":"object","description":"The payment run the transaction is assigned to","required":["id","createdAt","createdById","createdByName","organizationId","sumAmount","sumAmountWithSkonto","sumBookedAmount","sumAmountEur","transactionCount"],"properties":{"id":{"type":"string","description":"Id of the payment run","isRequired":true,"uniqueKey":"transactions.items.[INDEX].paymentRun.id","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","description":"Creation date of the payment run","isRequired":true,"uniqueKey":"transactions.items.[INDEX].paymentRun.createdAt","typeLabel":"string\u003cdate-time>"},"createdById":{"type":"string","description":"Id of the user who created the payment run","isRequired":true,"uniqueKey":"transactions.items.[INDEX].paymentRun.createdById","typeLabel":"string"},"createdByName":{"type":"string","description":"Name of the user who created the payment run","isRequired":true,"uniqueKey":"transactions.items.[INDEX].paymentRun.createdByName","typeLabel":"string"},"organizationId":{"type":"string","description":"Id of the orgnaization","isRequired":true,"uniqueKey":"transactions.items.[INDEX].paymentRun.organizationId","typeLabel":"string"},"sumAmount":{"type":"number","description":"Total amount of all transactions in the payment run","isRequired":true,"uniqueKey":"transactions.items.[INDEX].paymentRun.sumAmount","typeLabel":"number"},"sumAmountWithSkonto":{"type":"number","description":"Total amount of all transactions in the payment run with skonto","isRequired":true,"uniqueKey":"transactions.items.[INDEX].paymentRun.sumAmountWithSkonto","typeLabel":"number"},"sumBookedAmount":{"type":"number","description":"Total amount of all transactions in the payment run at the time of booking","isRequired":true,"uniqueKey":"transactions.items.[INDEX].paymentRun.sumBookedAmount","typeLabel":"number"},"sumAmountEur":{"type":"number","description":"EUR-equivalent total: locked at approval rate or live-converted from today's exchange rates","isRequired":true,"uniqueKey":"transactions.items.[INDEX].paymentRun.sumAmountEur","typeLabel":"number"},"transactionCount":{"type":"number","description":"Count of transactions in the payment run","isRequired":true,"uniqueKey":"transactions.items.[INDEX].paymentRun.transactionCount","typeLabel":"number"},"batchBooking":{"type":"boolean","description":"Override setting for whether this payment run should be exported as batch booking. If null, uses the organization default.","uniqueKey":"transactions.items.[INDEX].paymentRun.batchBooking","typeLabel":"boolean"}},"uniqueKey":"transactions.items.[INDEX].paymentRun","typeLabel":"object"},"counterparty":{"description":"The counterparty of the transaction.","uniqueKey":"transactions.items.[INDEX].counterparty","typeLabel":"any"},"invoice":{"type":"object","description":"The invoice associated with the transaction.","required":["id","invoiceNumber","status","totalAmount","dueDate","invoiceDate","currency"],"properties":{"id":{"type":"string","description":"The id of the invoice.","isRequired":true,"uniqueKey":"transactions.items.[INDEX].invoice.id","typeLabel":"string"},"invoiceNumber":{"type":"string","description":"The invoice number.","isRequired":true,"uniqueKey":"transactions.items.[INDEX].invoice.invoiceNumber","typeLabel":"string"},"status":{"type":"string","description":"The status of the invoice.","isRequired":true,"uniqueKey":"transactions.items.[INDEX].invoice.status","typeLabel":"string"},"totalAmount":{"type":"number","description":"The total amount of the invoice.","isRequired":true,"uniqueKey":"transactions.items.[INDEX].invoice.totalAmount","typeLabel":"number"},"dueDate":{"format":"date-time","type":"string","description":"The due date of the invoice.","isRequired":true,"uniqueKey":"transactions.items.[INDEX].invoice.dueDate","typeLabel":"string\u003cdate-time>"},"invoiceDate":{"format":"date-time","type":"string","description":"The date of the invoice.","isRequired":true,"uniqueKey":"transactions.items.[INDEX].invoice.invoiceDate","typeLabel":"string\u003cdate-time>"},"currency":{"type":"string","description":"The currency of the invoice.","isRequired":true,"uniqueKey":"transactions.items.[INDEX].invoice.currency","typeLabel":"string"}},"uniqueKey":"transactions.items.[INDEX].invoice","typeLabel":"object"}},"uniqueKey":"transactions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"transactions","typeLabel":"object[]"},"manualPayments":{"description":"Payments recorded manually against this invoice.","type":"array","items":{"type":"object","properties":{"amount":{"type":"number","isRequired":true,"uniqueKey":"manualPayments.items.[INDEX].amount","typeLabel":"number"},"paymentMethodType":{"type":"string","enum":["BANK_TRANSFER","DIRECT_DEBIT","CARD","CASH","OTHER"],"isRequired":true,"uniqueKey":"manualPayments.items.[INDEX].paymentMethodType","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"manualPayments.items.[INDEX].id","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","description":"The date and time the entity was created.","uniqueKey":"manualPayments.items.[INDEX].createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"format":"date-time","type":"string","description":"The date and time the entity was last updated.","uniqueKey":"manualPayments.items.[INDEX].updatedAt","typeLabel":"string\u003cdate-time>"},"paidAt":{"oneOf":[{"format":"date-time","type":"string","uniqueKey":"manualPayments.items.[INDEX].paidAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"format":"date-time","type":"null","uniqueKey":"manualPayments.items.[INDEX].paidAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"manualPayments.items.[INDEX].paidAt","typeLabel":"string\u003cdate-time> | null"},"note":{"type":"string","uniqueKey":"manualPayments.items.[INDEX].note","typeLabel":"string"},"createdBy":{"type":"object","properties":{"email":{"type":"string","description":"The email of the user.","isRequired":true,"uniqueKey":"manualPayments.items.[INDEX].createdBy.email","typeLabel":"string"},"name":{"type":"string","description":"The name of the user.","isRequired":true,"uniqueKey":"manualPayments.items.[INDEX].createdBy.name","typeLabel":"string"},"authId":{"type":"string","description":"The workOs authentication id of the user.","isRequired":true,"uniqueKey":"manualPayments.items.[INDEX].createdBy.authId","typeLabel":"string"},"role":{"type":"string","description":"The role the user has in the organization.","isRequired":true,"uniqueKey":"manualPayments.items.[INDEX].createdBy.role","typeLabel":"string"},"hasPushNotification":{"type":"boolean","description":"A boolean that determines if the user has push notifications enabled.","isRequired":true,"uniqueKey":"manualPayments.items.[INDEX].createdBy.hasPushNotification","typeLabel":"boolean"},"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"manualPayments.items.[INDEX].createdBy.id","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","description":"The date and time the entity was created.","uniqueKey":"manualPayments.items.[INDEX].createdBy.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"format":"date-time","type":"string","description":"The date and time the entity was last updated.","uniqueKey":"manualPayments.items.[INDEX].createdBy.updatedAt","typeLabel":"string\u003cdate-time>"}},"required":["email","name","authId","role","hasPushNotification"],"uniqueKey":"manualPayments.items.[INDEX].createdBy","typeLabel":"object"}},"required":["amount","paymentMethodType"],"uniqueKey":"manualPayments.items.[INDEX]","typeLabel":"object"},"uniqueKey":"manualPayments","typeLabel":"object[]"},"debitor":{"type":"object","description":"Debitor bank account associated with the invoice.","required":["identifierType","name","bic","countryCode"],"properties":{"identifierType":{"type":"string","enum":["IBAN","ACCOUNT_NUMBER"],"isRequired":true,"uniqueKey":"debitor.identifierType","typeLabel":"enum\u003cstring>"},"name":{"type":"string","description":"The name of the bank account holder.","isRequired":true,"uniqueKey":"debitor.name","typeLabel":"string"},"bic":{"type":"string","description":"The BIC of the bank account.","isRequired":true,"uniqueKey":"debitor.bic","typeLabel":"string"},"countryCode":{"type":"string","description":"The country code of the bank account.","isRequired":true,"uniqueKey":"debitor.countryCode","typeLabel":"string"},"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"debitor.id","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","description":"The date and time the entity was created.","uniqueKey":"debitor.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"format":"date-time","type":"string","description":"The date and time the entity was last updated.","uniqueKey":"debitor.updatedAt","typeLabel":"string\u003cdate-time>"},"iban":{"oneOf":[{"type":"string","description":"The IBAN of the bank account.","uniqueKey":"debitor.iban.oneOf.0","typeLabel":"string"},{"type":"null","description":"The IBAN of the bank account.","uniqueKey":"debitor.iban.oneOf.1","typeLabel":"null"}],"uniqueKey":"debitor.iban","typeLabel":"string | null"},"accountNumber":{"oneOf":[{"type":"string","description":"The non-IBAN account number.","uniqueKey":"debitor.accountNumber.oneOf.0","typeLabel":"string"},{"type":"null","description":"The non-IBAN account number.","uniqueKey":"debitor.accountNumber.oneOf.1","typeLabel":"null"}],"uniqueKey":"debitor.accountNumber","typeLabel":"string | null"},"latestVerification":{"oneOf":[{"type":"object","required":["status","submittedName","submittedIban","isStale"],"properties":{"status":{"type":"string","enum":["QUEUED","PROCESSING","COMPLETED","FAILED"],"isRequired":true,"uniqueKey":"debitor.latestVerification.oneOf.0.status","typeLabel":"enum\u003cstring>"},"submittedName":{"type":"string","isRequired":true,"uniqueKey":"debitor.latestVerification.oneOf.0.submittedName","typeLabel":"string"},"submittedIban":{"type":"string","isRequired":true,"uniqueKey":"debitor.latestVerification.oneOf.0.submittedIban","typeLabel":"string"},"isStale":{"type":"boolean","description":"Whether the saved account details changed after this check.","isRequired":true,"uniqueKey":"debitor.latestVerification.oneOf.0.isStale","typeLabel":"boolean"},"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"debitor.latestVerification.oneOf.0.id","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","description":"The date and time the entity was created.","uniqueKey":"debitor.latestVerification.oneOf.0.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"format":"date-time","type":"string","description":"The date and time the entity was last updated.","uniqueKey":"debitor.latestVerification.oneOf.0.updatedAt","typeLabel":"string\u003cdate-time>"},"result":{"oneOf":[{"type":"string","enum":["MATCHED","CLOSE_MATCH","NOT_MATCHED","CANNOT_BE_CHECKED"],"uniqueKey":"debitor.latestVerification.oneOf.0.result.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["MATCHED","CLOSE_MATCH","NOT_MATCHED","CANNOT_BE_CHECKED"],"uniqueKey":"debitor.latestVerification.oneOf.0.result.oneOf.1","typeLabel":"null"}],"uniqueKey":"debitor.latestVerification.oneOf.0.result","typeLabel":"enum\u003cstring> | null"},"returnedName":{"oneOf":[{"type":"string","uniqueKey":"debitor.latestVerification.oneOf.0.returnedName.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"debitor.latestVerification.oneOf.0.returnedName.oneOf.1","typeLabel":"null"}],"uniqueKey":"debitor.latestVerification.oneOf.0.returnedName","typeLabel":"string | null"},"reason":{"oneOf":[{"type":"string","uniqueKey":"debitor.latestVerification.oneOf.0.reason.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"debitor.latestVerification.oneOf.0.reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"debitor.latestVerification.oneOf.0.reason","typeLabel":"string | null"}},"uniqueKey":"debitor.latestVerification.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"debitor.latestVerification.oneOf.1","typeLabel":"null"}],"uniqueKey":"debitor.latestVerification","typeLabel":"object | null"}},"uniqueKey":"debitor","typeLabel":"object"},"export":{"type":"object","description":"Details of the invoice export, if exported.","required":["invoiceCount"],"properties":{"invoiceCount":{"type":"number","description":"Count of the exported invoices","isRequired":true,"uniqueKey":"export.invoiceCount","typeLabel":"number"},"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"export.id","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","description":"The date and time the entity was created.","uniqueKey":"export.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"format":"date-time","type":"string","description":"The date and time the entity was last updated.","uniqueKey":"export.updatedAt","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"export","typeLabel":"object"},"splits":{"description":"Splits detailing the invoice breakdown, such as tax rates, or subtotals.","type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"splits.items.[INDEX].id","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","description":"The date and time the entity was created.","uniqueKey":"splits.items.[INDEX].createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"format":"date-time","type":"string","description":"The date and time the entity was last updated.","uniqueKey":"splits.items.[INDEX].updatedAt","typeLabel":"string\u003cdate-time>"},"partialAmount":{"type":"number","description":"The partial amount for this line item.","uniqueKey":"splits.items.[INDEX].partialAmount","typeLabel":"number"},"taxRate":{"type":"number","description":"The tax rate applicable to this line item.","uniqueKey":"splits.items.[INDEX].taxRate","typeLabel":"number"},"taxCode":{"type":"object","description":"The tax code associated with this line item.","required":["name","treatment","operation","rate","isActive","isCustom","sortOrder"],"properties":{"name":{"type":"string","isRequired":true,"uniqueKey":"splits.items.[INDEX].taxCode.name","typeLabel":"string"},"treatment":{"type":"string","enum":["STANDARD","REDUCED","EXEMPT","ZERO_RATED","OUT_OF_SCOPE","REVERSE_CHARGE","IG_ERWERB","IMPORT_VAT","OTHER"],"isRequired":true,"uniqueKey":"splits.items.[INDEX].taxCode.treatment","typeLabel":"enum\u003cstring>"},"operation":{"type":"string","enum":["PURCHASE","SALE","BOTH"],"isRequired":true,"uniqueKey":"splits.items.[INDEX].taxCode.operation","typeLabel":"enum\u003cstring>"},"rate":{"type":"number","isRequired":true,"uniqueKey":"splits.items.[INDEX].taxCode.rate","typeLabel":"number"},"isActive":{"type":"boolean","isRequired":true,"uniqueKey":"splits.items.[INDEX].taxCode.isActive","typeLabel":"boolean"},"isCustom":{"type":"boolean","isRequired":true,"uniqueKey":"splits.items.[INDEX].taxCode.isCustom","typeLabel":"boolean"},"sortOrder":{"type":"number","isRequired":true,"uniqueKey":"splits.items.[INDEX].taxCode.sortOrder","typeLabel":"number"},"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"splits.items.[INDEX].taxCode.id","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","description":"The date and time the entity was created.","uniqueKey":"splits.items.[INDEX].taxCode.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"format":"date-time","type":"string","description":"The date and time the entity was last updated.","uniqueKey":"splits.items.[INDEX].taxCode.updatedAt","typeLabel":"string\u003cdate-time>"},"description":{"type":"string","uniqueKey":"splits.items.[INDEX].taxCode.description","typeLabel":"string"},"country":{"oneOf":[{"type":"string","uniqueKey":"splits.items.[INDEX].taxCode.country.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"splits.items.[INDEX].taxCode.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"splits.items.[INDEX].taxCode.country","typeLabel":"string | null"},"externalCode":{"type":"string","uniqueKey":"splits.items.[INDEX].taxCode.externalCode","typeLabel":"string"}},"uniqueKey":"splits.items.[INDEX].taxCode","typeLabel":"object"},"taxKey":{"type":"object","description":"Deprecated legacy tax key object. Use taxCode instead.","required":["id","type","name","isSystemKey"],"deprecated":true,"properties":{"id":{"type":"string","deprecated":true,"isRequired":true,"uniqueKey":"splits.items.[INDEX].taxKey.id","typeLabel":"string"},"type":{"type":"string","enum":["PURCHASE","SALE","BOTH"],"deprecated":true,"isRequired":true,"uniqueKey":"splits.items.[INDEX].taxKey.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","deprecated":true,"isRequired":true,"uniqueKey":"splits.items.[INDEX].taxKey.name","typeLabel":"string"},"isSystemKey":{"type":"boolean","deprecated":true,"isRequired":true,"uniqueKey":"splits.items.[INDEX].taxKey.isSystemKey","typeLabel":"boolean"},"description":{"type":"string","deprecated":true,"uniqueKey":"splits.items.[INDEX].taxKey.description","typeLabel":"string"},"internalTaxKeyName":{"type":"string","deprecated":true,"uniqueKey":"splits.items.[INDEX].taxKey.internalTaxKeyName","typeLabel":"string"},"externalCode":{"type":"string","deprecated":true,"uniqueKey":"splits.items.[INDEX].taxKey.externalCode","typeLabel":"string"}},"uniqueKey":"splits.items.[INDEX].taxKey","typeLabel":"object"},"notes":{"type":"string","description":"Any additional notes or details for this line item.","uniqueKey":"splits.items.[INDEX].notes","typeLabel":"string"},"costCenter":{"type":"object","description":"The primary cost center associated with this line item.","required":["code","name","type"],"properties":{"code":{"type":"string","description":"Code of the cost center","isRequired":true,"uniqueKey":"splits.items.[INDEX].costCenter.code","typeLabel":"string"},"name":{"type":"string","description":"Name of the cost center","isRequired":true,"uniqueKey":"splits.items.[INDEX].costCenter.name","typeLabel":"string"},"type":{"type":"string","description":"Type of the cost center (KOST 1, KOST 2)","isRequired":true,"uniqueKey":"splits.items.[INDEX].costCenter.type","typeLabel":"string"},"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"splits.items.[INDEX].costCenter.id","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","description":"The date and time the entity was created.","uniqueKey":"splits.items.[INDEX].costCenter.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"format":"date-time","type":"string","description":"The date and time the entity was last updated.","uniqueKey":"splits.items.[INDEX].costCenter.updatedAt","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"splits.items.[INDEX].costCenter","typeLabel":"object"},"costCenter2":{"type":"object","description":"An optional secondary cost center associated with this line item.","required":["code","name","type"],"properties":{"code":{"type":"string","description":"Code of the cost center","isRequired":true,"uniqueKey":"splits.items.[INDEX].costCenter2.code","typeLabel":"string"},"name":{"type":"string","description":"Name of the cost center","isRequired":true,"uniqueKey":"splits.items.[INDEX].costCenter2.name","typeLabel":"string"},"type":{"type":"string","description":"Type of the cost center (KOST 1, KOST 2)","isRequired":true,"uniqueKey":"splits.items.[INDEX].costCenter2.type","typeLabel":"string"},"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"splits.items.[INDEX].costCenter2.id","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","description":"The date and time the entity was created.","uniqueKey":"splits.items.[INDEX].costCenter2.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"format":"date-time","type":"string","description":"The date and time the entity was last updated.","uniqueKey":"splits.items.[INDEX].costCenter2.updatedAt","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"splits.items.[INDEX].costCenter2","typeLabel":"object"},"costCenter3":{"type":"object","description":"An optional tertiary cost center associated with this line item.","required":["code","name","type"],"properties":{"code":{"type":"string","description":"Code of the cost center","isRequired":true,"uniqueKey":"splits.items.[INDEX].costCenter3.code","typeLabel":"string"},"name":{"type":"string","description":"Name of the cost center","isRequired":true,"uniqueKey":"splits.items.[INDEX].costCenter3.name","typeLabel":"string"},"type":{"type":"string","description":"Type of the cost center (KOST 1, KOST 2)","isRequired":true,"uniqueKey":"splits.items.[INDEX].costCenter3.type","typeLabel":"string"},"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"splits.items.[INDEX].costCenter3.id","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","description":"The date and time the entity was created.","uniqueKey":"splits.items.[INDEX].costCenter3.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"format":"date-time","type":"string","description":"The date and time the entity was last updated.","uniqueKey":"splits.items.[INDEX].costCenter3.updatedAt","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"splits.items.[INDEX].costCenter3","typeLabel":"object"},"costCenter4":{"type":"object","description":"An optional quaternary cost center associated with this line item.","required":["code","name","type"],"properties":{"code":{"type":"string","description":"Code of the cost center","isRequired":true,"uniqueKey":"splits.items.[INDEX].costCenter4.code","typeLabel":"string"},"name":{"type":"string","description":"Name of the cost center","isRequired":true,"uniqueKey":"splits.items.[INDEX].costCenter4.name","typeLabel":"string"},"type":{"type":"string","description":"Type of the cost center (KOST 1, KOST 2)","isRequired":true,"uniqueKey":"splits.items.[INDEX].costCenter4.type","typeLabel":"string"},"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"splits.items.[INDEX].costCenter4.id","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","description":"The date and time the entity was created.","uniqueKey":"splits.items.[INDEX].costCenter4.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"format":"date-time","type":"string","description":"The date and time the entity was last updated.","uniqueKey":"splits.items.[INDEX].costCenter4.updatedAt","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"splits.items.[INDEX].costCenter4","typeLabel":"object"},"ledgerAccount":{"type":"object","description":"The ledger account associated with this line item.","required":["accountNumber","name"],"properties":{"accountNumber":{"type":"string","description":"Account number of the ledger account","isRequired":true,"uniqueKey":"splits.items.[INDEX].ledgerAccount.accountNumber","typeLabel":"string"},"name":{"type":"string","description":"Name of the ledger account","isRequired":true,"uniqueKey":"splits.items.[INDEX].ledgerAccount.name","typeLabel":"string"},"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"splits.items.[INDEX].ledgerAccount.id","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","description":"The date and time the entity was created.","uniqueKey":"splits.items.[INDEX].ledgerAccount.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"format":"date-time","type":"string","description":"The date and time the entity was last updated.","uniqueKey":"splits.items.[INDEX].ledgerAccount.updatedAt","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"splits.items.[INDEX].ledgerAccount","typeLabel":"object"}},"uniqueKey":"splits.items.[INDEX]","typeLabel":"object"},"uniqueKey":"splits","typeLabel":"object[]"},"lineItems":{"description":"","type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"lineItems.items.[INDEX].id","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","description":"The date and time the entity was created.","uniqueKey":"lineItems.items.[INDEX].createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"format":"date-time","type":"string","description":"The date and time the entity was last updated.","uniqueKey":"lineItems.items.[INDEX].updatedAt","typeLabel":"string\u003cdate-time>"},"productCode":{"type":"number","description":"Unique identifier or code for the product or service in this line item.","uniqueKey":"lineItems.items.[INDEX].productCode","typeLabel":"number"},"externalId":{"type":"string","description":"External identifier for this line item from the source system.","uniqueKey":"lineItems.items.[INDEX].externalId","typeLabel":"string"},"title":{"type":"string","description":"Brief title or name of the product or service in this line item.","uniqueKey":"lineItems.items.[INDEX].title","typeLabel":"string"},"summary":{"type":"string","description":"Short semantic summary of what this line item represents.","uniqueKey":"lineItems.items.[INDEX].summary","typeLabel":"string"},"description":{"type":"string","description":"Detailed description of the product, service, or purpose of this line item.","uniqueKey":"lineItems.items.[INDEX].description","typeLabel":"string"},"quantity":{"type":"number","description":"Number of units for this line item.","uniqueKey":"lineItems.items.[INDEX].quantity","typeLabel":"number"},"unit":{"type":"number","description":"Unit of measure for this line item (e.g., \"pcs\", \"kg\", \"discount\" for discounts).","uniqueKey":"lineItems.items.[INDEX].unit","typeLabel":"number"},"unitPrice":{"type":"number","description":"Price per unit for this line item (net amount, excluding tax), in the invoice currency.","uniqueKey":"lineItems.items.[INDEX].unitPrice","typeLabel":"number"},"pricePerQuantity":{"type":"number","description":"Pricing basis for the displayed unit price, e.g. 100 for \"1.84 per 100\".","uniqueKey":"lineItems.items.[INDEX].pricePerQuantity","typeLabel":"number"},"totalPrice":{"type":"number","description":"Total price for this line item (net amount, excluding tax). Calculated as quantity / pricePerQuantity * unitPrice, in the invoice currency.","uniqueKey":"lineItems.items.[INDEX].totalPrice","typeLabel":"number"},"discount":{"type":"number","description":"Discount amount for this line item, in the invoice currency (negative for discounts).","uniqueKey":"lineItems.items.[INDEX].discount","typeLabel":"number"},"taxRate":{"type":"number","description":"Tax rate applied to this line item, in percent.","uniqueKey":"lineItems.items.[INDEX].taxRate","typeLabel":"number"},"taxAmount":{"type":"number","description":"Total tax amount for this line item, in the invoice currency.","uniqueKey":"lineItems.items.[INDEX].taxAmount","typeLabel":"number"},"purchaseOrderLineItem":{"type":"object","description":"The matched purchase order line item for procurement workflow.","properties":{"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"lineItems.items.[INDEX].purchaseOrderLineItem.id","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","description":"The date and time the entity was created.","uniqueKey":"lineItems.items.[INDEX].purchaseOrderLineItem.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"format":"date-time","type":"string","description":"The date and time the entity was last updated.","uniqueKey":"lineItems.items.[INDEX].purchaseOrderLineItem.updatedAt","typeLabel":"string\u003cdate-time>"},"productCode":{"type":"number","description":"Unique identifier or code for the product or service in this line item.","uniqueKey":"lineItems.items.[INDEX].purchaseOrderLineItem.productCode","typeLabel":"number"},"externalId":{"type":"string","description":"External identifier for this line item from the source system.","uniqueKey":"lineItems.items.[INDEX].purchaseOrderLineItem.externalId","typeLabel":"string"},"title":{"type":"string","description":"Brief title or name of the product or service in this line item.","uniqueKey":"lineItems.items.[INDEX].purchaseOrderLineItem.title","typeLabel":"string"},"summary":{"type":"string","description":"Short semantic summary of what this line item represents.","uniqueKey":"lineItems.items.[INDEX].purchaseOrderLineItem.summary","typeLabel":"string"},"description":{"type":"string","description":"Detailed description of the product, service, or purpose of this line item.","uniqueKey":"lineItems.items.[INDEX].purchaseOrderLineItem.description","typeLabel":"string"},"quantity":{"type":"number","description":"Number of units for this line item.","uniqueKey":"lineItems.items.[INDEX].purchaseOrderLineItem.quantity","typeLabel":"number"},"unit":{"type":"number","description":"Unit of measure for this line item (e.g., \"pcs\", \"kg\", \"discount\" for discounts).","uniqueKey":"lineItems.items.[INDEX].purchaseOrderLineItem.unit","typeLabel":"number"},"unitPrice":{"type":"number","description":"Price per unit for this line item (net amount, excluding tax), in the invoice currency.","uniqueKey":"lineItems.items.[INDEX].purchaseOrderLineItem.unitPrice","typeLabel":"number"},"pricePerQuantity":{"type":"number","description":"Pricing basis for the displayed unit price, e.g. 100 for \"1.84 per 100\".","uniqueKey":"lineItems.items.[INDEX].purchaseOrderLineItem.pricePerQuantity","typeLabel":"number"},"totalPrice":{"type":"number","description":"Total price for this line item (net amount, excluding tax). Calculated as quantity / pricePerQuantity * unitPrice, in the invoice currency.","uniqueKey":"lineItems.items.[INDEX].purchaseOrderLineItem.totalPrice","typeLabel":"number"},"discount":{"type":"number","description":"Discount amount for this line item, in the invoice currency (negative for discounts).","uniqueKey":"lineItems.items.[INDEX].purchaseOrderLineItem.discount","typeLabel":"number"},"taxRate":{"type":"number","description":"Tax rate applied to this line item, in percent.","uniqueKey":"lineItems.items.[INDEX].purchaseOrderLineItem.taxRate","typeLabel":"number"},"taxAmount":{"type":"number","description":"Total tax amount for this line item, in the invoice currency.","uniqueKey":"lineItems.items.[INDEX].purchaseOrderLineItem.taxAmount","typeLabel":"number"},"deliveredQuantity":{"type":"number","description":"Total quantity delivered for this line item","uniqueKey":"lineItems.items.[INDEX].purchaseOrderLineItem.deliveredQuantity","typeLabel":"number"},"invoicedQuantity":{"type":"number","description":"Total quantity invoiced for this line item","uniqueKey":"lineItems.items.[INDEX].purchaseOrderLineItem.invoicedQuantity","typeLabel":"number"},"invoicedTotalAmount":{"type":"number","description":"Total amount invoiced for this line item","uniqueKey":"lineItems.items.[INDEX].purchaseOrderLineItem.invoicedTotalAmount","typeLabel":"number"},"deliveryPercentage":{"type":"number","description":"Percentage of ordered quantity that has been delivered","uniqueKey":"lineItems.items.[INDEX].purchaseOrderLineItem.deliveryPercentage","typeLabel":"number"},"invoicedPercentage":{"type":"number","description":"Percentage of ordered quantity that has been invoiced","uniqueKey":"lineItems.items.[INDEX].purchaseOrderLineItem.invoicedPercentage","typeLabel":"number"}},"uniqueKey":"lineItems.items.[INDEX].purchaseOrderLineItem","typeLabel":"object"},"costCenter1":{"type":"object","description":"The cost center 1 (KOST1) for accounting.","required":["code","name","type"],"properties":{"code":{"type":"string","description":"Code of the cost center","isRequired":true,"uniqueKey":"lineItems.items.[INDEX].costCenter1.code","typeLabel":"string"},"name":{"type":"string","description":"Name of the cost center","isRequired":true,"uniqueKey":"lineItems.items.[INDEX].costCenter1.name","typeLabel":"string"},"type":{"type":"string","description":"Type of the cost center (KOST 1, KOST 2)","isRequired":true,"uniqueKey":"lineItems.items.[INDEX].costCenter1.type","typeLabel":"string"},"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"lineItems.items.[INDEX].costCenter1.id","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","description":"The date and time the entity was created.","uniqueKey":"lineItems.items.[INDEX].costCenter1.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"format":"date-time","type":"string","description":"The date and time the entity was last updated.","uniqueKey":"lineItems.items.[INDEX].costCenter1.updatedAt","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"lineItems.items.[INDEX].costCenter1","typeLabel":"object"},"costCenter2":{"type":"object","description":"The cost center 2 (KOST2) for accounting.","required":["code","name","type"],"properties":{"code":{"type":"string","description":"Code of the cost center","isRequired":true,"uniqueKey":"lineItems.items.[INDEX].costCenter2.code","typeLabel":"string"},"name":{"type":"string","description":"Name of the cost center","isRequired":true,"uniqueKey":"lineItems.items.[INDEX].costCenter2.name","typeLabel":"string"},"type":{"type":"string","description":"Type of the cost center (KOST 1, KOST 2)","isRequired":true,"uniqueKey":"lineItems.items.[INDEX].costCenter2.type","typeLabel":"string"},"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"lineItems.items.[INDEX].costCenter2.id","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","description":"The date and time the entity was created.","uniqueKey":"lineItems.items.[INDEX].costCenter2.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"format":"date-time","type":"string","description":"The date and time the entity was last updated.","uniqueKey":"lineItems.items.[INDEX].costCenter2.updatedAt","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"lineItems.items.[INDEX].costCenter2","typeLabel":"object"},"ledgerAccount":{"type":"object","description":"The ledger account for accounting.","required":["accountNumber","name"],"properties":{"accountNumber":{"type":"string","description":"Account number of the ledger account","isRequired":true,"uniqueKey":"lineItems.items.[INDEX].ledgerAccount.accountNumber","typeLabel":"string"},"name":{"type":"string","description":"Name of the ledger account","isRequired":true,"uniqueKey":"lineItems.items.[INDEX].ledgerAccount.name","typeLabel":"string"},"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"lineItems.items.[INDEX].ledgerAccount.id","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","description":"The date and time the entity was created.","uniqueKey":"lineItems.items.[INDEX].ledgerAccount.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"format":"date-time","type":"string","description":"The date and time the entity was last updated.","uniqueKey":"lineItems.items.[INDEX].ledgerAccount.updatedAt","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"lineItems.items.[INDEX].ledgerAccount","typeLabel":"object"},"taxCode":{"type":"object","description":"The tax code for accounting.","required":["name","treatment","operation","rate","isActive","isCustom","sortOrder"],"properties":{"name":{"type":"string","isRequired":true,"uniqueKey":"lineItems.items.[INDEX].taxCode.name","typeLabel":"string"},"treatment":{"type":"string","enum":["STANDARD","REDUCED","EXEMPT","ZERO_RATED","OUT_OF_SCOPE","REVERSE_CHARGE","IG_ERWERB","IMPORT_VAT","OTHER"],"isRequired":true,"uniqueKey":"lineItems.items.[INDEX].taxCode.treatment","typeLabel":"enum\u003cstring>"},"operation":{"type":"string","enum":["PURCHASE","SALE","BOTH"],"isRequired":true,"uniqueKey":"lineItems.items.[INDEX].taxCode.operation","typeLabel":"enum\u003cstring>"},"rate":{"type":"number","isRequired":true,"uniqueKey":"lineItems.items.[INDEX].taxCode.rate","typeLabel":"number"},"isActive":{"type":"boolean","isRequired":true,"uniqueKey":"lineItems.items.[INDEX].taxCode.isActive","typeLabel":"boolean"},"isCustom":{"type":"boolean","isRequired":true,"uniqueKey":"lineItems.items.[INDEX].taxCode.isCustom","typeLabel":"boolean"},"sortOrder":{"type":"number","isRequired":true,"uniqueKey":"lineItems.items.[INDEX].taxCode.sortOrder","typeLabel":"number"},"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"lineItems.items.[INDEX].taxCode.id","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","description":"The date and time the entity was created.","uniqueKey":"lineItems.items.[INDEX].taxCode.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"format":"date-time","type":"string","description":"The date and time the entity was last updated.","uniqueKey":"lineItems.items.[INDEX].taxCode.updatedAt","typeLabel":"string\u003cdate-time>"},"description":{"type":"string","uniqueKey":"lineItems.items.[INDEX].taxCode.description","typeLabel":"string"},"country":{"oneOf":[{"type":"string","uniqueKey":"lineItems.items.[INDEX].taxCode.country.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"lineItems.items.[INDEX].taxCode.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"lineItems.items.[INDEX].taxCode.country","typeLabel":"string | null"},"externalCode":{"type":"string","uniqueKey":"lineItems.items.[INDEX].taxCode.externalCode","typeLabel":"string"}},"uniqueKey":"lineItems.items.[INDEX].taxCode","typeLabel":"object"},"taxKey":{"type":"object","description":"Deprecated legacy tax key object. Use taxCode instead.","required":["id","type","name","isSystemKey"],"deprecated":true,"properties":{"id":{"type":"string","deprecated":true,"isRequired":true,"uniqueKey":"lineItems.items.[INDEX].taxKey.id","typeLabel":"string"},"type":{"type":"string","enum":["PURCHASE","SALE","BOTH"],"deprecated":true,"isRequired":true,"uniqueKey":"lineItems.items.[INDEX].taxKey.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","deprecated":true,"isRequired":true,"uniqueKey":"lineItems.items.[INDEX].taxKey.name","typeLabel":"string"},"isSystemKey":{"type":"boolean","deprecated":true,"isRequired":true,"uniqueKey":"lineItems.items.[INDEX].taxKey.isSystemKey","typeLabel":"boolean"},"description":{"type":"string","deprecated":true,"uniqueKey":"lineItems.items.[INDEX].taxKey.description","typeLabel":"string"},"internalTaxKeyName":{"type":"string","deprecated":true,"uniqueKey":"lineItems.items.[INDEX].taxKey.internalTaxKeyName","typeLabel":"string"},"externalCode":{"type":"string","deprecated":true,"uniqueKey":"lineItems.items.[INDEX].taxKey.externalCode","typeLabel":"string"}},"uniqueKey":"lineItems.items.[INDEX].taxKey","typeLabel":"object"}},"uniqueKey":"lineItems.items.[INDEX]","typeLabel":"object"},"uniqueKey":"lineItems","typeLabel":"object[]"},"accountingSuggestionSnapshot":{"oneOf":[{"type":"object","description":"Accounting suggestion metadata captured when the invoice was created.","uniqueKey":"accountingSuggestionSnapshot.oneOf.0","typeLabel":"object"},{"type":"null","description":"Accounting suggestion metadata captured when the invoice was created.","uniqueKey":"accountingSuggestionSnapshot.oneOf.1","typeLabel":"null"}],"uniqueKey":"accountingSuggestionSnapshot","typeLabel":"object | null"},"recurrence":{"oneOf":[{"type":"object","required":["anchorDate","intervalMonths","occurrenceCount","autoApprove","active","lastGeneratedSequence","status","generatedInvoicesCount","occurrences"],"properties":{"anchorDate":{"type":"string","description":"Anchor date for the chain. Occurrence 1 lands here.","isRequired":true,"uniqueKey":"recurrence.oneOf.0.anchorDate","typeLabel":"string"},"intervalMonths":{"type":"number","isRequired":true,"uniqueKey":"recurrence.oneOf.0.intervalMonths","typeLabel":"number"},"occurrenceCount":{"type":"number","description":"Total invoices in the chain, the received invoice included.","isRequired":true,"uniqueKey":"recurrence.oneOf.0.occurrenceCount","typeLabel":"number"},"autoApprove":{"type":"boolean","isRequired":true,"uniqueKey":"recurrence.oneOf.0.autoApprove","typeLabel":"boolean"},"active":{"type":"boolean","isRequired":true,"uniqueKey":"recurrence.oneOf.0.active","typeLabel":"boolean"},"lastGeneratedSequence":{"type":"number","description":"Highest sequence ever created. Occurrence 1 is the received invoice.","isRequired":true,"uniqueKey":"recurrence.oneOf.0.lastGeneratedSequence","typeLabel":"number"},"status":{"type":"string","enum":["ACTIVE","COMPLETED","STOPPED","BLOCKED","FAILING"],"description":"Derived from the schedule, the received invoice and the invoices that exist.","isRequired":true,"uniqueKey":"recurrence.oneOf.0.status","typeLabel":"enum\u003cstring>"},"generatedInvoicesCount":{"type":"number","description":"Invoices in the chain that exist, occurrence 1 included.","isRequired":true,"uniqueKey":"recurrence.oneOf.0.generatedInvoicesCount","typeLabel":"number"},"occurrences":{"type":"array","items":{"type":"object","properties":{"sequence":{"type":"number","description":"Position in the chain. Sequence 1 is the invoice the user received.","isRequired":true,"uniqueKey":"recurrence.oneOf.0.occurrences.items.[INDEX].sequence","typeLabel":"number"},"occurrenceDate":{"type":"string","isRequired":true,"uniqueKey":"recurrence.oneOf.0.occurrences.items.[INDEX].occurrenceDate","typeLabel":"string"},"state":{"type":"string","enum":["GENERATED","DELETED","PENDING","SCHEDULED"],"description":"GENERATED: the invoice exists. DELETED: it existed and was removed. PENDING: due, but not created yet - see the recurrence lastError. SCHEDULED: not due yet.","isRequired":true,"uniqueKey":"recurrence.oneOf.0.occurrences.items.[INDEX].state","typeLabel":"enum\u003cstring>"},"billingPeriodStart":{"oneOf":[{"type":"string","uniqueKey":"recurrence.oneOf.0.occurrences.items.[INDEX].billingPeriodStart.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"recurrence.oneOf.0.occurrences.items.[INDEX].billingPeriodStart.oneOf.1","typeLabel":"null"}],"uniqueKey":"recurrence.oneOf.0.occurrences.items.[INDEX].billingPeriodStart","typeLabel":"string | null"},"billingPeriodEnd":{"oneOf":[{"type":"string","uniqueKey":"recurrence.oneOf.0.occurrences.items.[INDEX].billingPeriodEnd.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"recurrence.oneOf.0.occurrences.items.[INDEX].billingPeriodEnd.oneOf.1","typeLabel":"null"}],"uniqueKey":"recurrence.oneOf.0.occurrences.items.[INDEX].billingPeriodEnd","typeLabel":"string | null"},"invoice":{"oneOf":[{"type":"object","required":["id","status"],"properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"recurrence.oneOf.0.occurrences.items.[INDEX].invoice.oneOf.0.id","typeLabel":"string"},"status":{"type":"string","isRequired":true,"uniqueKey":"recurrence.oneOf.0.occurrences.items.[INDEX].invoice.oneOf.0.status","typeLabel":"string"},"invoiceNumber":{"oneOf":[{"type":"string","uniqueKey":"recurrence.oneOf.0.occurrences.items.[INDEX].invoice.oneOf.0.invoiceNumber.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"recurrence.oneOf.0.occurrences.items.[INDEX].invoice.oneOf.0.invoiceNumber.oneOf.1","typeLabel":"null"}],"uniqueKey":"recurrence.oneOf.0.occurrences.items.[INDEX].invoice.oneOf.0.invoiceNumber","typeLabel":"string | null"},"internalInvoiceNumber":{"oneOf":[{"type":"string","uniqueKey":"recurrence.oneOf.0.occurrences.items.[INDEX].invoice.oneOf.0.internalInvoiceNumber.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"recurrence.oneOf.0.occurrences.items.[INDEX].invoice.oneOf.0.internalInvoiceNumber.oneOf.1","typeLabel":"null"}],"uniqueKey":"recurrence.oneOf.0.occurrences.items.[INDEX].invoice.oneOf.0.internalInvoiceNumber","typeLabel":"string | null"},"date":{"oneOf":[{"type":"string","uniqueKey":"recurrence.oneOf.0.occurrences.items.[INDEX].invoice.oneOf.0.date.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"recurrence.oneOf.0.occurrences.items.[INDEX].invoice.oneOf.0.date.oneOf.1","typeLabel":"null"}],"uniqueKey":"recurrence.oneOf.0.occurrences.items.[INDEX].invoice.oneOf.0.date","typeLabel":"string | null"},"billingPeriodStart":{"oneOf":[{"type":"string","uniqueKey":"recurrence.oneOf.0.occurrences.items.[INDEX].invoice.oneOf.0.billingPeriodStart.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"recurrence.oneOf.0.occurrences.items.[INDEX].invoice.oneOf.0.billingPeriodStart.oneOf.1","typeLabel":"null"}],"uniqueKey":"recurrence.oneOf.0.occurrences.items.[INDEX].invoice.oneOf.0.billingPeriodStart","typeLabel":"string | null"},"billingPeriodEnd":{"oneOf":[{"type":"string","uniqueKey":"recurrence.oneOf.0.occurrences.items.[INDEX].invoice.oneOf.0.billingPeriodEnd.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"recurrence.oneOf.0.occurrences.items.[INDEX].invoice.oneOf.0.billingPeriodEnd.oneOf.1","typeLabel":"null"}],"uniqueKey":"recurrence.oneOf.0.occurrences.items.[INDEX].invoice.oneOf.0.billingPeriodEnd","typeLabel":"string | null"}},"uniqueKey":"recurrence.oneOf.0.occurrences.items.[INDEX].invoice.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"recurrence.oneOf.0.occurrences.items.[INDEX].invoice.oneOf.1","typeLabel":"null"}],"uniqueKey":"recurrence.oneOf.0.occurrences.items.[INDEX].invoice","typeLabel":"object | null"}},"required":["sequence","occurrenceDate","state"],"uniqueKey":"recurrence.oneOf.0.occurrences.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"recurrence.oneOf.0.occurrences","typeLabel":"object[]"},"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"recurrence.oneOf.0.id","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","description":"The date and time the entity was created.","uniqueKey":"recurrence.oneOf.0.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"format":"date-time","type":"string","description":"The date and time the entity was last updated.","uniqueKey":"recurrence.oneOf.0.updatedAt","typeLabel":"string\u003cdate-time>"},"dayOfMonth":{"oneOf":[{"type":"number","description":"Day of month occurrences land on. Null keeps the anchor date's own day.","uniqueKey":"recurrence.oneOf.0.dayOfMonth.oneOf.0","typeLabel":"number"},{"type":"null","description":"Day of month occurrences land on. Null keeps the anchor date's own day.","uniqueKey":"recurrence.oneOf.0.dayOfMonth.oneOf.1","typeLabel":"null"}],"uniqueKey":"recurrence.oneOf.0.dayOfMonth","typeLabel":"number | null"},"stoppedAt":{"oneOf":[{"type":"string","uniqueKey":"recurrence.oneOf.0.stoppedAt.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"recurrence.oneOf.0.stoppedAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"recurrence.oneOf.0.stoppedAt","typeLabel":"string | null"},"lastRunAt":{"oneOf":[{"type":"string","uniqueKey":"recurrence.oneOf.0.lastRunAt.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"recurrence.oneOf.0.lastRunAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"recurrence.oneOf.0.lastRunAt","typeLabel":"string | null"},"lastError":{"oneOf":[{"type":"string","uniqueKey":"recurrence.oneOf.0.lastError.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"recurrence.oneOf.0.lastError.oneOf.1","typeLabel":"null"}],"uniqueKey":"recurrence.oneOf.0.lastError","typeLabel":"string | null"},"endDate":{"oneOf":[{"type":"string","description":"Date of the last occurrence.","uniqueKey":"recurrence.oneOf.0.endDate.oneOf.0","typeLabel":"string"},{"type":"null","description":"Date of the last occurrence.","uniqueKey":"recurrence.oneOf.0.endDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"recurrence.oneOf.0.endDate","typeLabel":"string | null"}},"uniqueKey":"recurrence.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"recurrence.oneOf.1","typeLabel":"null"}],"uniqueKey":"recurrence","typeLabel":"object | null"},"recurrenceSequence":{"oneOf":[{"type":"number","uniqueKey":"recurrenceSequence.oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"recurrenceSequence.oneOf.1","typeLabel":"null"}],"uniqueKey":"recurrenceSequence","typeLabel":"number | null"},"generatedForDate":{"oneOf":[{"type":"string","uniqueKey":"generatedForDate.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"generatedForDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"generatedForDate","typeLabel":"string | null"}},"required":["currency","baseCurrency","type","shouldCreateTransaction","alreadyPaid","archived","organization","status"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"currency":"EUR","baseCurrency":"EUR","type":"INVOICE","shouldCreateTransaction":true,"alreadyPaid":false,"archived":false,"organization":{"name":"\u003cstring>","slug":"\u003cstring>","logoFileName":"\u003cstring>","country":"\u003cstring>","vatNumber":"\u003cstring>","featureFlags":[{"featureName":"\u003cstring>","isEnabled":true,"id":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z"}],"baseCurrency":"EUR","paymentRunBatchBooking":true,"paymentRunVerificationOfPayee":true,"invoiceExportIncludeForeignCurrencies":true,"allowDirectInvoiceApproval":true,"allowDirectPaymentRunApproval":true,"customExportFormats":["custom_experta"],"apInvoiceBookingTextTemplate":"[\"counterparty-name\",\"invoice-number\",\"notes\"]","autoPopulateCustomerEmailFromMetadata":true,"autoPopulateSupplierEmailFromMetadata":true,"excludedEmailDomains":"\u003cstring>","id":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z","inCaseOfLawCustomerId":"\u003cstring>","cardCommonBookingTargetName":"\u003cstring>","cardCommonBookingTargetAccountsPayableNumber":"\u003cstring>","cardFxDifferenceLedgerAccount":"\u003cstring>"},"status":"NEW","id":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z","customFieldValues":{},"originalFileName":"\u003cstring>","filename":"\u003cstring>","fileUrl":"\u003cstring>","counterpartyName":"\u003cstring>","counterpartyIban":"\u003cstring>","counterpartyVat":"\u003cstring>","counterpartyStreet":"\u003cstring>","counterpartyBuildingNumber":"\u003cstring>","counterpartyCity":"\u003cstring>","counterpartyZip":"\u003cstring>","counterpartyCountry":"\u003cstring>","detectedBankTransferDetails":{},"counterparty":{"email":"\u003cstring>","description":"\u003cstring>","vat":"\u003cstring>","accountsPayableNumber":"22 0391919","paymentTermsDays":123,"skontoPercentage":123,"skontoDays":123,"bankAccount":{"identifierType":"IBAN","name":"\u003cstring>","bic":"\u003cstring>","countryCode":"\u003cstring>","id":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z","iban":"\u003cstring>","accountNumber":"\u003cstring>","latestVerification":{"status":"QUEUED","submittedName":"\u003cstring>","submittedIban":"\u003cstring>","isStale":true,"id":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z","result":"MATCHED","returnedName":"\u003cstring>","reason":"\u003cstring>"}},"id":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z"},"invoiceNumber":"\u003cstring>","internalInvoiceNumber":"\u003cstring>","purchaseOrderNumber":"\u003cstring>","purchaseOrder":{"currency":"\u003cstring>","counterpartyId":"\u003cstring>","counterpartyName":"\u003cstring>","totalOrderAmount":123,"totalInvoicedAmount":123,"totalLineItems":123,"fullyInvoicedLineItemsCount":123,"fullyDeliveredLineItemsCount":123,"invoiceCompletionPercentage":123,"totalOrderQuantity":123,"totalDeliveredQuantity":123,"uniqueDeliveriesCount":123,"totalInvoicedQuantity":123,"uniqueInvoicesCount":123,"outstandingInvoiceAmount":123,"id":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z","purchaseOrderNumber":"\u003cstring>","externalId":"\u003cstring>","orderDate":"2023-11-07T05:31:56Z","deliveryDate":"2023-11-07T05:31:56Z","counterparty":{"archivedAt":"2023-11-07T05:31:56Z","email":"\u003cstring>","name":"\u003cstring>","description":"\u003cstring>","vat":"\u003cstring>","accountsPayableNumber":"22 0391919","accountsPayableMode":"AUTO","street":"\u003cstring>","city":"\u003cstring>","zip":"\u003cstring>","country":"\u003cstring>","paymentTermsDays":123,"skontoPercentage":123,"skontoDays":123,"organization":{"name":"\u003cstring>","slug":"\u003cstring>","logoFileName":"\u003cstring>","country":"\u003cstring>","vatNumber":"\u003cstring>","featureFlags":[{"featureName":"\u003cstring>","isEnabled":true,"id":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z"}],"baseCurrency":"EUR","paymentRunBatchBooking":true,"paymentRunVerificationOfPayee":true,"invoiceExportIncludeForeignCurrencies":true,"allowDirectInvoiceApproval":true,"allowDirectPaymentRunApproval":true,"customExportFormats":["custom_experta"],"apInvoiceBookingTextTemplate":"[\"counterparty-name\",\"invoice-number\",\"notes\"]","autoPopulateCustomerEmailFromMetadata":true,"autoPopulateSupplierEmailFromMetadata":true,"excludedEmailDomains":"\u003cstring>","id":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z","inCaseOfLawCustomerId":"\u003cstring>","cardCommonBookingTargetName":"\u003cstring>","cardCommonBookingTargetAccountsPayableNumber":"\u003cstring>","cardFxDifferenceLedgerAccount":"\u003cstring>"},"bankAccount":{"identifierType":"IBAN","name":"\u003cstring>","bic":"\u003cstring>","countryCode":"\u003cstring>","id":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z","iban":"\u003cstring>","accountNumber":"\u003cstring>","latestVerification":{"status":"QUEUED","submittedName":"\u003cstring>","submittedIban":"\u003cstring>","isStale":true,"id":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z","result":"MATCHED","returnedName":"\u003cstring>","reason":"\u003cstring>"}},"transactions":{"id":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z","amount":123,"remittanceInformation":"\u003cstring>","requestedExecutionDate":"2023-11-07T05:31:56Z","skontoAmount":123,"skontoDate":"2023-11-07T05:31:56Z","ignoreSkontoDeadline":true,"express":true,"currency":"EUR","creditor":{"identifierType":"IBAN","name":"\u003cstring>","bic":"\u003cstring>","countryCode":"\u003cstring>","id":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z","iban":"\u003cstring>","accountNumber":"\u003cstring>","latestVerification":{"status":"QUEUED","submittedName":"\u003cstring>","submittedIban":"\u003cstring>","isStale":true,"id":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z","result":"MATCHED","returnedName":"\u003cstring>","reason":"\u003cstring>"}},"debitor":{"identifierType":"IBAN","name":"\u003cstring>","bic":"\u003cstring>","countryCode":"\u003cstring>","id":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z","iban":"\u003cstring>","accountNumber":"\u003cstring>","latestVerification":{"status":"QUEUED","submittedName":"\u003cstring>","submittedIban":"\u003cstring>","isStale":true,"id":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z","result":"MATCHED","returnedName":"\u003cstring>","reason":"\u003cstring>"}},"analysis":{"analysisRules":{"type":"AMOUNT_DEVIATION","severity":"NORMAL","markedOk":true,"markedOkReason":"\u003cstring>","markedOkDate":"2023-11-07T05:31:56Z","value":"\u003cstring>","markedOkUser":{"email":"\u003cstring>","name":"\u003cstring>","authId":"\u003cstring>","role":"\u003cstring>","hasPushNotification":true,"organization":{"name":"\u003cstring>","slug":"\u003cstring>","logoFileName":"\u003cstring>","country":"\u003cstring>","vatNumber":"\u003cstring>","featureFlags":[{"featureName":"\u003cstring>","isEnabled":true,"id":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z"}],"baseCurrency":"EUR","paymentRunBatchBooking":true,"paymentRunVerificationOfPayee":true,"invoiceExportIncludeForeignCurrencies":true,"allowDirectInvoiceApproval":true,"allowDirectPaymentRunApproval":true,"customExportFormats":["custom_experta"],"apInvoiceBookingTextTemplate":"[\"counterparty-name\",\"invoice-number\",\"notes\"]","autoPopulateCustomerEmailFromMetadata":true,"autoPopulateSupplierEmailFromMetadata":true,"excludedEmailDomains":"\u003cstring>","id":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z","inCaseOfLawCustomerId":"\u003cstring>","cardCommonBookingTargetName":"\u003cstring>","cardCommonBookingTargetAccountsPayableNumber":"\u003cstring>","cardFxDifferenceLedgerAccount":"\u003cstring>"},"id":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z","featureFlags":["invoice"]},"id":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z"},"id":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z"},"archived":true,"archivedDate":"2023-11-07T05:31:56Z","archivedByUser":{"email":"\u003cstring>","name":"\u003cstring>","authId":"\u003cstring>","role":"\u003cstring>","hasPushNotification":true,"organization":{"name":"\u003cstring>","slug":"\u003cstring>","logoFileName":"\u003cstring>","country":"\u003cstring>","vatNumber":"\u003cstring>","featureFlags":[{"featureName":"\u003cstring>","isEnabled":true,"id":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z"}],"baseCurrency":"EUR","paymentRunBatchBooking":true,"paymentRunVerificationOfPayee":true,"invoiceExportIncludeForeignCurrencies":true,"allowDirectInvoiceApproval":true,"allowDirectPaymentRunApproval":true,"customExportFormats":["custom_experta"],"apInvoiceBookingTextTemplate":"[\"counterparty-name\",\"invoice-number\",\"notes\"]","autoPopulateCustomerEmailFromMetadata":true,"autoPopulateSupplierEmailFromMetadata":true,"excludedEmailDomains":"\u003cstring>","id":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z","inCaseOfLawCustomerId":"\u003cstring>","cardCommonBookingTargetName":"\u003cstring>","cardCommonBookingTargetAccountsPayableNumber":"\u003cstring>","cardFxDifferenceLedgerAccount":"\u003cstring>"},"id":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z","featureFlags":["invoice"]},"paymentRun":{"id":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","createdById":"\u003cstring>","createdByName":"\u003cstring>","organizationId":"\u003cstring>","sumAmount":123,"sumAmountWithSkonto":123,"sumBookedAmount":123,"sumAmountEur":123,"transactionCount":123,"batchBooking":true},"counterparty":"\u003cunknown>","invoice":{"id":"\u003cstring>","invoiceNumber":"\u003cstring>","status":"\u003cstring>","totalAmount":123,"dueDate":"2023-11-07T05:31:56Z","invoiceDate":"2023-11-07T05:31:56Z","currency":"\u003cstring>"}},"cardBookingPreference":"INVOICE_COUNTERPARTY","id":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z","archivedBy":{"email":"\u003cstring>","name":"\u003cstring>","authId":"\u003cstring>","role":"\u003cstring>","hasPushNotification":true,"organization":{"name":"\u003cstring>","slug":"\u003cstring>","logoFileName":"\u003cstring>","country":"\u003cstring>","vatNumber":"\u003cstring>","featureFlags":[{"featureName":"\u003cstring>","isEnabled":true,"id":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z"}],"baseCurrency":"EUR","paymentRunBatchBooking":true,"paymentRunVerificationOfPayee":true,"invoiceExportIncludeForeignCurrencies":true,"allowDirectInvoiceApproval":true,"allowDirectPaymentRunApproval":true,"customExportFormats":["custom_experta"],"apInvoiceBookingTextTemplate":"[\"counterparty-name\",\"invoice-number\",\"notes\"]","autoPopulateCustomerEmailFromMetadata":true,"autoPopulateSupplierEmailFromMetadata":true,"excludedEmailDomains":"\u003cstring>","id":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z","inCaseOfLawCustomerId":"\u003cstring>","cardCommonBookingTargetName":"\u003cstring>","cardCommonBookingTargetAccountsPayableNumber":"\u003cstring>","cardFxDifferenceLedgerAccount":"\u003cstring>"},"id":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z","featureFlags":["invoice"]},"buildingNumber":"\u003cstring>","apBalance":{"openInvoiceAmount":123,"approvedOpenCreditNoteAmount":123,"manualCreditAmount":123,"totalAvailableCredit":123,"netPayableAmount":123,"remainingCreditBalance":123,"scheduledBankTransferAmount":123,"remainingToScheduleAmount":123,"unapprovedCreditNoteAmount":123,"appliedInvoiceCreditAmount":123,"balancesByCurrency":[{"currency":"EUR","approvedOpenCreditNoteAmount":123,"manualCreditAmount":123,"totalAvailableCredit":123,"appliedInvoiceCreditAmount":123,"remainingCreditBalance":123}]}},"lineItems":[{"id":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z","productCode":123,"externalId":"\u003cstring>","title":"\u003cstring>","summary":"\u003cstring>","description":"\u003cstring>","quantity":123,"unit":123,"unitPrice":123,"pricePerQuantity":123,"totalPrice":123,"discount":123,"taxRate":123,"taxAmount":123,"deliveredQuantity":123,"invoicedQuantity":123,"invoicedTotalAmount":123,"deliveryPercentage":123,"invoicedPercentage":123}]},"taxRegistration":{"name":"\u003cstring>","country":"\u003cstring>","currency":"EUR","id":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z","code":"\u003cstring>","uid":"\u003cstring>","deletedAt":"2023-11-07T05:31:56Z"},"recommendedPurchaseOrder":{},"hasPurchaseOrderRecommendation":true,"date":"\u003cstring>","billingPeriodStart":"\u003cstring>","billingPeriodEnd":"\u003cstring>","bookingPeriodOverride":"\u003cstring>","dueDate":"\u003cstring>","skontoDate":"\u003cstring>","skontoAmount":123,"skontoRate":123,"totalAmount":123,"extractedTaxAmount":123,"extractedTaxBreakdown":["\u003carray>"],"fxRate":123,"fxRateSource":"DAILY","originalFxRate":123,"originalFxRateSource":"DAILY","paymentTerms":"\u003cstring>","notes":"\u003cstring>","alreadyPaidDate":"\u003cstring>","archivedDate":"\u003cstring>","archivedByUser":{"email":"\u003cstring>","name":"\u003cstring>","authId":"\u003cstring>","role":"\u003cstring>","hasPushNotification":true,"id":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z"},"transactions":[{"id":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z","amount":123,"remittanceInformation":"\u003cstring>","requestedExecutionDate":"2023-11-07T05:31:56Z","skontoAmount":123,"skontoDate":"2023-11-07T05:31:56Z","ignoreSkontoDeadline":true,"express":true,"currency":"EUR","creditor":{"identifierType":"IBAN","name":"\u003cstring>","bic":"\u003cstring>","countryCode":"\u003cstring>","id":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z","iban":"\u003cstring>","accountNumber":"\u003cstring>","latestVerification":{"status":"QUEUED","submittedName":"\u003cstring>","submittedIban":"\u003cstring>","isStale":true,"id":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z","result":"MATCHED","returnedName":"\u003cstring>","reason":"\u003cstring>"}},"debitor":{"identifierType":"IBAN","name":"\u003cstring>","bic":"\u003cstring>","countryCode":"\u003cstring>","id":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z","iban":"\u003cstring>","accountNumber":"\u003cstring>","latestVerification":{"status":"QUEUED","submittedName":"\u003cstring>","submittedIban":"\u003cstring>","isStale":true,"id":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z","result":"MATCHED","returnedName":"\u003cstring>","reason":"\u003cstring>"}},"analysis":{"analysisRules":{"type":"AMOUNT_DEVIATION","severity":"NORMAL","markedOk":true,"markedOkReason":"\u003cstring>","markedOkDate":"2023-11-07T05:31:56Z","value":"\u003cstring>","markedOkUser":{"email":"\u003cstring>","name":"\u003cstring>","authId":"\u003cstring>","role":"\u003cstring>","hasPushNotification":true,"organization":{"name":"\u003cstring>","slug":"\u003cstring>","logoFileName":"\u003cstring>","country":"\u003cstring>","vatNumber":"\u003cstring>","featureFlags":[{"featureName":"\u003cstring>","isEnabled":true,"id":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z"}],"baseCurrency":"EUR","paymentRunBatchBooking":true,"paymentRunVerificationOfPayee":true,"invoiceExportIncludeForeignCurrencies":true,"allowDirectInvoiceApproval":true,"allowDirectPaymentRunApproval":true,"customExportFormats":["custom_experta"],"apInvoiceBookingTextTemplate":"[\"counterparty-name\",\"invoice-number\",\"notes\"]","autoPopulateCustomerEmailFromMetadata":true,"autoPopulateSupplierEmailFromMetadata":true,"excludedEmailDomains":"\u003cstring>","id":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z","inCaseOfLawCustomerId":"\u003cstring>","cardCommonBookingTargetName":"\u003cstring>","cardCommonBookingTargetAccountsPayableNumber":"\u003cstring>","cardFxDifferenceLedgerAccount":"\u003cstring>"},"id":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z","featureFlags":["invoice"]},"id":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z"},"id":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z"},"archived":true,"archivedDate":"2023-11-07T05:31:56Z","archivedByUser":{"email":"\u003cstring>","name":"\u003cstring>","authId":"\u003cstring>","role":"\u003cstring>","hasPushNotification":true,"organization":{"name":"\u003cstring>","slug":"\u003cstring>","logoFileName":"\u003cstring>","country":"\u003cstring>","vatNumber":"\u003cstring>","featureFlags":[{"featureName":"\u003cstring>","isEnabled":true,"id":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z"}],"baseCurrency":"EUR","paymentRunBatchBooking":true,"paymentRunVerificationOfPayee":true,"invoiceExportIncludeForeignCurrencies":true,"allowDirectInvoiceApproval":true,"allowDirectPaymentRunApproval":true,"customExportFormats":["custom_experta"],"apInvoiceBookingTextTemplate":"[\"counterparty-name\",\"invoice-number\",\"notes\"]","autoPopulateCustomerEmailFromMetadata":true,"autoPopulateSupplierEmailFromMetadata":true,"excludedEmailDomains":"\u003cstring>","id":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z","inCaseOfLawCustomerId":"\u003cstring>","cardCommonBookingTargetName":"\u003cstring>","cardCommonBookingTargetAccountsPayableNumber":"\u003cstring>","cardFxDifferenceLedgerAccount":"\u003cstring>"},"id":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z","featureFlags":["invoice"]},"paymentRun":{"id":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","createdById":"\u003cstring>","createdByName":"\u003cstring>","organizationId":"\u003cstring>","sumAmount":123,"sumAmountWithSkonto":123,"sumBookedAmount":123,"sumAmountEur":123,"transactionCount":123,"batchBooking":true},"counterparty":"\u003cunknown>","invoice":{"id":"\u003cstring>","invoiceNumber":"\u003cstring>","status":"\u003cstring>","totalAmount":123,"dueDate":"2023-11-07T05:31:56Z","invoiceDate":"2023-11-07T05:31:56Z","currency":"\u003cstring>"}}],"manualPayments":[{"amount":123,"paymentMethodType":"BANK_TRANSFER","id":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z","paidAt":"2023-11-07T05:31:56Z","note":"\u003cstring>","createdBy":{"email":"\u003cstring>","name":"\u003cstring>","authId":"\u003cstring>","role":"\u003cstring>","hasPushNotification":true,"id":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z"}}],"debitor":{"identifierType":"IBAN","name":"\u003cstring>","bic":"\u003cstring>","countryCode":"\u003cstring>","id":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z","iban":"\u003cstring>","accountNumber":"\u003cstring>","latestVerification":{"status":"QUEUED","submittedName":"\u003cstring>","submittedIban":"\u003cstring>","isStale":true,"id":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z","result":"MATCHED","returnedName":"\u003cstring>","reason":"\u003cstring>"}},"export":{"invoiceCount":123,"id":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z"},"splits":[{"id":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z","partialAmount":123,"taxRate":123,"taxCode":{"name":"\u003cstring>","treatment":"STANDARD","operation":"PURCHASE","rate":123,"isActive":true,"isCustom":true,"sortOrder":123,"id":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z","description":"\u003cstring>","country":"\u003cstring>","externalCode":"\u003cstring>"},"taxKey":{"id":"\u003cstring>","type":"PURCHASE","name":"\u003cstring>","isSystemKey":true,"description":"\u003cstring>","internalTaxKeyName":"\u003cstring>","externalCode":"\u003cstring>"},"notes":"\u003cstring>","costCenter":{"code":"\u003cstring>","name":"\u003cstring>","type":"\u003cstring>","id":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z"},"costCenter2":{"code":"\u003cstring>","name":"\u003cstring>","type":"\u003cstring>","id":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z"},"costCenter3":{"code":"\u003cstring>","name":"\u003cstring>","type":"\u003cstring>","id":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z"},"costCenter4":{"code":"\u003cstring>","name":"\u003cstring>","type":"\u003cstring>","id":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z"},"ledgerAccount":{"accountNumber":"\u003cstring>","name":"\u003cstring>","id":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z"}}],"lineItems":[{"id":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z","productCode":123,"externalId":"\u003cstring>","title":"\u003cstring>","summary":"\u003cstring>","description":"\u003cstring>","quantity":123,"unit":123,"unitPrice":123,"pricePerQuantity":123,"totalPrice":123,"discount":123,"taxRate":123,"taxAmount":123,"purchaseOrderLineItem":{"id":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z","productCode":123,"externalId":"\u003cstring>","title":"\u003cstring>","summary":"\u003cstring>","description":"\u003cstring>","quantity":123,"unit":123,"unitPrice":123,"pricePerQuantity":123,"totalPrice":123,"discount":123,"taxRate":123,"taxAmount":123,"deliveredQuantity":123,"invoicedQuantity":123,"invoicedTotalAmount":123,"deliveryPercentage":123,"invoicedPercentage":123},"costCenter1":{"code":"\u003cstring>","name":"\u003cstring>","type":"\u003cstring>","id":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z"},"costCenter2":{"code":"\u003cstring>","name":"\u003cstring>","type":"\u003cstring>","id":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z"},"ledgerAccount":{"accountNumber":"\u003cstring>","name":"\u003cstring>","id":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z"},"taxCode":{"name":"\u003cstring>","treatment":"STANDARD","operation":"PURCHASE","rate":123,"isActive":true,"isCustom":true,"sortOrder":123,"id":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z","description":"\u003cstring>","country":"\u003cstring>","externalCode":"\u003cstring>"},"taxKey":{"id":"\u003cstring>","type":"PURCHASE","name":"\u003cstring>","isSystemKey":true,"description":"\u003cstring>","internalTaxKeyName":"\u003cstring>","externalCode":"\u003cstring>"}}],"accountingSuggestionSnapshot":{},"recurrence":{"anchorDate":"\u003cstring>","intervalMonths":123,"occurrenceCount":123,"autoApprove":true,"active":true,"lastGeneratedSequence":123,"status":"ACTIVE","generatedInvoicesCount":123,"occurrences":[{"sequence":123,"occurrenceDate":"\u003cstring>","state":"GENERATED","billingPeriodStart":"\u003cstring>","billingPeriodEnd":"\u003cstring>","invoice":{"id":"\u003cstring>","status":"\u003cstring>","invoiceNumber":"\u003cstring>","internalInvoiceNumber":"\u003cstring>","date":"\u003cstring>","billingPeriodStart":"\u003cstring>","billingPeriodEnd":"\u003cstring>"}}],"id":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z","dayOfMonth":123,"stoppedAt":"\u003cstring>","lastRunAt":"\u003cstring>","lastError":"\u003cstring>","endDate":"\u003cstring>"},"recurrenceSequence":123,"generatedForDate":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"5e69112f-a329-456f-bebd-0d4639126836":{"bearer":{"scheme":"bearer","bearerFormat":"JWT","type":"http","scopes":[]}}},"servers":{"f4acd1da-ccdf-4dec-9ede-c219e9aa2eea":{"url":"https://public-api.ibana.io","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"scheme":"bearer","bearerFormat":"JWT","type":"http","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearer","name":"Authorization"}],"title":"bearer"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"ibana","siteName":"ibana","title":"Get invoice - ibana","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-01-26T10:48:17.187Z","originalFileLocation":"api-reference/invoice/get-invoice.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Retrieve the details of an invoice.\">\u003cmeta data-mint-head name=\"application-name\" content=\"ibana\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/ibana/G4OI4Mrt2xA_1eP1/_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/ibana/G4OI4Mrt2xA_1eP1/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/ibana/G4OI4Mrt2xA_1eP1/_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/ibana/G4OI4Mrt2xA_1eP1/_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/ibana/G4OI4Mrt2xA_1eP1/_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/ibana/G4OI4Mrt2xA_1eP1/_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/ibana/G4OI4Mrt2xA_1eP1/_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/ibana/G4OI4Mrt2xA_1eP1/_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/ibana/G4OI4Mrt2xA_1eP1/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get invoice - ibana\">\u003cmeta data-mint-head property=\"og:description\" content=\"Retrieve the details of an invoice.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"ibana\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.ibana.io/api-reference/invoice/get-invoice\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://ibana.mintlify.site/_mintlify/api/og/v2?division=Invoice\u0026amp;title=Get+invoice\u0026amp;description=Retrieve+the+details+of+an+invoice.\u0026amp;theme=0b6b109f9074914b950510c9\u0026amp;signature=b48908bdfaeedc6b86eb81ce76927268f25cf5700f779e92692b5dc593d4624a\">\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=\"Get invoice - ibana\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Retrieve the details of an invoice.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://ibana.mintlify.site/_mintlify/api/og/v2?division=Invoice\u0026amp;title=Get+invoice\u0026amp;description=Retrieve+the+details+of+an+invoice.\u0026amp;theme=0b6b109f9074914b950510c9\u0026amp;signature=b48908bdfaeedc6b86eb81ce76927268f25cf5700f779e92692b5dc593d4624a\">\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/ibana/G4OI4Mrt2xA_1eP1/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"ibana\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#042228\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.ibana.io/api-reference/invoice/get-invoice\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/invoice/get-invoice.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.ibana.io/#organization\",\"name\":\"ibana\",\"url\":\"https://docs.ibana.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/ibana/SbiFijMHDJQMKhLk/logo/ibana-logo-black.png?fit=max\u0026auto=format\u0026n=SbiFijMHDJQMKhLk\u0026q=85\u0026s=e52ac3edaaaa4a580ab873885bb6e0c8\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.ibana.io#website\",\"name\":\"ibana\",\"url\":\"https://docs.ibana.io\",\"publisher\":{\"@id\":\"https://docs.ibana.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.ibana.io/api-reference/invoice/get-invoice#webpage\",\"url\":\"https://docs.ibana.io/api-reference/invoice/get-invoice\",\"name\":\"Get invoice\",\"description\":\"Retrieve the details of an invoice.\",\"dateModified\":\"2026-01-26T10:48:17.187Z\",\"isPartOf\":{\"@id\":\"https://docs.ibana.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.ibana.io/api-reference/invoice/get-invoice#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.ibana.io/api-reference/invoice/get-invoice#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Invoice\",\"item\":\"https://docs.ibana.io/api-reference/invoice/get-invoices\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get invoice\",\"item\":\"https://docs.ibana.io/api-reference/invoice/get-invoice\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.ibana.io/api-reference/invoice/get-invoice#apireference\",\"headline\":\"Get invoice\",\"name\":\"Get invoice\",\"description\":\"Retrieve the details of an invoice.\",\"url\":\"https://docs.ibana.io/api-reference/invoice/get-invoice\",\"mainEntityOfPage\":{\"@id\":\"https://docs.ibana.io/api-reference/invoice/get-invoice#webpage\"},\"dateModified\":\"2026-01-26T10:48:17.187Z\",\"publisher\":{\"@id\":\"https://docs.ibana.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.ibana.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"ibana\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"ibana","nav":{"global":{"anchors":[{"anchor":"Updates","icon":"megaphone","href":"https://ibana.io/updates"}]},"anchors":[{"anchor":"Dokumentation","pages":[{"title":"Dokumentation","href":"/documentation/introduction/home"}]},{"anchor":"API Reference","icon":"code-xml","groups":[{"group":"Counterparty","pages":[{"openapi":"get /v1/counterparty","title":"Get counterparties","href":"/api-reference/counterparty/get-counterparties"},{"openapi":"post /v1/counterparty","title":"Create counterparty","href":"/api-reference/counterparty/create-counterparty"},{"openapi":"get /v1/counterparty/{id}","title":"Get counterparty","href":"/api-reference/counterparty/get-counterparty"}]},{"group":"Transaction","pages":[{"openapi":"get /v1/transaction","title":"Get transactions","href":"/api-reference/transaction/get-transactions"},{"openapi":"post /v1/transaction","title":"Create transaction","href":"/api-reference/transaction/create-transaction"},{"openapi":"get /v1/transaction/{id}","title":"Get transaction","href":"/api-reference/transaction/get-transaction"},{"openapi":"post /v1/transaction","title":"Create transaction","href":"/api-reference/transaction/create-a-new-transaction"},{"openapi":"get /v1/transaction","title":"Get transactions","href":"/api-reference/transaction/get-all-transactions"},{"openapi":"get /v1/transaction/{id}","title":"Get transaction","href":"/api-reference/transaction/get-transaction-by-id"}]},{"group":"Invoice","pages":[{"openapi":"get /v1/invoice","title":"Get invoices","href":"/api-reference/invoice/get-invoices"},{"openapi":"get /v1/invoice/{id}/file-url","title":"Get invoice file URL","description":"Get a signed URL to access the invoice file from Google Cloud Storage. The URL is valid for 7 days.","href":"/api-reference/invoice/get-invoice-file-url"},{"openapi":"get /v1/invoice/{id}","title":"Get invoice","href":"/api-reference/invoice/get-invoice"},{"openapi":"get /v1/invoice/{id}/approval-request","title":"Get invoice approval request","description":"Retrieve the approval request for an invoice, showing who approved or rejected it and when.","href":"/api-reference/invoice/get-invoice-approval-request"},{"openapi":"patch /v1/invoice/{id}/custom-fields","title":"Update invoice custom fields","href":"/api-reference/invoice/update-invoice-custom-fields"}]},{"group":"Accounts Receivable","pages":[{"openapi":"get /v1/accounts-receivable","title":"Get accounts receivable invoices","href":"/api-reference/accounts-receivable/get-accounts-receivable-invoices"},{"openapi":"get /v1/accounts-receivable/{id}","title":"Get accounts receivable invoice","href":"/api-reference/accounts-receivable/get-accounts-receivable-invoice"},{"openapi":"delete /v1/accounts-receivable/{id}","title":"Delete accounts receivable invoice","href":"/api-reference/accounts-receivable/delete-accounts-receivable-invoice"},{"openapi":"patch /v1/accounts-receivable/{id}","title":"Update accounts receivable invoice","href":"/api-reference/accounts-receivable/update-accounts-receivable-invoice"}]},{"group":"Purchase Order","pages":[{"openapi":"get /v1/purchase-order","title":"Get all purchase orders","href":"/api-reference/purchase-order/get-all-purchase-orders"},{"openapi":"post /v1/purchase-order","title":"Create purchase order","href":"/api-reference/purchase-order/create-purchase-order"},{"openapi":"get /v1/purchase-order/{id}","title":"Get a purchase order by ID","href":"/api-reference/purchase-order/get-a-purchase-order-by-id"},{"openapi":"delete /v1/purchase-order/{id}","title":"Delete a purchase order by ID","href":"/api-reference/purchase-order/delete-a-purchase-order-by-id"},{"openapi":"patch /v1/purchase-order/{id}","title":"Update a purchase order by ID","href":"/api-reference/purchase-order/update-a-purchase-order-by-id"},{"openapi":"get /v1/purchase-order/{purchaseOrderId}/line-items/{lineItemId}/deliveries","title":"Get delivery line items for a purchase order line item","href":"/api-reference/purchase-order/get-delivery-line-items-for-a-purchase-order-line-item"},{"openapi":"get /v1/purchase-order/{purchaseOrderId}/line-items/{lineItemId}/invoices","title":"Get invoice line items for a purchase order line item","href":"/api-reference/purchase-order/get-invoice-line-items-for-a-purchase-order-line-item"}]},{"group":"Delivery","pages":[{"openapi":"get /v1/delivery","title":"Get all deliveries","href":"/api-reference/delivery/get-all-deliveries"},{"openapi":"post /v1/delivery","title":"Create delivery","href":"/api-reference/delivery/create-delivery"},{"openapi":"get /v1/delivery/{id}","title":"Get a delivery by ID","href":"/api-reference/delivery/get-a-delivery-by-id"},{"openapi":"delete /v1/delivery/{id}","title":"Delete a delivery","href":"/api-reference/delivery/delete-a-delivery"},{"openapi":"patch /v1/delivery/{id}","title":"Update a delivery","href":"/api-reference/delivery/update-a-delivery"}]},{"group":"Cost Center","pages":[{"openapi":"get /v1/cost-center","title":"Get cost centers","href":"/api-reference/cost-center/get-cost-centers"},{"openapi":"post /v1/cost-center","title":"Create cost center","href":"/api-reference/cost-center/create-cost-center"},{"openapi":"get /v1/cost-center/{id}","title":"Get cost center","href":"/api-reference/cost-center/get-cost-center"},{"openapi":"put /v1/cost-center/{id}","title":"Update cost center","href":"/api-reference/cost-center/update-cost-center"},{"openapi":"delete /v1/cost-center/{id}","title":"Delete cost center","href":"/api-reference/cost-center/delete-cost-center"}]},{"group":"Ledger Account","pages":[{"openapi":"get /v1/ledger-account","title":"Get ledger accounts","href":"/api-reference/ledger-account/get-ledger-accounts"},{"openapi":"post /v1/ledger-account","title":"Create ledger account","href":"/api-reference/ledger-account/create-ledger-account"},{"openapi":"get /v1/ledger-account/{id}","title":"Get ledger account","href":"/api-reference/ledger-account/get-ledger-account"},{"openapi":"put /v1/ledger-account/{id}","title":"Update ledger account","href":"/api-reference/ledger-account/update-ledger-account"},{"openapi":"delete /v1/ledger-account/{id}","title":"Delete ledger account","href":"/api-reference/ledger-account/delete-ledger-account"}]},{"group":"Custom Fields","pages":[{"openapi":"get /v1/custom-fields/definitions","title":"Get custom field definitions","href":"/api-reference/custom-fields/get-custom-field-definitions"}]}]}]},"basePath":"","title":"Get invoice - ibana","buildId":"dpl_DTau1J5HqS9UTgVSDwGksstFWtPa","deploymentId":"dpl_DTau1J5HqS9UTgVSDwGksstFWtPa","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-5FCzAcfS.js","utils-SLtAG4EZ.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-2DZi8ZMu.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-D7J3nkzE.js","snippetPresets-D0Alv0AH.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","Page-D9ithiIZ.js","ApiExamples-BI4qNJ2c.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BD3uyr8j.js","shallow-D8iEBr5z.js","getApiPlaygroundDisplay-CgNP4lzR.js","CodeSnippet-CX-QHuMs.js","CodeSnippets-VlXE-ZUf.js","getPastedJson-DYNQkZ1M.js","icon-CzacdwOi.js","MethodPill-2JVqoYKi.js","DuplicateIcon-_xVXs-U8.js","createIcon-BRHrweLo.js","DynamicMarkdown-mQG_iQiE.js","SectionHeading-DMpJzv8f.js","axios-vUo_bRtp.js","Markdown-5FGIym-8.js","clsx-D-TRO5q5.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CdrJecqK.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-CHlcWBLM.js"]}