addedInput schema / properties / patch / properties / bankName
Added value: +{
+ "anyOf": [
+ {
+ "maxLength": 160,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The counterparty's bank name. Optional."
+}
addedInput schema / properties / patch / properties / counterpartyType
Added value: +{
+ "description": "Counterparty type: company, sole_trader, or individual. Defaults to company.",
+ "enum": [
+ "company",
+ "sole_trader",
+ "individual"
+ ],
+ "type": "string"
+}
addedInput schema / properties / patch / properties / creditLimit
Added value: +{
+ "anyOf": [
+ {
+ "description": "Non-negative credit limit up to 999999999999.99.",
+ "pattern": "^(?:0|[1-9]\\d{0,11})(?:\\.\\d{1,2})?$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Maximum outstanding balance. Optional; requires creditLimitCurrency."
+}
addedInput schema / properties / patch / properties / creditLimitCurrency
Added value: +{
+ "anyOf": [
+ {
+ "description": "Uppercase 3-letter ISO currency for the credit limit.",
+ "maxLength": 3,
+ "pattern": "^[A-Z]{3}$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "ISO currency for creditLimit. Required when creditLimit is set."
+}
addedInput schema / properties / patch / properties / deliveryAddress
Added value: +{
+ "anyOf": [
+ {
+ "maxLength": 500,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Delivery address. Optional."
+}
addedInput schema / properties / patch / properties / edrpou
Added value: +{
+ "anyOf": [
+ {
+ "description": "Tax id: 8-digit ЄДРПОУ or 10-digit ІПН.",
+ "maxLength": 20,
+ "pattern": "^\\d{8}(\\d{2})?$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Tax identifier: 8-digit EDRPOU or 10-digit taxpayer number. Optional."
+}
addedInput schema / properties / patch / properties / email
Added value: +{
+ "anyOf": [
+ {
+ "description": "The company email.",
+ "format": "email",
+ "maxLength": 255,
+ "pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The company email. Optional."
+}
addedInput schema / properties / patch / properties / iban
Added value: +{
+ "anyOf": [
+ {
+ "maxLength": 34,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The counterparty's IBAN. Optional."
+}
addedInput schema / properties / patch / properties / legalAddress
Added value: +{
+ "anyOf": [
+ {
+ "maxLength": 500,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Legal address. Optional."
+}
addedInput schema / properties / patch / properties / paymentTermsDays
Added value: +{
+ "anyOf": [
+ {
+ "description": "Payment terms in whole days from 0 to 365.",
+ "maximum": 365,
+ "minimum": 0,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Agreed payment term in days (0-365). Optional."
+}
addedInput schema / properties / patch / properties / phone
Added value: +{
+ "anyOf": [
+ {
+ "description": "The company phone.",
+ "maxLength": 50,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The company phone. Optional."
+}
addedInput schema / properties / patch / properties / primaryContactId
Added value: +{
+ "anyOf": [
+ {
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "CRM contact id to designate as this counterparty's primary contact. Must already belong to this company; null clears it."
+}
addedInput schema / properties / patch / properties / representationState
Added value: +{
+ "description": "Declared representation state: unspecified, works_alone, or has_representatives. Never inferred from contact count.",
+ "enum": [
+ "unspecified",
+ "works_alone",
+ "has_representatives"
+ ],
+ "type": "string"
+}
addedInput schema / properties / patch / properties / tags
Added value: +{
+ "description": "Tags for segmentation. Optional.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+}
addedInput schema / properties / patch / properties / taxGroup
Added value: +{
+ "anyOf": [
+ {
+ "enum": [
+ "group_1",
+ "group_2",
+ "group_3"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Single-tax group. Only meaningful for a sole trader on the simplified system."
+}
addedInput schema / properties / patch / properties / taxSystem
Added value: +{
+ "anyOf": [
+ {
+ "enum": [
+ "simplified",
+ "general"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Tax system: simplified or general. Optional."
+}
addedInput schema / properties / patch / properties / vatNumber
Added value: +{
+ "anyOf": [
+ {
+ "maxLength": 20,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "VAT payer identifier. Optional."
+}
addedInput schema / properties / patch / properties / vatPayer
Added value: +{
+ "description": "Whether the counterparty is a VAT payer. Optional.",
+ "type": "boolean"
+}