generated: '2026-07-19' method: derived source: openapi/embat-openapi-original.json note: Entity-relationship graph derived from Embat OpenAPI schemas ($ref links + id-reference fields). Every resource is scoped by a companyId path parameter (multi-company treasury model). Resources are addressed by a client-supplied customId or an Embat id. scoping: tenant_field: companyId in: path note: All non-Companies resources are nested under /{resource}/{companyId}. entities: - name: AccountingAccounts tag: AccountingAccounts - name: AccountingEntries tag: AccountingEntries - name: Attributes tag: Attributes - name: Balances tag: Balances - name: Banks tag: Banks - name: Categories tag: Categories - name: Companies tag: Companies - name: Contacts tag: Contacts - name: DebtScheduleConfigs tag: DebtScheduleConfigs - name: Files tag: Files - name: Forecasts tag: Forecasts - name: ForeignExchangeRates tag: ForeignExchangeRates - name: Logs tag: Logs - name: Operations tag: Operations - name: PaymentOrders tag: PaymentOrders - name: Payments tag: Payments - name: Products tag: Products - name: ReconcilingItems tag: ReconcilingItems - name: ReconcilingSources tag: ReconcilingSources - name: Scenarios tag: Scenarios - name: Transactions tag: Transactions relationships: - from_schema: AttributeValueRequestACCOUNTSchema via_field: valueCustomId to_entity: Attributes kind: belongs_to - from_schema: AttributeValueRequestSchema via_field: parentCustomId to_entity: AttributeValueRequestSchema kind: belongs_to - from_schema: AttributeValueRequestSchema via_field: valueCustomId to_entity: Attributes kind: belongs_to - from_schema: AttributesRequestValuesSchema via_field: parentCustomId to_entity: AttributesRequestValuesSchema kind: belongs_to - from_schema: AttributesResponseValuesSchema via_field: parentCustomId to_entity: AttributesResponseValuesSchema kind: belongs_to - from_schema: AttributesResponseValuesSchema via_field: parentId to_entity: AttributesResponseValuesSchema kind: belongs_to - from_schema: AuxBulkPatchAccountingEntriesRequestSchema via_field: contactCustomId to_entity: Contacts kind: belongs_to - from_schema: AuxBulkPatchAccountingEntriesRequestSchema via_field: paymentId to_entity: Payments kind: belongs_to - from_schema: AuxBulkPatchAttributesRequestSchema via_field: parentCustomId to_entity: AuxBulkPatchAttributesRequestSchema kind: belongs_to - from_schema: AuxBulkPatchContactsRequestSchema via_field: taxId to_entity: Contacts kind: belongs_to - from_schema: AuxBulkPatchOperationsRequestSchema via_field: invoiceGroupDocumentId to_entity: Operations kind: belongs_to - from_schema: BaseContactSchema-Input via_field: taxId to_entity: Contacts kind: belongs_to - from_schema: BaseContactSchema-Output via_field: taxId to_entity: Contacts kind: belongs_to - from_schema: GetAccountingEntriesResponseSchema via_field: accountingEntryCodeId to_entity: AccountingEntries kind: belongs_to - from_schema: GetAccountingEntriesResponseSchema via_field: contactCustomId to_entity: Contacts kind: belongs_to - from_schema: GetAccountingEntriesResponseSchema via_field: paymentId to_entity: Payments kind: belongs_to - from_schema: GetAttributesResponseSchema via_field: parentCustomId to_entity: GetAttributesResponseSchema kind: belongs_to - from_schema: GetAttributesResponseSchema via_field: parentId to_entity: GetAttributesResponseSchema kind: belongs_to - from_schema: GetCategoriesResponseSchema via_field: parentId to_entity: GetCategoriesResponseSchema kind: belongs_to - from_schema: GetContactsResponseSchema via_field: taxId to_entity: Contacts kind: belongs_to - from_schema: GetDebtScheduleConfigResponseSchema via_field: bankId to_entity: Banks kind: belongs_to - from_schema: GetDebtScheduleConfigResponseSchema via_field: debtProductId to_entity: Products kind: belongs_to - from_schema: GetDebtScheduleConfigResponseSchema via_field: settlementProductId to_entity: Products kind: belongs_to - from_schema: GetOperationsResponseSchema via_field: invoiceGroupDocumentId to_entity: Operations kind: belongs_to - from_schema: GetPaymentsResponseSchema via_field: contactCustomId to_entity: Contacts kind: belongs_to - from_schema: GetPaymentsResponseSchema via_field: productId to_entity: Products kind: belongs_to - from_schema: GetProductsResponseSchema via_field: bankId to_entity: Banks kind: belongs_to - from_schema: GetReconcilingItemsResponseSchema via_field: reconcilingSourceCustomId to_entity: ReconcilingSources kind: belongs_to - from_schema: OperationPaymentResponseSchema via_field: invoiceGroupDocumentId to_entity: Operations kind: belongs_to - from_schema: PatchAccountingEntriesRequestSchema via_field: contactCustomId to_entity: Contacts kind: belongs_to - from_schema: PatchAccountingEntriesRequestSchema via_field: paymentId to_entity: Payments kind: belongs_to - from_schema: PatchAttributesRequestSchema via_field: parentCustomId to_entity: PatchAttributesRequestSchema kind: belongs_to - from_schema: PatchContactsRequestSchema via_field: taxId to_entity: Contacts kind: belongs_to - from_schema: PatchOperationsRequestSchema via_field: invoiceGroupDocumentId to_entity: Operations kind: belongs_to - from_schema: PostAccountingEntriesRequestSchema via_field: accountingEntryCodeId to_entity: AccountingEntries kind: belongs_to - from_schema: PostAccountingEntriesRequestSchema via_field: contactCustomId to_entity: Contacts kind: belongs_to - from_schema: PostAccountingEntriesRequestSchema via_field: paymentId to_entity: Payments kind: belongs_to - from_schema: PostAttributesRequestSchema via_field: parentCustomId to_entity: PostAttributesRequestSchema kind: belongs_to - from_schema: PostContactsRequestSchema via_field: taxId to_entity: Contacts kind: belongs_to - from_schema: PostOperationsRequestSchema via_field: invoiceGroupDocumentId to_entity: Operations kind: belongs_to - from_schema: PostPaymentsRequestSchema via_field: contactCustomId to_entity: Contacts kind: belongs_to - from_schema: PostPaymentsRequestSchema via_field: productId to_entity: Products kind: belongs_to - from_schema: PostReconcilingItemSchema via_field: reconcilingSourceCustomId to_entity: ReconcilingSources kind: belongs_to