{"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/purchase-order/get-a-purchase-order-by-id","slug":"/api-reference/purchase-order/get-a-purchase-order-by-id","pageMetadata":{"openapi":"get /v1/purchase-order/{id}","title":"Get a purchase order by ID","description":"Retrieve a purchase order by its unique identifier.","href":"/api-reference/purchase-order/get-a-purchase-order-by-id"},"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 a purchase order by its unique identifier.\"\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/purchase-order/{id}","title":"Get a purchase order by ID","description":"Retrieve a purchase order by its unique identifier.","href":"/api-reference/purchase-order/get-a-purchase-order-by-id"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"description":"Retrieve a purchase order by its unique identifier.","operationId":"PurchaseOrderController_findOne_v1","parameters":["4cbf400b-12e5-4189-b3e3-5949490901f9"],"responses":{"200":"1e2959f7-c78a-492d-bb68-1c2d48a81b28"},"security":["ab451864-1cb8-40cf-a3e8-ad5b1bcd26c5"],"summary":"Get a purchase order by ID","tags":["Purchase Order"],"method":"get","type":"path","servers":["f4acd1da-ccdf-4dec-9ede-c219e9aa2eea"],"path":"/v1/purchase-order/{id}","baseUrlOptions":["https://public-api.ibana.io"],"title":"Get a purchase order by ID","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"4cbf400b-12e5-4189-b3e3-5949490901f9":{"name":"id","required":true,"in":"path","schema":{"type":"string","isRequired":true,"uniqueKey":"","typeLabel":"string"}}},"responses":{"1e2959f7-c78a-492d-bb68-1c2d48a81b28":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"currency":{"type":"string","description":"The currency of the purchase order","isRequired":true,"uniqueKey":"currency","typeLabel":"string"},"counterpartyId":{"type":"string","description":"The counterparty ID","isRequired":true,"uniqueKey":"counterpartyId","typeLabel":"string"},"counterpartyName":{"type":"string","description":"The counterparty name","isRequired":true,"uniqueKey":"counterpartyName","typeLabel":"string"},"totalOrderAmount":{"type":"number","description":"Total monetary amount of the purchase order","isRequired":true,"uniqueKey":"totalOrderAmount","typeLabel":"number"},"totalInvoicedAmount":{"type":"number","description":"Total monetary amount invoiced for this purchase order","isRequired":true,"uniqueKey":"totalInvoicedAmount","typeLabel":"number"},"totalLineItems":{"type":"number","description":"Total number of line items in the purchase order","isRequired":true,"uniqueKey":"totalLineItems","typeLabel":"number"},"fullyInvoicedLineItemsCount":{"type":"number","description":"Number of line items that are fully invoiced (quantity-wise)","isRequired":true,"uniqueKey":"fullyInvoicedLineItemsCount","typeLabel":"number"},"fullyDeliveredLineItemsCount":{"type":"number","description":"Number of line items that are fully delivered (quantity-wise)","isRequired":true,"uniqueKey":"fullyDeliveredLineItemsCount","typeLabel":"number"},"invoiceCompletionPercentage":{"type":"number","description":"Percentage of order amount that has been invoiced (monetary)","isRequired":true,"uniqueKey":"invoiceCompletionPercentage","typeLabel":"number"},"totalOrderQuantity":{"type":"number","description":"Total quantity ordered across all line items","isRequired":true,"uniqueKey":"totalOrderQuantity","typeLabel":"number"},"totalDeliveredQuantity":{"type":"number","description":"Total quantity delivered across all line items","isRequired":true,"uniqueKey":"totalDeliveredQuantity","typeLabel":"number"},"uniqueDeliveriesCount":{"type":"number","description":"Number of unique deliveries for this purchase order","isRequired":true,"uniqueKey":"uniqueDeliveriesCount","typeLabel":"number"},"totalInvoicedQuantity":{"type":"number","description":"Total quantity invoiced across all line items","isRequired":true,"uniqueKey":"totalInvoicedQuantity","typeLabel":"number"},"uniqueInvoicesCount":{"type":"number","description":"Number of unique invoices for this purchase order","isRequired":true,"uniqueKey":"uniqueInvoicesCount","typeLabel":"number"},"outstandingInvoiceAmount":{"type":"number","description":"Monetary amount still pending invoicing","isRequired":true,"uniqueKey":"outstandingInvoiceAmount","typeLabel":"number"},"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>"},"purchaseOrderNumber":{"type":"string","description":"The unique number of the purchase order.","uniqueKey":"purchaseOrderNumber","typeLabel":"string"},"externalId":{"type":"string","description":"The external ID of the purchase order.","uniqueKey":"externalId","typeLabel":"string"},"orderDate":{"format":"date-time","type":"string","description":"The date of the purchase order.","uniqueKey":"orderDate","typeLabel":"string\u003cdate-time>"},"deliveryDate":{"format":"date-time","type":"string","description":"The date of the delivery of the purchase order.","uniqueKey":"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":"counterparty.archivedAt","typeLabel":"string\u003cdate-time>"},"email":{"type":"string","description":"The email of the counterparty.","isRequired":true,"uniqueKey":"counterparty.email","typeLabel":"string"},"name":{"type":"string","description":"The name of the counterparty.","isRequired":true,"uniqueKey":"counterparty.name","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"},"accountsPayableMode":{"type":"string","enum":["AUTO","MANUAL","NONE"],"description":"How accounts payable number is managed for this counterparty.","isRequired":true,"uniqueKey":"counterparty.accountsPayableMode","typeLabel":"enum\u003cstring>"},"street":{"type":"string","description":"Street name and number of the counterparty.","isRequired":true,"uniqueKey":"counterparty.street","typeLabel":"string"},"city":{"type":"string","description":"City of the counterparty.","isRequired":true,"uniqueKey":"counterparty.city","typeLabel":"string"},"zip":{"type":"string","description":"ZIP or postal code of the counterparty.","isRequired":true,"uniqueKey":"counterparty.zip","typeLabel":"string"},"country":{"type":"string","description":"Country of the counterparty using ISO 3166-1 alpha-2 code.","isRequired":true,"uniqueKey":"counterparty.country","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"},"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":"counterparty.organization.name","typeLabel":"string"},"slug":{"type":"string","description":"The slug of the organization.","isRequired":true,"uniqueKey":"counterparty.organization.slug","typeLabel":"string"},"logoFileName":{"type":"string","description":"The logo file name.","isRequired":true,"uniqueKey":"counterparty.organization.logoFileName","typeLabel":"string"},"country":{"type":"string","description":"The country of the organization using ISO 3166-1 alpha-2 code","isRequired":true,"uniqueKey":"counterparty.organization.country","typeLabel":"string"},"vatNumber":{"type":"string","description":"The VAT number of the organization","isRequired":true,"uniqueKey":"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":"counterparty.organization.featureFlags.items.[INDEX].featureName","typeLabel":"string"},"isEnabled":{"type":"boolean","description":"A boolean that indicates if the feature is enabled.","isRequired":true,"uniqueKey":"counterparty.organization.featureFlags.items.[INDEX].isEnabled","typeLabel":"boolean"},"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"counterparty.organization.featureFlags.items.[INDEX].id","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","description":"The date and time the entity was created.","uniqueKey":"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":"counterparty.organization.featureFlags.items.[INDEX].updatedAt","typeLabel":"string\u003cdate-time>"}},"required":["featureName","isEnabled"],"uniqueKey":"counterparty.organization.featureFlags.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"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":"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":"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":"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":"counterparty.organization.invoiceExportIncludeForeignCurrencies","typeLabel":"boolean"},"allowDirectInvoiceApproval":{"type":"boolean","description":"Whether direct approval is allowed for invoice approval workflows in this organization.","isRequired":true,"uniqueKey":"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":"counterparty.organization.allowDirectPaymentRunApproval","typeLabel":"boolean"},"customExportFormats":{"description":"Custom export formats enabled for this organization","example":["custom_experta"],"type":"array","items":{"type":"string","uniqueKey":"counterparty.organization.customExportFormats.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"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":"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":"counterparty.organization.apInvoiceBookingTextTemplate.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"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":"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":"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":"counterparty.organization.excludedEmailDomains","typeLabel":"string"},"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"counterparty.organization.id","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","description":"The date and time the entity was created.","uniqueKey":"counterparty.organization.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"format":"date-time","type":"string","description":"The date and time the entity was last updated.","uniqueKey":"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":"counterparty.organization.inCaseOfLawCustomerId.oneOf.0","typeLabel":"string"},{"type":"null","description":"The In case of law customer ID for this organization, if already connected.","uniqueKey":"counterparty.organization.inCaseOfLawCustomerId.oneOf.1","typeLabel":"null"}],"uniqueKey":"counterparty.organization.inCaseOfLawCustomerId","typeLabel":"string | null"},"cardCommonBookingTargetName":{"oneOf":[{"type":"string","description":"Configured shared card booking target display name used for card bookkeeping export.","uniqueKey":"counterparty.organization.cardCommonBookingTargetName.oneOf.0","typeLabel":"string"},{"type":"null","description":"Configured shared card booking target display name used for card bookkeeping export.","uniqueKey":"counterparty.organization.cardCommonBookingTargetName.oneOf.1","typeLabel":"null"}],"uniqueKey":"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":"counterparty.organization.cardCommonBookingTargetAccountsPayableNumber.oneOf.0","typeLabel":"string"},{"type":"null","description":"Configured shared card booking target accounts payable number used for card bookkeeping export.","uniqueKey":"counterparty.organization.cardCommonBookingTargetAccountsPayableNumber.oneOf.1","typeLabel":"null"}],"uniqueKey":"counterparty.organization.cardCommonBookingTargetAccountsPayableNumber","typeLabel":"string | null"},"cardFxDifferenceLedgerAccount":{"oneOf":[{"type":"string","description":"Configured ledger account used for FX difference lines in card bookkeeping export.","uniqueKey":"counterparty.organization.cardFxDifferenceLedgerAccount.oneOf.0","typeLabel":"string"},{"type":"null","description":"Configured ledger account used for FX difference lines in card bookkeeping export.","uniqueKey":"counterparty.organization.cardFxDifferenceLedgerAccount.oneOf.1","typeLabel":"null"}],"uniqueKey":"counterparty.organization.cardFxDifferenceLedgerAccount","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"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":"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"},"transactions":{"type":"object","description":"The transactions of the counterparty.","properties":{"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"counterparty.transactions.id","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","description":"The date and time the entity was created.","uniqueKey":"counterparty.transactions.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"format":"date-time","type":"string","description":"The date and time the entity was last updated.","uniqueKey":"counterparty.transactions.updatedAt","typeLabel":"string\u003cdate-time>"},"amount":{"type":"number","description":"The amount of the transaction.","uniqueKey":"counterparty.transactions.amount","typeLabel":"number"},"remittanceInformation":{"type":"string","description":"The remittance information of the transaction.","uniqueKey":"counterparty.transactions.remittanceInformation","typeLabel":"string"},"requestedExecutionDate":{"format":"date-time","type":"string","description":"The requested execution date of the transaction.","uniqueKey":"counterparty.transactions.requestedExecutionDate","typeLabel":"string\u003cdate-time>"},"skontoAmount":{"type":"number","description":"The amount of the skonto.","uniqueKey":"counterparty.transactions.skontoAmount","typeLabel":"number"},"skontoDate":{"format":"date-time","type":"string","description":"The date of the skonto.","uniqueKey":"counterparty.transactions.skontoDate","typeLabel":"string\u003cdate-time>"},"ignoreSkontoDeadline":{"type":"boolean","description":"Determines if the skonto deadline should be ignored.","uniqueKey":"counterparty.transactions.ignoreSkontoDeadline","typeLabel":"boolean"},"express":{"type":"boolean","description":"Determines if the transaction should be processed as an instant or urgent payment.","uniqueKey":"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":"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":"counterparty.transactions.creditor.identifierType","typeLabel":"enum\u003cstring>"},"name":{"type":"string","description":"The name of the bank account holder.","isRequired":true,"uniqueKey":"counterparty.transactions.creditor.name","typeLabel":"string"},"bic":{"type":"string","description":"The BIC of the bank account.","isRequired":true,"uniqueKey":"counterparty.transactions.creditor.bic","typeLabel":"string"},"countryCode":{"type":"string","description":"The country code of the bank account.","isRequired":true,"uniqueKey":"counterparty.transactions.creditor.countryCode","typeLabel":"string"},"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"counterparty.transactions.creditor.id","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","description":"The date and time the entity was created.","uniqueKey":"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":"counterparty.transactions.creditor.updatedAt","typeLabel":"string\u003cdate-time>"},"iban":{"oneOf":[{"type":"string","description":"The IBAN of the bank account.","uniqueKey":"counterparty.transactions.creditor.iban.oneOf.0","typeLabel":"string"},{"type":"null","description":"The IBAN of the bank account.","uniqueKey":"counterparty.transactions.creditor.iban.oneOf.1","typeLabel":"null"}],"uniqueKey":"counterparty.transactions.creditor.iban","typeLabel":"string | null"},"accountNumber":{"oneOf":[{"type":"string","description":"The non-IBAN account number.","uniqueKey":"counterparty.transactions.creditor.accountNumber.oneOf.0","typeLabel":"string"},{"type":"null","description":"The non-IBAN account number.","uniqueKey":"counterparty.transactions.creditor.accountNumber.oneOf.1","typeLabel":"null"}],"uniqueKey":"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":"counterparty.transactions.creditor.latestVerification.oneOf.0.status","typeLabel":"enum\u003cstring>"},"submittedName":{"type":"string","isRequired":true,"uniqueKey":"counterparty.transactions.creditor.latestVerification.oneOf.0.submittedName","typeLabel":"string"},"submittedIban":{"type":"string","isRequired":true,"uniqueKey":"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":"counterparty.transactions.creditor.latestVerification.oneOf.0.isStale","typeLabel":"boolean"},"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"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":"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":"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":"counterparty.transactions.creditor.latestVerification.oneOf.0.result.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["MATCHED","CLOSE_MATCH","NOT_MATCHED","CANNOT_BE_CHECKED"],"uniqueKey":"counterparty.transactions.creditor.latestVerification.oneOf.0.result.oneOf.1","typeLabel":"null"}],"uniqueKey":"counterparty.transactions.creditor.latestVerification.oneOf.0.result","typeLabel":"enum\u003cstring> | null"},"returnedName":{"oneOf":[{"type":"string","uniqueKey":"counterparty.transactions.creditor.latestVerification.oneOf.0.returnedName.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"counterparty.transactions.creditor.latestVerification.oneOf.0.returnedName.oneOf.1","typeLabel":"null"}],"uniqueKey":"counterparty.transactions.creditor.latestVerification.oneOf.0.returnedName","typeLabel":"string | null"},"reason":{"oneOf":[{"type":"string","uniqueKey":"counterparty.transactions.creditor.latestVerification.oneOf.0.reason.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"counterparty.transactions.creditor.latestVerification.oneOf.0.reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"counterparty.transactions.creditor.latestVerification.oneOf.0.reason","typeLabel":"string | null"}},"uniqueKey":"counterparty.transactions.creditor.latestVerification.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"counterparty.transactions.creditor.latestVerification.oneOf.1","typeLabel":"null"}],"uniqueKey":"counterparty.transactions.creditor.latestVerification","typeLabel":"object | null"}},"uniqueKey":"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":"counterparty.transactions.debitor.identifierType","typeLabel":"enum\u003cstring>"},"name":{"type":"string","description":"The name of the bank account holder.","isRequired":true,"uniqueKey":"counterparty.transactions.debitor.name","typeLabel":"string"},"bic":{"type":"string","description":"The BIC of the bank account.","isRequired":true,"uniqueKey":"counterparty.transactions.debitor.bic","typeLabel":"string"},"countryCode":{"type":"string","description":"The country code of the bank account.","isRequired":true,"uniqueKey":"counterparty.transactions.debitor.countryCode","typeLabel":"string"},"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"counterparty.transactions.debitor.id","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","description":"The date and time the entity was created.","uniqueKey":"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":"counterparty.transactions.debitor.updatedAt","typeLabel":"string\u003cdate-time>"},"iban":{"oneOf":[{"type":"string","description":"The IBAN of the bank account.","uniqueKey":"counterparty.transactions.debitor.iban.oneOf.0","typeLabel":"string"},{"type":"null","description":"The IBAN of the bank account.","uniqueKey":"counterparty.transactions.debitor.iban.oneOf.1","typeLabel":"null"}],"uniqueKey":"counterparty.transactions.debitor.iban","typeLabel":"string | null"},"accountNumber":{"oneOf":[{"type":"string","description":"The non-IBAN account number.","uniqueKey":"counterparty.transactions.debitor.accountNumber.oneOf.0","typeLabel":"string"},{"type":"null","description":"The non-IBAN account number.","uniqueKey":"counterparty.transactions.debitor.accountNumber.oneOf.1","typeLabel":"null"}],"uniqueKey":"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":"counterparty.transactions.debitor.latestVerification.oneOf.0.status","typeLabel":"enum\u003cstring>"},"submittedName":{"type":"string","isRequired":true,"uniqueKey":"counterparty.transactions.debitor.latestVerification.oneOf.0.submittedName","typeLabel":"string"},"submittedIban":{"type":"string","isRequired":true,"uniqueKey":"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":"counterparty.transactions.debitor.latestVerification.oneOf.0.isStale","typeLabel":"boolean"},"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"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":"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":"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":"counterparty.transactions.debitor.latestVerification.oneOf.0.result.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["MATCHED","CLOSE_MATCH","NOT_MATCHED","CANNOT_BE_CHECKED"],"uniqueKey":"counterparty.transactions.debitor.latestVerification.oneOf.0.result.oneOf.1","typeLabel":"null"}],"uniqueKey":"counterparty.transactions.debitor.latestVerification.oneOf.0.result","typeLabel":"enum\u003cstring> | null"},"returnedName":{"oneOf":[{"type":"string","uniqueKey":"counterparty.transactions.debitor.latestVerification.oneOf.0.returnedName.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"counterparty.transactions.debitor.latestVerification.oneOf.0.returnedName.oneOf.1","typeLabel":"null"}],"uniqueKey":"counterparty.transactions.debitor.latestVerification.oneOf.0.returnedName","typeLabel":"string | null"},"reason":{"oneOf":[{"type":"string","uniqueKey":"counterparty.transactions.debitor.latestVerification.oneOf.0.reason.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"counterparty.transactions.debitor.latestVerification.oneOf.0.reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"counterparty.transactions.debitor.latestVerification.oneOf.0.reason","typeLabel":"string | null"}},"uniqueKey":"counterparty.transactions.debitor.latestVerification.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"counterparty.transactions.debitor.latestVerification.oneOf.1","typeLabel":"null"}],"uniqueKey":"counterparty.transactions.debitor.latestVerification","typeLabel":"object | null"}},"uniqueKey":"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":"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":"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":"counterparty.transactions.analysis.analysisRules.markedOk","typeLabel":"boolean"},"markedOkReason":{"type":"string","description":"The reason why the transaction was marked as ok.","isRequired":true,"uniqueKey":"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":"counterparty.transactions.analysis.analysisRules.markedOkDate","typeLabel":"string\u003cdate-time>"},"value":{"type":"string","description":"The value of the analysis rule. ","isRequired":true,"uniqueKey":"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":"counterparty.transactions.analysis.analysisRules.markedOkUser.email","typeLabel":"string"},"name":{"type":"string","description":"The name of the user.","isRequired":true,"uniqueKey":"counterparty.transactions.analysis.analysisRules.markedOkUser.name","typeLabel":"string"},"authId":{"type":"string","description":"The workOs authentication id of the user.","isRequired":true,"uniqueKey":"counterparty.transactions.analysis.analysisRules.markedOkUser.authId","typeLabel":"string"},"role":{"type":"string","description":"The role the user has in the organization.","isRequired":true,"uniqueKey":"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":"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":"counterparty.transactions.analysis.analysisRules.markedOkUser.organization.name","typeLabel":"string"},"slug":{"type":"string","description":"The slug of the organization.","isRequired":true,"uniqueKey":"counterparty.transactions.analysis.analysisRules.markedOkUser.organization.slug","typeLabel":"string"},"logoFileName":{"type":"string","description":"The logo file name.","isRequired":true,"uniqueKey":"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":"counterparty.transactions.analysis.analysisRules.markedOkUser.organization.country","typeLabel":"string"},"vatNumber":{"type":"string","description":"The VAT number of the organization","isRequired":true,"uniqueKey":"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":"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":"counterparty.transactions.analysis.analysisRules.markedOkUser.organization.featureFlags.items.[INDEX].isEnabled","typeLabel":"boolean"},"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"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":"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":"counterparty.transactions.analysis.analysisRules.markedOkUser.organization.featureFlags.items.[INDEX].updatedAt","typeLabel":"string\u003cdate-time>"}},"required":["featureName","isEnabled"],"uniqueKey":"counterparty.transactions.analysis.analysisRules.markedOkUser.organization.featureFlags.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"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":"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":"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":"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":"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":"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":"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":"counterparty.transactions.analysis.analysisRules.markedOkUser.organization.customExportFormats.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"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":"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":"counterparty.transactions.analysis.analysisRules.markedOkUser.organization.apInvoiceBookingTextTemplate.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"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":"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":"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":"counterparty.transactions.analysis.analysisRules.markedOkUser.organization.excludedEmailDomains","typeLabel":"string"},"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"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":"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":"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":"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":"counterparty.transactions.analysis.analysisRules.markedOkUser.organization.inCaseOfLawCustomerId.oneOf.1","typeLabel":"null"}],"uniqueKey":"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":"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":"counterparty.transactions.analysis.analysisRules.markedOkUser.organization.cardCommonBookingTargetName.oneOf.1","typeLabel":"null"}],"uniqueKey":"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":"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":"counterparty.transactions.analysis.analysisRules.markedOkUser.organization.cardCommonBookingTargetAccountsPayableNumber.oneOf.1","typeLabel":"null"}],"uniqueKey":"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":"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":"counterparty.transactions.analysis.analysisRules.markedOkUser.organization.cardFxDifferenceLedgerAccount.oneOf.1","typeLabel":"null"}],"uniqueKey":"counterparty.transactions.analysis.analysisRules.markedOkUser.organization.cardFxDifferenceLedgerAccount","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"counterparty.transactions.analysis.analysisRules.markedOkUser.organization","typeLabel":"object"},"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"counterparty.transactions.analysis.analysisRules.markedOkUser.id","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","description":"The date and time the entity was created.","uniqueKey":"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":"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":"counterparty.transactions.analysis.analysisRules.markedOkUser.featureFlags.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"counterparty.transactions.analysis.analysisRules.markedOkUser.featureFlags","typeLabel":"enum\u003cstring>[]"}},"isRequired":true,"uniqueKey":"counterparty.transactions.analysis.analysisRules.markedOkUser","typeLabel":"object"},"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"counterparty.transactions.analysis.analysisRules.id","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","description":"The date and time the entity was created.","uniqueKey":"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":"counterparty.transactions.analysis.analysisRules.updatedAt","typeLabel":"string\u003cdate-time>"}},"isRequired":true,"uniqueKey":"counterparty.transactions.analysis.analysisRules","typeLabel":"object"},"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"counterparty.transactions.analysis.id","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","description":"The date and time the entity was created.","uniqueKey":"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":"counterparty.transactions.analysis.updatedAt","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"counterparty.transactions.analysis","typeLabel":"object"},"archived":{"type":"boolean","description":"Determines if the transaction has been archived.","uniqueKey":"counterparty.transactions.archived","typeLabel":"boolean"},"archivedDate":{"format":"date-time","type":"string","description":"The date and time the transaction was archived.","uniqueKey":"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":"counterparty.transactions.archivedByUser.email","typeLabel":"string"},"name":{"type":"string","description":"The name of the user.","isRequired":true,"uniqueKey":"counterparty.transactions.archivedByUser.name","typeLabel":"string"},"authId":{"type":"string","description":"The workOs authentication id of the user.","isRequired":true,"uniqueKey":"counterparty.transactions.archivedByUser.authId","typeLabel":"string"},"role":{"type":"string","description":"The role the user has in the organization.","isRequired":true,"uniqueKey":"counterparty.transactions.archivedByUser.role","typeLabel":"string"},"hasPushNotification":{"type":"boolean","description":"A boolean that determines if the user has push notifications enabled.","isRequired":true,"uniqueKey":"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":"counterparty.transactions.archivedByUser.organization.name","typeLabel":"string"},"slug":{"type":"string","description":"The slug of the organization.","isRequired":true,"uniqueKey":"counterparty.transactions.archivedByUser.organization.slug","typeLabel":"string"},"logoFileName":{"type":"string","description":"The logo file name.","isRequired":true,"uniqueKey":"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":"counterparty.transactions.archivedByUser.organization.country","typeLabel":"string"},"vatNumber":{"type":"string","description":"The VAT number of the organization","isRequired":true,"uniqueKey":"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":"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":"counterparty.transactions.archivedByUser.organization.featureFlags.items.[INDEX].isEnabled","typeLabel":"boolean"},"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"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":"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":"counterparty.transactions.archivedByUser.organization.featureFlags.items.[INDEX].updatedAt","typeLabel":"string\u003cdate-time>"}},"required":["featureName","isEnabled"],"uniqueKey":"counterparty.transactions.archivedByUser.organization.featureFlags.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"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":"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":"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":"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":"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":"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":"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":"counterparty.transactions.archivedByUser.organization.customExportFormats.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"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":"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":"counterparty.transactions.archivedByUser.organization.apInvoiceBookingTextTemplate.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"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":"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":"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":"counterparty.transactions.archivedByUser.organization.excludedEmailDomains","typeLabel":"string"},"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"counterparty.transactions.archivedByUser.organization.id","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","description":"The date and time the entity was created.","uniqueKey":"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":"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":"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":"counterparty.transactions.archivedByUser.organization.inCaseOfLawCustomerId.oneOf.1","typeLabel":"null"}],"uniqueKey":"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":"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":"counterparty.transactions.archivedByUser.organization.cardCommonBookingTargetName.oneOf.1","typeLabel":"null"}],"uniqueKey":"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":"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":"counterparty.transactions.archivedByUser.organization.cardCommonBookingTargetAccountsPayableNumber.oneOf.1","typeLabel":"null"}],"uniqueKey":"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":"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":"counterparty.transactions.archivedByUser.organization.cardFxDifferenceLedgerAccount.oneOf.1","typeLabel":"null"}],"uniqueKey":"counterparty.transactions.archivedByUser.organization.cardFxDifferenceLedgerAccount","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"counterparty.transactions.archivedByUser.organization","typeLabel":"object"},"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"counterparty.transactions.archivedByUser.id","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","description":"The date and time the entity was created.","uniqueKey":"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":"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":"counterparty.transactions.archivedByUser.featureFlags.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"counterparty.transactions.archivedByUser.featureFlags","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"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":"counterparty.transactions.paymentRun.id","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","description":"Creation date of the payment run","isRequired":true,"uniqueKey":"counterparty.transactions.paymentRun.createdAt","typeLabel":"string\u003cdate-time>"},"createdById":{"type":"string","description":"Id of the user who created the payment run","isRequired":true,"uniqueKey":"counterparty.transactions.paymentRun.createdById","typeLabel":"string"},"createdByName":{"type":"string","description":"Name of the user who created the payment run","isRequired":true,"uniqueKey":"counterparty.transactions.paymentRun.createdByName","typeLabel":"string"},"organizationId":{"type":"string","description":"Id of the orgnaization","isRequired":true,"uniqueKey":"counterparty.transactions.paymentRun.organizationId","typeLabel":"string"},"sumAmount":{"type":"number","description":"Total amount of all transactions in the payment run","isRequired":true,"uniqueKey":"counterparty.transactions.paymentRun.sumAmount","typeLabel":"number"},"sumAmountWithSkonto":{"type":"number","description":"Total amount of all transactions in the payment run with skonto","isRequired":true,"uniqueKey":"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":"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":"counterparty.transactions.paymentRun.sumAmountEur","typeLabel":"number"},"transactionCount":{"type":"number","description":"Count of transactions in the payment run","isRequired":true,"uniqueKey":"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":"counterparty.transactions.paymentRun.batchBooking","typeLabel":"boolean"}},"uniqueKey":"counterparty.transactions.paymentRun","typeLabel":"object"},"counterparty":{"description":"The counterparty of the transaction.","uniqueKey":"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":"counterparty.transactions.invoice.id","typeLabel":"string"},"invoiceNumber":{"type":"string","description":"The invoice number.","isRequired":true,"uniqueKey":"counterparty.transactions.invoice.invoiceNumber","typeLabel":"string"},"status":{"type":"string","description":"The status of the invoice.","isRequired":true,"uniqueKey":"counterparty.transactions.invoice.status","typeLabel":"string"},"totalAmount":{"type":"number","description":"The total amount of the invoice.","isRequired":true,"uniqueKey":"counterparty.transactions.invoice.totalAmount","typeLabel":"number"},"dueDate":{"format":"date-time","type":"string","description":"The due date of the invoice.","isRequired":true,"uniqueKey":"counterparty.transactions.invoice.dueDate","typeLabel":"string\u003cdate-time>"},"invoiceDate":{"format":"date-time","type":"string","description":"The date of the invoice.","isRequired":true,"uniqueKey":"counterparty.transactions.invoice.invoiceDate","typeLabel":"string\u003cdate-time>"},"currency":{"type":"string","description":"The currency of the invoice.","isRequired":true,"uniqueKey":"counterparty.transactions.invoice.currency","typeLabel":"string"}},"uniqueKey":"counterparty.transactions.invoice","typeLabel":"object"}},"isRequired":true,"uniqueKey":"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":"counterparty.cardBookingPreference","typeLabel":"enum\u003cstring>"},"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>"},"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":"counterparty.archivedBy.email","typeLabel":"string"},"name":{"type":"string","description":"The name of the user.","isRequired":true,"uniqueKey":"counterparty.archivedBy.name","typeLabel":"string"},"authId":{"type":"string","description":"The workOs authentication id of the user.","isRequired":true,"uniqueKey":"counterparty.archivedBy.authId","typeLabel":"string"},"role":{"type":"string","description":"The role the user has in the organization.","isRequired":true,"uniqueKey":"counterparty.archivedBy.role","typeLabel":"string"},"hasPushNotification":{"type":"boolean","description":"A boolean that determines if the user has push notifications enabled.","isRequired":true,"uniqueKey":"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":"counterparty.archivedBy.organization.name","typeLabel":"string"},"slug":{"type":"string","description":"The slug of the organization.","isRequired":true,"uniqueKey":"counterparty.archivedBy.organization.slug","typeLabel":"string"},"logoFileName":{"type":"string","description":"The logo file name.","isRequired":true,"uniqueKey":"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":"counterparty.archivedBy.organization.country","typeLabel":"string"},"vatNumber":{"type":"string","description":"The VAT number of the organization","isRequired":true,"uniqueKey":"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":"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":"counterparty.archivedBy.organization.featureFlags.items.[INDEX].isEnabled","typeLabel":"boolean"},"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"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":"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":"counterparty.archivedBy.organization.featureFlags.items.[INDEX].updatedAt","typeLabel":"string\u003cdate-time>"}},"required":["featureName","isEnabled"],"uniqueKey":"counterparty.archivedBy.organization.featureFlags.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"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":"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":"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":"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":"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":"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":"counterparty.archivedBy.organization.allowDirectPaymentRunApproval","typeLabel":"boolean"},"customExportFormats":{"description":"Custom export formats enabled for this organization","example":["custom_experta"],"type":"array","items":{"type":"string","uniqueKey":"counterparty.archivedBy.organization.customExportFormats.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"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":"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":"counterparty.archivedBy.organization.apInvoiceBookingTextTemplate.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"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":"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":"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":"counterparty.archivedBy.organization.excludedEmailDomains","typeLabel":"string"},"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"counterparty.archivedBy.organization.id","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","description":"The date and time the entity was created.","uniqueKey":"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":"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":"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":"counterparty.archivedBy.organization.inCaseOfLawCustomerId.oneOf.1","typeLabel":"null"}],"uniqueKey":"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":"counterparty.archivedBy.organization.cardCommonBookingTargetName.oneOf.0","typeLabel":"string"},{"type":"null","description":"Configured shared card booking target display name used for card bookkeeping export.","uniqueKey":"counterparty.archivedBy.organization.cardCommonBookingTargetName.oneOf.1","typeLabel":"null"}],"uniqueKey":"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":"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":"counterparty.archivedBy.organization.cardCommonBookingTargetAccountsPayableNumber.oneOf.1","typeLabel":"null"}],"uniqueKey":"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":"counterparty.archivedBy.organization.cardFxDifferenceLedgerAccount.oneOf.0","typeLabel":"string"},{"type":"null","description":"Configured ledger account used for FX difference lines in card bookkeeping export.","uniqueKey":"counterparty.archivedBy.organization.cardFxDifferenceLedgerAccount.oneOf.1","typeLabel":"null"}],"uniqueKey":"counterparty.archivedBy.organization.cardFxDifferenceLedgerAccount","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"counterparty.archivedBy.organization","typeLabel":"object"},"id":{"type":"string","description":"The unique identifier of the entity.","uniqueKey":"counterparty.archivedBy.id","typeLabel":"string"},"createdAt":{"format":"date-time","type":"string","description":"The date and time the entity was created.","uniqueKey":"counterparty.archivedBy.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"format":"date-time","type":"string","description":"The date and time the entity was last updated.","uniqueKey":"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":"counterparty.archivedBy.featureFlags.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"counterparty.archivedBy.featureFlags","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"counterparty.archivedBy","typeLabel":"object"},"buildingNumber":{"type":"string","description":"Building number of the counterparty.","uniqueKey":"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":"counterparty.apBalance.openInvoiceAmount","typeLabel":"number"},"approvedOpenCreditNoteAmount":{"type":"number","isRequired":true,"uniqueKey":"counterparty.apBalance.approvedOpenCreditNoteAmount","typeLabel":"number"},"manualCreditAmount":{"type":"number","isRequired":true,"uniqueKey":"counterparty.apBalance.manualCreditAmount","typeLabel":"number"},"totalAvailableCredit":{"type":"number","isRequired":true,"uniqueKey":"counterparty.apBalance.totalAvailableCredit","typeLabel":"number"},"netPayableAmount":{"type":"number","isRequired":true,"uniqueKey":"counterparty.apBalance.netPayableAmount","typeLabel":"number"},"remainingCreditBalance":{"type":"number","isRequired":true,"uniqueKey":"counterparty.apBalance.remainingCreditBalance","typeLabel":"number"},"scheduledBankTransferAmount":{"type":"number","isRequired":true,"uniqueKey":"counterparty.apBalance.scheduledBankTransferAmount","typeLabel":"number"},"remainingToScheduleAmount":{"type":"number","isRequired":true,"uniqueKey":"counterparty.apBalance.remainingToScheduleAmount","typeLabel":"number"},"unapprovedCreditNoteAmount":{"type":"number","isRequired":true,"uniqueKey":"counterparty.apBalance.unapprovedCreditNoteAmount","typeLabel":"number"},"appliedInvoiceCreditAmount":{"type":"number","isRequired":true,"uniqueKey":"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":"counterparty.apBalance.balancesByCurrency.items.[INDEX].currency","typeLabel":"enum\u003cstring>"},"approvedOpenCreditNoteAmount":{"type":"number","isRequired":true,"uniqueKey":"counterparty.apBalance.balancesByCurrency.items.[INDEX].approvedOpenCreditNoteAmount","typeLabel":"number"},"manualCreditAmount":{"type":"number","isRequired":true,"uniqueKey":"counterparty.apBalance.balancesByCurrency.items.[INDEX].manualCreditAmount","typeLabel":"number"},"totalAvailableCredit":{"type":"number","isRequired":true,"uniqueKey":"counterparty.apBalance.balancesByCurrency.items.[INDEX].totalAvailableCredit","typeLabel":"number"},"appliedInvoiceCreditAmount":{"type":"number","isRequired":true,"uniqueKey":"counterparty.apBalance.balancesByCurrency.items.[INDEX].appliedInvoiceCreditAmount","typeLabel":"number"},"remainingCreditBalance":{"type":"number","isRequired":true,"uniqueKey":"counterparty.apBalance.balancesByCurrency.items.[INDEX].remainingCreditBalance","typeLabel":"number"}},"required":["currency","approvedOpenCreditNoteAmount","manualCreditAmount","totalAvailableCredit","appliedInvoiceCreditAmount","remainingCreditBalance"],"uniqueKey":"counterparty.apBalance.balancesByCurrency.items.[INDEX]","typeLabel":"object"},"uniqueKey":"counterparty.apBalance.balancesByCurrency","typeLabel":"object[]"}},"uniqueKey":"counterparty.apBalance","typeLabel":"object"}},"uniqueKey":"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":"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"},"deliveredQuantity":{"type":"number","description":"Total quantity delivered for this line item","uniqueKey":"lineItems.items.[INDEX].deliveredQuantity","typeLabel":"number"},"invoicedQuantity":{"type":"number","description":"Total quantity invoiced for this line item","uniqueKey":"lineItems.items.[INDEX].invoicedQuantity","typeLabel":"number"},"invoicedTotalAmount":{"type":"number","description":"Total amount invoiced for this line item","uniqueKey":"lineItems.items.[INDEX].invoicedTotalAmount","typeLabel":"number"},"deliveryPercentage":{"type":"number","description":"Percentage of ordered quantity that has been delivered","uniqueKey":"lineItems.items.[INDEX].deliveryPercentage","typeLabel":"number"},"invoicedPercentage":{"type":"number","description":"Percentage of ordered quantity that has been invoiced","uniqueKey":"lineItems.items.[INDEX].invoicedPercentage","typeLabel":"number"}},"uniqueKey":"lineItems.items.[INDEX]","typeLabel":"object"},"uniqueKey":"lineItems","typeLabel":"object[]"}},"required":["currency","counterpartyId","counterpartyName","totalOrderAmount","totalInvoicedAmount","totalLineItems","fullyInvoicedLineItemsCount","fullyDeliveredLineItemsCount","invoiceCompletionPercentage","totalOrderQuantity","totalDeliveredQuantity","uniqueDeliveriesCount","totalInvoicedQuantity","uniqueInvoicesCount","outstandingInvoiceAmount"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"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}]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"ab451864-1cb8-40cf-a3e8-ad5b1bcd26c5":{"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 a purchase order by ID - ibana","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-01-26T10:48:17.218Z","originalFileLocation":"api-reference/purchase-order/get-a-purchase-order-by-id.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 a purchase order by its unique identifier.\">\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 a purchase order by ID - ibana\">\u003cmeta data-mint-head property=\"og:description\" content=\"Retrieve a purchase order by its unique identifier.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"ibana\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.ibana.io/api-reference/purchase-order/get-a-purchase-order-by-id\">\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=Purchase+Order\u0026amp;title=Get+a+purchase+order+by+ID\u0026amp;description=Retrieve+a+purchase+order+by+its+unique+identifier.\u0026amp;theme=0b6b109f9074914b950510c9\u0026amp;signature=7f25a352af1a0d7ebfdb5a7f5b72163d246be25ae68d1b32bb3567e7b5ac1b59\">\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 a purchase order by ID - ibana\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Retrieve a purchase order by its unique identifier.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://ibana.mintlify.site/_mintlify/api/og/v2?division=Purchase+Order\u0026amp;title=Get+a+purchase+order+by+ID\u0026amp;description=Retrieve+a+purchase+order+by+its+unique+identifier.\u0026amp;theme=0b6b109f9074914b950510c9\u0026amp;signature=7f25a352af1a0d7ebfdb5a7f5b72163d246be25ae68d1b32bb3567e7b5ac1b59\">\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/purchase-order/get-a-purchase-order-by-id\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/purchase-order/get-a-purchase-order-by-id.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/purchase-order/get-a-purchase-order-by-id#webpage\",\"url\":\"https://docs.ibana.io/api-reference/purchase-order/get-a-purchase-order-by-id\",\"name\":\"Get a purchase order by ID\",\"description\":\"Retrieve a purchase order by its unique identifier.\",\"dateModified\":\"2026-01-26T10:48:17.218Z\",\"isPartOf\":{\"@id\":\"https://docs.ibana.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.ibana.io/api-reference/purchase-order/get-a-purchase-order-by-id#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.ibana.io/api-reference/purchase-order/get-a-purchase-order-by-id#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Purchase Order\",\"item\":\"https://docs.ibana.io/api-reference/purchase-order/get-all-purchase-orders\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get a purchase order by ID\",\"item\":\"https://docs.ibana.io/api-reference/purchase-order/get-a-purchase-order-by-id\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.ibana.io/api-reference/purchase-order/get-a-purchase-order-by-id#apireference\",\"headline\":\"Get a purchase order by ID\",\"name\":\"Get a purchase order by ID\",\"description\":\"Retrieve a purchase order by its unique identifier.\",\"url\":\"https://docs.ibana.io/api-reference/purchase-order/get-a-purchase-order-by-id\",\"mainEntityOfPage\":{\"@id\":\"https://docs.ibana.io/api-reference/purchase-order/get-a-purchase-order-by-id#webpage\"},\"dateModified\":\"2026-01-26T10:48:17.218Z\",\"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","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","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","description":"Create a new 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","description":"Delete a purchase order by its unique identifier.","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 a purchase order by ID - 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"]}