# Models

## The AccountTrialBalanceDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"AccountTrialBalanceDto":{"type":"object","properties":{"accountingAccount":{"$ref":"#/components/schemas/AccountingAccountDto"},"endingBalance":{"$ref":"#/components/schemas/FinancialReportBalanceDto"},"accountMovement":{"$ref":"#/components/schemas/FinancialReportBalanceDto"}},"additionalProperties":false,"description":"Represents a trial balance entry for a specific accounting account."},"AccountingAccountDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier generated by the accounting system."},"accountingAccountId":{"type":["null","string"],"description":"Deprecated. Use ZG.AccountingService.AccountingModels.Dtos.Output.AccountingAccountDto.Reference instead. (Deprecated: Use Reference instead.)","deprecated":true},"reference":{"type":["null","string"],"description":"External reference or number assigned to the account."},"standardAccountingAccountId":{"type":["null","string"],"description":"Standard accounting account identifier used for classification."},"name":{"type":["null","string"],"description":"Display name of the accounting account."},"active":{"type":["null","boolean"],"description":"Indicates whether the account is active."},"postable":{"type":["null","boolean"],"description":"Indicates whether transactions can be posted to the account."},"description":{"description":"Deprecated: Use Descriptions instead.","deprecated":true,"$ref":"#/components/schemas/DescriptionDto"},"descriptions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/DescriptionDto"},"description":"Collection of descriptions for the accounting account."},"accountingAccountTypeCode":{"$ref":"#/components/schemas/PriceTypeCodeDto"},"financialDimensions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/FinancialDimensionDto"},"description":"Collection of financial dimensions associated with the account."}},"additionalProperties":false,"description":"Represents an accounting account in the chart of accounts."},"DescriptionDto":{"type":"object","properties":{"text":{"type":["null","string"],"description":"Content of the description."},"languageId":{"type":["null","string"],"description":"ISO 639-2 three-letter language code for the associated text, for example `ENG`, `SWE`, `DAN`, or `FIN`. Omit this value when the source system does not provide a language."}},"additionalProperties":false,"description":"Represents a description with an optional language identifier."},"PriceTypeCodeDto":{"type":"object","properties":{"code":{"type":["null","string"],"description":"Price type code value."},"listId":{"type":["null","string"],"description":"Identifier of the code list the code belongs to."}},"additionalProperties":false,"description":"Represents a price type classification code."},"FinancialDimensionDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the financial dimension."},"reference":{"type":["null","string"],"description":"Reference code for the financial dimension."},"type":{"type":["null","string"],"description":"Type or code of the financial dimension as exposed by the connected accounting system.\n\nKnown values currently emitted by supported connectors include:\n\n- businessGroup\n- campaign\n- costBearer\n- costCode\n- costUnit\n- customerGroup\n- department\n- employee\n- product\n- project\n- purchaser\n- salesPerson\n- salesRegion\n- supplierGroup\n\nSome connectors can also return additional system-specific dimension codes (for example custom Business Central dimension codes)."},"name":{"type":["null","string"],"description":"Display name of the financial dimension."},"description":{"type":["null","string"],"description":"Description of the financial dimension."},"isActive":{"type":["null","boolean"],"description":"Indicates whether the financial dimension is active."}},"additionalProperties":false,"description":"Represents a financial dimension used to assign granularity to financial reports (e.g. cost center, project)."},"FinancialReportBalanceDto":{"type":"object","properties":{"baseCurrencies":{"type":["null","array"],"items":{"$ref":"#/components/schemas/BaseCurrencyDto"},"description":"Collection of base currency amounts for the balance."}},"additionalProperties":false,"description":"Represents a balance in a financial report expressed in one or more currencies."},"BaseCurrencyDto":{"type":"object","properties":{"currencyId":{"type":["null","string"],"description":"Currency code identifier (e.g. SEK, EUR)."},"baseAmount":{"type":"number","description":"Monetary amount in the base currency.","format":"double"}},"additionalProperties":false,"description":"Represents a monetary amount in a specific base currency."}}}}
```

## The AccountingAccountDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"AccountingAccountDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier generated by the accounting system."},"accountingAccountId":{"type":["null","string"],"description":"Deprecated. Use ZG.AccountingService.AccountingModels.Dtos.Output.AccountingAccountDto.Reference instead. (Deprecated: Use Reference instead.)","deprecated":true},"reference":{"type":["null","string"],"description":"External reference or number assigned to the account."},"standardAccountingAccountId":{"type":["null","string"],"description":"Standard accounting account identifier used for classification."},"name":{"type":["null","string"],"description":"Display name of the accounting account."},"active":{"type":["null","boolean"],"description":"Indicates whether the account is active."},"postable":{"type":["null","boolean"],"description":"Indicates whether transactions can be posted to the account."},"description":{"description":"Deprecated: Use Descriptions instead.","deprecated":true,"$ref":"#/components/schemas/DescriptionDto"},"descriptions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/DescriptionDto"},"description":"Collection of descriptions for the accounting account."},"accountingAccountTypeCode":{"$ref":"#/components/schemas/PriceTypeCodeDto"},"financialDimensions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/FinancialDimensionDto"},"description":"Collection of financial dimensions associated with the account."}},"additionalProperties":false,"description":"Represents an accounting account in the chart of accounts."},"DescriptionDto":{"type":"object","properties":{"text":{"type":["null","string"],"description":"Content of the description."},"languageId":{"type":["null","string"],"description":"ISO 639-2 three-letter language code for the associated text, for example `ENG`, `SWE`, `DAN`, or `FIN`. Omit this value when the source system does not provide a language."}},"additionalProperties":false,"description":"Represents a description with an optional language identifier."},"PriceTypeCodeDto":{"type":"object","properties":{"code":{"type":["null","string"],"description":"Price type code value."},"listId":{"type":["null","string"],"description":"Identifier of the code list the code belongs to."}},"additionalProperties":false,"description":"Represents a price type classification code."},"FinancialDimensionDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the financial dimension."},"reference":{"type":["null","string"],"description":"Reference code for the financial dimension."},"type":{"type":["null","string"],"description":"Type or code of the financial dimension as exposed by the connected accounting system.\n\nKnown values currently emitted by supported connectors include:\n\n- businessGroup\n- campaign\n- costBearer\n- costCode\n- costUnit\n- customerGroup\n- department\n- employee\n- product\n- project\n- purchaser\n- salesPerson\n- salesRegion\n- supplierGroup\n\nSome connectors can also return additional system-specific dimension codes (for example custom Business Central dimension codes)."},"name":{"type":["null","string"],"description":"Display name of the financial dimension."},"description":{"type":["null","string"],"description":"Description of the financial dimension."},"isActive":{"type":["null","boolean"],"description":"Indicates whether the financial dimension is active."}},"additionalProperties":false,"description":"Represents a financial dimension used to assign granularity to financial reports (e.g. cost center, project)."}}}}
```

## The AccountingAccountDtoPagedResultDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"AccountingAccountDtoPagedResultDto":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/PagedResultMetadataDto"},"data":{"type":["null","array"],"items":{"$ref":"#/components/schemas/AccountingAccountDto"},"description":"Collection of items in the current page."}},"additionalProperties":false,"description":"Represents a paginated result containing metadata and a collection of items."},"PagedResultMetadataDto":{"type":"object","properties":{"totalResources":{"type":["null","integer"],"description":"Total number of resources across all pages.","format":"int32"},"totalPages":{"type":["null","integer"],"description":"Total number of pages available.","format":"int32"},"currentPage":{"type":"integer","description":"The current page number.","format":"int32"}},"additionalProperties":false,"description":"Represents pagination metadata for a paged result set."},"AccountingAccountDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier generated by the accounting system."},"accountingAccountId":{"type":["null","string"],"description":"Deprecated. Use ZG.AccountingService.AccountingModels.Dtos.Output.AccountingAccountDto.Reference instead. (Deprecated: Use Reference instead.)","deprecated":true},"reference":{"type":["null","string"],"description":"External reference or number assigned to the account."},"standardAccountingAccountId":{"type":["null","string"],"description":"Standard accounting account identifier used for classification."},"name":{"type":["null","string"],"description":"Display name of the accounting account."},"active":{"type":["null","boolean"],"description":"Indicates whether the account is active."},"postable":{"type":["null","boolean"],"description":"Indicates whether transactions can be posted to the account."},"description":{"description":"Deprecated: Use Descriptions instead.","deprecated":true,"$ref":"#/components/schemas/DescriptionDto"},"descriptions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/DescriptionDto"},"description":"Collection of descriptions for the accounting account."},"accountingAccountTypeCode":{"$ref":"#/components/schemas/PriceTypeCodeDto"},"financialDimensions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/FinancialDimensionDto"},"description":"Collection of financial dimensions associated with the account."}},"additionalProperties":false,"description":"Represents an accounting account in the chart of accounts."},"DescriptionDto":{"type":"object","properties":{"text":{"type":["null","string"],"description":"Content of the description."},"languageId":{"type":["null","string"],"description":"ISO 639-2 three-letter language code for the associated text, for example `ENG`, `SWE`, `DAN`, or `FIN`. Omit this value when the source system does not provide a language."}},"additionalProperties":false,"description":"Represents a description with an optional language identifier."},"PriceTypeCodeDto":{"type":"object","properties":{"code":{"type":["null","string"],"description":"Price type code value."},"listId":{"type":["null","string"],"description":"Identifier of the code list the code belongs to."}},"additionalProperties":false,"description":"Represents a price type classification code."},"FinancialDimensionDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the financial dimension."},"reference":{"type":["null","string"],"description":"Reference code for the financial dimension."},"type":{"type":["null","string"],"description":"Type or code of the financial dimension as exposed by the connected accounting system.\n\nKnown values currently emitted by supported connectors include:\n\n- businessGroup\n- campaign\n- costBearer\n- costCode\n- costUnit\n- customerGroup\n- department\n- employee\n- product\n- project\n- purchaser\n- salesPerson\n- salesRegion\n- supplierGroup\n\nSome connectors can also return additional system-specific dimension codes (for example custom Business Central dimension codes)."},"name":{"type":["null","string"],"description":"Display name of the financial dimension."},"description":{"type":["null","string"],"description":"Description of the financial dimension."},"isActive":{"type":["null","boolean"],"description":"Indicates whether the financial dimension is active."}},"additionalProperties":false,"description":"Represents a financial dimension used to assign granularity to financial reports (e.g. cost center, project)."}}}}
```

## The AccountingAccountInputDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"AccountingAccountInputDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the accounting account."},"accountingAccountId":{"type":["null","string"],"description":"Deprecated. Use ZG.AccountingService.AccountingModels.Dtos.Input.AccountingAccountInputDto.Reference instead. (Deprecated: Use Reference instead.)","deprecated":true},"reference":{"type":["null","string"],"description":"Reference code for the accounting account."},"standardAccountingAccountId":{"type":["null","string"],"description":"Standard accounting account identifier (e.g. BAS account number)."},"name":{"type":["null","string"],"description":"Display name of the accounting account."},"active":{"type":["null","boolean"],"description":"Indicates whether the accounting account is active."},"postable":{"type":["null","boolean"],"description":"Indicates whether entries can be posted to this account."},"description":{"description":"Deprecated: Use Descriptions instead.","deprecated":true,"$ref":"#/components/schemas/DescriptionDto"},"descriptions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/DescriptionDto"},"description":"Collection of descriptions for the accounting account."},"accountingAccountTypeCode":{"$ref":"#/components/schemas/PriceTypeCodeDto"},"financialDimensions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/FinancialDimensionDto"},"description":"Collection of financial dimensions for the account."}},"additionalProperties":false,"description":"Represents input data for an accounting account."},"DescriptionDto":{"type":"object","properties":{"text":{"type":["null","string"],"description":"Content of the description."},"languageId":{"type":["null","string"],"description":"ISO 639-2 three-letter language code for the associated text, for example `ENG`, `SWE`, `DAN`, or `FIN`. Omit this value when the source system does not provide a language."}},"additionalProperties":false,"description":"Represents a description with an optional language identifier."},"PriceTypeCodeDto":{"type":"object","properties":{"code":{"type":["null","string"],"description":"Price type code value."},"listId":{"type":["null","string"],"description":"Identifier of the code list the code belongs to."}},"additionalProperties":false,"description":"Represents a price type classification code."},"FinancialDimensionDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the financial dimension."},"reference":{"type":["null","string"],"description":"Reference code for the financial dimension."},"type":{"type":["null","string"],"description":"Type or code of the financial dimension as exposed by the connected accounting system.\n\nKnown values currently emitted by supported connectors include:\n\n- businessGroup\n- campaign\n- costBearer\n- costCode\n- costUnit\n- customerGroup\n- department\n- employee\n- product\n- project\n- purchaser\n- salesPerson\n- salesRegion\n- supplierGroup\n\nSome connectors can also return additional system-specific dimension codes (for example custom Business Central dimension codes)."},"name":{"type":["null","string"],"description":"Display name of the financial dimension."},"description":{"type":["null","string"],"description":"Description of the financial dimension."},"isActive":{"type":["null","boolean"],"description":"Indicates whether the financial dimension is active."}},"additionalProperties":false,"description":"Represents a financial dimension used to assign granularity to financial reports (e.g. cost center, project)."}}}}
```

## The AccountingEntryAmountInputDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"AccountingEntryAmountInputDto":{"type":"object","properties":{"amount":{"type":["null","number"],"description":"Monetary amount for the entry. Must be non-negative.","format":"double"},"currencyId":{"type":["null","string"],"description":"Currency code for the amount (e.g. SEK)."}},"additionalProperties":false,"description":"Represents the monetary amount of an accounting entry."}}}}
```

## The AccountingEntryDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"AccountingEntryDto":{"type":"object","properties":{"description":{"$ref":"#/components/schemas/DescriptionDto"},"accountingAccount":{"$ref":"#/components/schemas/AccountingAccountDto"},"debitAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"creditAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"financialDimensions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/FinancialDimensionDto"},"description":"Collection of financial dimensions associated with the entry."}},"additionalProperties":false,"description":"Represents an accounting entry line within a journal."},"DescriptionDto":{"type":"object","properties":{"text":{"type":["null","string"],"description":"Content of the description."},"languageId":{"type":["null","string"],"description":"ISO 639-2 three-letter language code for the associated text, for example `ENG`, `SWE`, `DAN`, or `FIN`. Omit this value when the source system does not provide a language."}},"additionalProperties":false,"description":"Represents a description with an optional language identifier."},"AccountingAccountDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier generated by the accounting system."},"accountingAccountId":{"type":["null","string"],"description":"Deprecated. Use ZG.AccountingService.AccountingModels.Dtos.Output.AccountingAccountDto.Reference instead. (Deprecated: Use Reference instead.)","deprecated":true},"reference":{"type":["null","string"],"description":"External reference or number assigned to the account."},"standardAccountingAccountId":{"type":["null","string"],"description":"Standard accounting account identifier used for classification."},"name":{"type":["null","string"],"description":"Display name of the accounting account."},"active":{"type":["null","boolean"],"description":"Indicates whether the account is active."},"postable":{"type":["null","boolean"],"description":"Indicates whether transactions can be posted to the account."},"description":{"description":"Deprecated: Use Descriptions instead.","deprecated":true,"$ref":"#/components/schemas/DescriptionDto"},"descriptions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/DescriptionDto"},"description":"Collection of descriptions for the accounting account."},"accountingAccountTypeCode":{"$ref":"#/components/schemas/PriceTypeCodeDto"},"financialDimensions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/FinancialDimensionDto"},"description":"Collection of financial dimensions associated with the account."}},"additionalProperties":false,"description":"Represents an accounting account in the chart of accounts."},"PriceTypeCodeDto":{"type":"object","properties":{"code":{"type":["null","string"],"description":"Price type code value."},"listId":{"type":["null","string"],"description":"Identifier of the code list the code belongs to."}},"additionalProperties":false,"description":"Represents a price type classification code."},"FinancialDimensionDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the financial dimension."},"reference":{"type":["null","string"],"description":"Reference code for the financial dimension."},"type":{"type":["null","string"],"description":"Type or code of the financial dimension as exposed by the connected accounting system.\n\nKnown values currently emitted by supported connectors include:\n\n- businessGroup\n- campaign\n- costBearer\n- costCode\n- costUnit\n- customerGroup\n- department\n- employee\n- product\n- project\n- purchaser\n- salesPerson\n- salesRegion\n- supplierGroup\n\nSome connectors can also return additional system-specific dimension codes (for example custom Business Central dimension codes)."},"name":{"type":["null","string"],"description":"Display name of the financial dimension."},"description":{"type":["null","string"],"description":"Description of the financial dimension."},"isActive":{"type":["null","boolean"],"description":"Indicates whether the financial dimension is active."}},"additionalProperties":false,"description":"Represents a financial dimension used to assign granularity to financial reports (e.g. cost center, project)."},"AmountTypeDto":{"type":"object","properties":{"amount":{"type":"number","description":"The balance amount.","format":"double"},"currencyId":{"type":["null","string"],"description":"The currency code (e.g. SEK)."}},"additionalProperties":false,"description":"Represents a monetary amount with an associated currency."}}}}
```

## The AccountingEntryInputDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"AccountingEntryInputDto":{"type":"object","properties":{"description":{"$ref":"#/components/schemas/NoteDto"},"accountingAccount":{"$ref":"#/components/schemas/AccountingAccountInputDto"},"debitAmount":{"$ref":"#/components/schemas/AccountingEntryAmountInputDto"},"creditAmount":{"$ref":"#/components/schemas/AccountingEntryAmountInputDto"},"financialDimensions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/FinancialDimensionDto"},"description":"Collection of financial dimensions for the entry."}},"additionalProperties":false,"description":"Represents a single accounting entry within a journal."},"NoteDto":{"type":"object","properties":{"text":{"type":["null","string"],"description":"Content of the note."},"languageId":{"type":["null","string"],"description":"ISO 639-2 three-letter language code for the associated text, for example `ENG`, `SWE`, `DAN`, or `FIN`. Omit this value when the source system does not provide a language."}},"additionalProperties":false,"description":"Represents a textual note with an optional language identifier."},"AccountingAccountInputDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the accounting account."},"accountingAccountId":{"type":["null","string"],"description":"Deprecated. Use ZG.AccountingService.AccountingModels.Dtos.Input.AccountingAccountInputDto.Reference instead. (Deprecated: Use Reference instead.)","deprecated":true},"reference":{"type":["null","string"],"description":"Reference code for the accounting account."},"standardAccountingAccountId":{"type":["null","string"],"description":"Standard accounting account identifier (e.g. BAS account number)."},"name":{"type":["null","string"],"description":"Display name of the accounting account."},"active":{"type":["null","boolean"],"description":"Indicates whether the accounting account is active."},"postable":{"type":["null","boolean"],"description":"Indicates whether entries can be posted to this account."},"description":{"description":"Deprecated: Use Descriptions instead.","deprecated":true,"$ref":"#/components/schemas/DescriptionDto"},"descriptions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/DescriptionDto"},"description":"Collection of descriptions for the accounting account."},"accountingAccountTypeCode":{"$ref":"#/components/schemas/PriceTypeCodeDto"},"financialDimensions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/FinancialDimensionDto"},"description":"Collection of financial dimensions for the account."}},"additionalProperties":false,"description":"Represents input data for an accounting account."},"DescriptionDto":{"type":"object","properties":{"text":{"type":["null","string"],"description":"Content of the description."},"languageId":{"type":["null","string"],"description":"ISO 639-2 three-letter language code for the associated text, for example `ENG`, `SWE`, `DAN`, or `FIN`. Omit this value when the source system does not provide a language."}},"additionalProperties":false,"description":"Represents a description with an optional language identifier."},"PriceTypeCodeDto":{"type":"object","properties":{"code":{"type":["null","string"],"description":"Price type code value."},"listId":{"type":["null","string"],"description":"Identifier of the code list the code belongs to."}},"additionalProperties":false,"description":"Represents a price type classification code."},"FinancialDimensionDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the financial dimension."},"reference":{"type":["null","string"],"description":"Reference code for the financial dimension."},"type":{"type":["null","string"],"description":"Type or code of the financial dimension as exposed by the connected accounting system.\n\nKnown values currently emitted by supported connectors include:\n\n- businessGroup\n- campaign\n- costBearer\n- costCode\n- costUnit\n- customerGroup\n- department\n- employee\n- product\n- project\n- purchaser\n- salesPerson\n- salesRegion\n- supplierGroup\n\nSome connectors can also return additional system-specific dimension codes (for example custom Business Central dimension codes)."},"name":{"type":["null","string"],"description":"Display name of the financial dimension."},"description":{"type":["null","string"],"description":"Description of the financial dimension."},"isActive":{"type":["null","boolean"],"description":"Indicates whether the financial dimension is active."}},"additionalProperties":false,"description":"Represents a financial dimension used to assign granularity to financial reports (e.g. cost center, project)."},"AccountingEntryAmountInputDto":{"type":"object","properties":{"amount":{"type":["null","number"],"description":"Monetary amount for the entry. Must be non-negative.","format":"double"},"currencyId":{"type":["null","string"],"description":"Currency code for the amount (e.g. SEK)."}},"additionalProperties":false,"description":"Represents the monetary amount of an accounting entry."}}}}
```

## The AccountingPeriodDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"AccountingPeriodDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier generated by the accounting system."},"reference":{"type":["null","string"],"description":"External reference or number assigned to the accounting period."},"accountingMethod":{"type":["null","string"],"description":"Accounting method used during the period (null if not available)."},"startDate":{"type":["null","string"],"description":"Date when the accounting period starts. Format: yyyy-MM-dd."},"endDate":{"type":["null","string"],"description":"Date when the accounting period ends. Format: yyyy-MM-dd."},"isOpen":{"type":["null","boolean"],"description":"Indicates whether the accounting period is currently open for transactions."}},"additionalProperties":false,"description":"Represents an accounting period (fiscal year or sub-period)."}}}}
```

## The AccountingPeriodDtoPagedResultDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"AccountingPeriodDtoPagedResultDto":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/PagedResultMetadataDto"},"data":{"type":["null","array"],"items":{"$ref":"#/components/schemas/AccountingPeriodDto"},"description":"Collection of items in the current page."}},"additionalProperties":false,"description":"Represents a paginated result containing metadata and a collection of items."},"PagedResultMetadataDto":{"type":"object","properties":{"totalResources":{"type":["null","integer"],"description":"Total number of resources across all pages.","format":"int32"},"totalPages":{"type":["null","integer"],"description":"Total number of pages available.","format":"int32"},"currentPage":{"type":"integer","description":"The current page number.","format":"int32"}},"additionalProperties":false,"description":"Represents pagination metadata for a paged result set."},"AccountingPeriodDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier generated by the accounting system."},"reference":{"type":["null","string"],"description":"External reference or number assigned to the accounting period."},"accountingMethod":{"type":["null","string"],"description":"Accounting method used during the period (null if not available)."},"startDate":{"type":["null","string"],"description":"Date when the accounting period starts. Format: yyyy-MM-dd."},"endDate":{"type":["null","string"],"description":"Date when the accounting period ends. Format: yyyy-MM-dd."},"isOpen":{"type":["null","boolean"],"description":"Indicates whether the accounting period is currently open for transactions."}},"additionalProperties":false,"description":"Represents an accounting period (fiscal year or sub-period)."}}}}
```

## The AccountingSeriesDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"AccountingSeriesDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier generated by the accounting system."},"reference":{"type":["null","string"],"description":"External reference or number assigned to the accounting series."},"accountingSeriesId":{"type":["null","string"],"description":"Accounting-system-specific identifier for the series."}},"additionalProperties":false,"description":"Represents an accounting series used to categorize journal entries."}}}}
```

## The AccountingSeriesInputDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"AccountingSeriesInputDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the accounting series."},"accountingSeriesId":{"type":["null","string"],"description":"External identifier for the accounting series."}},"additionalProperties":false,"description":"Represents an accounting series used to group journal entries."}}}}
```

## The AdditionalDocumentReferenceDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"AdditionalDocumentReferenceDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the document reference."},"reference":{"type":["null","string"],"description":"Reference value of the additional document."}},"additionalProperties":false,"description":"Represents an additional document reference associated with an invoice."}}}}
```

## The AddressDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"AddressDto":{"type":"object","properties":{"buildingNumber":{"type":["null","string"],"description":"Building number of the address."},"streetName":{"type":["null","string"],"description":"Primary street name."},"additionalStreetName":{"type":["null","string"],"description":"Secondary street name or additional address line."},"cityName":{"type":["null","string"],"description":"City or locality name."},"postalZone":{"type":["null","string"],"description":"Postal or ZIP code."},"country":{"$ref":"#/components/schemas/CountryDto"}},"additionalProperties":false,"description":"Represents a postal address."},"CountryDto":{"type":"object","properties":{"identificationCode":{"type":["null","string"],"description":"ISO 3166-1 alpha-2 country code."},"name":{"type":["null","string"],"description":"Country name."}},"additionalProperties":false,"description":"Represents a country with its identification code and name."}}}}
```

## The AllowanceChargeDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"AllowanceChargeDto":{"type":"object","properties":{"allowanceChargeId":{"$ref":"#/components/schemas/IdentifierDto"},"chargeIndicator":{"type":"boolean","description":"Indicates whether this entry is a charge (true) or an allowance (false)."},"allowanceChargeReason":{"type":["null","string"],"description":"Reason for the allowance or charge."},"allowanceChargeAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"taxTotal":{"$ref":"#/components/schemas/TaxTotalDto"},"taxCategory":{"$ref":"#/components/schemas/TaxCategoryDto"},"allowanceChargeBaseAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"multiplierFactorNumeric":{"type":["null","number"],"description":"Multiplier factor used to calculate the allowance or charge.","format":"double"}},"additionalProperties":false,"description":"Represents an allowance or charge applied to an invoice or line item."},"IdentifierDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Legal identifier."},"schemeId":{"type":["null","string"],"description":"Legal identifier scheme (e.g. SE:ORGNR)."}},"additionalProperties":false,"description":"Represents a legal identifier with an associated scheme."},"AmountTypeDto":{"type":"object","properties":{"amount":{"type":"number","description":"The balance amount.","format":"double"},"currencyId":{"type":["null","string"],"description":"The currency code (e.g. SEK)."}},"additionalProperties":false,"description":"Represents a monetary amount with an associated currency."},"TaxTotalDto":{"type":"object","properties":{"taxAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"taxIncludedIndicator":{"type":["null","boolean"],"description":"Indicates whether the tax is included in the line amounts."},"taxSubtotals":{"type":["null","array"],"items":{"$ref":"#/components/schemas/TaxSubtotalDto"},"description":"Collection of tax subtotals broken down by category."}},"additionalProperties":false,"description":"Represents the total tax amount for an invoice or line item."},"TaxSubtotalDto":{"type":"object","properties":{"taxableAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"taxAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"taxCategory":{"$ref":"#/components/schemas/TaxSubtotalTaxCategoryDto"}},"additionalProperties":false,"description":"Represents a tax subtotal within a tax total."},"TaxSubtotalTaxCategoryDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the tax category."},"percent":{"type":["null","number"],"description":"Tax rate percentage for this category.","format":"double"},"taxScheme":{"$ref":"#/components/schemas/TaxCategoryTaxSchemeDto"},"taxExemptionReason":{"type":["null","string"],"description":"Reason for tax exemption, if applicable."},"taxExemptionReasonCode":{"type":["null","string"],"description":"Code identifying the tax exemption reason."}},"additionalProperties":false,"description":"Represents the tax category details within a tax subtotal."},"TaxCategoryTaxSchemeDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the tax scheme."}},"additionalProperties":false,"description":"Represents the tax scheme associated with a tax category."},"TaxCategoryDto":{"type":"object","properties":{"percent":{"type":"number","description":"Tax rate percentage for this category.","format":"double"},"taxScheme":{"$ref":"#/components/schemas/TaxSchemeDto"},"id":{"type":["null","string"],"description":"Unique identifier for the tax category."}},"additionalProperties":false,"description":"Represents a tax category with its percentage rate and scheme."},"TaxSchemeDto":{"type":"object","properties":{"taxSchemeId":{"$ref":"#/components/schemas/IdentifierDto"}},"additionalProperties":false,"description":"Represents a tax scheme."}}}}
```

## The AllowanceChargeInputDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"AllowanceChargeInputDto":{"type":"object","properties":{"allowanceChargeId":{"$ref":"#/components/schemas/IdentifierDto"},"chargeIndicator":{"type":"boolean","description":"Indicates whether this is a charge (true) or an allowance (false)."},"allowanceChargeReason":{"type":["null","string"],"description":"Reason for the allowance or charge."},"allowanceChargeAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"taxTotal":{"$ref":"#/components/schemas/TaxTotalInputDto"},"taxCategory":{"$ref":"#/components/schemas/TaxCategoryDto"},"allowanceChargeBaseAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"multiplierFactorNumeric":{"type":["null","number"],"description":"Multiplier factor used to calculate the allowance or charge.","format":"double"}},"additionalProperties":false,"description":"Represents an allowance or charge applied to an invoice or invoice line."},"IdentifierDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Legal identifier."},"schemeId":{"type":["null","string"],"description":"Legal identifier scheme (e.g. SE:ORGNR)."}},"additionalProperties":false,"description":"Represents a legal identifier with an associated scheme."},"AmountTypeDto":{"type":"object","properties":{"amount":{"type":"number","description":"The balance amount.","format":"double"},"currencyId":{"type":["null","string"],"description":"The currency code (e.g. SEK)."}},"additionalProperties":false,"description":"Represents a monetary amount with an associated currency."},"TaxTotalInputDto":{"type":"object","properties":{"taxAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"taxIncludedIndicator":{"type":["null","boolean"],"description":"Indicates whether the tax is included in the line amounts."},"taxSubtotals":{"type":["null","array"],"items":{"$ref":"#/components/schemas/TaxSubtotalDto"},"description":"Collection of tax subtotals composing this tax total."}},"additionalProperties":false,"description":"Represents the total tax amount for an invoice or line."},"TaxSubtotalDto":{"type":"object","properties":{"taxableAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"taxAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"taxCategory":{"$ref":"#/components/schemas/TaxSubtotalTaxCategoryDto"}},"additionalProperties":false,"description":"Represents a tax subtotal within a tax total."},"TaxSubtotalTaxCategoryDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the tax category."},"percent":{"type":["null","number"],"description":"Tax rate percentage for this category.","format":"double"},"taxScheme":{"$ref":"#/components/schemas/TaxCategoryTaxSchemeDto"},"taxExemptionReason":{"type":["null","string"],"description":"Reason for tax exemption, if applicable."},"taxExemptionReasonCode":{"type":["null","string"],"description":"Code identifying the tax exemption reason."}},"additionalProperties":false,"description":"Represents the tax category details within a tax subtotal."},"TaxCategoryTaxSchemeDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the tax scheme."}},"additionalProperties":false,"description":"Represents the tax scheme associated with a tax category."},"TaxCategoryDto":{"type":"object","properties":{"percent":{"type":"number","description":"Tax rate percentage for this category.","format":"double"},"taxScheme":{"$ref":"#/components/schemas/TaxSchemeDto"},"id":{"type":["null","string"],"description":"Unique identifier for the tax category."}},"additionalProperties":false,"description":"Represents a tax category with its percentage rate and scheme."},"TaxSchemeDto":{"type":"object","properties":{"taxSchemeId":{"$ref":"#/components/schemas/IdentifierDto"}},"additionalProperties":false,"description":"Represents a tax scheme."}}}}
```

## The AmountTypeDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"AmountTypeDto":{"type":"object","properties":{"amount":{"type":"number","description":"The balance amount.","format":"double"},"currencyId":{"type":["null","string"],"description":"The currency code (e.g. SEK)."}},"additionalProperties":false,"description":"Represents a monetary amount with an associated currency."}}}}
```

## The BalanceSheetDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"BalanceSheetDto":{"type":"object","properties":{"accountBalancePeriod":{"$ref":"#/components/schemas/PeriodDto"},"financialReport":{"$ref":"#/components/schemas/FinancialReportDto"}},"additionalProperties":false,"description":"Represents a balance sheet financial statement."},"PeriodDto":{"type":"object","properties":{"startDate":{"type":["null","string"],"description":"Start date of the period."},"endDate":{"type":["null","string"],"description":"End date of the period."}},"additionalProperties":false,"description":"Represents a date period defined by a start and end date."},"FinancialReportDto":{"type":"object","properties":{"categories":{"type":["null","array"],"items":{"$ref":"#/components/schemas/FinancialReportCategoryDto"},"description":"Collection of financial report categories."}},"additionalProperties":false,"description":"Represents a financial report composed of categorized account data."},"FinancialReportCategoryDto":{"type":"object","properties":{"descriptions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/DescriptionDto"},"description":"Collection of descriptions for the category."},"balance":{"$ref":"#/components/schemas/FinancialReportBalanceDto"},"subCategories":{"type":["null","array"],"items":{"$ref":"#/components/schemas/FinancialReportCategoryDto"},"description":"Collection of child categories within this category."},"accounts":{"type":["null","array"],"items":{"$ref":"#/components/schemas/FinancialReportAccountBalanceSummaryDto"},"description":"Collection of account balance summaries within this category."}},"additionalProperties":false,"description":"Represents a category within a financial report, supporting hierarchical sub-categories."},"DescriptionDto":{"type":"object","properties":{"text":{"type":["null","string"],"description":"Content of the description."},"languageId":{"type":["null","string"],"description":"ISO 639-2 three-letter language code for the associated text, for example `ENG`, `SWE`, `DAN`, or `FIN`. Omit this value when the source system does not provide a language."}},"additionalProperties":false,"description":"Represents a description with an optional language identifier."},"FinancialReportBalanceDto":{"type":"object","properties":{"baseCurrencies":{"type":["null","array"],"items":{"$ref":"#/components/schemas/BaseCurrencyDto"},"description":"Collection of base currency amounts for the balance."}},"additionalProperties":false,"description":"Represents a balance in a financial report expressed in one or more currencies."},"BaseCurrencyDto":{"type":"object","properties":{"currencyId":{"type":["null","string"],"description":"Currency code identifier (e.g. SEK, EUR)."},"baseAmount":{"type":"number","description":"Monetary amount in the base currency.","format":"double"}},"additionalProperties":false,"description":"Represents a monetary amount in a specific base currency."},"FinancialReportAccountBalanceSummaryDto":{"type":"object","properties":{"accountingAccount":{"$ref":"#/components/schemas/AccountingAccountDto"},"balance":{"$ref":"#/components/schemas/FinancialReportBalanceDto"}},"additionalProperties":false,"description":"Represents an account balance summary within a financial report."},"AccountingAccountDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier generated by the accounting system."},"accountingAccountId":{"type":["null","string"],"description":"Deprecated. Use ZG.AccountingService.AccountingModels.Dtos.Output.AccountingAccountDto.Reference instead. (Deprecated: Use Reference instead.)","deprecated":true},"reference":{"type":["null","string"],"description":"External reference or number assigned to the account."},"standardAccountingAccountId":{"type":["null","string"],"description":"Standard accounting account identifier used for classification."},"name":{"type":["null","string"],"description":"Display name of the accounting account."},"active":{"type":["null","boolean"],"description":"Indicates whether the account is active."},"postable":{"type":["null","boolean"],"description":"Indicates whether transactions can be posted to the account."},"description":{"description":"Deprecated: Use Descriptions instead.","deprecated":true,"$ref":"#/components/schemas/DescriptionDto"},"descriptions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/DescriptionDto"},"description":"Collection of descriptions for the accounting account."},"accountingAccountTypeCode":{"$ref":"#/components/schemas/PriceTypeCodeDto"},"financialDimensions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/FinancialDimensionDto"},"description":"Collection of financial dimensions associated with the account."}},"additionalProperties":false,"description":"Represents an accounting account in the chart of accounts."},"PriceTypeCodeDto":{"type":"object","properties":{"code":{"type":["null","string"],"description":"Price type code value."},"listId":{"type":["null","string"],"description":"Identifier of the code list the code belongs to."}},"additionalProperties":false,"description":"Represents a price type classification code."},"FinancialDimensionDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the financial dimension."},"reference":{"type":["null","string"],"description":"Reference code for the financial dimension."},"type":{"type":["null","string"],"description":"Type or code of the financial dimension as exposed by the connected accounting system.\n\nKnown values currently emitted by supported connectors include:\n\n- businessGroup\n- campaign\n- costBearer\n- costCode\n- costUnit\n- customerGroup\n- department\n- employee\n- product\n- project\n- purchaser\n- salesPerson\n- salesRegion\n- supplierGroup\n\nSome connectors can also return additional system-specific dimension codes (for example custom Business Central dimension codes)."},"name":{"type":["null","string"],"description":"Display name of the financial dimension."},"description":{"type":["null","string"],"description":"Description of the financial dimension."},"isActive":{"type":["null","boolean"],"description":"Indicates whether the financial dimension is active."}},"additionalProperties":false,"description":"Represents a financial dimension used to assign granularity to financial reports (e.g. cost center, project)."}}}}
```

## The BaseCurrencyDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"BaseCurrencyDto":{"type":"object","properties":{"currencyId":{"type":["null","string"],"description":"Currency code identifier (e.g. SEK, EUR)."},"baseAmount":{"type":"number","description":"Monetary amount in the base currency.","format":"double"}},"additionalProperties":false,"description":"Represents a monetary amount in a specific base currency."}}}}
```

## The BillingReferenceDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"BillingReferenceDto":{"type":"object","properties":{"invoiceDocumentReferences":{"type":["null","array"],"items":{"$ref":"#/components/schemas/IdentifierDto"},"description":"Collection of invoice document reference identifiers."}},"additionalProperties":false,"description":"Represents a billing reference containing invoice document references."},"IdentifierDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Legal identifier."},"schemeId":{"type":["null","string"],"description":"Legal identifier scheme (e.g. SE:ORGNR)."}},"additionalProperties":false,"description":"Represents a legal identifier with an associated scheme."}}}}
```

## The CompanyInformationDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"CompanyInformationDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the company."},"reference":{"type":["null","string"],"description":"Reference code for the company."},"partyIdentification":{"type":["null","array"],"items":{"$ref":"#/components/schemas/IdentifierDto"},"description":"Collection of party identification entries."},"partyName":{"$ref":"#/components/schemas/PartyNameDto"},"postalAddress":{"$ref":"#/components/schemas/AddressDto"},"phone":{"type":["null","string"],"description":"Phone number of the company."},"email":{"type":["null","string"],"description":"Email address of the company."},"fax":{"type":["null","string"],"description":"Fax number of the company."},"website":{"type":["null","string"],"description":"Website URL of the company."},"partyLegalEntity":{"$ref":"#/components/schemas/PartyLegalEntityDto"},"contacts":{"type":["null","array"],"items":{"$ref":"#/components/schemas/ContactDto"},"description":"Collection of contact persons for the company."},"paymentMeans":{"type":["null","array"],"items":{"$ref":"#/components/schemas/PaymentMeansNewDto"},"description":"Collection of payment means for the company."}},"additionalProperties":false,"description":"Represents company information details in the accounting system."},"IdentifierDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Legal identifier."},"schemeId":{"type":["null","string"],"description":"Legal identifier scheme (e.g. SE:ORGNR)."}},"additionalProperties":false,"description":"Represents a legal identifier with an associated scheme."},"PartyNameDto":{"type":"object","properties":{"name":{"type":["null","string"],"description":"Name of the party."},"languageId":{"type":["null","string"],"description":"ISO 639-2 three-letter language code for the associated text, for example `ENG`, `SWE`, `DAN`, or `FIN`. Omit this value when the source system does not provide a language."}},"additionalProperties":false,"description":"Represents the name of a party with an optional language identifier."},"AddressDto":{"type":"object","properties":{"buildingNumber":{"type":["null","string"],"description":"Building number of the address."},"streetName":{"type":["null","string"],"description":"Primary street name."},"additionalStreetName":{"type":["null","string"],"description":"Secondary street name or additional address line."},"cityName":{"type":["null","string"],"description":"City or locality name."},"postalZone":{"type":["null","string"],"description":"Postal or ZIP code."},"country":{"$ref":"#/components/schemas/CountryDto"}},"additionalProperties":false,"description":"Represents a postal address."},"CountryDto":{"type":"object","properties":{"identificationCode":{"type":["null","string"],"description":"ISO 3166-1 alpha-2 country code."},"name":{"type":["null","string"],"description":"Country name."}},"additionalProperties":false,"description":"Represents a country with its identification code and name."},"PartyLegalEntityDto":{"type":"object","properties":{"registrationName":{"type":["null","string"],"description":"Registered legal name of the entity."},"companyId":{"$ref":"#/components/schemas/IdentifierDto"}},"additionalProperties":false,"description":"Represents the legal entity information of a party."},"ContactDto":{"type":"object","properties":{"name":{"type":["null","string"],"description":"Contact person name."},"telephone":{"type":["null","string"],"description":"Primary telephone number."},"email":{"type":["null","string"],"description":"Primary email address."},"secondaryEmail":{"type":["null","string"],"description":"Secondary email address."}},"additionalProperties":false,"description":"Represents contact information for a party."},"PaymentMeansNewDto":{"type":"object","properties":{"paymentChannelCode":{"type":["null","string"],"description":"Code identifying the payment channel."},"payeeFinancialAccount":{"type":["null","string"],"description":"Payee financial account identifier. Obsolete: use FinancialAccount.Id instead. (Deprecated: Use FinancialAccount.Id instead)","deprecated":true},"financialAccount":{"$ref":"#/components/schemas/FinancialAccountDto"}},"additionalProperties":false,"description":"Represents payment means with financial account details."},"FinancialAccountDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the financial account."},"financialInstitution":{"type":["null","string"],"description":"Name or identifier of the financial institution."}},"additionalProperties":false,"description":"Represents a financial account used for payments."}}}}
```

## The ContactDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"ContactDto":{"type":"object","properties":{"name":{"type":["null","string"],"description":"Contact person name."},"telephone":{"type":["null","string"],"description":"Primary telephone number."},"email":{"type":["null","string"],"description":"Primary email address."},"secondaryEmail":{"type":["null","string"],"description":"Secondary email address."}},"additionalProperties":false,"description":"Represents contact information for a party."}}}}
```

## The CountryDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"CountryDto":{"type":"object","properties":{"identificationCode":{"type":["null","string"],"description":"ISO 3166-1 alpha-2 country code."},"name":{"type":["null","string"],"description":"Country name."}},"additionalProperties":false,"description":"Represents a country with its identification code and name."}}}}
```

## The CreateJournalDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"CreateJournalDto":{"type":"object","properties":{"reference":{"type":["null","string"],"description":"Reference identifier for the journal."},"transactionDate":{"type":["null","string"],"description":"Date of the journal transaction.","format":"date-time"},"accountingSeries":{"$ref":"#/components/schemas/AccountingSeriesInputDto"},"description":{"$ref":"#/components/schemas/DescriptionDto"},"bookedJournalIndicator":{"type":["null","boolean"],"description":"Indicates whether the journal should be booked immediately."},"financialDimensions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/FinancialDimensionDto"},"description":"Collection of financial dimensions for the journal."},"accountingEntries":{"type":["null","array"],"items":{"$ref":"#/components/schemas/AccountingEntryInputDto"},"description":"Collection of accounting entries in the journal."}},"additionalProperties":false,"description":"Represents input data for creating a journal entry."},"AccountingSeriesInputDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the accounting series."},"accountingSeriesId":{"type":["null","string"],"description":"External identifier for the accounting series."}},"additionalProperties":false,"description":"Represents an accounting series used to group journal entries."},"DescriptionDto":{"type":"object","properties":{"text":{"type":["null","string"],"description":"Content of the description."},"languageId":{"type":["null","string"],"description":"ISO 639-2 three-letter language code for the associated text, for example `ENG`, `SWE`, `DAN`, or `FIN`. Omit this value when the source system does not provide a language."}},"additionalProperties":false,"description":"Represents a description with an optional language identifier."},"FinancialDimensionDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the financial dimension."},"reference":{"type":["null","string"],"description":"Reference code for the financial dimension."},"type":{"type":["null","string"],"description":"Type or code of the financial dimension as exposed by the connected accounting system.\n\nKnown values currently emitted by supported connectors include:\n\n- businessGroup\n- campaign\n- costBearer\n- costCode\n- costUnit\n- customerGroup\n- department\n- employee\n- product\n- project\n- purchaser\n- salesPerson\n- salesRegion\n- supplierGroup\n\nSome connectors can also return additional system-specific dimension codes (for example custom Business Central dimension codes)."},"name":{"type":["null","string"],"description":"Display name of the financial dimension."},"description":{"type":["null","string"],"description":"Description of the financial dimension."},"isActive":{"type":["null","boolean"],"description":"Indicates whether the financial dimension is active."}},"additionalProperties":false,"description":"Represents a financial dimension used to assign granularity to financial reports (e.g. cost center, project)."},"AccountingEntryInputDto":{"type":"object","properties":{"description":{"$ref":"#/components/schemas/NoteDto"},"accountingAccount":{"$ref":"#/components/schemas/AccountingAccountInputDto"},"debitAmount":{"$ref":"#/components/schemas/AccountingEntryAmountInputDto"},"creditAmount":{"$ref":"#/components/schemas/AccountingEntryAmountInputDto"},"financialDimensions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/FinancialDimensionDto"},"description":"Collection of financial dimensions for the entry."}},"additionalProperties":false,"description":"Represents a single accounting entry within a journal."},"NoteDto":{"type":"object","properties":{"text":{"type":["null","string"],"description":"Content of the note."},"languageId":{"type":["null","string"],"description":"ISO 639-2 three-letter language code for the associated text, for example `ENG`, `SWE`, `DAN`, or `FIN`. Omit this value when the source system does not provide a language."}},"additionalProperties":false,"description":"Represents a textual note with an optional language identifier."},"AccountingAccountInputDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the accounting account."},"accountingAccountId":{"type":["null","string"],"description":"Deprecated. Use ZG.AccountingService.AccountingModels.Dtos.Input.AccountingAccountInputDto.Reference instead. (Deprecated: Use Reference instead.)","deprecated":true},"reference":{"type":["null","string"],"description":"Reference code for the accounting account."},"standardAccountingAccountId":{"type":["null","string"],"description":"Standard accounting account identifier (e.g. BAS account number)."},"name":{"type":["null","string"],"description":"Display name of the accounting account."},"active":{"type":["null","boolean"],"description":"Indicates whether the accounting account is active."},"postable":{"type":["null","boolean"],"description":"Indicates whether entries can be posted to this account."},"description":{"description":"Deprecated: Use Descriptions instead.","deprecated":true,"$ref":"#/components/schemas/DescriptionDto"},"descriptions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/DescriptionDto"},"description":"Collection of descriptions for the accounting account."},"accountingAccountTypeCode":{"$ref":"#/components/schemas/PriceTypeCodeDto"},"financialDimensions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/FinancialDimensionDto"},"description":"Collection of financial dimensions for the account."}},"additionalProperties":false,"description":"Represents input data for an accounting account."},"PriceTypeCodeDto":{"type":"object","properties":{"code":{"type":["null","string"],"description":"Price type code value."},"listId":{"type":["null","string"],"description":"Identifier of the code list the code belongs to."}},"additionalProperties":false,"description":"Represents a price type classification code."},"AccountingEntryAmountInputDto":{"type":"object","properties":{"amount":{"type":["null","number"],"description":"Monetary amount for the entry. Must be non-negative.","format":"double"},"currencyId":{"type":["null","string"],"description":"Currency code for the amount (e.g. SEK)."}},"additionalProperties":false,"description":"Represents the monetary amount of an accounting entry."}}}}
```

## The CreateSalesInvoiceNoteDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"CreateSalesInvoiceNoteDto":{"type":"object","properties":{"note":{"type":["null","string"],"description":"The note text to attach to the sales invoice."}},"additionalProperties":false,"description":"Represents the data required to create a note on a sales invoice."}}}}
```

## The CreateSalesInvoicePaymentDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"CreateSalesInvoicePaymentDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the payment."},"reference":{"type":["null","string"],"description":"Reference identifier for the payment."},"receivedDate":{"type":["null","string"],"description":"Date when the payment was received.","format":"date-time"},"paidDate":{"type":["null","string"],"description":"Date when the payment was made.","format":"date-time"},"bookedIndicator":{"type":["null","boolean"],"description":"Indicates whether the payment is booked."},"bookedDate":{"type":["null","string"],"description":"Date when the payment was booked.","format":"date-time"},"accountingAccount":{"$ref":"#/components/schemas/AccountingAccountInputDto"},"documentCurrencyCode":{"$ref":"#/components/schemas/DocumentCurrencyCodeDto"},"amount":{"type":["null","number"],"description":"Monetary amount for the payment.","format":"double"},"creditAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"debitAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"paymentId":{"type":["null","string"],"description":"Deprecated. Use ZG.AccountingService.AccountingModels.Dtos.Input.CreateInvoicePaymentDtoBase.Reference instead. External payment identifier. (Deprecated: Use Reference instead)","deprecated":true}},"additionalProperties":false,"description":"Represents input data for creating a sales invoice payment."},"AccountingAccountInputDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the accounting account."},"accountingAccountId":{"type":["null","string"],"description":"Deprecated. Use ZG.AccountingService.AccountingModels.Dtos.Input.AccountingAccountInputDto.Reference instead. (Deprecated: Use Reference instead.)","deprecated":true},"reference":{"type":["null","string"],"description":"Reference code for the accounting account."},"standardAccountingAccountId":{"type":["null","string"],"description":"Standard accounting account identifier (e.g. BAS account number)."},"name":{"type":["null","string"],"description":"Display name of the accounting account."},"active":{"type":["null","boolean"],"description":"Indicates whether the accounting account is active."},"postable":{"type":["null","boolean"],"description":"Indicates whether entries can be posted to this account."},"description":{"description":"Deprecated: Use Descriptions instead.","deprecated":true,"$ref":"#/components/schemas/DescriptionDto"},"descriptions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/DescriptionDto"},"description":"Collection of descriptions for the accounting account."},"accountingAccountTypeCode":{"$ref":"#/components/schemas/PriceTypeCodeDto"},"financialDimensions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/FinancialDimensionDto"},"description":"Collection of financial dimensions for the account."}},"additionalProperties":false,"description":"Represents input data for an accounting account."},"DescriptionDto":{"type":"object","properties":{"text":{"type":["null","string"],"description":"Content of the description."},"languageId":{"type":["null","string"],"description":"ISO 639-2 three-letter language code for the associated text, for example `ENG`, `SWE`, `DAN`, or `FIN`. Omit this value when the source system does not provide a language."}},"additionalProperties":false,"description":"Represents a description with an optional language identifier."},"PriceTypeCodeDto":{"type":"object","properties":{"code":{"type":["null","string"],"description":"Price type code value."},"listId":{"type":["null","string"],"description":"Identifier of the code list the code belongs to."}},"additionalProperties":false,"description":"Represents a price type classification code."},"FinancialDimensionDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the financial dimension."},"reference":{"type":["null","string"],"description":"Reference code for the financial dimension."},"type":{"type":["null","string"],"description":"Type or code of the financial dimension as exposed by the connected accounting system.\n\nKnown values currently emitted by supported connectors include:\n\n- businessGroup\n- campaign\n- costBearer\n- costCode\n- costUnit\n- customerGroup\n- department\n- employee\n- product\n- project\n- purchaser\n- salesPerson\n- salesRegion\n- supplierGroup\n\nSome connectors can also return additional system-specific dimension codes (for example custom Business Central dimension codes)."},"name":{"type":["null","string"],"description":"Display name of the financial dimension."},"description":{"type":["null","string"],"description":"Description of the financial dimension."},"isActive":{"type":["null","boolean"],"description":"Indicates whether the financial dimension is active."}},"additionalProperties":false,"description":"Represents a financial dimension used to assign granularity to financial reports (e.g. cost center, project)."},"DocumentCurrencyCodeDto":{"type":"object","properties":{"currency":{"type":["null","string"],"description":"Deprecated. Use ZG.AccountingService.AccountingModels.Dtos.Common.DocumentCurrencyCodeDto.CurrencyId instead. Currency code of the document (e.g. SEK, EUR). (Deprecated: Use CurrencyId instead)","deprecated":true},"currencyId":{"type":["null","string"],"description":"Currency code of the document (e.g. SEK, EUR)."},"currencyRate":{"type":["null","number"],"description":"Exchange rate applied to the document currency.","format":"double"}},"additionalProperties":false,"description":"Represents the document currency and its exchange rate."},"AmountTypeDto":{"type":"object","properties":{"amount":{"type":"number","description":"The balance amount.","format":"double"},"currencyId":{"type":["null","string"],"description":"The currency code (e.g. SEK)."}},"additionalProperties":false,"description":"Represents a monetary amount with an associated currency."}}}}
```

## The CreateSupplierInvoicePaymentDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"CreateSupplierInvoicePaymentDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the payment."},"reference":{"type":["null","string"],"description":"Reference identifier for the payment."},"receivedDate":{"type":["null","string"],"description":"Date when the payment was received.","format":"date-time"},"paidDate":{"type":["null","string"],"description":"Date when the payment was made.","format":"date-time"},"bookedIndicator":{"type":["null","boolean"],"description":"Indicates whether the payment is booked."},"bookedDate":{"type":["null","string"],"description":"Date when the payment was booked.","format":"date-time"},"accountingAccount":{"$ref":"#/components/schemas/AccountingAccountInputDto"},"documentCurrencyCode":{"$ref":"#/components/schemas/DocumentCurrencyCodeDto"},"amount":{"type":["null","number"],"description":"Monetary amount for the payment.","format":"double"},"creditAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"debitAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"status":{"$ref":"#/components/schemas/PaymentConditionDto"},"billingReferences":{"type":["null","array"],"items":{"$ref":"#/components/schemas/BillingReferenceDto"},"description":"Collection of billing references for the payment."}},"additionalProperties":false,"description":"Represents input data for creating a supplier invoice payment."},"AccountingAccountInputDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the accounting account."},"accountingAccountId":{"type":["null","string"],"description":"Deprecated. Use ZG.AccountingService.AccountingModels.Dtos.Input.AccountingAccountInputDto.Reference instead. (Deprecated: Use Reference instead.)","deprecated":true},"reference":{"type":["null","string"],"description":"Reference code for the accounting account."},"standardAccountingAccountId":{"type":["null","string"],"description":"Standard accounting account identifier (e.g. BAS account number)."},"name":{"type":["null","string"],"description":"Display name of the accounting account."},"active":{"type":["null","boolean"],"description":"Indicates whether the accounting account is active."},"postable":{"type":["null","boolean"],"description":"Indicates whether entries can be posted to this account."},"description":{"description":"Deprecated: Use Descriptions instead.","deprecated":true,"$ref":"#/components/schemas/DescriptionDto"},"descriptions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/DescriptionDto"},"description":"Collection of descriptions for the accounting account."},"accountingAccountTypeCode":{"$ref":"#/components/schemas/PriceTypeCodeDto"},"financialDimensions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/FinancialDimensionDto"},"description":"Collection of financial dimensions for the account."}},"additionalProperties":false,"description":"Represents input data for an accounting account."},"DescriptionDto":{"type":"object","properties":{"text":{"type":["null","string"],"description":"Content of the description."},"languageId":{"type":["null","string"],"description":"ISO 639-2 three-letter language code for the associated text, for example `ENG`, `SWE`, `DAN`, or `FIN`. Omit this value when the source system does not provide a language."}},"additionalProperties":false,"description":"Represents a description with an optional language identifier."},"PriceTypeCodeDto":{"type":"object","properties":{"code":{"type":["null","string"],"description":"Price type code value."},"listId":{"type":["null","string"],"description":"Identifier of the code list the code belongs to."}},"additionalProperties":false,"description":"Represents a price type classification code."},"FinancialDimensionDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the financial dimension."},"reference":{"type":["null","string"],"description":"Reference code for the financial dimension."},"type":{"type":["null","string"],"description":"Type or code of the financial dimension as exposed by the connected accounting system.\n\nKnown values currently emitted by supported connectors include:\n\n- businessGroup\n- campaign\n- costBearer\n- costCode\n- costUnit\n- customerGroup\n- department\n- employee\n- product\n- project\n- purchaser\n- salesPerson\n- salesRegion\n- supplierGroup\n\nSome connectors can also return additional system-specific dimension codes (for example custom Business Central dimension codes)."},"name":{"type":["null","string"],"description":"Display name of the financial dimension."},"description":{"type":["null","string"],"description":"Description of the financial dimension."},"isActive":{"type":["null","boolean"],"description":"Indicates whether the financial dimension is active."}},"additionalProperties":false,"description":"Represents a financial dimension used to assign granularity to financial reports (e.g. cost center, project)."},"DocumentCurrencyCodeDto":{"type":"object","properties":{"currency":{"type":["null","string"],"description":"Deprecated. Use ZG.AccountingService.AccountingModels.Dtos.Common.DocumentCurrencyCodeDto.CurrencyId instead. Currency code of the document (e.g. SEK, EUR). (Deprecated: Use CurrencyId instead)","deprecated":true},"currencyId":{"type":["null","string"],"description":"Currency code of the document (e.g. SEK, EUR)."},"currencyRate":{"type":["null","number"],"description":"Exchange rate applied to the document currency.","format":"double"}},"additionalProperties":false,"description":"Represents the document currency and its exchange rate."},"AmountTypeDto":{"type":"object","properties":{"amount":{"type":"number","description":"The balance amount.","format":"double"},"currencyId":{"type":["null","string"],"description":"The currency code (e.g. SEK)."}},"additionalProperties":false,"description":"Represents a monetary amount with an associated currency."},"PaymentConditionDto":{"type":"object","properties":{"conditionCode":{"type":["null","string"],"description":"Code identifying the payment condition."},"referenceDate":{"type":["null","string"],"description":"Reference date associated with the payment condition.","format":"date-time"},"statusReason":{"type":["null","string"],"description":"Reason describing the payment status."}},"additionalProperties":false,"description":"Represents the condition or status of a payment."},"BillingReferenceDto":{"type":"object","properties":{"invoiceDocumentReferences":{"type":["null","array"],"items":{"$ref":"#/components/schemas/IdentifierDto"},"description":"Collection of invoice document reference identifiers."}},"additionalProperties":false,"description":"Represents a billing reference containing invoice document references."},"IdentifierDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Legal identifier."},"schemeId":{"type":["null","string"],"description":"Legal identifier scheme (e.g. SE:ORGNR)."}},"additionalProperties":false,"description":"Represents a legal identifier with an associated scheme."}}}}
```

## The CreditInvoiceDocumentReferenceDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"CreditInvoiceDocumentReferenceDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the document reference."},"reference":{"type":["null","string"],"description":"Reference number of the credited invoice."},"documentType":{"enum":["Invoice","CreditInvoice"],"type":["null","string"],"description":"Type of the referenced document."}},"additionalProperties":false,"description":"Represents a reference to a credited invoice document."}}}}
```

## The CreditInvoiceDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"CreditInvoiceDto":{"type":"object","properties":{"creditInvoiceIndicator":{"type":["null","boolean"],"description":"Indicates whether the invoice is a credit invoice or credit note."},"creditInvoiceDocumentReferences":{"type":["null","array"],"items":{"$ref":"#/components/schemas/CreditInvoiceDocumentReferenceDto"},"description":"Collection of document references to credited or credit invoices."}},"additionalProperties":false,"description":"Represents credit invoice details associated with an invoice."},"CreditInvoiceDocumentReferenceDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the document reference."},"reference":{"type":["null","string"],"description":"Reference number of the credited invoice."},"documentType":{"enum":["Invoice","CreditInvoice"],"type":["null","string"],"description":"Type of the referenced document."}},"additionalProperties":false,"description":"Represents a reference to a credited invoice document."}}}}
```

## The CreditInvoiceInputDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"CreditInvoiceInputDto":{"type":"object","properties":{"creditInvoiceIndicator":{"type":["null","boolean"],"description":"Indicates whether the invoice is a credit invoice / credit note."},"reference":{"type":["null","string"],"description":"Invoice number of the credited invoice, if this is a credit invoice."},"creditInvoiceDocumentReferences":{"type":["null","array"],"items":{"$ref":"#/components/schemas/CreditInvoiceDocumentReferenceDto"},"description":"Collection of references to the credited invoices or credit invoices."}},"additionalProperties":false,"description":"Represents credit invoice details associated with an invoice."},"CreditInvoiceDocumentReferenceDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the document reference."},"reference":{"type":["null","string"],"description":"Reference number of the credited invoice."},"documentType":{"enum":["Invoice","CreditInvoice"],"type":["null","string"],"description":"Type of the referenced document."}},"additionalProperties":false,"description":"Represents a reference to a credited invoice document."}}}}
```

## The CustomerDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"CustomerDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the customer."},"supplierAssignedAccountId":{"$ref":"#/components/schemas/IdentifierDto"},"type":{"enum":["PrivatePerson","Company"],"type":["null","string"],"description":"Customer type classification (e.g. PrivatePerson, Company)."},"party":{"$ref":"#/components/schemas/PartyDto"},"deliveryAddresses":{"type":["null","array"],"items":{"$ref":"#/components/schemas/AddressDto"},"description":"Collection of delivery addresses for the customer."},"description":{"$ref":"#/components/schemas/NoteDto"},"financialDimensions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/FinancialDimensionDto"},"description":"Collection of financial dimensions assigned to the customer."},"active":{"type":["null","boolean"],"description":"Indicates whether the customer is active."},"currency":{"type":["null","string"],"description":"Currency code associated with the customer."},"paymentMeans":{"type":["null","array"],"items":{"$ref":"#/components/schemas/PaymentMeansNewDto"},"description":"Collection of payment means for the customer."}},"additionalProperties":false,"description":"Represents a customer entity in the accounting system."},"IdentifierDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Legal identifier."},"schemeId":{"type":["null","string"],"description":"Legal identifier scheme (e.g. SE:ORGNR)."}},"additionalProperties":false,"description":"Represents a legal identifier with an associated scheme."},"PartyDto":{"type":"object","properties":{"partyIdentification":{"type":["null","array"],"items":{"$ref":"#/components/schemas/IdentifierDto"},"description":"Collection of identifiers for the party."},"partyName":{"$ref":"#/components/schemas/PartyNameDto"},"postalAddress":{"$ref":"#/components/schemas/AddressDto"},"partyLegalEntity":{"$ref":"#/components/schemas/PartyLegalEntityDto"},"contact":{"$ref":"#/components/schemas/ContactDto"},"endpointId":{"$ref":"#/components/schemas/IdentifierDto"}},"additionalProperties":false,"description":"Represents a party (organization or individual) involved in a transaction."},"PartyNameDto":{"type":"object","properties":{"name":{"type":["null","string"],"description":"Name of the party."},"languageId":{"type":["null","string"],"description":"ISO 639-2 three-letter language code for the associated text, for example `ENG`, `SWE`, `DAN`, or `FIN`. Omit this value when the source system does not provide a language."}},"additionalProperties":false,"description":"Represents the name of a party with an optional language identifier."},"AddressDto":{"type":"object","properties":{"buildingNumber":{"type":["null","string"],"description":"Building number of the address."},"streetName":{"type":["null","string"],"description":"Primary street name."},"additionalStreetName":{"type":["null","string"],"description":"Secondary street name or additional address line."},"cityName":{"type":["null","string"],"description":"City or locality name."},"postalZone":{"type":["null","string"],"description":"Postal or ZIP code."},"country":{"$ref":"#/components/schemas/CountryDto"}},"additionalProperties":false,"description":"Represents a postal address."},"CountryDto":{"type":"object","properties":{"identificationCode":{"type":["null","string"],"description":"ISO 3166-1 alpha-2 country code."},"name":{"type":["null","string"],"description":"Country name."}},"additionalProperties":false,"description":"Represents a country with its identification code and name."},"PartyLegalEntityDto":{"type":"object","properties":{"registrationName":{"type":["null","string"],"description":"Registered legal name of the entity."},"companyId":{"$ref":"#/components/schemas/IdentifierDto"}},"additionalProperties":false,"description":"Represents the legal entity information of a party."},"ContactDto":{"type":"object","properties":{"name":{"type":["null","string"],"description":"Contact person name."},"telephone":{"type":["null","string"],"description":"Primary telephone number."},"email":{"type":["null","string"],"description":"Primary email address."},"secondaryEmail":{"type":["null","string"],"description":"Secondary email address."}},"additionalProperties":false,"description":"Represents contact information for a party."},"NoteDto":{"type":"object","properties":{"text":{"type":["null","string"],"description":"Content of the note."},"languageId":{"type":["null","string"],"description":"ISO 639-2 three-letter language code for the associated text, for example `ENG`, `SWE`, `DAN`, or `FIN`. Omit this value when the source system does not provide a language."}},"additionalProperties":false,"description":"Represents a textual note with an optional language identifier."},"FinancialDimensionDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the financial dimension."},"reference":{"type":["null","string"],"description":"Reference code for the financial dimension."},"type":{"type":["null","string"],"description":"Type or code of the financial dimension as exposed by the connected accounting system.\n\nKnown values currently emitted by supported connectors include:\n\n- businessGroup\n- campaign\n- costBearer\n- costCode\n- costUnit\n- customerGroup\n- department\n- employee\n- product\n- project\n- purchaser\n- salesPerson\n- salesRegion\n- supplierGroup\n\nSome connectors can also return additional system-specific dimension codes (for example custom Business Central dimension codes)."},"name":{"type":["null","string"],"description":"Display name of the financial dimension."},"description":{"type":["null","string"],"description":"Description of the financial dimension."},"isActive":{"type":["null","boolean"],"description":"Indicates whether the financial dimension is active."}},"additionalProperties":false,"description":"Represents a financial dimension used to assign granularity to financial reports (e.g. cost center, project)."},"PaymentMeansNewDto":{"type":"object","properties":{"paymentChannelCode":{"type":["null","string"],"description":"Code identifying the payment channel."},"payeeFinancialAccount":{"type":["null","string"],"description":"Payee financial account identifier. Obsolete: use FinancialAccount.Id instead. (Deprecated: Use FinancialAccount.Id instead)","deprecated":true},"financialAccount":{"$ref":"#/components/schemas/FinancialAccountDto"}},"additionalProperties":false,"description":"Represents payment means with financial account details."},"FinancialAccountDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the financial account."},"financialInstitution":{"type":["null","string"],"description":"Name or identifier of the financial institution."}},"additionalProperties":false,"description":"Represents a financial account used for payments."}}}}
```

## The CustomerDtoPagedResultDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"CustomerDtoPagedResultDto":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/PagedResultMetadataDto"},"data":{"type":["null","array"],"items":{"$ref":"#/components/schemas/CustomerDto"},"description":"Collection of items in the current page."}},"additionalProperties":false,"description":"Represents a paginated result containing metadata and a collection of items."},"PagedResultMetadataDto":{"type":"object","properties":{"totalResources":{"type":["null","integer"],"description":"Total number of resources across all pages.","format":"int32"},"totalPages":{"type":["null","integer"],"description":"Total number of pages available.","format":"int32"},"currentPage":{"type":"integer","description":"The current page number.","format":"int32"}},"additionalProperties":false,"description":"Represents pagination metadata for a paged result set."},"CustomerDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the customer."},"supplierAssignedAccountId":{"$ref":"#/components/schemas/IdentifierDto"},"type":{"enum":["PrivatePerson","Company"],"type":["null","string"],"description":"Customer type classification (e.g. PrivatePerson, Company)."},"party":{"$ref":"#/components/schemas/PartyDto"},"deliveryAddresses":{"type":["null","array"],"items":{"$ref":"#/components/schemas/AddressDto"},"description":"Collection of delivery addresses for the customer."},"description":{"$ref":"#/components/schemas/NoteDto"},"financialDimensions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/FinancialDimensionDto"},"description":"Collection of financial dimensions assigned to the customer."},"active":{"type":["null","boolean"],"description":"Indicates whether the customer is active."},"currency":{"type":["null","string"],"description":"Currency code associated with the customer."},"paymentMeans":{"type":["null","array"],"items":{"$ref":"#/components/schemas/PaymentMeansNewDto"},"description":"Collection of payment means for the customer."}},"additionalProperties":false,"description":"Represents a customer entity in the accounting system."},"IdentifierDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Legal identifier."},"schemeId":{"type":["null","string"],"description":"Legal identifier scheme (e.g. SE:ORGNR)."}},"additionalProperties":false,"description":"Represents a legal identifier with an associated scheme."},"PartyDto":{"type":"object","properties":{"partyIdentification":{"type":["null","array"],"items":{"$ref":"#/components/schemas/IdentifierDto"},"description":"Collection of identifiers for the party."},"partyName":{"$ref":"#/components/schemas/PartyNameDto"},"postalAddress":{"$ref":"#/components/schemas/AddressDto"},"partyLegalEntity":{"$ref":"#/components/schemas/PartyLegalEntityDto"},"contact":{"$ref":"#/components/schemas/ContactDto"},"endpointId":{"$ref":"#/components/schemas/IdentifierDto"}},"additionalProperties":false,"description":"Represents a party (organization or individual) involved in a transaction."},"PartyNameDto":{"type":"object","properties":{"name":{"type":["null","string"],"description":"Name of the party."},"languageId":{"type":["null","string"],"description":"ISO 639-2 three-letter language code for the associated text, for example `ENG`, `SWE`, `DAN`, or `FIN`. Omit this value when the source system does not provide a language."}},"additionalProperties":false,"description":"Represents the name of a party with an optional language identifier."},"AddressDto":{"type":"object","properties":{"buildingNumber":{"type":["null","string"],"description":"Building number of the address."},"streetName":{"type":["null","string"],"description":"Primary street name."},"additionalStreetName":{"type":["null","string"],"description":"Secondary street name or additional address line."},"cityName":{"type":["null","string"],"description":"City or locality name."},"postalZone":{"type":["null","string"],"description":"Postal or ZIP code."},"country":{"$ref":"#/components/schemas/CountryDto"}},"additionalProperties":false,"description":"Represents a postal address."},"CountryDto":{"type":"object","properties":{"identificationCode":{"type":["null","string"],"description":"ISO 3166-1 alpha-2 country code."},"name":{"type":["null","string"],"description":"Country name."}},"additionalProperties":false,"description":"Represents a country with its identification code and name."},"PartyLegalEntityDto":{"type":"object","properties":{"registrationName":{"type":["null","string"],"description":"Registered legal name of the entity."},"companyId":{"$ref":"#/components/schemas/IdentifierDto"}},"additionalProperties":false,"description":"Represents the legal entity information of a party."},"ContactDto":{"type":"object","properties":{"name":{"type":["null","string"],"description":"Contact person name."},"telephone":{"type":["null","string"],"description":"Primary telephone number."},"email":{"type":["null","string"],"description":"Primary email address."},"secondaryEmail":{"type":["null","string"],"description":"Secondary email address."}},"additionalProperties":false,"description":"Represents contact information for a party."},"NoteDto":{"type":"object","properties":{"text":{"type":["null","string"],"description":"Content of the note."},"languageId":{"type":["null","string"],"description":"ISO 639-2 three-letter language code for the associated text, for example `ENG`, `SWE`, `DAN`, or `FIN`. Omit this value when the source system does not provide a language."}},"additionalProperties":false,"description":"Represents a textual note with an optional language identifier."},"FinancialDimensionDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the financial dimension."},"reference":{"type":["null","string"],"description":"Reference code for the financial dimension."},"type":{"type":["null","string"],"description":"Type or code of the financial dimension as exposed by the connected accounting system.\n\nKnown values currently emitted by supported connectors include:\n\n- businessGroup\n- campaign\n- costBearer\n- costCode\n- costUnit\n- customerGroup\n- department\n- employee\n- product\n- project\n- purchaser\n- salesPerson\n- salesRegion\n- supplierGroup\n\nSome connectors can also return additional system-specific dimension codes (for example custom Business Central dimension codes)."},"name":{"type":["null","string"],"description":"Display name of the financial dimension."},"description":{"type":["null","string"],"description":"Description of the financial dimension."},"isActive":{"type":["null","boolean"],"description":"Indicates whether the financial dimension is active."}},"additionalProperties":false,"description":"Represents a financial dimension used to assign granularity to financial reports (e.g. cost center, project)."},"PaymentMeansNewDto":{"type":"object","properties":{"paymentChannelCode":{"type":["null","string"],"description":"Code identifying the payment channel."},"payeeFinancialAccount":{"type":["null","string"],"description":"Payee financial account identifier. Obsolete: use FinancialAccount.Id instead. (Deprecated: Use FinancialAccount.Id instead)","deprecated":true},"financialAccount":{"$ref":"#/components/schemas/FinancialAccountDto"}},"additionalProperties":false,"description":"Represents payment means with financial account details."},"FinancialAccountDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the financial account."},"financialInstitution":{"type":["null","string"],"description":"Name or identifier of the financial institution."}},"additionalProperties":false,"description":"Represents a financial account used for payments."}}}}
```

## The CustomerPartyDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"CustomerPartyDto":{"type":"object","properties":{"supplierAssignedAccountId":{"$ref":"#/components/schemas/IdentifierDto"},"party":{"$ref":"#/components/schemas/PartyDto"},"type":{"enum":["PrivatePerson","Company"],"type":["null","string"],"description":"Customer type classification."}},"additionalProperties":false,"description":"Represents the customer party on an invoice."},"IdentifierDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Legal identifier."},"schemeId":{"type":["null","string"],"description":"Legal identifier scheme (e.g. SE:ORGNR)."}},"additionalProperties":false,"description":"Represents a legal identifier with an associated scheme."},"PartyDto":{"type":"object","properties":{"partyIdentification":{"type":["null","array"],"items":{"$ref":"#/components/schemas/IdentifierDto"},"description":"Collection of identifiers for the party."},"partyName":{"$ref":"#/components/schemas/PartyNameDto"},"postalAddress":{"$ref":"#/components/schemas/AddressDto"},"partyLegalEntity":{"$ref":"#/components/schemas/PartyLegalEntityDto"},"contact":{"$ref":"#/components/schemas/ContactDto"},"endpointId":{"$ref":"#/components/schemas/IdentifierDto"}},"additionalProperties":false,"description":"Represents a party (organization or individual) involved in a transaction."},"PartyNameDto":{"type":"object","properties":{"name":{"type":["null","string"],"description":"Name of the party."},"languageId":{"type":["null","string"],"description":"ISO 639-2 three-letter language code for the associated text, for example `ENG`, `SWE`, `DAN`, or `FIN`. Omit this value when the source system does not provide a language."}},"additionalProperties":false,"description":"Represents the name of a party with an optional language identifier."},"AddressDto":{"type":"object","properties":{"buildingNumber":{"type":["null","string"],"description":"Building number of the address."},"streetName":{"type":["null","string"],"description":"Primary street name."},"additionalStreetName":{"type":["null","string"],"description":"Secondary street name or additional address line."},"cityName":{"type":["null","string"],"description":"City or locality name."},"postalZone":{"type":["null","string"],"description":"Postal or ZIP code."},"country":{"$ref":"#/components/schemas/CountryDto"}},"additionalProperties":false,"description":"Represents a postal address."},"CountryDto":{"type":"object","properties":{"identificationCode":{"type":["null","string"],"description":"ISO 3166-1 alpha-2 country code."},"name":{"type":["null","string"],"description":"Country name."}},"additionalProperties":false,"description":"Represents a country with its identification code and name."},"PartyLegalEntityDto":{"type":"object","properties":{"registrationName":{"type":["null","string"],"description":"Registered legal name of the entity."},"companyId":{"$ref":"#/components/schemas/IdentifierDto"}},"additionalProperties":false,"description":"Represents the legal entity information of a party."},"ContactDto":{"type":"object","properties":{"name":{"type":["null","string"],"description":"Contact person name."},"telephone":{"type":["null","string"],"description":"Primary telephone number."},"email":{"type":["null","string"],"description":"Primary email address."},"secondaryEmail":{"type":["null","string"],"description":"Secondary email address."}},"additionalProperties":false,"description":"Represents contact information for a party."}}}}
```

## The CustomerPartyInputDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"CustomerPartyInputDto":{"type":"object","properties":{"supplierAssignedAccountId":{"$ref":"#/components/schemas/IdentifierDto"},"party":{"$ref":"#/components/schemas/PartyInputDto"}},"additionalProperties":false,"description":"Represents the customer party on an invoice."},"IdentifierDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Legal identifier."},"schemeId":{"type":["null","string"],"description":"Legal identifier scheme (e.g. SE:ORGNR)."}},"additionalProperties":false,"description":"Represents a legal identifier with an associated scheme."},"PartyInputDto":{"type":"object","properties":{"partyName":{"$ref":"#/components/schemas/PartyNameDto"},"postalAddress":{"$ref":"#/components/schemas/AddressDto"},"partyLegalEntity":{"$ref":"#/components/schemas/PartyLegalEntityDto"},"contact":{"$ref":"#/components/schemas/ContactDto"},"endpointId":{"$ref":"#/components/schemas/IdentifierDto"},"partyIdentification":{"type":["null","array"],"items":{"$ref":"#/components/schemas/IdentifierDto"},"description":"Collection of identifiers for the party."}},"additionalProperties":false,"description":"Represents a party (business entity) involved in an invoice."},"PartyNameDto":{"type":"object","properties":{"name":{"type":["null","string"],"description":"Name of the party."},"languageId":{"type":["null","string"],"description":"ISO 639-2 three-letter language code for the associated text, for example `ENG`, `SWE`, `DAN`, or `FIN`. Omit this value when the source system does not provide a language."}},"additionalProperties":false,"description":"Represents the name of a party with an optional language identifier."},"AddressDto":{"type":"object","properties":{"buildingNumber":{"type":["null","string"],"description":"Building number of the address."},"streetName":{"type":["null","string"],"description":"Primary street name."},"additionalStreetName":{"type":["null","string"],"description":"Secondary street name or additional address line."},"cityName":{"type":["null","string"],"description":"City or locality name."},"postalZone":{"type":["null","string"],"description":"Postal or ZIP code."},"country":{"$ref":"#/components/schemas/CountryDto"}},"additionalProperties":false,"description":"Represents a postal address."},"CountryDto":{"type":"object","properties":{"identificationCode":{"type":["null","string"],"description":"ISO 3166-1 alpha-2 country code."},"name":{"type":["null","string"],"description":"Country name."}},"additionalProperties":false,"description":"Represents a country with its identification code and name."},"PartyLegalEntityDto":{"type":"object","properties":{"registrationName":{"type":["null","string"],"description":"Registered legal name of the entity."},"companyId":{"$ref":"#/components/schemas/IdentifierDto"}},"additionalProperties":false,"description":"Represents the legal entity information of a party."},"ContactDto":{"type":"object","properties":{"name":{"type":["null","string"],"description":"Contact person name."},"telephone":{"type":["null","string"],"description":"Primary telephone number."},"email":{"type":["null","string"],"description":"Primary email address."},"secondaryEmail":{"type":["null","string"],"description":"Secondary email address."}},"additionalProperties":false,"description":"Represents contact information for a party."}}}}
```

## The CustomerPartySummaryDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"CustomerPartySummaryDto":{"type":"object","properties":{"supplierAssignedAccountId":{"$ref":"#/components/schemas/IdentifierDto"},"party":{"$ref":"#/components/schemas/SalesInvoicePartySummaryDto"}},"additionalProperties":false,"description":"Represents a summarized customer party view for sales invoice listings."},"IdentifierDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Legal identifier."},"schemeId":{"type":["null","string"],"description":"Legal identifier scheme (e.g. SE:ORGNR)."}},"additionalProperties":false,"description":"Represents a legal identifier with an associated scheme."},"SalesInvoicePartySummaryDto":{"type":"object","properties":{"partyIdentification":{"type":["null","array"],"items":{"$ref":"#/components/schemas/IdentifierDto"},"description":"Collection of identifiers for the party."},"partyName":{"$ref":"#/components/schemas/PartyNameDto"},"partyLegalEntity":{"$ref":"#/components/schemas/PartyLegalEntityDto"}},"additionalProperties":false,"description":"Represents a summarized party view for sales invoice listings."},"PartyNameDto":{"type":"object","properties":{"name":{"type":["null","string"],"description":"Name of the party."},"languageId":{"type":["null","string"],"description":"ISO 639-2 three-letter language code for the associated text, for example `ENG`, `SWE`, `DAN`, or `FIN`. Omit this value when the source system does not provide a language."}},"additionalProperties":false,"description":"Represents the name of a party with an optional language identifier."},"PartyLegalEntityDto":{"type":"object","properties":{"registrationName":{"type":["null","string"],"description":"Registered legal name of the entity."},"companyId":{"$ref":"#/components/schemas/IdentifierDto"}},"additionalProperties":false,"description":"Represents the legal entity information of a party."}}}}
```

## The DeliveryDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"DeliveryDto":{"type":"object","properties":{"deliveryParty":{"$ref":"#/components/schemas/DeliveryPartyDto"},"carrierParty":{"$ref":"#/components/schemas/DeliveryPartyDto"},"actualDeliveryDate":{"type":["null","string"],"description":"Actual date of delivery."},"trackingId":{"type":["null","string"],"description":"Tracking identifier for the delivery shipment."},"deliveryAddress":{"$ref":"#/components/schemas/AddressDto"}},"additionalProperties":false,"description":"Represents delivery information for an invoice."},"DeliveryPartyDto":{"type":"object","properties":{"partyIdentification":{"$ref":"#/components/schemas/IdentifierDto"},"partyName":{"$ref":"#/components/schemas/PartyNameDto"}},"additionalProperties":false,"description":"Represents a party involved in a delivery."},"IdentifierDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Legal identifier."},"schemeId":{"type":["null","string"],"description":"Legal identifier scheme (e.g. SE:ORGNR)."}},"additionalProperties":false,"description":"Represents a legal identifier with an associated scheme."},"PartyNameDto":{"type":"object","properties":{"name":{"type":["null","string"],"description":"Name of the party."},"languageId":{"type":["null","string"],"description":"ISO 639-2 three-letter language code for the associated text, for example `ENG`, `SWE`, `DAN`, or `FIN`. Omit this value when the source system does not provide a language."}},"additionalProperties":false,"description":"Represents the name of a party with an optional language identifier."},"AddressDto":{"type":"object","properties":{"buildingNumber":{"type":["null","string"],"description":"Building number of the address."},"streetName":{"type":["null","string"],"description":"Primary street name."},"additionalStreetName":{"type":["null","string"],"description":"Secondary street name or additional address line."},"cityName":{"type":["null","string"],"description":"City or locality name."},"postalZone":{"type":["null","string"],"description":"Postal or ZIP code."},"country":{"$ref":"#/components/schemas/CountryDto"}},"additionalProperties":false,"description":"Represents a postal address."},"CountryDto":{"type":"object","properties":{"identificationCode":{"type":["null","string"],"description":"ISO 3166-1 alpha-2 country code."},"name":{"type":["null","string"],"description":"Country name."}},"additionalProperties":false,"description":"Represents a country with its identification code and name."}}}}
```

## The DeliveryPartyDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"DeliveryPartyDto":{"type":"object","properties":{"partyIdentification":{"$ref":"#/components/schemas/IdentifierDto"},"partyName":{"$ref":"#/components/schemas/PartyNameDto"}},"additionalProperties":false,"description":"Represents a party involved in a delivery."},"IdentifierDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Legal identifier."},"schemeId":{"type":["null","string"],"description":"Legal identifier scheme (e.g. SE:ORGNR)."}},"additionalProperties":false,"description":"Represents a legal identifier with an associated scheme."},"PartyNameDto":{"type":"object","properties":{"name":{"type":["null","string"],"description":"Name of the party."},"languageId":{"type":["null","string"],"description":"ISO 639-2 three-letter language code for the associated text, for example `ENG`, `SWE`, `DAN`, or `FIN`. Omit this value when the source system does not provide a language."}},"additionalProperties":false,"description":"Represents the name of a party with an optional language identifier."}}}}
```

## The DeliveryTermsDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"DeliveryTermsDto":{"type":"object","properties":{"deliveryTermsId":{"$ref":"#/components/schemas/IdentifierDto"},"specialTerms":{"$ref":"#/components/schemas/NoteDto"}},"additionalProperties":false,"description":"Represents delivery terms associated with an invoice."},"IdentifierDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Legal identifier."},"schemeId":{"type":["null","string"],"description":"Legal identifier scheme (e.g. SE:ORGNR)."}},"additionalProperties":false,"description":"Represents a legal identifier with an associated scheme."},"NoteDto":{"type":"object","properties":{"text":{"type":["null","string"],"description":"Content of the note."},"languageId":{"type":["null","string"],"description":"ISO 639-2 three-letter language code for the associated text, for example `ENG`, `SWE`, `DAN`, or `FIN`. Omit this value when the source system does not provide a language."}},"additionalProperties":false,"description":"Represents a textual note with an optional language identifier."}}}}
```

## The DescriptionDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"DescriptionDto":{"type":"object","properties":{"text":{"type":["null","string"],"description":"Content of the description."},"languageId":{"type":["null","string"],"description":"ISO 639-2 three-letter language code for the associated text, for example `ENG`, `SWE`, `DAN`, or `FIN`. Omit this value when the source system does not provide a language."}},"additionalProperties":false,"description":"Represents a description with an optional language identifier."}}}}
```

## The DocumentCurrencyCodeDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"DocumentCurrencyCodeDto":{"type":"object","properties":{"currency":{"type":["null","string"],"description":"Deprecated. Use ZG.AccountingService.AccountingModels.Dtos.Common.DocumentCurrencyCodeDto.CurrencyId instead. Currency code of the document (e.g. SEK, EUR). (Deprecated: Use CurrencyId instead)","deprecated":true},"currencyId":{"type":["null","string"],"description":"Currency code of the document (e.g. SEK, EUR)."},"currencyRate":{"type":["null","number"],"description":"Exchange rate applied to the document currency.","format":"double"}},"additionalProperties":false,"description":"Represents the document currency and its exchange rate."}}}}
```

## The FinancialAccountDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"FinancialAccountDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the financial account."},"financialInstitution":{"type":["null","string"],"description":"Name or identifier of the financial institution."}},"additionalProperties":false,"description":"Represents a financial account used for payments."}}}}
```

## The FinancialDimensionDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"FinancialDimensionDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the financial dimension."},"reference":{"type":["null","string"],"description":"Reference code for the financial dimension."},"type":{"type":["null","string"],"description":"Type or code of the financial dimension as exposed by the connected accounting system.\n\nKnown values currently emitted by supported connectors include:\n\n- businessGroup\n- campaign\n- costBearer\n- costCode\n- costUnit\n- customerGroup\n- department\n- employee\n- product\n- project\n- purchaser\n- salesPerson\n- salesRegion\n- supplierGroup\n\nSome connectors can also return additional system-specific dimension codes (for example custom Business Central dimension codes)."},"name":{"type":["null","string"],"description":"Display name of the financial dimension."},"description":{"type":["null","string"],"description":"Description of the financial dimension."},"isActive":{"type":["null","boolean"],"description":"Indicates whether the financial dimension is active."}},"additionalProperties":false,"description":"Represents a financial dimension used to assign granularity to financial reports (e.g. cost center, project)."}}}}
```

## The FinancialDimensionDtoPagedResultDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"FinancialDimensionDtoPagedResultDto":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/PagedResultMetadataDto"},"data":{"type":["null","array"],"items":{"$ref":"#/components/schemas/FinancialDimensionDto"},"description":"Collection of items in the current page."}},"additionalProperties":false,"description":"Represents a paginated result containing metadata and a collection of items."},"PagedResultMetadataDto":{"type":"object","properties":{"totalResources":{"type":["null","integer"],"description":"Total number of resources across all pages.","format":"int32"},"totalPages":{"type":["null","integer"],"description":"Total number of pages available.","format":"int32"},"currentPage":{"type":"integer","description":"The current page number.","format":"int32"}},"additionalProperties":false,"description":"Represents pagination metadata for a paged result set."},"FinancialDimensionDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the financial dimension."},"reference":{"type":["null","string"],"description":"Reference code for the financial dimension."},"type":{"type":["null","string"],"description":"Type or code of the financial dimension as exposed by the connected accounting system.\n\nKnown values currently emitted by supported connectors include:\n\n- businessGroup\n- campaign\n- costBearer\n- costCode\n- costUnit\n- customerGroup\n- department\n- employee\n- product\n- project\n- purchaser\n- salesPerson\n- salesRegion\n- supplierGroup\n\nSome connectors can also return additional system-specific dimension codes (for example custom Business Central dimension codes)."},"name":{"type":["null","string"],"description":"Display name of the financial dimension."},"description":{"type":["null","string"],"description":"Description of the financial dimension."},"isActive":{"type":["null","boolean"],"description":"Indicates whether the financial dimension is active."}},"additionalProperties":false,"description":"Represents a financial dimension used to assign granularity to financial reports (e.g. cost center, project)."}}}}
```

## The FinancialReportAccountBalanceSummaryDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"FinancialReportAccountBalanceSummaryDto":{"type":"object","properties":{"accountingAccount":{"$ref":"#/components/schemas/AccountingAccountDto"},"balance":{"$ref":"#/components/schemas/FinancialReportBalanceDto"}},"additionalProperties":false,"description":"Represents an account balance summary within a financial report."},"AccountingAccountDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier generated by the accounting system."},"accountingAccountId":{"type":["null","string"],"description":"Deprecated. Use ZG.AccountingService.AccountingModels.Dtos.Output.AccountingAccountDto.Reference instead. (Deprecated: Use Reference instead.)","deprecated":true},"reference":{"type":["null","string"],"description":"External reference or number assigned to the account."},"standardAccountingAccountId":{"type":["null","string"],"description":"Standard accounting account identifier used for classification."},"name":{"type":["null","string"],"description":"Display name of the accounting account."},"active":{"type":["null","boolean"],"description":"Indicates whether the account is active."},"postable":{"type":["null","boolean"],"description":"Indicates whether transactions can be posted to the account."},"description":{"description":"Deprecated: Use Descriptions instead.","deprecated":true,"$ref":"#/components/schemas/DescriptionDto"},"descriptions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/DescriptionDto"},"description":"Collection of descriptions for the accounting account."},"accountingAccountTypeCode":{"$ref":"#/components/schemas/PriceTypeCodeDto"},"financialDimensions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/FinancialDimensionDto"},"description":"Collection of financial dimensions associated with the account."}},"additionalProperties":false,"description":"Represents an accounting account in the chart of accounts."},"DescriptionDto":{"type":"object","properties":{"text":{"type":["null","string"],"description":"Content of the description."},"languageId":{"type":["null","string"],"description":"ISO 639-2 three-letter language code for the associated text, for example `ENG`, `SWE`, `DAN`, or `FIN`. Omit this value when the source system does not provide a language."}},"additionalProperties":false,"description":"Represents a description with an optional language identifier."},"PriceTypeCodeDto":{"type":"object","properties":{"code":{"type":["null","string"],"description":"Price type code value."},"listId":{"type":["null","string"],"description":"Identifier of the code list the code belongs to."}},"additionalProperties":false,"description":"Represents a price type classification code."},"FinancialDimensionDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the financial dimension."},"reference":{"type":["null","string"],"description":"Reference code for the financial dimension."},"type":{"type":["null","string"],"description":"Type or code of the financial dimension as exposed by the connected accounting system.\n\nKnown values currently emitted by supported connectors include:\n\n- businessGroup\n- campaign\n- costBearer\n- costCode\n- costUnit\n- customerGroup\n- department\n- employee\n- product\n- project\n- purchaser\n- salesPerson\n- salesRegion\n- supplierGroup\n\nSome connectors can also return additional system-specific dimension codes (for example custom Business Central dimension codes)."},"name":{"type":["null","string"],"description":"Display name of the financial dimension."},"description":{"type":["null","string"],"description":"Description of the financial dimension."},"isActive":{"type":["null","boolean"],"description":"Indicates whether the financial dimension is active."}},"additionalProperties":false,"description":"Represents a financial dimension used to assign granularity to financial reports (e.g. cost center, project)."},"FinancialReportBalanceDto":{"type":"object","properties":{"baseCurrencies":{"type":["null","array"],"items":{"$ref":"#/components/schemas/BaseCurrencyDto"},"description":"Collection of base currency amounts for the balance."}},"additionalProperties":false,"description":"Represents a balance in a financial report expressed in one or more currencies."},"BaseCurrencyDto":{"type":"object","properties":{"currencyId":{"type":["null","string"],"description":"Currency code identifier (e.g. SEK, EUR)."},"baseAmount":{"type":"number","description":"Monetary amount in the base currency.","format":"double"}},"additionalProperties":false,"description":"Represents a monetary amount in a specific base currency."}}}}
```

## The FinancialReportBalanceDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"FinancialReportBalanceDto":{"type":"object","properties":{"baseCurrencies":{"type":["null","array"],"items":{"$ref":"#/components/schemas/BaseCurrencyDto"},"description":"Collection of base currency amounts for the balance."}},"additionalProperties":false,"description":"Represents a balance in a financial report expressed in one or more currencies."},"BaseCurrencyDto":{"type":"object","properties":{"currencyId":{"type":["null","string"],"description":"Currency code identifier (e.g. SEK, EUR)."},"baseAmount":{"type":"number","description":"Monetary amount in the base currency.","format":"double"}},"additionalProperties":false,"description":"Represents a monetary amount in a specific base currency."}}}}
```

## The FinancialReportCategoryDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"FinancialReportCategoryDto":{"type":"object","properties":{"descriptions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/DescriptionDto"},"description":"Collection of descriptions for the category."},"balance":{"$ref":"#/components/schemas/FinancialReportBalanceDto"},"subCategories":{"type":["null","array"],"items":{"$ref":"#/components/schemas/FinancialReportCategoryDto"},"description":"Collection of child categories within this category."},"accounts":{"type":["null","array"],"items":{"$ref":"#/components/schemas/FinancialReportAccountBalanceSummaryDto"},"description":"Collection of account balance summaries within this category."}},"additionalProperties":false,"description":"Represents a category within a financial report, supporting hierarchical sub-categories."},"DescriptionDto":{"type":"object","properties":{"text":{"type":["null","string"],"description":"Content of the description."},"languageId":{"type":["null","string"],"description":"ISO 639-2 three-letter language code for the associated text, for example `ENG`, `SWE`, `DAN`, or `FIN`. Omit this value when the source system does not provide a language."}},"additionalProperties":false,"description":"Represents a description with an optional language identifier."},"FinancialReportBalanceDto":{"type":"object","properties":{"baseCurrencies":{"type":["null","array"],"items":{"$ref":"#/components/schemas/BaseCurrencyDto"},"description":"Collection of base currency amounts for the balance."}},"additionalProperties":false,"description":"Represents a balance in a financial report expressed in one or more currencies."},"BaseCurrencyDto":{"type":"object","properties":{"currencyId":{"type":["null","string"],"description":"Currency code identifier (e.g. SEK, EUR)."},"baseAmount":{"type":"number","description":"Monetary amount in the base currency.","format":"double"}},"additionalProperties":false,"description":"Represents a monetary amount in a specific base currency."},"FinancialReportAccountBalanceSummaryDto":{"type":"object","properties":{"accountingAccount":{"$ref":"#/components/schemas/AccountingAccountDto"},"balance":{"$ref":"#/components/schemas/FinancialReportBalanceDto"}},"additionalProperties":false,"description":"Represents an account balance summary within a financial report."},"AccountingAccountDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier generated by the accounting system."},"accountingAccountId":{"type":["null","string"],"description":"Deprecated. Use ZG.AccountingService.AccountingModels.Dtos.Output.AccountingAccountDto.Reference instead. (Deprecated: Use Reference instead.)","deprecated":true},"reference":{"type":["null","string"],"description":"External reference or number assigned to the account."},"standardAccountingAccountId":{"type":["null","string"],"description":"Standard accounting account identifier used for classification."},"name":{"type":["null","string"],"description":"Display name of the accounting account."},"active":{"type":["null","boolean"],"description":"Indicates whether the account is active."},"postable":{"type":["null","boolean"],"description":"Indicates whether transactions can be posted to the account."},"description":{"description":"Deprecated: Use Descriptions instead.","deprecated":true,"$ref":"#/components/schemas/DescriptionDto"},"descriptions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/DescriptionDto"},"description":"Collection of descriptions for the accounting account."},"accountingAccountTypeCode":{"$ref":"#/components/schemas/PriceTypeCodeDto"},"financialDimensions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/FinancialDimensionDto"},"description":"Collection of financial dimensions associated with the account."}},"additionalProperties":false,"description":"Represents an accounting account in the chart of accounts."},"PriceTypeCodeDto":{"type":"object","properties":{"code":{"type":["null","string"],"description":"Price type code value."},"listId":{"type":["null","string"],"description":"Identifier of the code list the code belongs to."}},"additionalProperties":false,"description":"Represents a price type classification code."},"FinancialDimensionDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the financial dimension."},"reference":{"type":["null","string"],"description":"Reference code for the financial dimension."},"type":{"type":["null","string"],"description":"Type or code of the financial dimension as exposed by the connected accounting system.\n\nKnown values currently emitted by supported connectors include:\n\n- businessGroup\n- campaign\n- costBearer\n- costCode\n- costUnit\n- customerGroup\n- department\n- employee\n- product\n- project\n- purchaser\n- salesPerson\n- salesRegion\n- supplierGroup\n\nSome connectors can also return additional system-specific dimension codes (for example custom Business Central dimension codes)."},"name":{"type":["null","string"],"description":"Display name of the financial dimension."},"description":{"type":["null","string"],"description":"Description of the financial dimension."},"isActive":{"type":["null","boolean"],"description":"Indicates whether the financial dimension is active."}},"additionalProperties":false,"description":"Represents a financial dimension used to assign granularity to financial reports (e.g. cost center, project)."}}}}
```

## The FinancialReportDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"FinancialReportDto":{"type":"object","properties":{"categories":{"type":["null","array"],"items":{"$ref":"#/components/schemas/FinancialReportCategoryDto"},"description":"Collection of financial report categories."}},"additionalProperties":false,"description":"Represents a financial report composed of categorized account data."},"FinancialReportCategoryDto":{"type":"object","properties":{"descriptions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/DescriptionDto"},"description":"Collection of descriptions for the category."},"balance":{"$ref":"#/components/schemas/FinancialReportBalanceDto"},"subCategories":{"type":["null","array"],"items":{"$ref":"#/components/schemas/FinancialReportCategoryDto"},"description":"Collection of child categories within this category."},"accounts":{"type":["null","array"],"items":{"$ref":"#/components/schemas/FinancialReportAccountBalanceSummaryDto"},"description":"Collection of account balance summaries within this category."}},"additionalProperties":false,"description":"Represents a category within a financial report, supporting hierarchical sub-categories."},"DescriptionDto":{"type":"object","properties":{"text":{"type":["null","string"],"description":"Content of the description."},"languageId":{"type":["null","string"],"description":"ISO 639-2 three-letter language code for the associated text, for example `ENG`, `SWE`, `DAN`, or `FIN`. Omit this value when the source system does not provide a language."}},"additionalProperties":false,"description":"Represents a description with an optional language identifier."},"FinancialReportBalanceDto":{"type":"object","properties":{"baseCurrencies":{"type":["null","array"],"items":{"$ref":"#/components/schemas/BaseCurrencyDto"},"description":"Collection of base currency amounts for the balance."}},"additionalProperties":false,"description":"Represents a balance in a financial report expressed in one or more currencies."},"BaseCurrencyDto":{"type":"object","properties":{"currencyId":{"type":["null","string"],"description":"Currency code identifier (e.g. SEK, EUR)."},"baseAmount":{"type":"number","description":"Monetary amount in the base currency.","format":"double"}},"additionalProperties":false,"description":"Represents a monetary amount in a specific base currency."},"FinancialReportAccountBalanceSummaryDto":{"type":"object","properties":{"accountingAccount":{"$ref":"#/components/schemas/AccountingAccountDto"},"balance":{"$ref":"#/components/schemas/FinancialReportBalanceDto"}},"additionalProperties":false,"description":"Represents an account balance summary within a financial report."},"AccountingAccountDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier generated by the accounting system."},"accountingAccountId":{"type":["null","string"],"description":"Deprecated. Use ZG.AccountingService.AccountingModels.Dtos.Output.AccountingAccountDto.Reference instead. (Deprecated: Use Reference instead.)","deprecated":true},"reference":{"type":["null","string"],"description":"External reference or number assigned to the account."},"standardAccountingAccountId":{"type":["null","string"],"description":"Standard accounting account identifier used for classification."},"name":{"type":["null","string"],"description":"Display name of the accounting account."},"active":{"type":["null","boolean"],"description":"Indicates whether the account is active."},"postable":{"type":["null","boolean"],"description":"Indicates whether transactions can be posted to the account."},"description":{"description":"Deprecated: Use Descriptions instead.","deprecated":true,"$ref":"#/components/schemas/DescriptionDto"},"descriptions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/DescriptionDto"},"description":"Collection of descriptions for the accounting account."},"accountingAccountTypeCode":{"$ref":"#/components/schemas/PriceTypeCodeDto"},"financialDimensions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/FinancialDimensionDto"},"description":"Collection of financial dimensions associated with the account."}},"additionalProperties":false,"description":"Represents an accounting account in the chart of accounts."},"PriceTypeCodeDto":{"type":"object","properties":{"code":{"type":["null","string"],"description":"Price type code value."},"listId":{"type":["null","string"],"description":"Identifier of the code list the code belongs to."}},"additionalProperties":false,"description":"Represents a price type classification code."},"FinancialDimensionDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the financial dimension."},"reference":{"type":["null","string"],"description":"Reference code for the financial dimension."},"type":{"type":["null","string"],"description":"Type or code of the financial dimension as exposed by the connected accounting system.\n\nKnown values currently emitted by supported connectors include:\n\n- businessGroup\n- campaign\n- costBearer\n- costCode\n- costUnit\n- customerGroup\n- department\n- employee\n- product\n- project\n- purchaser\n- salesPerson\n- salesRegion\n- supplierGroup\n\nSome connectors can also return additional system-specific dimension codes (for example custom Business Central dimension codes)."},"name":{"type":["null","string"],"description":"Display name of the financial dimension."},"description":{"type":["null","string"],"description":"Description of the financial dimension."},"isActive":{"type":["null","boolean"],"description":"Indicates whether the financial dimension is active."}},"additionalProperties":false,"description":"Represents a financial dimension used to assign granularity to financial reports (e.g. cost center, project)."}}}}
```

## The IdentifierDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"IdentifierDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Legal identifier."},"schemeId":{"type":["null","string"],"description":"Legal identifier scheme (e.g. SE:ORGNR)."}},"additionalProperties":false,"description":"Represents a legal identifier with an associated scheme."}}}}
```

## The IncomeStatementDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"IncomeStatementDto":{"type":"object","properties":{"accountBalancePeriod":{"$ref":"#/components/schemas/PeriodDto"},"financialReport":{"$ref":"#/components/schemas/FinancialReportDto"},"profitLossBalance":{"$ref":"#/components/schemas/FinancialReportBalanceDto"}},"additionalProperties":false,"description":"Represents an income statement (profit and loss) financial report."},"PeriodDto":{"type":"object","properties":{"startDate":{"type":["null","string"],"description":"Start date of the period."},"endDate":{"type":["null","string"],"description":"End date of the period."}},"additionalProperties":false,"description":"Represents a date period defined by a start and end date."},"FinancialReportDto":{"type":"object","properties":{"categories":{"type":["null","array"],"items":{"$ref":"#/components/schemas/FinancialReportCategoryDto"},"description":"Collection of financial report categories."}},"additionalProperties":false,"description":"Represents a financial report composed of categorized account data."},"FinancialReportCategoryDto":{"type":"object","properties":{"descriptions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/DescriptionDto"},"description":"Collection of descriptions for the category."},"balance":{"$ref":"#/components/schemas/FinancialReportBalanceDto"},"subCategories":{"type":["null","array"],"items":{"$ref":"#/components/schemas/FinancialReportCategoryDto"},"description":"Collection of child categories within this category."},"accounts":{"type":["null","array"],"items":{"$ref":"#/components/schemas/FinancialReportAccountBalanceSummaryDto"},"description":"Collection of account balance summaries within this category."}},"additionalProperties":false,"description":"Represents a category within a financial report, supporting hierarchical sub-categories."},"DescriptionDto":{"type":"object","properties":{"text":{"type":["null","string"],"description":"Content of the description."},"languageId":{"type":["null","string"],"description":"ISO 639-2 three-letter language code for the associated text, for example `ENG`, `SWE`, `DAN`, or `FIN`. Omit this value when the source system does not provide a language."}},"additionalProperties":false,"description":"Represents a description with an optional language identifier."},"FinancialReportBalanceDto":{"type":"object","properties":{"baseCurrencies":{"type":["null","array"],"items":{"$ref":"#/components/schemas/BaseCurrencyDto"},"description":"Collection of base currency amounts for the balance."}},"additionalProperties":false,"description":"Represents a balance in a financial report expressed in one or more currencies."},"BaseCurrencyDto":{"type":"object","properties":{"currencyId":{"type":["null","string"],"description":"Currency code identifier (e.g. SEK, EUR)."},"baseAmount":{"type":"number","description":"Monetary amount in the base currency.","format":"double"}},"additionalProperties":false,"description":"Represents a monetary amount in a specific base currency."},"FinancialReportAccountBalanceSummaryDto":{"type":"object","properties":{"accountingAccount":{"$ref":"#/components/schemas/AccountingAccountDto"},"balance":{"$ref":"#/components/schemas/FinancialReportBalanceDto"}},"additionalProperties":false,"description":"Represents an account balance summary within a financial report."},"AccountingAccountDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier generated by the accounting system."},"accountingAccountId":{"type":["null","string"],"description":"Deprecated. Use ZG.AccountingService.AccountingModels.Dtos.Output.AccountingAccountDto.Reference instead. (Deprecated: Use Reference instead.)","deprecated":true},"reference":{"type":["null","string"],"description":"External reference or number assigned to the account."},"standardAccountingAccountId":{"type":["null","string"],"description":"Standard accounting account identifier used for classification."},"name":{"type":["null","string"],"description":"Display name of the accounting account."},"active":{"type":["null","boolean"],"description":"Indicates whether the account is active."},"postable":{"type":["null","boolean"],"description":"Indicates whether transactions can be posted to the account."},"description":{"description":"Deprecated: Use Descriptions instead.","deprecated":true,"$ref":"#/components/schemas/DescriptionDto"},"descriptions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/DescriptionDto"},"description":"Collection of descriptions for the accounting account."},"accountingAccountTypeCode":{"$ref":"#/components/schemas/PriceTypeCodeDto"},"financialDimensions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/FinancialDimensionDto"},"description":"Collection of financial dimensions associated with the account."}},"additionalProperties":false,"description":"Represents an accounting account in the chart of accounts."},"PriceTypeCodeDto":{"type":"object","properties":{"code":{"type":["null","string"],"description":"Price type code value."},"listId":{"type":["null","string"],"description":"Identifier of the code list the code belongs to."}},"additionalProperties":false,"description":"Represents a price type classification code."},"FinancialDimensionDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the financial dimension."},"reference":{"type":["null","string"],"description":"Reference code for the financial dimension."},"type":{"type":["null","string"],"description":"Type or code of the financial dimension as exposed by the connected accounting system.\n\nKnown values currently emitted by supported connectors include:\n\n- businessGroup\n- campaign\n- costBearer\n- costCode\n- costUnit\n- customerGroup\n- department\n- employee\n- product\n- project\n- purchaser\n- salesPerson\n- salesRegion\n- supplierGroup\n\nSome connectors can also return additional system-specific dimension codes (for example custom Business Central dimension codes)."},"name":{"type":["null","string"],"description":"Display name of the financial dimension."},"description":{"type":["null","string"],"description":"Description of the financial dimension."},"isActive":{"type":["null","boolean"],"description":"Indicates whether the financial dimension is active."}},"additionalProperties":false,"description":"Represents a financial dimension used to assign granularity to financial reports (e.g. cost center, project)."}}}}
```

## The InvoiceAttachmentDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"InvoiceAttachmentDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the attachment."},"invoiceId":{"type":["null","string"],"description":"Identifier of the invoice this attachment belongs to."},"type":{"enum":["Attachment","Invoice"],"type":"string","description":"Type of the attachment (e.g. Attachment or Invoice)."},"fileName":{"type":["null","string"],"description":"Original file name of the attachment."}},"additionalProperties":false,"description":"Represents an attachment associated with an invoice."}}}}
```

## The InvoiceAttachmentDtoPagedResultDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"InvoiceAttachmentDtoPagedResultDto":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/PagedResultMetadataDto"},"data":{"type":["null","array"],"items":{"$ref":"#/components/schemas/InvoiceAttachmentDto"},"description":"Collection of items in the current page."}},"additionalProperties":false,"description":"Represents a paginated result containing metadata and a collection of items."},"PagedResultMetadataDto":{"type":"object","properties":{"totalResources":{"type":["null","integer"],"description":"Total number of resources across all pages.","format":"int32"},"totalPages":{"type":["null","integer"],"description":"Total number of pages available.","format":"int32"},"currentPage":{"type":"integer","description":"The current page number.","format":"int32"}},"additionalProperties":false,"description":"Represents pagination metadata for a paged result set."},"InvoiceAttachmentDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the attachment."},"invoiceId":{"type":["null","string"],"description":"Identifier of the invoice this attachment belongs to."},"type":{"enum":["Attachment","Invoice"],"type":"string","description":"Type of the attachment (e.g. Attachment or Invoice)."},"fileName":{"type":["null","string"],"description":"Original file name of the attachment."}},"additionalProperties":false,"description":"Represents an attachment associated with an invoice."}}}}
```

## The InvoiceLineDeliveryDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"InvoiceLineDeliveryDto":{"type":"object","properties":{"actualDeliveryDate":{"type":["null","string"],"description":"Actual date of delivery for the invoice line."}},"additionalProperties":false,"description":"Represents delivery information at the invoice line level."}}}}
```

## The InvoiceLineDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"InvoiceLineDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the invoice line."},"invoicedQuantity":{"$ref":"#/components/schemas/InvoicedQuantityDto"},"lineExtensionAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"item":{"$ref":"#/components/schemas/ItemDto"},"price":{"$ref":"#/components/schemas/PriceDto"},"delivery":{"$ref":"#/components/schemas/InvoiceLineDeliveryDto"},"financialDimensions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/FinancialDimensionDto"},"description":"Collection of financial dimensions for the line."},"allowanceCharges":{"type":["null","array"],"items":{"$ref":"#/components/schemas/AllowanceChargeDto"},"description":"Collection of allowances or charges applied to the line."},"subInvoiceLines":{"type":["null","array"],"items":{"$ref":"#/components/schemas/SubInvoiceLineDto"},"description":"Collection of sub-lines within this invoice line."}},"additionalProperties":false,"description":"Represents a single line item on an invoice."},"InvoicedQuantityDto":{"type":"object","properties":{"quantity":{"type":["null","number"],"description":"Number of units invoiced.","format":"double"},"unitCode":{"type":["null","string"],"description":"Unit of measure code (e.g. EA, KG)."}},"additionalProperties":false,"description":"Represents an invoiced quantity with its unit of measure."},"AmountTypeDto":{"type":"object","properties":{"amount":{"type":"number","description":"The balance amount.","format":"double"},"currencyId":{"type":["null","string"],"description":"The currency code (e.g. SEK)."}},"additionalProperties":false,"description":"Represents a monetary amount with an associated currency."},"ItemDto":{"type":"object","properties":{"name":{"type":["null","string"],"description":"Name of the item."},"description":{"type":["null","string"],"description":"Textual description of the item."},"sellersItemIdentification":{"$ref":"#/components/schemas/SellersItemIdentificationDto"},"classifiedTaxCategories":{"type":["null","array"],"items":{"$ref":"#/components/schemas/TaxCategoryDto"},"description":"Collection of tax categories classified for the item."}},"additionalProperties":false,"description":"Represents an item referenced in an invoice line."},"SellersItemIdentificationDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the item assigned by the seller."},"extendedId":{"type":["null","string"],"description":"Extended identifier for the item assigned by the seller."}},"additionalProperties":false,"description":"Represents the seller's identification of an item."},"TaxCategoryDto":{"type":"object","properties":{"percent":{"type":"number","description":"Tax rate percentage for this category.","format":"double"},"taxScheme":{"$ref":"#/components/schemas/TaxSchemeDto"},"id":{"type":["null","string"],"description":"Unique identifier for the tax category."}},"additionalProperties":false,"description":"Represents a tax category with its percentage rate and scheme."},"TaxSchemeDto":{"type":"object","properties":{"taxSchemeId":{"$ref":"#/components/schemas/IdentifierDto"}},"additionalProperties":false,"description":"Represents a tax scheme."},"IdentifierDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Legal identifier."},"schemeId":{"type":["null","string"],"description":"Legal identifier scheme (e.g. SE:ORGNR)."}},"additionalProperties":false,"description":"Represents a legal identifier with an associated scheme."},"PriceDto":{"type":"object","properties":{"priceAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"priceTypeCode":{"$ref":"#/components/schemas/PriceTypeCodeDto"},"allowanceCharges":{"type":["null","array"],"items":{"$ref":"#/components/schemas/AllowanceChargeDto"},"description":"Collection of allowances or charges applied to the price."},"baseQuantity":{"$ref":"#/components/schemas/InvoicedQuantityDto"}},"additionalProperties":false,"description":"Represents price information for an invoiced item."},"PriceTypeCodeDto":{"type":"object","properties":{"code":{"type":["null","string"],"description":"Price type code value."},"listId":{"type":["null","string"],"description":"Identifier of the code list the code belongs to."}},"additionalProperties":false,"description":"Represents a price type classification code."},"AllowanceChargeDto":{"type":"object","properties":{"allowanceChargeId":{"$ref":"#/components/schemas/IdentifierDto"},"chargeIndicator":{"type":"boolean","description":"Indicates whether this entry is a charge (true) or an allowance (false)."},"allowanceChargeReason":{"type":["null","string"],"description":"Reason for the allowance or charge."},"allowanceChargeAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"taxTotal":{"$ref":"#/components/schemas/TaxTotalDto"},"taxCategory":{"$ref":"#/components/schemas/TaxCategoryDto"},"allowanceChargeBaseAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"multiplierFactorNumeric":{"type":["null","number"],"description":"Multiplier factor used to calculate the allowance or charge.","format":"double"}},"additionalProperties":false,"description":"Represents an allowance or charge applied to an invoice or line item."},"TaxTotalDto":{"type":"object","properties":{"taxAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"taxIncludedIndicator":{"type":["null","boolean"],"description":"Indicates whether the tax is included in the line amounts."},"taxSubtotals":{"type":["null","array"],"items":{"$ref":"#/components/schemas/TaxSubtotalDto"},"description":"Collection of tax subtotals broken down by category."}},"additionalProperties":false,"description":"Represents the total tax amount for an invoice or line item."},"TaxSubtotalDto":{"type":"object","properties":{"taxableAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"taxAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"taxCategory":{"$ref":"#/components/schemas/TaxSubtotalTaxCategoryDto"}},"additionalProperties":false,"description":"Represents a tax subtotal within a tax total."},"TaxSubtotalTaxCategoryDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the tax category."},"percent":{"type":["null","number"],"description":"Tax rate percentage for this category.","format":"double"},"taxScheme":{"$ref":"#/components/schemas/TaxCategoryTaxSchemeDto"},"taxExemptionReason":{"type":["null","string"],"description":"Reason for tax exemption, if applicable."},"taxExemptionReasonCode":{"type":["null","string"],"description":"Code identifying the tax exemption reason."}},"additionalProperties":false,"description":"Represents the tax category details within a tax subtotal."},"TaxCategoryTaxSchemeDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the tax scheme."}},"additionalProperties":false,"description":"Represents the tax scheme associated with a tax category."},"InvoiceLineDeliveryDto":{"type":"object","properties":{"actualDeliveryDate":{"type":["null","string"],"description":"Actual date of delivery for the invoice line."}},"additionalProperties":false,"description":"Represents delivery information at the invoice line level."},"FinancialDimensionDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the financial dimension."},"reference":{"type":["null","string"],"description":"Reference code for the financial dimension."},"type":{"type":["null","string"],"description":"Type or code of the financial dimension as exposed by the connected accounting system.\n\nKnown values currently emitted by supported connectors include:\n\n- businessGroup\n- campaign\n- costBearer\n- costCode\n- costUnit\n- customerGroup\n- department\n- employee\n- product\n- project\n- purchaser\n- salesPerson\n- salesRegion\n- supplierGroup\n\nSome connectors can also return additional system-specific dimension codes (for example custom Business Central dimension codes)."},"name":{"type":["null","string"],"description":"Display name of the financial dimension."},"description":{"type":["null","string"],"description":"Description of the financial dimension."},"isActive":{"type":["null","boolean"],"description":"Indicates whether the financial dimension is active."}},"additionalProperties":false,"description":"Represents a financial dimension used to assign granularity to financial reports (e.g. cost center, project)."},"SubInvoiceLineDto":{"type":"object","properties":{"invoicedQuantity":{"$ref":"#/components/schemas/InvoicedQuantityDto"},"item":{"$ref":"#/components/schemas/ItemDto"}},"additionalProperties":false,"description":"Represents a sub-line within an invoice line."}}}}
```

## The InvoicePaymentDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"InvoicePaymentDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the invoice payment."},"paymentId":{"type":["null","string"],"description":"Deprecated. Use ZG.AccountingService.AccountingModels.Dtos.Output.InvoicePaymentDto.Reference instead. External payment identifier. (Deprecated: Use Reference instead)","deprecated":true},"reference":{"type":["null","string"],"description":"Payment reference string."},"receivedDate":{"type":["null","string"],"description":"Date the payment was received."},"paidDate":{"type":["null","string"],"description":"Date the payment was made."},"bookedIndicator":{"type":["null","boolean"],"description":"Indicates whether the payment has been booked."},"bookedDate":{"type":["null","string"],"description":"Date the payment was booked."},"accountingAccount":{"$ref":"#/components/schemas/AccountingAccountDto"},"status":{"$ref":"#/components/schemas/PaymentConditionDto"},"billingReferences":{"type":["null","array"],"items":{"$ref":"#/components/schemas/BillingReferenceDto"},"description":"Collection of billing references linked to the payment."},"documentCurrencyCode":{"$ref":"#/components/schemas/DocumentCurrencyCodeDto"},"amount":{"type":["null","number"],"description":"Monetary amount.","format":"double"},"creditAmount":{"description":"Deprecated: Use Amount instead","deprecated":true,"$ref":"#/components/schemas/AmountTypeDto"},"debitAmount":{"description":"Deprecated: Use Amount instead","deprecated":true,"$ref":"#/components/schemas/AmountTypeDto"}},"additionalProperties":false,"description":"Represents a payment associated with an invoice."},"AccountingAccountDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier generated by the accounting system."},"accountingAccountId":{"type":["null","string"],"description":"Deprecated. Use ZG.AccountingService.AccountingModels.Dtos.Output.AccountingAccountDto.Reference instead. (Deprecated: Use Reference instead.)","deprecated":true},"reference":{"type":["null","string"],"description":"External reference or number assigned to the account."},"standardAccountingAccountId":{"type":["null","string"],"description":"Standard accounting account identifier used for classification."},"name":{"type":["null","string"],"description":"Display name of the accounting account."},"active":{"type":["null","boolean"],"description":"Indicates whether the account is active."},"postable":{"type":["null","boolean"],"description":"Indicates whether transactions can be posted to the account."},"description":{"description":"Deprecated: Use Descriptions instead.","deprecated":true,"$ref":"#/components/schemas/DescriptionDto"},"descriptions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/DescriptionDto"},"description":"Collection of descriptions for the accounting account."},"accountingAccountTypeCode":{"$ref":"#/components/schemas/PriceTypeCodeDto"},"financialDimensions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/FinancialDimensionDto"},"description":"Collection of financial dimensions associated with the account."}},"additionalProperties":false,"description":"Represents an accounting account in the chart of accounts."},"DescriptionDto":{"type":"object","properties":{"text":{"type":["null","string"],"description":"Content of the description."},"languageId":{"type":["null","string"],"description":"ISO 639-2 three-letter language code for the associated text, for example `ENG`, `SWE`, `DAN`, or `FIN`. Omit this value when the source system does not provide a language."}},"additionalProperties":false,"description":"Represents a description with an optional language identifier."},"PriceTypeCodeDto":{"type":"object","properties":{"code":{"type":["null","string"],"description":"Price type code value."},"listId":{"type":["null","string"],"description":"Identifier of the code list the code belongs to."}},"additionalProperties":false,"description":"Represents a price type classification code."},"FinancialDimensionDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the financial dimension."},"reference":{"type":["null","string"],"description":"Reference code for the financial dimension."},"type":{"type":["null","string"],"description":"Type or code of the financial dimension as exposed by the connected accounting system.\n\nKnown values currently emitted by supported connectors include:\n\n- businessGroup\n- campaign\n- costBearer\n- costCode\n- costUnit\n- customerGroup\n- department\n- employee\n- product\n- project\n- purchaser\n- salesPerson\n- salesRegion\n- supplierGroup\n\nSome connectors can also return additional system-specific dimension codes (for example custom Business Central dimension codes)."},"name":{"type":["null","string"],"description":"Display name of the financial dimension."},"description":{"type":["null","string"],"description":"Description of the financial dimension."},"isActive":{"type":["null","boolean"],"description":"Indicates whether the financial dimension is active."}},"additionalProperties":false,"description":"Represents a financial dimension used to assign granularity to financial reports (e.g. cost center, project)."},"PaymentConditionDto":{"type":"object","properties":{"conditionCode":{"type":["null","string"],"description":"Code identifying the payment condition."},"referenceDate":{"type":["null","string"],"description":"Reference date associated with the payment condition.","format":"date-time"},"statusReason":{"type":["null","string"],"description":"Reason describing the payment status."}},"additionalProperties":false,"description":"Represents the condition or status of a payment."},"BillingReferenceDto":{"type":"object","properties":{"invoiceDocumentReferences":{"type":["null","array"],"items":{"$ref":"#/components/schemas/IdentifierDto"},"description":"Collection of invoice document reference identifiers."}},"additionalProperties":false,"description":"Represents a billing reference containing invoice document references."},"IdentifierDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Legal identifier."},"schemeId":{"type":["null","string"],"description":"Legal identifier scheme (e.g. SE:ORGNR)."}},"additionalProperties":false,"description":"Represents a legal identifier with an associated scheme."},"DocumentCurrencyCodeDto":{"type":"object","properties":{"currency":{"type":["null","string"],"description":"Deprecated. Use ZG.AccountingService.AccountingModels.Dtos.Common.DocumentCurrencyCodeDto.CurrencyId instead. Currency code of the document (e.g. SEK, EUR). (Deprecated: Use CurrencyId instead)","deprecated":true},"currencyId":{"type":["null","string"],"description":"Currency code of the document (e.g. SEK, EUR)."},"currencyRate":{"type":["null","number"],"description":"Exchange rate applied to the document currency.","format":"double"}},"additionalProperties":false,"description":"Represents the document currency and its exchange rate."},"AmountTypeDto":{"type":"object","properties":{"amount":{"type":"number","description":"The balance amount.","format":"double"},"currencyId":{"type":["null","string"],"description":"The currency code (e.g. SEK)."}},"additionalProperties":false,"description":"Represents a monetary amount with an associated currency."}}}}
```

## The InvoicePaymentDtoPagedResultDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"InvoicePaymentDtoPagedResultDto":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/PagedResultMetadataDto"},"data":{"type":["null","array"],"items":{"$ref":"#/components/schemas/InvoicePaymentDto"},"description":"Collection of items in the current page."}},"additionalProperties":false,"description":"Represents a paginated result containing metadata and a collection of items."},"PagedResultMetadataDto":{"type":"object","properties":{"totalResources":{"type":["null","integer"],"description":"Total number of resources across all pages.","format":"int32"},"totalPages":{"type":["null","integer"],"description":"Total number of pages available.","format":"int32"},"currentPage":{"type":"integer","description":"The current page number.","format":"int32"}},"additionalProperties":false,"description":"Represents pagination metadata for a paged result set."},"InvoicePaymentDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the invoice payment."},"paymentId":{"type":["null","string"],"description":"Deprecated. Use ZG.AccountingService.AccountingModels.Dtos.Output.InvoicePaymentDto.Reference instead. External payment identifier. (Deprecated: Use Reference instead)","deprecated":true},"reference":{"type":["null","string"],"description":"Payment reference string."},"receivedDate":{"type":["null","string"],"description":"Date the payment was received."},"paidDate":{"type":["null","string"],"description":"Date the payment was made."},"bookedIndicator":{"type":["null","boolean"],"description":"Indicates whether the payment has been booked."},"bookedDate":{"type":["null","string"],"description":"Date the payment was booked."},"accountingAccount":{"$ref":"#/components/schemas/AccountingAccountDto"},"status":{"$ref":"#/components/schemas/PaymentConditionDto"},"billingReferences":{"type":["null","array"],"items":{"$ref":"#/components/schemas/BillingReferenceDto"},"description":"Collection of billing references linked to the payment."},"documentCurrencyCode":{"$ref":"#/components/schemas/DocumentCurrencyCodeDto"},"amount":{"type":["null","number"],"description":"Monetary amount.","format":"double"},"creditAmount":{"description":"Deprecated: Use Amount instead","deprecated":true,"$ref":"#/components/schemas/AmountTypeDto"},"debitAmount":{"description":"Deprecated: Use Amount instead","deprecated":true,"$ref":"#/components/schemas/AmountTypeDto"}},"additionalProperties":false,"description":"Represents a payment associated with an invoice."},"AccountingAccountDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier generated by the accounting system."},"accountingAccountId":{"type":["null","string"],"description":"Deprecated. Use ZG.AccountingService.AccountingModels.Dtos.Output.AccountingAccountDto.Reference instead. (Deprecated: Use Reference instead.)","deprecated":true},"reference":{"type":["null","string"],"description":"External reference or number assigned to the account."},"standardAccountingAccountId":{"type":["null","string"],"description":"Standard accounting account identifier used for classification."},"name":{"type":["null","string"],"description":"Display name of the accounting account."},"active":{"type":["null","boolean"],"description":"Indicates whether the account is active."},"postable":{"type":["null","boolean"],"description":"Indicates whether transactions can be posted to the account."},"description":{"description":"Deprecated: Use Descriptions instead.","deprecated":true,"$ref":"#/components/schemas/DescriptionDto"},"descriptions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/DescriptionDto"},"description":"Collection of descriptions for the accounting account."},"accountingAccountTypeCode":{"$ref":"#/components/schemas/PriceTypeCodeDto"},"financialDimensions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/FinancialDimensionDto"},"description":"Collection of financial dimensions associated with the account."}},"additionalProperties":false,"description":"Represents an accounting account in the chart of accounts."},"DescriptionDto":{"type":"object","properties":{"text":{"type":["null","string"],"description":"Content of the description."},"languageId":{"type":["null","string"],"description":"ISO 639-2 three-letter language code for the associated text, for example `ENG`, `SWE`, `DAN`, or `FIN`. Omit this value when the source system does not provide a language."}},"additionalProperties":false,"description":"Represents a description with an optional language identifier."},"PriceTypeCodeDto":{"type":"object","properties":{"code":{"type":["null","string"],"description":"Price type code value."},"listId":{"type":["null","string"],"description":"Identifier of the code list the code belongs to."}},"additionalProperties":false,"description":"Represents a price type classification code."},"FinancialDimensionDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the financial dimension."},"reference":{"type":["null","string"],"description":"Reference code for the financial dimension."},"type":{"type":["null","string"],"description":"Type or code of the financial dimension as exposed by the connected accounting system.\n\nKnown values currently emitted by supported connectors include:\n\n- businessGroup\n- campaign\n- costBearer\n- costCode\n- costUnit\n- customerGroup\n- department\n- employee\n- product\n- project\n- purchaser\n- salesPerson\n- salesRegion\n- supplierGroup\n\nSome connectors can also return additional system-specific dimension codes (for example custom Business Central dimension codes)."},"name":{"type":["null","string"],"description":"Display name of the financial dimension."},"description":{"type":["null","string"],"description":"Description of the financial dimension."},"isActive":{"type":["null","boolean"],"description":"Indicates whether the financial dimension is active."}},"additionalProperties":false,"description":"Represents a financial dimension used to assign granularity to financial reports (e.g. cost center, project)."},"PaymentConditionDto":{"type":"object","properties":{"conditionCode":{"type":["null","string"],"description":"Code identifying the payment condition."},"referenceDate":{"type":["null","string"],"description":"Reference date associated with the payment condition.","format":"date-time"},"statusReason":{"type":["null","string"],"description":"Reason describing the payment status."}},"additionalProperties":false,"description":"Represents the condition or status of a payment."},"BillingReferenceDto":{"type":"object","properties":{"invoiceDocumentReferences":{"type":["null","array"],"items":{"$ref":"#/components/schemas/IdentifierDto"},"description":"Collection of invoice document reference identifiers."}},"additionalProperties":false,"description":"Represents a billing reference containing invoice document references."},"IdentifierDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Legal identifier."},"schemeId":{"type":["null","string"],"description":"Legal identifier scheme (e.g. SE:ORGNR)."}},"additionalProperties":false,"description":"Represents a legal identifier with an associated scheme."},"DocumentCurrencyCodeDto":{"type":"object","properties":{"currency":{"type":["null","string"],"description":"Deprecated. Use ZG.AccountingService.AccountingModels.Dtos.Common.DocumentCurrencyCodeDto.CurrencyId instead. Currency code of the document (e.g. SEK, EUR). (Deprecated: Use CurrencyId instead)","deprecated":true},"currencyId":{"type":["null","string"],"description":"Currency code of the document (e.g. SEK, EUR)."},"currencyRate":{"type":["null","number"],"description":"Exchange rate applied to the document currency.","format":"double"}},"additionalProperties":false,"description":"Represents the document currency and its exchange rate."},"AmountTypeDto":{"type":"object","properties":{"amount":{"type":"number","description":"The balance amount.","format":"double"},"currencyId":{"type":["null","string"],"description":"The currency code (e.g. SEK)."}},"additionalProperties":false,"description":"Represents a monetary amount with an associated currency."}}}}
```

## The InvoicedQuantityDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"InvoicedQuantityDto":{"type":"object","properties":{"quantity":{"type":["null","number"],"description":"Number of units invoiced.","format":"double"},"unitCode":{"type":["null","string"],"description":"Unit of measure code (e.g. EA, KG)."}},"additionalProperties":false,"description":"Represents an invoiced quantity with its unit of measure."}}}}
```

## The ItemDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"ItemDto":{"type":"object","properties":{"name":{"type":["null","string"],"description":"Name of the item."},"description":{"type":["null","string"],"description":"Textual description of the item."},"sellersItemIdentification":{"$ref":"#/components/schemas/SellersItemIdentificationDto"},"classifiedTaxCategories":{"type":["null","array"],"items":{"$ref":"#/components/schemas/TaxCategoryDto"},"description":"Collection of tax categories classified for the item."}},"additionalProperties":false,"description":"Represents an item referenced in an invoice line."},"SellersItemIdentificationDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the item assigned by the seller."},"extendedId":{"type":["null","string"],"description":"Extended identifier for the item assigned by the seller."}},"additionalProperties":false,"description":"Represents the seller's identification of an item."},"TaxCategoryDto":{"type":"object","properties":{"percent":{"type":"number","description":"Tax rate percentage for this category.","format":"double"},"taxScheme":{"$ref":"#/components/schemas/TaxSchemeDto"},"id":{"type":["null","string"],"description":"Unique identifier for the tax category."}},"additionalProperties":false,"description":"Represents a tax category with its percentage rate and scheme."},"TaxSchemeDto":{"type":"object","properties":{"taxSchemeId":{"$ref":"#/components/schemas/IdentifierDto"}},"additionalProperties":false,"description":"Represents a tax scheme."},"IdentifierDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Legal identifier."},"schemeId":{"type":["null","string"],"description":"Legal identifier scheme (e.g. SE:ORGNR)."}},"additionalProperties":false,"description":"Represents a legal identifier with an associated scheme."}}}}
```

## The ItemInputDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"ItemInputDto":{"type":"object","properties":{"name":{"type":["null","string"],"description":"Name of the item."},"description":{"type":["null","string"],"description":"Description of the item."},"sellersItemIdentification":{"$ref":"#/components/schemas/SellersItemIdentificationDto"},"classifiedTaxCategories":{"type":["null","array"],"items":{"$ref":"#/components/schemas/TaxCategoryDto"},"description":"Collection of tax categories classified for the item."}},"additionalProperties":false,"description":"Represents an item on an invoice line."},"SellersItemIdentificationDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the item assigned by the seller."},"extendedId":{"type":["null","string"],"description":"Extended identifier for the item assigned by the seller."}},"additionalProperties":false,"description":"Represents the seller's identification of an item."},"TaxCategoryDto":{"type":"object","properties":{"percent":{"type":"number","description":"Tax rate percentage for this category.","format":"double"},"taxScheme":{"$ref":"#/components/schemas/TaxSchemeDto"},"id":{"type":["null","string"],"description":"Unique identifier for the tax category."}},"additionalProperties":false,"description":"Represents a tax category with its percentage rate and scheme."},"TaxSchemeDto":{"type":"object","properties":{"taxSchemeId":{"$ref":"#/components/schemas/IdentifierDto"}},"additionalProperties":false,"description":"Represents a tax scheme."},"IdentifierDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Legal identifier."},"schemeId":{"type":["null","string"],"description":"Legal identifier scheme (e.g. SE:ORGNR)."}},"additionalProperties":false,"description":"Represents a legal identifier with an associated scheme."}}}}
```

## The JournalDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"JournalDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier generated by the accounting system."},"reference":{"type":["null","string"],"description":"External reference or number assigned to the journal."},"transactionDate":{"type":["null","string"],"description":"Date when the transaction occurred. Format: yyyy-MM-dd."},"accountingSeries":{"$ref":"#/components/schemas/AccountingSeriesDto"},"description":{"$ref":"#/components/schemas/DescriptionDto"},"financialDimensions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/FinancialDimensionDto"},"description":"Collection of financial dimensions associated with the journal."},"accountingEntries":{"type":["null","array"],"items":{"$ref":"#/components/schemas/AccountingEntryDto"},"description":"Collection of accounting entries within the journal."}},"additionalProperties":false,"description":"Represents a journal entry with its accounting entries."},"AccountingSeriesDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier generated by the accounting system."},"reference":{"type":["null","string"],"description":"External reference or number assigned to the accounting series."},"accountingSeriesId":{"type":["null","string"],"description":"Accounting-system-specific identifier for the series."}},"additionalProperties":false,"description":"Represents an accounting series used to categorize journal entries."},"DescriptionDto":{"type":"object","properties":{"text":{"type":["null","string"],"description":"Content of the description."},"languageId":{"type":["null","string"],"description":"ISO 639-2 three-letter language code for the associated text, for example `ENG`, `SWE`, `DAN`, or `FIN`. Omit this value when the source system does not provide a language."}},"additionalProperties":false,"description":"Represents a description with an optional language identifier."},"FinancialDimensionDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the financial dimension."},"reference":{"type":["null","string"],"description":"Reference code for the financial dimension."},"type":{"type":["null","string"],"description":"Type or code of the financial dimension as exposed by the connected accounting system.\n\nKnown values currently emitted by supported connectors include:\n\n- businessGroup\n- campaign\n- costBearer\n- costCode\n- costUnit\n- customerGroup\n- department\n- employee\n- product\n- project\n- purchaser\n- salesPerson\n- salesRegion\n- supplierGroup\n\nSome connectors can also return additional system-specific dimension codes (for example custom Business Central dimension codes)."},"name":{"type":["null","string"],"description":"Display name of the financial dimension."},"description":{"type":["null","string"],"description":"Description of the financial dimension."},"isActive":{"type":["null","boolean"],"description":"Indicates whether the financial dimension is active."}},"additionalProperties":false,"description":"Represents a financial dimension used to assign granularity to financial reports (e.g. cost center, project)."},"AccountingEntryDto":{"type":"object","properties":{"description":{"$ref":"#/components/schemas/DescriptionDto"},"accountingAccount":{"$ref":"#/components/schemas/AccountingAccountDto"},"debitAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"creditAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"financialDimensions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/FinancialDimensionDto"},"description":"Collection of financial dimensions associated with the entry."}},"additionalProperties":false,"description":"Represents an accounting entry line within a journal."},"AccountingAccountDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier generated by the accounting system."},"accountingAccountId":{"type":["null","string"],"description":"Deprecated. Use ZG.AccountingService.AccountingModels.Dtos.Output.AccountingAccountDto.Reference instead. (Deprecated: Use Reference instead.)","deprecated":true},"reference":{"type":["null","string"],"description":"External reference or number assigned to the account."},"standardAccountingAccountId":{"type":["null","string"],"description":"Standard accounting account identifier used for classification."},"name":{"type":["null","string"],"description":"Display name of the accounting account."},"active":{"type":["null","boolean"],"description":"Indicates whether the account is active."},"postable":{"type":["null","boolean"],"description":"Indicates whether transactions can be posted to the account."},"description":{"description":"Deprecated: Use Descriptions instead.","deprecated":true,"$ref":"#/components/schemas/DescriptionDto"},"descriptions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/DescriptionDto"},"description":"Collection of descriptions for the accounting account."},"accountingAccountTypeCode":{"$ref":"#/components/schemas/PriceTypeCodeDto"},"financialDimensions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/FinancialDimensionDto"},"description":"Collection of financial dimensions associated with the account."}},"additionalProperties":false,"description":"Represents an accounting account in the chart of accounts."},"PriceTypeCodeDto":{"type":"object","properties":{"code":{"type":["null","string"],"description":"Price type code value."},"listId":{"type":["null","string"],"description":"Identifier of the code list the code belongs to."}},"additionalProperties":false,"description":"Represents a price type classification code."},"AmountTypeDto":{"type":"object","properties":{"amount":{"type":"number","description":"The balance amount.","format":"double"},"currencyId":{"type":["null","string"],"description":"The currency code (e.g. SEK)."}},"additionalProperties":false,"description":"Represents a monetary amount with an associated currency."}}}}
```

## The JournalDtoPagedResultDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"JournalDtoPagedResultDto":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/PagedResultMetadataDto"},"data":{"type":["null","array"],"items":{"$ref":"#/components/schemas/JournalDto"},"description":"Collection of items in the current page."}},"additionalProperties":false,"description":"Represents a paginated result containing metadata and a collection of items."},"PagedResultMetadataDto":{"type":"object","properties":{"totalResources":{"type":["null","integer"],"description":"Total number of resources across all pages.","format":"int32"},"totalPages":{"type":["null","integer"],"description":"Total number of pages available.","format":"int32"},"currentPage":{"type":"integer","description":"The current page number.","format":"int32"}},"additionalProperties":false,"description":"Represents pagination metadata for a paged result set."},"JournalDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier generated by the accounting system."},"reference":{"type":["null","string"],"description":"External reference or number assigned to the journal."},"transactionDate":{"type":["null","string"],"description":"Date when the transaction occurred. Format: yyyy-MM-dd."},"accountingSeries":{"$ref":"#/components/schemas/AccountingSeriesDto"},"description":{"$ref":"#/components/schemas/DescriptionDto"},"financialDimensions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/FinancialDimensionDto"},"description":"Collection of financial dimensions associated with the journal."},"accountingEntries":{"type":["null","array"],"items":{"$ref":"#/components/schemas/AccountingEntryDto"},"description":"Collection of accounting entries within the journal."}},"additionalProperties":false,"description":"Represents a journal entry with its accounting entries."},"AccountingSeriesDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier generated by the accounting system."},"reference":{"type":["null","string"],"description":"External reference or number assigned to the accounting series."},"accountingSeriesId":{"type":["null","string"],"description":"Accounting-system-specific identifier for the series."}},"additionalProperties":false,"description":"Represents an accounting series used to categorize journal entries."},"DescriptionDto":{"type":"object","properties":{"text":{"type":["null","string"],"description":"Content of the description."},"languageId":{"type":["null","string"],"description":"ISO 639-2 three-letter language code for the associated text, for example `ENG`, `SWE`, `DAN`, or `FIN`. Omit this value when the source system does not provide a language."}},"additionalProperties":false,"description":"Represents a description with an optional language identifier."},"FinancialDimensionDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the financial dimension."},"reference":{"type":["null","string"],"description":"Reference code for the financial dimension."},"type":{"type":["null","string"],"description":"Type or code of the financial dimension as exposed by the connected accounting system.\n\nKnown values currently emitted by supported connectors include:\n\n- businessGroup\n- campaign\n- costBearer\n- costCode\n- costUnit\n- customerGroup\n- department\n- employee\n- product\n- project\n- purchaser\n- salesPerson\n- salesRegion\n- supplierGroup\n\nSome connectors can also return additional system-specific dimension codes (for example custom Business Central dimension codes)."},"name":{"type":["null","string"],"description":"Display name of the financial dimension."},"description":{"type":["null","string"],"description":"Description of the financial dimension."},"isActive":{"type":["null","boolean"],"description":"Indicates whether the financial dimension is active."}},"additionalProperties":false,"description":"Represents a financial dimension used to assign granularity to financial reports (e.g. cost center, project)."},"AccountingEntryDto":{"type":"object","properties":{"description":{"$ref":"#/components/schemas/DescriptionDto"},"accountingAccount":{"$ref":"#/components/schemas/AccountingAccountDto"},"debitAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"creditAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"financialDimensions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/FinancialDimensionDto"},"description":"Collection of financial dimensions associated with the entry."}},"additionalProperties":false,"description":"Represents an accounting entry line within a journal."},"AccountingAccountDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier generated by the accounting system."},"accountingAccountId":{"type":["null","string"],"description":"Deprecated. Use ZG.AccountingService.AccountingModels.Dtos.Output.AccountingAccountDto.Reference instead. (Deprecated: Use Reference instead.)","deprecated":true},"reference":{"type":["null","string"],"description":"External reference or number assigned to the account."},"standardAccountingAccountId":{"type":["null","string"],"description":"Standard accounting account identifier used for classification."},"name":{"type":["null","string"],"description":"Display name of the accounting account."},"active":{"type":["null","boolean"],"description":"Indicates whether the account is active."},"postable":{"type":["null","boolean"],"description":"Indicates whether transactions can be posted to the account."},"description":{"description":"Deprecated: Use Descriptions instead.","deprecated":true,"$ref":"#/components/schemas/DescriptionDto"},"descriptions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/DescriptionDto"},"description":"Collection of descriptions for the accounting account."},"accountingAccountTypeCode":{"$ref":"#/components/schemas/PriceTypeCodeDto"},"financialDimensions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/FinancialDimensionDto"},"description":"Collection of financial dimensions associated with the account."}},"additionalProperties":false,"description":"Represents an accounting account in the chart of accounts."},"PriceTypeCodeDto":{"type":"object","properties":{"code":{"type":["null","string"],"description":"Price type code value."},"listId":{"type":["null","string"],"description":"Identifier of the code list the code belongs to."}},"additionalProperties":false,"description":"Represents a price type classification code."},"AmountTypeDto":{"type":"object","properties":{"amount":{"type":"number","description":"The balance amount.","format":"double"},"currencyId":{"type":["null","string"],"description":"The currency code (e.g. SEK)."}},"additionalProperties":false,"description":"Represents a monetary amount with an associated currency."}}}}
```

## The LegalMonetaryTotalDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"LegalMonetaryTotalDto":{"type":"object","properties":{"taxInclusiveAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"prepaidAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"payableRoundingAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"payableAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"lineExtensionAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"taxExclusiveAmount":{"$ref":"#/components/schemas/AmountTypeDto"}},"additionalProperties":false,"description":"Represents the legal monetary totals of an invoice."},"AmountTypeDto":{"type":"object","properties":{"amount":{"type":"number","description":"The balance amount.","format":"double"},"currencyId":{"type":["null","string"],"description":"The currency code (e.g. SEK)."}},"additionalProperties":false,"description":"Represents a monetary amount with an associated currency."}}}}
```

## The NoteDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"NoteDto":{"type":"object","properties":{"text":{"type":["null","string"],"description":"Content of the note."},"languageId":{"type":["null","string"],"description":"ISO 639-2 three-letter language code for the associated text, for example `ENG`, `SWE`, `DAN`, or `FIN`. Omit this value when the source system does not provide a language."}},"additionalProperties":false,"description":"Represents a textual note with an optional language identifier."}}}}
```

## The OrderReferenceDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"OrderReferenceDto":{"type":"object","properties":{"buyerOrderId":{"type":["null","string"],"description":"Order number of the buyer (generated by the customer's system)."},"sellerOrderId":{"type":["null","string"],"description":"Order number of the seller (generated by the seller's system)."}},"additionalProperties":false,"description":"Represents a reference to the order from which the invoice originates."}}}}
```

## The PagedResultMetadataDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"PagedResultMetadataDto":{"type":"object","properties":{"totalResources":{"type":["null","integer"],"description":"Total number of resources across all pages.","format":"int32"},"totalPages":{"type":["null","integer"],"description":"Total number of pages available.","format":"int32"},"currentPage":{"type":"integer","description":"The current page number.","format":"int32"}},"additionalProperties":false,"description":"Represents pagination metadata for a paged result set."}}}}
```

## The PartyDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"PartyDto":{"type":"object","properties":{"partyIdentification":{"type":["null","array"],"items":{"$ref":"#/components/schemas/IdentifierDto"},"description":"Collection of identifiers for the party."},"partyName":{"$ref":"#/components/schemas/PartyNameDto"},"postalAddress":{"$ref":"#/components/schemas/AddressDto"},"partyLegalEntity":{"$ref":"#/components/schemas/PartyLegalEntityDto"},"contact":{"$ref":"#/components/schemas/ContactDto"},"endpointId":{"$ref":"#/components/schemas/IdentifierDto"}},"additionalProperties":false,"description":"Represents a party (organization or individual) involved in a transaction."},"IdentifierDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Legal identifier."},"schemeId":{"type":["null","string"],"description":"Legal identifier scheme (e.g. SE:ORGNR)."}},"additionalProperties":false,"description":"Represents a legal identifier with an associated scheme."},"PartyNameDto":{"type":"object","properties":{"name":{"type":["null","string"],"description":"Name of the party."},"languageId":{"type":["null","string"],"description":"ISO 639-2 three-letter language code for the associated text, for example `ENG`, `SWE`, `DAN`, or `FIN`. Omit this value when the source system does not provide a language."}},"additionalProperties":false,"description":"Represents the name of a party with an optional language identifier."},"AddressDto":{"type":"object","properties":{"buildingNumber":{"type":["null","string"],"description":"Building number of the address."},"streetName":{"type":["null","string"],"description":"Primary street name."},"additionalStreetName":{"type":["null","string"],"description":"Secondary street name or additional address line."},"cityName":{"type":["null","string"],"description":"City or locality name."},"postalZone":{"type":["null","string"],"description":"Postal or ZIP code."},"country":{"$ref":"#/components/schemas/CountryDto"}},"additionalProperties":false,"description":"Represents a postal address."},"CountryDto":{"type":"object","properties":{"identificationCode":{"type":["null","string"],"description":"ISO 3166-1 alpha-2 country code."},"name":{"type":["null","string"],"description":"Country name."}},"additionalProperties":false,"description":"Represents a country with its identification code and name."},"PartyLegalEntityDto":{"type":"object","properties":{"registrationName":{"type":["null","string"],"description":"Registered legal name of the entity."},"companyId":{"$ref":"#/components/schemas/IdentifierDto"}},"additionalProperties":false,"description":"Represents the legal entity information of a party."},"ContactDto":{"type":"object","properties":{"name":{"type":["null","string"],"description":"Contact person name."},"telephone":{"type":["null","string"],"description":"Primary telephone number."},"email":{"type":["null","string"],"description":"Primary email address."},"secondaryEmail":{"type":["null","string"],"description":"Secondary email address."}},"additionalProperties":false,"description":"Represents contact information for a party."}}}}
```

## The PartyInputDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"PartyInputDto":{"type":"object","properties":{"partyName":{"$ref":"#/components/schemas/PartyNameDto"},"postalAddress":{"$ref":"#/components/schemas/AddressDto"},"partyLegalEntity":{"$ref":"#/components/schemas/PartyLegalEntityDto"},"contact":{"$ref":"#/components/schemas/ContactDto"},"endpointId":{"$ref":"#/components/schemas/IdentifierDto"},"partyIdentification":{"type":["null","array"],"items":{"$ref":"#/components/schemas/IdentifierDto"},"description":"Collection of identifiers for the party."}},"additionalProperties":false,"description":"Represents a party (business entity) involved in an invoice."},"PartyNameDto":{"type":"object","properties":{"name":{"type":["null","string"],"description":"Name of the party."},"languageId":{"type":["null","string"],"description":"ISO 639-2 three-letter language code for the associated text, for example `ENG`, `SWE`, `DAN`, or `FIN`. Omit this value when the source system does not provide a language."}},"additionalProperties":false,"description":"Represents the name of a party with an optional language identifier."},"AddressDto":{"type":"object","properties":{"buildingNumber":{"type":["null","string"],"description":"Building number of the address."},"streetName":{"type":["null","string"],"description":"Primary street name."},"additionalStreetName":{"type":["null","string"],"description":"Secondary street name or additional address line."},"cityName":{"type":["null","string"],"description":"City or locality name."},"postalZone":{"type":["null","string"],"description":"Postal or ZIP code."},"country":{"$ref":"#/components/schemas/CountryDto"}},"additionalProperties":false,"description":"Represents a postal address."},"CountryDto":{"type":"object","properties":{"identificationCode":{"type":["null","string"],"description":"ISO 3166-1 alpha-2 country code."},"name":{"type":["null","string"],"description":"Country name."}},"additionalProperties":false,"description":"Represents a country with its identification code and name."},"PartyLegalEntityDto":{"type":"object","properties":{"registrationName":{"type":["null","string"],"description":"Registered legal name of the entity."},"companyId":{"$ref":"#/components/schemas/IdentifierDto"}},"additionalProperties":false,"description":"Represents the legal entity information of a party."},"IdentifierDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Legal identifier."},"schemeId":{"type":["null","string"],"description":"Legal identifier scheme (e.g. SE:ORGNR)."}},"additionalProperties":false,"description":"Represents a legal identifier with an associated scheme."},"ContactDto":{"type":"object","properties":{"name":{"type":["null","string"],"description":"Contact person name."},"telephone":{"type":["null","string"],"description":"Primary telephone number."},"email":{"type":["null","string"],"description":"Primary email address."},"secondaryEmail":{"type":["null","string"],"description":"Secondary email address."}},"additionalProperties":false,"description":"Represents contact information for a party."}}}}
```

## The PartyLegalEntityDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"PartyLegalEntityDto":{"type":"object","properties":{"registrationName":{"type":["null","string"],"description":"Registered legal name of the entity."},"companyId":{"$ref":"#/components/schemas/IdentifierDto"}},"additionalProperties":false,"description":"Represents the legal entity information of a party."},"IdentifierDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Legal identifier."},"schemeId":{"type":["null","string"],"description":"Legal identifier scheme (e.g. SE:ORGNR)."}},"additionalProperties":false,"description":"Represents a legal identifier with an associated scheme."}}}}
```

## The PartyNameDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"PartyNameDto":{"type":"object","properties":{"name":{"type":["null","string"],"description":"Name of the party."},"languageId":{"type":["null","string"],"description":"ISO 639-2 three-letter language code for the associated text, for example `ENG`, `SWE`, `DAN`, or `FIN`. Omit this value when the source system does not provide a language."}},"additionalProperties":false,"description":"Represents the name of a party with an optional language identifier."}}}}
```

## The PartySummaryDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"PartySummaryDto":{"type":"object","properties":{"partyName":{"$ref":"#/components/schemas/PartyNameDto"}},"additionalProperties":false,"description":"Represents a summarized view of a party."},"PartyNameDto":{"type":"object","properties":{"name":{"type":["null","string"],"description":"Name of the party."},"languageId":{"type":["null","string"],"description":"ISO 639-2 three-letter language code for the associated text, for example `ENG`, `SWE`, `DAN`, or `FIN`. Omit this value when the source system does not provide a language."}},"additionalProperties":false,"description":"Represents the name of a party with an optional language identifier."}}}}
```

## The PayeeFinancialAccountDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"PayeeFinancialAccountDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the financial account."},"financialInstitution":{"type":["null","string"],"description":"Name or identifier of the financial institution."}},"additionalProperties":false,"description":"Represents a payee's financial account details."}}}}
```

## The PaymentConditionDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"PaymentConditionDto":{"type":"object","properties":{"conditionCode":{"type":["null","string"],"description":"Code identifying the payment condition."},"referenceDate":{"type":["null","string"],"description":"Reference date associated with the payment condition.","format":"date-time"},"statusReason":{"type":["null","string"],"description":"Reason describing the payment status."}},"additionalProperties":false,"description":"Represents the condition or status of a payment."}}}}
```

## The PaymentMeansDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"PaymentMeansDto":{"type":"object","properties":{"paymentChannelCode":{"type":["null","string"],"description":"Code identifying the payment channel."},"paymentDueDate":{"type":["null","string"],"description":"Date the payment is due."},"paymentIds":{"type":["null","array"],"items":{"$ref":"#/components/schemas/IdentifierDto"},"description":"Collection of payment identifiers."},"financialAccount":{"$ref":"#/components/schemas/FinancialAccountDto"}},"additionalProperties":false,"description":"Represents the payment means associated with an invoice."},"IdentifierDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Legal identifier."},"schemeId":{"type":["null","string"],"description":"Legal identifier scheme (e.g. SE:ORGNR)."}},"additionalProperties":false,"description":"Represents a legal identifier with an associated scheme."},"FinancialAccountDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the financial account."},"financialInstitution":{"type":["null","string"],"description":"Name or identifier of the financial institution."}},"additionalProperties":false,"description":"Represents a financial account used for payments."}}}}
```

## The PaymentMeansInputDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"PaymentMeansInputDto":{"type":"object","properties":{"paymentChannelCode":{"type":["null","string"],"description":"Code identifying the payment channel (e.g. bank transfer, credit card)."},"paymentDueDate":{"type":["null","string"],"description":"Due date for the payment."},"paymentIds":{"type":["null","array"],"items":{"$ref":"#/components/schemas/IdentifierDto"},"description":"Collection of payment identifiers (e.g. bank account numbers)."}},"additionalProperties":false,"description":"Represents the means of payment for an invoice."},"IdentifierDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Legal identifier."},"schemeId":{"type":["null","string"],"description":"Legal identifier scheme (e.g. SE:ORGNR)."}},"additionalProperties":false,"description":"Represents a legal identifier with an associated scheme."}}}}
```

## The PaymentMeansNewDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"PaymentMeansNewDto":{"type":"object","properties":{"paymentChannelCode":{"type":["null","string"],"description":"Code identifying the payment channel."},"payeeFinancialAccount":{"type":["null","string"],"description":"Payee financial account identifier. Obsolete: use FinancialAccount.Id instead. (Deprecated: Use FinancialAccount.Id instead)","deprecated":true},"financialAccount":{"$ref":"#/components/schemas/FinancialAccountDto"}},"additionalProperties":false,"description":"Represents payment means with financial account details."},"FinancialAccountDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the financial account."},"financialInstitution":{"type":["null","string"],"description":"Name or identifier of the financial institution."}},"additionalProperties":false,"description":"Represents a financial account used for payments."}}}}
```

## The PaymentStatusDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"PaymentStatusDto":{"type":"object","properties":{"status":{"enum":["UNPAID","PARTLY_PAID","FULLY_PAID"],"type":["null","string"],"description":"Current payment status."},"settlementDate":{"type":["null","string"],"description":"Date when the payment was settled."}},"additionalProperties":false,"description":"Represents the payment status of an invoice."}}}}
```

## The PaymentTermsDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"PaymentTermsDto":{"type":"object","properties":{"paymentTermsId":{"$ref":"#/components/schemas/IdentifierDto"},"notes":{"type":["null","array"],"items":{"$ref":"#/components/schemas/NoteDto"},"description":"Collection of notes describing the payment terms."}},"additionalProperties":false,"description":"Represents payment terms associated with an invoice."},"IdentifierDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Legal identifier."},"schemeId":{"type":["null","string"],"description":"Legal identifier scheme (e.g. SE:ORGNR)."}},"additionalProperties":false,"description":"Represents a legal identifier with an associated scheme."},"NoteDto":{"type":"object","properties":{"text":{"type":["null","string"],"description":"Content of the note."},"languageId":{"type":["null","string"],"description":"ISO 639-2 three-letter language code for the associated text, for example `ENG`, `SWE`, `DAN`, or `FIN`. Omit this value when the source system does not provide a language."}},"additionalProperties":false,"description":"Represents a textual note with an optional language identifier."}}}}
```

## The PaymentTermsInputDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"PaymentTermsInputDto":{"type":"object","properties":{"paymentTermsId":{"$ref":"#/components/schemas/IdentifierDto"},"notes":{"type":["null","array"],"items":{"$ref":"#/components/schemas/NoteDto"},"description":"Collection of notes describing the payment terms."}},"additionalProperties":false,"description":"Represents payment terms for an invoice."},"IdentifierDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Legal identifier."},"schemeId":{"type":["null","string"],"description":"Legal identifier scheme (e.g. SE:ORGNR)."}},"additionalProperties":false,"description":"Represents a legal identifier with an associated scheme."},"NoteDto":{"type":"object","properties":{"text":{"type":["null","string"],"description":"Content of the note."},"languageId":{"type":["null","string"],"description":"ISO 639-2 three-letter language code for the associated text, for example `ENG`, `SWE`, `DAN`, or `FIN`. Omit this value when the source system does not provide a language."}},"additionalProperties":false,"description":"Represents a textual note with an optional language identifier."}}}}
```

## The PeriodDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"PeriodDto":{"type":"object","properties":{"startDate":{"type":["null","string"],"description":"Start date of the period."},"endDate":{"type":["null","string"],"description":"End date of the period."}},"additionalProperties":false,"description":"Represents a date period defined by a start and end date."}}}}
```

## The PriceDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"PriceDto":{"type":"object","properties":{"priceAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"priceTypeCode":{"$ref":"#/components/schemas/PriceTypeCodeDto"},"allowanceCharges":{"type":["null","array"],"items":{"$ref":"#/components/schemas/AllowanceChargeDto"},"description":"Collection of allowances or charges applied to the price."},"baseQuantity":{"$ref":"#/components/schemas/InvoicedQuantityDto"}},"additionalProperties":false,"description":"Represents price information for an invoiced item."},"AmountTypeDto":{"type":"object","properties":{"amount":{"type":"number","description":"The balance amount.","format":"double"},"currencyId":{"type":["null","string"],"description":"The currency code (e.g. SEK)."}},"additionalProperties":false,"description":"Represents a monetary amount with an associated currency."},"PriceTypeCodeDto":{"type":"object","properties":{"code":{"type":["null","string"],"description":"Price type code value."},"listId":{"type":["null","string"],"description":"Identifier of the code list the code belongs to."}},"additionalProperties":false,"description":"Represents a price type classification code."},"AllowanceChargeDto":{"type":"object","properties":{"allowanceChargeId":{"$ref":"#/components/schemas/IdentifierDto"},"chargeIndicator":{"type":"boolean","description":"Indicates whether this entry is a charge (true) or an allowance (false)."},"allowanceChargeReason":{"type":["null","string"],"description":"Reason for the allowance or charge."},"allowanceChargeAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"taxTotal":{"$ref":"#/components/schemas/TaxTotalDto"},"taxCategory":{"$ref":"#/components/schemas/TaxCategoryDto"},"allowanceChargeBaseAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"multiplierFactorNumeric":{"type":["null","number"],"description":"Multiplier factor used to calculate the allowance or charge.","format":"double"}},"additionalProperties":false,"description":"Represents an allowance or charge applied to an invoice or line item."},"IdentifierDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Legal identifier."},"schemeId":{"type":["null","string"],"description":"Legal identifier scheme (e.g. SE:ORGNR)."}},"additionalProperties":false,"description":"Represents a legal identifier with an associated scheme."},"TaxTotalDto":{"type":"object","properties":{"taxAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"taxIncludedIndicator":{"type":["null","boolean"],"description":"Indicates whether the tax is included in the line amounts."},"taxSubtotals":{"type":["null","array"],"items":{"$ref":"#/components/schemas/TaxSubtotalDto"},"description":"Collection of tax subtotals broken down by category."}},"additionalProperties":false,"description":"Represents the total tax amount for an invoice or line item."},"TaxSubtotalDto":{"type":"object","properties":{"taxableAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"taxAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"taxCategory":{"$ref":"#/components/schemas/TaxSubtotalTaxCategoryDto"}},"additionalProperties":false,"description":"Represents a tax subtotal within a tax total."},"TaxSubtotalTaxCategoryDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the tax category."},"percent":{"type":["null","number"],"description":"Tax rate percentage for this category.","format":"double"},"taxScheme":{"$ref":"#/components/schemas/TaxCategoryTaxSchemeDto"},"taxExemptionReason":{"type":["null","string"],"description":"Reason for tax exemption, if applicable."},"taxExemptionReasonCode":{"type":["null","string"],"description":"Code identifying the tax exemption reason."}},"additionalProperties":false,"description":"Represents the tax category details within a tax subtotal."},"TaxCategoryTaxSchemeDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the tax scheme."}},"additionalProperties":false,"description":"Represents the tax scheme associated with a tax category."},"TaxCategoryDto":{"type":"object","properties":{"percent":{"type":"number","description":"Tax rate percentage for this category.","format":"double"},"taxScheme":{"$ref":"#/components/schemas/TaxSchemeDto"},"id":{"type":["null","string"],"description":"Unique identifier for the tax category."}},"additionalProperties":false,"description":"Represents a tax category with its percentage rate and scheme."},"TaxSchemeDto":{"type":"object","properties":{"taxSchemeId":{"$ref":"#/components/schemas/IdentifierDto"}},"additionalProperties":false,"description":"Represents a tax scheme."},"InvoicedQuantityDto":{"type":"object","properties":{"quantity":{"type":["null","number"],"description":"Number of units invoiced.","format":"double"},"unitCode":{"type":["null","string"],"description":"Unit of measure code (e.g. EA, KG)."}},"additionalProperties":false,"description":"Represents an invoiced quantity with its unit of measure."}}}}
```

## The PriceInputDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"PriceInputDto":{"type":"object","properties":{"priceAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"priceTypeCode":{"$ref":"#/components/schemas/PriceTypeCodeDto"},"baseQuantity":{"$ref":"#/components/schemas/InvoicedQuantityDto"},"allowanceCharges":{"type":["null","array"],"items":{"$ref":"#/components/schemas/AllowanceChargeInputDto"},"description":"Collection of allowances and charges applied to the price."}},"additionalProperties":false,"description":"Represents price details for an invoice line item."},"AmountTypeDto":{"type":"object","properties":{"amount":{"type":"number","description":"The balance amount.","format":"double"},"currencyId":{"type":["null","string"],"description":"The currency code (e.g. SEK)."}},"additionalProperties":false,"description":"Represents a monetary amount with an associated currency."},"PriceTypeCodeDto":{"type":"object","properties":{"code":{"type":["null","string"],"description":"Price type code value."},"listId":{"type":["null","string"],"description":"Identifier of the code list the code belongs to."}},"additionalProperties":false,"description":"Represents a price type classification code."},"InvoicedQuantityDto":{"type":"object","properties":{"quantity":{"type":["null","number"],"description":"Number of units invoiced.","format":"double"},"unitCode":{"type":["null","string"],"description":"Unit of measure code (e.g. EA, KG)."}},"additionalProperties":false,"description":"Represents an invoiced quantity with its unit of measure."},"AllowanceChargeInputDto":{"type":"object","properties":{"allowanceChargeId":{"$ref":"#/components/schemas/IdentifierDto"},"chargeIndicator":{"type":"boolean","description":"Indicates whether this is a charge (true) or an allowance (false)."},"allowanceChargeReason":{"type":["null","string"],"description":"Reason for the allowance or charge."},"allowanceChargeAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"taxTotal":{"$ref":"#/components/schemas/TaxTotalInputDto"},"taxCategory":{"$ref":"#/components/schemas/TaxCategoryDto"},"allowanceChargeBaseAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"multiplierFactorNumeric":{"type":["null","number"],"description":"Multiplier factor used to calculate the allowance or charge.","format":"double"}},"additionalProperties":false,"description":"Represents an allowance or charge applied to an invoice or invoice line."},"IdentifierDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Legal identifier."},"schemeId":{"type":["null","string"],"description":"Legal identifier scheme (e.g. SE:ORGNR)."}},"additionalProperties":false,"description":"Represents a legal identifier with an associated scheme."},"TaxTotalInputDto":{"type":"object","properties":{"taxAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"taxIncludedIndicator":{"type":["null","boolean"],"description":"Indicates whether the tax is included in the line amounts."},"taxSubtotals":{"type":["null","array"],"items":{"$ref":"#/components/schemas/TaxSubtotalDto"},"description":"Collection of tax subtotals composing this tax total."}},"additionalProperties":false,"description":"Represents the total tax amount for an invoice or line."},"TaxSubtotalDto":{"type":"object","properties":{"taxableAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"taxAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"taxCategory":{"$ref":"#/components/schemas/TaxSubtotalTaxCategoryDto"}},"additionalProperties":false,"description":"Represents a tax subtotal within a tax total."},"TaxSubtotalTaxCategoryDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the tax category."},"percent":{"type":["null","number"],"description":"Tax rate percentage for this category.","format":"double"},"taxScheme":{"$ref":"#/components/schemas/TaxCategoryTaxSchemeDto"},"taxExemptionReason":{"type":["null","string"],"description":"Reason for tax exemption, if applicable."},"taxExemptionReasonCode":{"type":["null","string"],"description":"Code identifying the tax exemption reason."}},"additionalProperties":false,"description":"Represents the tax category details within a tax subtotal."},"TaxCategoryTaxSchemeDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the tax scheme."}},"additionalProperties":false,"description":"Represents the tax scheme associated with a tax category."},"TaxCategoryDto":{"type":"object","properties":{"percent":{"type":"number","description":"Tax rate percentage for this category.","format":"double"},"taxScheme":{"$ref":"#/components/schemas/TaxSchemeDto"},"id":{"type":["null","string"],"description":"Unique identifier for the tax category."}},"additionalProperties":false,"description":"Represents a tax category with its percentage rate and scheme."},"TaxSchemeDto":{"type":"object","properties":{"taxSchemeId":{"$ref":"#/components/schemas/IdentifierDto"}},"additionalProperties":false,"description":"Represents a tax scheme."}}}}
```

## The PriceTypeCodeDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"PriceTypeCodeDto":{"type":"object","properties":{"code":{"type":["null","string"],"description":"Price type code value."},"listId":{"type":["null","string"],"description":"Identifier of the code list the code belongs to."}},"additionalProperties":false,"description":"Represents a price type classification code."}}}}
```

## The ProblemDetails object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"ProblemDetails":{"type":"object","properties":{"type":{"type":["null","string"]},"title":{"type":["null","string"]},"status":{"type":["null","integer"],"format":"int32"},"detail":{"type":["null","string"]},"instance":{"type":["null","string"]}},"additionalProperties":{}}}}}
```

## The ReminderDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"ReminderDto":{"type":"object","properties":{"reminderSequence":{"type":["null","integer"],"description":"Sequence number of the reminder.","format":"int32"},"lastReminderDate":{"type":["null","string"],"description":"Date of the most recent reminder sent."}},"additionalProperties":false,"description":"Represents reminder information for an invoice."}}}}
```

## The SalesInvoiceDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"SalesInvoiceDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier generated by the accounting system."},"reference":{"type":["null","string"],"description":"External reference or number assigned to the invoice."},"buyerReference":{"type":["null","string"],"description":"Reference for the buyer, usually the buyer's purchase order number."},"bookedInvoiceIndicator":{"type":["null","boolean"],"description":"Indicates whether the invoice is booked."},"cancelledInvoiceIndicator":{"type":["null","boolean"],"description":"Indicates whether the invoice is cancelled."},"issueDate":{"type":["null","string"],"description":"Date when the invoice was issued. Format: yyyy-MM-dd."},"issueTime":{"type":["null","string"],"description":"Time when the invoice was issued (null if not available)."},"dueDate":{"type":["null","string"],"description":"Date when the invoice payment is due. Format: yyyy-MM-dd."},"creditInvoice":{"$ref":"#/components/schemas/CreditInvoiceDto"},"financialDimensions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/FinancialDimensionDto"},"description":"Collection of financial dimensions associated with the invoice."},"notes":{"type":["null","array"],"items":{"$ref":"#/components/schemas/NoteDto"},"description":"Collection of notes attached to the invoice."},"orderReference":{"$ref":"#/components/schemas/OrderReferenceDto"},"documentCurrencyCode":{"$ref":"#/components/schemas/DocumentCurrencyCodeDto"},"accountingSupplierParty":{"$ref":"#/components/schemas/SupplierPartyDto"},"accountingCustomerParty":{"$ref":"#/components/schemas/CustomerPartyDto"},"invoicePeriod":{"$ref":"#/components/schemas/PeriodDto"},"delivery":{"$ref":"#/components/schemas/DeliveryDto"},"deliveryTerms":{"$ref":"#/components/schemas/DeliveryTermsDto"},"paymentTerms":{"$ref":"#/components/schemas/PaymentTermsDto"},"paymentMeans":{"type":["null","array"],"items":{"$ref":"#/components/schemas/PaymentMeansDto"},"description":"Collection of payment means for the invoice."},"allowanceCharges":{"type":["null","array"],"items":{"$ref":"#/components/schemas/AllowanceChargeDto"},"description":"Collection of allowance and charge adjustments on the invoice."},"taxTotals":{"type":["null","array"],"items":{"$ref":"#/components/schemas/TaxTotalDto"},"description":"Collection of tax totals for the invoice."},"withholdingTaxTotals":{"type":["null","array"],"items":{"$ref":"#/components/schemas/WithholdingTaxTotalDto"},"description":"Collection of withholding tax totals for the invoice."},"totalBalanceAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"additionalDocumentReferences":{"type":["null","array"],"items":{"$ref":"#/components/schemas/AdditionalDocumentReferenceDto"},"description":"Collection of additional document references attached to the invoice."},"legalMonetaryTotal":{"$ref":"#/components/schemas/LegalMonetaryTotalDto"},"paymentStatus":{"$ref":"#/components/schemas/PaymentStatusDto"},"sellerReference":{"type":["null","string"],"description":"External reference or number assigned by the seller."},"isSent":{"type":["null","boolean"],"description":"Indicates whether the invoice has been sent."},"isSold":{"type":["null","boolean"],"description":"Indicates whether the invoice is sold to a factoring company for lending purposes."},"reminder":{"$ref":"#/components/schemas/ReminderDto"},"invoiceLines":{"type":["null","array"],"items":{"$ref":"#/components/schemas/InvoiceLineDto"},"description":"Collection of invoice line items."}},"additionalProperties":false,"description":"Represents a sales invoice with full detail."},"CreditInvoiceDto":{"type":"object","properties":{"creditInvoiceIndicator":{"type":["null","boolean"],"description":"Indicates whether the invoice is a credit invoice or credit note."},"creditInvoiceDocumentReferences":{"type":["null","array"],"items":{"$ref":"#/components/schemas/CreditInvoiceDocumentReferenceDto"},"description":"Collection of document references to credited or credit invoices."}},"additionalProperties":false,"description":"Represents credit invoice details associated with an invoice."},"CreditInvoiceDocumentReferenceDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the document reference."},"reference":{"type":["null","string"],"description":"Reference number of the credited invoice."},"documentType":{"enum":["Invoice","CreditInvoice"],"type":["null","string"],"description":"Type of the referenced document."}},"additionalProperties":false,"description":"Represents a reference to a credited invoice document."},"FinancialDimensionDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the financial dimension."},"reference":{"type":["null","string"],"description":"Reference code for the financial dimension."},"type":{"type":["null","string"],"description":"Type or code of the financial dimension as exposed by the connected accounting system.\n\nKnown values currently emitted by supported connectors include:\n\n- businessGroup\n- campaign\n- costBearer\n- costCode\n- costUnit\n- customerGroup\n- department\n- employee\n- product\n- project\n- purchaser\n- salesPerson\n- salesRegion\n- supplierGroup\n\nSome connectors can also return additional system-specific dimension codes (for example custom Business Central dimension codes)."},"name":{"type":["null","string"],"description":"Display name of the financial dimension."},"description":{"type":["null","string"],"description":"Description of the financial dimension."},"isActive":{"type":["null","boolean"],"description":"Indicates whether the financial dimension is active."}},"additionalProperties":false,"description":"Represents a financial dimension used to assign granularity to financial reports (e.g. cost center, project)."},"NoteDto":{"type":"object","properties":{"text":{"type":["null","string"],"description":"Content of the note."},"languageId":{"type":["null","string"],"description":"ISO 639-2 three-letter language code for the associated text, for example `ENG`, `SWE`, `DAN`, or `FIN`. Omit this value when the source system does not provide a language."}},"additionalProperties":false,"description":"Represents a textual note with an optional language identifier."},"OrderReferenceDto":{"type":"object","properties":{"buyerOrderId":{"type":["null","string"],"description":"Order number of the buyer (generated by the customer's system)."},"sellerOrderId":{"type":["null","string"],"description":"Order number of the seller (generated by the seller's system)."}},"additionalProperties":false,"description":"Represents a reference to the order from which the invoice originates."},"DocumentCurrencyCodeDto":{"type":"object","properties":{"currency":{"type":["null","string"],"description":"Deprecated. Use ZG.AccountingService.AccountingModels.Dtos.Common.DocumentCurrencyCodeDto.CurrencyId instead. Currency code of the document (e.g. SEK, EUR). (Deprecated: Use CurrencyId instead)","deprecated":true},"currencyId":{"type":["null","string"],"description":"Currency code of the document (e.g. SEK, EUR)."},"currencyRate":{"type":["null","number"],"description":"Exchange rate applied to the document currency.","format":"double"}},"additionalProperties":false,"description":"Represents the document currency and its exchange rate."},"SupplierPartyDto":{"type":"object","properties":{"customerAssignedAccountId":{"$ref":"#/components/schemas/IdentifierDto"},"party":{"$ref":"#/components/schemas/PartyDto"}},"additionalProperties":false,"description":"Represents the supplier party on an invoice."},"IdentifierDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Legal identifier."},"schemeId":{"type":["null","string"],"description":"Legal identifier scheme (e.g. SE:ORGNR)."}},"additionalProperties":false,"description":"Represents a legal identifier with an associated scheme."},"PartyDto":{"type":"object","properties":{"partyIdentification":{"type":["null","array"],"items":{"$ref":"#/components/schemas/IdentifierDto"},"description":"Collection of identifiers for the party."},"partyName":{"$ref":"#/components/schemas/PartyNameDto"},"postalAddress":{"$ref":"#/components/schemas/AddressDto"},"partyLegalEntity":{"$ref":"#/components/schemas/PartyLegalEntityDto"},"contact":{"$ref":"#/components/schemas/ContactDto"},"endpointId":{"$ref":"#/components/schemas/IdentifierDto"}},"additionalProperties":false,"description":"Represents a party (organization or individual) involved in a transaction."},"PartyNameDto":{"type":"object","properties":{"name":{"type":["null","string"],"description":"Name of the party."},"languageId":{"type":["null","string"],"description":"ISO 639-2 three-letter language code for the associated text, for example `ENG`, `SWE`, `DAN`, or `FIN`. Omit this value when the source system does not provide a language."}},"additionalProperties":false,"description":"Represents the name of a party with an optional language identifier."},"AddressDto":{"type":"object","properties":{"buildingNumber":{"type":["null","string"],"description":"Building number of the address."},"streetName":{"type":["null","string"],"description":"Primary street name."},"additionalStreetName":{"type":["null","string"],"description":"Secondary street name or additional address line."},"cityName":{"type":["null","string"],"description":"City or locality name."},"postalZone":{"type":["null","string"],"description":"Postal or ZIP code."},"country":{"$ref":"#/components/schemas/CountryDto"}},"additionalProperties":false,"description":"Represents a postal address."},"CountryDto":{"type":"object","properties":{"identificationCode":{"type":["null","string"],"description":"ISO 3166-1 alpha-2 country code."},"name":{"type":["null","string"],"description":"Country name."}},"additionalProperties":false,"description":"Represents a country with its identification code and name."},"PartyLegalEntityDto":{"type":"object","properties":{"registrationName":{"type":["null","string"],"description":"Registered legal name of the entity."},"companyId":{"$ref":"#/components/schemas/IdentifierDto"}},"additionalProperties":false,"description":"Represents the legal entity information of a party."},"ContactDto":{"type":"object","properties":{"name":{"type":["null","string"],"description":"Contact person name."},"telephone":{"type":["null","string"],"description":"Primary telephone number."},"email":{"type":["null","string"],"description":"Primary email address."},"secondaryEmail":{"type":["null","string"],"description":"Secondary email address."}},"additionalProperties":false,"description":"Represents contact information for a party."},"CustomerPartyDto":{"type":"object","properties":{"supplierAssignedAccountId":{"$ref":"#/components/schemas/IdentifierDto"},"party":{"$ref":"#/components/schemas/PartyDto"},"type":{"enum":["PrivatePerson","Company"],"type":["null","string"],"description":"Customer type classification."}},"additionalProperties":false,"description":"Represents the customer party on an invoice."},"PeriodDto":{"type":"object","properties":{"startDate":{"type":["null","string"],"description":"Start date of the period."},"endDate":{"type":["null","string"],"description":"End date of the period."}},"additionalProperties":false,"description":"Represents a date period defined by a start and end date."},"DeliveryDto":{"type":"object","properties":{"deliveryParty":{"$ref":"#/components/schemas/DeliveryPartyDto"},"carrierParty":{"$ref":"#/components/schemas/DeliveryPartyDto"},"actualDeliveryDate":{"type":["null","string"],"description":"Actual date of delivery."},"trackingId":{"type":["null","string"],"description":"Tracking identifier for the delivery shipment."},"deliveryAddress":{"$ref":"#/components/schemas/AddressDto"}},"additionalProperties":false,"description":"Represents delivery information for an invoice."},"DeliveryPartyDto":{"type":"object","properties":{"partyIdentification":{"$ref":"#/components/schemas/IdentifierDto"},"partyName":{"$ref":"#/components/schemas/PartyNameDto"}},"additionalProperties":false,"description":"Represents a party involved in a delivery."},"DeliveryTermsDto":{"type":"object","properties":{"deliveryTermsId":{"$ref":"#/components/schemas/IdentifierDto"},"specialTerms":{"$ref":"#/components/schemas/NoteDto"}},"additionalProperties":false,"description":"Represents delivery terms associated with an invoice."},"PaymentTermsDto":{"type":"object","properties":{"paymentTermsId":{"$ref":"#/components/schemas/IdentifierDto"},"notes":{"type":["null","array"],"items":{"$ref":"#/components/schemas/NoteDto"},"description":"Collection of notes describing the payment terms."}},"additionalProperties":false,"description":"Represents payment terms associated with an invoice."},"PaymentMeansDto":{"type":"object","properties":{"paymentChannelCode":{"type":["null","string"],"description":"Code identifying the payment channel."},"paymentDueDate":{"type":["null","string"],"description":"Date the payment is due."},"paymentIds":{"type":["null","array"],"items":{"$ref":"#/components/schemas/IdentifierDto"},"description":"Collection of payment identifiers."},"financialAccount":{"$ref":"#/components/schemas/FinancialAccountDto"}},"additionalProperties":false,"description":"Represents the payment means associated with an invoice."},"FinancialAccountDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the financial account."},"financialInstitution":{"type":["null","string"],"description":"Name or identifier of the financial institution."}},"additionalProperties":false,"description":"Represents a financial account used for payments."},"AllowanceChargeDto":{"type":"object","properties":{"allowanceChargeId":{"$ref":"#/components/schemas/IdentifierDto"},"chargeIndicator":{"type":"boolean","description":"Indicates whether this entry is a charge (true) or an allowance (false)."},"allowanceChargeReason":{"type":["null","string"],"description":"Reason for the allowance or charge."},"allowanceChargeAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"taxTotal":{"$ref":"#/components/schemas/TaxTotalDto"},"taxCategory":{"$ref":"#/components/schemas/TaxCategoryDto"},"allowanceChargeBaseAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"multiplierFactorNumeric":{"type":["null","number"],"description":"Multiplier factor used to calculate the allowance or charge.","format":"double"}},"additionalProperties":false,"description":"Represents an allowance or charge applied to an invoice or line item."},"AmountTypeDto":{"type":"object","properties":{"amount":{"type":"number","description":"The balance amount.","format":"double"},"currencyId":{"type":["null","string"],"description":"The currency code (e.g. SEK)."}},"additionalProperties":false,"description":"Represents a monetary amount with an associated currency."},"TaxTotalDto":{"type":"object","properties":{"taxAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"taxIncludedIndicator":{"type":["null","boolean"],"description":"Indicates whether the tax is included in the line amounts."},"taxSubtotals":{"type":["null","array"],"items":{"$ref":"#/components/schemas/TaxSubtotalDto"},"description":"Collection of tax subtotals broken down by category."}},"additionalProperties":false,"description":"Represents the total tax amount for an invoice or line item."},"TaxSubtotalDto":{"type":"object","properties":{"taxableAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"taxAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"taxCategory":{"$ref":"#/components/schemas/TaxSubtotalTaxCategoryDto"}},"additionalProperties":false,"description":"Represents a tax subtotal within a tax total."},"TaxSubtotalTaxCategoryDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the tax category."},"percent":{"type":["null","number"],"description":"Tax rate percentage for this category.","format":"double"},"taxScheme":{"$ref":"#/components/schemas/TaxCategoryTaxSchemeDto"},"taxExemptionReason":{"type":["null","string"],"description":"Reason for tax exemption, if applicable."},"taxExemptionReasonCode":{"type":["null","string"],"description":"Code identifying the tax exemption reason."}},"additionalProperties":false,"description":"Represents the tax category details within a tax subtotal."},"TaxCategoryTaxSchemeDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the tax scheme."}},"additionalProperties":false,"description":"Represents the tax scheme associated with a tax category."},"TaxCategoryDto":{"type":"object","properties":{"percent":{"type":"number","description":"Tax rate percentage for this category.","format":"double"},"taxScheme":{"$ref":"#/components/schemas/TaxSchemeDto"},"id":{"type":["null","string"],"description":"Unique identifier for the tax category."}},"additionalProperties":false,"description":"Represents a tax category with its percentage rate and scheme."},"TaxSchemeDto":{"type":"object","properties":{"taxSchemeId":{"$ref":"#/components/schemas/IdentifierDto"}},"additionalProperties":false,"description":"Represents a tax scheme."},"WithholdingTaxTotalDto":{"type":"object","properties":{"taxAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"taxSubtotals":{"type":["null","array"],"items":{"$ref":"#/components/schemas/TaxSubtotalDto"},"description":"Collection of withholding tax subtotals broken down by category."}},"additionalProperties":false,"description":"Represents the total withholding tax amount for an invoice."},"AdditionalDocumentReferenceDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the document reference."},"reference":{"type":["null","string"],"description":"Reference value of the additional document."}},"additionalProperties":false,"description":"Represents an additional document reference associated with an invoice."},"LegalMonetaryTotalDto":{"type":"object","properties":{"taxInclusiveAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"prepaidAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"payableRoundingAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"payableAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"lineExtensionAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"taxExclusiveAmount":{"$ref":"#/components/schemas/AmountTypeDto"}},"additionalProperties":false,"description":"Represents the legal monetary totals of an invoice."},"PaymentStatusDto":{"type":"object","properties":{"status":{"enum":["UNPAID","PARTLY_PAID","FULLY_PAID"],"type":["null","string"],"description":"Current payment status."},"settlementDate":{"type":["null","string"],"description":"Date when the payment was settled."}},"additionalProperties":false,"description":"Represents the payment status of an invoice."},"ReminderDto":{"type":"object","properties":{"reminderSequence":{"type":["null","integer"],"description":"Sequence number of the reminder.","format":"int32"},"lastReminderDate":{"type":["null","string"],"description":"Date of the most recent reminder sent."}},"additionalProperties":false,"description":"Represents reminder information for an invoice."},"InvoiceLineDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the invoice line."},"invoicedQuantity":{"$ref":"#/components/schemas/InvoicedQuantityDto"},"lineExtensionAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"item":{"$ref":"#/components/schemas/ItemDto"},"price":{"$ref":"#/components/schemas/PriceDto"},"delivery":{"$ref":"#/components/schemas/InvoiceLineDeliveryDto"},"financialDimensions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/FinancialDimensionDto"},"description":"Collection of financial dimensions for the line."},"allowanceCharges":{"type":["null","array"],"items":{"$ref":"#/components/schemas/AllowanceChargeDto"},"description":"Collection of allowances or charges applied to the line."},"subInvoiceLines":{"type":["null","array"],"items":{"$ref":"#/components/schemas/SubInvoiceLineDto"},"description":"Collection of sub-lines within this invoice line."}},"additionalProperties":false,"description":"Represents a single line item on an invoice."},"InvoicedQuantityDto":{"type":"object","properties":{"quantity":{"type":["null","number"],"description":"Number of units invoiced.","format":"double"},"unitCode":{"type":["null","string"],"description":"Unit of measure code (e.g. EA, KG)."}},"additionalProperties":false,"description":"Represents an invoiced quantity with its unit of measure."},"ItemDto":{"type":"object","properties":{"name":{"type":["null","string"],"description":"Name of the item."},"description":{"type":["null","string"],"description":"Textual description of the item."},"sellersItemIdentification":{"$ref":"#/components/schemas/SellersItemIdentificationDto"},"classifiedTaxCategories":{"type":["null","array"],"items":{"$ref":"#/components/schemas/TaxCategoryDto"},"description":"Collection of tax categories classified for the item."}},"additionalProperties":false,"description":"Represents an item referenced in an invoice line."},"SellersItemIdentificationDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the item assigned by the seller."},"extendedId":{"type":["null","string"],"description":"Extended identifier for the item assigned by the seller."}},"additionalProperties":false,"description":"Represents the seller's identification of an item."},"PriceDto":{"type":"object","properties":{"priceAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"priceTypeCode":{"$ref":"#/components/schemas/PriceTypeCodeDto"},"allowanceCharges":{"type":["null","array"],"items":{"$ref":"#/components/schemas/AllowanceChargeDto"},"description":"Collection of allowances or charges applied to the price."},"baseQuantity":{"$ref":"#/components/schemas/InvoicedQuantityDto"}},"additionalProperties":false,"description":"Represents price information for an invoiced item."},"PriceTypeCodeDto":{"type":"object","properties":{"code":{"type":["null","string"],"description":"Price type code value."},"listId":{"type":["null","string"],"description":"Identifier of the code list the code belongs to."}},"additionalProperties":false,"description":"Represents a price type classification code."},"InvoiceLineDeliveryDto":{"type":"object","properties":{"actualDeliveryDate":{"type":["null","string"],"description":"Actual date of delivery for the invoice line."}},"additionalProperties":false,"description":"Represents delivery information at the invoice line level."},"SubInvoiceLineDto":{"type":"object","properties":{"invoicedQuantity":{"$ref":"#/components/schemas/InvoicedQuantityDto"},"item":{"$ref":"#/components/schemas/ItemDto"}},"additionalProperties":false,"description":"Represents a sub-line within an invoice line."}}}}
```

## The SalesInvoiceInputDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"SalesInvoiceInputDto":{"type":"object","properties":{"reference":{"type":["null","string"],"description":"Invoice number assigned by the sender."},"buyerReference":{"type":["null","string"],"description":"Reference for the buyer (usually the buyer's purchase invoice number)."},"bookedInvoiceIndicator":{"type":["null","boolean"],"description":"Indicates whether the invoice is booked."},"cancelledInvoiceIndicator":{"type":["null","boolean"],"description":"Indicates whether the invoice is cancelled."},"issueDate":{"type":["null","string"],"description":"Issue date of the invoice."},"issueTime":{"type":["null","string"],"description":"Issue time of the invoice."},"dueDate":{"type":["null","string"],"description":"Due date for payment of the invoice."},"creditInvoice":{"$ref":"#/components/schemas/CreditInvoiceInputDto"},"financialDimensions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/FinancialDimensionDto"},"description":"Collection of financial dimensions assigned to the invoice."},"notes":{"type":["null","array"],"items":{"$ref":"#/components/schemas/NoteDto"},"description":"Collection of notes attached to the invoice."},"orderReference":{"$ref":"#/components/schemas/OrderReferenceDto"},"documentCurrencyCode":{"$ref":"#/components/schemas/DocumentCurrencyCodeDto"},"accountingSupplierParty":{"$ref":"#/components/schemas/SupplierPartyInputDto"},"accountingCustomerParty":{"$ref":"#/components/schemas/CustomerPartyInputDto"},"invoicePeriod":{"$ref":"#/components/schemas/PeriodDto"},"delivery":{"$ref":"#/components/schemas/DeliveryDto"},"deliveryTerms":{"$ref":"#/components/schemas/DeliveryTermsDto"},"paymentTerms":{"$ref":"#/components/schemas/PaymentTermsInputDto"},"paymentMeans":{"type":["null","array"],"items":{"$ref":"#/components/schemas/PaymentMeansInputDto"},"description":"Collection of payment means for the invoice."},"allowanceCharges":{"type":["null","array"],"items":{"$ref":"#/components/schemas/AllowanceChargeInputDto"},"description":"Collection of allowances and charges on the invoice."},"taxTotals":{"type":["null","array"],"items":{"$ref":"#/components/schemas/TaxTotalInputDto"},"description":"Collection of tax totals for the invoice."},"withholdingTaxTotals":{"type":["null","array"],"items":{"$ref":"#/components/schemas/WithholdingTaxTotalInputDto"},"description":"Collection of withholding tax totals for the invoice."},"totalBalanceAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"additionalDocumentReferences":{"type":["null","array"],"items":{"$ref":"#/components/schemas/AdditionalDocumentReferenceDto"},"description":"Collection of additional document references."},"legalMonetaryTotal":{"$ref":"#/components/schemas/LegalMonetaryTotalDto"},"paymentStatus":{"$ref":"#/components/schemas/PaymentStatusDto"},"isSent":{"type":["null","boolean"],"description":"Indicates whether the invoice has been sent."},"sellerReference":{"type":["null","string"],"description":"Reference for the seller."},"invoiceLines":{"type":["null","array"],"items":{"$ref":"#/components/schemas/SalesInvoiceLineInputDto"},"description":"Collection of sales invoice lines."}},"additionalProperties":false,"description":"Represents input data for a sales invoice."},"CreditInvoiceInputDto":{"type":"object","properties":{"creditInvoiceIndicator":{"type":["null","boolean"],"description":"Indicates whether the invoice is a credit invoice / credit note."},"reference":{"type":["null","string"],"description":"Invoice number of the credited invoice, if this is a credit invoice."},"creditInvoiceDocumentReferences":{"type":["null","array"],"items":{"$ref":"#/components/schemas/CreditInvoiceDocumentReferenceDto"},"description":"Collection of references to the credited invoices or credit invoices."}},"additionalProperties":false,"description":"Represents credit invoice details associated with an invoice."},"CreditInvoiceDocumentReferenceDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the document reference."},"reference":{"type":["null","string"],"description":"Reference number of the credited invoice."},"documentType":{"enum":["Invoice","CreditInvoice"],"type":["null","string"],"description":"Type of the referenced document."}},"additionalProperties":false,"description":"Represents a reference to a credited invoice document."},"FinancialDimensionDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the financial dimension."},"reference":{"type":["null","string"],"description":"Reference code for the financial dimension."},"type":{"type":["null","string"],"description":"Type or code of the financial dimension as exposed by the connected accounting system.\n\nKnown values currently emitted by supported connectors include:\n\n- businessGroup\n- campaign\n- costBearer\n- costCode\n- costUnit\n- customerGroup\n- department\n- employee\n- product\n- project\n- purchaser\n- salesPerson\n- salesRegion\n- supplierGroup\n\nSome connectors can also return additional system-specific dimension codes (for example custom Business Central dimension codes)."},"name":{"type":["null","string"],"description":"Display name of the financial dimension."},"description":{"type":["null","string"],"description":"Description of the financial dimension."},"isActive":{"type":["null","boolean"],"description":"Indicates whether the financial dimension is active."}},"additionalProperties":false,"description":"Represents a financial dimension used to assign granularity to financial reports (e.g. cost center, project)."},"NoteDto":{"type":"object","properties":{"text":{"type":["null","string"],"description":"Content of the note."},"languageId":{"type":["null","string"],"description":"ISO 639-2 three-letter language code for the associated text, for example `ENG`, `SWE`, `DAN`, or `FIN`. Omit this value when the source system does not provide a language."}},"additionalProperties":false,"description":"Represents a textual note with an optional language identifier."},"OrderReferenceDto":{"type":"object","properties":{"buyerOrderId":{"type":["null","string"],"description":"Order number of the buyer (generated by the customer's system)."},"sellerOrderId":{"type":["null","string"],"description":"Order number of the seller (generated by the seller's system)."}},"additionalProperties":false,"description":"Represents a reference to the order from which the invoice originates."},"DocumentCurrencyCodeDto":{"type":"object","properties":{"currency":{"type":["null","string"],"description":"Deprecated. Use ZG.AccountingService.AccountingModels.Dtos.Common.DocumentCurrencyCodeDto.CurrencyId instead. Currency code of the document (e.g. SEK, EUR). (Deprecated: Use CurrencyId instead)","deprecated":true},"currencyId":{"type":["null","string"],"description":"Currency code of the document (e.g. SEK, EUR)."},"currencyRate":{"type":["null","number"],"description":"Exchange rate applied to the document currency.","format":"double"}},"additionalProperties":false,"description":"Represents the document currency and its exchange rate."},"SupplierPartyInputDto":{"type":"object","properties":{"customerAssignedAccountId":{"$ref":"#/components/schemas/IdentifierDto"},"party":{"$ref":"#/components/schemas/PartyInputDto"}},"additionalProperties":false,"description":"Represents the supplier party on an invoice."},"IdentifierDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Legal identifier."},"schemeId":{"type":["null","string"],"description":"Legal identifier scheme (e.g. SE:ORGNR)."}},"additionalProperties":false,"description":"Represents a legal identifier with an associated scheme."},"PartyInputDto":{"type":"object","properties":{"partyName":{"$ref":"#/components/schemas/PartyNameDto"},"postalAddress":{"$ref":"#/components/schemas/AddressDto"},"partyLegalEntity":{"$ref":"#/components/schemas/PartyLegalEntityDto"},"contact":{"$ref":"#/components/schemas/ContactDto"},"endpointId":{"$ref":"#/components/schemas/IdentifierDto"},"partyIdentification":{"type":["null","array"],"items":{"$ref":"#/components/schemas/IdentifierDto"},"description":"Collection of identifiers for the party."}},"additionalProperties":false,"description":"Represents a party (business entity) involved in an invoice."},"PartyNameDto":{"type":"object","properties":{"name":{"type":["null","string"],"description":"Name of the party."},"languageId":{"type":["null","string"],"description":"ISO 639-2 three-letter language code for the associated text, for example `ENG`, `SWE`, `DAN`, or `FIN`. Omit this value when the source system does not provide a language."}},"additionalProperties":false,"description":"Represents the name of a party with an optional language identifier."},"AddressDto":{"type":"object","properties":{"buildingNumber":{"type":["null","string"],"description":"Building number of the address."},"streetName":{"type":["null","string"],"description":"Primary street name."},"additionalStreetName":{"type":["null","string"],"description":"Secondary street name or additional address line."},"cityName":{"type":["null","string"],"description":"City or locality name."},"postalZone":{"type":["null","string"],"description":"Postal or ZIP code."},"country":{"$ref":"#/components/schemas/CountryDto"}},"additionalProperties":false,"description":"Represents a postal address."},"CountryDto":{"type":"object","properties":{"identificationCode":{"type":["null","string"],"description":"ISO 3166-1 alpha-2 country code."},"name":{"type":["null","string"],"description":"Country name."}},"additionalProperties":false,"description":"Represents a country with its identification code and name."},"PartyLegalEntityDto":{"type":"object","properties":{"registrationName":{"type":["null","string"],"description":"Registered legal name of the entity."},"companyId":{"$ref":"#/components/schemas/IdentifierDto"}},"additionalProperties":false,"description":"Represents the legal entity information of a party."},"ContactDto":{"type":"object","properties":{"name":{"type":["null","string"],"description":"Contact person name."},"telephone":{"type":["null","string"],"description":"Primary telephone number."},"email":{"type":["null","string"],"description":"Primary email address."},"secondaryEmail":{"type":["null","string"],"description":"Secondary email address."}},"additionalProperties":false,"description":"Represents contact information for a party."},"CustomerPartyInputDto":{"type":"object","properties":{"supplierAssignedAccountId":{"$ref":"#/components/schemas/IdentifierDto"},"party":{"$ref":"#/components/schemas/PartyInputDto"}},"additionalProperties":false,"description":"Represents the customer party on an invoice."},"PeriodDto":{"type":"object","properties":{"startDate":{"type":["null","string"],"description":"Start date of the period."},"endDate":{"type":["null","string"],"description":"End date of the period."}},"additionalProperties":false,"description":"Represents a date period defined by a start and end date."},"DeliveryDto":{"type":"object","properties":{"deliveryParty":{"$ref":"#/components/schemas/DeliveryPartyDto"},"carrierParty":{"$ref":"#/components/schemas/DeliveryPartyDto"},"actualDeliveryDate":{"type":["null","string"],"description":"Actual date of delivery."},"trackingId":{"type":["null","string"],"description":"Tracking identifier for the delivery shipment."},"deliveryAddress":{"$ref":"#/components/schemas/AddressDto"}},"additionalProperties":false,"description":"Represents delivery information for an invoice."},"DeliveryPartyDto":{"type":"object","properties":{"partyIdentification":{"$ref":"#/components/schemas/IdentifierDto"},"partyName":{"$ref":"#/components/schemas/PartyNameDto"}},"additionalProperties":false,"description":"Represents a party involved in a delivery."},"DeliveryTermsDto":{"type":"object","properties":{"deliveryTermsId":{"$ref":"#/components/schemas/IdentifierDto"},"specialTerms":{"$ref":"#/components/schemas/NoteDto"}},"additionalProperties":false,"description":"Represents delivery terms associated with an invoice."},"PaymentTermsInputDto":{"type":"object","properties":{"paymentTermsId":{"$ref":"#/components/schemas/IdentifierDto"},"notes":{"type":["null","array"],"items":{"$ref":"#/components/schemas/NoteDto"},"description":"Collection of notes describing the payment terms."}},"additionalProperties":false,"description":"Represents payment terms for an invoice."},"PaymentMeansInputDto":{"type":"object","properties":{"paymentChannelCode":{"type":["null","string"],"description":"Code identifying the payment channel (e.g. bank transfer, credit card)."},"paymentDueDate":{"type":["null","string"],"description":"Due date for the payment."},"paymentIds":{"type":["null","array"],"items":{"$ref":"#/components/schemas/IdentifierDto"},"description":"Collection of payment identifiers (e.g. bank account numbers)."}},"additionalProperties":false,"description":"Represents the means of payment for an invoice."},"AllowanceChargeInputDto":{"type":"object","properties":{"allowanceChargeId":{"$ref":"#/components/schemas/IdentifierDto"},"chargeIndicator":{"type":"boolean","description":"Indicates whether this is a charge (true) or an allowance (false)."},"allowanceChargeReason":{"type":["null","string"],"description":"Reason for the allowance or charge."},"allowanceChargeAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"taxTotal":{"$ref":"#/components/schemas/TaxTotalInputDto"},"taxCategory":{"$ref":"#/components/schemas/TaxCategoryDto"},"allowanceChargeBaseAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"multiplierFactorNumeric":{"type":["null","number"],"description":"Multiplier factor used to calculate the allowance or charge.","format":"double"}},"additionalProperties":false,"description":"Represents an allowance or charge applied to an invoice or invoice line."},"AmountTypeDto":{"type":"object","properties":{"amount":{"type":"number","description":"The balance amount.","format":"double"},"currencyId":{"type":["null","string"],"description":"The currency code (e.g. SEK)."}},"additionalProperties":false,"description":"Represents a monetary amount with an associated currency."},"TaxTotalInputDto":{"type":"object","properties":{"taxAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"taxIncludedIndicator":{"type":["null","boolean"],"description":"Indicates whether the tax is included in the line amounts."},"taxSubtotals":{"type":["null","array"],"items":{"$ref":"#/components/schemas/TaxSubtotalDto"},"description":"Collection of tax subtotals composing this tax total."}},"additionalProperties":false,"description":"Represents the total tax amount for an invoice or line."},"TaxSubtotalDto":{"type":"object","properties":{"taxableAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"taxAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"taxCategory":{"$ref":"#/components/schemas/TaxSubtotalTaxCategoryDto"}},"additionalProperties":false,"description":"Represents a tax subtotal within a tax total."},"TaxSubtotalTaxCategoryDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the tax category."},"percent":{"type":["null","number"],"description":"Tax rate percentage for this category.","format":"double"},"taxScheme":{"$ref":"#/components/schemas/TaxCategoryTaxSchemeDto"},"taxExemptionReason":{"type":["null","string"],"description":"Reason for tax exemption, if applicable."},"taxExemptionReasonCode":{"type":["null","string"],"description":"Code identifying the tax exemption reason."}},"additionalProperties":false,"description":"Represents the tax category details within a tax subtotal."},"TaxCategoryTaxSchemeDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the tax scheme."}},"additionalProperties":false,"description":"Represents the tax scheme associated with a tax category."},"TaxCategoryDto":{"type":"object","properties":{"percent":{"type":"number","description":"Tax rate percentage for this category.","format":"double"},"taxScheme":{"$ref":"#/components/schemas/TaxSchemeDto"},"id":{"type":["null","string"],"description":"Unique identifier for the tax category."}},"additionalProperties":false,"description":"Represents a tax category with its percentage rate and scheme."},"TaxSchemeDto":{"type":"object","properties":{"taxSchemeId":{"$ref":"#/components/schemas/IdentifierDto"}},"additionalProperties":false,"description":"Represents a tax scheme."},"WithholdingTaxTotalInputDto":{"type":"object","properties":{"taxAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"taxSubtotals":{"type":["null","array"],"items":{"$ref":"#/components/schemas/TaxSubtotalDto"},"description":"Collection of tax subtotals composing this withholding tax total."}},"additionalProperties":false,"description":"Represents the total withholding tax amount for an invoice."},"AdditionalDocumentReferenceDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the document reference."},"reference":{"type":["null","string"],"description":"Reference value of the additional document."}},"additionalProperties":false,"description":"Represents an additional document reference associated with an invoice."},"LegalMonetaryTotalDto":{"type":"object","properties":{"taxInclusiveAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"prepaidAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"payableRoundingAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"payableAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"lineExtensionAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"taxExclusiveAmount":{"$ref":"#/components/schemas/AmountTypeDto"}},"additionalProperties":false,"description":"Represents the legal monetary totals of an invoice."},"PaymentStatusDto":{"type":"object","properties":{"status":{"enum":["UNPAID","PARTLY_PAID","FULLY_PAID"],"type":["null","string"],"description":"Current payment status."},"settlementDate":{"type":["null","string"],"description":"Date when the payment was settled."}},"additionalProperties":false,"description":"Represents the payment status of an invoice."},"SalesInvoiceLineInputDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the invoice line."},"invoicedQuantity":{"$ref":"#/components/schemas/InvoicedQuantityDto"},"lineExtensionAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"item":{"$ref":"#/components/schemas/ItemInputDto"},"price":{"$ref":"#/components/schemas/PriceInputDto"},"delivery":{"$ref":"#/components/schemas/InvoiceLineDeliveryDto"},"financialDimensions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/FinancialDimensionDto"},"description":"Collection of financial dimensions for this line."},"allowanceCharges":{"type":["null","array"],"items":{"$ref":"#/components/schemas/AllowanceChargeInputDto"},"description":"Collection of allowances and charges on this line."},"subInvoiceLines":{"type":["null","array"],"items":{"$ref":"#/components/schemas/SubInvoiceLineInputDto"},"description":"Collection of sub-lines within this invoice line."}},"additionalProperties":false,"description":"Represents a line item on a sales invoice."},"InvoicedQuantityDto":{"type":"object","properties":{"quantity":{"type":["null","number"],"description":"Number of units invoiced.","format":"double"},"unitCode":{"type":["null","string"],"description":"Unit of measure code (e.g. EA, KG)."}},"additionalProperties":false,"description":"Represents an invoiced quantity with its unit of measure."},"ItemInputDto":{"type":"object","properties":{"name":{"type":["null","string"],"description":"Name of the item."},"description":{"type":["null","string"],"description":"Description of the item."},"sellersItemIdentification":{"$ref":"#/components/schemas/SellersItemIdentificationDto"},"classifiedTaxCategories":{"type":["null","array"],"items":{"$ref":"#/components/schemas/TaxCategoryDto"},"description":"Collection of tax categories classified for the item."}},"additionalProperties":false,"description":"Represents an item on an invoice line."},"SellersItemIdentificationDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the item assigned by the seller."},"extendedId":{"type":["null","string"],"description":"Extended identifier for the item assigned by the seller."}},"additionalProperties":false,"description":"Represents the seller's identification of an item."},"PriceInputDto":{"type":"object","properties":{"priceAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"priceTypeCode":{"$ref":"#/components/schemas/PriceTypeCodeDto"},"baseQuantity":{"$ref":"#/components/schemas/InvoicedQuantityDto"},"allowanceCharges":{"type":["null","array"],"items":{"$ref":"#/components/schemas/AllowanceChargeInputDto"},"description":"Collection of allowances and charges applied to the price."}},"additionalProperties":false,"description":"Represents price details for an invoice line item."},"PriceTypeCodeDto":{"type":"object","properties":{"code":{"type":["null","string"],"description":"Price type code value."},"listId":{"type":["null","string"],"description":"Identifier of the code list the code belongs to."}},"additionalProperties":false,"description":"Represents a price type classification code."},"InvoiceLineDeliveryDto":{"type":"object","properties":{"actualDeliveryDate":{"type":["null","string"],"description":"Actual date of delivery for the invoice line."}},"additionalProperties":false,"description":"Represents delivery information at the invoice line level."},"SubInvoiceLineInputDto":{"type":"object","properties":{"invoicedQuantity":{"$ref":"#/components/schemas/InvoicedQuantityDto"},"item":{"$ref":"#/components/schemas/ItemInputDto"}},"additionalProperties":false,"description":"Represents a sub-line within an invoice line."}}}}
```

## The SalesInvoiceLineInputDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"SalesInvoiceLineInputDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the invoice line."},"invoicedQuantity":{"$ref":"#/components/schemas/InvoicedQuantityDto"},"lineExtensionAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"item":{"$ref":"#/components/schemas/ItemInputDto"},"price":{"$ref":"#/components/schemas/PriceInputDto"},"delivery":{"$ref":"#/components/schemas/InvoiceLineDeliveryDto"},"financialDimensions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/FinancialDimensionDto"},"description":"Collection of financial dimensions for this line."},"allowanceCharges":{"type":["null","array"],"items":{"$ref":"#/components/schemas/AllowanceChargeInputDto"},"description":"Collection of allowances and charges on this line."},"subInvoiceLines":{"type":["null","array"],"items":{"$ref":"#/components/schemas/SubInvoiceLineInputDto"},"description":"Collection of sub-lines within this invoice line."}},"additionalProperties":false,"description":"Represents a line item on a sales invoice."},"InvoicedQuantityDto":{"type":"object","properties":{"quantity":{"type":["null","number"],"description":"Number of units invoiced.","format":"double"},"unitCode":{"type":["null","string"],"description":"Unit of measure code (e.g. EA, KG)."}},"additionalProperties":false,"description":"Represents an invoiced quantity with its unit of measure."},"AmountTypeDto":{"type":"object","properties":{"amount":{"type":"number","description":"The balance amount.","format":"double"},"currencyId":{"type":["null","string"],"description":"The currency code (e.g. SEK)."}},"additionalProperties":false,"description":"Represents a monetary amount with an associated currency."},"ItemInputDto":{"type":"object","properties":{"name":{"type":["null","string"],"description":"Name of the item."},"description":{"type":["null","string"],"description":"Description of the item."},"sellersItemIdentification":{"$ref":"#/components/schemas/SellersItemIdentificationDto"},"classifiedTaxCategories":{"type":["null","array"],"items":{"$ref":"#/components/schemas/TaxCategoryDto"},"description":"Collection of tax categories classified for the item."}},"additionalProperties":false,"description":"Represents an item on an invoice line."},"SellersItemIdentificationDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the item assigned by the seller."},"extendedId":{"type":["null","string"],"description":"Extended identifier for the item assigned by the seller."}},"additionalProperties":false,"description":"Represents the seller's identification of an item."},"TaxCategoryDto":{"type":"object","properties":{"percent":{"type":"number","description":"Tax rate percentage for this category.","format":"double"},"taxScheme":{"$ref":"#/components/schemas/TaxSchemeDto"},"id":{"type":["null","string"],"description":"Unique identifier for the tax category."}},"additionalProperties":false,"description":"Represents a tax category with its percentage rate and scheme."},"TaxSchemeDto":{"type":"object","properties":{"taxSchemeId":{"$ref":"#/components/schemas/IdentifierDto"}},"additionalProperties":false,"description":"Represents a tax scheme."},"IdentifierDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Legal identifier."},"schemeId":{"type":["null","string"],"description":"Legal identifier scheme (e.g. SE:ORGNR)."}},"additionalProperties":false,"description":"Represents a legal identifier with an associated scheme."},"PriceInputDto":{"type":"object","properties":{"priceAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"priceTypeCode":{"$ref":"#/components/schemas/PriceTypeCodeDto"},"baseQuantity":{"$ref":"#/components/schemas/InvoicedQuantityDto"},"allowanceCharges":{"type":["null","array"],"items":{"$ref":"#/components/schemas/AllowanceChargeInputDto"},"description":"Collection of allowances and charges applied to the price."}},"additionalProperties":false,"description":"Represents price details for an invoice line item."},"PriceTypeCodeDto":{"type":"object","properties":{"code":{"type":["null","string"],"description":"Price type code value."},"listId":{"type":["null","string"],"description":"Identifier of the code list the code belongs to."}},"additionalProperties":false,"description":"Represents a price type classification code."},"AllowanceChargeInputDto":{"type":"object","properties":{"allowanceChargeId":{"$ref":"#/components/schemas/IdentifierDto"},"chargeIndicator":{"type":"boolean","description":"Indicates whether this is a charge (true) or an allowance (false)."},"allowanceChargeReason":{"type":["null","string"],"description":"Reason for the allowance or charge."},"allowanceChargeAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"taxTotal":{"$ref":"#/components/schemas/TaxTotalInputDto"},"taxCategory":{"$ref":"#/components/schemas/TaxCategoryDto"},"allowanceChargeBaseAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"multiplierFactorNumeric":{"type":["null","number"],"description":"Multiplier factor used to calculate the allowance or charge.","format":"double"}},"additionalProperties":false,"description":"Represents an allowance or charge applied to an invoice or invoice line."},"TaxTotalInputDto":{"type":"object","properties":{"taxAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"taxIncludedIndicator":{"type":["null","boolean"],"description":"Indicates whether the tax is included in the line amounts."},"taxSubtotals":{"type":["null","array"],"items":{"$ref":"#/components/schemas/TaxSubtotalDto"},"description":"Collection of tax subtotals composing this tax total."}},"additionalProperties":false,"description":"Represents the total tax amount for an invoice or line."},"TaxSubtotalDto":{"type":"object","properties":{"taxableAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"taxAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"taxCategory":{"$ref":"#/components/schemas/TaxSubtotalTaxCategoryDto"}},"additionalProperties":false,"description":"Represents a tax subtotal within a tax total."},"TaxSubtotalTaxCategoryDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the tax category."},"percent":{"type":["null","number"],"description":"Tax rate percentage for this category.","format":"double"},"taxScheme":{"$ref":"#/components/schemas/TaxCategoryTaxSchemeDto"},"taxExemptionReason":{"type":["null","string"],"description":"Reason for tax exemption, if applicable."},"taxExemptionReasonCode":{"type":["null","string"],"description":"Code identifying the tax exemption reason."}},"additionalProperties":false,"description":"Represents the tax category details within a tax subtotal."},"TaxCategoryTaxSchemeDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the tax scheme."}},"additionalProperties":false,"description":"Represents the tax scheme associated with a tax category."},"InvoiceLineDeliveryDto":{"type":"object","properties":{"actualDeliveryDate":{"type":["null","string"],"description":"Actual date of delivery for the invoice line."}},"additionalProperties":false,"description":"Represents delivery information at the invoice line level."},"FinancialDimensionDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the financial dimension."},"reference":{"type":["null","string"],"description":"Reference code for the financial dimension."},"type":{"type":["null","string"],"description":"Type or code of the financial dimension as exposed by the connected accounting system.\n\nKnown values currently emitted by supported connectors include:\n\n- businessGroup\n- campaign\n- costBearer\n- costCode\n- costUnit\n- customerGroup\n- department\n- employee\n- product\n- project\n- purchaser\n- salesPerson\n- salesRegion\n- supplierGroup\n\nSome connectors can also return additional system-specific dimension codes (for example custom Business Central dimension codes)."},"name":{"type":["null","string"],"description":"Display name of the financial dimension."},"description":{"type":["null","string"],"description":"Description of the financial dimension."},"isActive":{"type":["null","boolean"],"description":"Indicates whether the financial dimension is active."}},"additionalProperties":false,"description":"Represents a financial dimension used to assign granularity to financial reports (e.g. cost center, project)."},"SubInvoiceLineInputDto":{"type":"object","properties":{"invoicedQuantity":{"$ref":"#/components/schemas/InvoicedQuantityDto"},"item":{"$ref":"#/components/schemas/ItemInputDto"}},"additionalProperties":false,"description":"Represents a sub-line within an invoice line."}}}}
```

## The SalesInvoicePartySummaryDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"SalesInvoicePartySummaryDto":{"type":"object","properties":{"partyIdentification":{"type":["null","array"],"items":{"$ref":"#/components/schemas/IdentifierDto"},"description":"Collection of identifiers for the party."},"partyName":{"$ref":"#/components/schemas/PartyNameDto"},"partyLegalEntity":{"$ref":"#/components/schemas/PartyLegalEntityDto"}},"additionalProperties":false,"description":"Represents a summarized party view for sales invoice listings."},"IdentifierDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Legal identifier."},"schemeId":{"type":["null","string"],"description":"Legal identifier scheme (e.g. SE:ORGNR)."}},"additionalProperties":false,"description":"Represents a legal identifier with an associated scheme."},"PartyNameDto":{"type":"object","properties":{"name":{"type":["null","string"],"description":"Name of the party."},"languageId":{"type":["null","string"],"description":"ISO 639-2 three-letter language code for the associated text, for example `ENG`, `SWE`, `DAN`, or `FIN`. Omit this value when the source system does not provide a language."}},"additionalProperties":false,"description":"Represents the name of a party with an optional language identifier."},"PartyLegalEntityDto":{"type":"object","properties":{"registrationName":{"type":["null","string"],"description":"Registered legal name of the entity."},"companyId":{"$ref":"#/components/schemas/IdentifierDto"}},"additionalProperties":false,"description":"Represents the legal entity information of a party."}}}}
```

## The SalesInvoiceSummaryDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"SalesInvoiceSummaryDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier generated by the accounting system."},"reference":{"type":["null","string"],"description":"External reference or number assigned to the invoice."},"dueDate":{"type":["null","string"],"description":"Date when the invoice payment is due. Format: yyyy-MM-dd."},"issueDate":{"type":["null","string"],"description":"Date when the invoice was issued. Format: yyyy-MM-dd."},"createdDateTime":{"type":["null","string"],"description":"Date and time when the invoice was created."},"modifiedDateTime":{"type":["null","string"],"description":"Date and time when the invoice was last modified."},"isSent":{"type":["null","boolean"],"description":"Indicates whether the invoice has been sent."},"accountingCustomerParty":{"$ref":"#/components/schemas/CustomerPartySummaryDto"},"paymentTerms":{"$ref":"#/components/schemas/PaymentTermsDto"},"notes":{"type":["null","array"],"items":{"$ref":"#/components/schemas/NoteDto"},"description":"Collection of notes attached to the invoice (null if not available)."},"totalBalanceAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"legalMonetaryTotal":{"$ref":"#/components/schemas/LegalMonetaryTotalDto"},"paymentStatus":{"$ref":"#/components/schemas/PaymentStatusDto"}},"additionalProperties":false,"description":"Represents a summary view of a sales invoice."},"CustomerPartySummaryDto":{"type":"object","properties":{"supplierAssignedAccountId":{"$ref":"#/components/schemas/IdentifierDto"},"party":{"$ref":"#/components/schemas/SalesInvoicePartySummaryDto"}},"additionalProperties":false,"description":"Represents a summarized customer party view for sales invoice listings."},"IdentifierDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Legal identifier."},"schemeId":{"type":["null","string"],"description":"Legal identifier scheme (e.g. SE:ORGNR)."}},"additionalProperties":false,"description":"Represents a legal identifier with an associated scheme."},"SalesInvoicePartySummaryDto":{"type":"object","properties":{"partyIdentification":{"type":["null","array"],"items":{"$ref":"#/components/schemas/IdentifierDto"},"description":"Collection of identifiers for the party."},"partyName":{"$ref":"#/components/schemas/PartyNameDto"},"partyLegalEntity":{"$ref":"#/components/schemas/PartyLegalEntityDto"}},"additionalProperties":false,"description":"Represents a summarized party view for sales invoice listings."},"PartyNameDto":{"type":"object","properties":{"name":{"type":["null","string"],"description":"Name of the party."},"languageId":{"type":["null","string"],"description":"ISO 639-2 three-letter language code for the associated text, for example `ENG`, `SWE`, `DAN`, or `FIN`. Omit this value when the source system does not provide a language."}},"additionalProperties":false,"description":"Represents the name of a party with an optional language identifier."},"PartyLegalEntityDto":{"type":"object","properties":{"registrationName":{"type":["null","string"],"description":"Registered legal name of the entity."},"companyId":{"$ref":"#/components/schemas/IdentifierDto"}},"additionalProperties":false,"description":"Represents the legal entity information of a party."},"PaymentTermsDto":{"type":"object","properties":{"paymentTermsId":{"$ref":"#/components/schemas/IdentifierDto"},"notes":{"type":["null","array"],"items":{"$ref":"#/components/schemas/NoteDto"},"description":"Collection of notes describing the payment terms."}},"additionalProperties":false,"description":"Represents payment terms associated with an invoice."},"NoteDto":{"type":"object","properties":{"text":{"type":["null","string"],"description":"Content of the note."},"languageId":{"type":["null","string"],"description":"ISO 639-2 three-letter language code for the associated text, for example `ENG`, `SWE`, `DAN`, or `FIN`. Omit this value when the source system does not provide a language."}},"additionalProperties":false,"description":"Represents a textual note with an optional language identifier."},"AmountTypeDto":{"type":"object","properties":{"amount":{"type":"number","description":"The balance amount.","format":"double"},"currencyId":{"type":["null","string"],"description":"The currency code (e.g. SEK)."}},"additionalProperties":false,"description":"Represents a monetary amount with an associated currency."},"LegalMonetaryTotalDto":{"type":"object","properties":{"taxInclusiveAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"prepaidAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"payableRoundingAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"payableAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"lineExtensionAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"taxExclusiveAmount":{"$ref":"#/components/schemas/AmountTypeDto"}},"additionalProperties":false,"description":"Represents the legal monetary totals of an invoice."},"PaymentStatusDto":{"type":"object","properties":{"status":{"enum":["UNPAID","PARTLY_PAID","FULLY_PAID"],"type":["null","string"],"description":"Current payment status."},"settlementDate":{"type":["null","string"],"description":"Date when the payment was settled."}},"additionalProperties":false,"description":"Represents the payment status of an invoice."}}}}
```

## The SalesInvoiceSummaryDtoPagedResultDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"SalesInvoiceSummaryDtoPagedResultDto":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/PagedResultMetadataDto"},"data":{"type":["null","array"],"items":{"$ref":"#/components/schemas/SalesInvoiceSummaryDto"},"description":"Collection of items in the current page."}},"additionalProperties":false,"description":"Represents a paginated result containing metadata and a collection of items."},"PagedResultMetadataDto":{"type":"object","properties":{"totalResources":{"type":["null","integer"],"description":"Total number of resources across all pages.","format":"int32"},"totalPages":{"type":["null","integer"],"description":"Total number of pages available.","format":"int32"},"currentPage":{"type":"integer","description":"The current page number.","format":"int32"}},"additionalProperties":false,"description":"Represents pagination metadata for a paged result set."},"SalesInvoiceSummaryDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier generated by the accounting system."},"reference":{"type":["null","string"],"description":"External reference or number assigned to the invoice."},"dueDate":{"type":["null","string"],"description":"Date when the invoice payment is due. Format: yyyy-MM-dd."},"issueDate":{"type":["null","string"],"description":"Date when the invoice was issued. Format: yyyy-MM-dd."},"createdDateTime":{"type":["null","string"],"description":"Date and time when the invoice was created."},"modifiedDateTime":{"type":["null","string"],"description":"Date and time when the invoice was last modified."},"isSent":{"type":["null","boolean"],"description":"Indicates whether the invoice has been sent."},"accountingCustomerParty":{"$ref":"#/components/schemas/CustomerPartySummaryDto"},"paymentTerms":{"$ref":"#/components/schemas/PaymentTermsDto"},"notes":{"type":["null","array"],"items":{"$ref":"#/components/schemas/NoteDto"},"description":"Collection of notes attached to the invoice (null if not available)."},"totalBalanceAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"legalMonetaryTotal":{"$ref":"#/components/schemas/LegalMonetaryTotalDto"},"paymentStatus":{"$ref":"#/components/schemas/PaymentStatusDto"}},"additionalProperties":false,"description":"Represents a summary view of a sales invoice."},"CustomerPartySummaryDto":{"type":"object","properties":{"supplierAssignedAccountId":{"$ref":"#/components/schemas/IdentifierDto"},"party":{"$ref":"#/components/schemas/SalesInvoicePartySummaryDto"}},"additionalProperties":false,"description":"Represents a summarized customer party view for sales invoice listings."},"IdentifierDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Legal identifier."},"schemeId":{"type":["null","string"],"description":"Legal identifier scheme (e.g. SE:ORGNR)."}},"additionalProperties":false,"description":"Represents a legal identifier with an associated scheme."},"SalesInvoicePartySummaryDto":{"type":"object","properties":{"partyIdentification":{"type":["null","array"],"items":{"$ref":"#/components/schemas/IdentifierDto"},"description":"Collection of identifiers for the party."},"partyName":{"$ref":"#/components/schemas/PartyNameDto"},"partyLegalEntity":{"$ref":"#/components/schemas/PartyLegalEntityDto"}},"additionalProperties":false,"description":"Represents a summarized party view for sales invoice listings."},"PartyNameDto":{"type":"object","properties":{"name":{"type":["null","string"],"description":"Name of the party."},"languageId":{"type":["null","string"],"description":"ISO 639-2 three-letter language code for the associated text, for example `ENG`, `SWE`, `DAN`, or `FIN`. Omit this value when the source system does not provide a language."}},"additionalProperties":false,"description":"Represents the name of a party with an optional language identifier."},"PartyLegalEntityDto":{"type":"object","properties":{"registrationName":{"type":["null","string"],"description":"Registered legal name of the entity."},"companyId":{"$ref":"#/components/schemas/IdentifierDto"}},"additionalProperties":false,"description":"Represents the legal entity information of a party."},"PaymentTermsDto":{"type":"object","properties":{"paymentTermsId":{"$ref":"#/components/schemas/IdentifierDto"},"notes":{"type":["null","array"],"items":{"$ref":"#/components/schemas/NoteDto"},"description":"Collection of notes describing the payment terms."}},"additionalProperties":false,"description":"Represents payment terms associated with an invoice."},"NoteDto":{"type":"object","properties":{"text":{"type":["null","string"],"description":"Content of the note."},"languageId":{"type":["null","string"],"description":"ISO 639-2 three-letter language code for the associated text, for example `ENG`, `SWE`, `DAN`, or `FIN`. Omit this value when the source system does not provide a language."}},"additionalProperties":false,"description":"Represents a textual note with an optional language identifier."},"AmountTypeDto":{"type":"object","properties":{"amount":{"type":"number","description":"The balance amount.","format":"double"},"currencyId":{"type":["null","string"],"description":"The currency code (e.g. SEK)."}},"additionalProperties":false,"description":"Represents a monetary amount with an associated currency."},"LegalMonetaryTotalDto":{"type":"object","properties":{"taxInclusiveAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"prepaidAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"payableRoundingAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"payableAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"lineExtensionAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"taxExclusiveAmount":{"$ref":"#/components/schemas/AmountTypeDto"}},"additionalProperties":false,"description":"Represents the legal monetary totals of an invoice."},"PaymentStatusDto":{"type":"object","properties":{"status":{"enum":["UNPAID","PARTLY_PAID","FULLY_PAID"],"type":["null","string"],"description":"Current payment status."},"settlementDate":{"type":["null","string"],"description":"Date when the payment was settled."}},"additionalProperties":false,"description":"Represents the payment status of an invoice."}}}}
```

## The SellersItemIdentificationDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"SellersItemIdentificationDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the item assigned by the seller."},"extendedId":{"type":["null","string"],"description":"Extended identifier for the item assigned by the seller."}},"additionalProperties":false,"description":"Represents the seller's identification of an item."}}}}
```

## The SubInvoiceLineDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"SubInvoiceLineDto":{"type":"object","properties":{"invoicedQuantity":{"$ref":"#/components/schemas/InvoicedQuantityDto"},"item":{"$ref":"#/components/schemas/ItemDto"}},"additionalProperties":false,"description":"Represents a sub-line within an invoice line."},"InvoicedQuantityDto":{"type":"object","properties":{"quantity":{"type":["null","number"],"description":"Number of units invoiced.","format":"double"},"unitCode":{"type":["null","string"],"description":"Unit of measure code (e.g. EA, KG)."}},"additionalProperties":false,"description":"Represents an invoiced quantity with its unit of measure."},"ItemDto":{"type":"object","properties":{"name":{"type":["null","string"],"description":"Name of the item."},"description":{"type":["null","string"],"description":"Textual description of the item."},"sellersItemIdentification":{"$ref":"#/components/schemas/SellersItemIdentificationDto"},"classifiedTaxCategories":{"type":["null","array"],"items":{"$ref":"#/components/schemas/TaxCategoryDto"},"description":"Collection of tax categories classified for the item."}},"additionalProperties":false,"description":"Represents an item referenced in an invoice line."},"SellersItemIdentificationDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the item assigned by the seller."},"extendedId":{"type":["null","string"],"description":"Extended identifier for the item assigned by the seller."}},"additionalProperties":false,"description":"Represents the seller's identification of an item."},"TaxCategoryDto":{"type":"object","properties":{"percent":{"type":"number","description":"Tax rate percentage for this category.","format":"double"},"taxScheme":{"$ref":"#/components/schemas/TaxSchemeDto"},"id":{"type":["null","string"],"description":"Unique identifier for the tax category."}},"additionalProperties":false,"description":"Represents a tax category with its percentage rate and scheme."},"TaxSchemeDto":{"type":"object","properties":{"taxSchemeId":{"$ref":"#/components/schemas/IdentifierDto"}},"additionalProperties":false,"description":"Represents a tax scheme."},"IdentifierDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Legal identifier."},"schemeId":{"type":["null","string"],"description":"Legal identifier scheme (e.g. SE:ORGNR)."}},"additionalProperties":false,"description":"Represents a legal identifier with an associated scheme."}}}}
```

## The SubInvoiceLineInputDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"SubInvoiceLineInputDto":{"type":"object","properties":{"invoicedQuantity":{"$ref":"#/components/schemas/InvoicedQuantityDto"},"item":{"$ref":"#/components/schemas/ItemInputDto"}},"additionalProperties":false,"description":"Represents a sub-line within an invoice line."},"InvoicedQuantityDto":{"type":"object","properties":{"quantity":{"type":["null","number"],"description":"Number of units invoiced.","format":"double"},"unitCode":{"type":["null","string"],"description":"Unit of measure code (e.g. EA, KG)."}},"additionalProperties":false,"description":"Represents an invoiced quantity with its unit of measure."},"ItemInputDto":{"type":"object","properties":{"name":{"type":["null","string"],"description":"Name of the item."},"description":{"type":["null","string"],"description":"Description of the item."},"sellersItemIdentification":{"$ref":"#/components/schemas/SellersItemIdentificationDto"},"classifiedTaxCategories":{"type":["null","array"],"items":{"$ref":"#/components/schemas/TaxCategoryDto"},"description":"Collection of tax categories classified for the item."}},"additionalProperties":false,"description":"Represents an item on an invoice line."},"SellersItemIdentificationDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the item assigned by the seller."},"extendedId":{"type":["null","string"],"description":"Extended identifier for the item assigned by the seller."}},"additionalProperties":false,"description":"Represents the seller's identification of an item."},"TaxCategoryDto":{"type":"object","properties":{"percent":{"type":"number","description":"Tax rate percentage for this category.","format":"double"},"taxScheme":{"$ref":"#/components/schemas/TaxSchemeDto"},"id":{"type":["null","string"],"description":"Unique identifier for the tax category."}},"additionalProperties":false,"description":"Represents a tax category with its percentage rate and scheme."},"TaxSchemeDto":{"type":"object","properties":{"taxSchemeId":{"$ref":"#/components/schemas/IdentifierDto"}},"additionalProperties":false,"description":"Represents a tax scheme."},"IdentifierDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Legal identifier."},"schemeId":{"type":["null","string"],"description":"Legal identifier scheme (e.g. SE:ORGNR)."}},"additionalProperties":false,"description":"Represents a legal identifier with an associated scheme."}}}}
```

## The SupplierDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"SupplierDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the supplier."},"customerAssignedAccountId":{"$ref":"#/components/schemas/IdentifierDto"},"party":{"$ref":"#/components/schemas/PartyDto"},"deliveryAddresses":{"type":["null","array"],"items":{"$ref":"#/components/schemas/AddressDto"},"description":"Collection of delivery addresses for the supplier."},"description":{"$ref":"#/components/schemas/NoteDto"},"financialDimensions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/FinancialDimensionDto"},"description":"Collection of financial dimensions assigned to the supplier."},"active":{"type":["null","boolean"],"description":"Indicates whether the supplier is active."},"currency":{"type":["null","string"],"description":"Currency code associated with the supplier."},"paymentMeans":{"type":["null","array"],"items":{"$ref":"#/components/schemas/SupplierPaymentMeansDto"},"description":"Collection of payment means for the supplier."}},"additionalProperties":false,"description":"Represents a supplier entity in the accounting system."},"IdentifierDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Legal identifier."},"schemeId":{"type":["null","string"],"description":"Legal identifier scheme (e.g. SE:ORGNR)."}},"additionalProperties":false,"description":"Represents a legal identifier with an associated scheme."},"PartyDto":{"type":"object","properties":{"partyIdentification":{"type":["null","array"],"items":{"$ref":"#/components/schemas/IdentifierDto"},"description":"Collection of identifiers for the party."},"partyName":{"$ref":"#/components/schemas/PartyNameDto"},"postalAddress":{"$ref":"#/components/schemas/AddressDto"},"partyLegalEntity":{"$ref":"#/components/schemas/PartyLegalEntityDto"},"contact":{"$ref":"#/components/schemas/ContactDto"},"endpointId":{"$ref":"#/components/schemas/IdentifierDto"}},"additionalProperties":false,"description":"Represents a party (organization or individual) involved in a transaction."},"PartyNameDto":{"type":"object","properties":{"name":{"type":["null","string"],"description":"Name of the party."},"languageId":{"type":["null","string"],"description":"ISO 639-2 three-letter language code for the associated text, for example `ENG`, `SWE`, `DAN`, or `FIN`. Omit this value when the source system does not provide a language."}},"additionalProperties":false,"description":"Represents the name of a party with an optional language identifier."},"AddressDto":{"type":"object","properties":{"buildingNumber":{"type":["null","string"],"description":"Building number of the address."},"streetName":{"type":["null","string"],"description":"Primary street name."},"additionalStreetName":{"type":["null","string"],"description":"Secondary street name or additional address line."},"cityName":{"type":["null","string"],"description":"City or locality name."},"postalZone":{"type":["null","string"],"description":"Postal or ZIP code."},"country":{"$ref":"#/components/schemas/CountryDto"}},"additionalProperties":false,"description":"Represents a postal address."},"CountryDto":{"type":"object","properties":{"identificationCode":{"type":["null","string"],"description":"ISO 3166-1 alpha-2 country code."},"name":{"type":["null","string"],"description":"Country name."}},"additionalProperties":false,"description":"Represents a country with its identification code and name."},"PartyLegalEntityDto":{"type":"object","properties":{"registrationName":{"type":["null","string"],"description":"Registered legal name of the entity."},"companyId":{"$ref":"#/components/schemas/IdentifierDto"}},"additionalProperties":false,"description":"Represents the legal entity information of a party."},"ContactDto":{"type":"object","properties":{"name":{"type":["null","string"],"description":"Contact person name."},"telephone":{"type":["null","string"],"description":"Primary telephone number."},"email":{"type":["null","string"],"description":"Primary email address."},"secondaryEmail":{"type":["null","string"],"description":"Secondary email address."}},"additionalProperties":false,"description":"Represents contact information for a party."},"NoteDto":{"type":"object","properties":{"text":{"type":["null","string"],"description":"Content of the note."},"languageId":{"type":["null","string"],"description":"ISO 639-2 three-letter language code for the associated text, for example `ENG`, `SWE`, `DAN`, or `FIN`. Omit this value when the source system does not provide a language."}},"additionalProperties":false,"description":"Represents a textual note with an optional language identifier."},"FinancialDimensionDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the financial dimension."},"reference":{"type":["null","string"],"description":"Reference code for the financial dimension."},"type":{"type":["null","string"],"description":"Type or code of the financial dimension as exposed by the connected accounting system.\n\nKnown values currently emitted by supported connectors include:\n\n- businessGroup\n- campaign\n- costBearer\n- costCode\n- costUnit\n- customerGroup\n- department\n- employee\n- product\n- project\n- purchaser\n- salesPerson\n- salesRegion\n- supplierGroup\n\nSome connectors can also return additional system-specific dimension codes (for example custom Business Central dimension codes)."},"name":{"type":["null","string"],"description":"Display name of the financial dimension."},"description":{"type":["null","string"],"description":"Description of the financial dimension."},"isActive":{"type":["null","boolean"],"description":"Indicates whether the financial dimension is active."}},"additionalProperties":false,"description":"Represents a financial dimension used to assign granularity to financial reports (e.g. cost center, project)."},"SupplierPaymentMeansDto":{"type":"object","properties":{"paymentChannelCode":{"type":["null","string"],"description":"Code identifying the payment channel."},"payeeFinancialAccounts":{"type":["null","array"],"items":{"$ref":"#/components/schemas/PayeeFinancialAccountDto"},"description":"Collection of payee financial accounts. Obsolete: use FinancialAccount instead. (Deprecated: Use PayeeFinancialAccount instead)","deprecated":true},"payeeFinancialAccount":{"type":["null","string"],"description":"Payee financial account identifier. Obsolete: use FinancialAccount.Id instead. (Deprecated: Use FinancialAccount.Id instead)","deprecated":true},"financialAccount":{"$ref":"#/components/schemas/FinancialAccountDto"}},"additionalProperties":false,"description":"Represents payment means associated with a supplier."},"PayeeFinancialAccountDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the financial account."},"financialInstitution":{"type":["null","string"],"description":"Name or identifier of the financial institution."}},"additionalProperties":false,"description":"Represents a payee's financial account details."},"FinancialAccountDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the financial account."},"financialInstitution":{"type":["null","string"],"description":"Name or identifier of the financial institution."}},"additionalProperties":false,"description":"Represents a financial account used for payments."}}}}
```

## The SupplierDtoPagedResultDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"SupplierDtoPagedResultDto":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/PagedResultMetadataDto"},"data":{"type":["null","array"],"items":{"$ref":"#/components/schemas/SupplierDto"},"description":"Collection of items in the current page."}},"additionalProperties":false,"description":"Represents a paginated result containing metadata and a collection of items."},"PagedResultMetadataDto":{"type":"object","properties":{"totalResources":{"type":["null","integer"],"description":"Total number of resources across all pages.","format":"int32"},"totalPages":{"type":["null","integer"],"description":"Total number of pages available.","format":"int32"},"currentPage":{"type":"integer","description":"The current page number.","format":"int32"}},"additionalProperties":false,"description":"Represents pagination metadata for a paged result set."},"SupplierDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the supplier."},"customerAssignedAccountId":{"$ref":"#/components/schemas/IdentifierDto"},"party":{"$ref":"#/components/schemas/PartyDto"},"deliveryAddresses":{"type":["null","array"],"items":{"$ref":"#/components/schemas/AddressDto"},"description":"Collection of delivery addresses for the supplier."},"description":{"$ref":"#/components/schemas/NoteDto"},"financialDimensions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/FinancialDimensionDto"},"description":"Collection of financial dimensions assigned to the supplier."},"active":{"type":["null","boolean"],"description":"Indicates whether the supplier is active."},"currency":{"type":["null","string"],"description":"Currency code associated with the supplier."},"paymentMeans":{"type":["null","array"],"items":{"$ref":"#/components/schemas/SupplierPaymentMeansDto"},"description":"Collection of payment means for the supplier."}},"additionalProperties":false,"description":"Represents a supplier entity in the accounting system."},"IdentifierDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Legal identifier."},"schemeId":{"type":["null","string"],"description":"Legal identifier scheme (e.g. SE:ORGNR)."}},"additionalProperties":false,"description":"Represents a legal identifier with an associated scheme."},"PartyDto":{"type":"object","properties":{"partyIdentification":{"type":["null","array"],"items":{"$ref":"#/components/schemas/IdentifierDto"},"description":"Collection of identifiers for the party."},"partyName":{"$ref":"#/components/schemas/PartyNameDto"},"postalAddress":{"$ref":"#/components/schemas/AddressDto"},"partyLegalEntity":{"$ref":"#/components/schemas/PartyLegalEntityDto"},"contact":{"$ref":"#/components/schemas/ContactDto"},"endpointId":{"$ref":"#/components/schemas/IdentifierDto"}},"additionalProperties":false,"description":"Represents a party (organization or individual) involved in a transaction."},"PartyNameDto":{"type":"object","properties":{"name":{"type":["null","string"],"description":"Name of the party."},"languageId":{"type":["null","string"],"description":"ISO 639-2 three-letter language code for the associated text, for example `ENG`, `SWE`, `DAN`, or `FIN`. Omit this value when the source system does not provide a language."}},"additionalProperties":false,"description":"Represents the name of a party with an optional language identifier."},"AddressDto":{"type":"object","properties":{"buildingNumber":{"type":["null","string"],"description":"Building number of the address."},"streetName":{"type":["null","string"],"description":"Primary street name."},"additionalStreetName":{"type":["null","string"],"description":"Secondary street name or additional address line."},"cityName":{"type":["null","string"],"description":"City or locality name."},"postalZone":{"type":["null","string"],"description":"Postal or ZIP code."},"country":{"$ref":"#/components/schemas/CountryDto"}},"additionalProperties":false,"description":"Represents a postal address."},"CountryDto":{"type":"object","properties":{"identificationCode":{"type":["null","string"],"description":"ISO 3166-1 alpha-2 country code."},"name":{"type":["null","string"],"description":"Country name."}},"additionalProperties":false,"description":"Represents a country with its identification code and name."},"PartyLegalEntityDto":{"type":"object","properties":{"registrationName":{"type":["null","string"],"description":"Registered legal name of the entity."},"companyId":{"$ref":"#/components/schemas/IdentifierDto"}},"additionalProperties":false,"description":"Represents the legal entity information of a party."},"ContactDto":{"type":"object","properties":{"name":{"type":["null","string"],"description":"Contact person name."},"telephone":{"type":["null","string"],"description":"Primary telephone number."},"email":{"type":["null","string"],"description":"Primary email address."},"secondaryEmail":{"type":["null","string"],"description":"Secondary email address."}},"additionalProperties":false,"description":"Represents contact information for a party."},"NoteDto":{"type":"object","properties":{"text":{"type":["null","string"],"description":"Content of the note."},"languageId":{"type":["null","string"],"description":"ISO 639-2 three-letter language code for the associated text, for example `ENG`, `SWE`, `DAN`, or `FIN`. Omit this value when the source system does not provide a language."}},"additionalProperties":false,"description":"Represents a textual note with an optional language identifier."},"FinancialDimensionDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the financial dimension."},"reference":{"type":["null","string"],"description":"Reference code for the financial dimension."},"type":{"type":["null","string"],"description":"Type or code of the financial dimension as exposed by the connected accounting system.\n\nKnown values currently emitted by supported connectors include:\n\n- businessGroup\n- campaign\n- costBearer\n- costCode\n- costUnit\n- customerGroup\n- department\n- employee\n- product\n- project\n- purchaser\n- salesPerson\n- salesRegion\n- supplierGroup\n\nSome connectors can also return additional system-specific dimension codes (for example custom Business Central dimension codes)."},"name":{"type":["null","string"],"description":"Display name of the financial dimension."},"description":{"type":["null","string"],"description":"Description of the financial dimension."},"isActive":{"type":["null","boolean"],"description":"Indicates whether the financial dimension is active."}},"additionalProperties":false,"description":"Represents a financial dimension used to assign granularity to financial reports (e.g. cost center, project)."},"SupplierPaymentMeansDto":{"type":"object","properties":{"paymentChannelCode":{"type":["null","string"],"description":"Code identifying the payment channel."},"payeeFinancialAccounts":{"type":["null","array"],"items":{"$ref":"#/components/schemas/PayeeFinancialAccountDto"},"description":"Collection of payee financial accounts. Obsolete: use FinancialAccount instead. (Deprecated: Use PayeeFinancialAccount instead)","deprecated":true},"payeeFinancialAccount":{"type":["null","string"],"description":"Payee financial account identifier. Obsolete: use FinancialAccount.Id instead. (Deprecated: Use FinancialAccount.Id instead)","deprecated":true},"financialAccount":{"$ref":"#/components/schemas/FinancialAccountDto"}},"additionalProperties":false,"description":"Represents payment means associated with a supplier."},"PayeeFinancialAccountDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the financial account."},"financialInstitution":{"type":["null","string"],"description":"Name or identifier of the financial institution."}},"additionalProperties":false,"description":"Represents a payee's financial account details."},"FinancialAccountDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the financial account."},"financialInstitution":{"type":["null","string"],"description":"Name or identifier of the financial institution."}},"additionalProperties":false,"description":"Represents a financial account used for payments."}}}}
```

## The SupplierInvoiceDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"SupplierInvoiceDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier generated by the accounting system."},"reference":{"type":["null","string"],"description":"External reference or number assigned to the invoice."},"buyerReference":{"type":["null","string"],"description":"Reference for the buyer, usually the buyer's purchase order number."},"bookedInvoiceIndicator":{"type":["null","boolean"],"description":"Indicates whether the invoice is booked."},"cancelledInvoiceIndicator":{"type":["null","boolean"],"description":"Indicates whether the invoice is cancelled."},"issueDate":{"type":["null","string"],"description":"Date when the invoice was issued. Format: yyyy-MM-dd."},"issueTime":{"type":["null","string"],"description":"Time when the invoice was issued (null if not available)."},"dueDate":{"type":["null","string"],"description":"Date when the invoice payment is due. Format: yyyy-MM-dd."},"creditInvoice":{"$ref":"#/components/schemas/CreditInvoiceDto"},"financialDimensions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/FinancialDimensionDto"},"description":"Collection of financial dimensions associated with the invoice."},"notes":{"type":["null","array"],"items":{"$ref":"#/components/schemas/NoteDto"},"description":"Collection of notes attached to the invoice."},"orderReference":{"$ref":"#/components/schemas/OrderReferenceDto"},"documentCurrencyCode":{"$ref":"#/components/schemas/DocumentCurrencyCodeDto"},"accountingSupplierParty":{"$ref":"#/components/schemas/SupplierPartyDto"},"accountingCustomerParty":{"$ref":"#/components/schemas/CustomerPartyDto"},"invoicePeriod":{"$ref":"#/components/schemas/PeriodDto"},"delivery":{"$ref":"#/components/schemas/DeliveryDto"},"deliveryTerms":{"$ref":"#/components/schemas/DeliveryTermsDto"},"paymentTerms":{"$ref":"#/components/schemas/PaymentTermsDto"},"paymentMeans":{"type":["null","array"],"items":{"$ref":"#/components/schemas/PaymentMeansDto"},"description":"Collection of payment means for the invoice."},"allowanceCharges":{"type":["null","array"],"items":{"$ref":"#/components/schemas/AllowanceChargeDto"},"description":"Collection of allowance and charge adjustments on the invoice."},"taxTotals":{"type":["null","array"],"items":{"$ref":"#/components/schemas/TaxTotalDto"},"description":"Collection of tax totals for the invoice."},"withholdingTaxTotals":{"type":["null","array"],"items":{"$ref":"#/components/schemas/WithholdingTaxTotalDto"},"description":"Collection of withholding tax totals for the invoice."},"totalBalanceAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"additionalDocumentReferences":{"type":["null","array"],"items":{"$ref":"#/components/schemas/AdditionalDocumentReferenceDto"},"description":"Collection of additional document references attached to the invoice."},"legalMonetaryTotal":{"$ref":"#/components/schemas/LegalMonetaryTotalDto"},"paymentStatus":{"$ref":"#/components/schemas/PaymentStatusDto"},"invoiceLines":{"type":["null","array"],"items":{"$ref":"#/components/schemas/SupplierInvoiceLineDto"},"description":"Collection of supplier invoice line items."},"sellerReference":{"type":["null","string"],"description":"External reference or number assigned by the seller (null if not available)."}},"additionalProperties":false,"description":"Represents a supplier (purchase) invoice with full detail."},"CreditInvoiceDto":{"type":"object","properties":{"creditInvoiceIndicator":{"type":["null","boolean"],"description":"Indicates whether the invoice is a credit invoice or credit note."},"creditInvoiceDocumentReferences":{"type":["null","array"],"items":{"$ref":"#/components/schemas/CreditInvoiceDocumentReferenceDto"},"description":"Collection of document references to credited or credit invoices."}},"additionalProperties":false,"description":"Represents credit invoice details associated with an invoice."},"CreditInvoiceDocumentReferenceDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the document reference."},"reference":{"type":["null","string"],"description":"Reference number of the credited invoice."},"documentType":{"enum":["Invoice","CreditInvoice"],"type":["null","string"],"description":"Type of the referenced document."}},"additionalProperties":false,"description":"Represents a reference to a credited invoice document."},"FinancialDimensionDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the financial dimension."},"reference":{"type":["null","string"],"description":"Reference code for the financial dimension."},"type":{"type":["null","string"],"description":"Type or code of the financial dimension as exposed by the connected accounting system.\n\nKnown values currently emitted by supported connectors include:\n\n- businessGroup\n- campaign\n- costBearer\n- costCode\n- costUnit\n- customerGroup\n- department\n- employee\n- product\n- project\n- purchaser\n- salesPerson\n- salesRegion\n- supplierGroup\n\nSome connectors can also return additional system-specific dimension codes (for example custom Business Central dimension codes)."},"name":{"type":["null","string"],"description":"Display name of the financial dimension."},"description":{"type":["null","string"],"description":"Description of the financial dimension."},"isActive":{"type":["null","boolean"],"description":"Indicates whether the financial dimension is active."}},"additionalProperties":false,"description":"Represents a financial dimension used to assign granularity to financial reports (e.g. cost center, project)."},"NoteDto":{"type":"object","properties":{"text":{"type":["null","string"],"description":"Content of the note."},"languageId":{"type":["null","string"],"description":"ISO 639-2 three-letter language code for the associated text, for example `ENG`, `SWE`, `DAN`, or `FIN`. Omit this value when the source system does not provide a language."}},"additionalProperties":false,"description":"Represents a textual note with an optional language identifier."},"OrderReferenceDto":{"type":"object","properties":{"buyerOrderId":{"type":["null","string"],"description":"Order number of the buyer (generated by the customer's system)."},"sellerOrderId":{"type":["null","string"],"description":"Order number of the seller (generated by the seller's system)."}},"additionalProperties":false,"description":"Represents a reference to the order from which the invoice originates."},"DocumentCurrencyCodeDto":{"type":"object","properties":{"currency":{"type":["null","string"],"description":"Deprecated. Use ZG.AccountingService.AccountingModels.Dtos.Common.DocumentCurrencyCodeDto.CurrencyId instead. Currency code of the document (e.g. SEK, EUR). (Deprecated: Use CurrencyId instead)","deprecated":true},"currencyId":{"type":["null","string"],"description":"Currency code of the document (e.g. SEK, EUR)."},"currencyRate":{"type":["null","number"],"description":"Exchange rate applied to the document currency.","format":"double"}},"additionalProperties":false,"description":"Represents the document currency and its exchange rate."},"SupplierPartyDto":{"type":"object","properties":{"customerAssignedAccountId":{"$ref":"#/components/schemas/IdentifierDto"},"party":{"$ref":"#/components/schemas/PartyDto"}},"additionalProperties":false,"description":"Represents the supplier party on an invoice."},"IdentifierDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Legal identifier."},"schemeId":{"type":["null","string"],"description":"Legal identifier scheme (e.g. SE:ORGNR)."}},"additionalProperties":false,"description":"Represents a legal identifier with an associated scheme."},"PartyDto":{"type":"object","properties":{"partyIdentification":{"type":["null","array"],"items":{"$ref":"#/components/schemas/IdentifierDto"},"description":"Collection of identifiers for the party."},"partyName":{"$ref":"#/components/schemas/PartyNameDto"},"postalAddress":{"$ref":"#/components/schemas/AddressDto"},"partyLegalEntity":{"$ref":"#/components/schemas/PartyLegalEntityDto"},"contact":{"$ref":"#/components/schemas/ContactDto"},"endpointId":{"$ref":"#/components/schemas/IdentifierDto"}},"additionalProperties":false,"description":"Represents a party (organization or individual) involved in a transaction."},"PartyNameDto":{"type":"object","properties":{"name":{"type":["null","string"],"description":"Name of the party."},"languageId":{"type":["null","string"],"description":"ISO 639-2 three-letter language code for the associated text, for example `ENG`, `SWE`, `DAN`, or `FIN`. Omit this value when the source system does not provide a language."}},"additionalProperties":false,"description":"Represents the name of a party with an optional language identifier."},"AddressDto":{"type":"object","properties":{"buildingNumber":{"type":["null","string"],"description":"Building number of the address."},"streetName":{"type":["null","string"],"description":"Primary street name."},"additionalStreetName":{"type":["null","string"],"description":"Secondary street name or additional address line."},"cityName":{"type":["null","string"],"description":"City or locality name."},"postalZone":{"type":["null","string"],"description":"Postal or ZIP code."},"country":{"$ref":"#/components/schemas/CountryDto"}},"additionalProperties":false,"description":"Represents a postal address."},"CountryDto":{"type":"object","properties":{"identificationCode":{"type":["null","string"],"description":"ISO 3166-1 alpha-2 country code."},"name":{"type":["null","string"],"description":"Country name."}},"additionalProperties":false,"description":"Represents a country with its identification code and name."},"PartyLegalEntityDto":{"type":"object","properties":{"registrationName":{"type":["null","string"],"description":"Registered legal name of the entity."},"companyId":{"$ref":"#/components/schemas/IdentifierDto"}},"additionalProperties":false,"description":"Represents the legal entity information of a party."},"ContactDto":{"type":"object","properties":{"name":{"type":["null","string"],"description":"Contact person name."},"telephone":{"type":["null","string"],"description":"Primary telephone number."},"email":{"type":["null","string"],"description":"Primary email address."},"secondaryEmail":{"type":["null","string"],"description":"Secondary email address."}},"additionalProperties":false,"description":"Represents contact information for a party."},"CustomerPartyDto":{"type":"object","properties":{"supplierAssignedAccountId":{"$ref":"#/components/schemas/IdentifierDto"},"party":{"$ref":"#/components/schemas/PartyDto"},"type":{"enum":["PrivatePerson","Company"],"type":["null","string"],"description":"Customer type classification."}},"additionalProperties":false,"description":"Represents the customer party on an invoice."},"PeriodDto":{"type":"object","properties":{"startDate":{"type":["null","string"],"description":"Start date of the period."},"endDate":{"type":["null","string"],"description":"End date of the period."}},"additionalProperties":false,"description":"Represents a date period defined by a start and end date."},"DeliveryDto":{"type":"object","properties":{"deliveryParty":{"$ref":"#/components/schemas/DeliveryPartyDto"},"carrierParty":{"$ref":"#/components/schemas/DeliveryPartyDto"},"actualDeliveryDate":{"type":["null","string"],"description":"Actual date of delivery."},"trackingId":{"type":["null","string"],"description":"Tracking identifier for the delivery shipment."},"deliveryAddress":{"$ref":"#/components/schemas/AddressDto"}},"additionalProperties":false,"description":"Represents delivery information for an invoice."},"DeliveryPartyDto":{"type":"object","properties":{"partyIdentification":{"$ref":"#/components/schemas/IdentifierDto"},"partyName":{"$ref":"#/components/schemas/PartyNameDto"}},"additionalProperties":false,"description":"Represents a party involved in a delivery."},"DeliveryTermsDto":{"type":"object","properties":{"deliveryTermsId":{"$ref":"#/components/schemas/IdentifierDto"},"specialTerms":{"$ref":"#/components/schemas/NoteDto"}},"additionalProperties":false,"description":"Represents delivery terms associated with an invoice."},"PaymentTermsDto":{"type":"object","properties":{"paymentTermsId":{"$ref":"#/components/schemas/IdentifierDto"},"notes":{"type":["null","array"],"items":{"$ref":"#/components/schemas/NoteDto"},"description":"Collection of notes describing the payment terms."}},"additionalProperties":false,"description":"Represents payment terms associated with an invoice."},"PaymentMeansDto":{"type":"object","properties":{"paymentChannelCode":{"type":["null","string"],"description":"Code identifying the payment channel."},"paymentDueDate":{"type":["null","string"],"description":"Date the payment is due."},"paymentIds":{"type":["null","array"],"items":{"$ref":"#/components/schemas/IdentifierDto"},"description":"Collection of payment identifiers."},"financialAccount":{"$ref":"#/components/schemas/FinancialAccountDto"}},"additionalProperties":false,"description":"Represents the payment means associated with an invoice."},"FinancialAccountDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the financial account."},"financialInstitution":{"type":["null","string"],"description":"Name or identifier of the financial institution."}},"additionalProperties":false,"description":"Represents a financial account used for payments."},"AllowanceChargeDto":{"type":"object","properties":{"allowanceChargeId":{"$ref":"#/components/schemas/IdentifierDto"},"chargeIndicator":{"type":"boolean","description":"Indicates whether this entry is a charge (true) or an allowance (false)."},"allowanceChargeReason":{"type":["null","string"],"description":"Reason for the allowance or charge."},"allowanceChargeAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"taxTotal":{"$ref":"#/components/schemas/TaxTotalDto"},"taxCategory":{"$ref":"#/components/schemas/TaxCategoryDto"},"allowanceChargeBaseAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"multiplierFactorNumeric":{"type":["null","number"],"description":"Multiplier factor used to calculate the allowance or charge.","format":"double"}},"additionalProperties":false,"description":"Represents an allowance or charge applied to an invoice or line item."},"AmountTypeDto":{"type":"object","properties":{"amount":{"type":"number","description":"The balance amount.","format":"double"},"currencyId":{"type":["null","string"],"description":"The currency code (e.g. SEK)."}},"additionalProperties":false,"description":"Represents a monetary amount with an associated currency."},"TaxTotalDto":{"type":"object","properties":{"taxAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"taxIncludedIndicator":{"type":["null","boolean"],"description":"Indicates whether the tax is included in the line amounts."},"taxSubtotals":{"type":["null","array"],"items":{"$ref":"#/components/schemas/TaxSubtotalDto"},"description":"Collection of tax subtotals broken down by category."}},"additionalProperties":false,"description":"Represents the total tax amount for an invoice or line item."},"TaxSubtotalDto":{"type":"object","properties":{"taxableAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"taxAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"taxCategory":{"$ref":"#/components/schemas/TaxSubtotalTaxCategoryDto"}},"additionalProperties":false,"description":"Represents a tax subtotal within a tax total."},"TaxSubtotalTaxCategoryDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the tax category."},"percent":{"type":["null","number"],"description":"Tax rate percentage for this category.","format":"double"},"taxScheme":{"$ref":"#/components/schemas/TaxCategoryTaxSchemeDto"},"taxExemptionReason":{"type":["null","string"],"description":"Reason for tax exemption, if applicable."},"taxExemptionReasonCode":{"type":["null","string"],"description":"Code identifying the tax exemption reason."}},"additionalProperties":false,"description":"Represents the tax category details within a tax subtotal."},"TaxCategoryTaxSchemeDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the tax scheme."}},"additionalProperties":false,"description":"Represents the tax scheme associated with a tax category."},"TaxCategoryDto":{"type":"object","properties":{"percent":{"type":"number","description":"Tax rate percentage for this category.","format":"double"},"taxScheme":{"$ref":"#/components/schemas/TaxSchemeDto"},"id":{"type":["null","string"],"description":"Unique identifier for the tax category."}},"additionalProperties":false,"description":"Represents a tax category with its percentage rate and scheme."},"TaxSchemeDto":{"type":"object","properties":{"taxSchemeId":{"$ref":"#/components/schemas/IdentifierDto"}},"additionalProperties":false,"description":"Represents a tax scheme."},"WithholdingTaxTotalDto":{"type":"object","properties":{"taxAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"taxSubtotals":{"type":["null","array"],"items":{"$ref":"#/components/schemas/TaxSubtotalDto"},"description":"Collection of withholding tax subtotals broken down by category."}},"additionalProperties":false,"description":"Represents the total withholding tax amount for an invoice."},"AdditionalDocumentReferenceDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the document reference."},"reference":{"type":["null","string"],"description":"Reference value of the additional document."}},"additionalProperties":false,"description":"Represents an additional document reference associated with an invoice."},"LegalMonetaryTotalDto":{"type":"object","properties":{"taxInclusiveAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"prepaidAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"payableRoundingAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"payableAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"lineExtensionAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"taxExclusiveAmount":{"$ref":"#/components/schemas/AmountTypeDto"}},"additionalProperties":false,"description":"Represents the legal monetary totals of an invoice."},"PaymentStatusDto":{"type":"object","properties":{"status":{"enum":["UNPAID","PARTLY_PAID","FULLY_PAID"],"type":["null","string"],"description":"Current payment status."},"settlementDate":{"type":["null","string"],"description":"Date when the payment was settled."}},"additionalProperties":false,"description":"Represents the payment status of an invoice."},"SupplierInvoiceLineDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the supplier invoice line."},"type":{"type":["null","string"],"description":"Line type classification."},"account":{"$ref":"#/components/schemas/AccountingAccountDto"},"invoicedQuantity":{"$ref":"#/components/schemas/InvoicedQuantityDto"},"lineExtensionAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"item":{"$ref":"#/components/schemas/ItemDto"},"price":{"$ref":"#/components/schemas/PriceDto"},"delivery":{"$ref":"#/components/schemas/InvoiceLineDeliveryDto"},"financialDimensions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/FinancialDimensionDto"},"description":"Collection of financial dimensions for the line."},"allowanceCharges":{"type":["null","array"],"items":{"$ref":"#/components/schemas/AllowanceChargeDto"},"description":"Collection of allowances or charges applied to the line."},"subInvoiceLines":{"type":["null","array"],"items":{"$ref":"#/components/schemas/SubInvoiceLineDto"},"description":"Collection of sub-lines within this invoice line."}},"additionalProperties":false,"description":"Represents a single line item on a supplier invoice."},"AccountingAccountDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier generated by the accounting system."},"accountingAccountId":{"type":["null","string"],"description":"Deprecated. Use ZG.AccountingService.AccountingModels.Dtos.Output.AccountingAccountDto.Reference instead. (Deprecated: Use Reference instead.)","deprecated":true},"reference":{"type":["null","string"],"description":"External reference or number assigned to the account."},"standardAccountingAccountId":{"type":["null","string"],"description":"Standard accounting account identifier used for classification."},"name":{"type":["null","string"],"description":"Display name of the accounting account."},"active":{"type":["null","boolean"],"description":"Indicates whether the account is active."},"postable":{"type":["null","boolean"],"description":"Indicates whether transactions can be posted to the account."},"description":{"description":"Deprecated: Use Descriptions instead.","deprecated":true,"$ref":"#/components/schemas/DescriptionDto"},"descriptions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/DescriptionDto"},"description":"Collection of descriptions for the accounting account."},"accountingAccountTypeCode":{"$ref":"#/components/schemas/PriceTypeCodeDto"},"financialDimensions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/FinancialDimensionDto"},"description":"Collection of financial dimensions associated with the account."}},"additionalProperties":false,"description":"Represents an accounting account in the chart of accounts."},"DescriptionDto":{"type":"object","properties":{"text":{"type":["null","string"],"description":"Content of the description."},"languageId":{"type":["null","string"],"description":"ISO 639-2 three-letter language code for the associated text, for example `ENG`, `SWE`, `DAN`, or `FIN`. Omit this value when the source system does not provide a language."}},"additionalProperties":false,"description":"Represents a description with an optional language identifier."},"PriceTypeCodeDto":{"type":"object","properties":{"code":{"type":["null","string"],"description":"Price type code value."},"listId":{"type":["null","string"],"description":"Identifier of the code list the code belongs to."}},"additionalProperties":false,"description":"Represents a price type classification code."},"InvoicedQuantityDto":{"type":"object","properties":{"quantity":{"type":["null","number"],"description":"Number of units invoiced.","format":"double"},"unitCode":{"type":["null","string"],"description":"Unit of measure code (e.g. EA, KG)."}},"additionalProperties":false,"description":"Represents an invoiced quantity with its unit of measure."},"ItemDto":{"type":"object","properties":{"name":{"type":["null","string"],"description":"Name of the item."},"description":{"type":["null","string"],"description":"Textual description of the item."},"sellersItemIdentification":{"$ref":"#/components/schemas/SellersItemIdentificationDto"},"classifiedTaxCategories":{"type":["null","array"],"items":{"$ref":"#/components/schemas/TaxCategoryDto"},"description":"Collection of tax categories classified for the item."}},"additionalProperties":false,"description":"Represents an item referenced in an invoice line."},"SellersItemIdentificationDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the item assigned by the seller."},"extendedId":{"type":["null","string"],"description":"Extended identifier for the item assigned by the seller."}},"additionalProperties":false,"description":"Represents the seller's identification of an item."},"PriceDto":{"type":"object","properties":{"priceAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"priceTypeCode":{"$ref":"#/components/schemas/PriceTypeCodeDto"},"allowanceCharges":{"type":["null","array"],"items":{"$ref":"#/components/schemas/AllowanceChargeDto"},"description":"Collection of allowances or charges applied to the price."},"baseQuantity":{"$ref":"#/components/schemas/InvoicedQuantityDto"}},"additionalProperties":false,"description":"Represents price information for an invoiced item."},"InvoiceLineDeliveryDto":{"type":"object","properties":{"actualDeliveryDate":{"type":["null","string"],"description":"Actual date of delivery for the invoice line."}},"additionalProperties":false,"description":"Represents delivery information at the invoice line level."},"SubInvoiceLineDto":{"type":"object","properties":{"invoicedQuantity":{"$ref":"#/components/schemas/InvoicedQuantityDto"},"item":{"$ref":"#/components/schemas/ItemDto"}},"additionalProperties":false,"description":"Represents a sub-line within an invoice line."}}}}
```

## The SupplierInvoiceInputDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"SupplierInvoiceInputDto":{"type":"object","properties":{"reference":{"type":["null","string"],"description":"Invoice number assigned by the sender."},"buyerReference":{"type":["null","string"],"description":"Reference for the buyer (usually the buyer's purchase invoice number)."},"bookedInvoiceIndicator":{"type":["null","boolean"],"description":"Indicates whether the invoice is booked."},"cancelledInvoiceIndicator":{"type":["null","boolean"],"description":"Indicates whether the invoice is cancelled."},"issueDate":{"type":["null","string"],"description":"Issue date of the invoice."},"issueTime":{"type":["null","string"],"description":"Issue time of the invoice."},"dueDate":{"type":["null","string"],"description":"Due date for payment of the invoice."},"creditInvoice":{"$ref":"#/components/schemas/CreditInvoiceInputDto"},"financialDimensions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/FinancialDimensionDto"},"description":"Collection of financial dimensions assigned to the invoice."},"notes":{"type":["null","array"],"items":{"$ref":"#/components/schemas/NoteDto"},"description":"Collection of notes attached to the invoice."},"orderReference":{"$ref":"#/components/schemas/OrderReferenceDto"},"documentCurrencyCode":{"$ref":"#/components/schemas/DocumentCurrencyCodeDto"},"accountingSupplierParty":{"$ref":"#/components/schemas/SupplierPartyInputDto"},"accountingCustomerParty":{"$ref":"#/components/schemas/CustomerPartyInputDto"},"invoicePeriod":{"$ref":"#/components/schemas/PeriodDto"},"delivery":{"$ref":"#/components/schemas/DeliveryDto"},"deliveryTerms":{"$ref":"#/components/schemas/DeliveryTermsDto"},"paymentTerms":{"$ref":"#/components/schemas/PaymentTermsInputDto"},"paymentMeans":{"type":["null","array"],"items":{"$ref":"#/components/schemas/PaymentMeansInputDto"},"description":"Collection of payment means for the invoice."},"allowanceCharges":{"type":["null","array"],"items":{"$ref":"#/components/schemas/AllowanceChargeInputDto"},"description":"Collection of allowances and charges on the invoice."},"taxTotals":{"type":["null","array"],"items":{"$ref":"#/components/schemas/TaxTotalInputDto"},"description":"Collection of tax totals for the invoice."},"withholdingTaxTotals":{"type":["null","array"],"items":{"$ref":"#/components/schemas/WithholdingTaxTotalInputDto"},"description":"Collection of withholding tax totals for the invoice."},"totalBalanceAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"additionalDocumentReferences":{"type":["null","array"],"items":{"$ref":"#/components/schemas/AdditionalDocumentReferenceDto"},"description":"Collection of additional document references."},"legalMonetaryTotal":{"$ref":"#/components/schemas/LegalMonetaryTotalDto"},"paymentStatus":{"$ref":"#/components/schemas/PaymentStatusDto"},"invoiceLines":{"type":["null","array"],"items":{"$ref":"#/components/schemas/SupplierInvoiceLineInputDto"},"description":"Collection of supplier invoice lines."},"sellerReference":{"type":["null","string"],"description":"Reference for the seller."}},"additionalProperties":false,"description":"Represents input data for a supplier invoice."},"CreditInvoiceInputDto":{"type":"object","properties":{"creditInvoiceIndicator":{"type":["null","boolean"],"description":"Indicates whether the invoice is a credit invoice / credit note."},"reference":{"type":["null","string"],"description":"Invoice number of the credited invoice, if this is a credit invoice."},"creditInvoiceDocumentReferences":{"type":["null","array"],"items":{"$ref":"#/components/schemas/CreditInvoiceDocumentReferenceDto"},"description":"Collection of references to the credited invoices or credit invoices."}},"additionalProperties":false,"description":"Represents credit invoice details associated with an invoice."},"CreditInvoiceDocumentReferenceDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the document reference."},"reference":{"type":["null","string"],"description":"Reference number of the credited invoice."},"documentType":{"enum":["Invoice","CreditInvoice"],"type":["null","string"],"description":"Type of the referenced document."}},"additionalProperties":false,"description":"Represents a reference to a credited invoice document."},"FinancialDimensionDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the financial dimension."},"reference":{"type":["null","string"],"description":"Reference code for the financial dimension."},"type":{"type":["null","string"],"description":"Type or code of the financial dimension as exposed by the connected accounting system.\n\nKnown values currently emitted by supported connectors include:\n\n- businessGroup\n- campaign\n- costBearer\n- costCode\n- costUnit\n- customerGroup\n- department\n- employee\n- product\n- project\n- purchaser\n- salesPerson\n- salesRegion\n- supplierGroup\n\nSome connectors can also return additional system-specific dimension codes (for example custom Business Central dimension codes)."},"name":{"type":["null","string"],"description":"Display name of the financial dimension."},"description":{"type":["null","string"],"description":"Description of the financial dimension."},"isActive":{"type":["null","boolean"],"description":"Indicates whether the financial dimension is active."}},"additionalProperties":false,"description":"Represents a financial dimension used to assign granularity to financial reports (e.g. cost center, project)."},"NoteDto":{"type":"object","properties":{"text":{"type":["null","string"],"description":"Content of the note."},"languageId":{"type":["null","string"],"description":"ISO 639-2 three-letter language code for the associated text, for example `ENG`, `SWE`, `DAN`, or `FIN`. Omit this value when the source system does not provide a language."}},"additionalProperties":false,"description":"Represents a textual note with an optional language identifier."},"OrderReferenceDto":{"type":"object","properties":{"buyerOrderId":{"type":["null","string"],"description":"Order number of the buyer (generated by the customer's system)."},"sellerOrderId":{"type":["null","string"],"description":"Order number of the seller (generated by the seller's system)."}},"additionalProperties":false,"description":"Represents a reference to the order from which the invoice originates."},"DocumentCurrencyCodeDto":{"type":"object","properties":{"currency":{"type":["null","string"],"description":"Deprecated. Use ZG.AccountingService.AccountingModels.Dtos.Common.DocumentCurrencyCodeDto.CurrencyId instead. Currency code of the document (e.g. SEK, EUR). (Deprecated: Use CurrencyId instead)","deprecated":true},"currencyId":{"type":["null","string"],"description":"Currency code of the document (e.g. SEK, EUR)."},"currencyRate":{"type":["null","number"],"description":"Exchange rate applied to the document currency.","format":"double"}},"additionalProperties":false,"description":"Represents the document currency and its exchange rate."},"SupplierPartyInputDto":{"type":"object","properties":{"customerAssignedAccountId":{"$ref":"#/components/schemas/IdentifierDto"},"party":{"$ref":"#/components/schemas/PartyInputDto"}},"additionalProperties":false,"description":"Represents the supplier party on an invoice."},"IdentifierDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Legal identifier."},"schemeId":{"type":["null","string"],"description":"Legal identifier scheme (e.g. SE:ORGNR)."}},"additionalProperties":false,"description":"Represents a legal identifier with an associated scheme."},"PartyInputDto":{"type":"object","properties":{"partyName":{"$ref":"#/components/schemas/PartyNameDto"},"postalAddress":{"$ref":"#/components/schemas/AddressDto"},"partyLegalEntity":{"$ref":"#/components/schemas/PartyLegalEntityDto"},"contact":{"$ref":"#/components/schemas/ContactDto"},"endpointId":{"$ref":"#/components/schemas/IdentifierDto"},"partyIdentification":{"type":["null","array"],"items":{"$ref":"#/components/schemas/IdentifierDto"},"description":"Collection of identifiers for the party."}},"additionalProperties":false,"description":"Represents a party (business entity) involved in an invoice."},"PartyNameDto":{"type":"object","properties":{"name":{"type":["null","string"],"description":"Name of the party."},"languageId":{"type":["null","string"],"description":"ISO 639-2 three-letter language code for the associated text, for example `ENG`, `SWE`, `DAN`, or `FIN`. Omit this value when the source system does not provide a language."}},"additionalProperties":false,"description":"Represents the name of a party with an optional language identifier."},"AddressDto":{"type":"object","properties":{"buildingNumber":{"type":["null","string"],"description":"Building number of the address."},"streetName":{"type":["null","string"],"description":"Primary street name."},"additionalStreetName":{"type":["null","string"],"description":"Secondary street name or additional address line."},"cityName":{"type":["null","string"],"description":"City or locality name."},"postalZone":{"type":["null","string"],"description":"Postal or ZIP code."},"country":{"$ref":"#/components/schemas/CountryDto"}},"additionalProperties":false,"description":"Represents a postal address."},"CountryDto":{"type":"object","properties":{"identificationCode":{"type":["null","string"],"description":"ISO 3166-1 alpha-2 country code."},"name":{"type":["null","string"],"description":"Country name."}},"additionalProperties":false,"description":"Represents a country with its identification code and name."},"PartyLegalEntityDto":{"type":"object","properties":{"registrationName":{"type":["null","string"],"description":"Registered legal name of the entity."},"companyId":{"$ref":"#/components/schemas/IdentifierDto"}},"additionalProperties":false,"description":"Represents the legal entity information of a party."},"ContactDto":{"type":"object","properties":{"name":{"type":["null","string"],"description":"Contact person name."},"telephone":{"type":["null","string"],"description":"Primary telephone number."},"email":{"type":["null","string"],"description":"Primary email address."},"secondaryEmail":{"type":["null","string"],"description":"Secondary email address."}},"additionalProperties":false,"description":"Represents contact information for a party."},"CustomerPartyInputDto":{"type":"object","properties":{"supplierAssignedAccountId":{"$ref":"#/components/schemas/IdentifierDto"},"party":{"$ref":"#/components/schemas/PartyInputDto"}},"additionalProperties":false,"description":"Represents the customer party on an invoice."},"PeriodDto":{"type":"object","properties":{"startDate":{"type":["null","string"],"description":"Start date of the period."},"endDate":{"type":["null","string"],"description":"End date of the period."}},"additionalProperties":false,"description":"Represents a date period defined by a start and end date."},"DeliveryDto":{"type":"object","properties":{"deliveryParty":{"$ref":"#/components/schemas/DeliveryPartyDto"},"carrierParty":{"$ref":"#/components/schemas/DeliveryPartyDto"},"actualDeliveryDate":{"type":["null","string"],"description":"Actual date of delivery."},"trackingId":{"type":["null","string"],"description":"Tracking identifier for the delivery shipment."},"deliveryAddress":{"$ref":"#/components/schemas/AddressDto"}},"additionalProperties":false,"description":"Represents delivery information for an invoice."},"DeliveryPartyDto":{"type":"object","properties":{"partyIdentification":{"$ref":"#/components/schemas/IdentifierDto"},"partyName":{"$ref":"#/components/schemas/PartyNameDto"}},"additionalProperties":false,"description":"Represents a party involved in a delivery."},"DeliveryTermsDto":{"type":"object","properties":{"deliveryTermsId":{"$ref":"#/components/schemas/IdentifierDto"},"specialTerms":{"$ref":"#/components/schemas/NoteDto"}},"additionalProperties":false,"description":"Represents delivery terms associated with an invoice."},"PaymentTermsInputDto":{"type":"object","properties":{"paymentTermsId":{"$ref":"#/components/schemas/IdentifierDto"},"notes":{"type":["null","array"],"items":{"$ref":"#/components/schemas/NoteDto"},"description":"Collection of notes describing the payment terms."}},"additionalProperties":false,"description":"Represents payment terms for an invoice."},"PaymentMeansInputDto":{"type":"object","properties":{"paymentChannelCode":{"type":["null","string"],"description":"Code identifying the payment channel (e.g. bank transfer, credit card)."},"paymentDueDate":{"type":["null","string"],"description":"Due date for the payment."},"paymentIds":{"type":["null","array"],"items":{"$ref":"#/components/schemas/IdentifierDto"},"description":"Collection of payment identifiers (e.g. bank account numbers)."}},"additionalProperties":false,"description":"Represents the means of payment for an invoice."},"AllowanceChargeInputDto":{"type":"object","properties":{"allowanceChargeId":{"$ref":"#/components/schemas/IdentifierDto"},"chargeIndicator":{"type":"boolean","description":"Indicates whether this is a charge (true) or an allowance (false)."},"allowanceChargeReason":{"type":["null","string"],"description":"Reason for the allowance or charge."},"allowanceChargeAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"taxTotal":{"$ref":"#/components/schemas/TaxTotalInputDto"},"taxCategory":{"$ref":"#/components/schemas/TaxCategoryDto"},"allowanceChargeBaseAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"multiplierFactorNumeric":{"type":["null","number"],"description":"Multiplier factor used to calculate the allowance or charge.","format":"double"}},"additionalProperties":false,"description":"Represents an allowance or charge applied to an invoice or invoice line."},"AmountTypeDto":{"type":"object","properties":{"amount":{"type":"number","description":"The balance amount.","format":"double"},"currencyId":{"type":["null","string"],"description":"The currency code (e.g. SEK)."}},"additionalProperties":false,"description":"Represents a monetary amount with an associated currency."},"TaxTotalInputDto":{"type":"object","properties":{"taxAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"taxIncludedIndicator":{"type":["null","boolean"],"description":"Indicates whether the tax is included in the line amounts."},"taxSubtotals":{"type":["null","array"],"items":{"$ref":"#/components/schemas/TaxSubtotalDto"},"description":"Collection of tax subtotals composing this tax total."}},"additionalProperties":false,"description":"Represents the total tax amount for an invoice or line."},"TaxSubtotalDto":{"type":"object","properties":{"taxableAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"taxAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"taxCategory":{"$ref":"#/components/schemas/TaxSubtotalTaxCategoryDto"}},"additionalProperties":false,"description":"Represents a tax subtotal within a tax total."},"TaxSubtotalTaxCategoryDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the tax category."},"percent":{"type":["null","number"],"description":"Tax rate percentage for this category.","format":"double"},"taxScheme":{"$ref":"#/components/schemas/TaxCategoryTaxSchemeDto"},"taxExemptionReason":{"type":["null","string"],"description":"Reason for tax exemption, if applicable."},"taxExemptionReasonCode":{"type":["null","string"],"description":"Code identifying the tax exemption reason."}},"additionalProperties":false,"description":"Represents the tax category details within a tax subtotal."},"TaxCategoryTaxSchemeDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the tax scheme."}},"additionalProperties":false,"description":"Represents the tax scheme associated with a tax category."},"TaxCategoryDto":{"type":"object","properties":{"percent":{"type":"number","description":"Tax rate percentage for this category.","format":"double"},"taxScheme":{"$ref":"#/components/schemas/TaxSchemeDto"},"id":{"type":["null","string"],"description":"Unique identifier for the tax category."}},"additionalProperties":false,"description":"Represents a tax category with its percentage rate and scheme."},"TaxSchemeDto":{"type":"object","properties":{"taxSchemeId":{"$ref":"#/components/schemas/IdentifierDto"}},"additionalProperties":false,"description":"Represents a tax scheme."},"WithholdingTaxTotalInputDto":{"type":"object","properties":{"taxAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"taxSubtotals":{"type":["null","array"],"items":{"$ref":"#/components/schemas/TaxSubtotalDto"},"description":"Collection of tax subtotals composing this withholding tax total."}},"additionalProperties":false,"description":"Represents the total withholding tax amount for an invoice."},"AdditionalDocumentReferenceDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the document reference."},"reference":{"type":["null","string"],"description":"Reference value of the additional document."}},"additionalProperties":false,"description":"Represents an additional document reference associated with an invoice."},"LegalMonetaryTotalDto":{"type":"object","properties":{"taxInclusiveAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"prepaidAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"payableRoundingAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"payableAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"lineExtensionAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"taxExclusiveAmount":{"$ref":"#/components/schemas/AmountTypeDto"}},"additionalProperties":false,"description":"Represents the legal monetary totals of an invoice."},"PaymentStatusDto":{"type":"object","properties":{"status":{"enum":["UNPAID","PARTLY_PAID","FULLY_PAID"],"type":["null","string"],"description":"Current payment status."},"settlementDate":{"type":["null","string"],"description":"Date when the payment was settled."}},"additionalProperties":false,"description":"Represents the payment status of an invoice."},"SupplierInvoiceLineInputDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the invoice line."},"type":{"type":["null","string"],"description":"Type classification of the invoice line."},"account":{"$ref":"#/components/schemas/AccountingAccountInputDto"},"invoicedQuantity":{"$ref":"#/components/schemas/InvoicedQuantityDto"},"lineExtensionAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"item":{"$ref":"#/components/schemas/ItemInputDto"},"price":{"$ref":"#/components/schemas/PriceInputDto"},"delivery":{"$ref":"#/components/schemas/InvoiceLineDeliveryDto"},"financialDimensions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/FinancialDimensionDto"},"description":"Collection of financial dimensions for this line."},"allowanceCharges":{"type":["null","array"],"items":{"$ref":"#/components/schemas/AllowanceChargeInputDto"},"description":"Collection of allowances and charges on this line."},"subInvoiceLines":{"type":["null","array"],"items":{"$ref":"#/components/schemas/SubInvoiceLineInputDto"},"description":"Collection of sub-lines within this invoice line."}},"additionalProperties":false,"description":"Represents a line item on a supplier invoice."},"AccountingAccountInputDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the accounting account."},"accountingAccountId":{"type":["null","string"],"description":"Deprecated. Use ZG.AccountingService.AccountingModels.Dtos.Input.AccountingAccountInputDto.Reference instead. (Deprecated: Use Reference instead.)","deprecated":true},"reference":{"type":["null","string"],"description":"Reference code for the accounting account."},"standardAccountingAccountId":{"type":["null","string"],"description":"Standard accounting account identifier (e.g. BAS account number)."},"name":{"type":["null","string"],"description":"Display name of the accounting account."},"active":{"type":["null","boolean"],"description":"Indicates whether the accounting account is active."},"postable":{"type":["null","boolean"],"description":"Indicates whether entries can be posted to this account."},"description":{"description":"Deprecated: Use Descriptions instead.","deprecated":true,"$ref":"#/components/schemas/DescriptionDto"},"descriptions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/DescriptionDto"},"description":"Collection of descriptions for the accounting account."},"accountingAccountTypeCode":{"$ref":"#/components/schemas/PriceTypeCodeDto"},"financialDimensions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/FinancialDimensionDto"},"description":"Collection of financial dimensions for the account."}},"additionalProperties":false,"description":"Represents input data for an accounting account."},"DescriptionDto":{"type":"object","properties":{"text":{"type":["null","string"],"description":"Content of the description."},"languageId":{"type":["null","string"],"description":"ISO 639-2 three-letter language code for the associated text, for example `ENG`, `SWE`, `DAN`, or `FIN`. Omit this value when the source system does not provide a language."}},"additionalProperties":false,"description":"Represents a description with an optional language identifier."},"PriceTypeCodeDto":{"type":"object","properties":{"code":{"type":["null","string"],"description":"Price type code value."},"listId":{"type":["null","string"],"description":"Identifier of the code list the code belongs to."}},"additionalProperties":false,"description":"Represents a price type classification code."},"InvoicedQuantityDto":{"type":"object","properties":{"quantity":{"type":["null","number"],"description":"Number of units invoiced.","format":"double"},"unitCode":{"type":["null","string"],"description":"Unit of measure code (e.g. EA, KG)."}},"additionalProperties":false,"description":"Represents an invoiced quantity with its unit of measure."},"ItemInputDto":{"type":"object","properties":{"name":{"type":["null","string"],"description":"Name of the item."},"description":{"type":["null","string"],"description":"Description of the item."},"sellersItemIdentification":{"$ref":"#/components/schemas/SellersItemIdentificationDto"},"classifiedTaxCategories":{"type":["null","array"],"items":{"$ref":"#/components/schemas/TaxCategoryDto"},"description":"Collection of tax categories classified for the item."}},"additionalProperties":false,"description":"Represents an item on an invoice line."},"SellersItemIdentificationDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the item assigned by the seller."},"extendedId":{"type":["null","string"],"description":"Extended identifier for the item assigned by the seller."}},"additionalProperties":false,"description":"Represents the seller's identification of an item."},"PriceInputDto":{"type":"object","properties":{"priceAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"priceTypeCode":{"$ref":"#/components/schemas/PriceTypeCodeDto"},"baseQuantity":{"$ref":"#/components/schemas/InvoicedQuantityDto"},"allowanceCharges":{"type":["null","array"],"items":{"$ref":"#/components/schemas/AllowanceChargeInputDto"},"description":"Collection of allowances and charges applied to the price."}},"additionalProperties":false,"description":"Represents price details for an invoice line item."},"InvoiceLineDeliveryDto":{"type":"object","properties":{"actualDeliveryDate":{"type":["null","string"],"description":"Actual date of delivery for the invoice line."}},"additionalProperties":false,"description":"Represents delivery information at the invoice line level."},"SubInvoiceLineInputDto":{"type":"object","properties":{"invoicedQuantity":{"$ref":"#/components/schemas/InvoicedQuantityDto"},"item":{"$ref":"#/components/schemas/ItemInputDto"}},"additionalProperties":false,"description":"Represents a sub-line within an invoice line."}}}}
```

## The SupplierInvoiceLineDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"SupplierInvoiceLineDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the supplier invoice line."},"type":{"type":["null","string"],"description":"Line type classification."},"account":{"$ref":"#/components/schemas/AccountingAccountDto"},"invoicedQuantity":{"$ref":"#/components/schemas/InvoicedQuantityDto"},"lineExtensionAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"item":{"$ref":"#/components/schemas/ItemDto"},"price":{"$ref":"#/components/schemas/PriceDto"},"delivery":{"$ref":"#/components/schemas/InvoiceLineDeliveryDto"},"financialDimensions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/FinancialDimensionDto"},"description":"Collection of financial dimensions for the line."},"allowanceCharges":{"type":["null","array"],"items":{"$ref":"#/components/schemas/AllowanceChargeDto"},"description":"Collection of allowances or charges applied to the line."},"subInvoiceLines":{"type":["null","array"],"items":{"$ref":"#/components/schemas/SubInvoiceLineDto"},"description":"Collection of sub-lines within this invoice line."}},"additionalProperties":false,"description":"Represents a single line item on a supplier invoice."},"AccountingAccountDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier generated by the accounting system."},"accountingAccountId":{"type":["null","string"],"description":"Deprecated. Use ZG.AccountingService.AccountingModels.Dtos.Output.AccountingAccountDto.Reference instead. (Deprecated: Use Reference instead.)","deprecated":true},"reference":{"type":["null","string"],"description":"External reference or number assigned to the account."},"standardAccountingAccountId":{"type":["null","string"],"description":"Standard accounting account identifier used for classification."},"name":{"type":["null","string"],"description":"Display name of the accounting account."},"active":{"type":["null","boolean"],"description":"Indicates whether the account is active."},"postable":{"type":["null","boolean"],"description":"Indicates whether transactions can be posted to the account."},"description":{"description":"Deprecated: Use Descriptions instead.","deprecated":true,"$ref":"#/components/schemas/DescriptionDto"},"descriptions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/DescriptionDto"},"description":"Collection of descriptions for the accounting account."},"accountingAccountTypeCode":{"$ref":"#/components/schemas/PriceTypeCodeDto"},"financialDimensions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/FinancialDimensionDto"},"description":"Collection of financial dimensions associated with the account."}},"additionalProperties":false,"description":"Represents an accounting account in the chart of accounts."},"DescriptionDto":{"type":"object","properties":{"text":{"type":["null","string"],"description":"Content of the description."},"languageId":{"type":["null","string"],"description":"ISO 639-2 three-letter language code for the associated text, for example `ENG`, `SWE`, `DAN`, or `FIN`. Omit this value when the source system does not provide a language."}},"additionalProperties":false,"description":"Represents a description with an optional language identifier."},"PriceTypeCodeDto":{"type":"object","properties":{"code":{"type":["null","string"],"description":"Price type code value."},"listId":{"type":["null","string"],"description":"Identifier of the code list the code belongs to."}},"additionalProperties":false,"description":"Represents a price type classification code."},"FinancialDimensionDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the financial dimension."},"reference":{"type":["null","string"],"description":"Reference code for the financial dimension."},"type":{"type":["null","string"],"description":"Type or code of the financial dimension as exposed by the connected accounting system.\n\nKnown values currently emitted by supported connectors include:\n\n- businessGroup\n- campaign\n- costBearer\n- costCode\n- costUnit\n- customerGroup\n- department\n- employee\n- product\n- project\n- purchaser\n- salesPerson\n- salesRegion\n- supplierGroup\n\nSome connectors can also return additional system-specific dimension codes (for example custom Business Central dimension codes)."},"name":{"type":["null","string"],"description":"Display name of the financial dimension."},"description":{"type":["null","string"],"description":"Description of the financial dimension."},"isActive":{"type":["null","boolean"],"description":"Indicates whether the financial dimension is active."}},"additionalProperties":false,"description":"Represents a financial dimension used to assign granularity to financial reports (e.g. cost center, project)."},"InvoicedQuantityDto":{"type":"object","properties":{"quantity":{"type":["null","number"],"description":"Number of units invoiced.","format":"double"},"unitCode":{"type":["null","string"],"description":"Unit of measure code (e.g. EA, KG)."}},"additionalProperties":false,"description":"Represents an invoiced quantity with its unit of measure."},"AmountTypeDto":{"type":"object","properties":{"amount":{"type":"number","description":"The balance amount.","format":"double"},"currencyId":{"type":["null","string"],"description":"The currency code (e.g. SEK)."}},"additionalProperties":false,"description":"Represents a monetary amount with an associated currency."},"ItemDto":{"type":"object","properties":{"name":{"type":["null","string"],"description":"Name of the item."},"description":{"type":["null","string"],"description":"Textual description of the item."},"sellersItemIdentification":{"$ref":"#/components/schemas/SellersItemIdentificationDto"},"classifiedTaxCategories":{"type":["null","array"],"items":{"$ref":"#/components/schemas/TaxCategoryDto"},"description":"Collection of tax categories classified for the item."}},"additionalProperties":false,"description":"Represents an item referenced in an invoice line."},"SellersItemIdentificationDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the item assigned by the seller."},"extendedId":{"type":["null","string"],"description":"Extended identifier for the item assigned by the seller."}},"additionalProperties":false,"description":"Represents the seller's identification of an item."},"TaxCategoryDto":{"type":"object","properties":{"percent":{"type":"number","description":"Tax rate percentage for this category.","format":"double"},"taxScheme":{"$ref":"#/components/schemas/TaxSchemeDto"},"id":{"type":["null","string"],"description":"Unique identifier for the tax category."}},"additionalProperties":false,"description":"Represents a tax category with its percentage rate and scheme."},"TaxSchemeDto":{"type":"object","properties":{"taxSchemeId":{"$ref":"#/components/schemas/IdentifierDto"}},"additionalProperties":false,"description":"Represents a tax scheme."},"IdentifierDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Legal identifier."},"schemeId":{"type":["null","string"],"description":"Legal identifier scheme (e.g. SE:ORGNR)."}},"additionalProperties":false,"description":"Represents a legal identifier with an associated scheme."},"PriceDto":{"type":"object","properties":{"priceAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"priceTypeCode":{"$ref":"#/components/schemas/PriceTypeCodeDto"},"allowanceCharges":{"type":["null","array"],"items":{"$ref":"#/components/schemas/AllowanceChargeDto"},"description":"Collection of allowances or charges applied to the price."},"baseQuantity":{"$ref":"#/components/schemas/InvoicedQuantityDto"}},"additionalProperties":false,"description":"Represents price information for an invoiced item."},"AllowanceChargeDto":{"type":"object","properties":{"allowanceChargeId":{"$ref":"#/components/schemas/IdentifierDto"},"chargeIndicator":{"type":"boolean","description":"Indicates whether this entry is a charge (true) or an allowance (false)."},"allowanceChargeReason":{"type":["null","string"],"description":"Reason for the allowance or charge."},"allowanceChargeAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"taxTotal":{"$ref":"#/components/schemas/TaxTotalDto"},"taxCategory":{"$ref":"#/components/schemas/TaxCategoryDto"},"allowanceChargeBaseAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"multiplierFactorNumeric":{"type":["null","number"],"description":"Multiplier factor used to calculate the allowance or charge.","format":"double"}},"additionalProperties":false,"description":"Represents an allowance or charge applied to an invoice or line item."},"TaxTotalDto":{"type":"object","properties":{"taxAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"taxIncludedIndicator":{"type":["null","boolean"],"description":"Indicates whether the tax is included in the line amounts."},"taxSubtotals":{"type":["null","array"],"items":{"$ref":"#/components/schemas/TaxSubtotalDto"},"description":"Collection of tax subtotals broken down by category."}},"additionalProperties":false,"description":"Represents the total tax amount for an invoice or line item."},"TaxSubtotalDto":{"type":"object","properties":{"taxableAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"taxAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"taxCategory":{"$ref":"#/components/schemas/TaxSubtotalTaxCategoryDto"}},"additionalProperties":false,"description":"Represents a tax subtotal within a tax total."},"TaxSubtotalTaxCategoryDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the tax category."},"percent":{"type":["null","number"],"description":"Tax rate percentage for this category.","format":"double"},"taxScheme":{"$ref":"#/components/schemas/TaxCategoryTaxSchemeDto"},"taxExemptionReason":{"type":["null","string"],"description":"Reason for tax exemption, if applicable."},"taxExemptionReasonCode":{"type":["null","string"],"description":"Code identifying the tax exemption reason."}},"additionalProperties":false,"description":"Represents the tax category details within a tax subtotal."},"TaxCategoryTaxSchemeDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the tax scheme."}},"additionalProperties":false,"description":"Represents the tax scheme associated with a tax category."},"InvoiceLineDeliveryDto":{"type":"object","properties":{"actualDeliveryDate":{"type":["null","string"],"description":"Actual date of delivery for the invoice line."}},"additionalProperties":false,"description":"Represents delivery information at the invoice line level."},"SubInvoiceLineDto":{"type":"object","properties":{"invoicedQuantity":{"$ref":"#/components/schemas/InvoicedQuantityDto"},"item":{"$ref":"#/components/schemas/ItemDto"}},"additionalProperties":false,"description":"Represents a sub-line within an invoice line."}}}}
```

## The SupplierInvoiceLineInputDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"SupplierInvoiceLineInputDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the invoice line."},"type":{"type":["null","string"],"description":"Type classification of the invoice line."},"account":{"$ref":"#/components/schemas/AccountingAccountInputDto"},"invoicedQuantity":{"$ref":"#/components/schemas/InvoicedQuantityDto"},"lineExtensionAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"item":{"$ref":"#/components/schemas/ItemInputDto"},"price":{"$ref":"#/components/schemas/PriceInputDto"},"delivery":{"$ref":"#/components/schemas/InvoiceLineDeliveryDto"},"financialDimensions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/FinancialDimensionDto"},"description":"Collection of financial dimensions for this line."},"allowanceCharges":{"type":["null","array"],"items":{"$ref":"#/components/schemas/AllowanceChargeInputDto"},"description":"Collection of allowances and charges on this line."},"subInvoiceLines":{"type":["null","array"],"items":{"$ref":"#/components/schemas/SubInvoiceLineInputDto"},"description":"Collection of sub-lines within this invoice line."}},"additionalProperties":false,"description":"Represents a line item on a supplier invoice."},"AccountingAccountInputDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the accounting account."},"accountingAccountId":{"type":["null","string"],"description":"Deprecated. Use ZG.AccountingService.AccountingModels.Dtos.Input.AccountingAccountInputDto.Reference instead. (Deprecated: Use Reference instead.)","deprecated":true},"reference":{"type":["null","string"],"description":"Reference code for the accounting account."},"standardAccountingAccountId":{"type":["null","string"],"description":"Standard accounting account identifier (e.g. BAS account number)."},"name":{"type":["null","string"],"description":"Display name of the accounting account."},"active":{"type":["null","boolean"],"description":"Indicates whether the accounting account is active."},"postable":{"type":["null","boolean"],"description":"Indicates whether entries can be posted to this account."},"description":{"description":"Deprecated: Use Descriptions instead.","deprecated":true,"$ref":"#/components/schemas/DescriptionDto"},"descriptions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/DescriptionDto"},"description":"Collection of descriptions for the accounting account."},"accountingAccountTypeCode":{"$ref":"#/components/schemas/PriceTypeCodeDto"},"financialDimensions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/FinancialDimensionDto"},"description":"Collection of financial dimensions for the account."}},"additionalProperties":false,"description":"Represents input data for an accounting account."},"DescriptionDto":{"type":"object","properties":{"text":{"type":["null","string"],"description":"Content of the description."},"languageId":{"type":["null","string"],"description":"ISO 639-2 three-letter language code for the associated text, for example `ENG`, `SWE`, `DAN`, or `FIN`. Omit this value when the source system does not provide a language."}},"additionalProperties":false,"description":"Represents a description with an optional language identifier."},"PriceTypeCodeDto":{"type":"object","properties":{"code":{"type":["null","string"],"description":"Price type code value."},"listId":{"type":["null","string"],"description":"Identifier of the code list the code belongs to."}},"additionalProperties":false,"description":"Represents a price type classification code."},"FinancialDimensionDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the financial dimension."},"reference":{"type":["null","string"],"description":"Reference code for the financial dimension."},"type":{"type":["null","string"],"description":"Type or code of the financial dimension as exposed by the connected accounting system.\n\nKnown values currently emitted by supported connectors include:\n\n- businessGroup\n- campaign\n- costBearer\n- costCode\n- costUnit\n- customerGroup\n- department\n- employee\n- product\n- project\n- purchaser\n- salesPerson\n- salesRegion\n- supplierGroup\n\nSome connectors can also return additional system-specific dimension codes (for example custom Business Central dimension codes)."},"name":{"type":["null","string"],"description":"Display name of the financial dimension."},"description":{"type":["null","string"],"description":"Description of the financial dimension."},"isActive":{"type":["null","boolean"],"description":"Indicates whether the financial dimension is active."}},"additionalProperties":false,"description":"Represents a financial dimension used to assign granularity to financial reports (e.g. cost center, project)."},"InvoicedQuantityDto":{"type":"object","properties":{"quantity":{"type":["null","number"],"description":"Number of units invoiced.","format":"double"},"unitCode":{"type":["null","string"],"description":"Unit of measure code (e.g. EA, KG)."}},"additionalProperties":false,"description":"Represents an invoiced quantity with its unit of measure."},"AmountTypeDto":{"type":"object","properties":{"amount":{"type":"number","description":"The balance amount.","format":"double"},"currencyId":{"type":["null","string"],"description":"The currency code (e.g. SEK)."}},"additionalProperties":false,"description":"Represents a monetary amount with an associated currency."},"ItemInputDto":{"type":"object","properties":{"name":{"type":["null","string"],"description":"Name of the item."},"description":{"type":["null","string"],"description":"Description of the item."},"sellersItemIdentification":{"$ref":"#/components/schemas/SellersItemIdentificationDto"},"classifiedTaxCategories":{"type":["null","array"],"items":{"$ref":"#/components/schemas/TaxCategoryDto"},"description":"Collection of tax categories classified for the item."}},"additionalProperties":false,"description":"Represents an item on an invoice line."},"SellersItemIdentificationDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the item assigned by the seller."},"extendedId":{"type":["null","string"],"description":"Extended identifier for the item assigned by the seller."}},"additionalProperties":false,"description":"Represents the seller's identification of an item."},"TaxCategoryDto":{"type":"object","properties":{"percent":{"type":"number","description":"Tax rate percentage for this category.","format":"double"},"taxScheme":{"$ref":"#/components/schemas/TaxSchemeDto"},"id":{"type":["null","string"],"description":"Unique identifier for the tax category."}},"additionalProperties":false,"description":"Represents a tax category with its percentage rate and scheme."},"TaxSchemeDto":{"type":"object","properties":{"taxSchemeId":{"$ref":"#/components/schemas/IdentifierDto"}},"additionalProperties":false,"description":"Represents a tax scheme."},"IdentifierDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Legal identifier."},"schemeId":{"type":["null","string"],"description":"Legal identifier scheme (e.g. SE:ORGNR)."}},"additionalProperties":false,"description":"Represents a legal identifier with an associated scheme."},"PriceInputDto":{"type":"object","properties":{"priceAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"priceTypeCode":{"$ref":"#/components/schemas/PriceTypeCodeDto"},"baseQuantity":{"$ref":"#/components/schemas/InvoicedQuantityDto"},"allowanceCharges":{"type":["null","array"],"items":{"$ref":"#/components/schemas/AllowanceChargeInputDto"},"description":"Collection of allowances and charges applied to the price."}},"additionalProperties":false,"description":"Represents price details for an invoice line item."},"AllowanceChargeInputDto":{"type":"object","properties":{"allowanceChargeId":{"$ref":"#/components/schemas/IdentifierDto"},"chargeIndicator":{"type":"boolean","description":"Indicates whether this is a charge (true) or an allowance (false)."},"allowanceChargeReason":{"type":["null","string"],"description":"Reason for the allowance or charge."},"allowanceChargeAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"taxTotal":{"$ref":"#/components/schemas/TaxTotalInputDto"},"taxCategory":{"$ref":"#/components/schemas/TaxCategoryDto"},"allowanceChargeBaseAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"multiplierFactorNumeric":{"type":["null","number"],"description":"Multiplier factor used to calculate the allowance or charge.","format":"double"}},"additionalProperties":false,"description":"Represents an allowance or charge applied to an invoice or invoice line."},"TaxTotalInputDto":{"type":"object","properties":{"taxAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"taxIncludedIndicator":{"type":["null","boolean"],"description":"Indicates whether the tax is included in the line amounts."},"taxSubtotals":{"type":["null","array"],"items":{"$ref":"#/components/schemas/TaxSubtotalDto"},"description":"Collection of tax subtotals composing this tax total."}},"additionalProperties":false,"description":"Represents the total tax amount for an invoice or line."},"TaxSubtotalDto":{"type":"object","properties":{"taxableAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"taxAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"taxCategory":{"$ref":"#/components/schemas/TaxSubtotalTaxCategoryDto"}},"additionalProperties":false,"description":"Represents a tax subtotal within a tax total."},"TaxSubtotalTaxCategoryDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the tax category."},"percent":{"type":["null","number"],"description":"Tax rate percentage for this category.","format":"double"},"taxScheme":{"$ref":"#/components/schemas/TaxCategoryTaxSchemeDto"},"taxExemptionReason":{"type":["null","string"],"description":"Reason for tax exemption, if applicable."},"taxExemptionReasonCode":{"type":["null","string"],"description":"Code identifying the tax exemption reason."}},"additionalProperties":false,"description":"Represents the tax category details within a tax subtotal."},"TaxCategoryTaxSchemeDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the tax scheme."}},"additionalProperties":false,"description":"Represents the tax scheme associated with a tax category."},"InvoiceLineDeliveryDto":{"type":"object","properties":{"actualDeliveryDate":{"type":["null","string"],"description":"Actual date of delivery for the invoice line."}},"additionalProperties":false,"description":"Represents delivery information at the invoice line level."},"SubInvoiceLineInputDto":{"type":"object","properties":{"invoicedQuantity":{"$ref":"#/components/schemas/InvoicedQuantityDto"},"item":{"$ref":"#/components/schemas/ItemInputDto"}},"additionalProperties":false,"description":"Represents a sub-line within an invoice line."}}}}
```

## The SupplierInvoiceSummaryDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"SupplierInvoiceSummaryDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier generated by the accounting system."},"reference":{"type":["null","string"],"description":"External reference or number assigned to the invoice."},"dueDate":{"type":["null","string"],"description":"Date when the invoice payment is due. Format: yyyy-MM-dd."},"issueDate":{"type":["null","string"],"description":"Date when the invoice was issued. Format: yyyy-MM-dd."},"createdDateTime":{"type":["null","string"],"description":"Date and time when the invoice was created."},"modifiedDateTime":{"type":["null","string"],"description":"Date and time when the invoice was last modified."},"accountingSupplierParty":{"$ref":"#/components/schemas/SupplierPartySummaryDto"},"notes":{"type":["null","array"],"items":{"$ref":"#/components/schemas/NoteDto"},"description":"Collection of notes attached to the invoice (null if not available)."},"totalBalanceAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"legalMonetaryTotal":{"$ref":"#/components/schemas/LegalMonetaryTotalDto"},"paymentStatus":{"$ref":"#/components/schemas/PaymentStatusDto"}},"additionalProperties":false,"description":"Represents a summary view of a supplier invoice."},"SupplierPartySummaryDto":{"type":"object","properties":{"customerAssignedAccountId":{"$ref":"#/components/schemas/IdentifierDto"},"party":{"$ref":"#/components/schemas/PartySummaryDto"}},"additionalProperties":false,"description":"Represents a summarized supplier party view for invoice listings."},"IdentifierDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Legal identifier."},"schemeId":{"type":["null","string"],"description":"Legal identifier scheme (e.g. SE:ORGNR)."}},"additionalProperties":false,"description":"Represents a legal identifier with an associated scheme."},"PartySummaryDto":{"type":"object","properties":{"partyName":{"$ref":"#/components/schemas/PartyNameDto"}},"additionalProperties":false,"description":"Represents a summarized view of a party."},"PartyNameDto":{"type":"object","properties":{"name":{"type":["null","string"],"description":"Name of the party."},"languageId":{"type":["null","string"],"description":"ISO 639-2 three-letter language code for the associated text, for example `ENG`, `SWE`, `DAN`, or `FIN`. Omit this value when the source system does not provide a language."}},"additionalProperties":false,"description":"Represents the name of a party with an optional language identifier."},"NoteDto":{"type":"object","properties":{"text":{"type":["null","string"],"description":"Content of the note."},"languageId":{"type":["null","string"],"description":"ISO 639-2 three-letter language code for the associated text, for example `ENG`, `SWE`, `DAN`, or `FIN`. Omit this value when the source system does not provide a language."}},"additionalProperties":false,"description":"Represents a textual note with an optional language identifier."},"AmountTypeDto":{"type":"object","properties":{"amount":{"type":"number","description":"The balance amount.","format":"double"},"currencyId":{"type":["null","string"],"description":"The currency code (e.g. SEK)."}},"additionalProperties":false,"description":"Represents a monetary amount with an associated currency."},"LegalMonetaryTotalDto":{"type":"object","properties":{"taxInclusiveAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"prepaidAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"payableRoundingAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"payableAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"lineExtensionAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"taxExclusiveAmount":{"$ref":"#/components/schemas/AmountTypeDto"}},"additionalProperties":false,"description":"Represents the legal monetary totals of an invoice."},"PaymentStatusDto":{"type":"object","properties":{"status":{"enum":["UNPAID","PARTLY_PAID","FULLY_PAID"],"type":["null","string"],"description":"Current payment status."},"settlementDate":{"type":["null","string"],"description":"Date when the payment was settled."}},"additionalProperties":false,"description":"Represents the payment status of an invoice."}}}}
```

## The SupplierInvoiceSummaryDtoPagedResultDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"SupplierInvoiceSummaryDtoPagedResultDto":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/PagedResultMetadataDto"},"data":{"type":["null","array"],"items":{"$ref":"#/components/schemas/SupplierInvoiceSummaryDto"},"description":"Collection of items in the current page."}},"additionalProperties":false,"description":"Represents a paginated result containing metadata and a collection of items."},"PagedResultMetadataDto":{"type":"object","properties":{"totalResources":{"type":["null","integer"],"description":"Total number of resources across all pages.","format":"int32"},"totalPages":{"type":["null","integer"],"description":"Total number of pages available.","format":"int32"},"currentPage":{"type":"integer","description":"The current page number.","format":"int32"}},"additionalProperties":false,"description":"Represents pagination metadata for a paged result set."},"SupplierInvoiceSummaryDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier generated by the accounting system."},"reference":{"type":["null","string"],"description":"External reference or number assigned to the invoice."},"dueDate":{"type":["null","string"],"description":"Date when the invoice payment is due. Format: yyyy-MM-dd."},"issueDate":{"type":["null","string"],"description":"Date when the invoice was issued. Format: yyyy-MM-dd."},"createdDateTime":{"type":["null","string"],"description":"Date and time when the invoice was created."},"modifiedDateTime":{"type":["null","string"],"description":"Date and time when the invoice was last modified."},"accountingSupplierParty":{"$ref":"#/components/schemas/SupplierPartySummaryDto"},"notes":{"type":["null","array"],"items":{"$ref":"#/components/schemas/NoteDto"},"description":"Collection of notes attached to the invoice (null if not available)."},"totalBalanceAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"legalMonetaryTotal":{"$ref":"#/components/schemas/LegalMonetaryTotalDto"},"paymentStatus":{"$ref":"#/components/schemas/PaymentStatusDto"}},"additionalProperties":false,"description":"Represents a summary view of a supplier invoice."},"SupplierPartySummaryDto":{"type":"object","properties":{"customerAssignedAccountId":{"$ref":"#/components/schemas/IdentifierDto"},"party":{"$ref":"#/components/schemas/PartySummaryDto"}},"additionalProperties":false,"description":"Represents a summarized supplier party view for invoice listings."},"IdentifierDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Legal identifier."},"schemeId":{"type":["null","string"],"description":"Legal identifier scheme (e.g. SE:ORGNR)."}},"additionalProperties":false,"description":"Represents a legal identifier with an associated scheme."},"PartySummaryDto":{"type":"object","properties":{"partyName":{"$ref":"#/components/schemas/PartyNameDto"}},"additionalProperties":false,"description":"Represents a summarized view of a party."},"PartyNameDto":{"type":"object","properties":{"name":{"type":["null","string"],"description":"Name of the party."},"languageId":{"type":["null","string"],"description":"ISO 639-2 three-letter language code for the associated text, for example `ENG`, `SWE`, `DAN`, or `FIN`. Omit this value when the source system does not provide a language."}},"additionalProperties":false,"description":"Represents the name of a party with an optional language identifier."},"NoteDto":{"type":"object","properties":{"text":{"type":["null","string"],"description":"Content of the note."},"languageId":{"type":["null","string"],"description":"ISO 639-2 three-letter language code for the associated text, for example `ENG`, `SWE`, `DAN`, or `FIN`. Omit this value when the source system does not provide a language."}},"additionalProperties":false,"description":"Represents a textual note with an optional language identifier."},"AmountTypeDto":{"type":"object","properties":{"amount":{"type":"number","description":"The balance amount.","format":"double"},"currencyId":{"type":["null","string"],"description":"The currency code (e.g. SEK)."}},"additionalProperties":false,"description":"Represents a monetary amount with an associated currency."},"LegalMonetaryTotalDto":{"type":"object","properties":{"taxInclusiveAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"prepaidAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"payableRoundingAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"payableAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"lineExtensionAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"taxExclusiveAmount":{"$ref":"#/components/schemas/AmountTypeDto"}},"additionalProperties":false,"description":"Represents the legal monetary totals of an invoice."},"PaymentStatusDto":{"type":"object","properties":{"status":{"enum":["UNPAID","PARTLY_PAID","FULLY_PAID"],"type":["null","string"],"description":"Current payment status."},"settlementDate":{"type":["null","string"],"description":"Date when the payment was settled."}},"additionalProperties":false,"description":"Represents the payment status of an invoice."}}}}
```

## The SupplierPartyDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"SupplierPartyDto":{"type":"object","properties":{"customerAssignedAccountId":{"$ref":"#/components/schemas/IdentifierDto"},"party":{"$ref":"#/components/schemas/PartyDto"}},"additionalProperties":false,"description":"Represents the supplier party on an invoice."},"IdentifierDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Legal identifier."},"schemeId":{"type":["null","string"],"description":"Legal identifier scheme (e.g. SE:ORGNR)."}},"additionalProperties":false,"description":"Represents a legal identifier with an associated scheme."},"PartyDto":{"type":"object","properties":{"partyIdentification":{"type":["null","array"],"items":{"$ref":"#/components/schemas/IdentifierDto"},"description":"Collection of identifiers for the party."},"partyName":{"$ref":"#/components/schemas/PartyNameDto"},"postalAddress":{"$ref":"#/components/schemas/AddressDto"},"partyLegalEntity":{"$ref":"#/components/schemas/PartyLegalEntityDto"},"contact":{"$ref":"#/components/schemas/ContactDto"},"endpointId":{"$ref":"#/components/schemas/IdentifierDto"}},"additionalProperties":false,"description":"Represents a party (organization or individual) involved in a transaction."},"PartyNameDto":{"type":"object","properties":{"name":{"type":["null","string"],"description":"Name of the party."},"languageId":{"type":["null","string"],"description":"ISO 639-2 three-letter language code for the associated text, for example `ENG`, `SWE`, `DAN`, or `FIN`. Omit this value when the source system does not provide a language."}},"additionalProperties":false,"description":"Represents the name of a party with an optional language identifier."},"AddressDto":{"type":"object","properties":{"buildingNumber":{"type":["null","string"],"description":"Building number of the address."},"streetName":{"type":["null","string"],"description":"Primary street name."},"additionalStreetName":{"type":["null","string"],"description":"Secondary street name or additional address line."},"cityName":{"type":["null","string"],"description":"City or locality name."},"postalZone":{"type":["null","string"],"description":"Postal or ZIP code."},"country":{"$ref":"#/components/schemas/CountryDto"}},"additionalProperties":false,"description":"Represents a postal address."},"CountryDto":{"type":"object","properties":{"identificationCode":{"type":["null","string"],"description":"ISO 3166-1 alpha-2 country code."},"name":{"type":["null","string"],"description":"Country name."}},"additionalProperties":false,"description":"Represents a country with its identification code and name."},"PartyLegalEntityDto":{"type":"object","properties":{"registrationName":{"type":["null","string"],"description":"Registered legal name of the entity."},"companyId":{"$ref":"#/components/schemas/IdentifierDto"}},"additionalProperties":false,"description":"Represents the legal entity information of a party."},"ContactDto":{"type":"object","properties":{"name":{"type":["null","string"],"description":"Contact person name."},"telephone":{"type":["null","string"],"description":"Primary telephone number."},"email":{"type":["null","string"],"description":"Primary email address."},"secondaryEmail":{"type":["null","string"],"description":"Secondary email address."}},"additionalProperties":false,"description":"Represents contact information for a party."}}}}
```

## The SupplierPartyInputDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"SupplierPartyInputDto":{"type":"object","properties":{"customerAssignedAccountId":{"$ref":"#/components/schemas/IdentifierDto"},"party":{"$ref":"#/components/schemas/PartyInputDto"}},"additionalProperties":false,"description":"Represents the supplier party on an invoice."},"IdentifierDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Legal identifier."},"schemeId":{"type":["null","string"],"description":"Legal identifier scheme (e.g. SE:ORGNR)."}},"additionalProperties":false,"description":"Represents a legal identifier with an associated scheme."},"PartyInputDto":{"type":"object","properties":{"partyName":{"$ref":"#/components/schemas/PartyNameDto"},"postalAddress":{"$ref":"#/components/schemas/AddressDto"},"partyLegalEntity":{"$ref":"#/components/schemas/PartyLegalEntityDto"},"contact":{"$ref":"#/components/schemas/ContactDto"},"endpointId":{"$ref":"#/components/schemas/IdentifierDto"},"partyIdentification":{"type":["null","array"],"items":{"$ref":"#/components/schemas/IdentifierDto"},"description":"Collection of identifiers for the party."}},"additionalProperties":false,"description":"Represents a party (business entity) involved in an invoice."},"PartyNameDto":{"type":"object","properties":{"name":{"type":["null","string"],"description":"Name of the party."},"languageId":{"type":["null","string"],"description":"ISO 639-2 three-letter language code for the associated text, for example `ENG`, `SWE`, `DAN`, or `FIN`. Omit this value when the source system does not provide a language."}},"additionalProperties":false,"description":"Represents the name of a party with an optional language identifier."},"AddressDto":{"type":"object","properties":{"buildingNumber":{"type":["null","string"],"description":"Building number of the address."},"streetName":{"type":["null","string"],"description":"Primary street name."},"additionalStreetName":{"type":["null","string"],"description":"Secondary street name or additional address line."},"cityName":{"type":["null","string"],"description":"City or locality name."},"postalZone":{"type":["null","string"],"description":"Postal or ZIP code."},"country":{"$ref":"#/components/schemas/CountryDto"}},"additionalProperties":false,"description":"Represents a postal address."},"CountryDto":{"type":"object","properties":{"identificationCode":{"type":["null","string"],"description":"ISO 3166-1 alpha-2 country code."},"name":{"type":["null","string"],"description":"Country name."}},"additionalProperties":false,"description":"Represents a country with its identification code and name."},"PartyLegalEntityDto":{"type":"object","properties":{"registrationName":{"type":["null","string"],"description":"Registered legal name of the entity."},"companyId":{"$ref":"#/components/schemas/IdentifierDto"}},"additionalProperties":false,"description":"Represents the legal entity information of a party."},"ContactDto":{"type":"object","properties":{"name":{"type":["null","string"],"description":"Contact person name."},"telephone":{"type":["null","string"],"description":"Primary telephone number."},"email":{"type":["null","string"],"description":"Primary email address."},"secondaryEmail":{"type":["null","string"],"description":"Secondary email address."}},"additionalProperties":false,"description":"Represents contact information for a party."}}}}
```

## The SupplierPartySummaryDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"SupplierPartySummaryDto":{"type":"object","properties":{"customerAssignedAccountId":{"$ref":"#/components/schemas/IdentifierDto"},"party":{"$ref":"#/components/schemas/PartySummaryDto"}},"additionalProperties":false,"description":"Represents a summarized supplier party view for invoice listings."},"IdentifierDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Legal identifier."},"schemeId":{"type":["null","string"],"description":"Legal identifier scheme (e.g. SE:ORGNR)."}},"additionalProperties":false,"description":"Represents a legal identifier with an associated scheme."},"PartySummaryDto":{"type":"object","properties":{"partyName":{"$ref":"#/components/schemas/PartyNameDto"}},"additionalProperties":false,"description":"Represents a summarized view of a party."},"PartyNameDto":{"type":"object","properties":{"name":{"type":["null","string"],"description":"Name of the party."},"languageId":{"type":["null","string"],"description":"ISO 639-2 three-letter language code for the associated text, for example `ENG`, `SWE`, `DAN`, or `FIN`. Omit this value when the source system does not provide a language."}},"additionalProperties":false,"description":"Represents the name of a party with an optional language identifier."}}}}
```

## The SupplierPaymentMeansDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"SupplierPaymentMeansDto":{"type":"object","properties":{"paymentChannelCode":{"type":["null","string"],"description":"Code identifying the payment channel."},"payeeFinancialAccounts":{"type":["null","array"],"items":{"$ref":"#/components/schemas/PayeeFinancialAccountDto"},"description":"Collection of payee financial accounts. Obsolete: use FinancialAccount instead. (Deprecated: Use PayeeFinancialAccount instead)","deprecated":true},"payeeFinancialAccount":{"type":["null","string"],"description":"Payee financial account identifier. Obsolete: use FinancialAccount.Id instead. (Deprecated: Use FinancialAccount.Id instead)","deprecated":true},"financialAccount":{"$ref":"#/components/schemas/FinancialAccountDto"}},"additionalProperties":false,"description":"Represents payment means associated with a supplier."},"PayeeFinancialAccountDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the financial account."},"financialInstitution":{"type":["null","string"],"description":"Name or identifier of the financial institution."}},"additionalProperties":false,"description":"Represents a payee's financial account details."},"FinancialAccountDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the financial account."},"financialInstitution":{"type":["null","string"],"description":"Name or identifier of the financial institution."}},"additionalProperties":false,"description":"Represents a financial account used for payments."}}}}
```

## The TaxCategoryDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"TaxCategoryDto":{"type":"object","properties":{"percent":{"type":"number","description":"Tax rate percentage for this category.","format":"double"},"taxScheme":{"$ref":"#/components/schemas/TaxSchemeDto"},"id":{"type":["null","string"],"description":"Unique identifier for the tax category."}},"additionalProperties":false,"description":"Represents a tax category with its percentage rate and scheme."},"TaxSchemeDto":{"type":"object","properties":{"taxSchemeId":{"$ref":"#/components/schemas/IdentifierDto"}},"additionalProperties":false,"description":"Represents a tax scheme."},"IdentifierDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Legal identifier."},"schemeId":{"type":["null","string"],"description":"Legal identifier scheme (e.g. SE:ORGNR)."}},"additionalProperties":false,"description":"Represents a legal identifier with an associated scheme."}}}}
```

## The TaxCategoryTaxSchemeDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"TaxCategoryTaxSchemeDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the tax scheme."}},"additionalProperties":false,"description":"Represents the tax scheme associated with a tax category."}}}}
```

## The TaxSchemeDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"TaxSchemeDto":{"type":"object","properties":{"taxSchemeId":{"$ref":"#/components/schemas/IdentifierDto"}},"additionalProperties":false,"description":"Represents a tax scheme."},"IdentifierDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Legal identifier."},"schemeId":{"type":["null","string"],"description":"Legal identifier scheme (e.g. SE:ORGNR)."}},"additionalProperties":false,"description":"Represents a legal identifier with an associated scheme."}}}}
```

## The TaxSubtotalDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"TaxSubtotalDto":{"type":"object","properties":{"taxableAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"taxAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"taxCategory":{"$ref":"#/components/schemas/TaxSubtotalTaxCategoryDto"}},"additionalProperties":false,"description":"Represents a tax subtotal within a tax total."},"AmountTypeDto":{"type":"object","properties":{"amount":{"type":"number","description":"The balance amount.","format":"double"},"currencyId":{"type":["null","string"],"description":"The currency code (e.g. SEK)."}},"additionalProperties":false,"description":"Represents a monetary amount with an associated currency."},"TaxSubtotalTaxCategoryDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the tax category."},"percent":{"type":["null","number"],"description":"Tax rate percentage for this category.","format":"double"},"taxScheme":{"$ref":"#/components/schemas/TaxCategoryTaxSchemeDto"},"taxExemptionReason":{"type":["null","string"],"description":"Reason for tax exemption, if applicable."},"taxExemptionReasonCode":{"type":["null","string"],"description":"Code identifying the tax exemption reason."}},"additionalProperties":false,"description":"Represents the tax category details within a tax subtotal."},"TaxCategoryTaxSchemeDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the tax scheme."}},"additionalProperties":false,"description":"Represents the tax scheme associated with a tax category."}}}}
```

## The TaxSubtotalTaxCategoryDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"TaxSubtotalTaxCategoryDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the tax category."},"percent":{"type":["null","number"],"description":"Tax rate percentage for this category.","format":"double"},"taxScheme":{"$ref":"#/components/schemas/TaxCategoryTaxSchemeDto"},"taxExemptionReason":{"type":["null","string"],"description":"Reason for tax exemption, if applicable."},"taxExemptionReasonCode":{"type":["null","string"],"description":"Code identifying the tax exemption reason."}},"additionalProperties":false,"description":"Represents the tax category details within a tax subtotal."},"TaxCategoryTaxSchemeDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the tax scheme."}},"additionalProperties":false,"description":"Represents the tax scheme associated with a tax category."}}}}
```

## The TaxTotalDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"TaxTotalDto":{"type":"object","properties":{"taxAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"taxIncludedIndicator":{"type":["null","boolean"],"description":"Indicates whether the tax is included in the line amounts."},"taxSubtotals":{"type":["null","array"],"items":{"$ref":"#/components/schemas/TaxSubtotalDto"},"description":"Collection of tax subtotals broken down by category."}},"additionalProperties":false,"description":"Represents the total tax amount for an invoice or line item."},"AmountTypeDto":{"type":"object","properties":{"amount":{"type":"number","description":"The balance amount.","format":"double"},"currencyId":{"type":["null","string"],"description":"The currency code (e.g. SEK)."}},"additionalProperties":false,"description":"Represents a monetary amount with an associated currency."},"TaxSubtotalDto":{"type":"object","properties":{"taxableAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"taxAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"taxCategory":{"$ref":"#/components/schemas/TaxSubtotalTaxCategoryDto"}},"additionalProperties":false,"description":"Represents a tax subtotal within a tax total."},"TaxSubtotalTaxCategoryDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the tax category."},"percent":{"type":["null","number"],"description":"Tax rate percentage for this category.","format":"double"},"taxScheme":{"$ref":"#/components/schemas/TaxCategoryTaxSchemeDto"},"taxExemptionReason":{"type":["null","string"],"description":"Reason for tax exemption, if applicable."},"taxExemptionReasonCode":{"type":["null","string"],"description":"Code identifying the tax exemption reason."}},"additionalProperties":false,"description":"Represents the tax category details within a tax subtotal."},"TaxCategoryTaxSchemeDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the tax scheme."}},"additionalProperties":false,"description":"Represents the tax scheme associated with a tax category."}}}}
```

## The TaxTotalInputDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"TaxTotalInputDto":{"type":"object","properties":{"taxAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"taxIncludedIndicator":{"type":["null","boolean"],"description":"Indicates whether the tax is included in the line amounts."},"taxSubtotals":{"type":["null","array"],"items":{"$ref":"#/components/schemas/TaxSubtotalDto"},"description":"Collection of tax subtotals composing this tax total."}},"additionalProperties":false,"description":"Represents the total tax amount for an invoice or line."},"AmountTypeDto":{"type":"object","properties":{"amount":{"type":"number","description":"The balance amount.","format":"double"},"currencyId":{"type":["null","string"],"description":"The currency code (e.g. SEK)."}},"additionalProperties":false,"description":"Represents a monetary amount with an associated currency."},"TaxSubtotalDto":{"type":"object","properties":{"taxableAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"taxAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"taxCategory":{"$ref":"#/components/schemas/TaxSubtotalTaxCategoryDto"}},"additionalProperties":false,"description":"Represents a tax subtotal within a tax total."},"TaxSubtotalTaxCategoryDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the tax category."},"percent":{"type":["null","number"],"description":"Tax rate percentage for this category.","format":"double"},"taxScheme":{"$ref":"#/components/schemas/TaxCategoryTaxSchemeDto"},"taxExemptionReason":{"type":["null","string"],"description":"Reason for tax exemption, if applicable."},"taxExemptionReasonCode":{"type":["null","string"],"description":"Code identifying the tax exemption reason."}},"additionalProperties":false,"description":"Represents the tax category details within a tax subtotal."},"TaxCategoryTaxSchemeDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the tax scheme."}},"additionalProperties":false,"description":"Represents the tax scheme associated with a tax category."}}}}
```

## The TrialBalanceCategoryDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"TrialBalanceCategoryDto":{"type":"object","properties":{"descriptions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/NoteDto"},"description":"Collection of descriptions for the category."},"endingBalance":{"$ref":"#/components/schemas/FinancialReportBalanceDto"},"accountMovement":{"$ref":"#/components/schemas/FinancialReportBalanceDto"},"subCategories":{"type":["null","array"],"items":{"$ref":"#/components/schemas/TrialBalanceCategoryDto"},"description":"Collection of child categories within this category."},"accounts":{"type":["null","array"],"items":{"$ref":"#/components/schemas/AccountTrialBalanceDto"},"description":"Collection of account-level trial balance entries within this category."}},"additionalProperties":false,"description":"Represents a category within a trial balance report, supporting hierarchical sub-categories."},"NoteDto":{"type":"object","properties":{"text":{"type":["null","string"],"description":"Content of the note."},"languageId":{"type":["null","string"],"description":"ISO 639-2 three-letter language code for the associated text, for example `ENG`, `SWE`, `DAN`, or `FIN`. Omit this value when the source system does not provide a language."}},"additionalProperties":false,"description":"Represents a textual note with an optional language identifier."},"FinancialReportBalanceDto":{"type":"object","properties":{"baseCurrencies":{"type":["null","array"],"items":{"$ref":"#/components/schemas/BaseCurrencyDto"},"description":"Collection of base currency amounts for the balance."}},"additionalProperties":false,"description":"Represents a balance in a financial report expressed in one or more currencies."},"BaseCurrencyDto":{"type":"object","properties":{"currencyId":{"type":["null","string"],"description":"Currency code identifier (e.g. SEK, EUR)."},"baseAmount":{"type":"number","description":"Monetary amount in the base currency.","format":"double"}},"additionalProperties":false,"description":"Represents a monetary amount in a specific base currency."},"AccountTrialBalanceDto":{"type":"object","properties":{"accountingAccount":{"$ref":"#/components/schemas/AccountingAccountDto"},"endingBalance":{"$ref":"#/components/schemas/FinancialReportBalanceDto"},"accountMovement":{"$ref":"#/components/schemas/FinancialReportBalanceDto"}},"additionalProperties":false,"description":"Represents a trial balance entry for a specific accounting account."},"AccountingAccountDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier generated by the accounting system."},"accountingAccountId":{"type":["null","string"],"description":"Deprecated. Use ZG.AccountingService.AccountingModels.Dtos.Output.AccountingAccountDto.Reference instead. (Deprecated: Use Reference instead.)","deprecated":true},"reference":{"type":["null","string"],"description":"External reference or number assigned to the account."},"standardAccountingAccountId":{"type":["null","string"],"description":"Standard accounting account identifier used for classification."},"name":{"type":["null","string"],"description":"Display name of the accounting account."},"active":{"type":["null","boolean"],"description":"Indicates whether the account is active."},"postable":{"type":["null","boolean"],"description":"Indicates whether transactions can be posted to the account."},"description":{"description":"Deprecated: Use Descriptions instead.","deprecated":true,"$ref":"#/components/schemas/DescriptionDto"},"descriptions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/DescriptionDto"},"description":"Collection of descriptions for the accounting account."},"accountingAccountTypeCode":{"$ref":"#/components/schemas/PriceTypeCodeDto"},"financialDimensions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/FinancialDimensionDto"},"description":"Collection of financial dimensions associated with the account."}},"additionalProperties":false,"description":"Represents an accounting account in the chart of accounts."},"DescriptionDto":{"type":"object","properties":{"text":{"type":["null","string"],"description":"Content of the description."},"languageId":{"type":["null","string"],"description":"ISO 639-2 three-letter language code for the associated text, for example `ENG`, `SWE`, `DAN`, or `FIN`. Omit this value when the source system does not provide a language."}},"additionalProperties":false,"description":"Represents a description with an optional language identifier."},"PriceTypeCodeDto":{"type":"object","properties":{"code":{"type":["null","string"],"description":"Price type code value."},"listId":{"type":["null","string"],"description":"Identifier of the code list the code belongs to."}},"additionalProperties":false,"description":"Represents a price type classification code."},"FinancialDimensionDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the financial dimension."},"reference":{"type":["null","string"],"description":"Reference code for the financial dimension."},"type":{"type":["null","string"],"description":"Type or code of the financial dimension as exposed by the connected accounting system.\n\nKnown values currently emitted by supported connectors include:\n\n- businessGroup\n- campaign\n- costBearer\n- costCode\n- costUnit\n- customerGroup\n- department\n- employee\n- product\n- project\n- purchaser\n- salesPerson\n- salesRegion\n- supplierGroup\n\nSome connectors can also return additional system-specific dimension codes (for example custom Business Central dimension codes)."},"name":{"type":["null","string"],"description":"Display name of the financial dimension."},"description":{"type":["null","string"],"description":"Description of the financial dimension."},"isActive":{"type":["null","boolean"],"description":"Indicates whether the financial dimension is active."}},"additionalProperties":false,"description":"Represents a financial dimension used to assign granularity to financial reports (e.g. cost center, project)."}}}}
```

## The TrialBalancesDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"TrialBalancesDto":{"type":"object","properties":{"trialBalancePeriod":{"$ref":"#/components/schemas/PeriodDto"},"financialReport":{"$ref":"#/components/schemas/TrialBalancesFinancialReportDto"}},"additionalProperties":false,"description":"Represents a trial balance report for a given period."},"PeriodDto":{"type":"object","properties":{"startDate":{"type":["null","string"],"description":"Start date of the period."},"endDate":{"type":["null","string"],"description":"End date of the period."}},"additionalProperties":false,"description":"Represents a date period defined by a start and end date."},"TrialBalancesFinancialReportDto":{"type":"object","properties":{"accounts":{"type":["null","array"],"items":{"$ref":"#/components/schemas/AccountTrialBalanceDto"},"description":"Collection of account-level trial balance entries."},"categories":{"type":["null","array"],"items":{"$ref":"#/components/schemas/TrialBalanceCategoryDto"},"description":"Collection of trial balance categories."}},"additionalProperties":false,"description":"Represents the financial report structure for a trial balance."},"AccountTrialBalanceDto":{"type":"object","properties":{"accountingAccount":{"$ref":"#/components/schemas/AccountingAccountDto"},"endingBalance":{"$ref":"#/components/schemas/FinancialReportBalanceDto"},"accountMovement":{"$ref":"#/components/schemas/FinancialReportBalanceDto"}},"additionalProperties":false,"description":"Represents a trial balance entry for a specific accounting account."},"AccountingAccountDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier generated by the accounting system."},"accountingAccountId":{"type":["null","string"],"description":"Deprecated. Use ZG.AccountingService.AccountingModels.Dtos.Output.AccountingAccountDto.Reference instead. (Deprecated: Use Reference instead.)","deprecated":true},"reference":{"type":["null","string"],"description":"External reference or number assigned to the account."},"standardAccountingAccountId":{"type":["null","string"],"description":"Standard accounting account identifier used for classification."},"name":{"type":["null","string"],"description":"Display name of the accounting account."},"active":{"type":["null","boolean"],"description":"Indicates whether the account is active."},"postable":{"type":["null","boolean"],"description":"Indicates whether transactions can be posted to the account."},"description":{"description":"Deprecated: Use Descriptions instead.","deprecated":true,"$ref":"#/components/schemas/DescriptionDto"},"descriptions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/DescriptionDto"},"description":"Collection of descriptions for the accounting account."},"accountingAccountTypeCode":{"$ref":"#/components/schemas/PriceTypeCodeDto"},"financialDimensions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/FinancialDimensionDto"},"description":"Collection of financial dimensions associated with the account."}},"additionalProperties":false,"description":"Represents an accounting account in the chart of accounts."},"DescriptionDto":{"type":"object","properties":{"text":{"type":["null","string"],"description":"Content of the description."},"languageId":{"type":["null","string"],"description":"ISO 639-2 three-letter language code for the associated text, for example `ENG`, `SWE`, `DAN`, or `FIN`. Omit this value when the source system does not provide a language."}},"additionalProperties":false,"description":"Represents a description with an optional language identifier."},"PriceTypeCodeDto":{"type":"object","properties":{"code":{"type":["null","string"],"description":"Price type code value."},"listId":{"type":["null","string"],"description":"Identifier of the code list the code belongs to."}},"additionalProperties":false,"description":"Represents a price type classification code."},"FinancialDimensionDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the financial dimension."},"reference":{"type":["null","string"],"description":"Reference code for the financial dimension."},"type":{"type":["null","string"],"description":"Type or code of the financial dimension as exposed by the connected accounting system.\n\nKnown values currently emitted by supported connectors include:\n\n- businessGroup\n- campaign\n- costBearer\n- costCode\n- costUnit\n- customerGroup\n- department\n- employee\n- product\n- project\n- purchaser\n- salesPerson\n- salesRegion\n- supplierGroup\n\nSome connectors can also return additional system-specific dimension codes (for example custom Business Central dimension codes)."},"name":{"type":["null","string"],"description":"Display name of the financial dimension."},"description":{"type":["null","string"],"description":"Description of the financial dimension."},"isActive":{"type":["null","boolean"],"description":"Indicates whether the financial dimension is active."}},"additionalProperties":false,"description":"Represents a financial dimension used to assign granularity to financial reports (e.g. cost center, project)."},"FinancialReportBalanceDto":{"type":"object","properties":{"baseCurrencies":{"type":["null","array"],"items":{"$ref":"#/components/schemas/BaseCurrencyDto"},"description":"Collection of base currency amounts for the balance."}},"additionalProperties":false,"description":"Represents a balance in a financial report expressed in one or more currencies."},"BaseCurrencyDto":{"type":"object","properties":{"currencyId":{"type":["null","string"],"description":"Currency code identifier (e.g. SEK, EUR)."},"baseAmount":{"type":"number","description":"Monetary amount in the base currency.","format":"double"}},"additionalProperties":false,"description":"Represents a monetary amount in a specific base currency."},"TrialBalanceCategoryDto":{"type":"object","properties":{"descriptions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/NoteDto"},"description":"Collection of descriptions for the category."},"endingBalance":{"$ref":"#/components/schemas/FinancialReportBalanceDto"},"accountMovement":{"$ref":"#/components/schemas/FinancialReportBalanceDto"},"subCategories":{"type":["null","array"],"items":{"$ref":"#/components/schemas/TrialBalanceCategoryDto"},"description":"Collection of child categories within this category."},"accounts":{"type":["null","array"],"items":{"$ref":"#/components/schemas/AccountTrialBalanceDto"},"description":"Collection of account-level trial balance entries within this category."}},"additionalProperties":false,"description":"Represents a category within a trial balance report, supporting hierarchical sub-categories."},"NoteDto":{"type":"object","properties":{"text":{"type":["null","string"],"description":"Content of the note."},"languageId":{"type":["null","string"],"description":"ISO 639-2 three-letter language code for the associated text, for example `ENG`, `SWE`, `DAN`, or `FIN`. Omit this value when the source system does not provide a language."}},"additionalProperties":false,"description":"Represents a textual note with an optional language identifier."}}}}
```

## The TrialBalancesFinancialReportDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"TrialBalancesFinancialReportDto":{"type":"object","properties":{"accounts":{"type":["null","array"],"items":{"$ref":"#/components/schemas/AccountTrialBalanceDto"},"description":"Collection of account-level trial balance entries."},"categories":{"type":["null","array"],"items":{"$ref":"#/components/schemas/TrialBalanceCategoryDto"},"description":"Collection of trial balance categories."}},"additionalProperties":false,"description":"Represents the financial report structure for a trial balance."},"AccountTrialBalanceDto":{"type":"object","properties":{"accountingAccount":{"$ref":"#/components/schemas/AccountingAccountDto"},"endingBalance":{"$ref":"#/components/schemas/FinancialReportBalanceDto"},"accountMovement":{"$ref":"#/components/schemas/FinancialReportBalanceDto"}},"additionalProperties":false,"description":"Represents a trial balance entry for a specific accounting account."},"AccountingAccountDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier generated by the accounting system."},"accountingAccountId":{"type":["null","string"],"description":"Deprecated. Use ZG.AccountingService.AccountingModels.Dtos.Output.AccountingAccountDto.Reference instead. (Deprecated: Use Reference instead.)","deprecated":true},"reference":{"type":["null","string"],"description":"External reference or number assigned to the account."},"standardAccountingAccountId":{"type":["null","string"],"description":"Standard accounting account identifier used for classification."},"name":{"type":["null","string"],"description":"Display name of the accounting account."},"active":{"type":["null","boolean"],"description":"Indicates whether the account is active."},"postable":{"type":["null","boolean"],"description":"Indicates whether transactions can be posted to the account."},"description":{"description":"Deprecated: Use Descriptions instead.","deprecated":true,"$ref":"#/components/schemas/DescriptionDto"},"descriptions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/DescriptionDto"},"description":"Collection of descriptions for the accounting account."},"accountingAccountTypeCode":{"$ref":"#/components/schemas/PriceTypeCodeDto"},"financialDimensions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/FinancialDimensionDto"},"description":"Collection of financial dimensions associated with the account."}},"additionalProperties":false,"description":"Represents an accounting account in the chart of accounts."},"DescriptionDto":{"type":"object","properties":{"text":{"type":["null","string"],"description":"Content of the description."},"languageId":{"type":["null","string"],"description":"ISO 639-2 three-letter language code for the associated text, for example `ENG`, `SWE`, `DAN`, or `FIN`. Omit this value when the source system does not provide a language."}},"additionalProperties":false,"description":"Represents a description with an optional language identifier."},"PriceTypeCodeDto":{"type":"object","properties":{"code":{"type":["null","string"],"description":"Price type code value."},"listId":{"type":["null","string"],"description":"Identifier of the code list the code belongs to."}},"additionalProperties":false,"description":"Represents a price type classification code."},"FinancialDimensionDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the financial dimension."},"reference":{"type":["null","string"],"description":"Reference code for the financial dimension."},"type":{"type":["null","string"],"description":"Type or code of the financial dimension as exposed by the connected accounting system.\n\nKnown values currently emitted by supported connectors include:\n\n- businessGroup\n- campaign\n- costBearer\n- costCode\n- costUnit\n- customerGroup\n- department\n- employee\n- product\n- project\n- purchaser\n- salesPerson\n- salesRegion\n- supplierGroup\n\nSome connectors can also return additional system-specific dimension codes (for example custom Business Central dimension codes)."},"name":{"type":["null","string"],"description":"Display name of the financial dimension."},"description":{"type":["null","string"],"description":"Description of the financial dimension."},"isActive":{"type":["null","boolean"],"description":"Indicates whether the financial dimension is active."}},"additionalProperties":false,"description":"Represents a financial dimension used to assign granularity to financial reports (e.g. cost center, project)."},"FinancialReportBalanceDto":{"type":"object","properties":{"baseCurrencies":{"type":["null","array"],"items":{"$ref":"#/components/schemas/BaseCurrencyDto"},"description":"Collection of base currency amounts for the balance."}},"additionalProperties":false,"description":"Represents a balance in a financial report expressed in one or more currencies."},"BaseCurrencyDto":{"type":"object","properties":{"currencyId":{"type":["null","string"],"description":"Currency code identifier (e.g. SEK, EUR)."},"baseAmount":{"type":"number","description":"Monetary amount in the base currency.","format":"double"}},"additionalProperties":false,"description":"Represents a monetary amount in a specific base currency."},"TrialBalanceCategoryDto":{"type":"object","properties":{"descriptions":{"type":["null","array"],"items":{"$ref":"#/components/schemas/NoteDto"},"description":"Collection of descriptions for the category."},"endingBalance":{"$ref":"#/components/schemas/FinancialReportBalanceDto"},"accountMovement":{"$ref":"#/components/schemas/FinancialReportBalanceDto"},"subCategories":{"type":["null","array"],"items":{"$ref":"#/components/schemas/TrialBalanceCategoryDto"},"description":"Collection of child categories within this category."},"accounts":{"type":["null","array"],"items":{"$ref":"#/components/schemas/AccountTrialBalanceDto"},"description":"Collection of account-level trial balance entries within this category."}},"additionalProperties":false,"description":"Represents a category within a trial balance report, supporting hierarchical sub-categories."},"NoteDto":{"type":"object","properties":{"text":{"type":["null","string"],"description":"Content of the note."},"languageId":{"type":["null","string"],"description":"ISO 639-2 three-letter language code for the associated text, for example `ENG`, `SWE`, `DAN`, or `FIN`. Omit this value when the source system does not provide a language."}},"additionalProperties":false,"description":"Represents a textual note with an optional language identifier."}}}}
```

## The WithholdingTaxTotalDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"WithholdingTaxTotalDto":{"type":"object","properties":{"taxAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"taxSubtotals":{"type":["null","array"],"items":{"$ref":"#/components/schemas/TaxSubtotalDto"},"description":"Collection of withholding tax subtotals broken down by category."}},"additionalProperties":false,"description":"Represents the total withholding tax amount for an invoice."},"AmountTypeDto":{"type":"object","properties":{"amount":{"type":"number","description":"The balance amount.","format":"double"},"currencyId":{"type":["null","string"],"description":"The currency code (e.g. SEK)."}},"additionalProperties":false,"description":"Represents a monetary amount with an associated currency."},"TaxSubtotalDto":{"type":"object","properties":{"taxableAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"taxAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"taxCategory":{"$ref":"#/components/schemas/TaxSubtotalTaxCategoryDto"}},"additionalProperties":false,"description":"Represents a tax subtotal within a tax total."},"TaxSubtotalTaxCategoryDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the tax category."},"percent":{"type":["null","number"],"description":"Tax rate percentage for this category.","format":"double"},"taxScheme":{"$ref":"#/components/schemas/TaxCategoryTaxSchemeDto"},"taxExemptionReason":{"type":["null","string"],"description":"Reason for tax exemption, if applicable."},"taxExemptionReasonCode":{"type":["null","string"],"description":"Code identifying the tax exemption reason."}},"additionalProperties":false,"description":"Represents the tax category details within a tax subtotal."},"TaxCategoryTaxSchemeDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the tax scheme."}},"additionalProperties":false,"description":"Represents the tax scheme associated with a tax category."}}}}
```

## The WithholdingTaxTotalInputDto object

```json
{"openapi":"3.1.1","info":{"title":"Accounting API","version":"v1"},"components":{"schemas":{"WithholdingTaxTotalInputDto":{"type":"object","properties":{"taxAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"taxSubtotals":{"type":["null","array"],"items":{"$ref":"#/components/schemas/TaxSubtotalDto"},"description":"Collection of tax subtotals composing this withholding tax total."}},"additionalProperties":false,"description":"Represents the total withholding tax amount for an invoice."},"AmountTypeDto":{"type":"object","properties":{"amount":{"type":"number","description":"The balance amount.","format":"double"},"currencyId":{"type":["null","string"],"description":"The currency code (e.g. SEK)."}},"additionalProperties":false,"description":"Represents a monetary amount with an associated currency."},"TaxSubtotalDto":{"type":"object","properties":{"taxableAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"taxAmount":{"$ref":"#/components/schemas/AmountTypeDto"},"taxCategory":{"$ref":"#/components/schemas/TaxSubtotalTaxCategoryDto"}},"additionalProperties":false,"description":"Represents a tax subtotal within a tax total."},"TaxSubtotalTaxCategoryDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the tax category."},"percent":{"type":["null","number"],"description":"Tax rate percentage for this category.","format":"double"},"taxScheme":{"$ref":"#/components/schemas/TaxCategoryTaxSchemeDto"},"taxExemptionReason":{"type":["null","string"],"description":"Reason for tax exemption, if applicable."},"taxExemptionReasonCode":{"type":["null","string"],"description":"Code identifying the tax exemption reason."}},"additionalProperties":false,"description":"Represents the tax category details within a tax subtotal."},"TaxCategoryTaxSchemeDto":{"type":"object","properties":{"id":{"type":["null","string"],"description":"Unique identifier for the tax scheme."}},"additionalProperties":false,"description":"Represents the tax scheme associated with a tax category."}}}}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.zwapgrid.com/api-guide/accounting-api-guide/models.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
