{
"Success": false,
"ResultCode": "0102",
"Message": "Token has expired. Obtain a new token using the refresh token.",
"Errors": [
{
"Code": "0102",
"Message": "Token has expired. Obtain a new token using the refresh token."
}
]
}
{
"Success": false,
"ResultCode": "0110",
"Message": "You do not have permission for this operation.",
"Errors": [
{
"Code": "0110",
"Message": "You do not have permission for this operation."
}
]
}
{
"Success": false,
"ResultCode": "0102",
"Message": "Token has expired. Obtain a new token using the refresh token.",
"Errors": [
{
"Code": "0102",
"Message": "Token has expired. Obtain a new token using the refresh token."
}
]
}
{
"Success": false,
"ResultCode": "0110",
"Message": "You do not have permission for this operation.",
"Errors": [
{
"Code": "0110",
"Message": "You do not have permission for this operation."
}
]
}
Only the descriptive fields of the purchase return invoice can be updated: Description, DocumentNumber, ShipmentDefinitionCode, SharingCode, PrintDescription, Consolidated, ReturnedInvoiceNumber/ReturnedInvoiceDate, OrderReferenceNumber/OrderReferenceDate, BranchNumber/BranchTitle/BranchAddress, InvestmentIncentiveDocumentNumber/InvestmentIncentiveDocumentDate, EnergyPeriodStart/EnergyPeriodEnd and the extra structured fields (DeliveryInfo, PaymentMeans, ReferencedDespatches, CustomerIdentitySchemes, PublicSectorSpendingUnit, SgkInfo). The update is a full replacement of these fields: the ones you do not send are cleared. To change only some of them use partial update: PATCH changes only the fields you send.The lines, customer, date and time, invoice number, payment term, amounts, taxes, ProfileId/InvoiceTypeCode and exchange rate cannot be updated: if the request body contains any of them it is rejected (0002). To correct them, delete the purchase return invoice and create it again, or issue a return invoice. An invoice that has already been sent to GİB cannot be deleted (3027), but its descriptive fields can still be updated.Changing Description also updates the description of the invoice’s customer ledger entry.
PUT /api/v1/purchase-return-invoices/{invoiceId}
{ "Description": "Delivered to the Kadıköy branch", "DocumentNumber": "2026-15", "PrintDescription": true}
Error codes
Codes this endpoint can return. The general errors that apply to every endpoint (authentication, permissions, request headers, request limits) are not repeated here.
Code
HTTP
Meaning
0002
400
Request body could not be read (malformed JSON, wrong field type), or it contains a field the endpoint does not have
0003
400
A field exceeds its maximum length (the message names the field and the limit)
3000
404
Invoice not found
3009
400
SharingCode is not one of the user’s sharing codes
3013
400
ShipmentDefinitionCode was not found in the company
Authorizations
Authorization
string
header
required
Access token obtained from the Noyax auth service with your API key.
Headers
X-UserID
integer<int32>
required
ID of the Noyax user the request is made on behalf of. Written to the audit fields of created, updated and deleted records.
Required range: x >= 1
X-CompanyID
integer<int32>
required
ID of the company. The user must be assigned to this company. All reads and writes are limited to this company.
Required range: x >= 1
X-PeriodID
integer<int32>
ID of the accounting period. Optional; if sent, it is written to created records.
Required range: x >= 1
Path Parameters
invoiceId
string<uuid>
required
Purchase return invoice ID.
Body
application/jsontext/jsonapplication/*+json
Description
null | string
Description. At most 1000 characters.
DocumentNumber
null | string
Document number (free text). At most 100 characters.
ShipmentDefinitionCode
null | string
Shipment definition code from GET /api/v1/definitions/shipment-definitions.
SharingCode
null | string
Sharing code that limits who can see the invoice. Empty means visible to everyone; otherwise it must be one of the user's sharing codes.
PrintDescription
boolean
Whether the description should be printed on the invoice document.
Consolidated
boolean
Whether the invoice consolidates several despatches/orders. Free-form flag, not validated by the API.
ReturnedInvoiceNumber
null | string
Number of the invoice this one returns goods against (Alış/Satış İade). Free text, not validated against an existing invoice.
ReturnedInvoiceDate
null | string<date>
Date of the invoice this one returns goods against. Date only (yyyy-MM-dd), no time part.
Example:
"2026-10-15"
OrderReferenceNumber
null | string
Reference order number (free text, informational only).
OrderReferenceDate
null | string<date>
Date of the reference order. Date only (yyyy-MM-dd), no time part.
Example:
"2026-10-15"
BranchNumber
null | string
Branch number (informational).
BranchTitle
null | string
Branch title (informational).
BranchAddress
null | string
Branch address (informational).
InvestmentIncentiveDocumentNumber
null | string
Investment incentive certificate number.
InvestmentIncentiveDocumentDate
null | string<date>
Investment incentive certificate date. Date only (yyyy-MM-dd), no time part.
Example:
"2026-10-15"
EnergyPeriodStart
null | string<date-time>
Energy period start date/time, for energy sector invoices.
EnergyPeriodEnd
null | string<date-time>
Energy period end date/time, for energy sector invoices.
DeliveryInfo
null | object
Export delivery information. Stored and returned as sent, not validated.
Show child attributes
PaymentMeans
object[]
Payment methods. Stored and returned as sent, not validated.
Show child attributes
ReferencedDespatches
object[]
Referenced despatches. Stored and returned as sent, not validated.
Show child attributes
CustomerIdentitySchemes
object[]
Customer identity schemes. Stored and returned as sent, not validated.
Show child attributes
PublicSectorSpendingUnit
null | object
Public sector (Kamu) payer spending unit. Stored and returned as sent, not validated.
Show child attributes
SgkInfo
null | object
SGK (social security) invoice information. Stored and returned as sent, not validated.
Show child attributes
Response
OK
Success
boolean
required
Whether the operation succeeded.
Example:
true
ResultCode
string
required
"0000" on success. On failure, the code of the first error; all errors are listed in Errors.
Example:
"0000"
Data
object
required
Response data. Null when Success is false.
Show child attributes
Message
null | string
Error message when Success is false. Messages of all errors are joined into a single text.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Noyax API","colors":{"primary":"#5B4AFF","light":"#8C80FF","dark":"#4A3AE0"},"logo":{"light":"https://mintcdn.com/noyax/K7LxoYHrQCdoQ4jy/logo/light.svg?fit=max\u0026auto=format\u0026n=K7LxoYHrQCdoQ4jy\u0026q=85\u0026s=78086fed969cddbbf46c4cd156eff780","dark":"https://mintcdn.com/noyax/K7LxoYHrQCdoQ4jy/logo/dark.svg?fit=max\u0026auto=format\u0026n=K7LxoYHrQCdoQ4jy\u0026q=85\u0026s=96614d322ed52bd768de7f3bfc057fb1","href":"/"},"favicon":"https://mintcdn.com/noyax/WZ1Gnfg0LydE9yNm/favicon.ico?fit=max\u0026auto=format\u0026n=WZ1Gnfg0LydE9yNm\u0026q=85\u0026s=b96b2569d70afdcc446a0d9785c6d34b","api":{"openapi":"api-reference/openapi.json","playground":{"display":"interactive"},"examples":{"defaults":"required","languages":["curl","csharp","javascript","python"]}},"footer":{"socials":{"website":"https://noyax.com"}},"seo":{"indexing":"navigable"},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"styling":{"latex":false},"navigation":{"languages":[{"language":"tr","default":true,"href":"tr/v1"},{"language":"en","href":"en/v1"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"noyax","hasAudioNarration":false,"actualSubdomain":"noyax","customDomains":["apidocs.noyax.com"],"gitSource":{"type":"github","owner":"ataakalin","repo":"noyaxapi","deployBranch":"master","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6af70c2de766df7985e6260a","clientVersion":"0.0.4143","searchFilterCounts":[{"language":"en","tag":"Modules","count":237},{"language":"tr","tag":"Modüller","count":237},{"language":"en","tag":"Customers","count":58},{"language":"tr","tag":"Cariler","count":56},{"language":"en","tag":"Finance","count":44},{"language":"tr","tag":"Finans","count":44},{"language":"en","tag":"Definitions","count":43},{"language":"tr","tag":"Tanımlar","count":43},{"language":"en","tag":"Bank","count":42},{"language":"tr","tag":"Banka","count":42},{"language":"en","tag":"Products","count":37},{"language":"tr","tag":"Ürünler","count":37},{"language":"en","tag":"Invoices","count":24},{"language":"tr","tag":"Faturalar","count":24},{"language":"en","tag":"Bank accounts","count":18},{"language":"tr","tag":"Banka hesapları","count":18},{"language":"en","tag":"Stock","count":14},{"language":"tr","tag":"Stok","count":14},{"language":"en","tag":"Parameter definitions","count":12},{"language":"tr","tag":"Parametre tanımları","count":12}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"en/v1/purchase-return-invoices/update","slug":"/en/v1/purchase-return-invoices/update","pageMetadata":{"title":"Update purchase return invoice","description":"Replaces the editable fields of the purchase return invoice.","openapi":"api-reference/openapi.json PUT /api/v1/purchase-return-invoices/{invoiceId}","href":"/en/v1/purchase-return-invoices/update"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Replaces the editable fields of the purchase return invoice.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Only the descriptive fields of the purchase return invoice can be updated: `,_jsx(_components.code,{children:`Description`}),`, `,_jsx(_components.code,{children:`DocumentNumber`}),`, `,_jsx(_components.code,{children:`ShipmentDefinitionCode`}),`, `,_jsx(_components.code,{children:`SharingCode`}),`, `,_jsx(_components.code,{children:`PrintDescription`}),`, `,_jsx(_components.code,{children:`Consolidated`}),`, `,_jsx(_components.code,{children:`ReturnedInvoiceNumber`}),`/`,_jsx(_components.code,{children:`ReturnedInvoiceDate`}),`, `,_jsx(_components.code,{children:`OrderReferenceNumber`}),`/`,_jsx(_components.code,{children:`OrderReferenceDate`}),`, `,_jsx(_components.code,{children:`BranchNumber`}),`/`,_jsx(_components.code,{children:`BranchTitle`}),`/`,_jsx(_components.code,{children:`BranchAddress`}),`, `,_jsx(_components.code,{children:`InvestmentIncentiveDocumentNumber`}),`/`,_jsx(_components.code,{children:`InvestmentIncentiveDocumentDate`}),`, `,_jsx(_components.code,{children:`EnergyPeriodStart`}),`/`,_jsx(_components.code,{children:`EnergyPeriodEnd`}),` and the extra structured fields (`,_jsx(_components.code,{children:`DeliveryInfo`}),`, `,_jsx(_components.code,{children:`PaymentMeans`}),`, `,_jsx(_components.code,{children:`ReferencedDespatches`}),`, `,_jsx(_components.code,{children:`CustomerIdentitySchemes`}),`, `,_jsx(_components.code,{children:`PublicSectorSpendingUnit`}),`, `,_jsx(_components.code,{children:`SgkInfo`}),`). The update is a `,_jsx(_components.strong,{children:`full replacement of these fields`}),`: the ones you do not send are cleared. To change only some of them use `,_jsx(_components.a,{href:`/en/v1/guides/partial-update`,children:`partial update`}),`: `,_jsx(_components.code,{children:`PATCH`}),` changes only the fields you send.`]}),`\n`,_jsxs(_components.p,{children:[`The lines, customer, date and time, invoice number, payment term, amounts, taxes, `,_jsx(_components.code,{children:`ProfileId`}),`/`,_jsx(_components.code,{children:`InvoiceTypeCode`}),` and exchange rate `,_jsx(_components.strong,{children:`cannot be updated`}),`: if the request body contains any of them it is rejected (`,_jsx(_components.code,{children:`0002`}),`). To correct them, delete the purchase return invoice and create it again, or issue a return invoice. An invoice that has already been sent to GİB cannot be deleted (`,_jsx(_components.code,{children:`3027`}),`), but its descriptive fields can still be updated.`]}),`\n`,_jsxs(_components.p,{children:[`Changing `,_jsx(_components.code,{children:`Description`}),` also updates the description of the invoice’s customer ledger entry.`]}),`\n`,_jsx(CodeBlock,{filename:`PUT /api/v1/purchase-return-invoices/{invoiceId}`,numberOfLines:`5`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"Description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Delivered to the Kadıköy branch\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"DocumentNumber\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-15\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"PrintDescription\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`error-codes`,children:`Error codes`}),`\n`,_jsxs(_components.p,{children:[`Codes this endpoint can return. The `,_jsx(_components.a,{href:`/en/v1/guides/result-codes`,children:`general errors`}),` that apply to every endpoint (authentication, permissions, request headers, request limits) are not repeated here.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Code`}),_jsx(_components.th,{children:`HTTP`}),_jsx(_components.th,{children:`Meaning`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`0002`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:`Request body could not be read (malformed JSON, wrong field type), or it contains a field the endpoint does not have`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`0003`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:`A field exceeds its maximum length (the message names the field and the limit)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`3000`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`404`}),_jsx(_components.td,{children:`Invoice not found`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`3009`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`SharingCode`}),` is not one of the user’s sharing codes`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`3013`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`ShipmentDefinitionCode`}),` was not found in the company`]})]})]})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Update purchase return invoice","description":"Replaces the editable fields of the purchase return invoice.","openapi":"api-reference/openapi.json PUT /api/v1/purchase-return-invoices/{invoiceId}","href":"/en/v1/purchase-return-invoices/update"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Error codes","slug":"error-codes","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Purchase Return Invoices"],"summary":"Update purchase return invoice","description":"Replaces the editable fields of the purchase return invoice.","parameters":["a72195b0-8bf6-480b-954a-affe8d76f566","353486a7-97e9-4cd8-a33c-349b7f489d4f","c8fd0396-dd96-41f3-8142-3c75ae4364af","b377adfc-f2cc-4c2d-828e-1eae4103c385"],"requestBody":"cba83c1c-0a15-49c0-8d69-599fad5270e7","responses":{"200":"4c7b3363-b837-4ef1-a404-7f260c35e05e","400":"71d3ad7d-1a9a-446d-9645-6f1252134e1d","401":"55ef3a66-c5e3-49a3-8fb7-7afe0c2a9452","403":"c78b5a73-d36f-44d5-985a-2bb6a3646cb9","404":"ff59e090-d6f5-41cf-8499-88e477f82c51","429":"035e748e-fc1d-4bbf-a59b-e397436f2a2f"},"method":"put","type":"path","servers":["751ff55a-b28a-4823-93a0-54b137dafaf3"],"security":["2360e6fe-3f5d-4cb2-a410-60ae58b2515b"],"path":"/api/v1/purchase-return-invoices/{invoiceId}","baseUrlOptions":["https://api.noyax.com"],"title":"Update purchase return invoice","codeSamples":[],"requestExampleLanguages":["bash","csharp","javascript","python"],"requiredOnlyExamples":true,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"a72195b0-8bf6-480b-954a-affe8d76f566":{"name":"invoiceId","in":"path","description":"Purchase return invoice ID.","required":true,"schema":{"type":"string","format":"uuid","isRequired":true,"description":"Purchase return invoice ID.","uniqueKey":"","typeLabel":"string\u003cuuid>"}},"353486a7-97e9-4cd8-a33c-349b7f489d4f":{"name":"X-UserID","in":"header","description":"ID of the Noyax user the request is made on behalf of. Written to the audit fields of created, updated and deleted records.","required":true,"schema":{"minimum":1,"type":"integer","format":"int32","isRequired":true,"description":"ID of the Noyax user the request is made on behalf of. Written to the audit fields of created, updated and deleted records.","uniqueKey":"","typeLabel":"integer\u003cint32>"}},"c8fd0396-dd96-41f3-8142-3c75ae4364af":{"name":"X-CompanyID","in":"header","description":"ID of the company. The user must be assigned to this company. All reads and writes are limited to this company.","required":true,"schema":{"minimum":1,"type":"integer","format":"int32","isRequired":true,"description":"ID of the company. The user must be assigned to this company. All reads and writes are limited to this company.","uniqueKey":"","typeLabel":"integer\u003cint32>"}},"b377adfc-f2cc-4c2d-828e-1eae4103c385":{"name":"X-PeriodID","in":"header","description":"ID of the accounting period. Optional; if sent, it is written to created records.","schema":{"minimum":1,"type":"integer","format":"int32","description":"ID of the accounting period. Optional; if sent, it is written to created records.","uniqueKey":"","typeLabel":"integer\u003cint32>"}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"Description":{"oneOf":[{"type":"null","description":"Description. At most 1000 characters.","uniqueKey":"Description.oneOf.0","typeLabel":"null"},{"type":"string","description":"Description. At most 1000 characters.","uniqueKey":"Description.oneOf.1","typeLabel":"string"}],"uniqueKey":"Description","typeLabel":"null | string"},"DocumentNumber":{"oneOf":[{"type":"null","description":"Document number (free text). At most 100 characters.","uniqueKey":"DocumentNumber.oneOf.0","typeLabel":"null"},{"type":"string","description":"Document number (free text). At most 100 characters.","uniqueKey":"DocumentNumber.oneOf.1","typeLabel":"string"}],"uniqueKey":"DocumentNumber","typeLabel":"null | string"},"ShipmentDefinitionCode":{"oneOf":[{"type":"null","description":"Shipment definition code from GET /api/v1/definitions/shipment-definitions.","uniqueKey":"ShipmentDefinitionCode.oneOf.0","typeLabel":"null"},{"type":"string","description":"Shipment definition code from GET /api/v1/definitions/shipment-definitions.","uniqueKey":"ShipmentDefinitionCode.oneOf.1","typeLabel":"string"}],"uniqueKey":"ShipmentDefinitionCode","typeLabel":"null | string"},"SharingCode":{"oneOf":[{"type":"null","description":"Sharing code that limits who can see the invoice. Empty means visible to everyone; otherwise it must be one of the user's sharing codes.","uniqueKey":"SharingCode.oneOf.0","typeLabel":"null"},{"type":"string","description":"Sharing code that limits who can see the invoice. Empty means visible to everyone; otherwise it must be one of the user's sharing codes.","uniqueKey":"SharingCode.oneOf.1","typeLabel":"string"}],"uniqueKey":"SharingCode","typeLabel":"null | string"},"PrintDescription":{"type":"boolean","description":"Whether the description should be printed on the invoice document.","uniqueKey":"PrintDescription","typeLabel":"boolean"},"Consolidated":{"type":"boolean","description":"Whether the invoice consolidates several despatches/orders. Free-form flag, not validated by the API.","uniqueKey":"Consolidated","typeLabel":"boolean"},"ReturnedInvoiceNumber":{"oneOf":[{"type":"null","description":"Number of the invoice this one returns goods against (Alış/Satış İade). Free text, not validated against an existing invoice.","uniqueKey":"ReturnedInvoiceNumber.oneOf.0","typeLabel":"null"},{"type":"string","description":"Number of the invoice this one returns goods against (Alış/Satış İade). Free text, not validated against an existing invoice.","uniqueKey":"ReturnedInvoiceNumber.oneOf.1","typeLabel":"string"}],"uniqueKey":"ReturnedInvoiceNumber","typeLabel":"null | string"},"ReturnedInvoiceDate":{"oneOf":[{"type":"null","description":"Date of the invoice this one returns goods against. Date only (yyyy-MM-dd), no time part.","format":"date","example":"2026-10-15","uniqueKey":"ReturnedInvoiceDate.oneOf.0","typeLabel":"null"},{"type":"string","description":"Date of the invoice this one returns goods against. Date only (yyyy-MM-dd), no time part.","format":"date","example":"2026-10-15","uniqueKey":"ReturnedInvoiceDate.oneOf.1","typeLabel":"string\u003cdate>"}],"uniqueKey":"ReturnedInvoiceDate","typeLabel":"null | string\u003cdate>"},"OrderReferenceNumber":{"oneOf":[{"type":"null","description":"Reference order number (free text, informational only).","uniqueKey":"OrderReferenceNumber.oneOf.0","typeLabel":"null"},{"type":"string","description":"Reference order number (free text, informational only).","uniqueKey":"OrderReferenceNumber.oneOf.1","typeLabel":"string"}],"uniqueKey":"OrderReferenceNumber","typeLabel":"null | string"},"OrderReferenceDate":{"oneOf":[{"type":"null","description":"Date of the reference order. Date only (yyyy-MM-dd), no time part.","format":"date","example":"2026-10-15","uniqueKey":"OrderReferenceDate.oneOf.0","typeLabel":"null"},{"type":"string","description":"Date of the reference order. Date only (yyyy-MM-dd), no time part.","format":"date","example":"2026-10-15","uniqueKey":"OrderReferenceDate.oneOf.1","typeLabel":"string\u003cdate>"}],"uniqueKey":"OrderReferenceDate","typeLabel":"null | string\u003cdate>"},"BranchNumber":{"oneOf":[{"type":"null","description":"Branch number (informational).","uniqueKey":"BranchNumber.oneOf.0","typeLabel":"null"},{"type":"string","description":"Branch number (informational).","uniqueKey":"BranchNumber.oneOf.1","typeLabel":"string"}],"uniqueKey":"BranchNumber","typeLabel":"null | string"},"BranchTitle":{"oneOf":[{"type":"null","description":"Branch title (informational).","uniqueKey":"BranchTitle.oneOf.0","typeLabel":"null"},{"type":"string","description":"Branch title (informational).","uniqueKey":"BranchTitle.oneOf.1","typeLabel":"string"}],"uniqueKey":"BranchTitle","typeLabel":"null | string"},"BranchAddress":{"oneOf":[{"type":"null","description":"Branch address (informational).","uniqueKey":"BranchAddress.oneOf.0","typeLabel":"null"},{"type":"string","description":"Branch address (informational).","uniqueKey":"BranchAddress.oneOf.1","typeLabel":"string"}],"uniqueKey":"BranchAddress","typeLabel":"null | string"},"InvestmentIncentiveDocumentNumber":{"oneOf":[{"type":"null","description":"Investment incentive certificate number.","uniqueKey":"InvestmentIncentiveDocumentNumber.oneOf.0","typeLabel":"null"},{"type":"string","description":"Investment incentive certificate number.","uniqueKey":"InvestmentIncentiveDocumentNumber.oneOf.1","typeLabel":"string"}],"uniqueKey":"InvestmentIncentiveDocumentNumber","typeLabel":"null | string"},"InvestmentIncentiveDocumentDate":{"oneOf":[{"type":"null","description":"Investment incentive certificate date. Date only (yyyy-MM-dd), no time part.","format":"date","example":"2026-10-15","uniqueKey":"InvestmentIncentiveDocumentDate.oneOf.0","typeLabel":"null"},{"type":"string","description":"Investment incentive certificate date. Date only (yyyy-MM-dd), no time part.","format":"date","example":"2026-10-15","uniqueKey":"InvestmentIncentiveDocumentDate.oneOf.1","typeLabel":"string\u003cdate>"}],"uniqueKey":"InvestmentIncentiveDocumentDate","typeLabel":"null | string\u003cdate>"},"EnergyPeriodStart":{"oneOf":[{"type":"null","description":"Energy period start date/time, for energy sector invoices.","format":"date-time","uniqueKey":"EnergyPeriodStart.oneOf.0","typeLabel":"null"},{"type":"string","description":"Energy period start date/time, for energy sector invoices.","format":"date-time","uniqueKey":"EnergyPeriodStart.oneOf.1","typeLabel":"string\u003cdate-time>"}],"uniqueKey":"EnergyPeriodStart","typeLabel":"null | string\u003cdate-time>"},"EnergyPeriodEnd":{"oneOf":[{"type":"null","description":"Energy period end date/time, for energy sector invoices.","format":"date-time","uniqueKey":"EnergyPeriodEnd.oneOf.0","typeLabel":"null"},{"type":"string","description":"Energy period end date/time, for energy sector invoices.","format":"date-time","uniqueKey":"EnergyPeriodEnd.oneOf.1","typeLabel":"string\u003cdate-time>"}],"uniqueKey":"EnergyPeriodEnd","typeLabel":"null | string\u003cdate-time>"},"DeliveryInfo":{"oneOf":[{"type":"null","uniqueKey":"DeliveryInfo.oneOf.0","typeLabel":"null"},{"type":"object","description":"Export delivery information. Stored and returned as sent, not validated.","properties":{"DeliveryTerm":{"oneOf":[{"type":"null","description":"Delivery term code.","uniqueKey":"DeliveryInfo.oneOf.1.DeliveryTerm.oneOf.0","typeLabel":"null"},{"type":"string","description":"Delivery term code.","uniqueKey":"DeliveryInfo.oneOf.1.DeliveryTerm.oneOf.1","typeLabel":"string"}],"uniqueKey":"DeliveryInfo.oneOf.1.DeliveryTerm","typeLabel":"null | string"},"TransportModeCode":{"oneOf":[{"type":"null","description":"Transport mode code: 1 maritime, 2 rail, 3 road, 4 air.","format":"int32","uniqueKey":"DeliveryInfo.oneOf.1.TransportModeCode.oneOf.0","typeLabel":"null"},{"type":"integer","description":"Transport mode code: 1 maritime, 2 rail, 3 road, 4 air.","format":"int32","uniqueKey":"DeliveryInfo.oneOf.1.TransportModeCode.oneOf.1","typeLabel":"integer\u003cint32>"}],"uniqueKey":"DeliveryInfo.oneOf.1.TransportModeCode","typeLabel":"null | integer\u003cint32>"},"Country":{"oneOf":[{"type":"null","description":"Delivery country.","uniqueKey":"DeliveryInfo.oneOf.1.Country.oneOf.0","typeLabel":"null"},{"type":"string","description":"Delivery country.","uniqueKey":"DeliveryInfo.oneOf.1.Country.oneOf.1","typeLabel":"string"}],"uniqueKey":"DeliveryInfo.oneOf.1.Country","typeLabel":"null | string"},"CityName":{"oneOf":[{"type":"null","description":"Delivery city.","uniqueKey":"DeliveryInfo.oneOf.1.CityName.oneOf.0","typeLabel":"null"},{"type":"string","description":"Delivery city.","uniqueKey":"DeliveryInfo.oneOf.1.CityName.oneOf.1","typeLabel":"string"}],"uniqueKey":"DeliveryInfo.oneOf.1.CityName","typeLabel":"null | string"},"CitySubdivisionName":{"oneOf":[{"type":"null","description":"Delivery city subdivision (district).","uniqueKey":"DeliveryInfo.oneOf.1.CitySubdivisionName.oneOf.0","typeLabel":"null"},{"type":"string","description":"Delivery city subdivision (district).","uniqueKey":"DeliveryInfo.oneOf.1.CitySubdivisionName.oneOf.1","typeLabel":"string"}],"uniqueKey":"DeliveryInfo.oneOf.1.CitySubdivisionName","typeLabel":"null | string"},"StreetName":{"oneOf":[{"type":"null","description":"Delivery street name.","uniqueKey":"DeliveryInfo.oneOf.1.StreetName.oneOf.0","typeLabel":"null"},{"type":"string","description":"Delivery street name.","uniqueKey":"DeliveryInfo.oneOf.1.StreetName.oneOf.1","typeLabel":"string"}],"uniqueKey":"DeliveryInfo.oneOf.1.StreetName","typeLabel":"null | string"},"BuildingName":{"oneOf":[{"type":"null","description":"Delivery building name.","uniqueKey":"DeliveryInfo.oneOf.1.BuildingName.oneOf.0","typeLabel":"null"},{"type":"string","description":"Delivery building name.","uniqueKey":"DeliveryInfo.oneOf.1.BuildingName.oneOf.1","typeLabel":"string"}],"uniqueKey":"DeliveryInfo.oneOf.1.BuildingName","typeLabel":"null | string"},"BuildingNumber":{"oneOf":[{"type":"null","description":"Delivery building number.","uniqueKey":"DeliveryInfo.oneOf.1.BuildingNumber.oneOf.0","typeLabel":"null"},{"type":"string","description":"Delivery building number.","uniqueKey":"DeliveryInfo.oneOf.1.BuildingNumber.oneOf.1","typeLabel":"string"}],"uniqueKey":"DeliveryInfo.oneOf.1.BuildingNumber","typeLabel":"null | string"},"PostalZone":{"oneOf":[{"type":"null","description":"Delivery postal code.","uniqueKey":"DeliveryInfo.oneOf.1.PostalZone.oneOf.0","typeLabel":"null"},{"type":"string","description":"Delivery postal code.","uniqueKey":"DeliveryInfo.oneOf.1.PostalZone.oneOf.1","typeLabel":"string"}],"uniqueKey":"DeliveryInfo.oneOf.1.PostalZone","typeLabel":"null | string"},"TransportMeans":{"oneOf":[{"type":"null","description":"Transport means identifier (vessel name, train number, license plate or aircraft number, depending on TransportModeCode).","uniqueKey":"DeliveryInfo.oneOf.1.TransportMeans.oneOf.0","typeLabel":"null"},{"type":"string","description":"Transport means identifier (vessel name, train number, license plate or aircraft number, depending on TransportModeCode).","uniqueKey":"DeliveryInfo.oneOf.1.TransportMeans.oneOf.1","typeLabel":"string"}],"uniqueKey":"DeliveryInfo.oneOf.1.TransportMeans","typeLabel":"null | string"},"DeclaredForCarriageValueAmount":{"oneOf":[{"type":"null","description":"Declared value for carriage.","format":"double","uniqueKey":"DeliveryInfo.oneOf.1.DeclaredForCarriageValueAmount.oneOf.0","typeLabel":"null"},{"type":"number","description":"Declared value for carriage.","format":"double","uniqueKey":"DeliveryInfo.oneOf.1.DeclaredForCarriageValueAmount.oneOf.1","typeLabel":"number\u003cdouble>"}],"uniqueKey":"DeliveryInfo.oneOf.1.DeclaredForCarriageValueAmount","typeLabel":"null | number\u003cdouble>"},"DeliveryInsuranceValue":{"oneOf":[{"type":"null","description":"Delivery insurance value.","format":"double","uniqueKey":"DeliveryInfo.oneOf.1.DeliveryInsuranceValue.oneOf.0","typeLabel":"null"},{"type":"number","description":"Delivery insurance value.","format":"double","uniqueKey":"DeliveryInfo.oneOf.1.DeliveryInsuranceValue.oneOf.1","typeLabel":"number\u003cdouble>"}],"uniqueKey":"DeliveryInfo.oneOf.1.DeliveryInsuranceValue","typeLabel":"null | number\u003cdouble>"}},"uniqueKey":"DeliveryInfo.oneOf.1","typeLabel":"object"}],"uniqueKey":"DeliveryInfo","typeLabel":"null | object"},"PaymentMeans":{"type":"array","items":{"type":"object","properties":{"PaymentMeansCode":{"oneOf":[{"type":"null","description":"Payment means code (UN/EDIFACT 4461, e.g. \"1\" cash, \"42\" wire transfer).","uniqueKey":"PaymentMeans.items.[INDEX].PaymentMeansCode.oneOf.0","typeLabel":"null"},{"type":"string","description":"Payment means code (UN/EDIFACT 4461, e.g. \"1\" cash, \"42\" wire transfer).","uniqueKey":"PaymentMeans.items.[INDEX].PaymentMeansCode.oneOf.1","typeLabel":"string"}],"uniqueKey":"PaymentMeans.items.[INDEX].PaymentMeansCode","typeLabel":"null | string"},"PayeeFinancialAccountID":{"oneOf":[{"type":"null","description":"IBAN or account number.","uniqueKey":"PaymentMeans.items.[INDEX].PayeeFinancialAccountID.oneOf.0","typeLabel":"null"},{"type":"string","description":"IBAN or account number.","uniqueKey":"PaymentMeans.items.[INDEX].PayeeFinancialAccountID.oneOf.1","typeLabel":"string"}],"uniqueKey":"PaymentMeans.items.[INDEX].PayeeFinancialAccountID","typeLabel":"null | string"},"CurrencyCode":{"oneOf":[{"type":"null","description":"Currency code of the account.","uniqueKey":"PaymentMeans.items.[INDEX].CurrencyCode.oneOf.0","typeLabel":"null"},{"type":"string","description":"Currency code of the account.","uniqueKey":"PaymentMeans.items.[INDEX].CurrencyCode.oneOf.1","typeLabel":"string"}],"uniqueKey":"PaymentMeans.items.[INDEX].CurrencyCode","typeLabel":"null | string"}},"uniqueKey":"PaymentMeans.items.[INDEX]","typeLabel":"object"},"description":"Payment methods. Stored and returned as sent, not validated.","uniqueKey":"PaymentMeans","typeLabel":"object[]"},"ReferencedDespatches":{"type":"array","items":{"type":"object","properties":{"ID":{"oneOf":[{"type":"null","description":"Despatch number.","uniqueKey":"ReferencedDespatches.items.[INDEX].ID.oneOf.0","typeLabel":"null"},{"type":"string","description":"Despatch number.","uniqueKey":"ReferencedDespatches.items.[INDEX].ID.oneOf.1","typeLabel":"string"}],"uniqueKey":"ReferencedDespatches.items.[INDEX].ID","typeLabel":"null | string"},"IssueDate":{"oneOf":[{"type":"null","description":"Despatch issue date.","format":"date-time","uniqueKey":"ReferencedDespatches.items.[INDEX].IssueDate.oneOf.0","typeLabel":"null"},{"type":"string","description":"Despatch issue date.","format":"date-time","uniqueKey":"ReferencedDespatches.items.[INDEX].IssueDate.oneOf.1","typeLabel":"string\u003cdate-time>"}],"uniqueKey":"ReferencedDespatches.items.[INDEX].IssueDate","typeLabel":"null | string\u003cdate-time>"}},"uniqueKey":"ReferencedDespatches.items.[INDEX]","typeLabel":"object"},"description":"Referenced despatches. Stored and returned as sent, not validated.","uniqueKey":"ReferencedDespatches","typeLabel":"object[]"},"CustomerIdentitySchemes":{"type":"array","items":{"type":"object","properties":{"SchemeID":{"oneOf":[{"type":"null","description":"Scheme ID (e.g. \"MUSTERINO\", \"BAYINO\", \"TICARETSICILNO\", \"MERSISNO\", \"HIZMETNO\", \"TESISATNO\").","uniqueKey":"CustomerIdentitySchemes.items.[INDEX].SchemeID.oneOf.0","typeLabel":"null"},{"type":"string","description":"Scheme ID (e.g. \"MUSTERINO\", \"BAYINO\", \"TICARETSICILNO\", \"MERSISNO\", \"HIZMETNO\", \"TESISATNO\").","uniqueKey":"CustomerIdentitySchemes.items.[INDEX].SchemeID.oneOf.1","typeLabel":"string"}],"uniqueKey":"CustomerIdentitySchemes.items.[INDEX].SchemeID","typeLabel":"null | string"},"Value":{"oneOf":[{"type":"null","description":"Value for this scheme.","uniqueKey":"CustomerIdentitySchemes.items.[INDEX].Value.oneOf.0","typeLabel":"null"},{"type":"string","description":"Value for this scheme.","uniqueKey":"CustomerIdentitySchemes.items.[INDEX].Value.oneOf.1","typeLabel":"string"}],"uniqueKey":"CustomerIdentitySchemes.items.[INDEX].Value","typeLabel":"null | string"}},"uniqueKey":"CustomerIdentitySchemes.items.[INDEX]","typeLabel":"object"},"description":"Customer identity schemes. Stored and returned as sent, not validated.","uniqueKey":"CustomerIdentitySchemes","typeLabel":"object[]"},"PublicSectorSpendingUnit":{"oneOf":[{"type":"null","uniqueKey":"PublicSectorSpendingUnit.oneOf.0","typeLabel":"null"},{"type":"object","description":"Public sector (Kamu) payer spending unit. Stored and returned as sent, not validated.","properties":{"BCP_Name":{"oneOf":[{"type":"null","description":"Spending unit name.","uniqueKey":"PublicSectorSpendingUnit.oneOf.1.BCP_Name.oneOf.0","typeLabel":"null"},{"type":"string","description":"Spending unit name.","uniqueKey":"PublicSectorSpendingUnit.oneOf.1.BCP_Name.oneOf.1","typeLabel":"string"}],"uniqueKey":"PublicSectorSpendingUnit.oneOf.1.BCP_Name","typeLabel":"null | string"},"BCP_VKN":{"oneOf":[{"type":"null","description":"Spending unit tax number.","uniqueKey":"PublicSectorSpendingUnit.oneOf.1.BCP_VKN.oneOf.0","typeLabel":"null"},{"type":"string","description":"Spending unit tax number.","uniqueKey":"PublicSectorSpendingUnit.oneOf.1.BCP_VKN.oneOf.1","typeLabel":"string"}],"uniqueKey":"PublicSectorSpendingUnit.oneOf.1.BCP_VKN","typeLabel":"null | string"},"BCP_Country":{"oneOf":[{"type":"null","description":"Spending unit country.","uniqueKey":"PublicSectorSpendingUnit.oneOf.1.BCP_Country.oneOf.0","typeLabel":"null"},{"type":"string","description":"Spending unit country.","uniqueKey":"PublicSectorSpendingUnit.oneOf.1.BCP_Country.oneOf.1","typeLabel":"string"}],"uniqueKey":"PublicSectorSpendingUnit.oneOf.1.BCP_Country","typeLabel":"null | string"},"BCP_CityName":{"oneOf":[{"type":"null","description":"Spending unit city.","uniqueKey":"PublicSectorSpendingUnit.oneOf.1.BCP_CityName.oneOf.0","typeLabel":"null"},{"type":"string","description":"Spending unit city.","uniqueKey":"PublicSectorSpendingUnit.oneOf.1.BCP_CityName.oneOf.1","typeLabel":"string"}],"uniqueKey":"PublicSectorSpendingUnit.oneOf.1.BCP_CityName","typeLabel":"null | string"},"BCP_CitySubdivisionName":{"oneOf":[{"type":"null","description":"Spending unit city subdivision (district).","uniqueKey":"PublicSectorSpendingUnit.oneOf.1.BCP_CitySubdivisionName.oneOf.0","typeLabel":"null"},{"type":"string","description":"Spending unit city subdivision (district).","uniqueKey":"PublicSectorSpendingUnit.oneOf.1.BCP_CitySubdivisionName.oneOf.1","typeLabel":"string"}],"uniqueKey":"PublicSectorSpendingUnit.oneOf.1.BCP_CitySubdivisionName","typeLabel":"null | string"}},"uniqueKey":"PublicSectorSpendingUnit.oneOf.1","typeLabel":"object"}],"uniqueKey":"PublicSectorSpendingUnit","typeLabel":"null | object"},"SgkInfo":{"oneOf":[{"type":"null","uniqueKey":"SgkInfo.oneOf.0","typeLabel":"null"},{"type":"object","description":"SGK (social security) invoice information. Stored and returned as sent, not validated.","properties":{"StartDate":{"oneOf":[{"type":"null","description":"Period start date.","format":"date-time","uniqueKey":"SgkInfo.oneOf.1.StartDate.oneOf.0","typeLabel":"null"},{"type":"string","description":"Period start date.","format":"date-time","uniqueKey":"SgkInfo.oneOf.1.StartDate.oneOf.1","typeLabel":"string\u003cdate-time>"}],"uniqueKey":"SgkInfo.oneOf.1.StartDate","typeLabel":"null | string\u003cdate-time>"},"EndDate":{"oneOf":[{"type":"null","description":"Period end date.","format":"date-time","uniqueKey":"SgkInfo.oneOf.1.EndDate.oneOf.0","typeLabel":"null"},{"type":"string","description":"Period end date.","format":"date-time","uniqueKey":"SgkInfo.oneOf.1.EndDate.oneOf.1","typeLabel":"string\u003cdate-time>"}],"uniqueKey":"SgkInfo.oneOf.1.EndDate","typeLabel":"null | string\u003cdate-time>"},"MukellefKodu":{"oneOf":[{"type":"null","description":"Taxpayer code.","uniqueKey":"SgkInfo.oneOf.1.MukellefKodu.oneOf.0","typeLabel":"null"},{"type":"string","description":"Taxpayer code.","uniqueKey":"SgkInfo.oneOf.1.MukellefKodu.oneOf.1","typeLabel":"string"}],"uniqueKey":"SgkInfo.oneOf.1.MukellefKodu","typeLabel":"null | string"},"MukellefAdi":{"oneOf":[{"type":"null","description":"Taxpayer name.","uniqueKey":"SgkInfo.oneOf.1.MukellefAdi.oneOf.0","typeLabel":"null"},{"type":"string","description":"Taxpayer name.","uniqueKey":"SgkInfo.oneOf.1.MukellefAdi.oneOf.1","typeLabel":"string"}],"uniqueKey":"SgkInfo.oneOf.1.MukellefAdi","typeLabel":"null | string"},"DosyaNo":{"oneOf":[{"type":"null","description":"File number.","uniqueKey":"SgkInfo.oneOf.1.DosyaNo.oneOf.0","typeLabel":"null"},{"type":"string","description":"File number.","uniqueKey":"SgkInfo.oneOf.1.DosyaNo.oneOf.1","typeLabel":"string"}],"uniqueKey":"SgkInfo.oneOf.1.DosyaNo","typeLabel":"null | string"},"FaturaAltTipi":{"oneOf":[{"type":"null","description":"Invoice sub-type.","uniqueKey":"SgkInfo.oneOf.1.FaturaAltTipi.oneOf.0","typeLabel":"null"},{"type":"string","description":"Invoice sub-type.","uniqueKey":"SgkInfo.oneOf.1.FaturaAltTipi.oneOf.1","typeLabel":"string"}],"uniqueKey":"SgkInfo.oneOf.1.FaturaAltTipi","typeLabel":"null | string"}},"uniqueKey":"SgkInfo.oneOf.1","typeLabel":"object"}],"uniqueKey":"SgkInfo","typeLabel":"null | object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"Description":"\u003cstring>","DocumentNumber":"\u003cstring>","ShipmentDefinitionCode":"\u003cstring>","SharingCode":"\u003cstring>","PrintDescription":true,"Consolidated":true,"ReturnedInvoiceNumber":"\u003cstring>","ReturnedInvoiceDate":"2026-10-15","OrderReferenceNumber":"\u003cstring>","OrderReferenceDate":"2026-10-15","BranchNumber":"\u003cstring>","BranchTitle":"\u003cstring>","BranchAddress":"\u003cstring>","InvestmentIncentiveDocumentNumber":"\u003cstring>","InvestmentIncentiveDocumentDate":"2026-10-15","EnergyPeriodStart":"2023-11-07T05:31:56Z","EnergyPeriodEnd":"2023-11-07T05:31:56Z","DeliveryInfo":{"DeliveryTerm":"\u003cstring>","TransportModeCode":123,"Country":"\u003cstring>","CityName":"\u003cstring>","CitySubdivisionName":"\u003cstring>","StreetName":"\u003cstring>","BuildingName":"\u003cstring>","BuildingNumber":"\u003cstring>","PostalZone":"\u003cstring>","TransportMeans":"\u003cstring>","DeclaredForCarriageValueAmount":123,"DeliveryInsuranceValue":123},"PaymentMeans":[{"PaymentMeansCode":"\u003cstring>","PayeeFinancialAccountID":"\u003cstring>","CurrencyCode":"\u003cstring>"}],"ReferencedDespatches":[{"ID":"\u003cstring>","IssueDate":"2023-11-07T05:31:56Z"}],"CustomerIdentitySchemes":[{"SchemeID":"\u003cstring>","Value":"\u003cstring>"}],"PublicSectorSpendingUnit":{"BCP_Name":"\u003cstring>","BCP_VKN":"\u003cstring>","BCP_Country":"\u003cstring>","BCP_CityName":"\u003cstring>","BCP_CitySubdivisionName":"\u003cstring>"},"SgkInfo":{"StartDate":"2023-11-07T05:31:56Z","EndDate":"2023-11-07T05:31:56Z","MukellefKodu":"\u003cstring>","MukellefAdi":"\u003cstring>","DosyaNo":"\u003cstring>","FaturaAltTipi":"\u003cstring>"}}}},"exampleType":"generated"},"text/json":{"schema":{"type":"object","properties":{"Description":{"oneOf":[{"type":"null","description":"Description. At most 1000 characters.","uniqueKey":"Description.oneOf.0","typeLabel":"null"},{"type":"string","description":"Description. At most 1000 characters.","uniqueKey":"Description.oneOf.1","typeLabel":"string"}],"uniqueKey":"Description","typeLabel":"null | string"},"DocumentNumber":{"oneOf":[{"type":"null","description":"Document number (free text). At most 100 characters.","uniqueKey":"DocumentNumber.oneOf.0","typeLabel":"null"},{"type":"string","description":"Document number (free text). At most 100 characters.","uniqueKey":"DocumentNumber.oneOf.1","typeLabel":"string"}],"uniqueKey":"DocumentNumber","typeLabel":"null | string"},"ShipmentDefinitionCode":{"oneOf":[{"type":"null","description":"Shipment definition code from GET /api/v1/definitions/shipment-definitions.","uniqueKey":"ShipmentDefinitionCode.oneOf.0","typeLabel":"null"},{"type":"string","description":"Shipment definition code from GET /api/v1/definitions/shipment-definitions.","uniqueKey":"ShipmentDefinitionCode.oneOf.1","typeLabel":"string"}],"uniqueKey":"ShipmentDefinitionCode","typeLabel":"null | string"},"SharingCode":{"oneOf":[{"type":"null","description":"Sharing code that limits who can see the invoice. Empty means visible to everyone; otherwise it must be one of the user's sharing codes.","uniqueKey":"SharingCode.oneOf.0","typeLabel":"null"},{"type":"string","description":"Sharing code that limits who can see the invoice. Empty means visible to everyone; otherwise it must be one of the user's sharing codes.","uniqueKey":"SharingCode.oneOf.1","typeLabel":"string"}],"uniqueKey":"SharingCode","typeLabel":"null | string"},"PrintDescription":{"type":"boolean","description":"Whether the description should be printed on the invoice document.","uniqueKey":"PrintDescription","typeLabel":"boolean"},"Consolidated":{"type":"boolean","description":"Whether the invoice consolidates several despatches/orders. Free-form flag, not validated by the API.","uniqueKey":"Consolidated","typeLabel":"boolean"},"ReturnedInvoiceNumber":{"oneOf":[{"type":"null","description":"Number of the invoice this one returns goods against (Alış/Satış İade). Free text, not validated against an existing invoice.","uniqueKey":"ReturnedInvoiceNumber.oneOf.0","typeLabel":"null"},{"type":"string","description":"Number of the invoice this one returns goods against (Alış/Satış İade). Free text, not validated against an existing invoice.","uniqueKey":"ReturnedInvoiceNumber.oneOf.1","typeLabel":"string"}],"uniqueKey":"ReturnedInvoiceNumber","typeLabel":"null | string"},"ReturnedInvoiceDate":{"oneOf":[{"type":"null","description":"Date of the invoice this one returns goods against. Date only (yyyy-MM-dd), no time part.","format":"date","example":"2026-10-15","uniqueKey":"ReturnedInvoiceDate.oneOf.0","typeLabel":"null"},{"type":"string","description":"Date of the invoice this one returns goods against. Date only (yyyy-MM-dd), no time part.","format":"date","example":"2026-10-15","uniqueKey":"ReturnedInvoiceDate.oneOf.1","typeLabel":"string\u003cdate>"}],"uniqueKey":"ReturnedInvoiceDate","typeLabel":"null | string\u003cdate>"},"OrderReferenceNumber":{"oneOf":[{"type":"null","description":"Reference order number (free text, informational only).","uniqueKey":"OrderReferenceNumber.oneOf.0","typeLabel":"null"},{"type":"string","description":"Reference order number (free text, informational only).","uniqueKey":"OrderReferenceNumber.oneOf.1","typeLabel":"string"}],"uniqueKey":"OrderReferenceNumber","typeLabel":"null | string"},"OrderReferenceDate":{"oneOf":[{"type":"null","description":"Date of the reference order. Date only (yyyy-MM-dd), no time part.","format":"date","example":"2026-10-15","uniqueKey":"OrderReferenceDate.oneOf.0","typeLabel":"null"},{"type":"string","description":"Date of the reference order. Date only (yyyy-MM-dd), no time part.","format":"date","example":"2026-10-15","uniqueKey":"OrderReferenceDate.oneOf.1","typeLabel":"string\u003cdate>"}],"uniqueKey":"OrderReferenceDate","typeLabel":"null | string\u003cdate>"},"BranchNumber":{"oneOf":[{"type":"null","description":"Branch number (informational).","uniqueKey":"BranchNumber.oneOf.0","typeLabel":"null"},{"type":"string","description":"Branch number (informational).","uniqueKey":"BranchNumber.oneOf.1","typeLabel":"string"}],"uniqueKey":"BranchNumber","typeLabel":"null | string"},"BranchTitle":{"oneOf":[{"type":"null","description":"Branch title (informational).","uniqueKey":"BranchTitle.oneOf.0","typeLabel":"null"},{"type":"string","description":"Branch title (informational).","uniqueKey":"BranchTitle.oneOf.1","typeLabel":"string"}],"uniqueKey":"BranchTitle","typeLabel":"null | string"},"BranchAddress":{"oneOf":[{"type":"null","description":"Branch address (informational).","uniqueKey":"BranchAddress.oneOf.0","typeLabel":"null"},{"type":"string","description":"Branch address (informational).","uniqueKey":"BranchAddress.oneOf.1","typeLabel":"string"}],"uniqueKey":"BranchAddress","typeLabel":"null | string"},"InvestmentIncentiveDocumentNumber":{"oneOf":[{"type":"null","description":"Investment incentive certificate number.","uniqueKey":"InvestmentIncentiveDocumentNumber.oneOf.0","typeLabel":"null"},{"type":"string","description":"Investment incentive certificate number.","uniqueKey":"InvestmentIncentiveDocumentNumber.oneOf.1","typeLabel":"string"}],"uniqueKey":"InvestmentIncentiveDocumentNumber","typeLabel":"null | string"},"InvestmentIncentiveDocumentDate":{"oneOf":[{"type":"null","description":"Investment incentive certificate date. Date only (yyyy-MM-dd), no time part.","format":"date","example":"2026-10-15","uniqueKey":"InvestmentIncentiveDocumentDate.oneOf.0","typeLabel":"null"},{"type":"string","description":"Investment incentive certificate date. Date only (yyyy-MM-dd), no time part.","format":"date","example":"2026-10-15","uniqueKey":"InvestmentIncentiveDocumentDate.oneOf.1","typeLabel":"string\u003cdate>"}],"uniqueKey":"InvestmentIncentiveDocumentDate","typeLabel":"null | string\u003cdate>"},"EnergyPeriodStart":{"oneOf":[{"type":"null","description":"Energy period start date/time, for energy sector invoices.","format":"date-time","uniqueKey":"EnergyPeriodStart.oneOf.0","typeLabel":"null"},{"type":"string","description":"Energy period start date/time, for energy sector invoices.","format":"date-time","uniqueKey":"EnergyPeriodStart.oneOf.1","typeLabel":"string\u003cdate-time>"}],"uniqueKey":"EnergyPeriodStart","typeLabel":"null | string\u003cdate-time>"},"EnergyPeriodEnd":{"oneOf":[{"type":"null","description":"Energy period end date/time, for energy sector invoices.","format":"date-time","uniqueKey":"EnergyPeriodEnd.oneOf.0","typeLabel":"null"},{"type":"string","description":"Energy period end date/time, for energy sector invoices.","format":"date-time","uniqueKey":"EnergyPeriodEnd.oneOf.1","typeLabel":"string\u003cdate-time>"}],"uniqueKey":"EnergyPeriodEnd","typeLabel":"null | string\u003cdate-time>"},"DeliveryInfo":{"oneOf":[{"type":"null","uniqueKey":"DeliveryInfo.oneOf.0","typeLabel":"null"},{"type":"object","description":"Export delivery information. Stored and returned as sent, not validated.","properties":{"DeliveryTerm":{"oneOf":[{"type":"null","description":"Delivery term code.","uniqueKey":"DeliveryInfo.oneOf.1.DeliveryTerm.oneOf.0","typeLabel":"null"},{"type":"string","description":"Delivery term code.","uniqueKey":"DeliveryInfo.oneOf.1.DeliveryTerm.oneOf.1","typeLabel":"string"}],"uniqueKey":"DeliveryInfo.oneOf.1.DeliveryTerm","typeLabel":"null | string"},"TransportModeCode":{"oneOf":[{"type":"null","description":"Transport mode code: 1 maritime, 2 rail, 3 road, 4 air.","format":"int32","uniqueKey":"DeliveryInfo.oneOf.1.TransportModeCode.oneOf.0","typeLabel":"null"},{"type":"integer","description":"Transport mode code: 1 maritime, 2 rail, 3 road, 4 air.","format":"int32","uniqueKey":"DeliveryInfo.oneOf.1.TransportModeCode.oneOf.1","typeLabel":"integer\u003cint32>"}],"uniqueKey":"DeliveryInfo.oneOf.1.TransportModeCode","typeLabel":"null | integer\u003cint32>"},"Country":{"oneOf":[{"type":"null","description":"Delivery country.","uniqueKey":"DeliveryInfo.oneOf.1.Country.oneOf.0","typeLabel":"null"},{"type":"string","description":"Delivery country.","uniqueKey":"DeliveryInfo.oneOf.1.Country.oneOf.1","typeLabel":"string"}],"uniqueKey":"DeliveryInfo.oneOf.1.Country","typeLabel":"null | string"},"CityName":{"oneOf":[{"type":"null","description":"Delivery city.","uniqueKey":"DeliveryInfo.oneOf.1.CityName.oneOf.0","typeLabel":"null"},{"type":"string","description":"Delivery city.","uniqueKey":"DeliveryInfo.oneOf.1.CityName.oneOf.1","typeLabel":"string"}],"uniqueKey":"DeliveryInfo.oneOf.1.CityName","typeLabel":"null | string"},"CitySubdivisionName":{"oneOf":[{"type":"null","description":"Delivery city subdivision (district).","uniqueKey":"DeliveryInfo.oneOf.1.CitySubdivisionName.oneOf.0","typeLabel":"null"},{"type":"string","description":"Delivery city subdivision (district).","uniqueKey":"DeliveryInfo.oneOf.1.CitySubdivisionName.oneOf.1","typeLabel":"string"}],"uniqueKey":"DeliveryInfo.oneOf.1.CitySubdivisionName","typeLabel":"null | string"},"StreetName":{"oneOf":[{"type":"null","description":"Delivery street name.","uniqueKey":"DeliveryInfo.oneOf.1.StreetName.oneOf.0","typeLabel":"null"},{"type":"string","description":"Delivery street name.","uniqueKey":"DeliveryInfo.oneOf.1.StreetName.oneOf.1","typeLabel":"string"}],"uniqueKey":"DeliveryInfo.oneOf.1.StreetName","typeLabel":"null | string"},"BuildingName":{"oneOf":[{"type":"null","description":"Delivery building name.","uniqueKey":"DeliveryInfo.oneOf.1.BuildingName.oneOf.0","typeLabel":"null"},{"type":"string","description":"Delivery building name.","uniqueKey":"DeliveryInfo.oneOf.1.BuildingName.oneOf.1","typeLabel":"string"}],"uniqueKey":"DeliveryInfo.oneOf.1.BuildingName","typeLabel":"null | string"},"BuildingNumber":{"oneOf":[{"type":"null","description":"Delivery building number.","uniqueKey":"DeliveryInfo.oneOf.1.BuildingNumber.oneOf.0","typeLabel":"null"},{"type":"string","description":"Delivery building number.","uniqueKey":"DeliveryInfo.oneOf.1.BuildingNumber.oneOf.1","typeLabel":"string"}],"uniqueKey":"DeliveryInfo.oneOf.1.BuildingNumber","typeLabel":"null | string"},"PostalZone":{"oneOf":[{"type":"null","description":"Delivery postal code.","uniqueKey":"DeliveryInfo.oneOf.1.PostalZone.oneOf.0","typeLabel":"null"},{"type":"string","description":"Delivery postal code.","uniqueKey":"DeliveryInfo.oneOf.1.PostalZone.oneOf.1","typeLabel":"string"}],"uniqueKey":"DeliveryInfo.oneOf.1.PostalZone","typeLabel":"null | string"},"TransportMeans":{"oneOf":[{"type":"null","description":"Transport means identifier (vessel name, train number, license plate or aircraft number, depending on TransportModeCode).","uniqueKey":"DeliveryInfo.oneOf.1.TransportMeans.oneOf.0","typeLabel":"null"},{"type":"string","description":"Transport means identifier (vessel name, train number, license plate or aircraft number, depending on TransportModeCode).","uniqueKey":"DeliveryInfo.oneOf.1.TransportMeans.oneOf.1","typeLabel":"string"}],"uniqueKey":"DeliveryInfo.oneOf.1.TransportMeans","typeLabel":"null | string"},"DeclaredForCarriageValueAmount":{"oneOf":[{"type":"null","description":"Declared value for carriage.","format":"double","uniqueKey":"DeliveryInfo.oneOf.1.DeclaredForCarriageValueAmount.oneOf.0","typeLabel":"null"},{"type":"number","description":"Declared value for carriage.","format":"double","uniqueKey":"DeliveryInfo.oneOf.1.DeclaredForCarriageValueAmount.oneOf.1","typeLabel":"number\u003cdouble>"}],"uniqueKey":"DeliveryInfo.oneOf.1.DeclaredForCarriageValueAmount","typeLabel":"null | number\u003cdouble>"},"DeliveryInsuranceValue":{"oneOf":[{"type":"null","description":"Delivery insurance value.","format":"double","uniqueKey":"DeliveryInfo.oneOf.1.DeliveryInsuranceValue.oneOf.0","typeLabel":"null"},{"type":"number","description":"Delivery insurance value.","format":"double","uniqueKey":"DeliveryInfo.oneOf.1.DeliveryInsuranceValue.oneOf.1","typeLabel":"number\u003cdouble>"}],"uniqueKey":"DeliveryInfo.oneOf.1.DeliveryInsuranceValue","typeLabel":"null | number\u003cdouble>"}},"uniqueKey":"DeliveryInfo.oneOf.1","typeLabel":"object"}],"uniqueKey":"DeliveryInfo","typeLabel":"null | object"},"PaymentMeans":{"type":"array","items":{"type":"object","properties":{"PaymentMeansCode":{"oneOf":[{"type":"null","description":"Payment means code (UN/EDIFACT 4461, e.g. \"1\" cash, \"42\" wire transfer).","uniqueKey":"PaymentMeans.items.[INDEX].PaymentMeansCode.oneOf.0","typeLabel":"null"},{"type":"string","description":"Payment means code (UN/EDIFACT 4461, e.g. \"1\" cash, \"42\" wire transfer).","uniqueKey":"PaymentMeans.items.[INDEX].PaymentMeansCode.oneOf.1","typeLabel":"string"}],"uniqueKey":"PaymentMeans.items.[INDEX].PaymentMeansCode","typeLabel":"null | string"},"PayeeFinancialAccountID":{"oneOf":[{"type":"null","description":"IBAN or account number.","uniqueKey":"PaymentMeans.items.[INDEX].PayeeFinancialAccountID.oneOf.0","typeLabel":"null"},{"type":"string","description":"IBAN or account number.","uniqueKey":"PaymentMeans.items.[INDEX].PayeeFinancialAccountID.oneOf.1","typeLabel":"string"}],"uniqueKey":"PaymentMeans.items.[INDEX].PayeeFinancialAccountID","typeLabel":"null | string"},"CurrencyCode":{"oneOf":[{"type":"null","description":"Currency code of the account.","uniqueKey":"PaymentMeans.items.[INDEX].CurrencyCode.oneOf.0","typeLabel":"null"},{"type":"string","description":"Currency code of the account.","uniqueKey":"PaymentMeans.items.[INDEX].CurrencyCode.oneOf.1","typeLabel":"string"}],"uniqueKey":"PaymentMeans.items.[INDEX].CurrencyCode","typeLabel":"null | string"}},"uniqueKey":"PaymentMeans.items.[INDEX]","typeLabel":"object"},"description":"Payment methods. Stored and returned as sent, not validated.","uniqueKey":"PaymentMeans","typeLabel":"object[]"},"ReferencedDespatches":{"type":"array","items":{"type":"object","properties":{"ID":{"oneOf":[{"type":"null","description":"Despatch number.","uniqueKey":"ReferencedDespatches.items.[INDEX].ID.oneOf.0","typeLabel":"null"},{"type":"string","description":"Despatch number.","uniqueKey":"ReferencedDespatches.items.[INDEX].ID.oneOf.1","typeLabel":"string"}],"uniqueKey":"ReferencedDespatches.items.[INDEX].ID","typeLabel":"null | string"},"IssueDate":{"oneOf":[{"type":"null","description":"Despatch issue date.","format":"date-time","uniqueKey":"ReferencedDespatches.items.[INDEX].IssueDate.oneOf.0","typeLabel":"null"},{"type":"string","description":"Despatch issue date.","format":"date-time","uniqueKey":"ReferencedDespatches.items.[INDEX].IssueDate.oneOf.1","typeLabel":"string\u003cdate-time>"}],"uniqueKey":"ReferencedDespatches.items.[INDEX].IssueDate","typeLabel":"null | string\u003cdate-time>"}},"uniqueKey":"ReferencedDespatches.items.[INDEX]","typeLabel":"object"},"description":"Referenced despatches. Stored and returned as sent, not validated.","uniqueKey":"ReferencedDespatches","typeLabel":"object[]"},"CustomerIdentitySchemes":{"type":"array","items":{"type":"object","properties":{"SchemeID":{"oneOf":[{"type":"null","description":"Scheme ID (e.g. \"MUSTERINO\", \"BAYINO\", \"TICARETSICILNO\", \"MERSISNO\", \"HIZMETNO\", \"TESISATNO\").","uniqueKey":"CustomerIdentitySchemes.items.[INDEX].SchemeID.oneOf.0","typeLabel":"null"},{"type":"string","description":"Scheme ID (e.g. \"MUSTERINO\", \"BAYINO\", \"TICARETSICILNO\", \"MERSISNO\", \"HIZMETNO\", \"TESISATNO\").","uniqueKey":"CustomerIdentitySchemes.items.[INDEX].SchemeID.oneOf.1","typeLabel":"string"}],"uniqueKey":"CustomerIdentitySchemes.items.[INDEX].SchemeID","typeLabel":"null | string"},"Value":{"oneOf":[{"type":"null","description":"Value for this scheme.","uniqueKey":"CustomerIdentitySchemes.items.[INDEX].Value.oneOf.0","typeLabel":"null"},{"type":"string","description":"Value for this scheme.","uniqueKey":"CustomerIdentitySchemes.items.[INDEX].Value.oneOf.1","typeLabel":"string"}],"uniqueKey":"CustomerIdentitySchemes.items.[INDEX].Value","typeLabel":"null | string"}},"uniqueKey":"CustomerIdentitySchemes.items.[INDEX]","typeLabel":"object"},"description":"Customer identity schemes. Stored and returned as sent, not validated.","uniqueKey":"CustomerIdentitySchemes","typeLabel":"object[]"},"PublicSectorSpendingUnit":{"oneOf":[{"type":"null","uniqueKey":"PublicSectorSpendingUnit.oneOf.0","typeLabel":"null"},{"type":"object","description":"Public sector (Kamu) payer spending unit. Stored and returned as sent, not validated.","properties":{"BCP_Name":{"oneOf":[{"type":"null","description":"Spending unit name.","uniqueKey":"PublicSectorSpendingUnit.oneOf.1.BCP_Name.oneOf.0","typeLabel":"null"},{"type":"string","description":"Spending unit name.","uniqueKey":"PublicSectorSpendingUnit.oneOf.1.BCP_Name.oneOf.1","typeLabel":"string"}],"uniqueKey":"PublicSectorSpendingUnit.oneOf.1.BCP_Name","typeLabel":"null | string"},"BCP_VKN":{"oneOf":[{"type":"null","description":"Spending unit tax number.","uniqueKey":"PublicSectorSpendingUnit.oneOf.1.BCP_VKN.oneOf.0","typeLabel":"null"},{"type":"string","description":"Spending unit tax number.","uniqueKey":"PublicSectorSpendingUnit.oneOf.1.BCP_VKN.oneOf.1","typeLabel":"string"}],"uniqueKey":"PublicSectorSpendingUnit.oneOf.1.BCP_VKN","typeLabel":"null | string"},"BCP_Country":{"oneOf":[{"type":"null","description":"Spending unit country.","uniqueKey":"PublicSectorSpendingUnit.oneOf.1.BCP_Country.oneOf.0","typeLabel":"null"},{"type":"string","description":"Spending unit country.","uniqueKey":"PublicSectorSpendingUnit.oneOf.1.BCP_Country.oneOf.1","typeLabel":"string"}],"uniqueKey":"PublicSectorSpendingUnit.oneOf.1.BCP_Country","typeLabel":"null | string"},"BCP_CityName":{"oneOf":[{"type":"null","description":"Spending unit city.","uniqueKey":"PublicSectorSpendingUnit.oneOf.1.BCP_CityName.oneOf.0","typeLabel":"null"},{"type":"string","description":"Spending unit city.","uniqueKey":"PublicSectorSpendingUnit.oneOf.1.BCP_CityName.oneOf.1","typeLabel":"string"}],"uniqueKey":"PublicSectorSpendingUnit.oneOf.1.BCP_CityName","typeLabel":"null | string"},"BCP_CitySubdivisionName":{"oneOf":[{"type":"null","description":"Spending unit city subdivision (district).","uniqueKey":"PublicSectorSpendingUnit.oneOf.1.BCP_CitySubdivisionName.oneOf.0","typeLabel":"null"},{"type":"string","description":"Spending unit city subdivision (district).","uniqueKey":"PublicSectorSpendingUnit.oneOf.1.BCP_CitySubdivisionName.oneOf.1","typeLabel":"string"}],"uniqueKey":"PublicSectorSpendingUnit.oneOf.1.BCP_CitySubdivisionName","typeLabel":"null | string"}},"uniqueKey":"PublicSectorSpendingUnit.oneOf.1","typeLabel":"object"}],"uniqueKey":"PublicSectorSpendingUnit","typeLabel":"null | object"},"SgkInfo":{"oneOf":[{"type":"null","uniqueKey":"SgkInfo.oneOf.0","typeLabel":"null"},{"type":"object","description":"SGK (social security) invoice information. Stored and returned as sent, not validated.","properties":{"StartDate":{"oneOf":[{"type":"null","description":"Period start date.","format":"date-time","uniqueKey":"SgkInfo.oneOf.1.StartDate.oneOf.0","typeLabel":"null"},{"type":"string","description":"Period start date.","format":"date-time","uniqueKey":"SgkInfo.oneOf.1.StartDate.oneOf.1","typeLabel":"string\u003cdate-time>"}],"uniqueKey":"SgkInfo.oneOf.1.StartDate","typeLabel":"null | string\u003cdate-time>"},"EndDate":{"oneOf":[{"type":"null","description":"Period end date.","format":"date-time","uniqueKey":"SgkInfo.oneOf.1.EndDate.oneOf.0","typeLabel":"null"},{"type":"string","description":"Period end date.","format":"date-time","uniqueKey":"SgkInfo.oneOf.1.EndDate.oneOf.1","typeLabel":"string\u003cdate-time>"}],"uniqueKey":"SgkInfo.oneOf.1.EndDate","typeLabel":"null | string\u003cdate-time>"},"MukellefKodu":{"oneOf":[{"type":"null","description":"Taxpayer code.","uniqueKey":"SgkInfo.oneOf.1.MukellefKodu.oneOf.0","typeLabel":"null"},{"type":"string","description":"Taxpayer code.","uniqueKey":"SgkInfo.oneOf.1.MukellefKodu.oneOf.1","typeLabel":"string"}],"uniqueKey":"SgkInfo.oneOf.1.MukellefKodu","typeLabel":"null | string"},"MukellefAdi":{"oneOf":[{"type":"null","description":"Taxpayer name.","uniqueKey":"SgkInfo.oneOf.1.MukellefAdi.oneOf.0","typeLabel":"null"},{"type":"string","description":"Taxpayer name.","uniqueKey":"SgkInfo.oneOf.1.MukellefAdi.oneOf.1","typeLabel":"string"}],"uniqueKey":"SgkInfo.oneOf.1.MukellefAdi","typeLabel":"null | string"},"DosyaNo":{"oneOf":[{"type":"null","description":"File number.","uniqueKey":"SgkInfo.oneOf.1.DosyaNo.oneOf.0","typeLabel":"null"},{"type":"string","description":"File number.","uniqueKey":"SgkInfo.oneOf.1.DosyaNo.oneOf.1","typeLabel":"string"}],"uniqueKey":"SgkInfo.oneOf.1.DosyaNo","typeLabel":"null | string"},"FaturaAltTipi":{"oneOf":[{"type":"null","description":"Invoice sub-type.","uniqueKey":"SgkInfo.oneOf.1.FaturaAltTipi.oneOf.0","typeLabel":"null"},{"type":"string","description":"Invoice sub-type.","uniqueKey":"SgkInfo.oneOf.1.FaturaAltTipi.oneOf.1","typeLabel":"string"}],"uniqueKey":"SgkInfo.oneOf.1.FaturaAltTipi","typeLabel":"null | string"}},"uniqueKey":"SgkInfo.oneOf.1","typeLabel":"object"}],"uniqueKey":"SgkInfo","typeLabel":"null | object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"Description":"\u003cstring>","DocumentNumber":"\u003cstring>","ShipmentDefinitionCode":"\u003cstring>","SharingCode":"\u003cstring>","PrintDescription":true,"Consolidated":true,"ReturnedInvoiceNumber":"\u003cstring>","ReturnedInvoiceDate":"2026-10-15","OrderReferenceNumber":"\u003cstring>","OrderReferenceDate":"2026-10-15","BranchNumber":"\u003cstring>","BranchTitle":"\u003cstring>","BranchAddress":"\u003cstring>","InvestmentIncentiveDocumentNumber":"\u003cstring>","InvestmentIncentiveDocumentDate":"2026-10-15","EnergyPeriodStart":"2023-11-07T05:31:56Z","EnergyPeriodEnd":"2023-11-07T05:31:56Z","DeliveryInfo":{"DeliveryTerm":"\u003cstring>","TransportModeCode":123,"Country":"\u003cstring>","CityName":"\u003cstring>","CitySubdivisionName":"\u003cstring>","StreetName":"\u003cstring>","BuildingName":"\u003cstring>","BuildingNumber":"\u003cstring>","PostalZone":"\u003cstring>","TransportMeans":"\u003cstring>","DeclaredForCarriageValueAmount":123,"DeliveryInsuranceValue":123},"PaymentMeans":[{"PaymentMeansCode":"\u003cstring>","PayeeFinancialAccountID":"\u003cstring>","CurrencyCode":"\u003cstring>"}],"ReferencedDespatches":[{"ID":"\u003cstring>","IssueDate":"2023-11-07T05:31:56Z"}],"CustomerIdentitySchemes":[{"SchemeID":"\u003cstring>","Value":"\u003cstring>"}],"PublicSectorSpendingUnit":{"BCP_Name":"\u003cstring>","BCP_VKN":"\u003cstring>","BCP_Country":"\u003cstring>","BCP_CityName":"\u003cstring>","BCP_CitySubdivisionName":"\u003cstring>"},"SgkInfo":{"StartDate":"2023-11-07T05:31:56Z","EndDate":"2023-11-07T05:31:56Z","MukellefKodu":"\u003cstring>","MukellefAdi":"\u003cstring>","DosyaNo":"\u003cstring>","FaturaAltTipi":"\u003cstring>"}}}},"exampleType":"generated"},"application/*+json":{"schema":{"type":"object","properties":{"Description":{"oneOf":[{"type":"null","description":"Description. At most 1000 characters.","uniqueKey":"Description.oneOf.0","typeLabel":"null"},{"type":"string","description":"Description. At most 1000 characters.","uniqueKey":"Description.oneOf.1","typeLabel":"string"}],"uniqueKey":"Description","typeLabel":"null | string"},"DocumentNumber":{"oneOf":[{"type":"null","description":"Document number (free text). At most 100 characters.","uniqueKey":"DocumentNumber.oneOf.0","typeLabel":"null"},{"type":"string","description":"Document number (free text). At most 100 characters.","uniqueKey":"DocumentNumber.oneOf.1","typeLabel":"string"}],"uniqueKey":"DocumentNumber","typeLabel":"null | string"},"ShipmentDefinitionCode":{"oneOf":[{"type":"null","description":"Shipment definition code from GET /api/v1/definitions/shipment-definitions.","uniqueKey":"ShipmentDefinitionCode.oneOf.0","typeLabel":"null"},{"type":"string","description":"Shipment definition code from GET /api/v1/definitions/shipment-definitions.","uniqueKey":"ShipmentDefinitionCode.oneOf.1","typeLabel":"string"}],"uniqueKey":"ShipmentDefinitionCode","typeLabel":"null | string"},"SharingCode":{"oneOf":[{"type":"null","description":"Sharing code that limits who can see the invoice. Empty means visible to everyone; otherwise it must be one of the user's sharing codes.","uniqueKey":"SharingCode.oneOf.0","typeLabel":"null"},{"type":"string","description":"Sharing code that limits who can see the invoice. Empty means visible to everyone; otherwise it must be one of the user's sharing codes.","uniqueKey":"SharingCode.oneOf.1","typeLabel":"string"}],"uniqueKey":"SharingCode","typeLabel":"null | string"},"PrintDescription":{"type":"boolean","description":"Whether the description should be printed on the invoice document.","uniqueKey":"PrintDescription","typeLabel":"boolean"},"Consolidated":{"type":"boolean","description":"Whether the invoice consolidates several despatches/orders. Free-form flag, not validated by the API.","uniqueKey":"Consolidated","typeLabel":"boolean"},"ReturnedInvoiceNumber":{"oneOf":[{"type":"null","description":"Number of the invoice this one returns goods against (Alış/Satış İade). Free text, not validated against an existing invoice.","uniqueKey":"ReturnedInvoiceNumber.oneOf.0","typeLabel":"null"},{"type":"string","description":"Number of the invoice this one returns goods against (Alış/Satış İade). Free text, not validated against an existing invoice.","uniqueKey":"ReturnedInvoiceNumber.oneOf.1","typeLabel":"string"}],"uniqueKey":"ReturnedInvoiceNumber","typeLabel":"null | string"},"ReturnedInvoiceDate":{"oneOf":[{"type":"null","description":"Date of the invoice this one returns goods against. Date only (yyyy-MM-dd), no time part.","format":"date","example":"2026-10-15","uniqueKey":"ReturnedInvoiceDate.oneOf.0","typeLabel":"null"},{"type":"string","description":"Date of the invoice this one returns goods against. Date only (yyyy-MM-dd), no time part.","format":"date","example":"2026-10-15","uniqueKey":"ReturnedInvoiceDate.oneOf.1","typeLabel":"string\u003cdate>"}],"uniqueKey":"ReturnedInvoiceDate","typeLabel":"null | string\u003cdate>"},"OrderReferenceNumber":{"oneOf":[{"type":"null","description":"Reference order number (free text, informational only).","uniqueKey":"OrderReferenceNumber.oneOf.0","typeLabel":"null"},{"type":"string","description":"Reference order number (free text, informational only).","uniqueKey":"OrderReferenceNumber.oneOf.1","typeLabel":"string"}],"uniqueKey":"OrderReferenceNumber","typeLabel":"null | string"},"OrderReferenceDate":{"oneOf":[{"type":"null","description":"Date of the reference order. Date only (yyyy-MM-dd), no time part.","format":"date","example":"2026-10-15","uniqueKey":"OrderReferenceDate.oneOf.0","typeLabel":"null"},{"type":"string","description":"Date of the reference order. Date only (yyyy-MM-dd), no time part.","format":"date","example":"2026-10-15","uniqueKey":"OrderReferenceDate.oneOf.1","typeLabel":"string\u003cdate>"}],"uniqueKey":"OrderReferenceDate","typeLabel":"null | string\u003cdate>"},"BranchNumber":{"oneOf":[{"type":"null","description":"Branch number (informational).","uniqueKey":"BranchNumber.oneOf.0","typeLabel":"null"},{"type":"string","description":"Branch number (informational).","uniqueKey":"BranchNumber.oneOf.1","typeLabel":"string"}],"uniqueKey":"BranchNumber","typeLabel":"null | string"},"BranchTitle":{"oneOf":[{"type":"null","description":"Branch title (informational).","uniqueKey":"BranchTitle.oneOf.0","typeLabel":"null"},{"type":"string","description":"Branch title (informational).","uniqueKey":"BranchTitle.oneOf.1","typeLabel":"string"}],"uniqueKey":"BranchTitle","typeLabel":"null | string"},"BranchAddress":{"oneOf":[{"type":"null","description":"Branch address (informational).","uniqueKey":"BranchAddress.oneOf.0","typeLabel":"null"},{"type":"string","description":"Branch address (informational).","uniqueKey":"BranchAddress.oneOf.1","typeLabel":"string"}],"uniqueKey":"BranchAddress","typeLabel":"null | string"},"InvestmentIncentiveDocumentNumber":{"oneOf":[{"type":"null","description":"Investment incentive certificate number.","uniqueKey":"InvestmentIncentiveDocumentNumber.oneOf.0","typeLabel":"null"},{"type":"string","description":"Investment incentive certificate number.","uniqueKey":"InvestmentIncentiveDocumentNumber.oneOf.1","typeLabel":"string"}],"uniqueKey":"InvestmentIncentiveDocumentNumber","typeLabel":"null | string"},"InvestmentIncentiveDocumentDate":{"oneOf":[{"type":"null","description":"Investment incentive certificate date. Date only (yyyy-MM-dd), no time part.","format":"date","example":"2026-10-15","uniqueKey":"InvestmentIncentiveDocumentDate.oneOf.0","typeLabel":"null"},{"type":"string","description":"Investment incentive certificate date. Date only (yyyy-MM-dd), no time part.","format":"date","example":"2026-10-15","uniqueKey":"InvestmentIncentiveDocumentDate.oneOf.1","typeLabel":"string\u003cdate>"}],"uniqueKey":"InvestmentIncentiveDocumentDate","typeLabel":"null | string\u003cdate>"},"EnergyPeriodStart":{"oneOf":[{"type":"null","description":"Energy period start date/time, for energy sector invoices.","format":"date-time","uniqueKey":"EnergyPeriodStart.oneOf.0","typeLabel":"null"},{"type":"string","description":"Energy period start date/time, for energy sector invoices.","format":"date-time","uniqueKey":"EnergyPeriodStart.oneOf.1","typeLabel":"string\u003cdate-time>"}],"uniqueKey":"EnergyPeriodStart","typeLabel":"null | string\u003cdate-time>"},"EnergyPeriodEnd":{"oneOf":[{"type":"null","description":"Energy period end date/time, for energy sector invoices.","format":"date-time","uniqueKey":"EnergyPeriodEnd.oneOf.0","typeLabel":"null"},{"type":"string","description":"Energy period end date/time, for energy sector invoices.","format":"date-time","uniqueKey":"EnergyPeriodEnd.oneOf.1","typeLabel":"string\u003cdate-time>"}],"uniqueKey":"EnergyPeriodEnd","typeLabel":"null | string\u003cdate-time>"},"DeliveryInfo":{"oneOf":[{"type":"null","uniqueKey":"DeliveryInfo.oneOf.0","typeLabel":"null"},{"type":"object","description":"Export delivery information. Stored and returned as sent, not validated.","properties":{"DeliveryTerm":{"oneOf":[{"type":"null","description":"Delivery term code.","uniqueKey":"DeliveryInfo.oneOf.1.DeliveryTerm.oneOf.0","typeLabel":"null"},{"type":"string","description":"Delivery term code.","uniqueKey":"DeliveryInfo.oneOf.1.DeliveryTerm.oneOf.1","typeLabel":"string"}],"uniqueKey":"DeliveryInfo.oneOf.1.DeliveryTerm","typeLabel":"null | string"},"TransportModeCode":{"oneOf":[{"type":"null","description":"Transport mode code: 1 maritime, 2 rail, 3 road, 4 air.","format":"int32","uniqueKey":"DeliveryInfo.oneOf.1.TransportModeCode.oneOf.0","typeLabel":"null"},{"type":"integer","description":"Transport mode code: 1 maritime, 2 rail, 3 road, 4 air.","format":"int32","uniqueKey":"DeliveryInfo.oneOf.1.TransportModeCode.oneOf.1","typeLabel":"integer\u003cint32>"}],"uniqueKey":"DeliveryInfo.oneOf.1.TransportModeCode","typeLabel":"null | integer\u003cint32>"},"Country":{"oneOf":[{"type":"null","description":"Delivery country.","uniqueKey":"DeliveryInfo.oneOf.1.Country.oneOf.0","typeLabel":"null"},{"type":"string","description":"Delivery country.","uniqueKey":"DeliveryInfo.oneOf.1.Country.oneOf.1","typeLabel":"string"}],"uniqueKey":"DeliveryInfo.oneOf.1.Country","typeLabel":"null | string"},"CityName":{"oneOf":[{"type":"null","description":"Delivery city.","uniqueKey":"DeliveryInfo.oneOf.1.CityName.oneOf.0","typeLabel":"null"},{"type":"string","description":"Delivery city.","uniqueKey":"DeliveryInfo.oneOf.1.CityName.oneOf.1","typeLabel":"string"}],"uniqueKey":"DeliveryInfo.oneOf.1.CityName","typeLabel":"null | string"},"CitySubdivisionName":{"oneOf":[{"type":"null","description":"Delivery city subdivision (district).","uniqueKey":"DeliveryInfo.oneOf.1.CitySubdivisionName.oneOf.0","typeLabel":"null"},{"type":"string","description":"Delivery city subdivision (district).","uniqueKey":"DeliveryInfo.oneOf.1.CitySubdivisionName.oneOf.1","typeLabel":"string"}],"uniqueKey":"DeliveryInfo.oneOf.1.CitySubdivisionName","typeLabel":"null | string"},"StreetName":{"oneOf":[{"type":"null","description":"Delivery street name.","uniqueKey":"DeliveryInfo.oneOf.1.StreetName.oneOf.0","typeLabel":"null"},{"type":"string","description":"Delivery street name.","uniqueKey":"DeliveryInfo.oneOf.1.StreetName.oneOf.1","typeLabel":"string"}],"uniqueKey":"DeliveryInfo.oneOf.1.StreetName","typeLabel":"null | string"},"BuildingName":{"oneOf":[{"type":"null","description":"Delivery building name.","uniqueKey":"DeliveryInfo.oneOf.1.BuildingName.oneOf.0","typeLabel":"null"},{"type":"string","description":"Delivery building name.","uniqueKey":"DeliveryInfo.oneOf.1.BuildingName.oneOf.1","typeLabel":"string"}],"uniqueKey":"DeliveryInfo.oneOf.1.BuildingName","typeLabel":"null | string"},"BuildingNumber":{"oneOf":[{"type":"null","description":"Delivery building number.","uniqueKey":"DeliveryInfo.oneOf.1.BuildingNumber.oneOf.0","typeLabel":"null"},{"type":"string","description":"Delivery building number.","uniqueKey":"DeliveryInfo.oneOf.1.BuildingNumber.oneOf.1","typeLabel":"string"}],"uniqueKey":"DeliveryInfo.oneOf.1.BuildingNumber","typeLabel":"null | string"},"PostalZone":{"oneOf":[{"type":"null","description":"Delivery postal code.","uniqueKey":"DeliveryInfo.oneOf.1.PostalZone.oneOf.0","typeLabel":"null"},{"type":"string","description":"Delivery postal code.","uniqueKey":"DeliveryInfo.oneOf.1.PostalZone.oneOf.1","typeLabel":"string"}],"uniqueKey":"DeliveryInfo.oneOf.1.PostalZone","typeLabel":"null | string"},"TransportMeans":{"oneOf":[{"type":"null","description":"Transport means identifier (vessel name, train number, license plate or aircraft number, depending on TransportModeCode).","uniqueKey":"DeliveryInfo.oneOf.1.TransportMeans.oneOf.0","typeLabel":"null"},{"type":"string","description":"Transport means identifier (vessel name, train number, license plate or aircraft number, depending on TransportModeCode).","uniqueKey":"DeliveryInfo.oneOf.1.TransportMeans.oneOf.1","typeLabel":"string"}],"uniqueKey":"DeliveryInfo.oneOf.1.TransportMeans","typeLabel":"null | string"},"DeclaredForCarriageValueAmount":{"oneOf":[{"type":"null","description":"Declared value for carriage.","format":"double","uniqueKey":"DeliveryInfo.oneOf.1.DeclaredForCarriageValueAmount.oneOf.0","typeLabel":"null"},{"type":"number","description":"Declared value for carriage.","format":"double","uniqueKey":"DeliveryInfo.oneOf.1.DeclaredForCarriageValueAmount.oneOf.1","typeLabel":"number\u003cdouble>"}],"uniqueKey":"DeliveryInfo.oneOf.1.DeclaredForCarriageValueAmount","typeLabel":"null | number\u003cdouble>"},"DeliveryInsuranceValue":{"oneOf":[{"type":"null","description":"Delivery insurance value.","format":"double","uniqueKey":"DeliveryInfo.oneOf.1.DeliveryInsuranceValue.oneOf.0","typeLabel":"null"},{"type":"number","description":"Delivery insurance value.","format":"double","uniqueKey":"DeliveryInfo.oneOf.1.DeliveryInsuranceValue.oneOf.1","typeLabel":"number\u003cdouble>"}],"uniqueKey":"DeliveryInfo.oneOf.1.DeliveryInsuranceValue","typeLabel":"null | number\u003cdouble>"}},"uniqueKey":"DeliveryInfo.oneOf.1","typeLabel":"object"}],"uniqueKey":"DeliveryInfo","typeLabel":"null | object"},"PaymentMeans":{"type":"array","items":{"type":"object","properties":{"PaymentMeansCode":{"oneOf":[{"type":"null","description":"Payment means code (UN/EDIFACT 4461, e.g. \"1\" cash, \"42\" wire transfer).","uniqueKey":"PaymentMeans.items.[INDEX].PaymentMeansCode.oneOf.0","typeLabel":"null"},{"type":"string","description":"Payment means code (UN/EDIFACT 4461, e.g. \"1\" cash, \"42\" wire transfer).","uniqueKey":"PaymentMeans.items.[INDEX].PaymentMeansCode.oneOf.1","typeLabel":"string"}],"uniqueKey":"PaymentMeans.items.[INDEX].PaymentMeansCode","typeLabel":"null | string"},"PayeeFinancialAccountID":{"oneOf":[{"type":"null","description":"IBAN or account number.","uniqueKey":"PaymentMeans.items.[INDEX].PayeeFinancialAccountID.oneOf.0","typeLabel":"null"},{"type":"string","description":"IBAN or account number.","uniqueKey":"PaymentMeans.items.[INDEX].PayeeFinancialAccountID.oneOf.1","typeLabel":"string"}],"uniqueKey":"PaymentMeans.items.[INDEX].PayeeFinancialAccountID","typeLabel":"null | string"},"CurrencyCode":{"oneOf":[{"type":"null","description":"Currency code of the account.","uniqueKey":"PaymentMeans.items.[INDEX].CurrencyCode.oneOf.0","typeLabel":"null"},{"type":"string","description":"Currency code of the account.","uniqueKey":"PaymentMeans.items.[INDEX].CurrencyCode.oneOf.1","typeLabel":"string"}],"uniqueKey":"PaymentMeans.items.[INDEX].CurrencyCode","typeLabel":"null | string"}},"uniqueKey":"PaymentMeans.items.[INDEX]","typeLabel":"object"},"description":"Payment methods. Stored and returned as sent, not validated.","uniqueKey":"PaymentMeans","typeLabel":"object[]"},"ReferencedDespatches":{"type":"array","items":{"type":"object","properties":{"ID":{"oneOf":[{"type":"null","description":"Despatch number.","uniqueKey":"ReferencedDespatches.items.[INDEX].ID.oneOf.0","typeLabel":"null"},{"type":"string","description":"Despatch number.","uniqueKey":"ReferencedDespatches.items.[INDEX].ID.oneOf.1","typeLabel":"string"}],"uniqueKey":"ReferencedDespatches.items.[INDEX].ID","typeLabel":"null | string"},"IssueDate":{"oneOf":[{"type":"null","description":"Despatch issue date.","format":"date-time","uniqueKey":"ReferencedDespatches.items.[INDEX].IssueDate.oneOf.0","typeLabel":"null"},{"type":"string","description":"Despatch issue date.","format":"date-time","uniqueKey":"ReferencedDespatches.items.[INDEX].IssueDate.oneOf.1","typeLabel":"string\u003cdate-time>"}],"uniqueKey":"ReferencedDespatches.items.[INDEX].IssueDate","typeLabel":"null | string\u003cdate-time>"}},"uniqueKey":"ReferencedDespatches.items.[INDEX]","typeLabel":"object"},"description":"Referenced despatches. Stored and returned as sent, not validated.","uniqueKey":"ReferencedDespatches","typeLabel":"object[]"},"CustomerIdentitySchemes":{"type":"array","items":{"type":"object","properties":{"SchemeID":{"oneOf":[{"type":"null","description":"Scheme ID (e.g. \"MUSTERINO\", \"BAYINO\", \"TICARETSICILNO\", \"MERSISNO\", \"HIZMETNO\", \"TESISATNO\").","uniqueKey":"CustomerIdentitySchemes.items.[INDEX].SchemeID.oneOf.0","typeLabel":"null"},{"type":"string","description":"Scheme ID (e.g. \"MUSTERINO\", \"BAYINO\", \"TICARETSICILNO\", \"MERSISNO\", \"HIZMETNO\", \"TESISATNO\").","uniqueKey":"CustomerIdentitySchemes.items.[INDEX].SchemeID.oneOf.1","typeLabel":"string"}],"uniqueKey":"CustomerIdentitySchemes.items.[INDEX].SchemeID","typeLabel":"null | string"},"Value":{"oneOf":[{"type":"null","description":"Value for this scheme.","uniqueKey":"CustomerIdentitySchemes.items.[INDEX].Value.oneOf.0","typeLabel":"null"},{"type":"string","description":"Value for this scheme.","uniqueKey":"CustomerIdentitySchemes.items.[INDEX].Value.oneOf.1","typeLabel":"string"}],"uniqueKey":"CustomerIdentitySchemes.items.[INDEX].Value","typeLabel":"null | string"}},"uniqueKey":"CustomerIdentitySchemes.items.[INDEX]","typeLabel":"object"},"description":"Customer identity schemes. Stored and returned as sent, not validated.","uniqueKey":"CustomerIdentitySchemes","typeLabel":"object[]"},"PublicSectorSpendingUnit":{"oneOf":[{"type":"null","uniqueKey":"PublicSectorSpendingUnit.oneOf.0","typeLabel":"null"},{"type":"object","description":"Public sector (Kamu) payer spending unit. Stored and returned as sent, not validated.","properties":{"BCP_Name":{"oneOf":[{"type":"null","description":"Spending unit name.","uniqueKey":"PublicSectorSpendingUnit.oneOf.1.BCP_Name.oneOf.0","typeLabel":"null"},{"type":"string","description":"Spending unit name.","uniqueKey":"PublicSectorSpendingUnit.oneOf.1.BCP_Name.oneOf.1","typeLabel":"string"}],"uniqueKey":"PublicSectorSpendingUnit.oneOf.1.BCP_Name","typeLabel":"null | string"},"BCP_VKN":{"oneOf":[{"type":"null","description":"Spending unit tax number.","uniqueKey":"PublicSectorSpendingUnit.oneOf.1.BCP_VKN.oneOf.0","typeLabel":"null"},{"type":"string","description":"Spending unit tax number.","uniqueKey":"PublicSectorSpendingUnit.oneOf.1.BCP_VKN.oneOf.1","typeLabel":"string"}],"uniqueKey":"PublicSectorSpendingUnit.oneOf.1.BCP_VKN","typeLabel":"null | string"},"BCP_Country":{"oneOf":[{"type":"null","description":"Spending unit country.","uniqueKey":"PublicSectorSpendingUnit.oneOf.1.BCP_Country.oneOf.0","typeLabel":"null"},{"type":"string","description":"Spending unit country.","uniqueKey":"PublicSectorSpendingUnit.oneOf.1.BCP_Country.oneOf.1","typeLabel":"string"}],"uniqueKey":"PublicSectorSpendingUnit.oneOf.1.BCP_Country","typeLabel":"null | string"},"BCP_CityName":{"oneOf":[{"type":"null","description":"Spending unit city.","uniqueKey":"PublicSectorSpendingUnit.oneOf.1.BCP_CityName.oneOf.0","typeLabel":"null"},{"type":"string","description":"Spending unit city.","uniqueKey":"PublicSectorSpendingUnit.oneOf.1.BCP_CityName.oneOf.1","typeLabel":"string"}],"uniqueKey":"PublicSectorSpendingUnit.oneOf.1.BCP_CityName","typeLabel":"null | string"},"BCP_CitySubdivisionName":{"oneOf":[{"type":"null","description":"Spending unit city subdivision (district).","uniqueKey":"PublicSectorSpendingUnit.oneOf.1.BCP_CitySubdivisionName.oneOf.0","typeLabel":"null"},{"type":"string","description":"Spending unit city subdivision (district).","uniqueKey":"PublicSectorSpendingUnit.oneOf.1.BCP_CitySubdivisionName.oneOf.1","typeLabel":"string"}],"uniqueKey":"PublicSectorSpendingUnit.oneOf.1.BCP_CitySubdivisionName","typeLabel":"null | string"}},"uniqueKey":"PublicSectorSpendingUnit.oneOf.1","typeLabel":"object"}],"uniqueKey":"PublicSectorSpendingUnit","typeLabel":"null | object"},"SgkInfo":{"oneOf":[{"type":"null","uniqueKey":"SgkInfo.oneOf.0","typeLabel":"null"},{"type":"object","description":"SGK (social security) invoice information. Stored and returned as sent, not validated.","properties":{"StartDate":{"oneOf":[{"type":"null","description":"Period start date.","format":"date-time","uniqueKey":"SgkInfo.oneOf.1.StartDate.oneOf.0","typeLabel":"null"},{"type":"string","description":"Period start date.","format":"date-time","uniqueKey":"SgkInfo.oneOf.1.StartDate.oneOf.1","typeLabel":"string\u003cdate-time>"}],"uniqueKey":"SgkInfo.oneOf.1.StartDate","typeLabel":"null | string\u003cdate-time>"},"EndDate":{"oneOf":[{"type":"null","description":"Period end date.","format":"date-time","uniqueKey":"SgkInfo.oneOf.1.EndDate.oneOf.0","typeLabel":"null"},{"type":"string","description":"Period end date.","format":"date-time","uniqueKey":"SgkInfo.oneOf.1.EndDate.oneOf.1","typeLabel":"string\u003cdate-time>"}],"uniqueKey":"SgkInfo.oneOf.1.EndDate","typeLabel":"null | string\u003cdate-time>"},"MukellefKodu":{"oneOf":[{"type":"null","description":"Taxpayer code.","uniqueKey":"SgkInfo.oneOf.1.MukellefKodu.oneOf.0","typeLabel":"null"},{"type":"string","description":"Taxpayer code.","uniqueKey":"SgkInfo.oneOf.1.MukellefKodu.oneOf.1","typeLabel":"string"}],"uniqueKey":"SgkInfo.oneOf.1.MukellefKodu","typeLabel":"null | string"},"MukellefAdi":{"oneOf":[{"type":"null","description":"Taxpayer name.","uniqueKey":"SgkInfo.oneOf.1.MukellefAdi.oneOf.0","typeLabel":"null"},{"type":"string","description":"Taxpayer name.","uniqueKey":"SgkInfo.oneOf.1.MukellefAdi.oneOf.1","typeLabel":"string"}],"uniqueKey":"SgkInfo.oneOf.1.MukellefAdi","typeLabel":"null | string"},"DosyaNo":{"oneOf":[{"type":"null","description":"File number.","uniqueKey":"SgkInfo.oneOf.1.DosyaNo.oneOf.0","typeLabel":"null"},{"type":"string","description":"File number.","uniqueKey":"SgkInfo.oneOf.1.DosyaNo.oneOf.1","typeLabel":"string"}],"uniqueKey":"SgkInfo.oneOf.1.DosyaNo","typeLabel":"null | string"},"FaturaAltTipi":{"oneOf":[{"type":"null","description":"Invoice sub-type.","uniqueKey":"SgkInfo.oneOf.1.FaturaAltTipi.oneOf.0","typeLabel":"null"},{"type":"string","description":"Invoice sub-type.","uniqueKey":"SgkInfo.oneOf.1.FaturaAltTipi.oneOf.1","typeLabel":"string"}],"uniqueKey":"SgkInfo.oneOf.1.FaturaAltTipi","typeLabel":"null | string"}},"uniqueKey":"SgkInfo.oneOf.1","typeLabel":"object"}],"uniqueKey":"SgkInfo","typeLabel":"null | object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"Description":"\u003cstring>","DocumentNumber":"\u003cstring>","ShipmentDefinitionCode":"\u003cstring>","SharingCode":"\u003cstring>","PrintDescription":true,"Consolidated":true,"ReturnedInvoiceNumber":"\u003cstring>","ReturnedInvoiceDate":"2026-10-15","OrderReferenceNumber":"\u003cstring>","OrderReferenceDate":"2026-10-15","BranchNumber":"\u003cstring>","BranchTitle":"\u003cstring>","BranchAddress":"\u003cstring>","InvestmentIncentiveDocumentNumber":"\u003cstring>","InvestmentIncentiveDocumentDate":"2026-10-15","EnergyPeriodStart":"2023-11-07T05:31:56Z","EnergyPeriodEnd":"2023-11-07T05:31:56Z","DeliveryInfo":{"DeliveryTerm":"\u003cstring>","TransportModeCode":123,"Country":"\u003cstring>","CityName":"\u003cstring>","CitySubdivisionName":"\u003cstring>","StreetName":"\u003cstring>","BuildingName":"\u003cstring>","BuildingNumber":"\u003cstring>","PostalZone":"\u003cstring>","TransportMeans":"\u003cstring>","DeclaredForCarriageValueAmount":123,"DeliveryInsuranceValue":123},"PaymentMeans":[{"PaymentMeansCode":"\u003cstring>","PayeeFinancialAccountID":"\u003cstring>","CurrencyCode":"\u003cstring>"}],"ReferencedDespatches":[{"ID":"\u003cstring>","IssueDate":"2023-11-07T05:31:56Z"}],"CustomerIdentitySchemes":[{"SchemeID":"\u003cstring>","Value":"\u003cstring>"}],"PublicSectorSpendingUnit":{"BCP_Name":"\u003cstring>","BCP_VKN":"\u003cstring>","BCP_Country":"\u003cstring>","BCP_CityName":"\u003cstring>","BCP_CitySubdivisionName":"\u003cstring>"},"SgkInfo":{"StartDate":"2023-11-07T05:31:56Z","EndDate":"2023-11-07T05:31:56Z","MukellefKodu":"\u003cstring>","MukellefAdi":"\u003cstring>","DosyaNo":"\u003cstring>","FaturaAltTipi":"\u003cstring>"}}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"4c7b3363-b837-4ef1-a404-7f260c35e05e":{"description":"OK","content":{"application/json":{"schema":{"required":["Success","ResultCode","Data"],"type":"object","properties":{"Success":{"type":"boolean","description":"Whether the operation succeeded.","example":true,"isRequired":true,"uniqueKey":"Success","typeLabel":"boolean"},"ResultCode":{"type":"string","description":"\"0000\" on success. On failure, the code of the first error; all errors are listed in Errors.","example":"0000","isRequired":true,"uniqueKey":"ResultCode","typeLabel":"string"},"Data":{"type":"object","properties":{"Id":{"type":"string","description":"Invoice ID.","format":"uuid","uniqueKey":"Data.Id","typeLabel":"string\u003cuuid>"},"CustomerId":{"oneOf":[{"type":"null","format":"uuid","uniqueKey":"Data.CustomerId.oneOf.0","typeLabel":"null"},{"type":"string","format":"uuid","uniqueKey":"Data.CustomerId.oneOf.1","typeLabel":"string\u003cuuid>"}],"uniqueKey":"Data.CustomerId","typeLabel":"null | string\u003cuuid>"},"CurrencyId":{"oneOf":[{"type":"null","format":"uuid","uniqueKey":"Data.CurrencyId.oneOf.0","typeLabel":"null"},{"type":"string","format":"uuid","uniqueKey":"Data.CurrencyId.oneOf.1","typeLabel":"string\u003cuuid>"}],"uniqueKey":"Data.CurrencyId","typeLabel":"null | string\u003cuuid>"},"CustomerName":{"oneOf":[{"type":"null","description":"Customer name.","uniqueKey":"Data.CustomerName.oneOf.0","typeLabel":"null"},{"type":"string","description":"Customer name.","uniqueKey":"Data.CustomerName.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.CustomerName","typeLabel":"null | string"},"Cancelled":{"type":"boolean","description":"Whether the invoice has been cancelled in Noyax. Read-only; cancelled invoices are left out of the list endpoint but can still be read by ID.","uniqueKey":"Data.Cancelled","typeLabel":"boolean"},"CurrencyCode":{"oneOf":[{"type":"null","description":"Invoice currency, derived from the lines: when every line uses the same currency, that is the invoice currency; otherwise it is the company's default currency. Not accepted in the request.","example":"TRY","uniqueKey":"Data.CurrencyCode.oneOf.0","typeLabel":"null"},{"type":"string","description":"Invoice currency, derived from the lines: when every line uses the same currency, that is the invoice currency; otherwise it is the company's default currency. Not accepted in the request.","example":"TRY","uniqueKey":"Data.CurrencyCode.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.CurrencyCode","typeLabel":"null | string"},"ShipmentDefinitionId":{"oneOf":[{"type":"null","description":"Shipment definition ID.","format":"uuid","uniqueKey":"Data.ShipmentDefinitionId.oneOf.0","typeLabel":"null"},{"type":"string","description":"Shipment definition ID.","format":"uuid","uniqueKey":"Data.ShipmentDefinitionId.oneOf.1","typeLabel":"string\u003cuuid>"}],"uniqueKey":"Data.ShipmentDefinitionId","typeLabel":"null | string\u003cuuid>"},"Address":{"oneOf":[{"type":"null","description":"Customer's full address at the moment the invoice was saved (a snapshot; not taken from the request).","uniqueKey":"Data.Address.oneOf.0","typeLabel":"null"},{"type":"string","description":"Customer's full address at the moment the invoice was saved (a snapshot; not taken from the request).","uniqueKey":"Data.Address.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.Address","typeLabel":"null | string"},"CustomerTitle":{"oneOf":[{"type":"null","description":"Customer's invoice title at the moment the invoice was saved (a snapshot).","uniqueKey":"Data.CustomerTitle.oneOf.0","typeLabel":"null"},{"type":"string","description":"Customer's invoice title at the moment the invoice was saved (a snapshot).","uniqueKey":"Data.CustomerTitle.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.CustomerTitle","typeLabel":"null | string"},"TaxNumber":{"oneOf":[{"type":"null","description":"Customer's tax number at the moment the invoice was saved (a snapshot).","uniqueKey":"Data.TaxNumber.oneOf.0","typeLabel":"null"},{"type":"string","description":"Customer's tax number at the moment the invoice was saved (a snapshot).","uniqueKey":"Data.TaxNumber.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.TaxNumber","typeLabel":"null | string"},"TaxOffice":{"oneOf":[{"type":"null","description":"Customer's tax office at the moment the invoice was saved (a snapshot).","uniqueKey":"Data.TaxOffice.oneOf.0","typeLabel":"null"},{"type":"string","description":"Customer's tax office at the moment the invoice was saved (a snapshot).","uniqueKey":"Data.TaxOffice.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.TaxOffice","typeLabel":"null | string"},"EInvoiceType":{"type":"integer","description":"e-Invoice classification of this invoice record: 0 not an e-document, 1 e-Invoice, 2 e-Archive. Determined by the API and not accepted in the request: for a sales or purchase-return invoice of a company that uses e-Invoice, 1 when the customer is a registered e-Invoice user and 2 otherwise; 0 in all other cases.","format":"int32","example":2,"uniqueKey":"Data.EInvoiceType","typeLabel":"integer\u003cint32>"},"InvoiceNumber":{"oneOf":[{"type":"null","description":"Required. Invoice number, unique within the company for this invoice type (sales and purchase return invoices share one numbering). Send \"Next\" on create to generate it automatically from the relevant number series or, when applicable, from the e-Invoice or e-Archive numbering. At most 20 characters.","example":"FAT2026000125","uniqueKey":"Data.InvoiceNumber.oneOf.0","typeLabel":"null"},{"type":"string","description":"Required. Invoice number, unique within the company for this invoice type (sales and purchase return invoices share one numbering). Send \"Next\" on create to generate it automatically from the relevant number series or, when applicable, from the e-Invoice or e-Archive numbering. At most 20 characters.","example":"FAT2026000125","uniqueKey":"Data.InvoiceNumber.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.InvoiceNumber","typeLabel":"null | string"},"DocumentNumber":{"oneOf":[{"type":"null","description":"Document number (free text). At most 100 characters.","uniqueKey":"Data.DocumentNumber.oneOf.0","typeLabel":"null"},{"type":"string","description":"Document number (free text). At most 100 characters.","uniqueKey":"Data.DocumentNumber.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.DocumentNumber","typeLabel":"null | string"},"Date":{"oneOf":[{"type":"null","description":"Required. Invoice date. The date part is stored as the invoice date; if a time is sent it is stored as the invoice time, otherwise the current time is used.","format":"date-time","example":"2026-09-21T10:30:00","uniqueKey":"Data.Date.oneOf.0","typeLabel":"null"},{"type":"string","description":"Required. Invoice date. The date part is stored as the invoice date; if a time is sent it is stored as the invoice time, otherwise the current time is used.","format":"date-time","example":"2026-09-21T10:30:00","uniqueKey":"Data.Date.oneOf.1","typeLabel":"string\u003cdate-time>"}],"uniqueKey":"Data.Date","typeLabel":"null | string\u003cdate-time>"},"Description":{"oneOf":[{"type":"null","description":"Description. At most 1000 characters.","uniqueKey":"Data.Description.oneOf.0","typeLabel":"null"},{"type":"string","description":"Description. At most 1000 characters.","uniqueKey":"Data.Description.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.Description","typeLabel":"null | string"},"CustomerCode":{"oneOf":[{"type":"null","description":"Customer code (the customer's CustomerCode from GET /api/v1/customers). When creating, send CustomerCode or CustomerTaxNumber; one of them is required, and if both are sent CustomerCode is used. The invoice's address, title and tax fields are copied from the customer at the moment it is saved and are not accepted in the request.","example":"C-0001","uniqueKey":"Data.CustomerCode.oneOf.0","typeLabel":"null"},{"type":"string","description":"Customer code (the customer's CustomerCode from GET /api/v1/customers). When creating, send CustomerCode or CustomerTaxNumber; one of them is required, and if both are sent CustomerCode is used. The invoice's address, title and tax fields are copied from the customer at the moment it is saved and are not accepted in the request.","example":"C-0001","uniqueKey":"Data.CustomerCode.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.CustomerCode","typeLabel":"null | string"},"DueDays":{"type":"integer","description":"Payment term in days. Cannot be less than 0.","format":"int32","uniqueKey":"Data.DueDays","typeLabel":"integer\u003cint32>"},"SharingCode":{"oneOf":[{"type":"null","description":"Sharing code that limits who can see the invoice. Empty means visible to everyone; otherwise it must be one of the user's sharing codes.","uniqueKey":"Data.SharingCode.oneOf.0","typeLabel":"null"},{"type":"string","description":"Sharing code that limits who can see the invoice. Empty means visible to everyone; otherwise it must be one of the user's sharing codes.","uniqueKey":"Data.SharingCode.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.SharingCode","typeLabel":"null | string"},"ShipmentDefinitionCode":{"oneOf":[{"type":"null","description":"Shipment definition code from GET /api/v1/definitions/shipment-definitions.","uniqueKey":"Data.ShipmentDefinitionCode.oneOf.0","typeLabel":"null"},{"type":"string","description":"Shipment definition code from GET /api/v1/definitions/shipment-definitions.","uniqueKey":"Data.ShipmentDefinitionCode.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.ShipmentDefinitionCode","typeLabel":"null | string"},"DiscountTotal":{"type":"number","description":"Total discount: the sum of the lines' DiscountAmount. Filled from the lines; a value sent in the request is ignored.","format":"double","example":100,"uniqueKey":"Data.DiscountTotal","typeLabel":"number\u003cdouble>"},"SubTotal":{"type":"number","description":"Subtotal: the sum of the lines' AmountExcludingTax. Filled from the lines; a value sent in the request is ignored.","format":"double","example":900,"uniqueKey":"Data.SubTotal","typeLabel":"number\u003cdouble>"},"VatTotal":{"type":"number","description":"Total VAT after withholding: the sum of the lines' VatAmount minus WithholdingTotal. Filled from the lines; a value sent in the request is ignored.","format":"double","example":225,"uniqueKey":"Data.VatTotal","typeLabel":"number\u003cdouble>"},"GrandTotal":{"type":"number","description":"Grand total: the sum of the lines' AmountIncludingTax minus WithholdingTotal. Filled from the lines; a value sent in the request is ignored.","format":"double","example":1350,"uniqueKey":"Data.GrandTotal","typeLabel":"number\u003cdouble>"},"Consolidated":{"type":"boolean","description":"Whether the invoice consolidates several despatches/orders. Free-form flag, not validated by the API.","uniqueKey":"Data.Consolidated","typeLabel":"boolean"},"PrintDescription":{"type":"boolean","description":"Whether the description should be printed on the invoice document.","uniqueKey":"Data.PrintDescription","typeLabel":"boolean"},"ApplyWithholding":{"type":"boolean","description":"Whether withholding (tevkifat) applies: true when a line has a WithholdingCode. Filled from the lines; a value sent in the request is ignored.","uniqueKey":"Data.ApplyWithholding","typeLabel":"boolean"},"WithholdingCode":{"oneOf":[{"type":"null","description":"The lines' withholding code when every withheld line uses the same code, share numerator and denominator; otherwise empty. Filled from the lines; a value sent in the request is ignored.","uniqueKey":"Data.WithholdingCode.oneOf.0","typeLabel":"null"},{"type":"string","description":"The lines' withholding code when every withheld line uses the same code, share numerator and denominator; otherwise empty. Filled from the lines; a value sent in the request is ignored.","uniqueKey":"Data.WithholdingCode.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.WithholdingCode","typeLabel":"null | string"},"WithholdingNumerator":{"type":"integer","description":"The lines' common withholding share numerator; 1 when the lines differ or none is withheld. Filled from the lines; a value sent in the request is ignored.","format":"int32","uniqueKey":"Data.WithholdingNumerator","typeLabel":"integer\u003cint32>"},"WithholdingDenominator":{"type":"integer","description":"The lines' common withholding share denominator; 1 when the lines differ or none is withheld. Filled from the lines; a value sent in the request is ignored.","format":"int32","uniqueKey":"Data.WithholdingDenominator","typeLabel":"integer\u003cint32>"},"WithholdingTotal":{"type":"number","description":"Total withheld VAT: the sum of the lines' WithheldVatAmount. Filled from the lines; a value sent in the request is ignored.","format":"double","example":0,"uniqueKey":"Data.WithholdingTotal","typeLabel":"number\u003cdouble>"},"AdditionalTaxTotal":{"type":"number","description":"Total additional tax: the sum of the lines' additional tax amounts. Filled from the lines; a value sent in the request is ignored.","format":"double","example":225,"uniqueKey":"Data.AdditionalTaxTotal","typeLabel":"number\u003cdouble>"},"ProfileId":{"oneOf":[{"type":"null","description":"UBL profile ID of the e-document (e.g. \"TEMELFATURA\", \"TICARIFATURA\"). Used on sales and purchase return invoices, where it is required when the company uses e-Invoice; ignored on purchase and sales return invoices. When both ProfileId and InvoiceTypeCode are sent, InvoiceTypeCode must be one of the values allowed for this ProfileId.","uniqueKey":"Data.ProfileId.oneOf.0","typeLabel":"null"},{"type":"string","description":"UBL profile ID of the e-document (e.g. \"TEMELFATURA\", \"TICARIFATURA\"). Used on sales and purchase return invoices, where it is required when the company uses e-Invoice; ignored on purchase and sales return invoices. When both ProfileId and InvoiceTypeCode are sent, InvoiceTypeCode must be one of the values allowed for this ProfileId.","uniqueKey":"Data.ProfileId.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.ProfileId","typeLabel":"null | string"},"InvoiceTypeCode":{"oneOf":[{"type":"null","description":"UBL invoice type code of the e-document (e.g. \"SATIS\", \"IADE\"). Used on sales and purchase return invoices, where it is required when the company uses e-Invoice; ignored on purchase and sales return invoices. 'IADE' and 'TEVKIFATIADE' are required on a purchase return invoice and not allowed on a sales invoice. On a sales invoice with 'IHRACKAYITLI', a line with VAT and no VatExemptionCode gets 701.","uniqueKey":"Data.InvoiceTypeCode.oneOf.0","typeLabel":"null"},{"type":"string","description":"UBL invoice type code of the e-document (e.g. \"SATIS\", \"IADE\"). Used on sales and purchase return invoices, where it is required when the company uses e-Invoice; ignored on purchase and sales return invoices. 'IADE' and 'TEVKIFATIADE' are required on a purchase return invoice and not allowed on a sales invoice. On a sales invoice with 'IHRACKAYITLI', a line with VAT and no VatExemptionCode gets 701.","uniqueKey":"Data.InvoiceTypeCode.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.InvoiceTypeCode","typeLabel":"null | string"},"WithholdingTaxRate":{"type":"number","description":"Withholding tax rate (stopaj), used for self-employment/producer-receipt style invoices. Stored as sent.","format":"double","uniqueKey":"Data.WithholdingTaxRate","typeLabel":"number\u003cdouble>"},"SocialSecurityRate":{"type":"number","description":"Social security (Bağ-Kur) rate, used for self-employment/producer-receipt style invoices. Stored as sent.","format":"double","uniqueKey":"Data.SocialSecurityRate","typeLabel":"number\u003cdouble>"},"MarketRate":{"type":"number","description":"Market (borsa) rate, used for producer-receipt style invoices. Stored as sent.","format":"double","uniqueKey":"Data.MarketRate","typeLabel":"number\u003cdouble>"},"ReturnedInvoiceNumber":{"oneOf":[{"type":"null","description":"Number of the invoice this one returns goods against (Alış/Satış İade). Free text, not validated against an existing invoice.","uniqueKey":"Data.ReturnedInvoiceNumber.oneOf.0","typeLabel":"null"},{"type":"string","description":"Number of the invoice this one returns goods against (Alış/Satış İade). Free text, not validated against an existing invoice.","uniqueKey":"Data.ReturnedInvoiceNumber.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.ReturnedInvoiceNumber","typeLabel":"null | string"},"ReturnedInvoiceDate":{"oneOf":[{"type":"null","description":"Date of the invoice this one returns goods against. Date only (yyyy-MM-dd), no time part.","format":"date","example":"2026-10-15","uniqueKey":"Data.ReturnedInvoiceDate.oneOf.0","typeLabel":"null"},{"type":"string","description":"Date of the invoice this one returns goods against. Date only (yyyy-MM-dd), no time part.","format":"date","example":"2026-10-15","uniqueKey":"Data.ReturnedInvoiceDate.oneOf.1","typeLabel":"string\u003cdate>"}],"uniqueKey":"Data.ReturnedInvoiceDate","typeLabel":"null | string\u003cdate>"},"OrderReferenceNumber":{"oneOf":[{"type":"null","description":"Reference order number (free text, informational only).","uniqueKey":"Data.OrderReferenceNumber.oneOf.0","typeLabel":"null"},{"type":"string","description":"Reference order number (free text, informational only).","uniqueKey":"Data.OrderReferenceNumber.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.OrderReferenceNumber","typeLabel":"null | string"},"OrderReferenceDate":{"oneOf":[{"type":"null","description":"Date of the reference order. Date only (yyyy-MM-dd), no time part.","format":"date","example":"2026-10-15","uniqueKey":"Data.OrderReferenceDate.oneOf.0","typeLabel":"null"},{"type":"string","description":"Date of the reference order. Date only (yyyy-MM-dd), no time part.","format":"date","example":"2026-10-15","uniqueKey":"Data.OrderReferenceDate.oneOf.1","typeLabel":"string\u003cdate>"}],"uniqueKey":"Data.OrderReferenceDate","typeLabel":"null | string\u003cdate>"},"BranchNumber":{"oneOf":[{"type":"null","description":"Branch number (informational).","uniqueKey":"Data.BranchNumber.oneOf.0","typeLabel":"null"},{"type":"string","description":"Branch number (informational).","uniqueKey":"Data.BranchNumber.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.BranchNumber","typeLabel":"null | string"},"BranchTitle":{"oneOf":[{"type":"null","description":"Branch title (informational).","uniqueKey":"Data.BranchTitle.oneOf.0","typeLabel":"null"},{"type":"string","description":"Branch title (informational).","uniqueKey":"Data.BranchTitle.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.BranchTitle","typeLabel":"null | string"},"BranchAddress":{"oneOf":[{"type":"null","description":"Branch address (informational).","uniqueKey":"Data.BranchAddress.oneOf.0","typeLabel":"null"},{"type":"string","description":"Branch address (informational).","uniqueKey":"Data.BranchAddress.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.BranchAddress","typeLabel":"null | string"},"InvestmentIncentiveDocumentNumber":{"oneOf":[{"type":"null","description":"Investment incentive certificate number.","uniqueKey":"Data.InvestmentIncentiveDocumentNumber.oneOf.0","typeLabel":"null"},{"type":"string","description":"Investment incentive certificate number.","uniqueKey":"Data.InvestmentIncentiveDocumentNumber.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.InvestmentIncentiveDocumentNumber","typeLabel":"null | string"},"InvestmentIncentiveDocumentDate":{"oneOf":[{"type":"null","description":"Investment incentive certificate date. Date only (yyyy-MM-dd), no time part.","format":"date","example":"2026-10-15","uniqueKey":"Data.InvestmentIncentiveDocumentDate.oneOf.0","typeLabel":"null"},{"type":"string","description":"Investment incentive certificate date. Date only (yyyy-MM-dd), no time part.","format":"date","example":"2026-10-15","uniqueKey":"Data.InvestmentIncentiveDocumentDate.oneOf.1","typeLabel":"string\u003cdate>"}],"uniqueKey":"Data.InvestmentIncentiveDocumentDate","typeLabel":"null | string\u003cdate>"},"EnergyPeriodStart":{"oneOf":[{"type":"null","description":"Energy period start date/time, for energy sector invoices.","format":"date-time","uniqueKey":"Data.EnergyPeriodStart.oneOf.0","typeLabel":"null"},{"type":"string","description":"Energy period start date/time, for energy sector invoices.","format":"date-time","uniqueKey":"Data.EnergyPeriodStart.oneOf.1","typeLabel":"string\u003cdate-time>"}],"uniqueKey":"Data.EnergyPeriodStart","typeLabel":"null | string\u003cdate-time>"},"EnergyPeriodEnd":{"oneOf":[{"type":"null","description":"Energy period end date/time, for energy sector invoices.","format":"date-time","uniqueKey":"Data.EnergyPeriodEnd.oneOf.0","typeLabel":"null"},{"type":"string","description":"Energy period end date/time, for energy sector invoices.","format":"date-time","uniqueKey":"Data.EnergyPeriodEnd.oneOf.1","typeLabel":"string\u003cdate-time>"}],"uniqueKey":"Data.EnergyPeriodEnd","typeLabel":"null | string\u003cdate-time>"},"DeliveryInfo":{"oneOf":[{"type":"null","uniqueKey":"Data.DeliveryInfo.oneOf.0","typeLabel":"null"},{"type":"object","description":"Export delivery information. Stored and returned as sent, not validated.","properties":{"DeliveryTerm":{"oneOf":[{"type":"null","description":"Delivery term code.","uniqueKey":"Data.DeliveryInfo.oneOf.1.DeliveryTerm.oneOf.0","typeLabel":"null"},{"type":"string","description":"Delivery term code.","uniqueKey":"Data.DeliveryInfo.oneOf.1.DeliveryTerm.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.DeliveryInfo.oneOf.1.DeliveryTerm","typeLabel":"null | string"},"TransportModeCode":{"oneOf":[{"type":"null","description":"Transport mode code: 1 maritime, 2 rail, 3 road, 4 air.","format":"int32","uniqueKey":"Data.DeliveryInfo.oneOf.1.TransportModeCode.oneOf.0","typeLabel":"null"},{"type":"integer","description":"Transport mode code: 1 maritime, 2 rail, 3 road, 4 air.","format":"int32","uniqueKey":"Data.DeliveryInfo.oneOf.1.TransportModeCode.oneOf.1","typeLabel":"integer\u003cint32>"}],"uniqueKey":"Data.DeliveryInfo.oneOf.1.TransportModeCode","typeLabel":"null | integer\u003cint32>"},"Country":{"oneOf":[{"type":"null","description":"Delivery country.","uniqueKey":"Data.DeliveryInfo.oneOf.1.Country.oneOf.0","typeLabel":"null"},{"type":"string","description":"Delivery country.","uniqueKey":"Data.DeliveryInfo.oneOf.1.Country.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.DeliveryInfo.oneOf.1.Country","typeLabel":"null | string"},"CityName":{"oneOf":[{"type":"null","description":"Delivery city.","uniqueKey":"Data.DeliveryInfo.oneOf.1.CityName.oneOf.0","typeLabel":"null"},{"type":"string","description":"Delivery city.","uniqueKey":"Data.DeliveryInfo.oneOf.1.CityName.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.DeliveryInfo.oneOf.1.CityName","typeLabel":"null | string"},"CitySubdivisionName":{"oneOf":[{"type":"null","description":"Delivery city subdivision (district).","uniqueKey":"Data.DeliveryInfo.oneOf.1.CitySubdivisionName.oneOf.0","typeLabel":"null"},{"type":"string","description":"Delivery city subdivision (district).","uniqueKey":"Data.DeliveryInfo.oneOf.1.CitySubdivisionName.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.DeliveryInfo.oneOf.1.CitySubdivisionName","typeLabel":"null | string"},"StreetName":{"oneOf":[{"type":"null","description":"Delivery street name.","uniqueKey":"Data.DeliveryInfo.oneOf.1.StreetName.oneOf.0","typeLabel":"null"},{"type":"string","description":"Delivery street name.","uniqueKey":"Data.DeliveryInfo.oneOf.1.StreetName.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.DeliveryInfo.oneOf.1.StreetName","typeLabel":"null | string"},"BuildingName":{"oneOf":[{"type":"null","description":"Delivery building name.","uniqueKey":"Data.DeliveryInfo.oneOf.1.BuildingName.oneOf.0","typeLabel":"null"},{"type":"string","description":"Delivery building name.","uniqueKey":"Data.DeliveryInfo.oneOf.1.BuildingName.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.DeliveryInfo.oneOf.1.BuildingName","typeLabel":"null | string"},"BuildingNumber":{"oneOf":[{"type":"null","description":"Delivery building number.","uniqueKey":"Data.DeliveryInfo.oneOf.1.BuildingNumber.oneOf.0","typeLabel":"null"},{"type":"string","description":"Delivery building number.","uniqueKey":"Data.DeliveryInfo.oneOf.1.BuildingNumber.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.DeliveryInfo.oneOf.1.BuildingNumber","typeLabel":"null | string"},"PostalZone":{"oneOf":[{"type":"null","description":"Delivery postal code.","uniqueKey":"Data.DeliveryInfo.oneOf.1.PostalZone.oneOf.0","typeLabel":"null"},{"type":"string","description":"Delivery postal code.","uniqueKey":"Data.DeliveryInfo.oneOf.1.PostalZone.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.DeliveryInfo.oneOf.1.PostalZone","typeLabel":"null | string"},"TransportMeans":{"oneOf":[{"type":"null","description":"Transport means identifier (vessel name, train number, license plate or aircraft number, depending on TransportModeCode).","uniqueKey":"Data.DeliveryInfo.oneOf.1.TransportMeans.oneOf.0","typeLabel":"null"},{"type":"string","description":"Transport means identifier (vessel name, train number, license plate or aircraft number, depending on TransportModeCode).","uniqueKey":"Data.DeliveryInfo.oneOf.1.TransportMeans.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.DeliveryInfo.oneOf.1.TransportMeans","typeLabel":"null | string"},"DeclaredForCarriageValueAmount":{"oneOf":[{"type":"null","description":"Declared value for carriage.","format":"double","uniqueKey":"Data.DeliveryInfo.oneOf.1.DeclaredForCarriageValueAmount.oneOf.0","typeLabel":"null"},{"type":"number","description":"Declared value for carriage.","format":"double","uniqueKey":"Data.DeliveryInfo.oneOf.1.DeclaredForCarriageValueAmount.oneOf.1","typeLabel":"number\u003cdouble>"}],"uniqueKey":"Data.DeliveryInfo.oneOf.1.DeclaredForCarriageValueAmount","typeLabel":"null | number\u003cdouble>"},"DeliveryInsuranceValue":{"oneOf":[{"type":"null","description":"Delivery insurance value.","format":"double","uniqueKey":"Data.DeliveryInfo.oneOf.1.DeliveryInsuranceValue.oneOf.0","typeLabel":"null"},{"type":"number","description":"Delivery insurance value.","format":"double","uniqueKey":"Data.DeliveryInfo.oneOf.1.DeliveryInsuranceValue.oneOf.1","typeLabel":"number\u003cdouble>"}],"uniqueKey":"Data.DeliveryInfo.oneOf.1.DeliveryInsuranceValue","typeLabel":"null | number\u003cdouble>"}},"uniqueKey":"Data.DeliveryInfo.oneOf.1","typeLabel":"object"}],"uniqueKey":"Data.DeliveryInfo","typeLabel":"null | object"},"PaymentMeans":{"type":"array","items":{"type":"object","properties":{"PaymentMeansCode":{"oneOf":[{"type":"null","description":"Payment means code (UN/EDIFACT 4461, e.g. \"1\" cash, \"42\" wire transfer).","uniqueKey":"Data.PaymentMeans.items.[INDEX].PaymentMeansCode.oneOf.0","typeLabel":"null"},{"type":"string","description":"Payment means code (UN/EDIFACT 4461, e.g. \"1\" cash, \"42\" wire transfer).","uniqueKey":"Data.PaymentMeans.items.[INDEX].PaymentMeansCode.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.PaymentMeans.items.[INDEX].PaymentMeansCode","typeLabel":"null | string"},"PayeeFinancialAccountID":{"oneOf":[{"type":"null","description":"IBAN or account number.","uniqueKey":"Data.PaymentMeans.items.[INDEX].PayeeFinancialAccountID.oneOf.0","typeLabel":"null"},{"type":"string","description":"IBAN or account number.","uniqueKey":"Data.PaymentMeans.items.[INDEX].PayeeFinancialAccountID.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.PaymentMeans.items.[INDEX].PayeeFinancialAccountID","typeLabel":"null | string"},"CurrencyCode":{"oneOf":[{"type":"null","description":"Currency code of the account.","uniqueKey":"Data.PaymentMeans.items.[INDEX].CurrencyCode.oneOf.0","typeLabel":"null"},{"type":"string","description":"Currency code of the account.","uniqueKey":"Data.PaymentMeans.items.[INDEX].CurrencyCode.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.PaymentMeans.items.[INDEX].CurrencyCode","typeLabel":"null | string"}},"uniqueKey":"Data.PaymentMeans.items.[INDEX]","typeLabel":"object"},"description":"Payment methods. Stored and returned as sent, not validated.","uniqueKey":"Data.PaymentMeans","typeLabel":"object[]"},"ReferencedDespatches":{"type":"array","items":{"type":"object","properties":{"ID":{"oneOf":[{"type":"null","description":"Despatch number.","uniqueKey":"Data.ReferencedDespatches.items.[INDEX].ID.oneOf.0","typeLabel":"null"},{"type":"string","description":"Despatch number.","uniqueKey":"Data.ReferencedDespatches.items.[INDEX].ID.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.ReferencedDespatches.items.[INDEX].ID","typeLabel":"null | string"},"IssueDate":{"oneOf":[{"type":"null","description":"Despatch issue date.","format":"date-time","uniqueKey":"Data.ReferencedDespatches.items.[INDEX].IssueDate.oneOf.0","typeLabel":"null"},{"type":"string","description":"Despatch issue date.","format":"date-time","uniqueKey":"Data.ReferencedDespatches.items.[INDEX].IssueDate.oneOf.1","typeLabel":"string\u003cdate-time>"}],"uniqueKey":"Data.ReferencedDespatches.items.[INDEX].IssueDate","typeLabel":"null | string\u003cdate-time>"}},"uniqueKey":"Data.ReferencedDespatches.items.[INDEX]","typeLabel":"object"},"description":"Referenced despatches. Stored and returned as sent, not validated.","uniqueKey":"Data.ReferencedDespatches","typeLabel":"object[]"},"CustomerIdentitySchemes":{"type":"array","items":{"type":"object","properties":{"SchemeID":{"oneOf":[{"type":"null","description":"Scheme ID (e.g. \"MUSTERINO\", \"BAYINO\", \"TICARETSICILNO\", \"MERSISNO\", \"HIZMETNO\", \"TESISATNO\").","uniqueKey":"Data.CustomerIdentitySchemes.items.[INDEX].SchemeID.oneOf.0","typeLabel":"null"},{"type":"string","description":"Scheme ID (e.g. \"MUSTERINO\", \"BAYINO\", \"TICARETSICILNO\", \"MERSISNO\", \"HIZMETNO\", \"TESISATNO\").","uniqueKey":"Data.CustomerIdentitySchemes.items.[INDEX].SchemeID.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.CustomerIdentitySchemes.items.[INDEX].SchemeID","typeLabel":"null | string"},"Value":{"oneOf":[{"type":"null","description":"Value for this scheme.","uniqueKey":"Data.CustomerIdentitySchemes.items.[INDEX].Value.oneOf.0","typeLabel":"null"},{"type":"string","description":"Value for this scheme.","uniqueKey":"Data.CustomerIdentitySchemes.items.[INDEX].Value.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.CustomerIdentitySchemes.items.[INDEX].Value","typeLabel":"null | string"}},"uniqueKey":"Data.CustomerIdentitySchemes.items.[INDEX]","typeLabel":"object"},"description":"Customer identity schemes. Stored and returned as sent, not validated.","uniqueKey":"Data.CustomerIdentitySchemes","typeLabel":"object[]"},"PublicSectorSpendingUnit":{"oneOf":[{"type":"null","uniqueKey":"Data.PublicSectorSpendingUnit.oneOf.0","typeLabel":"null"},{"type":"object","description":"Public sector (Kamu) payer spending unit. Stored and returned as sent, not validated.","properties":{"BCP_Name":{"oneOf":[{"type":"null","description":"Spending unit name.","uniqueKey":"Data.PublicSectorSpendingUnit.oneOf.1.BCP_Name.oneOf.0","typeLabel":"null"},{"type":"string","description":"Spending unit name.","uniqueKey":"Data.PublicSectorSpendingUnit.oneOf.1.BCP_Name.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.PublicSectorSpendingUnit.oneOf.1.BCP_Name","typeLabel":"null | string"},"BCP_VKN":{"oneOf":[{"type":"null","description":"Spending unit tax number.","uniqueKey":"Data.PublicSectorSpendingUnit.oneOf.1.BCP_VKN.oneOf.0","typeLabel":"null"},{"type":"string","description":"Spending unit tax number.","uniqueKey":"Data.PublicSectorSpendingUnit.oneOf.1.BCP_VKN.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.PublicSectorSpendingUnit.oneOf.1.BCP_VKN","typeLabel":"null | string"},"BCP_Country":{"oneOf":[{"type":"null","description":"Spending unit country.","uniqueKey":"Data.PublicSectorSpendingUnit.oneOf.1.BCP_Country.oneOf.0","typeLabel":"null"},{"type":"string","description":"Spending unit country.","uniqueKey":"Data.PublicSectorSpendingUnit.oneOf.1.BCP_Country.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.PublicSectorSpendingUnit.oneOf.1.BCP_Country","typeLabel":"null | string"},"BCP_CityName":{"oneOf":[{"type":"null","description":"Spending unit city.","uniqueKey":"Data.PublicSectorSpendingUnit.oneOf.1.BCP_CityName.oneOf.0","typeLabel":"null"},{"type":"string","description":"Spending unit city.","uniqueKey":"Data.PublicSectorSpendingUnit.oneOf.1.BCP_CityName.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.PublicSectorSpendingUnit.oneOf.1.BCP_CityName","typeLabel":"null | string"},"BCP_CitySubdivisionName":{"oneOf":[{"type":"null","description":"Spending unit city subdivision (district).","uniqueKey":"Data.PublicSectorSpendingUnit.oneOf.1.BCP_CitySubdivisionName.oneOf.0","typeLabel":"null"},{"type":"string","description":"Spending unit city subdivision (district).","uniqueKey":"Data.PublicSectorSpendingUnit.oneOf.1.BCP_CitySubdivisionName.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.PublicSectorSpendingUnit.oneOf.1.BCP_CitySubdivisionName","typeLabel":"null | string"}},"uniqueKey":"Data.PublicSectorSpendingUnit.oneOf.1","typeLabel":"object"}],"uniqueKey":"Data.PublicSectorSpendingUnit","typeLabel":"null | object"},"SgkInfo":{"oneOf":[{"type":"null","uniqueKey":"Data.SgkInfo.oneOf.0","typeLabel":"null"},{"type":"object","description":"SGK (social security) invoice information. Stored and returned as sent, not validated.","properties":{"StartDate":{"oneOf":[{"type":"null","description":"Period start date.","format":"date-time","uniqueKey":"Data.SgkInfo.oneOf.1.StartDate.oneOf.0","typeLabel":"null"},{"type":"string","description":"Period start date.","format":"date-time","uniqueKey":"Data.SgkInfo.oneOf.1.StartDate.oneOf.1","typeLabel":"string\u003cdate-time>"}],"uniqueKey":"Data.SgkInfo.oneOf.1.StartDate","typeLabel":"null | string\u003cdate-time>"},"EndDate":{"oneOf":[{"type":"null","description":"Period end date.","format":"date-time","uniqueKey":"Data.SgkInfo.oneOf.1.EndDate.oneOf.0","typeLabel":"null"},{"type":"string","description":"Period end date.","format":"date-time","uniqueKey":"Data.SgkInfo.oneOf.1.EndDate.oneOf.1","typeLabel":"string\u003cdate-time>"}],"uniqueKey":"Data.SgkInfo.oneOf.1.EndDate","typeLabel":"null | string\u003cdate-time>"},"MukellefKodu":{"oneOf":[{"type":"null","description":"Taxpayer code.","uniqueKey":"Data.SgkInfo.oneOf.1.MukellefKodu.oneOf.0","typeLabel":"null"},{"type":"string","description":"Taxpayer code.","uniqueKey":"Data.SgkInfo.oneOf.1.MukellefKodu.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.SgkInfo.oneOf.1.MukellefKodu","typeLabel":"null | string"},"MukellefAdi":{"oneOf":[{"type":"null","description":"Taxpayer name.","uniqueKey":"Data.SgkInfo.oneOf.1.MukellefAdi.oneOf.0","typeLabel":"null"},{"type":"string","description":"Taxpayer name.","uniqueKey":"Data.SgkInfo.oneOf.1.MukellefAdi.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.SgkInfo.oneOf.1.MukellefAdi","typeLabel":"null | string"},"DosyaNo":{"oneOf":[{"type":"null","description":"File number.","uniqueKey":"Data.SgkInfo.oneOf.1.DosyaNo.oneOf.0","typeLabel":"null"},{"type":"string","description":"File number.","uniqueKey":"Data.SgkInfo.oneOf.1.DosyaNo.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.SgkInfo.oneOf.1.DosyaNo","typeLabel":"null | string"},"FaturaAltTipi":{"oneOf":[{"type":"null","description":"Invoice sub-type.","uniqueKey":"Data.SgkInfo.oneOf.1.FaturaAltTipi.oneOf.0","typeLabel":"null"},{"type":"string","description":"Invoice sub-type.","uniqueKey":"Data.SgkInfo.oneOf.1.FaturaAltTipi.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.SgkInfo.oneOf.1.FaturaAltTipi","typeLabel":"null | string"}},"uniqueKey":"Data.SgkInfo.oneOf.1","typeLabel":"object"}],"uniqueKey":"Data.SgkInfo","typeLabel":"null | object"},"AverageExchangeRate":{"type":"number","description":"Weighted average exchange rate: when every line has the same currency, Σ(AmountExcludingTax × ExchangeRate) / Σ AmountExcludingTax; when the lines have different currencies, 1, and the totals are converted to the default currency with each line's ExchangeRate. Filled from the lines; a value sent in the request is ignored.","format":"double","example":1,"uniqueKey":"Data.AverageExchangeRate","typeLabel":"number\u003cdouble>"},"CreateDate":{"oneOf":[{"type":"null","description":"Creation date.","format":"date-time","uniqueKey":"Data.CreateDate.oneOf.0","typeLabel":"null"},{"type":"string","description":"Creation date.","format":"date-time","uniqueKey":"Data.CreateDate.oneOf.1","typeLabel":"string\u003cdate-time>"}],"uniqueKey":"Data.CreateDate","typeLabel":"null | string\u003cdate-time>"},"ModifyDate":{"oneOf":[{"type":"null","description":"Last modification date.","format":"date-time","uniqueKey":"Data.ModifyDate.oneOf.0","typeLabel":"null"},{"type":"string","description":"Last modification date.","format":"date-time","uniqueKey":"Data.ModifyDate.oneOf.1","typeLabel":"string\u003cdate-time>"}],"uniqueKey":"Data.ModifyDate","typeLabel":"null | string\u003cdate-time>"},"Lines":{"type":"array","items":{"type":"object","properties":{"ProductId":{"oneOf":[{"type":"null","description":"Product ID.","format":"uuid","uniqueKey":"Data.Lines.items.[INDEX].ProductId.oneOf.0","typeLabel":"null"},{"type":"string","description":"Product ID.","format":"uuid","uniqueKey":"Data.Lines.items.[INDEX].ProductId.oneOf.1","typeLabel":"string\u003cuuid>"}],"uniqueKey":"Data.Lines.items.[INDEX].ProductId","typeLabel":"null | string\u003cuuid>"},"UnitId":{"oneOf":[{"type":"null","description":"Unit ID.","format":"uuid","uniqueKey":"Data.Lines.items.[INDEX].UnitId.oneOf.0","typeLabel":"null"},{"type":"string","description":"Unit ID.","format":"uuid","uniqueKey":"Data.Lines.items.[INDEX].UnitId.oneOf.1","typeLabel":"string\u003cuuid>"}],"uniqueKey":"Data.Lines.items.[INDEX].UnitId","typeLabel":"null | string\u003cuuid>"},"CurrencyId":{"oneOf":[{"type":"null","description":"Currency ID.","format":"uuid","uniqueKey":"Data.Lines.items.[INDEX].CurrencyId.oneOf.0","typeLabel":"null"},{"type":"string","description":"Currency ID.","format":"uuid","uniqueKey":"Data.Lines.items.[INDEX].CurrencyId.oneOf.1","typeLabel":"string\u003cuuid>"}],"uniqueKey":"Data.Lines.items.[INDEX].CurrencyId","typeLabel":"null | string\u003cuuid>"},"LineGroupId":{"oneOf":[{"type":"null","description":"Line group ID.","format":"uuid","uniqueKey":"Data.Lines.items.[INDEX].LineGroupId.oneOf.0","typeLabel":"null"},{"type":"string","description":"Line group ID.","format":"uuid","uniqueKey":"Data.Lines.items.[INDEX].LineGroupId.oneOf.1","typeLabel":"string\u003cuuid>"}],"uniqueKey":"Data.Lines.items.[INDEX].LineGroupId","typeLabel":"null | string\u003cuuid>"},"WarehouseId":{"oneOf":[{"type":"null","description":"Warehouse ID.","format":"uuid","uniqueKey":"Data.Lines.items.[INDEX].WarehouseId.oneOf.0","typeLabel":"null"},{"type":"string","description":"Warehouse ID.","format":"uuid","uniqueKey":"Data.Lines.items.[INDEX].WarehouseId.oneOf.1","typeLabel":"string\u003cuuid>"}],"uniqueKey":"Data.Lines.items.[INDEX].WarehouseId","typeLabel":"null | string\u003cuuid>"},"ProductName":{"oneOf":[{"type":"null","description":"Product name.","uniqueKey":"Data.Lines.items.[INDEX].ProductName.oneOf.0","typeLabel":"null"},{"type":"string","description":"Product name.","uniqueKey":"Data.Lines.items.[INDEX].ProductName.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.Lines.items.[INDEX].ProductName","typeLabel":"null | string"},"UnitName":{"oneOf":[{"type":"null","description":"Unit name.","example":"ADET","uniqueKey":"Data.Lines.items.[INDEX].UnitName.oneOf.0","typeLabel":"null"},{"type":"string","description":"Unit name.","example":"ADET","uniqueKey":"Data.Lines.items.[INDEX].UnitName.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.Lines.items.[INDEX].UnitName","typeLabel":"null | string"},"MainUnitQuantity":{"type":"number","description":"Quantity converted to the product's main unit, calculated by the API. Positive on purchase and sales-return invoices (goods come in), negative on sales and purchase-return invoices (goods go out).","format":"double","example":10,"uniqueKey":"Data.Lines.items.[INDEX].MainUnitQuantity","typeLabel":"number\u003cdouble>"},"ProductCode":{"oneOf":[{"type":"null","description":"Product code (the product's Code from GET /api/v1/products). Send ProductCode or ECommerceProductCode; one of them is required. If both are sent, ProductCode is used.","example":"URN-0001","uniqueKey":"Data.Lines.items.[INDEX].ProductCode.oneOf.0","typeLabel":"null"},{"type":"string","description":"Product code (the product's Code from GET /api/v1/products). Send ProductCode or ECommerceProductCode; one of them is required. If both are sent, ProductCode is used.","example":"URN-0001","uniqueKey":"Data.Lines.items.[INDEX].ProductCode.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.Lines.items.[INDEX].ProductCode","typeLabel":"null | string"},"ECommerceProductCode":{"oneOf":[{"type":"null","description":"Product's e-commerce integration code (the product's ECommerceProductCode from GET /api/v1/products), as an alternative to ProductCode. Used only when ProductCode is empty.","example":null,"uniqueKey":"Data.Lines.items.[INDEX].ECommerceProductCode.oneOf.0","typeLabel":"null"},{"type":"string","description":"Product's e-commerce integration code (the product's ECommerceProductCode from GET /api/v1/products), as an alternative to ProductCode. Used only when ProductCode is empty.","example":null,"uniqueKey":"Data.Lines.items.[INDEX].ECommerceProductCode.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.Lines.items.[INDEX].ECommerceProductCode","typeLabel":"null | string"},"UnitCode":{"oneOf":[{"type":"null","description":"Required. Unit code: the unit's universal code (for example C62 for ADET) or, when the unit has no universal code, its name. It must be one of the product's own units. The quantity in the product's main unit is calculated by the API.","example":"C62","uniqueKey":"Data.Lines.items.[INDEX].UnitCode.oneOf.0","typeLabel":"null"},{"type":"string","description":"Required. Unit code: the unit's universal code (for example C62 for ADET) or, when the unit has no universal code, its name. It must be one of the product's own units. The quantity in the product's main unit is calculated by the API.","example":"C62","uniqueKey":"Data.Lines.items.[INDEX].UnitCode.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.Lines.items.[INDEX].UnitCode","typeLabel":"null | string"},"Quantity":{"type":"number","description":"Quantity, in the line unit. Must be greater than 0.","format":"double","example":10,"uniqueKey":"Data.Lines.items.[INDEX].Quantity","typeLabel":"number\u003cdouble>"},"UnitPrice":{"type":"number","description":"Unit price excluding VAT, in the line currency. Cannot be negative.","format":"double","example":100,"uniqueKey":"Data.Lines.items.[INDEX].UnitPrice","typeLabel":"number\u003cdouble>"},"GrossAmount":{"oneOf":[{"type":"null","description":"Line amount before discounts (Quantity × UnitPrice). Optional; when not sent, Quantity × UnitPrice rounded to 2 decimals is stored.","format":"double","example":1000,"uniqueKey":"Data.Lines.items.[INDEX].GrossAmount.oneOf.0","typeLabel":"null"},{"type":"number","description":"Line amount before discounts (Quantity × UnitPrice). Optional; when not sent, Quantity × UnitPrice rounded to 2 decimals is stored.","format":"double","example":1000,"uniqueKey":"Data.Lines.items.[INDEX].GrossAmount.oneOf.1","typeLabel":"number\u003cdouble>"}],"uniqueKey":"Data.Lines.items.[INDEX].GrossAmount","typeLabel":"null | number\u003cdouble>"},"CurrencyCode":{"oneOf":[{"type":"null","description":"Required. Currency code for this line, from GET /api/v1/definitions/currencies. The invoice's own currency is derived from the lines: when every line uses the same currency, that is the invoice currency; otherwise it is the company's default currency.","example":"TRY","uniqueKey":"Data.Lines.items.[INDEX].CurrencyCode.oneOf.0","typeLabel":"null"},{"type":"string","description":"Required. Currency code for this line, from GET /api/v1/definitions/currencies. The invoice's own currency is derived from the lines: when every line uses the same currency, that is the invoice currency; otherwise it is the company's default currency.","example":"TRY","uniqueKey":"Data.Lines.items.[INDEX].CurrencyCode.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.Lines.items.[INDEX].CurrencyCode","typeLabel":"null | string"},"ExchangeRate":{"type":"number","description":"Exchange rate of CurrencyCode against the company's default currency. Must be 1 when CurrencyCode is the default currency; required and greater than 0 otherwise. Sent by the integrator, not calculated by the API.","format":"double","example":1,"uniqueKey":"Data.Lines.items.[INDEX].ExchangeRate","typeLabel":"number\u003cdouble>"},"DiscountRate":{"type":"number","description":"Cumulative line discount rate (%) of the Discounts list, between 0 and 100. Sent by the integrator, not calculated by the API; when Discounts is sent it must match the cumulative result of the list (10, 10 and 10 give 27.1) within 0.01.","format":"double","example":10,"uniqueKey":"Data.Lines.items.[INDEX].DiscountRate","typeLabel":"number\u003cdouble>"},"DiscountAmount":{"type":"number","description":"Line discount amount: GrossAmount × DiscountRate / 100. Sent by the integrator, not calculated by the API.","format":"double","example":100,"uniqueKey":"Data.Lines.items.[INDEX].DiscountAmount","typeLabel":"number\u003cdouble>"},"Discounts":{"type":"array","items":{"type":"object","properties":{"Rate":{"type":"number","description":"Discount rate (%), between 0 and 100. Discounts of a line are applied one after another in list order: 10, 10 and 10 give a 27.1% line discount.","format":"double","example":10,"uniqueKey":"Data.Lines.items.[INDEX].Discounts.items.[INDEX].Rate","typeLabel":"number\u003cdouble>"}},"uniqueKey":"Data.Lines.items.[INDEX].Discounts.items.[INDEX]","typeLabel":"object"},"description":"Discounts applied to the line one after another. Leave empty when the line has no discount.","uniqueKey":"Data.Lines.items.[INDEX].Discounts","typeLabel":"object[]"},"VatRate":{"type":"integer","description":"VAT rate (%), between 0 and 100.","format":"int32","example":20,"uniqueKey":"Data.Lines.items.[INDEX].VatRate","typeLabel":"integer\u003cint32>"},"VatIncluded":{"type":"boolean","description":"Not used; accepted only so that existing requests keep working. UnitPrice must exclude VAT.","uniqueKey":"Data.Lines.items.[INDEX].VatIncluded","typeLabel":"boolean"},"VatAmount":{"type":"number","description":"VAT amount of the line: VatBase × VatRate / 100 (0 when VatRate is 0). Sent by the integrator, not calculated by the API.","format":"double","example":225,"uniqueKey":"Data.Lines.items.[INDEX].VatAmount","typeLabel":"number\u003cdouble>"},"AmountExcludingTax":{"type":"number","description":"Net line amount: GrossAmount − DiscountAmount, excluding taxes. Sent by the integrator, not calculated by the API.","format":"double","example":900,"uniqueKey":"Data.Lines.items.[INDEX].AmountExcludingTax","typeLabel":"number\u003cdouble>"},"AmountIncludingTax":{"type":"number","description":"Line total: AmountExcludingTax + VatAmount + the additional tax amounts (withholding is not deducted). Sent by the integrator, not calculated by the API.","format":"double","example":1350,"uniqueKey":"Data.Lines.items.[INDEX].AmountIncludingTax","typeLabel":"number\u003cdouble>"},"VatBase":{"type":"number","description":"VAT base of the line: AmountExcludingTax plus the additional taxes that are added to the VAT base. Sent by the integrator, not calculated by the API.","format":"double","example":1125,"uniqueKey":"Data.Lines.items.[INDEX].VatBase","typeLabel":"number\u003cdouble>"},"VatExemptionCode":{"oneOf":[{"type":"null","description":"VAT exemption code. At most 10 characters.","uniqueKey":"Data.Lines.items.[INDEX].VatExemptionCode.oneOf.0","typeLabel":"null"},{"type":"string","description":"VAT exemption code. At most 10 characters.","uniqueKey":"Data.Lines.items.[INDEX].VatExemptionCode.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.Lines.items.[INDEX].VatExemptionCode","typeLabel":"null | string"},"LineGroupName":{"oneOf":[{"type":"null","description":"Name of a line group from GET /api/v1/definitions/line-groups.","uniqueKey":"Data.Lines.items.[INDEX].LineGroupName.oneOf.0","typeLabel":"null"},{"type":"string","description":"Name of a line group from GET /api/v1/definitions/line-groups.","uniqueKey":"Data.Lines.items.[INDEX].LineGroupName.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.Lines.items.[INDEX].LineGroupName","typeLabel":"null | string"},"WarehouseName":{"oneOf":[{"type":"null","description":"Name of the warehouse from GET /api/v1/stock/warehouses. Required when the product tracks stock (StockType other than 1); the line then creates a stock movement. Ignored for a product that does not track stock (StockType 1): such a line never creates a stock movement.","example":"Main Warehouse","uniqueKey":"Data.Lines.items.[INDEX].WarehouseName.oneOf.0","typeLabel":"null"},{"type":"string","description":"Name of the warehouse from GET /api/v1/stock/warehouses. Required when the product tracks stock (StockType other than 1); the line then creates a stock movement. Ignored for a product that does not track stock (StockType 1): such a line never creates a stock movement.","example":"Main Warehouse","uniqueKey":"Data.Lines.items.[INDEX].WarehouseName.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.Lines.items.[INDEX].WarehouseName","typeLabel":"null | string"},"Description":{"oneOf":[{"type":"null","description":"Line description. At most 255 characters.","uniqueKey":"Data.Lines.items.[INDEX].Description.oneOf.0","typeLabel":"null"},{"type":"string","description":"Line description. At most 255 characters.","uniqueKey":"Data.Lines.items.[INDEX].Description.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.Lines.items.[INDEX].Description","typeLabel":"null | string"},"Description2":{"oneOf":[{"type":"null","description":"Second line description. At most 255 characters.","uniqueKey":"Data.Lines.items.[INDEX].Description2.oneOf.0","typeLabel":"null"},{"type":"string","description":"Second line description. At most 255 characters.","uniqueKey":"Data.Lines.items.[INDEX].Description2.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.Lines.items.[INDEX].Description2","typeLabel":"null | string"},"WithholdingCode":{"oneOf":[{"type":"null","description":"Withholding (tevkifat) code. At most 10 characters.","uniqueKey":"Data.Lines.items.[INDEX].WithholdingCode.oneOf.0","typeLabel":"null"},{"type":"string","description":"Withholding (tevkifat) code. At most 10 characters.","uniqueKey":"Data.Lines.items.[INDEX].WithholdingCode.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.Lines.items.[INDEX].WithholdingCode","typeLabel":"null | string"},"WithholdingNumerator":{"type":"integer","description":"Numerator of the withholding share (e.g. 9 in 9/10).","format":"int32","uniqueKey":"Data.Lines.items.[INDEX].WithholdingNumerator","typeLabel":"integer\u003cint32>"},"WithholdingDenominator":{"type":"integer","description":"Denominator of the withholding share (e.g. 10 in 9/10).","format":"int32","uniqueKey":"Data.Lines.items.[INDEX].WithholdingDenominator","typeLabel":"integer\u003cint32>"},"WithheldVatAmount":{"type":"number","description":"Withheld VAT amount: VatAmount × WithholdingNumerator / WithholdingDenominator, 0 without WithholdingCode. Sent by the integrator, not calculated by the API.","format":"double","uniqueKey":"Data.Lines.items.[INDEX].WithheldVatAmount","typeLabel":"number\u003cdouble>"},"AdditionalTaxes":{"type":"array","items":{"required":["Code"],"type":"object","properties":{"Code":{"oneOf":[{"type":"null","description":"Required. Additional tax code, one of the codes listed in the product overview (e.g. 0071 for ÖTV). A code can be used only once on a line.","example":"0071","isRequired":true,"uniqueKey":"Data.Lines.items.[INDEX].AdditionalTaxes.items.[INDEX].Code.oneOf.0","typeLabel":"null"},{"type":"string","description":"Required. Additional tax code, one of the codes listed in the product overview (e.g. 0071 for ÖTV). A code can be used only once on a line.","example":"0071","isRequired":true,"uniqueKey":"Data.Lines.items.[INDEX].AdditionalTaxes.items.[INDEX].Code.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"Data.Lines.items.[INDEX].AdditionalTaxes.items.[INDEX].Code","typeLabel":"null | string"},"Rate":{"type":"number","description":"Additional tax rate (%).","format":"double","example":25,"uniqueKey":"Data.Lines.items.[INDEX].AdditionalTaxes.items.[INDEX].Rate","typeLabel":"number\u003cdouble>"},"Amount":{"type":"number","description":"Additional tax amount. Sent by the integrator, not calculated by the API.","format":"double","example":225,"uniqueKey":"Data.Lines.items.[INDEX].AdditionalTaxes.items.[INDEX].Amount","typeLabel":"number\u003cdouble>"},"Base":{"type":"number","description":"Base of the additional tax. Sent by the integrator, not calculated by the API.","format":"double","example":900,"uniqueKey":"Data.Lines.items.[INDEX].AdditionalTaxes.items.[INDEX].Base","typeLabel":"number\u003cdouble>"}},"uniqueKey":"Data.Lines.items.[INDEX].AdditionalTaxes.items.[INDEX]","typeLabel":"object"},"description":"Additional taxes of the line (e.g. ÖTV), at most 3 entries; stored in list order as the line's additional tax 1, 2 and 3. Leave empty when the line has none.","uniqueKey":"Data.Lines.items.[INDEX].AdditionalTaxes","typeLabel":"object[]"},"Lots":{"type":"array","items":{"required":["LotNo","Quantity","UnitCode"],"type":"object","properties":{"LotNo":{"oneOf":[{"type":"null","description":"Required. Lot number, always provided by the integrator (the API does not generate it). Unique within the company. On a purchase-return/sales invoice for a Lot-tracked product (StockType 3) this identifies which existing lot to consume from.","isRequired":true,"uniqueKey":"Data.Lines.items.[INDEX].Lots.items.[INDEX].LotNo.oneOf.0","typeLabel":"null"},{"type":"string","description":"Required. Lot number, always provided by the integrator (the API does not generate it). Unique within the company. On a purchase-return/sales invoice for a Lot-tracked product (StockType 3) this identifies which existing lot to consume from.","isRequired":true,"uniqueKey":"Data.Lines.items.[INDEX].Lots.items.[INDEX].LotNo.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"Data.Lines.items.[INDEX].Lots.items.[INDEX].LotNo","typeLabel":"null | string"},"Quantity":{"type":"number","description":"Required. Quantity, in Unit. Must be greater than 0; the API applies the inbound/outbound sign internally.","format":"double","isRequired":true,"uniqueKey":"Data.Lines.items.[INDEX].Lots.items.[INDEX].Quantity","typeLabel":"number\u003cdouble>"},"UnitCode":{"oneOf":[{"type":"null","description":"Required. Unit code the Quantity is expressed in (one of the product's own units).","example":"C62","isRequired":true,"uniqueKey":"Data.Lines.items.[INDEX].Lots.items.[INDEX].UnitCode.oneOf.0","typeLabel":"null"},{"type":"string","description":"Required. Unit code the Quantity is expressed in (one of the product's own units).","example":"C62","isRequired":true,"uniqueKey":"Data.Lines.items.[INDEX].Lots.items.[INDEX].UnitCode.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"Data.Lines.items.[INDEX].Lots.items.[INDEX].UnitCode","typeLabel":"null | string"},"SupplierLotNo":{"oneOf":[{"type":"null","description":"Supplier's own lot number. Only used when this Lot entry is an inbound movement.","uniqueKey":"Data.Lines.items.[INDEX].Lots.items.[INDEX].SupplierLotNo.oneOf.0","typeLabel":"null"},{"type":"string","description":"Supplier's own lot number. Only used when this Lot entry is an inbound movement.","uniqueKey":"Data.Lines.items.[INDEX].Lots.items.[INDEX].SupplierLotNo.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.Lines.items.[INDEX].Lots.items.[INDEX].SupplierLotNo","typeLabel":"null | string"},"ExpiryDate":{"oneOf":[{"type":"null","description":"Expiry date. Only used when this Lot entry is an inbound movement.","format":"date-time","uniqueKey":"Data.Lines.items.[INDEX].Lots.items.[INDEX].ExpiryDate.oneOf.0","typeLabel":"null"},{"type":"string","description":"Expiry date. Only used when this Lot entry is an inbound movement.","format":"date-time","uniqueKey":"Data.Lines.items.[INDEX].Lots.items.[INDEX].ExpiryDate.oneOf.1","typeLabel":"string\u003cdate-time>"}],"uniqueKey":"Data.Lines.items.[INDEX].Lots.items.[INDEX].ExpiryDate","typeLabel":"null | string\u003cdate-time>"},"Description":{"oneOf":[{"type":"null","description":"Description. Only used when this Lot entry is an inbound movement. At most 100 characters.","uniqueKey":"Data.Lines.items.[INDEX].Lots.items.[INDEX].Description.oneOf.0","typeLabel":"null"},{"type":"string","description":"Description. Only used when this Lot entry is an inbound movement. At most 100 characters.","uniqueKey":"Data.Lines.items.[INDEX].Lots.items.[INDEX].Description.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.Lines.items.[INDEX].Lots.items.[INDEX].Description","typeLabel":"null | string"}},"uniqueKey":"Data.Lines.items.[INDEX].Lots.items.[INDEX]","typeLabel":"object"},"description":"Lot entries for a Lot-tracked product (the product's StockType is 3, 4, 6 or 7). Only used when WarehouseName is sent. Required when StockType is 3; required for an inbound movement (purchase/sales-return invoice) when StockType is 4, 6 or 7 and left empty for an outbound movement of those types (the API selects the lots automatically). Left empty when StockType is 1, 2 or 5. The sum of the quantities (converted to the product's main unit) must equal the line's main unit quantity.","uniqueKey":"Data.Lines.items.[INDEX].Lots","typeLabel":"object[]"},"SerialNumbers":{"type":"array","items":{"type":"string","uniqueKey":"Data.Lines.items.[INDEX].SerialNumbers.items.[INDEX]","typeLabel":"string"},"description":"Serial numbers for a serial-tracked product (StockType 5), one entry per unit. Only used when WarehouseName is sent. The count must equal Quantity.","uniqueKey":"Data.Lines.items.[INDEX].SerialNumbers","typeLabel":"string[]"},"ExportInfo":{"oneOf":[{"type":"null","uniqueKey":"Data.Lines.items.[INDEX].ExportInfo.oneOf.0","typeLabel":"null"},{"type":"object","description":"Export information for this line. Stored and returned as sent, not validated.","properties":{"PackagingType":{"oneOf":[{"type":"null","description":"Packaging type.","uniqueKey":"Data.Lines.items.[INDEX].ExportInfo.oneOf.1.PackagingType.oneOf.0","typeLabel":"null"},{"type":"string","description":"Packaging type.","uniqueKey":"Data.Lines.items.[INDEX].ExportInfo.oneOf.1.PackagingType.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.Lines.items.[INDEX].ExportInfo.oneOf.1.PackagingType","typeLabel":"null | string"},"DeliveryTerm":{"oneOf":[{"type":"null","description":"Delivery term code.","uniqueKey":"Data.Lines.items.[INDEX].ExportInfo.oneOf.1.DeliveryTerm.oneOf.0","typeLabel":"null"},{"type":"string","description":"Delivery term code.","uniqueKey":"Data.Lines.items.[INDEX].ExportInfo.oneOf.1.DeliveryTerm.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.Lines.items.[INDEX].ExportInfo.oneOf.1.DeliveryTerm","typeLabel":"null | string"},"TransportMode":{"oneOf":[{"type":"null","description":"Transport mode: 1 maritime, 2 rail, 3 road, 4 air.","format":"int32","uniqueKey":"Data.Lines.items.[INDEX].ExportInfo.oneOf.1.TransportMode.oneOf.0","typeLabel":"null"},{"type":"integer","description":"Transport mode: 1 maritime, 2 rail, 3 road, 4 air.","format":"int32","uniqueKey":"Data.Lines.items.[INDEX].ExportInfo.oneOf.1.TransportMode.oneOf.1","typeLabel":"integer\u003cint32>"}],"uniqueKey":"Data.Lines.items.[INDEX].ExportInfo.oneOf.1.TransportMode","typeLabel":"null | integer\u003cint32>"},"RequiredCustomsID":{"oneOf":[{"type":"null","description":"Required customs ID.","uniqueKey":"Data.Lines.items.[INDEX].ExportInfo.oneOf.1.RequiredCustomsID.oneOf.0","typeLabel":"null"},{"type":"string","description":"Required customs ID.","uniqueKey":"Data.Lines.items.[INDEX].ExportInfo.oneOf.1.RequiredCustomsID.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.Lines.items.[INDEX].ExportInfo.oneOf.1.RequiredCustomsID","typeLabel":"null | string"},"DeliveryAddress_CityName":{"oneOf":[{"type":"null","description":"Delivery address city.","uniqueKey":"Data.Lines.items.[INDEX].ExportInfo.oneOf.1.DeliveryAddress_CityName.oneOf.0","typeLabel":"null"},{"type":"string","description":"Delivery address city.","uniqueKey":"Data.Lines.items.[INDEX].ExportInfo.oneOf.1.DeliveryAddress_CityName.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.Lines.items.[INDEX].ExportInfo.oneOf.1.DeliveryAddress_CityName","typeLabel":"null | string"},"DeliveryAddress_CitySubdivisionName":{"oneOf":[{"type":"null","description":"Delivery address city subdivision (district).","uniqueKey":"Data.Lines.items.[INDEX].ExportInfo.oneOf.1.DeliveryAddress_CitySubdivisionName.oneOf.0","typeLabel":"null"},{"type":"string","description":"Delivery address city subdivision (district).","uniqueKey":"Data.Lines.items.[INDEX].ExportInfo.oneOf.1.DeliveryAddress_CitySubdivisionName.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.Lines.items.[INDEX].ExportInfo.oneOf.1.DeliveryAddress_CitySubdivisionName","typeLabel":"null | string"},"DeliveryAddress_Country":{"oneOf":[{"type":"null","description":"Delivery address country.","uniqueKey":"Data.Lines.items.[INDEX].ExportInfo.oneOf.1.DeliveryAddress_Country.oneOf.0","typeLabel":"null"},{"type":"string","description":"Delivery address country.","uniqueKey":"Data.Lines.items.[INDEX].ExportInfo.oneOf.1.DeliveryAddress_Country.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.Lines.items.[INDEX].ExportInfo.oneOf.1.DeliveryAddress_Country","typeLabel":"null | string"},"DeliveryAddress_StreetName":{"oneOf":[{"type":"null","description":"Delivery address street.","uniqueKey":"Data.Lines.items.[INDEX].ExportInfo.oneOf.1.DeliveryAddress_StreetName.oneOf.0","typeLabel":"null"},{"type":"string","description":"Delivery address street.","uniqueKey":"Data.Lines.items.[INDEX].ExportInfo.oneOf.1.DeliveryAddress_StreetName.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.Lines.items.[INDEX].ExportInfo.oneOf.1.DeliveryAddress_StreetName","typeLabel":"null | string"},"DeliveryAddress_BuildingName":{"oneOf":[{"type":"null","description":"Delivery address building name.","uniqueKey":"Data.Lines.items.[INDEX].ExportInfo.oneOf.1.DeliveryAddress_BuildingName.oneOf.0","typeLabel":"null"},{"type":"string","description":"Delivery address building name.","uniqueKey":"Data.Lines.items.[INDEX].ExportInfo.oneOf.1.DeliveryAddress_BuildingName.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.Lines.items.[INDEX].ExportInfo.oneOf.1.DeliveryAddress_BuildingName","typeLabel":"null | string"},"DeliveryAddress_BuildingNumber":{"oneOf":[{"type":"null","description":"Delivery address building number.","uniqueKey":"Data.Lines.items.[INDEX].ExportInfo.oneOf.1.DeliveryAddress_BuildingNumber.oneOf.0","typeLabel":"null"},{"type":"string","description":"Delivery address building number.","uniqueKey":"Data.Lines.items.[INDEX].ExportInfo.oneOf.1.DeliveryAddress_BuildingNumber.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.Lines.items.[INDEX].ExportInfo.oneOf.1.DeliveryAddress_BuildingNumber","typeLabel":"null | string"},"DeliveryAddress_PostalCode":{"oneOf":[{"type":"null","description":"Delivery address postal code.","uniqueKey":"Data.Lines.items.[INDEX].ExportInfo.oneOf.1.DeliveryAddress_PostalCode.oneOf.0","typeLabel":"null"},{"type":"string","description":"Delivery address postal code.","uniqueKey":"Data.Lines.items.[INDEX].ExportInfo.oneOf.1.DeliveryAddress_PostalCode.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.Lines.items.[INDEX].ExportInfo.oneOf.1.DeliveryAddress_PostalCode","typeLabel":"null | string"},"TransportMeansID":{"oneOf":[{"type":"null","description":"Transport means identifier.","uniqueKey":"Data.Lines.items.[INDEX].ExportInfo.oneOf.1.TransportMeansID.oneOf.0","typeLabel":"null"},{"type":"string","description":"Transport means identifier.","uniqueKey":"Data.Lines.items.[INDEX].ExportInfo.oneOf.1.TransportMeansID.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.Lines.items.[INDEX].ExportInfo.oneOf.1.TransportMeansID","typeLabel":"null | string"},"GrossWeightMeasure":{"oneOf":[{"type":"null","description":"Gross weight.","format":"double","uniqueKey":"Data.Lines.items.[INDEX].ExportInfo.oneOf.1.GrossWeightMeasure.oneOf.0","typeLabel":"null"},{"type":"number","description":"Gross weight.","format":"double","uniqueKey":"Data.Lines.items.[INDEX].ExportInfo.oneOf.1.GrossWeightMeasure.oneOf.1","typeLabel":"number\u003cdouble>"}],"uniqueKey":"Data.Lines.items.[INDEX].ExportInfo.oneOf.1.GrossWeightMeasure","typeLabel":"null | number\u003cdouble>"},"NetWeightMeasure":{"oneOf":[{"type":"null","description":"Net weight.","format":"double","uniqueKey":"Data.Lines.items.[INDEX].ExportInfo.oneOf.1.NetWeightMeasure.oneOf.0","typeLabel":"null"},{"type":"number","description":"Net weight.","format":"double","uniqueKey":"Data.Lines.items.[INDEX].ExportInfo.oneOf.1.NetWeightMeasure.oneOf.1","typeLabel":"number\u003cdouble>"}],"uniqueKey":"Data.Lines.items.[INDEX].ExportInfo.oneOf.1.NetWeightMeasure","typeLabel":"null | number\u003cdouble>"},"PackageBrand":{"oneOf":[{"type":"null","description":"Package brand.","uniqueKey":"Data.Lines.items.[INDEX].ExportInfo.oneOf.1.PackageBrand.oneOf.0","typeLabel":"null"},{"type":"string","description":"Package brand.","uniqueKey":"Data.Lines.items.[INDEX].ExportInfo.oneOf.1.PackageBrand.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.Lines.items.[INDEX].ExportInfo.oneOf.1.PackageBrand","typeLabel":"null | string"},"PackageID":{"oneOf":[{"type":"null","description":"Package ID.","uniqueKey":"Data.Lines.items.[INDEX].ExportInfo.oneOf.1.PackageID.oneOf.0","typeLabel":"null"},{"type":"string","description":"Package ID.","uniqueKey":"Data.Lines.items.[INDEX].ExportInfo.oneOf.1.PackageID.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.Lines.items.[INDEX].ExportInfo.oneOf.1.PackageID","typeLabel":"null | string"},"PackageQuantity":{"oneOf":[{"type":"null","description":"Package quantity.","format":"double","uniqueKey":"Data.Lines.items.[INDEX].ExportInfo.oneOf.1.PackageQuantity.oneOf.0","typeLabel":"null"},{"type":"number","description":"Package quantity.","format":"double","uniqueKey":"Data.Lines.items.[INDEX].ExportInfo.oneOf.1.PackageQuantity.oneOf.1","typeLabel":"number\u003cdouble>"}],"uniqueKey":"Data.Lines.items.[INDEX].ExportInfo.oneOf.1.PackageQuantity","typeLabel":"null | number\u003cdouble>"}},"uniqueKey":"Data.Lines.items.[INDEX].ExportInfo.oneOf.1","typeLabel":"object"}],"uniqueKey":"Data.Lines.items.[INDEX].ExportInfo","typeLabel":"null | object"},"MedicineDeviceInfo":{"oneOf":[{"type":"null","uniqueKey":"Data.Lines.items.[INDEX].MedicineDeviceInfo.oneOf.0","typeLabel":"null"},{"type":"object","description":"Pharmaceutical/medical device tracking information for this line. Stored and returned as sent, not validated.","properties":{"Ilaclar":{"oneOf":[{"type":"null","items":{"type":"object","properties":{"GTIN":{"oneOf":[{"type":"null","description":"GTIN (barcode)."},{"type":"string","description":"GTIN (barcode)."}]},"SN":{"oneOf":[{"type":"null","description":"Serial number."},{"type":"string","description":"Serial number."}]},"BN":{"oneOf":[{"type":"null","description":"Batch/lot number."},{"type":"string","description":"Batch/lot number."}]},"XD":{"oneOf":[{"type":"null","description":"Expiry date.","format":"date-time"},{"type":"string","description":"Expiry date.","format":"date-time"}]}}},"description":"Pharmaceutical product rows.","uniqueKey":"Data.Lines.items.[INDEX].MedicineDeviceInfo.oneOf.1.Ilaclar.oneOf.0","typeLabel":"null"},{"type":"array","items":{"type":"object","properties":{"GTIN":{"oneOf":[{"type":"null","description":"GTIN (barcode).","uniqueKey":"Data.Lines.items.[INDEX].MedicineDeviceInfo.oneOf.1.Ilaclar.oneOf.1.items.[INDEX].GTIN.oneOf.0","typeLabel":"null"},{"type":"string","description":"GTIN (barcode).","uniqueKey":"Data.Lines.items.[INDEX].MedicineDeviceInfo.oneOf.1.Ilaclar.oneOf.1.items.[INDEX].GTIN.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.Lines.items.[INDEX].MedicineDeviceInfo.oneOf.1.Ilaclar.oneOf.1.items.[INDEX].GTIN","typeLabel":"null | string"},"SN":{"oneOf":[{"type":"null","description":"Serial number.","uniqueKey":"Data.Lines.items.[INDEX].MedicineDeviceInfo.oneOf.1.Ilaclar.oneOf.1.items.[INDEX].SN.oneOf.0","typeLabel":"null"},{"type":"string","description":"Serial number.","uniqueKey":"Data.Lines.items.[INDEX].MedicineDeviceInfo.oneOf.1.Ilaclar.oneOf.1.items.[INDEX].SN.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.Lines.items.[INDEX].MedicineDeviceInfo.oneOf.1.Ilaclar.oneOf.1.items.[INDEX].SN","typeLabel":"null | string"},"BN":{"oneOf":[{"type":"null","description":"Batch/lot number.","uniqueKey":"Data.Lines.items.[INDEX].MedicineDeviceInfo.oneOf.1.Ilaclar.oneOf.1.items.[INDEX].BN.oneOf.0","typeLabel":"null"},{"type":"string","description":"Batch/lot number.","uniqueKey":"Data.Lines.items.[INDEX].MedicineDeviceInfo.oneOf.1.Ilaclar.oneOf.1.items.[INDEX].BN.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.Lines.items.[INDEX].MedicineDeviceInfo.oneOf.1.Ilaclar.oneOf.1.items.[INDEX].BN","typeLabel":"null | string"},"XD":{"oneOf":[{"type":"null","description":"Expiry date.","format":"date-time","uniqueKey":"Data.Lines.items.[INDEX].MedicineDeviceInfo.oneOf.1.Ilaclar.oneOf.1.items.[INDEX].XD.oneOf.0","typeLabel":"null"},{"type":"string","description":"Expiry date.","format":"date-time","uniqueKey":"Data.Lines.items.[INDEX].MedicineDeviceInfo.oneOf.1.Ilaclar.oneOf.1.items.[INDEX].XD.oneOf.1","typeLabel":"string\u003cdate-time>"}],"uniqueKey":"Data.Lines.items.[INDEX].MedicineDeviceInfo.oneOf.1.Ilaclar.oneOf.1.items.[INDEX].XD","typeLabel":"null | string\u003cdate-time>"}},"uniqueKey":"Data.Lines.items.[INDEX].MedicineDeviceInfo.oneOf.1.Ilaclar.oneOf.1.items.[INDEX]","typeLabel":"object"},"description":"Pharmaceutical product rows.","uniqueKey":"Data.Lines.items.[INDEX].MedicineDeviceInfo.oneOf.1.Ilaclar.oneOf.1","typeLabel":"object[]"}],"uniqueKey":"Data.Lines.items.[INDEX].MedicineDeviceInfo.oneOf.1.Ilaclar","typeLabel":"null | object[]"},"TibbiCihazlar":{"oneOf":[{"type":"null","items":{"type":"object","properties":{"UNO":{"oneOf":[{"type":"null","description":"UDI (unique device identifier)."},{"type":"string","description":"UDI (unique device identifier)."}]},"LNO":{"oneOf":[{"type":"null","description":"Lot number."},{"type":"string","description":"Lot number."}]},"SNO":{"oneOf":[{"type":"null","description":"Serial number."},{"type":"string","description":"Serial number."}]},"URT":{"oneOf":[{"type":"null","description":"Production/expiry-related date.","format":"date-time"},{"type":"string","description":"Production/expiry-related date.","format":"date-time"}]}}},"description":"Medical device rows.","uniqueKey":"Data.Lines.items.[INDEX].MedicineDeviceInfo.oneOf.1.TibbiCihazlar.oneOf.0","typeLabel":"null"},{"type":"array","items":{"type":"object","properties":{"UNO":{"oneOf":[{"type":"null","description":"UDI (unique device identifier).","uniqueKey":"Data.Lines.items.[INDEX].MedicineDeviceInfo.oneOf.1.TibbiCihazlar.oneOf.1.items.[INDEX].UNO.oneOf.0","typeLabel":"null"},{"type":"string","description":"UDI (unique device identifier).","uniqueKey":"Data.Lines.items.[INDEX].MedicineDeviceInfo.oneOf.1.TibbiCihazlar.oneOf.1.items.[INDEX].UNO.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.Lines.items.[INDEX].MedicineDeviceInfo.oneOf.1.TibbiCihazlar.oneOf.1.items.[INDEX].UNO","typeLabel":"null | string"},"LNO":{"oneOf":[{"type":"null","description":"Lot number.","uniqueKey":"Data.Lines.items.[INDEX].MedicineDeviceInfo.oneOf.1.TibbiCihazlar.oneOf.1.items.[INDEX].LNO.oneOf.0","typeLabel":"null"},{"type":"string","description":"Lot number.","uniqueKey":"Data.Lines.items.[INDEX].MedicineDeviceInfo.oneOf.1.TibbiCihazlar.oneOf.1.items.[INDEX].LNO.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.Lines.items.[INDEX].MedicineDeviceInfo.oneOf.1.TibbiCihazlar.oneOf.1.items.[INDEX].LNO","typeLabel":"null | string"},"SNO":{"oneOf":[{"type":"null","description":"Serial number.","uniqueKey":"Data.Lines.items.[INDEX].MedicineDeviceInfo.oneOf.1.TibbiCihazlar.oneOf.1.items.[INDEX].SNO.oneOf.0","typeLabel":"null"},{"type":"string","description":"Serial number.","uniqueKey":"Data.Lines.items.[INDEX].MedicineDeviceInfo.oneOf.1.TibbiCihazlar.oneOf.1.items.[INDEX].SNO.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.Lines.items.[INDEX].MedicineDeviceInfo.oneOf.1.TibbiCihazlar.oneOf.1.items.[INDEX].SNO","typeLabel":"null | string"},"URT":{"oneOf":[{"type":"null","description":"Production/expiry-related date.","format":"date-time","uniqueKey":"Data.Lines.items.[INDEX].MedicineDeviceInfo.oneOf.1.TibbiCihazlar.oneOf.1.items.[INDEX].URT.oneOf.0","typeLabel":"null"},{"type":"string","description":"Production/expiry-related date.","format":"date-time","uniqueKey":"Data.Lines.items.[INDEX].MedicineDeviceInfo.oneOf.1.TibbiCihazlar.oneOf.1.items.[INDEX].URT.oneOf.1","typeLabel":"string\u003cdate-time>"}],"uniqueKey":"Data.Lines.items.[INDEX].MedicineDeviceInfo.oneOf.1.TibbiCihazlar.oneOf.1.items.[INDEX].URT","typeLabel":"null | string\u003cdate-time>"}},"uniqueKey":"Data.Lines.items.[INDEX].MedicineDeviceInfo.oneOf.1.TibbiCihazlar.oneOf.1.items.[INDEX]","typeLabel":"object"},"description":"Medical device rows.","uniqueKey":"Data.Lines.items.[INDEX].MedicineDeviceInfo.oneOf.1.TibbiCihazlar.oneOf.1","typeLabel":"object[]"}],"uniqueKey":"Data.Lines.items.[INDEX].MedicineDeviceInfo.oneOf.1.TibbiCihazlar","typeLabel":"null | object[]"}},"uniqueKey":"Data.Lines.items.[INDEX].MedicineDeviceInfo.oneOf.1","typeLabel":"object"}],"uniqueKey":"Data.Lines.items.[INDEX].MedicineDeviceInfo","typeLabel":"null | object"},"HalInfo":{"oneOf":[{"type":"null","uniqueKey":"Data.Lines.items.[INDEX].HalInfo.oneOf.0","typeLabel":"null"},{"type":"object","description":"Hal (wholesale produce market) information for this line. Stored and returned as sent, not validated.","properties":{"KUNYENO":{"oneOf":[{"type":"null","description":"Hal receipt number (Künye No).","uniqueKey":"Data.Lines.items.[INDEX].HalInfo.oneOf.1.KUNYENO.oneOf.0","typeLabel":"null"},{"type":"string","description":"Hal receipt number (Künye No).","uniqueKey":"Data.Lines.items.[INDEX].HalInfo.oneOf.1.KUNYENO.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.Lines.items.[INDEX].HalInfo.oneOf.1.KUNYENO","typeLabel":"null | string"},"MALSAHIBIVKNTCKN":{"oneOf":[{"type":"null","description":"Goods owner's tax/ID number.","uniqueKey":"Data.Lines.items.[INDEX].HalInfo.oneOf.1.MALSAHIBIVKNTCKN.oneOf.0","typeLabel":"null"},{"type":"string","description":"Goods owner's tax/ID number.","uniqueKey":"Data.Lines.items.[INDEX].HalInfo.oneOf.1.MALSAHIBIVKNTCKN.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.Lines.items.[INDEX].HalInfo.oneOf.1.MALSAHIBIVKNTCKN","typeLabel":"null | string"},"MALSAHIBIADSOYADUNVAN":{"oneOf":[{"type":"null","description":"Goods owner's name/title.","uniqueKey":"Data.Lines.items.[INDEX].HalInfo.oneOf.1.MALSAHIBIADSOYADUNVAN.oneOf.0","typeLabel":"null"},{"type":"string","description":"Goods owner's name/title.","uniqueKey":"Data.Lines.items.[INDEX].HalInfo.oneOf.1.MALSAHIBIADSOYADUNVAN.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.Lines.items.[INDEX].HalInfo.oneOf.1.MALSAHIBIADSOYADUNVAN","typeLabel":"null | string"}},"uniqueKey":"Data.Lines.items.[INDEX].HalInfo.oneOf.1","typeLabel":"object"}],"uniqueKey":"Data.Lines.items.[INDEX].HalInfo","typeLabel":"null | object"},"ProductInfo":{"oneOf":[{"type":"null","uniqueKey":"Data.Lines.items.[INDEX].ProductInfo.oneOf.0","typeLabel":"null"},{"type":"object","description":"Extra product information for this line. Stored and returned as sent, not validated.","properties":{"ModelName":{"oneOf":[{"type":"null","description":"Model name.","uniqueKey":"Data.Lines.items.[INDEX].ProductInfo.oneOf.1.ModelName.oneOf.0","typeLabel":"null"},{"type":"string","description":"Model name.","uniqueKey":"Data.Lines.items.[INDEX].ProductInfo.oneOf.1.ModelName.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.Lines.items.[INDEX].ProductInfo.oneOf.1.ModelName","typeLabel":"null | string"},"BrandName":{"oneOf":[{"type":"null","description":"Brand name.","uniqueKey":"Data.Lines.items.[INDEX].ProductInfo.oneOf.1.BrandName.oneOf.0","typeLabel":"null"},{"type":"string","description":"Brand name.","uniqueKey":"Data.Lines.items.[INDEX].ProductInfo.oneOf.1.BrandName.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.Lines.items.[INDEX].ProductInfo.oneOf.1.BrandName","typeLabel":"null | string"},"SellersItemIdentification":{"oneOf":[{"type":"null","description":"Seller's own item identification.","uniqueKey":"Data.Lines.items.[INDEX].ProductInfo.oneOf.1.SellersItemIdentification.oneOf.0","typeLabel":"null"},{"type":"string","description":"Seller's own item identification.","uniqueKey":"Data.Lines.items.[INDEX].ProductInfo.oneOf.1.SellersItemIdentification.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.Lines.items.[INDEX].ProductInfo.oneOf.1.SellersItemIdentification","typeLabel":"null | string"},"BuyersItemIdentification":{"oneOf":[{"type":"null","description":"Buyer's own item identification.","uniqueKey":"Data.Lines.items.[INDEX].ProductInfo.oneOf.1.BuyersItemIdentification.oneOf.0","typeLabel":"null"},{"type":"string","description":"Buyer's own item identification.","uniqueKey":"Data.Lines.items.[INDEX].ProductInfo.oneOf.1.BuyersItemIdentification.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.Lines.items.[INDEX].ProductInfo.oneOf.1.BuyersItemIdentification","typeLabel":"null | string"},"ManufacturersItemIdentification":{"oneOf":[{"type":"null","description":"Manufacturer's own item identification.","uniqueKey":"Data.Lines.items.[INDEX].ProductInfo.oneOf.1.ManufacturersItemIdentification.oneOf.0","typeLabel":"null"},{"type":"string","description":"Manufacturer's own item identification.","uniqueKey":"Data.Lines.items.[INDEX].ProductInfo.oneOf.1.ManufacturersItemIdentification.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.Lines.items.[INDEX].ProductInfo.oneOf.1.ManufacturersItemIdentification","typeLabel":"null | string"},"OriginCountryCode":{"oneOf":[{"type":"null","description":"Origin country code.","uniqueKey":"Data.Lines.items.[INDEX].ProductInfo.oneOf.1.OriginCountryCode.oneOf.0","typeLabel":"null"},{"type":"string","description":"Origin country code.","uniqueKey":"Data.Lines.items.[INDEX].ProductInfo.oneOf.1.OriginCountryCode.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.Lines.items.[INDEX].ProductInfo.oneOf.1.OriginCountryCode","typeLabel":"null | string"},"OriginCountryName":{"oneOf":[{"type":"null","description":"Origin country name.","uniqueKey":"Data.Lines.items.[INDEX].ProductInfo.oneOf.1.OriginCountryName.oneOf.0","typeLabel":"null"},{"type":"string","description":"Origin country name.","uniqueKey":"Data.Lines.items.[INDEX].ProductInfo.oneOf.1.OriginCountryName.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.Lines.items.[INDEX].ProductInfo.oneOf.1.OriginCountryName","typeLabel":"null | string"},"ProductTraceID":{"oneOf":[{"type":"null","description":"Product trace ID (investment incentive invoices).","uniqueKey":"Data.Lines.items.[INDEX].ProductInfo.oneOf.1.ProductTraceID.oneOf.0","typeLabel":"null"},{"type":"string","description":"Product trace ID (investment incentive invoices).","uniqueKey":"Data.Lines.items.[INDEX].ProductInfo.oneOf.1.ProductTraceID.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.Lines.items.[INDEX].ProductInfo.oneOf.1.ProductTraceID","typeLabel":"null | string"},"CommodityClassification":{"oneOf":[{"type":"null","description":"Commodity classification code (investment incentive invoices).","uniqueKey":"Data.Lines.items.[INDEX].ProductInfo.oneOf.1.CommodityClassification.oneOf.0","typeLabel":"null"},{"type":"string","description":"Commodity classification code (investment incentive invoices).","uniqueKey":"Data.Lines.items.[INDEX].ProductInfo.oneOf.1.CommodityClassification.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.Lines.items.[INDEX].ProductInfo.oneOf.1.CommodityClassification","typeLabel":"null | string"}},"uniqueKey":"Data.Lines.items.[INDEX].ProductInfo.oneOf.1","typeLabel":"object"}],"uniqueKey":"Data.Lines.items.[INDEX].ProductInfo","typeLabel":"null | object"}},"uniqueKey":"Data.Lines.items.[INDEX]","typeLabel":"object"},"description":"Invoice lines, in line order.","uniqueKey":"Data.Lines","typeLabel":"object[]"}},"description":"Response data. Null when Success is false.","isRequired":true,"uniqueKey":"Data","typeLabel":"object"},"Message":{"oneOf":[{"type":"null","description":"Error message when Success is false. Messages of all errors are joined into a single text.","uniqueKey":"Message.oneOf.0","typeLabel":"null"},{"type":"string","description":"Error message when Success is false. Messages of all errors are joined into a single text.","uniqueKey":"Message.oneOf.1","typeLabel":"string"}],"uniqueKey":"Message","typeLabel":"null | string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"Success":true,"ResultCode":"0000","Data":{"Id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","CustomerId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","CurrencyId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","CustomerName":"\u003cstring>","Cancelled":true,"CurrencyCode":"TRY","ShipmentDefinitionId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","Address":"\u003cstring>","CustomerTitle":"\u003cstring>","TaxNumber":"\u003cstring>","TaxOffice":"\u003cstring>","EInvoiceType":2,"InvoiceNumber":"FAT2026000125","DocumentNumber":"\u003cstring>","Date":"2026-09-21T10:30:00","Description":"\u003cstring>","CustomerCode":"C-0001","DueDays":123,"SharingCode":"\u003cstring>","ShipmentDefinitionCode":"\u003cstring>","DiscountTotal":100,"SubTotal":900,"VatTotal":225,"GrandTotal":1350,"Consolidated":true,"PrintDescription":true,"ApplyWithholding":true,"WithholdingCode":"\u003cstring>","WithholdingNumerator":123,"WithholdingDenominator":123,"WithholdingTotal":0,"AdditionalTaxTotal":225,"ProfileId":"\u003cstring>","InvoiceTypeCode":"\u003cstring>","WithholdingTaxRate":123,"SocialSecurityRate":123,"MarketRate":123,"ReturnedInvoiceNumber":"\u003cstring>","ReturnedInvoiceDate":"2026-10-15","OrderReferenceNumber":"\u003cstring>","OrderReferenceDate":"2026-10-15","BranchNumber":"\u003cstring>","BranchTitle":"\u003cstring>","BranchAddress":"\u003cstring>","InvestmentIncentiveDocumentNumber":"\u003cstring>","InvestmentIncentiveDocumentDate":"2026-10-15","EnergyPeriodStart":"2023-11-07T05:31:56Z","EnergyPeriodEnd":"2023-11-07T05:31:56Z","DeliveryInfo":{"DeliveryTerm":"\u003cstring>","TransportModeCode":123,"Country":"\u003cstring>","CityName":"\u003cstring>","CitySubdivisionName":"\u003cstring>","StreetName":"\u003cstring>","BuildingName":"\u003cstring>","BuildingNumber":"\u003cstring>","PostalZone":"\u003cstring>","TransportMeans":"\u003cstring>","DeclaredForCarriageValueAmount":123,"DeliveryInsuranceValue":123},"PaymentMeans":[{"PaymentMeansCode":"\u003cstring>","PayeeFinancialAccountID":"\u003cstring>","CurrencyCode":"\u003cstring>"}],"ReferencedDespatches":[{"ID":"\u003cstring>","IssueDate":"2023-11-07T05:31:56Z"}],"CustomerIdentitySchemes":[{"SchemeID":"\u003cstring>","Value":"\u003cstring>"}],"PublicSectorSpendingUnit":{"BCP_Name":"\u003cstring>","BCP_VKN":"\u003cstring>","BCP_Country":"\u003cstring>","BCP_CityName":"\u003cstring>","BCP_CitySubdivisionName":"\u003cstring>"},"SgkInfo":{"StartDate":"2023-11-07T05:31:56Z","EndDate":"2023-11-07T05:31:56Z","MukellefKodu":"\u003cstring>","MukellefAdi":"\u003cstring>","DosyaNo":"\u003cstring>","FaturaAltTipi":"\u003cstring>"},"AverageExchangeRate":1,"CreateDate":"2023-11-07T05:31:56Z","ModifyDate":"2023-11-07T05:31:56Z","Lines":[{"ProductId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","UnitId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","CurrencyId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","LineGroupId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","WarehouseId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","ProductName":"\u003cstring>","UnitName":"ADET","MainUnitQuantity":10,"ProductCode":"URN-0001","ECommerceProductCode":null,"UnitCode":"C62","Quantity":10,"UnitPrice":100,"GrossAmount":1000,"CurrencyCode":"TRY","ExchangeRate":1,"DiscountRate":10,"DiscountAmount":100,"Discounts":[{"Rate":10}],"VatRate":20,"VatIncluded":true,"VatAmount":225,"AmountExcludingTax":900,"AmountIncludingTax":1350,"VatBase":1125,"VatExemptionCode":"\u003cstring>","LineGroupName":"\u003cstring>","WarehouseName":"Main Warehouse","Description":"\u003cstring>","Description2":"\u003cstring>","WithholdingCode":"\u003cstring>","WithholdingNumerator":123,"WithholdingDenominator":123,"WithheldVatAmount":123,"AdditionalTaxes":[{"Code":"0071","Rate":25,"Amount":225,"Base":900}],"Lots":[{"LotNo":"\u003cstring>","Quantity":123,"UnitCode":"C62","SupplierLotNo":"\u003cstring>","ExpiryDate":"2023-11-07T05:31:56Z","Description":"\u003cstring>"}],"SerialNumbers":["\u003cstring>"],"ExportInfo":{"PackagingType":"\u003cstring>","DeliveryTerm":"\u003cstring>","TransportMode":123,"RequiredCustomsID":"\u003cstring>","DeliveryAddress_CityName":"\u003cstring>","DeliveryAddress_CitySubdivisionName":"\u003cstring>","DeliveryAddress_Country":"\u003cstring>","DeliveryAddress_StreetName":"\u003cstring>","DeliveryAddress_BuildingName":"\u003cstring>","DeliveryAddress_BuildingNumber":"\u003cstring>","DeliveryAddress_PostalCode":"\u003cstring>","TransportMeansID":"\u003cstring>","GrossWeightMeasure":123,"NetWeightMeasure":123,"PackageBrand":"\u003cstring>","PackageID":"\u003cstring>","PackageQuantity":123},"MedicineDeviceInfo":{"Ilaclar":[{"GTIN":"\u003cstring>","SN":"\u003cstring>","BN":"\u003cstring>","XD":"2023-11-07T05:31:56Z"}],"TibbiCihazlar":[{"UNO":"\u003cstring>","LNO":"\u003cstring>","SNO":"\u003cstring>","URT":"2023-11-07T05:31:56Z"}]},"HalInfo":{"KUNYENO":"\u003cstring>","MALSAHIBIVKNTCKN":"\u003cstring>","MALSAHIBIADSOYADUNVAN":"\u003cstring>"},"ProductInfo":{"ModelName":"\u003cstring>","BrandName":"\u003cstring>","SellersItemIdentification":"\u003cstring>","BuyersItemIdentification":"\u003cstring>","ManufacturersItemIdentification":"\u003cstring>","OriginCountryCode":"\u003cstring>","OriginCountryName":"\u003cstring>","ProductTraceID":"\u003cstring>","CommodityClassification":"\u003cstring>"}}]},"Message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"71d3ad7d-1a9a-446d-9645-6f1252134e1d":{"description":"Bad Request","content":{"application/json":{"schema":{"type":"object","properties":{"Success":{"type":"boolean","description":"Whether the operation succeeded.","example":false,"uniqueKey":"Success","typeLabel":"boolean"},"ResultCode":{"oneOf":[{"type":"null","description":"\"0000\" on success. On failure, the code of the first error; all errors are listed in Errors.","uniqueKey":"ResultCode.oneOf.0","typeLabel":"null"},{"type":"string","description":"\"0000\" on success. On failure, the code of the first error; all errors are listed in Errors.","uniqueKey":"ResultCode.oneOf.1","typeLabel":"string"}],"uniqueKey":"ResultCode","typeLabel":"null | string"},"Message":{"oneOf":[{"type":"null","description":"Error message when Success is false. Messages of all errors are joined into a single text.","uniqueKey":"Message.oneOf.0","typeLabel":"null"},{"type":"string","description":"Error message when Success is false. Messages of all errors are joined into a single text.","uniqueKey":"Message.oneOf.1","typeLabel":"string"}],"uniqueKey":"Message","typeLabel":"null | string"},"TraceId":{"oneOf":[{"type":"null","description":"Support reference of an unexpected server error (ResultCode 0001). Share it with Noyax support so the error can be found. Only present on 500 responses.","uniqueKey":"TraceId.oneOf.0","typeLabel":"null"},{"type":"string","description":"Support reference of an unexpected server error (ResultCode 0001). Share it with Noyax support so the error can be found. Only present on 500 responses.","uniqueKey":"TraceId.oneOf.1","typeLabel":"string"}],"uniqueKey":"TraceId","typeLabel":"null | string"},"Errors":{"oneOf":[{"type":"null","items":{"required":["Code","Message"],"type":"object","properties":{"Code":{"type":"string","description":"Error code. See the result codes page for the full list."},"Message":{"type":"string","description":"Error description."}}},"description":"All errors with their codes. Only present when Success is false.","uniqueKey":"Errors.oneOf.0","typeLabel":"null"},{"type":"array","items":{"required":["Code","Message"],"type":"object","properties":{"Code":{"type":"string","description":"Error code. See the result codes page for the full list.","isRequired":true,"uniqueKey":"Errors.oneOf.1.items.[INDEX].Code","typeLabel":"string"},"Message":{"type":"string","description":"Error description.","isRequired":true,"uniqueKey":"Errors.oneOf.1.items.[INDEX].Message","typeLabel":"string"}},"uniqueKey":"Errors.oneOf.1.items.[INDEX]","typeLabel":"object"},"description":"All errors with their codes. Only present when Success is false.","uniqueKey":"Errors.oneOf.1","typeLabel":"object[]"}],"uniqueKey":"Errors","typeLabel":"null | object[]"},"ExistingId":{"oneOf":[{"type":"null","description":"ID of the record that already exists, when the error is a duplicate (for example 1002: the customer that already uses the CustomerCode). Only present on such errors.","format":"uuid","uniqueKey":"ExistingId.oneOf.0","typeLabel":"null"},{"type":"string","description":"ID of the record that already exists, when the error is a duplicate (for example 1002: the customer that already uses the CustomerCode). Only present on such errors.","format":"uuid","uniqueKey":"ExistingId.oneOf.1","typeLabel":"string\u003cuuid>"}],"uniqueKey":"ExistingId","typeLabel":"null | string\u003cuuid>"}},"uniqueKey":"","typeLabel":"object"},"example":{"Success":false,"ResultCode":"0201","Message":"X-UserID header is required.","Errors":[{"Code":"0201","Message":"X-UserID header is required."}]},"examples":{"Example":{"title":"Example","value":{"Success":false,"ResultCode":"0201","Message":"X-UserID header is required.","Errors":[{"Code":"0201","Message":"X-UserID header is required."}]}}},"exampleType":"examples"}},"exampleType":"examples"},"55ef3a66-c5e3-49a3-8fb7-7afe0c2a9452":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"Success":{"type":"boolean","description":"Whether the operation succeeded.","example":false,"uniqueKey":"Success","typeLabel":"boolean"},"ResultCode":{"oneOf":[{"type":"null","description":"\"0000\" on success. On failure, the code of the first error; all errors are listed in Errors.","uniqueKey":"ResultCode.oneOf.0","typeLabel":"null"},{"type":"string","description":"\"0000\" on success. On failure, the code of the first error; all errors are listed in Errors.","uniqueKey":"ResultCode.oneOf.1","typeLabel":"string"}],"uniqueKey":"ResultCode","typeLabel":"null | string"},"Message":{"oneOf":[{"type":"null","description":"Error message when Success is false. Messages of all errors are joined into a single text.","uniqueKey":"Message.oneOf.0","typeLabel":"null"},{"type":"string","description":"Error message when Success is false. Messages of all errors are joined into a single text.","uniqueKey":"Message.oneOf.1","typeLabel":"string"}],"uniqueKey":"Message","typeLabel":"null | string"},"TraceId":{"oneOf":[{"type":"null","description":"Support reference of an unexpected server error (ResultCode 0001). Share it with Noyax support so the error can be found. Only present on 500 responses.","uniqueKey":"TraceId.oneOf.0","typeLabel":"null"},{"type":"string","description":"Support reference of an unexpected server error (ResultCode 0001). Share it with Noyax support so the error can be found. Only present on 500 responses.","uniqueKey":"TraceId.oneOf.1","typeLabel":"string"}],"uniqueKey":"TraceId","typeLabel":"null | string"},"Errors":{"oneOf":[{"type":"null","items":{"required":["Code","Message"],"type":"object","properties":{"Code":{"type":"string","description":"Error code. See the result codes page for the full list."},"Message":{"type":"string","description":"Error description."}}},"description":"All errors with their codes. Only present when Success is false.","uniqueKey":"Errors.oneOf.0","typeLabel":"null"},{"type":"array","items":{"required":["Code","Message"],"type":"object","properties":{"Code":{"type":"string","description":"Error code. See the result codes page for the full list.","isRequired":true,"uniqueKey":"Errors.oneOf.1.items.[INDEX].Code","typeLabel":"string"},"Message":{"type":"string","description":"Error description.","isRequired":true,"uniqueKey":"Errors.oneOf.1.items.[INDEX].Message","typeLabel":"string"}},"uniqueKey":"Errors.oneOf.1.items.[INDEX]","typeLabel":"object"},"description":"All errors with their codes. Only present when Success is false.","uniqueKey":"Errors.oneOf.1","typeLabel":"object[]"}],"uniqueKey":"Errors","typeLabel":"null | object[]"},"ExistingId":{"oneOf":[{"type":"null","description":"ID of the record that already exists, when the error is a duplicate (for example 1002: the customer that already uses the CustomerCode). Only present on such errors.","format":"uuid","uniqueKey":"ExistingId.oneOf.0","typeLabel":"null"},{"type":"string","description":"ID of the record that already exists, when the error is a duplicate (for example 1002: the customer that already uses the CustomerCode). Only present on such errors.","format":"uuid","uniqueKey":"ExistingId.oneOf.1","typeLabel":"string\u003cuuid>"}],"uniqueKey":"ExistingId","typeLabel":"null | string\u003cuuid>"}},"uniqueKey":"","typeLabel":"object"},"example":{"Success":false,"ResultCode":"0102","Message":"Token has expired. Obtain a new token using the refresh token.","Errors":[{"Code":"0102","Message":"Token has expired. Obtain a new token using the refresh token."}]},"examples":{"Example":{"title":"Example","value":{"Success":false,"ResultCode":"0102","Message":"Token has expired. Obtain a new token using the refresh token.","Errors":[{"Code":"0102","Message":"Token has expired. Obtain a new token using the refresh token."}]}}},"exampleType":"examples"}},"exampleType":"examples"},"c78b5a73-d36f-44d5-985a-2bb6a3646cb9":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"Success":{"type":"boolean","description":"Whether the operation succeeded.","example":false,"uniqueKey":"Success","typeLabel":"boolean"},"ResultCode":{"oneOf":[{"type":"null","description":"\"0000\" on success. On failure, the code of the first error; all errors are listed in Errors.","uniqueKey":"ResultCode.oneOf.0","typeLabel":"null"},{"type":"string","description":"\"0000\" on success. On failure, the code of the first error; all errors are listed in Errors.","uniqueKey":"ResultCode.oneOf.1","typeLabel":"string"}],"uniqueKey":"ResultCode","typeLabel":"null | string"},"Message":{"oneOf":[{"type":"null","description":"Error message when Success is false. Messages of all errors are joined into a single text.","uniqueKey":"Message.oneOf.0","typeLabel":"null"},{"type":"string","description":"Error message when Success is false. Messages of all errors are joined into a single text.","uniqueKey":"Message.oneOf.1","typeLabel":"string"}],"uniqueKey":"Message","typeLabel":"null | string"},"TraceId":{"oneOf":[{"type":"null","description":"Support reference of an unexpected server error (ResultCode 0001). Share it with Noyax support so the error can be found. Only present on 500 responses.","uniqueKey":"TraceId.oneOf.0","typeLabel":"null"},{"type":"string","description":"Support reference of an unexpected server error (ResultCode 0001). Share it with Noyax support so the error can be found. Only present on 500 responses.","uniqueKey":"TraceId.oneOf.1","typeLabel":"string"}],"uniqueKey":"TraceId","typeLabel":"null | string"},"Errors":{"oneOf":[{"type":"null","items":{"required":["Code","Message"],"type":"object","properties":{"Code":{"type":"string","description":"Error code. See the result codes page for the full list."},"Message":{"type":"string","description":"Error description."}}},"description":"All errors with their codes. Only present when Success is false.","uniqueKey":"Errors.oneOf.0","typeLabel":"null"},{"type":"array","items":{"required":["Code","Message"],"type":"object","properties":{"Code":{"type":"string","description":"Error code. See the result codes page for the full list.","isRequired":true,"uniqueKey":"Errors.oneOf.1.items.[INDEX].Code","typeLabel":"string"},"Message":{"type":"string","description":"Error description.","isRequired":true,"uniqueKey":"Errors.oneOf.1.items.[INDEX].Message","typeLabel":"string"}},"uniqueKey":"Errors.oneOf.1.items.[INDEX]","typeLabel":"object"},"description":"All errors with their codes. Only present when Success is false.","uniqueKey":"Errors.oneOf.1","typeLabel":"object[]"}],"uniqueKey":"Errors","typeLabel":"null | object[]"},"ExistingId":{"oneOf":[{"type":"null","description":"ID of the record that already exists, when the error is a duplicate (for example 1002: the customer that already uses the CustomerCode). Only present on such errors.","format":"uuid","uniqueKey":"ExistingId.oneOf.0","typeLabel":"null"},{"type":"string","description":"ID of the record that already exists, when the error is a duplicate (for example 1002: the customer that already uses the CustomerCode). Only present on such errors.","format":"uuid","uniqueKey":"ExistingId.oneOf.1","typeLabel":"string\u003cuuid>"}],"uniqueKey":"ExistingId","typeLabel":"null | string\u003cuuid>"}},"uniqueKey":"","typeLabel":"object"},"example":{"Success":false,"ResultCode":"0110","Message":"You do not have permission for this operation.","Errors":[{"Code":"0110","Message":"You do not have permission for this operation."}]},"examples":{"Example":{"title":"Example","value":{"Success":false,"ResultCode":"0110","Message":"You do not have permission for this operation.","Errors":[{"Code":"0110","Message":"You do not have permission for this operation."}]}}},"exampleType":"examples"}},"exampleType":"examples"},"ff59e090-d6f5-41cf-8499-88e477f82c51":{"description":"Not Found","content":{"application/json":{"schema":{"type":"object","properties":{"Success":{"type":"boolean","description":"Whether the operation succeeded.","example":false,"uniqueKey":"Success","typeLabel":"boolean"},"ResultCode":{"oneOf":[{"type":"null","description":"\"0000\" on success. On failure, the code of the first error; all errors are listed in Errors.","uniqueKey":"ResultCode.oneOf.0","typeLabel":"null"},{"type":"string","description":"\"0000\" on success. On failure, the code of the first error; all errors are listed in Errors.","uniqueKey":"ResultCode.oneOf.1","typeLabel":"string"}],"uniqueKey":"ResultCode","typeLabel":"null | string"},"Message":{"oneOf":[{"type":"null","description":"Error message when Success is false. Messages of all errors are joined into a single text.","uniqueKey":"Message.oneOf.0","typeLabel":"null"},{"type":"string","description":"Error message when Success is false. Messages of all errors are joined into a single text.","uniqueKey":"Message.oneOf.1","typeLabel":"string"}],"uniqueKey":"Message","typeLabel":"null | string"},"TraceId":{"oneOf":[{"type":"null","description":"Support reference of an unexpected server error (ResultCode 0001). Share it with Noyax support so the error can be found. Only present on 500 responses.","uniqueKey":"TraceId.oneOf.0","typeLabel":"null"},{"type":"string","description":"Support reference of an unexpected server error (ResultCode 0001). Share it with Noyax support so the error can be found. Only present on 500 responses.","uniqueKey":"TraceId.oneOf.1","typeLabel":"string"}],"uniqueKey":"TraceId","typeLabel":"null | string"},"Errors":{"oneOf":[{"type":"null","items":{"required":["Code","Message"],"type":"object","properties":{"Code":{"type":"string","description":"Error code. See the result codes page for the full list."},"Message":{"type":"string","description":"Error description."}}},"description":"All errors with their codes. Only present when Success is false.","uniqueKey":"Errors.oneOf.0","typeLabel":"null"},{"type":"array","items":{"required":["Code","Message"],"type":"object","properties":{"Code":{"type":"string","description":"Error code. See the result codes page for the full list.","isRequired":true,"uniqueKey":"Errors.oneOf.1.items.[INDEX].Code","typeLabel":"string"},"Message":{"type":"string","description":"Error description.","isRequired":true,"uniqueKey":"Errors.oneOf.1.items.[INDEX].Message","typeLabel":"string"}},"uniqueKey":"Errors.oneOf.1.items.[INDEX]","typeLabel":"object"},"description":"All errors with their codes. Only present when Success is false.","uniqueKey":"Errors.oneOf.1","typeLabel":"object[]"}],"uniqueKey":"Errors","typeLabel":"null | object[]"},"ExistingId":{"oneOf":[{"type":"null","description":"ID of the record that already exists, when the error is a duplicate (for example 1002: the customer that already uses the CustomerCode). Only present on such errors.","format":"uuid","uniqueKey":"ExistingId.oneOf.0","typeLabel":"null"},{"type":"string","description":"ID of the record that already exists, when the error is a duplicate (for example 1002: the customer that already uses the CustomerCode). Only present on such errors.","format":"uuid","uniqueKey":"ExistingId.oneOf.1","typeLabel":"string\u003cuuid>"}],"uniqueKey":"ExistingId","typeLabel":"null | string\u003cuuid>"}},"uniqueKey":"","typeLabel":"object"},"example":{"Success":false,"ResultCode":"3000","Message":"Invoice not found.","Errors":[{"Code":"3000","Message":"Invoice not found."}]},"examples":{"Example":{"title":"Example","value":{"Success":false,"ResultCode":"3000","Message":"Invoice not found.","Errors":[{"Code":"3000","Message":"Invoice not found."}]}}},"exampleType":"examples"}},"exampleType":"examples"},"035e748e-fc1d-4bbf-a59b-e397436f2a2f":{"description":"Too Many Requests","content":{"application/json":{"schema":{"type":"object","properties":{"Success":{"type":"boolean","description":"Whether the operation succeeded.","example":false,"uniqueKey":"Success","typeLabel":"boolean"},"ResultCode":{"oneOf":[{"type":"null","description":"\"0000\" on success. On failure, the code of the first error; all errors are listed in Errors.","uniqueKey":"ResultCode.oneOf.0","typeLabel":"null"},{"type":"string","description":"\"0000\" on success. On failure, the code of the first error; all errors are listed in Errors.","uniqueKey":"ResultCode.oneOf.1","typeLabel":"string"}],"uniqueKey":"ResultCode","typeLabel":"null | string"},"Message":{"oneOf":[{"type":"null","description":"Error message when Success is false. Messages of all errors are joined into a single text.","uniqueKey":"Message.oneOf.0","typeLabel":"null"},{"type":"string","description":"Error message when Success is false. Messages of all errors are joined into a single text.","uniqueKey":"Message.oneOf.1","typeLabel":"string"}],"uniqueKey":"Message","typeLabel":"null | string"},"TraceId":{"oneOf":[{"type":"null","description":"Support reference of an unexpected server error (ResultCode 0001). Share it with Noyax support so the error can be found. Only present on 500 responses.","uniqueKey":"TraceId.oneOf.0","typeLabel":"null"},{"type":"string","description":"Support reference of an unexpected server error (ResultCode 0001). Share it with Noyax support so the error can be found. Only present on 500 responses.","uniqueKey":"TraceId.oneOf.1","typeLabel":"string"}],"uniqueKey":"TraceId","typeLabel":"null | string"},"Errors":{"oneOf":[{"type":"null","items":{"required":["Code","Message"],"type":"object","properties":{"Code":{"type":"string","description":"Error code. See the result codes page for the full list."},"Message":{"type":"string","description":"Error description."}}},"description":"All errors with their codes. Only present when Success is false.","uniqueKey":"Errors.oneOf.0","typeLabel":"null"},{"type":"array","items":{"required":["Code","Message"],"type":"object","properties":{"Code":{"type":"string","description":"Error code. See the result codes page for the full list.","isRequired":true,"uniqueKey":"Errors.oneOf.1.items.[INDEX].Code","typeLabel":"string"},"Message":{"type":"string","description":"Error description.","isRequired":true,"uniqueKey":"Errors.oneOf.1.items.[INDEX].Message","typeLabel":"string"}},"uniqueKey":"Errors.oneOf.1.items.[INDEX]","typeLabel":"object"},"description":"All errors with their codes. Only present when Success is false.","uniqueKey":"Errors.oneOf.1","typeLabel":"object[]"}],"uniqueKey":"Errors","typeLabel":"null | object[]"},"ExistingId":{"oneOf":[{"type":"null","description":"ID of the record that already exists, when the error is a duplicate (for example 1002: the customer that already uses the CustomerCode). Only present on such errors.","format":"uuid","uniqueKey":"ExistingId.oneOf.0","typeLabel":"null"},{"type":"string","description":"ID of the record that already exists, when the error is a duplicate (for example 1002: the customer that already uses the CustomerCode). Only present on such errors.","format":"uuid","uniqueKey":"ExistingId.oneOf.1","typeLabel":"string\u003cuuid>"}],"uniqueKey":"ExistingId","typeLabel":"null | string\u003cuuid>"}},"uniqueKey":"","typeLabel":"object"},"example":{"Success":false,"ResultCode":"0120","Message":"Daily request limit (10000) exceeded.","Errors":[{"Code":"0120","Message":"Daily request limit (10000) exceeded."}]},"examples":{"Example":{"title":"Example","value":{"Success":false,"ResultCode":"0120","Message":"Daily request limit (10000) exceeded.","Errors":[{"Code":"0120","Message":"Daily request limit (10000) exceeded."}]}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"2360e6fe-3f5d-4cb2-a410-60ae58b2515b":{"Bearer":{"type":"http","description":"Access token obtained from the Noyax auth service with your API key.","scheme":"bearer","bearerFormat":"JWT","scopes":[],"schemeName":"Bearer"}}},"servers":{"751ff55a-b28a-4823-93a0-54b137dafaf3":{"url":"https://api.noyax.com"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","description":"Access token obtained from the Noyax auth service with your API key.","scheme":"bearer","bearerFormat":"JWT","scopes":[],"schemeName":"Bearer"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Access token obtained from the Noyax auth service with your API key.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"Bearer","name":"Authorization"}],"title":"Bearer"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"noyax","siteName":"Noyax API","title":"Update purchase return invoice - Noyax API","navMaps":{"firstHrefInVersion":{"v1":{"href":"/en/v1/purchase-return-invoices/update","matchLevel":0}},"firstHrefInLanguage":{"tr":{"href":"/tr/v1/purchase-return-invoices/update","matchLevel":1},"en":{"href":"/en/v1/purchase-return-invoices/update","matchLevel":0}}},"lastModified":"2026-11-12T07:59:11.128Z","originalFileLocation":"en/v1/purchase-return-invoices/update.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Replaces the editable fields of the purchase return invoice.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Noyax API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/noyax/9sQuPgprl2ESyHgF/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/noyax/9sQuPgprl2ESyHgF/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/noyax/9sQuPgprl2ESyHgF/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/noyax/9sQuPgprl2ESyHgF/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/noyax/9sQuPgprl2ESyHgF/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/noyax/9sQuPgprl2ESyHgF/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/noyax/9sQuPgprl2ESyHgF/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/noyax/9sQuPgprl2ESyHgF/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/noyax/9sQuPgprl2ESyHgF/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update purchase return invoice - Noyax API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Replaces the editable fields of the purchase return invoice.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Noyax API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://apidocs.noyax.com/en/v1/purchase-return-invoices/update\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://noyax.mintlify.site/_mintlify/api/og/v2?division=Purchase+Return+Invoices\u0026amp;title=Update+purchase+return+invoice\u0026amp;description=Replaces+the+editable+fields+of+the+purchase+return+invoice.\u0026amp;theme=ada594ee3d688db06027175d\u0026amp;signature=09ffefca5dd54315fd07f4296e667c46e67b6c14d95c4c8fd76144026eda13e4\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Update purchase return invoice - Noyax API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Replaces the editable fields of the purchase return invoice.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://noyax.mintlify.site/_mintlify/api/og/v2?division=Purchase+Return+Invoices\u0026amp;title=Update+purchase+return+invoice\u0026amp;description=Replaces+the+editable+fields+of+the+purchase+return+invoice.\u0026amp;theme=ada594ee3d688db06027175d\u0026amp;signature=09ffefca5dd54315fd07f4296e667c46e67b6c14d95c4c8fd76144026eda13e4\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/noyax/9sQuPgprl2ESyHgF/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Noyax API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#5B4AFF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://apidocs.noyax.com/en/v1/purchase-return-invoices/update\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/en/v1/purchase-return-invoices/update.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://apidocs.noyax.com/en/v1/purchase-return-invoices/update\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"tr\" href=\"https://apidocs.noyax.com/tr/v1/purchase-return-invoices/update\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://apidocs.noyax.com/tr/v1/purchase-return-invoices/update\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://apidocs.noyax.com/#organization\",\"name\":\"Noyax API\",\"url\":\"https://apidocs.noyax.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/noyax/K7LxoYHrQCdoQ4jy/logo/light.svg?fit=max\u0026auto=format\u0026n=K7LxoYHrQCdoQ4jy\u0026q=85\u0026s=78086fed969cddbbf46c4cd156eff780\"}},{\"@type\":\"WebSite\",\"@id\":\"https://apidocs.noyax.com#website\",\"name\":\"Noyax API\",\"url\":\"https://apidocs.noyax.com\",\"publisher\":{\"@id\":\"https://apidocs.noyax.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://apidocs.noyax.com/en/v1/purchase-return-invoices/update#webpage\",\"url\":\"https://apidocs.noyax.com/en/v1/purchase-return-invoices/update\",\"name\":\"Update purchase return invoice\",\"description\":\"Replaces the editable fields of the purchase return invoice.\",\"dateModified\":\"2026-11-12T07:59:11.128Z\",\"isPartOf\":{\"@id\":\"https://apidocs.noyax.com#website\"},\"breadcrumb\":{\"@id\":\"https://apidocs.noyax.com/en/v1/purchase-return-invoices/update#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://apidocs.noyax.com/en/v1/purchase-return-invoices/update#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Modules\",\"item\":\"https://apidocs.noyax.com/en/v1/definitions/countries/list\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Invoices\",\"item\":\"https://apidocs.noyax.com/en/v1/purchase-invoices/list\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Purchase Return Invoices\",\"item\":\"https://apidocs.noyax.com/en/v1/purchase-return-invoices/overview\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Update purchase return invoice\",\"item\":\"https://apidocs.noyax.com/en/v1/purchase-return-invoices/update\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://apidocs.noyax.com/en/v1/purchase-return-invoices/update#apireference\",\"headline\":\"Update purchase return invoice\",\"name\":\"Update purchase return invoice\",\"description\":\"Replaces the editable fields of the purchase return invoice.\",\"url\":\"https://apidocs.noyax.com/en/v1/purchase-return-invoices/update\",\"mainEntityOfPage\":{\"@id\":\"https://apidocs.noyax.com/en/v1/purchase-return-invoices/update#webpage\"},\"dateModified\":\"2026-11-12T07:59:11.128Z\",\"publisher\":{\"@id\":\"https://apidocs.noyax.com/#organization\"},\"isPartOf\":{\"@id\":\"https://apidocs.noyax.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Noyax API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Noyax API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/en/v1/purchase-return-invoices/update.md","siteName":"Noyax API","nav":{"global":null,"languages":[{"language":"tr","default":true,"pages":[{"title":"tr","href":"/tr/v1/purchase-return-invoices/update"}]},{"language":"en","versions":[{"version":"v1","default":true,"groups":[{"group":"Getting started","pages":[{"title":"Noyax API","sidebarTitle":"Introduction","icon":"house","href":"/en/v1"},{"title":"Quickstart","icon":"rocket","href":"/en/v1/quickstart"},{"title":"Postman collection","icon":"download","href":"/en/v1/postman"}]},{"group":"Core concepts","pages":[{"title":"Authentication","icon":"key","href":"/en/v1/guides/authentication"},{"title":"Request headers","icon":"id-card","href":"/en/v1/guides/request-context"},{"title":"Permissions","icon":"shield-check","href":"/en/v1/guides/permissions"},{"title":"Rate limits","icon":"gauge","href":"/en/v1/guides/rate-limits"},{"title":"Partial update","icon":"pen-to-square","href":"/en/v1/guides/partial-update"},{"title":"Errors","icon":"triangle-exclamation","href":"/en/v1/guides/errors"},{"title":"Result codes","icon":"list-ol","href":"/en/v1/guides/result-codes"},{"title":"Pagination and search","icon":"list","href":"/en/v1/guides/pagination-search"},{"title":"Sharing codes","icon":"eye","href":"/en/v1/guides/sharing-codes"},{"title":"Versioning","icon":"code-branch","href":"/en/v1/guides/versioning"}]},{"group":"Modules","icon":"layer-group","pages":[{"group":"Definitions","icon":"book","root":{"title":"Definitions","icon":"book","href":"/en/v1/definitions/overview"},"expanded":false,"pages":[{"group":"Countries","icon":"earth-europe","pages":[{"title":"List countries","openapi":"api-reference/openapi.json GET /api/v1/definitions/countries","href":"/en/v1/definitions/countries/list"},{"title":"Get country","openapi":"api-reference/openapi.json GET /api/v1/definitions/countries/{countryId}","href":"/en/v1/definitions/countries/get"},{"title":"Create country","openapi":"api-reference/openapi.json POST /api/v1/definitions/countries","href":"/en/v1/definitions/countries/create"},{"title":"Update country","openapi":"api-reference/openapi.json PUT /api/v1/definitions/countries/{countryId}","href":"/en/v1/definitions/countries/update"},{"title":"Partially update country","openapi":"api-reference/openapi.json PATCH /api/v1/definitions/countries/{countryId}","href":"/en/v1/definitions/countries/patch"},{"title":"Delete country","openapi":"api-reference/openapi.json DELETE /api/v1/definitions/countries/{countryId}","href":"/en/v1/definitions/countries/delete"}]},{"group":"Cities","icon":"city","pages":[{"title":"List cities","openapi":"api-reference/openapi.json GET /api/v1/definitions/cities","href":"/en/v1/definitions/cities/list"},{"title":"Get city","openapi":"api-reference/openapi.json GET /api/v1/definitions/cities/{cityId}","href":"/en/v1/definitions/cities/get"},{"title":"Create city","openapi":"api-reference/openapi.json POST /api/v1/definitions/cities","href":"/en/v1/definitions/cities/create"},{"title":"Update city","openapi":"api-reference/openapi.json PUT /api/v1/definitions/cities/{cityId}","href":"/en/v1/definitions/cities/update"},{"title":"Partially update city","openapi":"api-reference/openapi.json PATCH /api/v1/definitions/cities/{cityId}","href":"/en/v1/definitions/cities/patch"},{"title":"Delete city","openapi":"api-reference/openapi.json DELETE /api/v1/definitions/cities/{cityId}","href":"/en/v1/definitions/cities/delete"}]},{"group":"Districts","icon":"map-pin","pages":[{"title":"List districts","openapi":"api-reference/openapi.json GET /api/v1/definitions/districts","href":"/en/v1/definitions/districts/list"},{"title":"Get district","openapi":"api-reference/openapi.json GET /api/v1/definitions/districts/{districtId}","href":"/en/v1/definitions/districts/get"},{"title":"Create district","openapi":"api-reference/openapi.json POST /api/v1/definitions/districts","href":"/en/v1/definitions/districts/create"},{"title":"Update district","openapi":"api-reference/openapi.json PUT /api/v1/definitions/districts/{districtId}","href":"/en/v1/definitions/districts/update"},{"title":"Partially update district","openapi":"api-reference/openapi.json PATCH /api/v1/definitions/districts/{districtId}","href":"/en/v1/definitions/districts/patch"},{"title":"Delete district","openapi":"api-reference/openapi.json DELETE /api/v1/definitions/districts/{districtId}","href":"/en/v1/definitions/districts/delete"}]},{"group":"Currencies","icon":"coins","pages":[{"title":"List currencies","openapi":"api-reference/openapi.json GET /api/v1/definitions/currencies","href":"/en/v1/definitions/currencies/list"},{"title":"Get currency","openapi":"api-reference/openapi.json GET /api/v1/definitions/currencies/{currencyId}","href":"/en/v1/definitions/currencies/get"},{"title":"Create currency","openapi":"api-reference/openapi.json POST /api/v1/definitions/currencies","href":"/en/v1/definitions/currencies/create"},{"title":"Update currency","openapi":"api-reference/openapi.json PUT /api/v1/definitions/currencies/{currencyId}","href":"/en/v1/definitions/currencies/update"},{"title":"Partially update currency","openapi":"api-reference/openapi.json PATCH /api/v1/definitions/currencies/{currencyId}","href":"/en/v1/definitions/currencies/patch"},{"title":"Delete currency","openapi":"api-reference/openapi.json DELETE /api/v1/definitions/currencies/{currencyId}","href":"/en/v1/definitions/currencies/delete"}]},{"group":"Units","icon":"ruler","pages":[{"title":"List units","openapi":"api-reference/openapi.json GET /api/v1/definitions/units","href":"/en/v1/definitions/units/list"},{"title":"Get unit","openapi":"api-reference/openapi.json GET /api/v1/definitions/units/{unitId}","href":"/en/v1/definitions/units/get"},{"title":"Create unit","openapi":"api-reference/openapi.json POST /api/v1/definitions/units","href":"/en/v1/definitions/units/create"},{"title":"Update unit","openapi":"api-reference/openapi.json PUT /api/v1/definitions/units/{unitId}","href":"/en/v1/definitions/units/update"},{"title":"Partially update unit","openapi":"api-reference/openapi.json PATCH /api/v1/definitions/units/{unitId}","href":"/en/v1/definitions/units/patch"},{"title":"Delete unit","openapi":"api-reference/openapi.json DELETE /api/v1/definitions/units/{unitId}","href":"/en/v1/definitions/units/delete"}]},{"group":"Line groups","icon":"layer-group","pages":[{"title":"List line groups","openapi":"api-reference/openapi.json GET /api/v1/definitions/line-groups","href":"/en/v1/definitions/line-groups/list"},{"title":"Get line group","openapi":"api-reference/openapi.json GET /api/v1/definitions/line-groups/{lineGroupId}","href":"/en/v1/definitions/line-groups/get"},{"title":"Create line group","openapi":"api-reference/openapi.json POST /api/v1/definitions/line-groups","href":"/en/v1/definitions/line-groups/create"},{"title":"Update line group","openapi":"api-reference/openapi.json PUT /api/v1/definitions/line-groups/{lineGroupId}","href":"/en/v1/definitions/line-groups/update"},{"title":"Partially update line group","openapi":"api-reference/openapi.json PATCH /api/v1/definitions/line-groups/{lineGroupId}","href":"/en/v1/definitions/line-groups/patch"},{"title":"Delete line group","openapi":"api-reference/openapi.json DELETE /api/v1/definitions/line-groups/{lineGroupId}","href":"/en/v1/definitions/line-groups/delete"}]},{"group":"VAT rates","icon":"percent","pages":[{"title":"List VAT rates","openapi":"api-reference/openapi.json GET /api/v1/definitions/vat-rates","href":"/en/v1/definitions/vat-rates/list"}]},{"group":"Shipment definitions","icon":"truck","pages":[{"title":"List shipment definitions","openapi":"api-reference/openapi.json GET /api/v1/definitions/shipment-definitions","href":"/en/v1/definitions/shipment-definitions/list"},{"title":"Get shipment definition","openapi":"api-reference/openapi.json GET /api/v1/definitions/shipment-definitions/{shipmentDefinitionId}","href":"/en/v1/definitions/shipment-definitions/get"},{"title":"Create shipment definition","openapi":"api-reference/openapi.json POST /api/v1/definitions/shipment-definitions","href":"/en/v1/definitions/shipment-definitions/create"},{"title":"Update shipment definition","openapi":"api-reference/openapi.json PUT /api/v1/definitions/shipment-definitions/{shipmentDefinitionId}","href":"/en/v1/definitions/shipment-definitions/update"},{"title":"Partially update shipment definition","openapi":"api-reference/openapi.json PATCH /api/v1/definitions/shipment-definitions/{shipmentDefinitionId}","href":"/en/v1/definitions/shipment-definitions/patch"},{"title":"Delete shipment definition","openapi":"api-reference/openapi.json DELETE /api/v1/definitions/shipment-definitions/{shipmentDefinitionId}","href":"/en/v1/definitions/shipment-definitions/delete"}]}]},{"group":"Customers","icon":"users","root":{"title":"Customer record","icon":"user","href":"/en/v1/customers/overview"},"expanded":false,"pages":[{"title":"Customer code generation","icon":"hashtag","href":"/en/v1/customers/customer-code"},{"group":"Customer definitions","icon":"book-open","pages":[{"title":"List customer groups","openapi":"api-reference/openapi.json GET /api/v1/customers/groups","href":"/en/v1/customers/definitions/groups"},{"group":"Parameter definitions","pages":[{"title":"List customer parameter definitions","openapi":"api-reference/openapi.json GET /api/v1/customers/parameter-definitions","href":"/en/v1/customers/definitions/parameter-definitions/list"},{"title":"Get customer parameter definition","openapi":"api-reference/openapi.json GET /api/v1/customers/parameter-definitions/{parameterDefinitionId}","href":"/en/v1/customers/definitions/parameter-definitions/get"},{"title":"Create customer parameter definition","openapi":"api-reference/openapi.json POST /api/v1/customers/parameter-definitions","href":"/en/v1/customers/definitions/parameter-definitions/create"},{"title":"Update customer parameter definition","openapi":"api-reference/openapi.json PUT /api/v1/customers/parameter-definitions/{parameterDefinitionId}","href":"/en/v1/customers/definitions/parameter-definitions/update"},{"title":"Partially update customer parameter definition","openapi":"api-reference/openapi.json PATCH /api/v1/customers/parameter-definitions/{parameterDefinitionId}","href":"/en/v1/customers/definitions/parameter-definitions/patch"},{"title":"Delete customer parameter definition","openapi":"api-reference/openapi.json DELETE /api/v1/customers/parameter-definitions/{parameterDefinitionId}","href":"/en/v1/customers/definitions/parameter-definitions/delete"}]}]},{"group":"Customer endpoints","icon":"user","pages":[{"title":"List customers","openapi":"api-reference/openapi.json GET /api/v1/customers","href":"/en/v1/customers/list"},{"title":"Get customer","openapi":"api-reference/openapi.json GET /api/v1/customers/{customerId}","href":"/en/v1/customers/get"},{"title":"Create customer","openapi":"api-reference/openapi.json POST /api/v1/customers","href":"/en/v1/customers/create"},{"title":"Update customer","openapi":"api-reference/openapi.json PUT /api/v1/customers/{customerId}","href":"/en/v1/customers/update"},{"title":"Partially update customer","openapi":"api-reference/openapi.json PATCH /api/v1/customers/{customerId}","href":"/en/v1/customers/patch"},{"title":"Delete customer","openapi":"api-reference/openapi.json DELETE /api/v1/customers/{customerId}","href":"/en/v1/customers/delete"}]},{"group":"Addresses","icon":"location-dot","pages":[{"title":"List addresses","openapi":"api-reference/openapi.json GET /api/v1/customers/{customerId}/addresses","href":"/en/v1/customers/addresses/list"},{"title":"Get address","openapi":"api-reference/openapi.json GET /api/v1/customers/{customerId}/addresses/{addressId}","href":"/en/v1/customers/addresses/get"},{"title":"Create address","openapi":"api-reference/openapi.json POST /api/v1/customers/{customerId}/addresses","href":"/en/v1/customers/addresses/create"},{"title":"Update address","openapi":"api-reference/openapi.json PUT /api/v1/customers/{customerId}/addresses/{addressId}","href":"/en/v1/customers/addresses/update"},{"title":"Partially update address","openapi":"api-reference/openapi.json PATCH /api/v1/customers/{customerId}/addresses/{addressId}","href":"/en/v1/customers/addresses/patch"},{"title":"Delete address","openapi":"api-reference/openapi.json DELETE /api/v1/customers/{customerId}/addresses/{addressId}","href":"/en/v1/customers/addresses/delete"}]},{"group":"Telephones","icon":"phone","pages":[{"title":"List telephones","openapi":"api-reference/openapi.json GET /api/v1/customers/{customerId}/telephones","href":"/en/v1/customers/telephones/list"},{"title":"Get telephone","openapi":"api-reference/openapi.json GET /api/v1/customers/{customerId}/telephones/{telephoneId}","href":"/en/v1/customers/telephones/get"},{"title":"Create telephone","openapi":"api-reference/openapi.json POST /api/v1/customers/{customerId}/telephones","href":"/en/v1/customers/telephones/create"},{"title":"Update telephone","openapi":"api-reference/openapi.json PUT /api/v1/customers/{customerId}/telephones/{telephoneId}","href":"/en/v1/customers/telephones/update"},{"title":"Partially update telephone","openapi":"api-reference/openapi.json PATCH /api/v1/customers/{customerId}/telephones/{telephoneId}","href":"/en/v1/customers/telephones/patch"},{"title":"Delete telephone","openapi":"api-reference/openapi.json DELETE /api/v1/customers/{customerId}/telephones/{telephoneId}","href":"/en/v1/customers/telephones/delete"}]},{"group":"Links","icon":"link","pages":[{"title":"List links","openapi":"api-reference/openapi.json GET /api/v1/customers/{customerId}/links","href":"/en/v1/customers/links/list"},{"title":"Get link","openapi":"api-reference/openapi.json GET /api/v1/customers/{customerId}/links/{linkId}","href":"/en/v1/customers/links/get"},{"title":"Create link","openapi":"api-reference/openapi.json POST /api/v1/customers/{customerId}/links","href":"/en/v1/customers/links/create"},{"title":"Update link","openapi":"api-reference/openapi.json PUT /api/v1/customers/{customerId}/links/{linkId}","href":"/en/v1/customers/links/update"},{"title":"Partially update link","openapi":"api-reference/openapi.json PATCH /api/v1/customers/{customerId}/links/{linkId}","href":"/en/v1/customers/links/patch"},{"title":"Delete link","openapi":"api-reference/openapi.json DELETE /api/v1/customers/{customerId}/links/{linkId}","href":"/en/v1/customers/links/delete"}]},{"group":"Representatives","icon":"user-tie","pages":[{"title":"List representatives","openapi":"api-reference/openapi.json GET /api/v1/customers/{customerId}/representatives","href":"/en/v1/customers/representatives/list"},{"title":"Get representative","openapi":"api-reference/openapi.json GET /api/v1/customers/{customerId}/representatives/{representativeId}","href":"/en/v1/customers/representatives/get"},{"title":"Create representative","openapi":"api-reference/openapi.json POST /api/v1/customers/{customerId}/representatives","href":"/en/v1/customers/representatives/create"},{"title":"Update representative","openapi":"api-reference/openapi.json PUT /api/v1/customers/{customerId}/representatives/{representativeId}","href":"/en/v1/customers/representatives/update"},{"title":"Partially update representative","openapi":"api-reference/openapi.json PATCH /api/v1/customers/{customerId}/representatives/{representativeId}","href":"/en/v1/customers/representatives/patch"},{"title":"Delete representative","openapi":"api-reference/openapi.json DELETE /api/v1/customers/{customerId}/representatives/{representativeId}","href":"/en/v1/customers/representatives/delete"}]},{"group":"Bank accounts","icon":"building-columns","pages":[{"title":"List bank accounts","openapi":"api-reference/openapi.json GET /api/v1/customers/{customerId}/bank-accounts","href":"/en/v1/customers/bank-accounts/list"},{"title":"Get bank account","openapi":"api-reference/openapi.json GET /api/v1/customers/{customerId}/bank-accounts/{bankAccountId}","href":"/en/v1/customers/bank-accounts/get"},{"title":"Create bank account","openapi":"api-reference/openapi.json POST /api/v1/customers/{customerId}/bank-accounts","href":"/en/v1/customers/bank-accounts/create"},{"title":"Update bank account","openapi":"api-reference/openapi.json PUT /api/v1/customers/{customerId}/bank-accounts/{bankAccountId}","href":"/en/v1/customers/bank-accounts/update"},{"title":"Partially update bank account","openapi":"api-reference/openapi.json PATCH /api/v1/customers/{customerId}/bank-accounts/{bankAccountId}","href":"/en/v1/customers/bank-accounts/patch"},{"title":"Delete bank account","openapi":"api-reference/openapi.json DELETE /api/v1/customers/{customerId}/bank-accounts/{bankAccountId}","href":"/en/v1/customers/bank-accounts/delete"}]},{"group":"Group memberships","icon":"users-rectangle","pages":[{"title":"List group memberships","openapi":"api-reference/openapi.json GET /api/v1/customers/{customerId}/group-members","href":"/en/v1/customers/group-members/list"},{"title":"Get group membership","openapi":"api-reference/openapi.json GET /api/v1/customers/{customerId}/group-members/{groupMemberId}","href":"/en/v1/customers/group-members/get"},{"title":"Create group membership","openapi":"api-reference/openapi.json POST /api/v1/customers/{customerId}/group-members","href":"/en/v1/customers/group-members/create"},{"title":"Update group membership","openapi":"api-reference/openapi.json PUT /api/v1/customers/{customerId}/group-members/{groupMemberId}","href":"/en/v1/customers/group-members/update"},{"title":"Partially update group membership","openapi":"api-reference/openapi.json PATCH /api/v1/customers/{customerId}/group-members/{groupMemberId}","href":"/en/v1/customers/group-members/patch"},{"title":"Delete group membership","openapi":"api-reference/openapi.json DELETE /api/v1/customers/{customerId}/group-members/{groupMemberId}","href":"/en/v1/customers/group-members/delete"}]},{"group":"Parameters","icon":"sliders","pages":[{"title":"List parameters","openapi":"api-reference/openapi.json GET /api/v1/customers/{customerId}/parameters","href":"/en/v1/customers/parameters/list"},{"title":"Get parameter","openapi":"api-reference/openapi.json GET /api/v1/customers/{customerId}/parameters/{parameterId}","href":"/en/v1/customers/parameters/get"},{"title":"Create parameter","openapi":"api-reference/openapi.json POST /api/v1/customers/{customerId}/parameters","href":"/en/v1/customers/parameters/create"},{"title":"Update parameter","openapi":"api-reference/openapi.json PUT /api/v1/customers/{customerId}/parameters/{parameterId}","href":"/en/v1/customers/parameters/update"},{"title":"Partially update parameter value","openapi":"api-reference/openapi.json PATCH /api/v1/customers/{customerId}/parameters/{parameterId}","href":"/en/v1/customers/parameters/patch"},{"title":"Delete parameter","openapi":"api-reference/openapi.json DELETE /api/v1/customers/{customerId}/parameters/{parameterId}","href":"/en/v1/customers/parameters/delete"}]}]},{"group":"Products","icon":"box","root":{"title":"Product card","icon":"box","href":"/en/v1/products/overview"},"expanded":false,"pages":[{"title":"List products","openapi":"api-reference/openapi.json GET /api/v1/products","href":"/en/v1/products/list"},{"title":"List changed products","openapi":"api-reference/openapi.json GET /api/v1/products/changes","href":"/en/v1/products/changes"},{"title":"Get product","openapi":"api-reference/openapi.json GET /api/v1/products/{productId}","href":"/en/v1/products/get"},{"title":"Create product","openapi":"api-reference/openapi.json POST /api/v1/products","href":"/en/v1/products/create"},{"title":"Update product","openapi":"api-reference/openapi.json PUT /api/v1/products/{productId}","href":"/en/v1/products/update"},{"title":"Partially update product","openapi":"api-reference/openapi.json PATCH /api/v1/products/{productId}","href":"/en/v1/products/patch"},{"title":"Delete product","openapi":"api-reference/openapi.json DELETE /api/v1/products/{productId}","href":"/en/v1/products/delete"},{"group":"Product definitions","icon":"book-open","pages":[{"group":"Parameter definitions","pages":[{"title":"List product parameter definitions","openapi":"api-reference/openapi.json GET /api/v1/products/parameter-definitions","href":"/en/v1/products/definitions/parameter-definitions/list"},{"title":"Get product parameter definition","openapi":"api-reference/openapi.json GET /api/v1/products/parameter-definitions/{parameterDefinitionId}","href":"/en/v1/products/definitions/parameter-definitions/get"},{"title":"Create product parameter definition","openapi":"api-reference/openapi.json POST /api/v1/products/parameter-definitions","href":"/en/v1/products/definitions/parameter-definitions/create"},{"title":"Update product parameter definition","openapi":"api-reference/openapi.json PUT /api/v1/products/parameter-definitions/{parameterDefinitionId}","href":"/en/v1/products/definitions/parameter-definitions/update"},{"title":"Partially update product parameter definition","openapi":"api-reference/openapi.json PATCH /api/v1/products/parameter-definitions/{parameterDefinitionId}","href":"/en/v1/products/definitions/parameter-definitions/patch"},{"title":"Delete product parameter definition","openapi":"api-reference/openapi.json DELETE /api/v1/products/parameter-definitions/{parameterDefinitionId}","href":"/en/v1/products/definitions/parameter-definitions/delete"}]}]},{"group":"Groups","icon":"sitemap","pages":[{"title":"List product group details","openapi":"api-reference/openapi.json GET /api/v1/products/groups","href":"/en/v1/products/groups/list"},{"title":"Get product group detail","openapi":"api-reference/openapi.json GET /api/v1/products/groups/{groupDetailId}","href":"/en/v1/products/groups/get"},{"title":"Create product group detail","openapi":"api-reference/openapi.json POST /api/v1/products/groups","href":"/en/v1/products/groups/create"},{"title":"Update product group detail","openapi":"api-reference/openapi.json PUT /api/v1/products/groups/{groupDetailId}","href":"/en/v1/products/groups/update"},{"title":"Partially update product group detail","openapi":"api-reference/openapi.json PATCH /api/v1/products/groups/{groupDetailId}","href":"/en/v1/products/groups/patch"},{"title":"Delete product group detail","openapi":"api-reference/openapi.json DELETE /api/v1/products/groups/{groupDetailId}","href":"/en/v1/products/groups/delete"}]},{"group":"Parameters","icon":"sliders","pages":[{"title":"List product parameter values","openapi":"api-reference/openapi.json GET /api/v1/products/{productId}/parameters","href":"/en/v1/products/parameters/list"},{"title":"Get product parameter value","openapi":"api-reference/openapi.json GET /api/v1/products/{productId}/parameters/{parameterId}","href":"/en/v1/products/parameters/get"},{"title":"Create product parameter value","openapi":"api-reference/openapi.json POST /api/v1/products/{productId}/parameters","href":"/en/v1/products/parameters/create"},{"title":"Update product parameter value","openapi":"api-reference/openapi.json PUT /api/v1/products/{productId}/parameters/{parameterId}","href":"/en/v1/products/parameters/update"},{"title":"Partially update product parameter value","openapi":"api-reference/openapi.json PATCH /api/v1/products/{productId}/parameters/{parameterId}","href":"/en/v1/products/parameters/patch"},{"title":"Delete product parameter value","openapi":"api-reference/openapi.json DELETE /api/v1/products/{productId}/parameters/{parameterId}","href":"/en/v1/products/parameters/delete"}]},{"group":"Prices","icon":"tag","pages":[{"title":"List product prices","openapi":"api-reference/openapi.json GET /api/v1/products/{productId}/prices","href":"/en/v1/products/prices/list"},{"title":"Get product price","openapi":"api-reference/openapi.json GET /api/v1/products/{productId}/prices/{priceId}","href":"/en/v1/products/prices/get"},{"title":"Create product price","openapi":"api-reference/openapi.json POST /api/v1/products/{productId}/prices","href":"/en/v1/products/prices/create"},{"title":"Update product price","openapi":"api-reference/openapi.json PUT /api/v1/products/{productId}/prices/{priceId}","href":"/en/v1/products/prices/update"},{"title":"Partially update product price","openapi":"api-reference/openapi.json PATCH /api/v1/products/{productId}/prices/{priceId}","href":"/en/v1/products/prices/patch"},{"title":"Delete product price","openapi":"api-reference/openapi.json DELETE /api/v1/products/{productId}/prices/{priceId}","href":"/en/v1/products/prices/delete"}]},{"group":"Critical stock","icon":"triangle-exclamation","pages":[{"title":"List critical stock definitions","openapi":"api-reference/openapi.json GET /api/v1/products/{productId}/critical-stock","href":"/en/v1/products/critical-stock/list"},{"title":"Get critical stock definition","openapi":"api-reference/openapi.json GET /api/v1/products/{productId}/critical-stock/{criticalStockId}","href":"/en/v1/products/critical-stock/get"},{"title":"Create critical stock definition","openapi":"api-reference/openapi.json POST /api/v1/products/{productId}/critical-stock","href":"/en/v1/products/critical-stock/create"},{"title":"Update critical stock definition","openapi":"api-reference/openapi.json PUT /api/v1/products/{productId}/critical-stock/{criticalStockId}","href":"/en/v1/products/critical-stock/update"},{"title":"Partially update critical stock definition","openapi":"api-reference/openapi.json PATCH /api/v1/products/{productId}/critical-stock/{criticalStockId}","href":"/en/v1/products/critical-stock/patch"},{"title":"Delete critical stock definition","openapi":"api-reference/openapi.json DELETE /api/v1/products/{productId}/critical-stock/{criticalStockId}","href":"/en/v1/products/critical-stock/delete"}]}]},{"group":"Stock","icon":"boxes-stacked","expanded":false,"pages":[{"group":"Warehouses","icon":"warehouse","pages":[{"title":"List warehouses","openapi":"api-reference/openapi.json GET /api/v1/stock/warehouses","href":"/en/v1/stock/warehouses/list"},{"title":"Get warehouse","openapi":"api-reference/openapi.json GET /api/v1/stock/warehouses/{warehouseId}","href":"/en/v1/stock/warehouses/get"},{"title":"Create warehouse","openapi":"api-reference/openapi.json POST /api/v1/stock/warehouses","href":"/en/v1/stock/warehouses/create"},{"title":"Update warehouse","openapi":"api-reference/openapi.json PUT /api/v1/stock/warehouses/{warehouseId}","href":"/en/v1/stock/warehouses/update"},{"title":"Partially update warehouse","openapi":"api-reference/openapi.json PATCH /api/v1/stock/warehouses/{warehouseId}","href":"/en/v1/stock/warehouses/patch"},{"title":"Delete warehouse","openapi":"api-reference/openapi.json DELETE /api/v1/stock/warehouses/{warehouseId}","href":"/en/v1/stock/warehouses/delete"},{"group":"Sections","icon":"map-pin","pages":[{"title":"List sections","openapi":"api-reference/openapi.json GET /api/v1/stock/warehouses/{warehouseId}/sections","href":"/en/v1/stock/warehouses/sections/list"},{"title":"Get section","openapi":"api-reference/openapi.json GET /api/v1/stock/warehouses/{warehouseId}/sections/{sectionId}","href":"/en/v1/stock/warehouses/sections/get"},{"title":"Create section","openapi":"api-reference/openapi.json POST /api/v1/stock/warehouses/{warehouseId}/sections","href":"/en/v1/stock/warehouses/sections/create"},{"title":"Update section","openapi":"api-reference/openapi.json PUT /api/v1/stock/warehouses/{warehouseId}/sections/{sectionId}","href":"/en/v1/stock/warehouses/sections/update"},{"title":"Partially update section","openapi":"api-reference/openapi.json PATCH /api/v1/stock/warehouses/{warehouseId}/sections/{sectionId}","href":"/en/v1/stock/warehouses/sections/patch"},{"title":"Delete section","openapi":"api-reference/openapi.json DELETE /api/v1/stock/warehouses/{warehouseId}/sections/{sectionId}","href":"/en/v1/stock/warehouses/sections/delete"}]}]},{"group":"Product Stock Status","icon":"boxes-packing","pages":[{"title":"Product stock status","openapi":"api-reference/openapi.json GET /api/v1/stock/products/{productId}/status","href":"/en/v1/stock/products/status"},{"title":"Product stock status by code","openapi":"api-reference/openapi.json GET /api/v1/stock/products/status","href":"/en/v1/stock/products/status-by-code"}]}]},{"group":"Quotes","icon":"file-signature","root":{"title":"Quotes","icon":"file-signature","href":"/en/v1/quotes/overview"},"expanded":false,"pages":[{"title":"Calculating quote amounts","href":"/en/v1/quotes/calculations"},{"title":"List quotes","openapi":"api-reference/openapi.json GET /api/v1/quotes","href":"/en/v1/quotes/list"},{"title":"Get quote","openapi":"api-reference/openapi.json GET /api/v1/quotes/{quoteId}","href":"/en/v1/quotes/get"},{"title":"Create quote","openapi":"api-reference/openapi.json POST /api/v1/quotes","href":"/en/v1/quotes/create"},{"title":"Update quote","openapi":"api-reference/openapi.json PUT /api/v1/quotes/{quoteId}","href":"/en/v1/quotes/update"},{"title":"Partially update quote","openapi":"api-reference/openapi.json PATCH /api/v1/quotes/{quoteId}","href":"/en/v1/quotes/patch"},{"title":"Delete quote","openapi":"api-reference/openapi.json DELETE /api/v1/quotes/{quoteId}","href":"/en/v1/quotes/delete"}]},{"group":"Orders","icon":"cart-shopping","root":{"title":"Orders","icon":"cart-shopping","href":"/en/v1/orders/overview"},"expanded":false,"pages":[{"title":"List orders","openapi":"api-reference/openapi.json GET /api/v1/orders","href":"/en/v1/orders/list"},{"title":"Get order","openapi":"api-reference/openapi.json GET /api/v1/orders/{orderId}","href":"/en/v1/orders/get"},{"title":"Create order","openapi":"api-reference/openapi.json POST /api/v1/orders","href":"/en/v1/orders/create"},{"title":"Update order","openapi":"api-reference/openapi.json PUT /api/v1/orders/{orderId}","href":"/en/v1/orders/update"},{"title":"Partially update order","openapi":"api-reference/openapi.json PATCH /api/v1/orders/{orderId}","href":"/en/v1/orders/patch"},{"title":"Delete order","openapi":"api-reference/openapi.json DELETE /api/v1/orders/{orderId}","href":"/en/v1/orders/delete"}]},{"group":"Despatches","icon":"truck","root":{"title":"Despatches","icon":"truck","href":"/en/v1/despatches/overview"},"expanded":false,"pages":[{"title":"List despatches","openapi":"api-reference/openapi.json GET /api/v1/despatches","href":"/en/v1/despatches/list"},{"title":"Get despatch","openapi":"api-reference/openapi.json GET /api/v1/despatches/{despatchId}","href":"/en/v1/despatches/get"},{"title":"Create despatch","openapi":"api-reference/openapi.json POST /api/v1/despatches","href":"/en/v1/despatches/create"},{"title":"Update despatch","openapi":"api-reference/openapi.json PUT /api/v1/despatches/{despatchId}","href":"/en/v1/despatches/update"},{"title":"Partially update despatch","openapi":"api-reference/openapi.json PATCH /api/v1/despatches/{despatchId}","href":"/en/v1/despatches/patch"},{"title":"Delete despatch","openapi":"api-reference/openapi.json DELETE /api/v1/despatches/{despatchId}","href":"/en/v1/despatches/delete"}]},{"group":"Invoices","icon":"file-invoice","expanded":false,"pages":[{"group":"Purchase Invoices","root":{"title":"Purchase Invoices","icon":"file-invoice","href":"/en/v1/purchase-invoices/overview"},"pages":[{"title":"List purchase invoices","openapi":"api-reference/openapi.json GET /api/v1/purchase-invoices","href":"/en/v1/purchase-invoices/list"},{"title":"Get purchase invoice","openapi":"api-reference/openapi.json GET /api/v1/purchase-invoices/{invoiceId}","href":"/en/v1/purchase-invoices/get"},{"title":"Create purchase invoice","openapi":"api-reference/openapi.json POST /api/v1/purchase-invoices","href":"/en/v1/purchase-invoices/create"},{"title":"Update purchase invoice","openapi":"api-reference/openapi.json PUT /api/v1/purchase-invoices/{invoiceId}","href":"/en/v1/purchase-invoices/update"},{"title":"Partially update purchase invoice","openapi":"api-reference/openapi.json PATCH /api/v1/purchase-invoices/{invoiceId}","href":"/en/v1/purchase-invoices/patch"},{"title":"Delete purchase invoice","openapi":"api-reference/openapi.json DELETE /api/v1/purchase-invoices/{invoiceId}","href":"/en/v1/purchase-invoices/delete"}]},{"group":"Sales Invoices","root":{"title":"Sales Invoices","icon":"file-invoice","href":"/en/v1/sales-invoices/overview"},"pages":[{"title":"List sales invoices","openapi":"api-reference/openapi.json GET /api/v1/sales-invoices","href":"/en/v1/sales-invoices/list"},{"title":"Get sales invoice","openapi":"api-reference/openapi.json GET /api/v1/sales-invoices/{invoiceId}","href":"/en/v1/sales-invoices/get"},{"title":"Create sales invoice","openapi":"api-reference/openapi.json POST /api/v1/sales-invoices","href":"/en/v1/sales-invoices/create"},{"title":"Update sales invoice","openapi":"api-reference/openapi.json PUT /api/v1/sales-invoices/{invoiceId}","href":"/en/v1/sales-invoices/update"},{"title":"Partially update sales invoice","openapi":"api-reference/openapi.json PATCH /api/v1/sales-invoices/{invoiceId}","href":"/en/v1/sales-invoices/patch"},{"title":"Delete sales invoice","openapi":"api-reference/openapi.json DELETE /api/v1/sales-invoices/{invoiceId}","href":"/en/v1/sales-invoices/delete"}]},{"group":"Purchase Return Invoices","root":{"title":"Purchase Return Invoices","icon":"file-invoice","href":"/en/v1/purchase-return-invoices/overview"},"pages":[{"title":"List purchase return invoices","openapi":"api-reference/openapi.json GET /api/v1/purchase-return-invoices","href":"/en/v1/purchase-return-invoices/list"},{"title":"Get purchase return invoice","openapi":"api-reference/openapi.json GET /api/v1/purchase-return-invoices/{invoiceId}","href":"/en/v1/purchase-return-invoices/get"},{"title":"Create purchase return invoice","description":"Creates the purchase return invoice and its lines in one transaction.","openapi":"api-reference/openapi.json POST /api/v1/purchase-return-invoices","href":"/en/v1/purchase-return-invoices/create"},{"title":"Update purchase return invoice","openapi":"api-reference/openapi.json PUT /api/v1/purchase-return-invoices/{invoiceId}","href":"/en/v1/purchase-return-invoices/update"},{"title":"Partially update purchase return invoice","description":"Changes only the fields sent in the body.","openapi":"api-reference/openapi.json PATCH /api/v1/purchase-return-invoices/{invoiceId}","href":"/en/v1/purchase-return-invoices/patch"},{"title":"Delete purchase return invoice","openapi":"api-reference/openapi.json DELETE /api/v1/purchase-return-invoices/{invoiceId}","href":"/en/v1/purchase-return-invoices/delete"}]},{"group":"Sales Return Invoices","root":{"title":"Sales Return Invoices","icon":"file-invoice","href":"/en/v1/sales-return-invoices/overview"},"pages":[{"title":"List sales return invoices","openapi":"api-reference/openapi.json GET /api/v1/sales-return-invoices","href":"/en/v1/sales-return-invoices/list"},{"title":"Get sales return invoice","openapi":"api-reference/openapi.json GET /api/v1/sales-return-invoices/{invoiceId}","href":"/en/v1/sales-return-invoices/get"},{"title":"Create sales return invoice","openapi":"api-reference/openapi.json POST /api/v1/sales-return-invoices","href":"/en/v1/sales-return-invoices/create"},{"title":"Update sales return invoice","openapi":"api-reference/openapi.json PUT /api/v1/sales-return-invoices/{invoiceId}","href":"/en/v1/sales-return-invoices/update"},{"title":"Partially update sales return invoice","openapi":"api-reference/openapi.json PATCH /api/v1/sales-return-invoices/{invoiceId}","href":"/en/v1/sales-return-invoices/patch"},{"title":"Delete sales return invoice","openapi":"api-reference/openapi.json DELETE /api/v1/sales-return-invoices/{invoiceId}","href":"/en/v1/sales-return-invoices/delete"}]}]},{"group":"Finance","icon":"building-columns","root":{"title":"Finance","icon":"building-columns","href":"/en/v1/finance/overview"},"expanded":false,"pages":[{"group":"Customers","icon":"address-card","pages":[{"title":"Customer balances","openapi":"api-reference/openapi.json GET /api/v1/finance/customers/balances","href":"/en/v1/finance/customers/balances"},{"title":"Customer transactions","openapi":"api-reference/openapi.json GET /api/v1/finance/customers/{customerId}/transactions","href":"/en/v1/finance/customers/transactions"}]},{"group":"Bank","icon":"landmark","pages":[{"group":"Bank transfers","icon":"money-bill-transfer","root":{"title":"Bank Transfer Vouchers","icon":"money-bill-transfer","href":"/en/v1/finance/bank-transfers/overview"},"pages":[{"title":"List bank transfers","openapi":"api-reference/openapi.json GET /api/v1/finance/bank-transfers","href":"/en/v1/finance/bank-transfers/list"},{"title":"Get bank transfer","openapi":"api-reference/openapi.json GET /api/v1/finance/bank-transfers/{bankTransferId}","href":"/en/v1/finance/bank-transfers/get"},{"title":"Create bank transfer","openapi":"api-reference/openapi.json POST /api/v1/finance/bank-transfers","href":"/en/v1/finance/bank-transfers/create"},{"title":"Update bank transfer","openapi":"api-reference/openapi.json PUT /api/v1/finance/bank-transfers/{bankTransferId}","href":"/en/v1/finance/bank-transfers/update"},{"title":"Partially update bank transfer","openapi":"api-reference/openapi.json PATCH /api/v1/finance/bank-transfers/{bankTransferId}","href":"/en/v1/finance/bank-transfers/patch"},{"title":"Delete bank transfer","openapi":"api-reference/openapi.json DELETE /api/v1/finance/bank-transfers/{bankTransferId}","href":"/en/v1/finance/bank-transfers/delete"}]},{"group":"Bank openings","icon":"door-open","root":{"title":"Bank Opening Vouchers","icon":"door-open","href":"/en/v1/finance/bank-openings/overview"},"pages":[{"title":"List bank openings","openapi":"api-reference/openapi.json GET /api/v1/finance/bank-openings","href":"/en/v1/finance/bank-openings/list"},{"title":"Get bank opening","openapi":"api-reference/openapi.json GET /api/v1/finance/bank-openings/{bankOpeningId}","href":"/en/v1/finance/bank-openings/get"},{"title":"Create bank opening","openapi":"api-reference/openapi.json POST /api/v1/finance/bank-openings","href":"/en/v1/finance/bank-openings/create"},{"title":"Update bank opening","openapi":"api-reference/openapi.json PUT /api/v1/finance/bank-openings/{bankOpeningId}","href":"/en/v1/finance/bank-openings/update"},{"title":"Partially update bank opening","openapi":"api-reference/openapi.json PATCH /api/v1/finance/bank-openings/{bankOpeningId}","href":"/en/v1/finance/bank-openings/patch"},{"title":"Delete bank opening","openapi":"api-reference/openapi.json DELETE /api/v1/finance/bank-openings/{bankOpeningId}","href":"/en/v1/finance/bank-openings/delete"}]},{"group":"Bank internal transfers","icon":"right-left","root":{"title":"Bank Internal Transfer Vouchers","icon":"right-left","href":"/en/v1/finance/bank-internal-transfers/overview"},"pages":[{"title":"List bank internal transfers","openapi":"api-reference/openapi.json GET /api/v1/finance/bank-internal-transfers","href":"/en/v1/finance/bank-internal-transfers/list"},{"title":"Get bank internal transfer","openapi":"api-reference/openapi.json GET /api/v1/finance/bank-internal-transfers/{bankInternalTransferId}","href":"/en/v1/finance/bank-internal-transfers/get"},{"title":"Create bank internal transfer","openapi":"api-reference/openapi.json POST /api/v1/finance/bank-internal-transfers","href":"/en/v1/finance/bank-internal-transfers/create"},{"title":"Update bank internal transfer","openapi":"api-reference/openapi.json PUT /api/v1/finance/bank-internal-transfers/{bankInternalTransferId}","href":"/en/v1/finance/bank-internal-transfers/update"},{"title":"Partially update bank internal transfer","openapi":"api-reference/openapi.json PATCH /api/v1/finance/bank-internal-transfers/{bankInternalTransferId}","href":"/en/v1/finance/bank-internal-transfers/patch"},{"title":"Delete bank internal transfer","openapi":"api-reference/openapi.json DELETE /api/v1/finance/bank-internal-transfers/{bankInternalTransferId}","href":"/en/v1/finance/bank-internal-transfers/delete"}]},{"group":"Credit card collections","icon":"credit-card","root":{"title":"Credit Card Collection Vouchers","icon":"credit-card","href":"/en/v1/finance/credit-card-collections/overview"},"pages":[{"title":"List credit card collections","openapi":"api-reference/openapi.json GET /api/v1/finance/credit-card-collections","href":"/en/v1/finance/credit-card-collections/list"},{"title":"Get credit card collection","openapi":"api-reference/openapi.json GET /api/v1/finance/credit-card-collections/{creditCardCollectionId}","href":"/en/v1/finance/credit-card-collections/get"},{"title":"Create credit card collection","openapi":"api-reference/openapi.json POST /api/v1/finance/credit-card-collections","href":"/en/v1/finance/credit-card-collections/create"},{"title":"Update credit card collection","openapi":"api-reference/openapi.json PUT /api/v1/finance/credit-card-collections/{creditCardCollectionId}","href":"/en/v1/finance/credit-card-collections/update"},{"title":"Partially update credit card collection","openapi":"api-reference/openapi.json PATCH /api/v1/finance/credit-card-collections/{creditCardCollectionId}","href":"/en/v1/finance/credit-card-collections/patch"},{"title":"Delete credit card collection","openapi":"api-reference/openapi.json DELETE /api/v1/finance/credit-card-collections/{creditCardCollectionId}","href":"/en/v1/finance/credit-card-collections/delete"}]},{"group":"Bank definitions","icon":"building-columns","pages":[{"title":"List banks","openapi":"api-reference/openapi.json GET /api/v1/finance/banks","href":"/en/v1/finance/banks/list"},{"title":"Get bank","openapi":"api-reference/openapi.json GET /api/v1/finance/banks/{bankId}","href":"/en/v1/finance/banks/get"},{"title":"Create bank","openapi":"api-reference/openapi.json POST /api/v1/finance/banks","href":"/en/v1/finance/banks/create"},{"title":"Update bank","openapi":"api-reference/openapi.json PUT /api/v1/finance/banks/{bankId}","href":"/en/v1/finance/banks/update"},{"title":"Partially update bank","openapi":"api-reference/openapi.json PATCH /api/v1/finance/banks/{bankId}","href":"/en/v1/finance/banks/patch"},{"title":"Delete bank","openapi":"api-reference/openapi.json DELETE /api/v1/finance/banks/{bankId}","href":"/en/v1/finance/banks/delete"}]},{"group":"Bank accounts","icon":"credit-card","pages":[{"title":"List bank accounts","openapi":"api-reference/openapi.json GET /api/v1/finance/bank-accounts","href":"/en/v1/finance/bank-accounts/list"},{"title":"Get bank account","openapi":"api-reference/openapi.json GET /api/v1/finance/bank-accounts/{bankAccountId}","href":"/en/v1/finance/bank-accounts/get"},{"title":"Create bank account","openapi":"api-reference/openapi.json POST /api/v1/finance/bank-accounts","href":"/en/v1/finance/bank-accounts/create"},{"title":"Update bank account","openapi":"api-reference/openapi.json PUT /api/v1/finance/bank-accounts/{bankAccountId}","href":"/en/v1/finance/bank-accounts/update"},{"title":"Partially update bank account","openapi":"api-reference/openapi.json PATCH /api/v1/finance/bank-accounts/{bankAccountId}","href":"/en/v1/finance/bank-accounts/patch"},{"title":"Delete bank account","openapi":"api-reference/openapi.json DELETE /api/v1/finance/bank-accounts/{bankAccountId}","href":"/en/v1/finance/bank-accounts/delete"},{"group":"Repayment plans","icon":"calendar-days","pages":[{"title":"List repayment plans","openapi":"api-reference/openapi.json GET /api/v1/finance/bank-accounts/{bankAccountId}/repayment-plans","href":"/en/v1/finance/bank-accounts/repayment-plans/list"},{"title":"Get repayment plan","openapi":"api-reference/openapi.json GET /api/v1/finance/bank-accounts/{bankAccountId}/repayment-plans/{repaymentPlanId}","href":"/en/v1/finance/bank-accounts/repayment-plans/get"},{"title":"Create repayment plan","openapi":"api-reference/openapi.json POST /api/v1/finance/bank-accounts/{bankAccountId}/repayment-plans","href":"/en/v1/finance/bank-accounts/repayment-plans/create"},{"title":"Update repayment plan","openapi":"api-reference/openapi.json PUT /api/v1/finance/bank-accounts/{bankAccountId}/repayment-plans/{repaymentPlanId}","href":"/en/v1/finance/bank-accounts/repayment-plans/update"},{"title":"Partially update repayment plan","openapi":"api-reference/openapi.json PATCH /api/v1/finance/bank-accounts/{bankAccountId}/repayment-plans/{repaymentPlanId}","href":"/en/v1/finance/bank-accounts/repayment-plans/patch"},{"title":"Delete repayment plan","openapi":"api-reference/openapi.json DELETE /api/v1/finance/bank-accounts/{bankAccountId}/repayment-plans/{repaymentPlanId}","href":"/en/v1/finance/bank-accounts/repayment-plans/delete"}]}]}]}]}]},{"group":"Release notes","pages":[{"title":"Release notes","icon":"clock-rotate-left","href":"/en/v1/changelog"}]}]}]}]},"basePath":"","title":"Update purchase return invoice - Noyax API","buildId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","deploymentId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DdEMm2kG.js","utils-BMo572L7.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C-4m9KAx.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DPLK2Oq9.js","snippetPresets-BKjfJMC9.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-DTsgtCEj.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C8vmhyQM.js","shallow-r9w8LQGS.js","getApiPlaygroundDisplay-DjPI64HQ.js","CodeSnippet-C8Bvhl16.js","CodeSnippets-BtWUwcMy.js","Page-BIYvYBgk.js","getPastedJson-Dcm_3Pgl.js","icon-BXwrTpjc.js","MethodPill-CcjfVmmy.js","DuplicateIcon-BuKIbXAQ.js","createIcon-DaL9yXsO.js","DynamicMarkdown-Co5nikxh.js","SectionHeading-P4UNTsMZ.js","axios-vUo_bRtp.js","Markdown-CEfymfIH.js","clsx-Dq9TQuNi.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-D2J8knkn.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BgZ2ThuU.js"]}