{"openapi":"3.0.3","info":{"title":"Sage Connector Public API","version":"0.1.0","description":"Connect to a Sage company, inspect its capabilities, then read or change supported resources.\n\nV2 resource routes select Sage 50 UK or US through the connection. Start with `GET /v2/connections/{connectionId}/info` for its country, detected Sage/SDK version and resource operations. Use the matching country/version DTO. Writes require `Idempotency-Key`; a `202` response supplies an operation to poll.\n\nV1 routes remain available for existing integrations. Operation availability depends on the connected edition, installed SDK, connector implementation and granted permissions; a documented route alone does not establish support.\n\nUse the document selector for version-specific UK and US SDK model references. Those profiles document native SDK types and methods, not additional HTTP endpoints."},"components":{"securitySchemes":{"SagePortalAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Keycloak portal access token with the API audience and membership in the requested organization. Project API keys cannot manage accounts."},"SageConnectorAuth":{"type":"http","scheme":"bearer","description":"Opaque device access token from branded pairing, or a legacy Keycloak desktop access token with API audience and desktop authorized party. Keep the installation UUID stable across reconnects."},"SageApiKey":{"type":"http","scheme":"bearer","description":"Project API key with access to this connection and operation."},"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"ConnectorClientMessage":{"anyOf":[{"type":"object","properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["connector.hello"]},"appVersion":{"type":"string","minLength":1,"maxLength":40},"operations":{"type":"array","items":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"minItems":1,"maxItems":14},"features":{"type":"array","items":{"type":"string","enum":["changes.v1","changes.us.v1"]},"maxItems":4}},"required":["v","type","appVersion","operations"],"additionalProperties":false},{"type":"object","properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["connector.heartbeat"]}},"required":["v","type"],"additionalProperties":false},{"type":"object","properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.accepted"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"}},"required":["v","type","connectionId","jobId","attemptId"],"additionalProperties":false},{"type":"object","properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},{"type":"object","properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["resource.changes"]},"connectionId":{"type":"string","format":"uuid"},"batchId":{"type":"string","format":"uuid"},"events":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"type":{"type":"string","enum":["resource.created","resource.updated","resource.deleted","resource.reset"]},"resource":{"anyOf":[{"type":"string","enum":["customers","suppliers","items","accounts","bank-accounts","invoices","sales-orders","purchase-orders","fixed-assets","price-lists","customer-addresses","supplier-addresses","company-addresses"]},{"type":"string","enum":["accounts","customers","suppliers","items","employees","jobs","budgets","quotes","proposals","sales-orders","invoices","customer-credit-memos","receipts","advance-receipts","payments","advance-payments","customer-payments","supplier-receipts","purchase-orders","purchase-invoices","supplier-credit-memos","journal-entries","tax-codes","tax-agencies"]}]},"recordId":{"type":"string","minLength":1,"maxLength":256},"revision":{"type":"string","nullable":true,"pattern":"^[a-f0-9]{64}$"},"observedAt":{"type":"integer","minimum":0}},"required":["id","type","resource","recordId","revision","observedAt"],"additionalProperties":false},"minItems":1,"maxItems":100}},"required":["v","type","connectionId","batchId","events"],"additionalProperties":false}]},"ConnectorServerMessage":{"anyOf":[{"type":"object","properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["connector.ready"]},"heartbeatMs":{"type":"number","enum":[20000]},"connections":{"type":"array","items":{"type":"object","properties":{"connectionId":{"type":"string","format":"uuid"},"companyId":{"type":"string","minLength":1,"maxLength":128},"edition":{"type":"string","enum":["sage50-uk","sage50-us"]},"operations":{"type":"array","items":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"minItems":1,"maxItems":14},"changePolling":{"type":"object","properties":{"resources":{"type":"array","items":{"anyOf":[{"type":"string","enum":["customers","suppliers","items","accounts","bank-accounts","invoices","sales-orders","purchase-orders","fixed-assets","price-lists","customer-addresses","supplier-addresses","company-addresses"]},{"type":"string","enum":["accounts","customers","suppliers","items","employees","jobs","budgets","quotes","proposals","sales-orders","invoices","customer-credit-memos","receipts","advance-receipts","payments","advance-payments","customer-payments","supplier-receipts","purchase-orders","purchase-invoices","supplier-credit-memos","journal-entries","tax-codes","tax-agencies"]}]},"minItems":1,"maxItems":24},"intervalSeconds":{"type":"integer","enum":[60,300,900]}},"required":["resources","intervalSeconds"],"additionalProperties":false}},"required":["connectionId","companyId","edition","operations"],"additionalProperties":false},"maxItems":32}},"required":["v","type","heartbeatMs","connections"],"additionalProperties":false},{"type":"object","properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.request"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"companyId":{"type":"string","minLength":1,"maxLength":128},"edition":{"type":"string","enum":["sage50-uk","sage50-us"]},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"payload":{"anyOf":[{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":1000},"offset":{"type":"integer","minimum":0,"maximum":1000000}},"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","enum":["customers","suppliers","items","accounts","bank-accounts","invoices","sales-orders","purchase-orders","fixed-assets","price-lists","customer-addresses","supplier-addresses","company-addresses"]},"id":{"type":"string","minLength":1,"maxLength":256},"data":{"type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"limit":{"type":"integer","minimum":1,"maximum":100},"offset":{"type":"integer","minimum":0,"maximum":1000000}},"required":["resource"],"additionalProperties":false},{"oneOf":[{"type":"object","properties":{"resource":{"type":"string","enum":["accounts"]},"id":{"type":"string","format":"uuid"},"data":{"anyOf":[{"type":"object","properties":{"classification":{"type":"integer","enum":[6,0,16,14,12,17,5,15,2,7,4,10,11,8,9,1,3,13]},"description":{"type":"string","minLength":1,"maxLength":100000},"code":{"type":"string","minLength":1,"maxLength":100000},"isInactive":{"type":"boolean"}},"required":["classification","description","code"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"integer","enum":[6,0,16,14,12,17,5,15,2,7,4,10,11,8,9,1,3,13]},"description":{"type":"string","nullable":true,"maxLength":100000},"isInactive":{"type":"boolean"}},"additionalProperties":false}]},"limit":{"type":"integer","minimum":1,"maximum":100},"offset":{"type":"integer","minimum":0,"maximum":1000000}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","enum":["customers"]},"id":{"type":"string","format":"uuid"},"data":{"anyOf":[{"type":"object","properties":{"accountNumber":{"type":"string","nullable":true,"maxLength":100000},"billToContact":{"type":"object","nullable":true,"properties":{"address":{"type":"object","nullable":true,"properties":{"address1":{"type":"string","nullable":true,"maxLength":100000},"address2":{"type":"string","nullable":true,"maxLength":100000},"city":{"type":"string","nullable":true,"maxLength":100000},"country":{"type":"string","nullable":true,"maxLength":100000},"salesTaxCode":{"type":"string","nullable":true,"maxLength":100000},"state":{"type":"string","nullable":true,"maxLength":100000},"zip":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"companyName":{"type":"string","nullable":true,"maxLength":100000},"email":{"type":"string","nullable":true,"maxLength":100000},"firstName":{"type":"string","nullable":true,"maxLength":100000},"gender":{"type":"integer","enum":[2,1,0]},"lastName":{"type":"string","nullable":true,"maxLength":100000},"middleInitial":{"type":"string","nullable":true,"maxLength":100000},"nameToUseOnForms":{"type":"integer","enum":[1,0]},"notes":{"type":"string","nullable":true,"maxLength":100000},"prefix":{"type":"string","nullable":true,"maxLength":100000},"suffix":{"type":"string","nullable":true,"maxLength":100000},"title":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"cashAccountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"category":{"type":"string","nullable":true,"maxLength":100000},"creditStatus":{"type":"integer","enum":[4,3,0,2,1]},"customerSince":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"email":{"type":"string","nullable":true,"maxLength":100000},"code":{"type":"string","minLength":1,"maxLength":100000},"isInactive":{"type":"boolean"},"isProspect":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":100000},"openPurchaseOrderNumber":{"type":"string","nullable":true,"maxLength":100000},"paymentMethod":{"type":"string","nullable":true,"maxLength":100000},"priceLevel":{"type":"integer","minimum":-32768,"maximum":32767},"replaceInventoryItemIDWithPartNumber":{"type":"boolean"},"replaceInventoryItemIDWithUPC":{"type":"boolean"},"resaleNumber":{"type":"string","nullable":true,"maxLength":100000},"salesRepresentativeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"shipToContact":{"type":"object","nullable":true,"properties":{"address":{"type":"object","nullable":true,"properties":{"address1":{"type":"string","nullable":true,"maxLength":100000},"address2":{"type":"string","nullable":true,"maxLength":100000},"city":{"type":"string","nullable":true,"maxLength":100000},"country":{"type":"string","nullable":true,"maxLength":100000},"salesTaxCode":{"type":"string","nullable":true,"maxLength":100000},"state":{"type":"string","nullable":true,"maxLength":100000},"zip":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"companyName":{"type":"string","nullable":true,"maxLength":100000},"email":{"type":"string","nullable":true,"maxLength":100000},"firstName":{"type":"string","nullable":true,"maxLength":100000},"gender":{"type":"integer","enum":[2,1,0]},"lastName":{"type":"string","nullable":true,"maxLength":100000},"middleInitial":{"type":"string","nullable":true,"maxLength":100000},"nameToUseOnForms":{"type":"integer","enum":[1,0]},"notes":{"type":"string","nullable":true,"maxLength":100000},"prefix":{"type":"string","nullable":true,"maxLength":100000},"suffix":{"type":"string","nullable":true,"maxLength":100000},"title":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"shipVia":{"type":"string","nullable":true,"maxLength":100000},"terms":{"type":"object","properties":{"paymentTimeFrame":{"type":"integer","enum":[0,4,2,3,1]},"dueDays":{"type":"integer","minimum":0},"useDiscounts":{"type":"boolean"},"discountDays":{"type":"integer","minimum":0},"discountPercent":{"type":"number","minimum":0,"maximum":100},"creditLimit":{"type":"number","minimum":0},"chargeInterest":{"type":"boolean"}},"required":["paymentTimeFrame","dueDays","useDiscounts","discountDays","discountPercent","creditLimit","chargeInterest"],"additionalProperties":false},"useEmailToDeliverForms":{"type":"boolean"},"usualSalesAccountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"webSiteURL":{"type":"string","nullable":true,"maxLength":100000}},"required":["code","name"],"additionalProperties":false},{"type":"object","properties":{"accountNumber":{"type":"string","nullable":true,"maxLength":100000},"billToContact":{"type":"object","nullable":true,"properties":{"address":{"type":"object","nullable":true,"properties":{"address1":{"type":"string","nullable":true,"maxLength":100000},"address2":{"type":"string","nullable":true,"maxLength":100000},"city":{"type":"string","nullable":true,"maxLength":100000},"country":{"type":"string","nullable":true,"maxLength":100000},"salesTaxCode":{"type":"string","nullable":true,"maxLength":100000},"state":{"type":"string","nullable":true,"maxLength":100000},"zip":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"companyName":{"type":"string","nullable":true,"maxLength":100000},"email":{"type":"string","nullable":true,"maxLength":100000},"firstName":{"type":"string","nullable":true,"maxLength":100000},"gender":{"type":"integer","enum":[2,1,0]},"lastName":{"type":"string","nullable":true,"maxLength":100000},"middleInitial":{"type":"string","nullable":true,"maxLength":100000},"nameToUseOnForms":{"type":"integer","enum":[1,0]},"notes":{"type":"string","nullable":true,"maxLength":100000},"prefix":{"type":"string","nullable":true,"maxLength":100000},"suffix":{"type":"string","nullable":true,"maxLength":100000},"title":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"cashAccountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"category":{"type":"string","nullable":true,"maxLength":100000},"creditStatus":{"type":"integer","enum":[4,3,0,2,1]},"customerSince":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"email":{"type":"string","nullable":true,"maxLength":100000},"isInactive":{"type":"boolean"},"isProspect":{"type":"boolean"},"name":{"type":"string","nullable":true,"maxLength":100000},"openPurchaseOrderNumber":{"type":"string","nullable":true,"maxLength":100000},"paymentMethod":{"type":"string","nullable":true,"maxLength":100000},"priceLevel":{"type":"integer","minimum":-32768,"maximum":32767},"replaceInventoryItemIDWithPartNumber":{"type":"boolean"},"replaceInventoryItemIDWithUPC":{"type":"boolean"},"resaleNumber":{"type":"string","nullable":true,"maxLength":100000},"salesRepresentativeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"shipToContact":{"type":"object","nullable":true,"properties":{"address":{"type":"object","nullable":true,"properties":{"address1":{"type":"string","nullable":true,"maxLength":100000},"address2":{"type":"string","nullable":true,"maxLength":100000},"city":{"type":"string","nullable":true,"maxLength":100000},"country":{"type":"string","nullable":true,"maxLength":100000},"salesTaxCode":{"type":"string","nullable":true,"maxLength":100000},"state":{"type":"string","nullable":true,"maxLength":100000},"zip":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"companyName":{"type":"string","nullable":true,"maxLength":100000},"email":{"type":"string","nullable":true,"maxLength":100000},"firstName":{"type":"string","nullable":true,"maxLength":100000},"gender":{"type":"integer","enum":[2,1,0]},"lastName":{"type":"string","nullable":true,"maxLength":100000},"middleInitial":{"type":"string","nullable":true,"maxLength":100000},"nameToUseOnForms":{"type":"integer","enum":[1,0]},"notes":{"type":"string","nullable":true,"maxLength":100000},"prefix":{"type":"string","nullable":true,"maxLength":100000},"suffix":{"type":"string","nullable":true,"maxLength":100000},"title":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"shipVia":{"type":"string","nullable":true,"maxLength":100000},"terms":{"type":"object","properties":{"paymentTimeFrame":{"type":"integer","enum":[0,4,2,3,1]},"dueDays":{"type":"integer","minimum":0},"useDiscounts":{"type":"boolean"},"discountDays":{"type":"integer","minimum":0},"discountPercent":{"type":"number","minimum":0,"maximum":100},"creditLimit":{"type":"number","minimum":0},"chargeInterest":{"type":"boolean"}},"required":["paymentTimeFrame","dueDays","useDiscounts","discountDays","discountPercent","creditLimit","chargeInterest"],"additionalProperties":false},"useEmailToDeliverForms":{"type":"boolean"},"usualSalesAccountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"webSiteURL":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false}]},"limit":{"type":"integer","minimum":1,"maximum":100},"offset":{"type":"integer","minimum":0,"maximum":1000000}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","enum":["suppliers"]},"id":{"type":"string","format":"uuid"},"data":{"anyOf":[{"type":"object","properties":{"accountNumber":{"type":"string","nullable":true,"maxLength":100000},"cashAccountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"category":{"type":"string","nullable":true,"maxLength":100000},"email":{"type":"string","nullable":true,"maxLength":100000},"expenseAccountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"form1099Type":{"type":"integer","enum":[1,2,0]},"code":{"type":"string","minLength":1,"maxLength":100000},"includePurchaseRepresentativeOnEmailedForms":{"type":"boolean"},"isInactive":{"type":"boolean"},"mailToContact":{"type":"object","nullable":true,"properties":{"address":{"type":"object","nullable":true,"properties":{"address1":{"type":"string","nullable":true,"maxLength":100000},"address2":{"type":"string","nullable":true,"maxLength":100000},"city":{"type":"string","nullable":true,"maxLength":100000},"country":{"type":"string","nullable":true,"maxLength":100000},"salesTaxCode":{"type":"string","nullable":true,"maxLength":100000},"state":{"type":"string","nullable":true,"maxLength":100000},"zip":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"companyName":{"type":"string","nullable":true,"maxLength":100000},"email":{"type":"string","nullable":true,"maxLength":100000},"firstName":{"type":"string","nullable":true,"maxLength":100000},"gender":{"type":"integer","enum":[2,1,0]},"lastName":{"type":"string","nullable":true,"maxLength":100000},"middleInitial":{"type":"string","nullable":true,"maxLength":100000},"nameToUseOnForms":{"type":"integer","enum":[1,0]},"notes":{"type":"string","nullable":true,"maxLength":100000},"prefix":{"type":"string","nullable":true,"maxLength":100000},"suffix":{"type":"string","nullable":true,"maxLength":100000},"title":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"name":{"type":"string","minLength":1,"maxLength":100000},"paymentMethod":{"type":"string","nullable":true,"maxLength":100000},"paymentsContact":{"type":"object","nullable":true,"properties":{"address":{"type":"object","nullable":true,"properties":{"address1":{"type":"string","nullable":true,"maxLength":100000},"address2":{"type":"string","nullable":true,"maxLength":100000},"city":{"type":"string","nullable":true,"maxLength":100000},"country":{"type":"string","nullable":true,"maxLength":100000},"salesTaxCode":{"type":"string","nullable":true,"maxLength":100000},"state":{"type":"string","nullable":true,"maxLength":100000},"zip":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"companyName":{"type":"string","nullable":true,"maxLength":100000},"email":{"type":"string","nullable":true,"maxLength":100000},"firstName":{"type":"string","nullable":true,"maxLength":100000},"gender":{"type":"integer","enum":[2,1,0]},"lastName":{"type":"string","nullable":true,"maxLength":100000},"middleInitial":{"type":"string","nullable":true,"maxLength":100000},"nameToUseOnForms":{"type":"integer","enum":[1,0]},"notes":{"type":"string","nullable":true,"maxLength":100000},"prefix":{"type":"string","nullable":true,"maxLength":100000},"suffix":{"type":"string","nullable":true,"maxLength":100000},"title":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"purchaseOrdersContact":{"type":"object","nullable":true,"properties":{"address":{"type":"object","nullable":true,"properties":{"address1":{"type":"string","nullable":true,"maxLength":100000},"address2":{"type":"string","nullable":true,"maxLength":100000},"city":{"type":"string","nullable":true,"maxLength":100000},"country":{"type":"string","nullable":true,"maxLength":100000},"salesTaxCode":{"type":"string","nullable":true,"maxLength":100000},"state":{"type":"string","nullable":true,"maxLength":100000},"zip":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"companyName":{"type":"string","nullable":true,"maxLength":100000},"email":{"type":"string","nullable":true,"maxLength":100000},"firstName":{"type":"string","nullable":true,"maxLength":100000},"gender":{"type":"integer","enum":[2,1,0]},"lastName":{"type":"string","nullable":true,"maxLength":100000},"middleInitial":{"type":"string","nullable":true,"maxLength":100000},"nameToUseOnForms":{"type":"integer","enum":[1,0]},"notes":{"type":"string","nullable":true,"maxLength":100000},"prefix":{"type":"string","nullable":true,"maxLength":100000},"suffix":{"type":"string","nullable":true,"maxLength":100000},"title":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"purchaseRepresentativeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"replaceInventoryItemIDWithPartNumber":{"type":"boolean"},"replaceInventoryItemIDWithUPC":{"type":"boolean"},"shipmentsContact":{"type":"object","nullable":true,"properties":{"address":{"type":"object","nullable":true,"properties":{"address1":{"type":"string","nullable":true,"maxLength":100000},"address2":{"type":"string","nullable":true,"maxLength":100000},"city":{"type":"string","nullable":true,"maxLength":100000},"country":{"type":"string","nullable":true,"maxLength":100000},"salesTaxCode":{"type":"string","nullable":true,"maxLength":100000},"state":{"type":"string","nullable":true,"maxLength":100000},"zip":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"companyName":{"type":"string","nullable":true,"maxLength":100000},"email":{"type":"string","nullable":true,"maxLength":100000},"firstName":{"type":"string","nullable":true,"maxLength":100000},"gender":{"type":"integer","enum":[2,1,0]},"lastName":{"type":"string","nullable":true,"maxLength":100000},"middleInitial":{"type":"string","nullable":true,"maxLength":100000},"nameToUseOnForms":{"type":"integer","enum":[1,0]},"notes":{"type":"string","nullable":true,"maxLength":100000},"prefix":{"type":"string","nullable":true,"maxLength":100000},"suffix":{"type":"string","nullable":true,"maxLength":100000},"title":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"shipVia":{"type":"string","nullable":true,"maxLength":100000},"taxIDNumber":{"type":"string","nullable":true,"maxLength":100000},"terms":{"type":"object","properties":{"paymentTimeFrame":{"type":"integer","enum":[0,4,2,3,1]},"dueDays":{"type":"integer","minimum":0},"useDiscounts":{"type":"boolean"},"discountDays":{"type":"integer","minimum":0},"discountPercent":{"type":"number","minimum":0,"maximum":100},"creditLimit":{"type":"number","minimum":0},"chargeInterest":{"type":"boolean"}},"required":["paymentTimeFrame","dueDays","useDiscounts","discountDays","discountPercent","creditLimit","chargeInterest"],"additionalProperties":false},"useEmailToDeliverForms":{"type":"boolean"},"usingPaymentDefaults":{"type":"boolean"},"vendorSince":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"webSiteURL":{"type":"string","nullable":true,"maxLength":100000}},"required":["code","name"],"additionalProperties":false},{"type":"object","properties":{"accountNumber":{"type":"string","nullable":true,"maxLength":100000},"cashAccountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"category":{"type":"string","nullable":true,"maxLength":100000},"email":{"type":"string","nullable":true,"maxLength":100000},"expenseAccountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"form1099Type":{"type":"integer","enum":[1,2,0]},"includePurchaseRepresentativeOnEmailedForms":{"type":"boolean"},"isInactive":{"type":"boolean"},"mailToContact":{"type":"object","nullable":true,"properties":{"address":{"type":"object","nullable":true,"properties":{"address1":{"type":"string","nullable":true,"maxLength":100000},"address2":{"type":"string","nullable":true,"maxLength":100000},"city":{"type":"string","nullable":true,"maxLength":100000},"country":{"type":"string","nullable":true,"maxLength":100000},"salesTaxCode":{"type":"string","nullable":true,"maxLength":100000},"state":{"type":"string","nullable":true,"maxLength":100000},"zip":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"companyName":{"type":"string","nullable":true,"maxLength":100000},"email":{"type":"string","nullable":true,"maxLength":100000},"firstName":{"type":"string","nullable":true,"maxLength":100000},"gender":{"type":"integer","enum":[2,1,0]},"lastName":{"type":"string","nullable":true,"maxLength":100000},"middleInitial":{"type":"string","nullable":true,"maxLength":100000},"nameToUseOnForms":{"type":"integer","enum":[1,0]},"notes":{"type":"string","nullable":true,"maxLength":100000},"prefix":{"type":"string","nullable":true,"maxLength":100000},"suffix":{"type":"string","nullable":true,"maxLength":100000},"title":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"name":{"type":"string","nullable":true,"maxLength":100000},"paymentMethod":{"type":"string","nullable":true,"maxLength":100000},"paymentsContact":{"type":"object","nullable":true,"properties":{"address":{"type":"object","nullable":true,"properties":{"address1":{"type":"string","nullable":true,"maxLength":100000},"address2":{"type":"string","nullable":true,"maxLength":100000},"city":{"type":"string","nullable":true,"maxLength":100000},"country":{"type":"string","nullable":true,"maxLength":100000},"salesTaxCode":{"type":"string","nullable":true,"maxLength":100000},"state":{"type":"string","nullable":true,"maxLength":100000},"zip":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"companyName":{"type":"string","nullable":true,"maxLength":100000},"email":{"type":"string","nullable":true,"maxLength":100000},"firstName":{"type":"string","nullable":true,"maxLength":100000},"gender":{"type":"integer","enum":[2,1,0]},"lastName":{"type":"string","nullable":true,"maxLength":100000},"middleInitial":{"type":"string","nullable":true,"maxLength":100000},"nameToUseOnForms":{"type":"integer","enum":[1,0]},"notes":{"type":"string","nullable":true,"maxLength":100000},"prefix":{"type":"string","nullable":true,"maxLength":100000},"suffix":{"type":"string","nullable":true,"maxLength":100000},"title":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"purchaseOrdersContact":{"type":"object","nullable":true,"properties":{"address":{"type":"object","nullable":true,"properties":{"address1":{"type":"string","nullable":true,"maxLength":100000},"address2":{"type":"string","nullable":true,"maxLength":100000},"city":{"type":"string","nullable":true,"maxLength":100000},"country":{"type":"string","nullable":true,"maxLength":100000},"salesTaxCode":{"type":"string","nullable":true,"maxLength":100000},"state":{"type":"string","nullable":true,"maxLength":100000},"zip":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"companyName":{"type":"string","nullable":true,"maxLength":100000},"email":{"type":"string","nullable":true,"maxLength":100000},"firstName":{"type":"string","nullable":true,"maxLength":100000},"gender":{"type":"integer","enum":[2,1,0]},"lastName":{"type":"string","nullable":true,"maxLength":100000},"middleInitial":{"type":"string","nullable":true,"maxLength":100000},"nameToUseOnForms":{"type":"integer","enum":[1,0]},"notes":{"type":"string","nullable":true,"maxLength":100000},"prefix":{"type":"string","nullable":true,"maxLength":100000},"suffix":{"type":"string","nullable":true,"maxLength":100000},"title":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"purchaseRepresentativeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"replaceInventoryItemIDWithPartNumber":{"type":"boolean"},"replaceInventoryItemIDWithUPC":{"type":"boolean"},"shipmentsContact":{"type":"object","nullable":true,"properties":{"address":{"type":"object","nullable":true,"properties":{"address1":{"type":"string","nullable":true,"maxLength":100000},"address2":{"type":"string","nullable":true,"maxLength":100000},"city":{"type":"string","nullable":true,"maxLength":100000},"country":{"type":"string","nullable":true,"maxLength":100000},"salesTaxCode":{"type":"string","nullable":true,"maxLength":100000},"state":{"type":"string","nullable":true,"maxLength":100000},"zip":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"companyName":{"type":"string","nullable":true,"maxLength":100000},"email":{"type":"string","nullable":true,"maxLength":100000},"firstName":{"type":"string","nullable":true,"maxLength":100000},"gender":{"type":"integer","enum":[2,1,0]},"lastName":{"type":"string","nullable":true,"maxLength":100000},"middleInitial":{"type":"string","nullable":true,"maxLength":100000},"nameToUseOnForms":{"type":"integer","enum":[1,0]},"notes":{"type":"string","nullable":true,"maxLength":100000},"prefix":{"type":"string","nullable":true,"maxLength":100000},"suffix":{"type":"string","nullable":true,"maxLength":100000},"title":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"shipVia":{"type":"string","nullable":true,"maxLength":100000},"taxIDNumber":{"type":"string","nullable":true,"maxLength":100000},"terms":{"type":"object","properties":{"paymentTimeFrame":{"type":"integer","enum":[0,4,2,3,1]},"dueDays":{"type":"integer","minimum":0},"useDiscounts":{"type":"boolean"},"discountDays":{"type":"integer","minimum":0},"discountPercent":{"type":"number","minimum":0,"maximum":100},"creditLimit":{"type":"number","minimum":0},"chargeInterest":{"type":"boolean"}},"required":["paymentTimeFrame","dueDays","useDiscounts","discountDays","discountPercent","creditLimit","chargeInterest"],"additionalProperties":false},"useEmailToDeliverForms":{"type":"boolean"},"usingPaymentDefaults":{"type":"boolean"},"vendorSince":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"webSiteURL":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false}]},"limit":{"type":"integer","minimum":1,"maximum":100},"offset":{"type":"integer","minimum":0,"maximum":1000000}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","enum":["items"]},"id":{"type":"string","format":"uuid"},"limit":{"type":"integer","minimum":1,"maximum":100},"offset":{"type":"integer","minimum":0,"maximum":1000000}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","enum":["employees"]},"id":{"type":"string","format":"uuid"},"limit":{"type":"integer","minimum":1,"maximum":100},"offset":{"type":"integer","minimum":0,"maximum":1000000}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","enum":["jobs"]},"id":{"type":"string","format":"uuid"},"limit":{"type":"integer","minimum":1,"maximum":100},"offset":{"type":"integer","minimum":0,"maximum":1000000}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","enum":["budgets"]},"id":{"type":"string","format":"uuid"},"limit":{"type":"integer","minimum":1,"maximum":100},"offset":{"type":"integer","minimum":0,"maximum":1000000}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","enum":["quotes"]},"id":{"type":"string","format":"uuid"},"data":{"anyOf":[{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"referenceNumber":{"type":"string","minLength":1,"maxLength":100000},"customerNote":{"type":"string","nullable":true,"maxLength":100000},"customerPurchaseOrderNumber":{"type":"string","nullable":true,"maxLength":100000},"customerReference":{"type":"object","properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"discountAmount":{"type":"number"},"discountDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"dropShip":{"type":"boolean"},"freightAccountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"freightAmount":{"type":"number"},"goodThroughDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"internalNote":{"type":"string","nullable":true,"maxLength":100000},"printCustomerNoteAfterLineItems":{"type":"boolean"},"salesRepresentativeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"salesTaxCodeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"shipVia":{"type":"string","nullable":true,"maxLength":100000},"statementNote":{"type":"string","nullable":true,"maxLength":100000},"termsDescription":{"type":"string","nullable":true,"maxLength":100000},"lines":{"type":"array","items":{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"amount":{"type":"number"},"description":{"type":"string","nullable":true,"maxLength":100000},"inventoryItemReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"jobReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"quantity":{"type":"number"},"salesTaxType":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"unitPrice":{"type":"number"}},"additionalProperties":false},"minItems":1,"maxItems":1000}},"required":["date","referenceNumber","customerReference","lines"],"additionalProperties":false},{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"referenceNumber":{"type":"string","nullable":true,"maxLength":100000},"customerNote":{"type":"string","nullable":true,"maxLength":100000},"customerPurchaseOrderNumber":{"type":"string","nullable":true,"maxLength":100000},"customerReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"discountAmount":{"type":"number"},"discountDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"dropShip":{"type":"boolean"},"freightAccountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"freightAmount":{"type":"number"},"goodThroughDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"internalNote":{"type":"string","nullable":true,"maxLength":100000},"printCustomerNoteAfterLineItems":{"type":"boolean"},"salesRepresentativeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"salesTaxCodeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"shipVia":{"type":"string","nullable":true,"maxLength":100000},"statementNote":{"type":"string","nullable":true,"maxLength":100000},"termsDescription":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false}]},"limit":{"type":"integer","minimum":1,"maximum":100},"offset":{"type":"integer","minimum":0,"maximum":1000000}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","enum":["proposals"]},"id":{"type":"string","format":"uuid"},"limit":{"type":"integer","minimum":1,"maximum":100},"offset":{"type":"integer","minimum":0,"maximum":1000000}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","enum":["sales-orders"]},"id":{"type":"string","format":"uuid"},"data":{"anyOf":[{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"referenceNumber":{"type":"string","minLength":1,"maxLength":100000},"customerNote":{"type":"string","nullable":true,"maxLength":100000},"customerPurchaseOrderNumber":{"type":"string","nullable":true,"maxLength":100000},"customerReference":{"type":"object","properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"discountAmount":{"type":"number"},"discountDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"freightAccountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"freightAmount":{"type":"number"},"internalNote":{"type":"string","nullable":true,"maxLength":100000},"isClosed":{"type":"boolean"},"isDropShip":{"type":"boolean"},"printCustomerNoteAfterLineItems":{"type":"boolean"},"salesRepresentativeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"salesTaxCodeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"shipByDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"shipDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"shipVia":{"type":"string","nullable":true,"maxLength":100000},"statementNote":{"type":"string","nullable":true,"maxLength":100000},"termsDescription":{"type":"string","nullable":true,"maxLength":100000},"lines":{"type":"array","items":{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"amount":{"type":"number"},"description":{"type":"string","nullable":true,"maxLength":100000},"inventoryItemReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"jobReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"quantity":{"type":"number"},"salesTaxType":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"unitPrice":{"type":"number"}},"additionalProperties":false},"minItems":1,"maxItems":1000}},"required":["date","referenceNumber","customerReference","lines"],"additionalProperties":false},{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"referenceNumber":{"type":"string","nullable":true,"maxLength":100000},"customerNote":{"type":"string","nullable":true,"maxLength":100000},"customerPurchaseOrderNumber":{"type":"string","nullable":true,"maxLength":100000},"customerReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"discountAmount":{"type":"number"},"discountDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"freightAccountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"freightAmount":{"type":"number"},"internalNote":{"type":"string","nullable":true,"maxLength":100000},"isClosed":{"type":"boolean"},"isDropShip":{"type":"boolean"},"printCustomerNoteAfterLineItems":{"type":"boolean"},"salesRepresentativeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"salesTaxCodeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"shipByDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"shipDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"shipVia":{"type":"string","nullable":true,"maxLength":100000},"statementNote":{"type":"string","nullable":true,"maxLength":100000},"termsDescription":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false}]},"limit":{"type":"integer","minimum":1,"maximum":100},"offset":{"type":"integer","minimum":0,"maximum":1000000}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","enum":["invoices"]},"id":{"type":"string","format":"uuid"},"data":{"anyOf":[{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"referenceNumber":{"type":"string","minLength":1,"maxLength":100000},"customerNote":{"type":"string","nullable":true,"maxLength":100000},"customerPurchaseOrderNumber":{"type":"string","nullable":true,"maxLength":100000},"customerReference":{"type":"object","properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"dateDue":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"discountAmount":{"type":"number"},"discountDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"dropShip":{"type":"boolean"},"freightAccountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"freightAmount":{"type":"number"},"internalNote":{"type":"string","nullable":true,"maxLength":100000},"printCustomerNoteAfterLineItems":{"type":"boolean"},"salesRepresentativeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"salesTaxCodeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"shipDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"shipVia":{"type":"string","nullable":true,"maxLength":100000},"statementNote":{"type":"string","nullable":true,"maxLength":100000},"termsDescription":{"type":"string","nullable":true,"maxLength":100000},"lines":{"type":"array","items":{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"amount":{"type":"number"},"description":{"type":"string","nullable":true,"maxLength":100000},"inventoryItemReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"jobReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"quantity":{"type":"number"},"salesTaxType":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"unitPrice":{"type":"number"}},"additionalProperties":false},"minItems":1,"maxItems":1000}},"required":["date","referenceNumber","customerReference","lines"],"additionalProperties":false},{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"referenceNumber":{"type":"string","nullable":true,"maxLength":100000},"customerNote":{"type":"string","nullable":true,"maxLength":100000},"customerPurchaseOrderNumber":{"type":"string","nullable":true,"maxLength":100000},"customerReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"dateDue":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"discountAmount":{"type":"number"},"discountDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"dropShip":{"type":"boolean"},"freightAccountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"freightAmount":{"type":"number"},"internalNote":{"type":"string","nullable":true,"maxLength":100000},"printCustomerNoteAfterLineItems":{"type":"boolean"},"salesRepresentativeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"salesTaxCodeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"shipDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"shipVia":{"type":"string","nullable":true,"maxLength":100000},"statementNote":{"type":"string","nullable":true,"maxLength":100000},"termsDescription":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false}]},"limit":{"type":"integer","minimum":1,"maximum":100},"offset":{"type":"integer","minimum":0,"maximum":1000000}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","enum":["customer-credit-memos"]},"id":{"type":"string","format":"uuid"},"data":{"anyOf":[{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"referenceNumber":{"type":"string","minLength":1,"maxLength":100000},"customerNote":{"type":"string","nullable":true,"maxLength":100000},"customerPurchaseOrderNumber":{"type":"string","nullable":true,"maxLength":100000},"customerReference":{"type":"object","properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"dateDue":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"discountAmount":{"type":"number"},"discountDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"freightAmount":{"type":"number"},"internalNote":{"type":"string","nullable":true,"maxLength":100000},"printCustomerNoteAfterLineItems":{"type":"boolean"},"returnAuthorization":{"type":"string","nullable":true,"maxLength":100000},"salesRepresentativeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"salesTaxCodeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"statementNote":{"type":"string","nullable":true,"maxLength":100000},"termsDescription":{"type":"string","nullable":true,"maxLength":100000},"lines":{"type":"array","items":{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"amount":{"type":"number"},"description":{"type":"string","nullable":true,"maxLength":100000},"inventoryItemReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"jobReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"quantity":{"type":"number"},"salesTaxType":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"unitPrice":{"type":"number"}},"additionalProperties":false},"minItems":1,"maxItems":1000}},"required":["date","referenceNumber","customerReference","lines"],"additionalProperties":false},{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"referenceNumber":{"type":"string","nullable":true,"maxLength":100000},"customerNote":{"type":"string","nullable":true,"maxLength":100000},"customerPurchaseOrderNumber":{"type":"string","nullable":true,"maxLength":100000},"customerReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"dateDue":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"discountAmount":{"type":"number"},"discountDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"freightAmount":{"type":"number"},"internalNote":{"type":"string","nullable":true,"maxLength":100000},"printCustomerNoteAfterLineItems":{"type":"boolean"},"returnAuthorization":{"type":"string","nullable":true,"maxLength":100000},"salesRepresentativeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"salesTaxCodeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"statementNote":{"type":"string","nullable":true,"maxLength":100000},"termsDescription":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false}]},"limit":{"type":"integer","minimum":1,"maximum":100},"offset":{"type":"integer","minimum":0,"maximum":1000000}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","enum":["receipts"]},"id":{"type":"string","format":"uuid"},"data":{"anyOf":[{"type":"object","properties":{"accountReference":{"type":"object","properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"referenceNumber":{"type":"string","minLength":1,"maxLength":100000},"customerReference":{"type":"object","properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"depositTicketID":{"type":"string","nullable":true,"maxLength":100000},"discountAccountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"paymentMethod":{"type":"string","nullable":true,"maxLength":100000},"receiptNumber":{"type":"string","nullable":true,"maxLength":100000},"salesRepresentativeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"salesTaxCodeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"lines":{"type":"array","items":{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"amount":{"type":"number"},"description":{"type":"string","nullable":true,"maxLength":100000},"inventoryItemReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"jobReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"quantity":{"type":"number"},"salesTaxType":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"unitPrice":{"type":"number"}},"additionalProperties":false},"minItems":1,"maxItems":1000}},"required":["accountReference","date","referenceNumber","customerReference","lines"],"additionalProperties":false},{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"referenceNumber":{"type":"string","nullable":true,"maxLength":100000},"customerReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"depositTicketID":{"type":"string","nullable":true,"maxLength":100000},"discountAccountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"paymentMethod":{"type":"string","nullable":true,"maxLength":100000},"receiptNumber":{"type":"string","nullable":true,"maxLength":100000},"salesRepresentativeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"salesTaxCodeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false}},"additionalProperties":false}]},"limit":{"type":"integer","minimum":1,"maximum":100},"offset":{"type":"integer","minimum":0,"maximum":1000000}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","enum":["advance-receipts"]},"id":{"type":"string","format":"uuid"},"data":{"anyOf":[{"type":"object","properties":{"accountReference":{"type":"object","properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"referenceNumber":{"type":"string","minLength":1,"maxLength":100000},"customerReference":{"type":"object","properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"paymentMethod":{"type":"string","nullable":true,"maxLength":100000},"salesRepresentativeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"lines":{"type":"array","items":{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"amount":{"type":"number"},"description":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"minItems":1,"maxItems":1000}},"required":["accountReference","date","referenceNumber","customerReference","lines"],"additionalProperties":false},{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"referenceNumber":{"type":"string","nullable":true,"maxLength":100000},"customerReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"paymentMethod":{"type":"string","nullable":true,"maxLength":100000},"salesRepresentativeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false}},"additionalProperties":false}]},"limit":{"type":"integer","minimum":1,"maximum":100},"offset":{"type":"integer","minimum":0,"maximum":1000000}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","enum":["payments"]},"id":{"type":"string","format":"uuid"},"data":{"anyOf":[{"type":"object","properties":{"accountReference":{"type":"object","properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"referenceNumber":{"type":"string","minLength":1,"maxLength":100000},"discountAccountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"memo":{"type":"string","nullable":true,"maxLength":100000},"paymentMethod":{"type":"string","nullable":true,"maxLength":100000},"vendorReference":{"type":"object","properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"lines":{"type":"array","items":{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"amount":{"type":"number"},"description":{"type":"string","nullable":true,"maxLength":100000},"inventoryItemReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"jobReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"quantity":{"type":"number"},"unitPrice":{"type":"number"}},"additionalProperties":false},"minItems":1,"maxItems":1000}},"required":["accountReference","date","referenceNumber","vendorReference","lines"],"additionalProperties":false},{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"referenceNumber":{"type":"string","nullable":true,"maxLength":100000},"discountAccountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"memo":{"type":"string","nullable":true,"maxLength":100000},"paymentMethod":{"type":"string","nullable":true,"maxLength":100000},"vendorReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false}},"additionalProperties":false}]},"limit":{"type":"integer","minimum":1,"maximum":100},"offset":{"type":"integer","minimum":0,"maximum":1000000}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","enum":["advance-payments"]},"id":{"type":"string","format":"uuid"},"limit":{"type":"integer","minimum":1,"maximum":100},"offset":{"type":"integer","minimum":0,"maximum":1000000}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","enum":["customer-payments"]},"id":{"type":"string","format":"uuid"},"limit":{"type":"integer","minimum":1,"maximum":100},"offset":{"type":"integer","minimum":0,"maximum":1000000}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","enum":["supplier-receipts"]},"id":{"type":"string","format":"uuid"},"limit":{"type":"integer","minimum":1,"maximum":100},"offset":{"type":"integer","minimum":0,"maximum":1000000}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","enum":["purchase-orders"]},"id":{"type":"string","format":"uuid"},"data":{"anyOf":[{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"referenceNumber":{"type":"string","minLength":1,"maxLength":100000},"customerReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"discountAmount":{"type":"number"},"goodThroughDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"internalNote":{"type":"string","nullable":true,"maxLength":100000},"isClosed":{"type":"boolean"},"isDropShip":{"type":"boolean"},"printVendorNoteAfterLineItems":{"type":"boolean"},"shipVia":{"type":"string","nullable":true,"maxLength":100000},"termsDescription":{"type":"string","nullable":true,"maxLength":100000},"vendorNote":{"type":"string","nullable":true,"maxLength":100000},"vendorReference":{"type":"object","properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"lines":{"type":"array","items":{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"amount":{"type":"number"},"description":{"type":"string","nullable":true,"maxLength":100000},"inventoryItemReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"jobReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"quantity":{"type":"number"},"unitPrice":{"type":"number"}},"additionalProperties":false},"minItems":1,"maxItems":1000}},"required":["date","referenceNumber","vendorReference","lines"],"additionalProperties":false},{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"referenceNumber":{"type":"string","nullable":true,"maxLength":100000},"customerReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"discountAmount":{"type":"number"},"goodThroughDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"internalNote":{"type":"string","nullable":true,"maxLength":100000},"isClosed":{"type":"boolean"},"isDropShip":{"type":"boolean"},"printVendorNoteAfterLineItems":{"type":"boolean"},"shipVia":{"type":"string","nullable":true,"maxLength":100000},"termsDescription":{"type":"string","nullable":true,"maxLength":100000},"vendorNote":{"type":"string","nullable":true,"maxLength":100000},"vendorReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false}},"additionalProperties":false}]},"limit":{"type":"integer","minimum":1,"maximum":100},"offset":{"type":"integer","minimum":0,"maximum":1000000}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","enum":["purchase-invoices"]},"id":{"type":"string","format":"uuid"},"data":{"anyOf":[{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"referenceNumber":{"type":"string","minLength":1,"maxLength":100000},"customerReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"customerSalesOrderNumber":{"type":"string","nullable":true,"maxLength":100000},"dateDue":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"discountAmount":{"type":"number"},"discountDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"dropShip":{"type":"boolean"},"internalNote":{"type":"string","nullable":true,"maxLength":100000},"printVendorNoteAfterLineItems":{"type":"boolean"},"shipVia":{"type":"string","nullable":true,"maxLength":100000},"termsDescription":{"type":"string","nullable":true,"maxLength":100000},"vendorNote":{"type":"string","nullable":true,"maxLength":100000},"vendorReference":{"type":"object","properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"waitingForBill":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"lines":{"type":"array","items":{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"amount":{"type":"number"},"description":{"type":"string","nullable":true,"maxLength":100000},"inventoryItemReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"jobReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"quantity":{"type":"number"},"unitPrice":{"type":"number"}},"additionalProperties":false},"minItems":1,"maxItems":1000}},"required":["date","referenceNumber","vendorReference","lines"],"additionalProperties":false},{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"referenceNumber":{"type":"string","nullable":true,"maxLength":100000},"customerReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"customerSalesOrderNumber":{"type":"string","nullable":true,"maxLength":100000},"dateDue":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"discountAmount":{"type":"number"},"discountDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"dropShip":{"type":"boolean"},"internalNote":{"type":"string","nullable":true,"maxLength":100000},"printVendorNoteAfterLineItems":{"type":"boolean"},"shipVia":{"type":"string","nullable":true,"maxLength":100000},"termsDescription":{"type":"string","nullable":true,"maxLength":100000},"vendorNote":{"type":"string","nullable":true,"maxLength":100000},"vendorReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"waitingForBill":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"additionalProperties":false}]},"limit":{"type":"integer","minimum":1,"maximum":100},"offset":{"type":"integer","minimum":0,"maximum":1000000}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","enum":["supplier-credit-memos"]},"id":{"type":"string","format":"uuid"},"limit":{"type":"integer","minimum":1,"maximum":100},"offset":{"type":"integer","minimum":0,"maximum":1000000}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","enum":["journal-entries"]},"id":{"type":"string","format":"uuid"},"data":{"anyOf":[{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"referenceNumber":{"type":"string","minLength":1,"maxLength":100000},"isReversingTransaction":{"type":"boolean"},"lines":{"type":"array","items":{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"amount":{"type":"number"},"description":{"type":"string","nullable":true,"maxLength":100000},"jobReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false}},"additionalProperties":false},"minItems":1,"maxItems":1000}},"required":["date","referenceNumber","lines"],"additionalProperties":false},{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"referenceNumber":{"type":"string","nullable":true,"maxLength":100000},"isReversingTransaction":{"type":"boolean"}},"additionalProperties":false}]},"limit":{"type":"integer","minimum":1,"maximum":100},"offset":{"type":"integer","minimum":0,"maximum":1000000}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","enum":["tax-codes"]},"id":{"type":"string","format":"uuid"},"limit":{"type":"integer","minimum":1,"maximum":100},"offset":{"type":"integer","minimum":0,"maximum":1000000}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","enum":["tax-agencies"]},"id":{"type":"string","format":"uuid"},"limit":{"type":"integer","minimum":1,"maximum":100},"offset":{"type":"integer","minimum":0,"maximum":1000000}},"required":["resource"],"additionalProperties":false}]}]},"deadlineUnixMs":{"type":"integer","minimum":0,"exclusiveMinimum":true}},"required":["v","type","connectionId","jobId","attemptId","companyId","edition","operation","payload","deadlineUnixMs"],"additionalProperties":false},{"type":"object","properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result_ack"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"}},"required":["v","type","connectionId","jobId","attemptId"],"additionalProperties":false},{"type":"object","properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["protocol.error"]},"code":{"type":"string","enum":["INVALID_MESSAGE","UNAUTHORIZED","STALE_ATTEMPT","UNSUPPORTED_OPERATION"]},"message":{"type":"string","maxLength":200},"delivery":{"type":"object","properties":{"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"}},"required":["connectionId","jobId","attemptId"],"additionalProperties":false}},"required":["v","type","code","message"],"additionalProperties":false},{"type":"object","properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["resource.changes_ack"]},"connectionId":{"type":"string","format":"uuid"},"batchId":{"type":"string","format":"uuid"}},"required":["v","type","connectionId","batchId"],"additionalProperties":false}]},"SageResourceChangeEvent":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"type":{"type":"string","enum":["resource.created","resource.updated","resource.deleted","resource.reset"]},"resource":{"anyOf":[{"type":"string","enum":["customers","suppliers","items","accounts","bank-accounts","invoices","sales-orders","purchase-orders","fixed-assets","price-lists","customer-addresses","supplier-addresses","company-addresses"]},{"type":"string","enum":["accounts","customers","suppliers","items","employees","jobs","budgets","quotes","proposals","sales-orders","invoices","customer-credit-memos","receipts","advance-receipts","payments","advance-payments","customer-payments","supplier-receipts","purchase-orders","purchase-invoices","supplier-credit-memos","journal-entries","tax-codes","tax-agencies"]}]},"recordId":{"type":"string","minLength":1,"maxLength":256},"revision":{"type":"string","nullable":true,"pattern":"^[a-f0-9]{64}$"},"observedAt":{"type":"integer","minimum":0},"connectionId":{"type":"string","format":"uuid"},"projectId":{"type":"string","format":"uuid"},"sequence":{"type":"integer","minimum":0,"exclusiveMinimum":true}},"required":["id","type","resource","recordId","revision","observedAt","connectionId","projectId","sequence"],"additionalProperties":false},"SageOperationCompletedEvent":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"type":{"type":"string","enum":["operation.completed"]},"connectionId":{"type":"string","format":"uuid"},"projectId":{"type":"string","format":"uuid"},"operationId":{"type":"string","format":"uuid"},"state":{"type":"string","enum":["succeeded","failed"]},"occurredAt":{"type":"integer","minimum":0,"description":"Unix milliseconds"},"statusUrl":{"type":"string"}},"required":["id","type","connectionId","projectId","operationId","state","occurredAt","statusUrl"],"additionalProperties":false},"SageWebhookEvent":{"anyOf":[{"$ref":"#/components/schemas/SageResourceChangeEvent"},{"$ref":"#/components/schemas/SageOperationCompletedEvent"}]},"ConnectorV2Error":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"}]}},"message":{"type":"string"}},"required":["path","message"]}}},"required":["error"]},"Uk26_3_customers_get":{"type":"object","properties":{"accountManager":{"type":"string","nullable":true,"maxLength":60,"description":"Name of Account Manager (SDO ACCOUNT_MANAGER; Optional; precision 0)"},"accountOnHold":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Account On Hold (SDO ACCOUNT_ON_HOLD; Optional; precision 0)"},"accountOpened":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Account Opened (SDO ACCOUNT_OPENED; Optional; precision 0)"},"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Account Reference (SDO ACCOUNT_REF; Required; precision 0)"},"accountStatus":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Status (SDO ACCOUNT_STATUS; Optional; precision 0)"},"accountType":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Type (SDO ACCOUNT_TYPE; Optional; precision 0)"},"accountTypeCustomer":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Type Customer (SDO ACCOUNT_TYPE_CUSTOMER; Optional; precision 0)"},"accountTypeDonor":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Type Donor (SDO ACCOUNT_TYPE_DONOR; Optional; precision 0)"},"accountTypeMember":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Type Member (SDO ACCOUNT_TYPE_MEMBER; Optional; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line5 (SDO ADDRESS_5; Optional; precision 0)"},"analysis1":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"averagePayDays":{"type":"number","nullable":true,"description":"Average Time To Pay (SDO AVERAGE_PAY_DAYS; Optional; precision 0)"},"bacs":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Bank Online Receipts (SDO BACS; Optional; precision 0)"},"bacsReference":{"type":"string","nullable":true,"maxLength":60,"description":"Bank BACS Ref (SDO BACS_REFERENCE; Optional; precision 0)"},"balance":{"type":"number","nullable":true,"description":"Balance (SDO BALANCE; Optional; precision 2)"},"bankAccountName":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Account Name (SDO BANK_ACCOUNT_NAME; Optional; precision 0)"},"bankAccountNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Account Number (SDO BANK_ACCOUNT_NUMBER; Optional; precision 0)"},"bankAdditionalRef1":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Additional Ref1 (SDO BANK_ADDITIONAL_REF1; Optional; precision 0)"},"bankAdditionalRef2":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Additional Ref2 (SDO BANK_ADDITIONAL_REF2; Optional; precision 0)"},"bankAdditionalRef3":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Additional Ref3 (SDO BANK_ADDITIONAL_REF3; Optional; precision 0)"},"bankAddress1":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line1 (SDO BANK_ADDRESS_1; Optional; precision 0)"},"bankAddress2":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line2 (SDO BANK_ADDRESS_2; Optional; precision 0)"},"bankAddress3":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line3 (SDO BANK_ADDRESS_3; Optional; precision 0)"},"bankAddress4":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line4 (SDO BANK_ADDRESS_4; Optional; precision 0)"},"bankAddress5":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line5 (SDO BANK_ADDRESS_5; Optional; precision 0)"},"bankBicswift":{"type":"string","nullable":true,"maxLength":60,"description":"Bank BIC/Swift (SDO BANK_BICSWIFT; Optional; precision 0)"},"bankIban":{"type":"string","nullable":true,"maxLength":60,"description":"Bank IBAN (SDO BANK_IBAN; Optional; precision 0)"},"bankName":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Name (SDO BANK_NAME; Optional; precision 0)"},"bankRollNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Roll Number (SDO BANK_ROLL_NUMBER; Optional; precision 0)"},"bankSortCode":{"type":"string","nullable":true,"maxLength":10,"description":"Bank Sort Code (SDO BANK_SORT_CODE; Optional; precision 0)"},"buildSocietyRef":{"type":"string","nullable":true,"maxLength":60,"description":"Refernce for Building Society Transfer (SDO BUILD_SOCIETY_REF; Optional; precision 0)"},"buildingSociety":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Uses Building Society (SDO BUILDING_SOCIETY; Optional; precision 0)"},"canApplyCharges":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Can Charge Credit (SDO CAN_APPLY_CHARGES; Optional; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Contact Name (SDO CONTACT_NAME; Optional; precision 0)"},"countryCode":{"type":"string","nullable":true,"maxLength":2,"description":"Country Code (SDO COUNTRY_CODE; Optional; precision 0)"},"creditAppReceived":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"True if Credit Application Received (SDO CREDIT_APP_RECEIVED; Optional; precision 0)"},"creditAppliedFor":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Credit Applied For (SDO CREDIT_APPLIED_FOR; Optional; precision 0)"},"creditBf":{"type":"number","nullable":true,"description":"Credits Brought Forward (SDO CREDIT_BF; Optional; precision 2)"},"creditBureau":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Credit Bureau Used (SDO CREDIT_BUREAU; Optional; precision 0)"},"creditCardNo":{"type":"string","nullable":true,"maxLength":30,"description":"Credit card number (SDO CREDIT_CARD_NO; Optional; precision 0)"},"creditCf":{"type":"number","nullable":true,"description":"Credits Carry Forward (SDO CREDIT_CF; Optional; precision 2)"},"creditLimit":{"type":"number","nullable":true,"description":"Credit Limit (SDO CREDIT_LIMIT; Optional; precision 2)"},"creditMth1":{"type":"number","nullable":true,"description":"Credits Month 1 (SDO CREDIT_MTH1; Optional; precision 2)"},"creditMth10":{"type":"number","nullable":true,"description":"Credits Month 10 (SDO CREDIT_MTH10; Optional; precision 2)"},"creditMth11":{"type":"number","nullable":true,"description":"Credits Month 11 (SDO CREDIT_MTH11; Optional; precision 2)"},"creditMth12":{"type":"number","nullable":true,"description":"Credits Month 12 (SDO CREDIT_MTH12; Optional; precision 2)"},"creditMth2":{"type":"number","nullable":true,"description":"Credits Month 2 (SDO CREDIT_MTH2; Optional; precision 2)"},"creditMth3":{"type":"number","nullable":true,"description":"Credits Month 3 (SDO CREDIT_MTH3; Optional; precision 2)"},"creditMth4":{"type":"number","nullable":true,"description":"Credits Month 4 (SDO CREDIT_MTH4; Optional; precision 2)"},"creditMth5":{"type":"number","nullable":true,"description":"Credits Month 5 (SDO CREDIT_MTH5; Optional; precision 2)"},"creditMth6":{"type":"number","nullable":true,"description":"Credits Month 6 (SDO CREDIT_MTH6; Optional; precision 2)"},"creditMth7":{"type":"number","nullable":true,"description":"Credits Month 7 (SDO CREDIT_MTH7; Optional; precision 2)"},"creditMth8":{"type":"number","nullable":true,"description":"Credits Month 8 (SDO CREDIT_MTH8; Optional; precision 2)"},"creditMth9":{"type":"number","nullable":true,"description":"Credits Month 9 (SDO CREDIT_MTH9; Optional; precision 2)"},"creditPosition":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Credit Position (SDO CREDIT_POSITION; Optional; precision 0)"},"creditReference":{"type":"string","nullable":true,"maxLength":60,"description":"Credit Bureau Reference (SDO CREDIT_REFERENCE; Optional; precision 0)"},"currency":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency (SDO CURRENCY; Optional; precision 0)"},"dateCreditAppReceived":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Credit Application Received (SDO DATE_CREDIT_APP_RECEIVED; Optional; precision 0)"},"declarationValidFrom":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Donor Declaration Valid From (SDO DECLARATION_VALID_FROM; Optional; precision 0)"},"defNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Default Nominal Code (SDO DEF_NOM_CODE; Optional; precision 0)"},"defTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax Code (SDO DEF_TAX_CODE; Optional; precision 0)"},"delAddress1":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line1 (SDO DEL_ADDRESS_1; Optional; precision 0)"},"delAddress2":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line2 (SDO DEL_ADDRESS_2; Optional; precision 0)"},"delAddress3":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line3 (SDO DEL_ADDRESS_3; Optional; precision 0)"},"delAddress4":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line4 (SDO DEL_ADDRESS_4; Optional; precision 0)"},"delAddress5":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line5 (SDO DEL_ADDRESS_5; Optional; precision 0)"},"delContactName":{"type":"string","nullable":true,"maxLength":30,"description":"Default Delivery Contact Name (SDO DEL_CONTACT_NAME; Optional; precision 0)"},"delFax":{"type":"string","nullable":true,"maxLength":30,"description":"Default Delivery Fax Number (SDO DEL_FAX; Optional; precision 0)"},"delName":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Name (SDO DEL_NAME; Optional; precision 0)"},"delTelephone":{"type":"string","nullable":true,"maxLength":30,"description":"Default Delivery Telephone Number (SDO DEL_TELEPHONE; Optional; precision 0)"},"deletedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Reserved for Future Use (SDO DELETED_FLAG; Optional; precision 0)"},"deptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Department Code (SDO DEPT_NUMBER; Optional; precision 0)"},"discountRate":{"type":"number","nullable":true,"description":"Discount Rate (SDO DISCOUNT_RATE; Optional; precision 2)"},"discountType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Discount Type (SDO DISCOUNT_TYPE; Optional; precision 0)"},"disputed":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Disputed (SDO DISPUTED; Optional; precision 0)"},"donorForename":{"type":"string","nullable":true,"maxLength":35,"description":"Donor Forename (SDO DONOR_FORENAME; Optional; precision 0)"},"donorSurname":{"type":"string","nullable":true,"maxLength":35,"description":"Donor Surname (SDO DONOR_SURNAME; Optional; precision 0)"},"donorTitle":{"type":"string","nullable":true,"maxLength":4,"description":"Donor Title (SDO DONOR_TITLE; Optional; precision 0)"},"dunsNumber":{"type":"string","nullable":true,"maxLength":9,"description":"DUNS Number (SDO DUNS_NUMBER; Optional; precision 0)"},"eMail":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (SDO E_MAIL; Optional; precision 0)"},"eMail2":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (2) (SDO E_MAIL2; Optional; precision 0)"},"eMail3":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (3) (SDO E_MAIL3; Optional; precision 0)"},"ecCode":{"type":"string","nullable":true,"maxLength":3,"description":"EC member code (SDO EC_CODE; Optional; precision 0)"},"externalUsage":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Number of External Usages for This Record (SDO EXTERNAL_USAGE; Optional; precision 0)"},"facebook":{"type":"string","nullable":true,"maxLength":75,"description":"Facebook Address (SDO FACEBOOK; Optional; precision 0)"},"fax":{"type":"string","nullable":true,"maxLength":30,"description":"Fax Number (SDO FAX; Optional; precision 0)"},"firstHeader":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"First transaction (SDO FIRST_HEADER; Optional; precision 0)"},"firstInvoice":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"First Invoice Date (SDO FIRST_INVOICE; Optional; precision 0)"},"giftAidEnabled":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Gift Aid is enabled (SDO GIFT_AID_ENABLED; Optional; precision 0)"},"holdMail":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Restrict Mail (SDO HOLD_MAIL; Optional; precision 0)"},"inactiveFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Inactive Flag - Yes/No (SDO INACTIVE_FLAG; Optional; precision 0)"},"invoiceBf":{"type":"number","nullable":true,"description":"Invoices Brought Forward (SDO INVOICE_BF; Optional; precision 2)"},"invoiceCf":{"type":"number","nullable":true,"description":"Invoices Carry Forward (SDO INVOICE_CF; Optional; precision 2)"},"invoiceMth1":{"type":"number","nullable":true,"description":"Invoices Month 1 (SDO INVOICE_MTH1; Optional; precision 2)"},"invoiceMth10":{"type":"number","nullable":true,"description":"Invoices Month 10 (SDO INVOICE_MTH10; Optional; precision 2)"},"invoiceMth11":{"type":"number","nullable":true,"description":"Invoices Month 11 (SDO INVOICE_MTH11; Optional; precision 2)"},"invoiceMth12":{"type":"number","nullable":true,"description":"Invoices Month 12 (SDO INVOICE_MTH12; Optional; precision 2)"},"invoiceMth2":{"type":"number","nullable":true,"description":"Invoices Month 2 (SDO INVOICE_MTH2; Optional; precision 2)"},"invoiceMth3":{"type":"number","nullable":true,"description":"Invoices Month 3 (SDO INVOICE_MTH3; Optional; precision 2)"},"invoiceMth4":{"type":"number","nullable":true,"description":"Invoices Month 4 (SDO INVOICE_MTH4; Optional; precision 2)"},"invoiceMth5":{"type":"number","nullable":true,"description":"Invoices Month 5 (SDO INVOICE_MTH5; Optional; precision 2)"},"invoiceMth6":{"type":"number","nullable":true,"description":"Invoices Month 6 (SDO INVOICE_MTH6; Optional; precision 2)"},"invoiceMth7":{"type":"number","nullable":true,"description":"Invoices Month 7 (SDO INVOICE_MTH7; Optional; precision 2)"},"invoiceMth8":{"type":"number","nullable":true,"description":"Invoices Month 8 (SDO INVOICE_MTH8; Optional; precision 2)"},"invoiceMth9":{"type":"number","nullable":true,"description":"Invoices Month 9 (SDO INVOICE_MTH9; Optional; precision 2)"},"lastCreditRev":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Last Credit Review (SDO LAST_CREDIT_REV; Optional; precision 0)"},"lastHeader":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Last transaction (SDO LAST_HEADER; Optional; precision 0)"},"lastInvDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Last Invoice Date (SDO LAST_INV_DATE; Optional; precision 0)"},"lastPayDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Last Payment Date (SDO LAST_PAY_DATE; Optional; precision 0)"},"lastUpdated":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date of last update (SDO LAST_UPDATED; Optional; precision 0)"},"linkedin":{"type":"string","nullable":true,"maxLength":64,"description":"LinkedIn Address (SDO LINKEDIN; Optional; precision 0)"},"memberReminderDate":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Member Reminder Date (SDO MEMBER_REMINDER_DATE; Optional; precision 0)"},"memberRenewalDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Member Renewal Date (SDO MEMBER_RENEWAL_DATE; Optional; precision 0)"},"memberSince":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Member Since (SDO MEMBER_SINCE; Optional; precision 0)"},"memoOffset":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Offset in Credit Memo File (SDO MEMO_OFFSET; Optional; precision 0)"},"memoSize":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Size of Memo in Bytes (SDO MEMO_SIZE; Optional; precision 0)"},"modify":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Modified Count (SDO MODIFY; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Account Name (SDO NAME; Optional; precision 0)"},"nextCreditRev":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Next Credit Review (SDO NEXT_CREDIT_REV; Optional; precision 0)"},"noOfHeader":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"No of trans (SDO NO_OF_HEADER; Optional; precision 0)"},"overrideProductNominal":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Override product nominal code in invoicing and pop (SDO OVERRIDE_PRODUCT_NOMINAL; Optional; precision 0)"},"overrideProductTax":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Override product tax code in invoicing (SDO OVERRIDE_PRODUCT_TAX; Optional; precision 0)"},"paymentBf":{"type":"number","nullable":true,"description":"Payments Brought Forward (SDO PAYMENT_BF; Optional; precision 2)"},"paymentCf":{"type":"number","nullable":true,"description":"Payments Carry Forward (SDO PAYMENT_CF; Optional; precision 2)"},"paymentDueDays":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Payment Due Days (SDO PAYMENT_DUE_DAYS; Optional; precision 0)"},"paymentDueFrom":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Payment Due From (SDO PAYMENT_DUE_FROM; Optional; precision 0)"},"paymentMth1":{"type":"number","nullable":true,"description":"Payments Month 1 (SDO PAYMENT_MTH1; Optional; precision 2)"},"paymentMth10":{"type":"number","nullable":true,"description":"Payments Month 10 (SDO PAYMENT_MTH10; Optional; precision 2)"},"paymentMth11":{"type":"number","nullable":true,"description":"Payments Month 11 (SDO PAYMENT_MTH11; Optional; precision 2)"},"paymentMth12":{"type":"number","nullable":true,"description":"Payments Month 12 (SDO PAYMENT_MTH12; Optional; precision 2)"},"paymentMth2":{"type":"number","nullable":true,"description":"Payments Month 2 (SDO PAYMENT_MTH2; Optional; precision 2)"},"paymentMth3":{"type":"number","nullable":true,"description":"Payments Month 3 (SDO PAYMENT_MTH3; Optional; precision 2)"},"paymentMth4":{"type":"number","nullable":true,"description":"Payments Month 4 (SDO PAYMENT_MTH4; Optional; precision 2)"},"paymentMth5":{"type":"number","nullable":true,"description":"Payments Month 5 (SDO PAYMENT_MTH5; Optional; precision 2)"},"paymentMth6":{"type":"number","nullable":true,"description":"Payments Month 6 (SDO PAYMENT_MTH6; Optional; precision 2)"},"paymentMth7":{"type":"number","nullable":true,"description":"Payments Month 7 (SDO PAYMENT_MTH7; Optional; precision 2)"},"paymentMth8":{"type":"number","nullable":true,"description":"Payments Month 8 (SDO PAYMENT_MTH8; Optional; precision 2)"},"paymentMth9":{"type":"number","nullable":true,"description":"Payments Month 9 (SDO PAYMENT_MTH9; Optional; precision 2)"},"paymentType":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Payment Method (SDO PAYMENT_TYPE; Optional; precision 0)"},"priceListRef":{"type":"string","nullable":true,"maxLength":8,"description":"Price list reference (SDO PRICE_LIST_REF; Optional; precision 0)"},"priorYear":{"type":"number","nullable":true,"description":"Prior YTD (SDO PRIOR_YEAR; Optional; precision 2)"},"priorityTrader":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Priority Customer (SDO PRIORITY_TRADER; Optional; precision 0)"},"receiptBf":{"type":"number","nullable":true,"description":"Receipts Brought Forward (SDO RECEIPT_BF; Optional; precision 2)"},"receiptCf":{"type":"number","nullable":true,"description":"Receipts Carry Forward (SDO RECEIPT_CF; Optional; precision 2)"},"receiptMth1":{"type":"number","nullable":true,"description":"Receipts Month 1 (SDO RECEIPT_MTH1; Optional; precision 2)"},"receiptMth10":{"type":"number","nullable":true,"description":"Receipts Month 10 (SDO RECEIPT_MTH10; Optional; precision 2)"},"receiptMth11":{"type":"number","nullable":true,"description":"Receipts Month 11 (SDO RECEIPT_MTH11; Optional; precision 2)"},"receiptMth12":{"type":"number","nullable":true,"description":"Receipts Month 12 (SDO RECEIPT_MTH12; Optional; precision 2)"},"receiptMth2":{"type":"number","nullable":true,"description":"Receipts Month 2 (SDO RECEIPT_MTH2; Optional; precision 2)"},"receiptMth3":{"type":"number","nullable":true,"description":"Receipts Month 3 (SDO RECEIPT_MTH3; Optional; precision 2)"},"receiptMth4":{"type":"number","nullable":true,"description":"Receipts Month 4 (SDO RECEIPT_MTH4; Optional; precision 2)"},"receiptMth5":{"type":"number","nullable":true,"description":"Receipts Month 5 (SDO RECEIPT_MTH5; Optional; precision 2)"},"receiptMth6":{"type":"number","nullable":true,"description":"Receipts Month 6 (SDO RECEIPT_MTH6; Optional; precision 2)"},"receiptMth7":{"type":"number","nullable":true,"description":"Receipts Month 7 (SDO RECEIPT_MTH7; Optional; precision 2)"},"receiptMth8":{"type":"number","nullable":true,"description":"Receipts Month 8 (SDO RECEIPT_MTH8; Optional; precision 2)"},"receiptMth9":{"type":"number","nullable":true,"description":"Receipts Month 9 (SDO RECEIPT_MTH9; Optional; precision 2)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"salesRep":{"type":"string","nullable":true,"maxLength":60,"description":"Name of Sales Representative (SDO SALES_REP; Optional; precision 0)"},"sendInvoicesElectronically":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Send Invoices to this account via Email (SDO SEND_INVOICES_ELECTRONICALLY; Optional; precision 0)"},"sendLettersElectronically":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Send letters to this account via Email (SDO SEND_LETTERS_ELECTRONICALLY; Optional; precision 0)"},"settlementDiscRate":{"type":"number","nullable":true,"description":"Settlement Discount Rate (SDO SETTLEMENT_DISC_RATE; Optional; precision 2)"},"settlementDueDays":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Settlement Due Days (SDO SETTLEMENT_DUE_DAYS; Optional; precision 0)"},"telephone":{"type":"string","nullable":true,"maxLength":30,"description":"Telephone Number (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","nullable":true,"maxLength":30,"description":"Second Telephone Number (SDO TELEPHONE_2; Optional; precision 0)"},"terms":{"type":"string","nullable":true,"maxLength":30,"description":"Terms (SDO TERMS; Optional; precision 0)"},"termsAgreedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Terms agreed flag (SDO TERMS_AGREED_FLAG; Optional; precision 0)"},"tradeContact":{"type":"string","nullable":true,"maxLength":30,"description":"Name of Trade Contact (SDO TRADE_CONTACT; Optional; precision 0)"},"traderForeignBalance":{"type":"number","nullable":true,"description":"Foreign Balance (SDO TRADER_FOREIGN_BALANCE; Optional; precision 6)"},"turnoverMtd":{"type":"number","nullable":true,"description":"Turnover Month To Date (SDO TURNOVER_MTD; Optional; precision 2)"},"turnoverYtd":{"type":"number","nullable":true,"description":"Turnover Year To Date (SDO TURNOVER_YTD; Optional; precision 2)"},"twitter":{"type":"string","nullable":true,"maxLength":35,"description":"Twitter Address (SDO TWITTER; Optional; precision 0)"},"vatRegNumber":{"type":"string","nullable":true,"maxLength":20,"description":"VAT Registration Number (SDO VAT_REG_NUMBER; Optional; precision 0)"},"www":{"type":"string","nullable":true,"maxLength":255,"description":"WWW Address (SDO WWW; Optional; precision 0)"},"id":{"type":"string"}},"required":["accountManager","accountOnHold","accountOpened","accountRef","accountStatus","accountType","accountTypeCustomer","accountTypeDonor","accountTypeMember","address1","address2","address3","address4","address5","analysis1","analysis2","analysis3","averagePayDays","bacs","bacsReference","balance","bankAccountName","bankAccountNumber","bankAdditionalRef1","bankAdditionalRef2","bankAdditionalRef3","bankAddress1","bankAddress2","bankAddress3","bankAddress4","bankAddress5","bankBicswift","bankIban","bankName","bankRollNumber","bankSortCode","buildSocietyRef","buildingSociety","canApplyCharges","contactName","countryCode","creditAppReceived","creditAppliedFor","creditBf","creditBureau","creditCardNo","creditCf","creditLimit","creditMth1","creditMth10","creditMth11","creditMth12","creditMth2","creditMth3","creditMth4","creditMth5","creditMth6","creditMth7","creditMth8","creditMth9","creditPosition","creditReference","currency","dateCreditAppReceived","declarationValidFrom","defNomCode","defTaxCode","delAddress1","delAddress2","delAddress3","delAddress4","delAddress5","delContactName","delFax","delName","delTelephone","deletedFlag","deptNumber","discountRate","discountType","disputed","donorForename","donorSurname","donorTitle","dunsNumber","eMail","eMail2","eMail3","ecCode","externalUsage","facebook","fax","firstHeader","firstInvoice","giftAidEnabled","holdMail","inactiveFlag","invoiceBf","invoiceCf","invoiceMth1","invoiceMth10","invoiceMth11","invoiceMth12","invoiceMth2","invoiceMth3","invoiceMth4","invoiceMth5","invoiceMth6","invoiceMth7","invoiceMth8","invoiceMth9","lastCreditRev","lastHeader","lastInvDate","lastPayDate","lastUpdated","linkedin","memberReminderDate","memberRenewalDate","memberSince","memoOffset","memoSize","modify","name","nextCreditRev","noOfHeader","overrideProductNominal","overrideProductTax","paymentBf","paymentCf","paymentDueDays","paymentDueFrom","paymentMth1","paymentMth10","paymentMth11","paymentMth12","paymentMth2","paymentMth3","paymentMth4","paymentMth5","paymentMth6","paymentMth7","paymentMth8","paymentMth9","paymentType","priceListRef","priorYear","priorityTrader","receiptBf","receiptCf","receiptMth1","receiptMth10","receiptMth11","receiptMth12","receiptMth2","receiptMth3","receiptMth4","receiptMth5","receiptMth6","receiptMth7","receiptMth8","receiptMth9","recordCreateDate","recordDeleted","recordModifyDate","salesRep","sendInvoicesElectronically","sendLettersElectronically","settlementDiscRate","settlementDueDays","telephone","telephone2","terms","termsAgreedFlag","tradeContact","traderForeignBalance","turnoverMtd","turnoverYtd","twitter","vatRegNumber","www","id"],"additionalProperties":false},"Uk27_2_customers_get":{"type":"object","properties":{"accountManager":{"type":"string","nullable":true,"maxLength":60,"description":"Name of Account Manager (SDO ACCOUNT_MANAGER; Optional; precision 0)"},"accountOnHold":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Account On Hold (SDO ACCOUNT_ON_HOLD; Optional; precision 0)"},"accountOpened":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Account Opened (SDO ACCOUNT_OPENED; Optional; precision 0)"},"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Account Reference (SDO ACCOUNT_REF; Required; precision 0)"},"accountStatus":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Status (SDO ACCOUNT_STATUS; Optional; precision 0)"},"accountType":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Type (SDO ACCOUNT_TYPE; Optional; precision 0)"},"accountTypeCustomer":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Type Customer (SDO ACCOUNT_TYPE_CUSTOMER; Optional; precision 0)"},"accountTypeDonor":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Type Donor (SDO ACCOUNT_TYPE_DONOR; Optional; precision 0)"},"accountTypeMember":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Type Member (SDO ACCOUNT_TYPE_MEMBER; Optional; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line5 (SDO ADDRESS_5; Optional; precision 0)"},"analysis1":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"averagePayDays":{"type":"number","nullable":true,"description":"Average Time To Pay (SDO AVERAGE_PAY_DAYS; Optional; precision 0)"},"bacs":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Bank Online Receipts (SDO BACS; Optional; precision 0)"},"bacsReference":{"type":"string","nullable":true,"maxLength":60,"description":"Bank BACS Ref (SDO BACS_REFERENCE; Optional; precision 0)"},"balance":{"type":"number","nullable":true,"description":"Balance (SDO BALANCE; Optional; precision 2)"},"bankAccountName":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Account Name (SDO BANK_ACCOUNT_NAME; Optional; precision 0)"},"bankAccountNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Account Number (SDO BANK_ACCOUNT_NUMBER; Optional; precision 0)"},"bankAdditionalRef1":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Additional Ref1 (SDO BANK_ADDITIONAL_REF1; Optional; precision 0)"},"bankAdditionalRef2":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Additional Ref2 (SDO BANK_ADDITIONAL_REF2; Optional; precision 0)"},"bankAdditionalRef3":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Additional Ref3 (SDO BANK_ADDITIONAL_REF3; Optional; precision 0)"},"bankAddress1":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line1 (SDO BANK_ADDRESS_1; Optional; precision 0)"},"bankAddress2":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line2 (SDO BANK_ADDRESS_2; Optional; precision 0)"},"bankAddress3":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line3 (SDO BANK_ADDRESS_3; Optional; precision 0)"},"bankAddress4":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line4 (SDO BANK_ADDRESS_4; Optional; precision 0)"},"bankAddress5":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line5 (SDO BANK_ADDRESS_5; Optional; precision 0)"},"bankBicswift":{"type":"string","nullable":true,"maxLength":60,"description":"Bank BIC/Swift (SDO BANK_BICSWIFT; Optional; precision 0)"},"bankIban":{"type":"string","nullable":true,"maxLength":60,"description":"Bank IBAN (SDO BANK_IBAN; Optional; precision 0)"},"bankName":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Name (SDO BANK_NAME; Optional; precision 0)"},"bankRollNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Roll Number (SDO BANK_ROLL_NUMBER; Optional; precision 0)"},"bankSortCode":{"type":"string","nullable":true,"maxLength":10,"description":"Bank Sort Code (SDO BANK_SORT_CODE; Optional; precision 0)"},"buildSocietyRef":{"type":"string","nullable":true,"maxLength":60,"description":"Refernce for Building Society Transfer (SDO BUILD_SOCIETY_REF; Optional; precision 0)"},"buildingSociety":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Uses Building Society (SDO BUILDING_SOCIETY; Optional; precision 0)"},"canApplyCharges":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Can Charge Credit (SDO CAN_APPLY_CHARGES; Optional; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Contact Name (SDO CONTACT_NAME; Optional; precision 0)"},"countryCode":{"type":"string","nullable":true,"maxLength":2,"description":"Country Code (SDO COUNTRY_CODE; Optional; precision 0)"},"creditAppReceived":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"True if Credit Application Received (SDO CREDIT_APP_RECEIVED; Optional; precision 0)"},"creditAppliedFor":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Credit Applied For (SDO CREDIT_APPLIED_FOR; Optional; precision 0)"},"creditBf":{"type":"number","nullable":true,"description":"Credits Brought Forward (SDO CREDIT_BF; Optional; precision 2)"},"creditBureau":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Credit Bureau Used (SDO CREDIT_BUREAU; Optional; precision 0)"},"creditCardNo":{"type":"string","nullable":true,"maxLength":30,"description":"Credit card number (SDO CREDIT_CARD_NO; Optional; precision 0)"},"creditCf":{"type":"number","nullable":true,"description":"Credits Carry Forward (SDO CREDIT_CF; Optional; precision 2)"},"creditLimit":{"type":"number","nullable":true,"description":"Credit Limit (SDO CREDIT_LIMIT; Optional; precision 2)"},"creditMth1":{"type":"number","nullable":true,"description":"Credits Month 1 (SDO CREDIT_MTH1; Optional; precision 2)"},"creditMth10":{"type":"number","nullable":true,"description":"Credits Month 10 (SDO CREDIT_MTH10; Optional; precision 2)"},"creditMth11":{"type":"number","nullable":true,"description":"Credits Month 11 (SDO CREDIT_MTH11; Optional; precision 2)"},"creditMth12":{"type":"number","nullable":true,"description":"Credits Month 12 (SDO CREDIT_MTH12; Optional; precision 2)"},"creditMth2":{"type":"number","nullable":true,"description":"Credits Month 2 (SDO CREDIT_MTH2; Optional; precision 2)"},"creditMth3":{"type":"number","nullable":true,"description":"Credits Month 3 (SDO CREDIT_MTH3; Optional; precision 2)"},"creditMth4":{"type":"number","nullable":true,"description":"Credits Month 4 (SDO CREDIT_MTH4; Optional; precision 2)"},"creditMth5":{"type":"number","nullable":true,"description":"Credits Month 5 (SDO CREDIT_MTH5; Optional; precision 2)"},"creditMth6":{"type":"number","nullable":true,"description":"Credits Month 6 (SDO CREDIT_MTH6; Optional; precision 2)"},"creditMth7":{"type":"number","nullable":true,"description":"Credits Month 7 (SDO CREDIT_MTH7; Optional; precision 2)"},"creditMth8":{"type":"number","nullable":true,"description":"Credits Month 8 (SDO CREDIT_MTH8; Optional; precision 2)"},"creditMth9":{"type":"number","nullable":true,"description":"Credits Month 9 (SDO CREDIT_MTH9; Optional; precision 2)"},"creditPosition":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Credit Position (SDO CREDIT_POSITION; Optional; precision 0)"},"creditReference":{"type":"string","nullable":true,"maxLength":60,"description":"Credit Bureau Reference (SDO CREDIT_REFERENCE; Optional; precision 0)"},"currency":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency (SDO CURRENCY; Optional; precision 0)"},"dateCreditAppReceived":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Credit Application Received (SDO DATE_CREDIT_APP_RECEIVED; Optional; precision 0)"},"declarationValidFrom":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Donor Declaration Valid From (SDO DECLARATION_VALID_FROM; Optional; precision 0)"},"defNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Default Nominal Code (SDO DEF_NOM_CODE; Optional; precision 0)"},"defTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax Code (SDO DEF_TAX_CODE; Optional; precision 0)"},"delAddress1":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line1 (SDO DEL_ADDRESS_1; Optional; precision 0)"},"delAddress2":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line2 (SDO DEL_ADDRESS_2; Optional; precision 0)"},"delAddress3":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line3 (SDO DEL_ADDRESS_3; Optional; precision 0)"},"delAddress4":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line4 (SDO DEL_ADDRESS_4; Optional; precision 0)"},"delAddress5":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line5 (SDO DEL_ADDRESS_5; Optional; precision 0)"},"delContactName":{"type":"string","nullable":true,"maxLength":30,"description":"Default Delivery Contact Name (SDO DEL_CONTACT_NAME; Optional; precision 0)"},"delFax":{"type":"string","nullable":true,"maxLength":30,"description":"Default Delivery Fax Number (SDO DEL_FAX; Optional; precision 0)"},"delName":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Name (SDO DEL_NAME; Optional; precision 0)"},"delTelephone":{"type":"string","nullable":true,"maxLength":30,"description":"Default Delivery Telephone Number (SDO DEL_TELEPHONE; Optional; precision 0)"},"deletedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Reserved for Future Use (SDO DELETED_FLAG; Optional; precision 0)"},"deptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Department Code (SDO DEPT_NUMBER; Optional; precision 0)"},"discountRate":{"type":"number","nullable":true,"description":"Discount Rate (SDO DISCOUNT_RATE; Optional; precision 2)"},"discountType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Discount Type (SDO DISCOUNT_TYPE; Optional; precision 0)"},"disputed":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Disputed (SDO DISPUTED; Optional; precision 0)"},"donorForename":{"type":"string","nullable":true,"maxLength":35,"description":"Donor Forename (SDO DONOR_FORENAME; Optional; precision 0)"},"donorSurname":{"type":"string","nullable":true,"maxLength":35,"description":"Donor Surname (SDO DONOR_SURNAME; Optional; precision 0)"},"donorTitle":{"type":"string","nullable":true,"maxLength":4,"description":"Donor Title (SDO DONOR_TITLE; Optional; precision 0)"},"dunsNumber":{"type":"string","nullable":true,"maxLength":9,"description":"DUNS Number (SDO DUNS_NUMBER; Optional; precision 0)"},"eMail":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (SDO E_MAIL; Optional; precision 0)"},"eMail2":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (2) (SDO E_MAIL2; Optional; precision 0)"},"eMail3":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (3) (SDO E_MAIL3; Optional; precision 0)"},"ecCode":{"type":"string","nullable":true,"maxLength":3,"description":"EC member code (SDO EC_CODE; Optional; precision 0)"},"eoriNumber":{"type":"string","nullable":true,"maxLength":17,"description":"EORI number (SDO EORI_NUMBER; Optional; precision 0)"},"externalUsage":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Number of External Usages for This Record (SDO EXTERNAL_USAGE; Optional; precision 0)"},"facebook":{"type":"string","nullable":true,"maxLength":75,"description":"Facebook Address (SDO FACEBOOK; Optional; precision 0)"},"fax":{"type":"string","nullable":true,"maxLength":30,"description":"Fax Number (SDO FAX; Optional; precision 0)"},"firstHeader":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"First transaction (SDO FIRST_HEADER; Optional; precision 0)"},"firstInvoice":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"First Invoice Date (SDO FIRST_INVOICE; Optional; precision 0)"},"giftAidEnabled":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Gift Aid is enabled (SDO GIFT_AID_ENABLED; Optional; precision 0)"},"holdMail":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Restrict Mail (SDO HOLD_MAIL; Optional; precision 0)"},"inactiveFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Inactive Flag - Yes/No (SDO INACTIVE_FLAG; Optional; precision 0)"},"incoterms":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Incoterms (SDO INCOTERMS; Optional; precision 0)"},"invoiceBf":{"type":"number","nullable":true,"description":"Invoices Brought Forward (SDO INVOICE_BF; Optional; precision 2)"},"invoiceCf":{"type":"number","nullable":true,"description":"Invoices Carry Forward (SDO INVOICE_CF; Optional; precision 2)"},"invoiceMth1":{"type":"number","nullable":true,"description":"Invoices Month 1 (SDO INVOICE_MTH1; Optional; precision 2)"},"invoiceMth10":{"type":"number","nullable":true,"description":"Invoices Month 10 (SDO INVOICE_MTH10; Optional; precision 2)"},"invoiceMth11":{"type":"number","nullable":true,"description":"Invoices Month 11 (SDO INVOICE_MTH11; Optional; precision 2)"},"invoiceMth12":{"type":"number","nullable":true,"description":"Invoices Month 12 (SDO INVOICE_MTH12; Optional; precision 2)"},"invoiceMth2":{"type":"number","nullable":true,"description":"Invoices Month 2 (SDO INVOICE_MTH2; Optional; precision 2)"},"invoiceMth3":{"type":"number","nullable":true,"description":"Invoices Month 3 (SDO INVOICE_MTH3; Optional; precision 2)"},"invoiceMth4":{"type":"number","nullable":true,"description":"Invoices Month 4 (SDO INVOICE_MTH4; Optional; precision 2)"},"invoiceMth5":{"type":"number","nullable":true,"description":"Invoices Month 5 (SDO INVOICE_MTH5; Optional; precision 2)"},"invoiceMth6":{"type":"number","nullable":true,"description":"Invoices Month 6 (SDO INVOICE_MTH6; Optional; precision 2)"},"invoiceMth7":{"type":"number","nullable":true,"description":"Invoices Month 7 (SDO INVOICE_MTH7; Optional; precision 2)"},"invoiceMth8":{"type":"number","nullable":true,"description":"Invoices Month 8 (SDO INVOICE_MTH8; Optional; precision 2)"},"invoiceMth9":{"type":"number","nullable":true,"description":"Invoices Month 9 (SDO INVOICE_MTH9; Optional; precision 2)"},"lastCreditRev":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Last Credit Review (SDO LAST_CREDIT_REV; Optional; precision 0)"},"lastHeader":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Last transaction (SDO LAST_HEADER; Optional; precision 0)"},"lastInvDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Last Invoice Date (SDO LAST_INV_DATE; Optional; precision 0)"},"lastPayDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Last Payment Date (SDO LAST_PAY_DATE; Optional; precision 0)"},"lastUpdated":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date of last update (SDO LAST_UPDATED; Optional; precision 0)"},"linkedin":{"type":"string","nullable":true,"maxLength":64,"description":"LinkedIn Address (SDO LINKEDIN; Optional; precision 0)"},"memberReminderDate":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Member Reminder Date (SDO MEMBER_REMINDER_DATE; Optional; precision 0)"},"memberRenewalDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Member Renewal Date (SDO MEMBER_RENEWAL_DATE; Optional; precision 0)"},"memberSince":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Member Since (SDO MEMBER_SINCE; Optional; precision 0)"},"memoOffset":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Offset in Credit Memo File (SDO MEMO_OFFSET; Optional; precision 0)"},"memoSize":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Size of Memo in Bytes (SDO MEMO_SIZE; Optional; precision 0)"},"modify":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Modified Count (SDO MODIFY; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Account Name (SDO NAME; Optional; precision 0)"},"nextCreditRev":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Next Credit Review (SDO NEXT_CREDIT_REV; Optional; precision 0)"},"noOfHeader":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"No of trans (SDO NO_OF_HEADER; Optional; precision 0)"},"overrideProductNominal":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Override product nominal code in invoicing and pop (SDO OVERRIDE_PRODUCT_NOMINAL; Optional; precision 0)"},"overrideProductTax":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Override product tax code in invoicing (SDO OVERRIDE_PRODUCT_TAX; Optional; precision 0)"},"paymentBf":{"type":"number","nullable":true,"description":"Payments Brought Forward (SDO PAYMENT_BF; Optional; precision 2)"},"paymentCf":{"type":"number","nullable":true,"description":"Payments Carry Forward (SDO PAYMENT_CF; Optional; precision 2)"},"paymentDueDays":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Payment Due Days (SDO PAYMENT_DUE_DAYS; Optional; precision 0)"},"paymentDueFrom":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Payment Due From (SDO PAYMENT_DUE_FROM; Optional; precision 0)"},"paymentMth1":{"type":"number","nullable":true,"description":"Payments Month 1 (SDO PAYMENT_MTH1; Optional; precision 2)"},"paymentMth10":{"type":"number","nullable":true,"description":"Payments Month 10 (SDO PAYMENT_MTH10; Optional; precision 2)"},"paymentMth11":{"type":"number","nullable":true,"description":"Payments Month 11 (SDO PAYMENT_MTH11; Optional; precision 2)"},"paymentMth12":{"type":"number","nullable":true,"description":"Payments Month 12 (SDO PAYMENT_MTH12; Optional; precision 2)"},"paymentMth2":{"type":"number","nullable":true,"description":"Payments Month 2 (SDO PAYMENT_MTH2; Optional; precision 2)"},"paymentMth3":{"type":"number","nullable":true,"description":"Payments Month 3 (SDO PAYMENT_MTH3; Optional; precision 2)"},"paymentMth4":{"type":"number","nullable":true,"description":"Payments Month 4 (SDO PAYMENT_MTH4; Optional; precision 2)"},"paymentMth5":{"type":"number","nullable":true,"description":"Payments Month 5 (SDO PAYMENT_MTH5; Optional; precision 2)"},"paymentMth6":{"type":"number","nullable":true,"description":"Payments Month 6 (SDO PAYMENT_MTH6; Optional; precision 2)"},"paymentMth7":{"type":"number","nullable":true,"description":"Payments Month 7 (SDO PAYMENT_MTH7; Optional; precision 2)"},"paymentMth8":{"type":"number","nullable":true,"description":"Payments Month 8 (SDO PAYMENT_MTH8; Optional; precision 2)"},"paymentMth9":{"type":"number","nullable":true,"description":"Payments Month 9 (SDO PAYMENT_MTH9; Optional; precision 2)"},"paymentType":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Payment Method (SDO PAYMENT_TYPE; Optional; precision 0)"},"priceListRef":{"type":"string","nullable":true,"maxLength":8,"description":"Price list reference (SDO PRICE_LIST_REF; Optional; precision 0)"},"priorYear":{"type":"number","nullable":true,"description":"Prior YTD (SDO PRIOR_YEAR; Optional; precision 2)"},"priorityTrader":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Priority Customer (SDO PRIORITY_TRADER; Optional; precision 0)"},"receiptBf":{"type":"number","nullable":true,"description":"Receipts Brought Forward (SDO RECEIPT_BF; Optional; precision 2)"},"receiptCf":{"type":"number","nullable":true,"description":"Receipts Carry Forward (SDO RECEIPT_CF; Optional; precision 2)"},"receiptMth1":{"type":"number","nullable":true,"description":"Receipts Month 1 (SDO RECEIPT_MTH1; Optional; precision 2)"},"receiptMth10":{"type":"number","nullable":true,"description":"Receipts Month 10 (SDO RECEIPT_MTH10; Optional; precision 2)"},"receiptMth11":{"type":"number","nullable":true,"description":"Receipts Month 11 (SDO RECEIPT_MTH11; Optional; precision 2)"},"receiptMth12":{"type":"number","nullable":true,"description":"Receipts Month 12 (SDO RECEIPT_MTH12; Optional; precision 2)"},"receiptMth2":{"type":"number","nullable":true,"description":"Receipts Month 2 (SDO RECEIPT_MTH2; Optional; precision 2)"},"receiptMth3":{"type":"number","nullable":true,"description":"Receipts Month 3 (SDO RECEIPT_MTH3; Optional; precision 2)"},"receiptMth4":{"type":"number","nullable":true,"description":"Receipts Month 4 (SDO RECEIPT_MTH4; Optional; precision 2)"},"receiptMth5":{"type":"number","nullable":true,"description":"Receipts Month 5 (SDO RECEIPT_MTH5; Optional; precision 2)"},"receiptMth6":{"type":"number","nullable":true,"description":"Receipts Month 6 (SDO RECEIPT_MTH6; Optional; precision 2)"},"receiptMth7":{"type":"number","nullable":true,"description":"Receipts Month 7 (SDO RECEIPT_MTH7; Optional; precision 2)"},"receiptMth8":{"type":"number","nullable":true,"description":"Receipts Month 8 (SDO RECEIPT_MTH8; Optional; precision 2)"},"receiptMth9":{"type":"number","nullable":true,"description":"Receipts Month 9 (SDO RECEIPT_MTH9; Optional; precision 2)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"salesRep":{"type":"string","nullable":true,"maxLength":60,"description":"Name of Sales Representative (SDO SALES_REP; Optional; precision 0)"},"sendInvoicesElectronically":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Send Invoices to this account via Email (SDO SEND_INVOICES_ELECTRONICALLY; Optional; precision 0)"},"sendLettersElectronically":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Send letters to this account via Email (SDO SEND_LETTERS_ELECTRONICALLY; Optional; precision 0)"},"settlementDiscRate":{"type":"number","nullable":true,"description":"Settlement Discount Rate (SDO SETTLEMENT_DISC_RATE; Optional; precision 2)"},"settlementDueDays":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Settlement Due Days (SDO SETTLEMENT_DUE_DAYS; Optional; precision 0)"},"telephone":{"type":"string","nullable":true,"maxLength":30,"description":"Telephone Number (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","nullable":true,"maxLength":30,"description":"Second Telephone Number (SDO TELEPHONE_2; Optional; precision 0)"},"terms":{"type":"string","nullable":true,"maxLength":30,"description":"Terms (SDO TERMS; Optional; precision 0)"},"termsAgreedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Terms agreed flag (SDO TERMS_AGREED_FLAG; Optional; precision 0)"},"tradeContact":{"type":"string","nullable":true,"maxLength":30,"description":"Name of Trade Contact (SDO TRADE_CONTACT; Optional; precision 0)"},"traderForeignBalance":{"type":"number","nullable":true,"description":"Foreign Balance (SDO TRADER_FOREIGN_BALANCE; Optional; precision 6)"},"turnoverMtd":{"type":"number","nullable":true,"description":"Turnover Month To Date (SDO TURNOVER_MTD; Optional; precision 2)"},"turnoverYtd":{"type":"number","nullable":true,"description":"Turnover Year To Date (SDO TURNOVER_YTD; Optional; precision 2)"},"twitter":{"type":"string","nullable":true,"maxLength":35,"description":"Twitter Address (SDO TWITTER; Optional; precision 0)"},"vatRegNumber":{"type":"string","nullable":true,"maxLength":20,"description":"VAT Registration Number (SDO VAT_REG_NUMBER; Optional; precision 0)"},"www":{"type":"string","nullable":true,"maxLength":255,"description":"WWW Address (SDO WWW; Optional; precision 0)"},"id":{"type":"string"}},"required":["accountManager","accountOnHold","accountOpened","accountRef","accountStatus","accountType","accountTypeCustomer","accountTypeDonor","accountTypeMember","address1","address2","address3","address4","address5","analysis1","analysis2","analysis3","averagePayDays","bacs","bacsReference","balance","bankAccountName","bankAccountNumber","bankAdditionalRef1","bankAdditionalRef2","bankAdditionalRef3","bankAddress1","bankAddress2","bankAddress3","bankAddress4","bankAddress5","bankBicswift","bankIban","bankName","bankRollNumber","bankSortCode","buildSocietyRef","buildingSociety","canApplyCharges","contactName","countryCode","creditAppReceived","creditAppliedFor","creditBf","creditBureau","creditCardNo","creditCf","creditLimit","creditMth1","creditMth10","creditMth11","creditMth12","creditMth2","creditMth3","creditMth4","creditMth5","creditMth6","creditMth7","creditMth8","creditMth9","creditPosition","creditReference","currency","dateCreditAppReceived","declarationValidFrom","defNomCode","defTaxCode","delAddress1","delAddress2","delAddress3","delAddress4","delAddress5","delContactName","delFax","delName","delTelephone","deletedFlag","deptNumber","discountRate","discountType","disputed","donorForename","donorSurname","donorTitle","dunsNumber","eMail","eMail2","eMail3","ecCode","eoriNumber","externalUsage","facebook","fax","firstHeader","firstInvoice","giftAidEnabled","holdMail","inactiveFlag","incoterms","invoiceBf","invoiceCf","invoiceMth1","invoiceMth10","invoiceMth11","invoiceMth12","invoiceMth2","invoiceMth3","invoiceMth4","invoiceMth5","invoiceMth6","invoiceMth7","invoiceMth8","invoiceMth9","lastCreditRev","lastHeader","lastInvDate","lastPayDate","lastUpdated","linkedin","memberReminderDate","memberRenewalDate","memberSince","memoOffset","memoSize","modify","name","nextCreditRev","noOfHeader","overrideProductNominal","overrideProductTax","paymentBf","paymentCf","paymentDueDays","paymentDueFrom","paymentMth1","paymentMth10","paymentMth11","paymentMth12","paymentMth2","paymentMth3","paymentMth4","paymentMth5","paymentMth6","paymentMth7","paymentMth8","paymentMth9","paymentType","priceListRef","priorYear","priorityTrader","receiptBf","receiptCf","receiptMth1","receiptMth10","receiptMth11","receiptMth12","receiptMth2","receiptMth3","receiptMth4","receiptMth5","receiptMth6","receiptMth7","receiptMth8","receiptMth9","recordCreateDate","recordDeleted","recordModifyDate","salesRep","sendInvoicesElectronically","sendLettersElectronically","settlementDiscRate","settlementDueDays","telephone","telephone2","terms","termsAgreedFlag","tradeContact","traderForeignBalance","turnoverMtd","turnoverYtd","twitter","vatRegNumber","www","id"],"additionalProperties":false},"Uk28_1_customers_get":{"type":"object","properties":{"accountManager":{"type":"string","nullable":true,"maxLength":60,"description":"Name of Account Manager (SDO ACCOUNT_MANAGER; Optional; precision 0)"},"accountOnHold":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Account On Hold (SDO ACCOUNT_ON_HOLD; Optional; precision 0)"},"accountOpened":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Account Opened (SDO ACCOUNT_OPENED; Optional; precision 0)"},"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Account Reference (SDO ACCOUNT_REF; Required; precision 0)"},"accountStatus":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Status (SDO ACCOUNT_STATUS; Optional; precision 0)"},"accountType":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Type (SDO ACCOUNT_TYPE; Optional; precision 0)"},"accountTypeCustomer":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Type Customer (SDO ACCOUNT_TYPE_CUSTOMER; Optional; precision 0)"},"accountTypeDonor":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Type Donor (SDO ACCOUNT_TYPE_DONOR; Optional; precision 0)"},"accountTypeMember":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Type Member (SDO ACCOUNT_TYPE_MEMBER; Optional; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line5 (SDO ADDRESS_5; Optional; precision 0)"},"analysis1":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"averagePayDays":{"type":"number","nullable":true,"description":"Average Time To Pay (SDO AVERAGE_PAY_DAYS; Optional; precision 0)"},"bacs":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Bank Online Receipts (SDO BACS; Optional; precision 0)"},"bacsReference":{"type":"string","nullable":true,"maxLength":60,"description":"Bank BACS Ref (SDO BACS_REFERENCE; Optional; precision 0)"},"balance":{"type":"number","nullable":true,"description":"Balance (SDO BALANCE; Optional; precision 2)"},"bankAccountName":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Account Name (SDO BANK_ACCOUNT_NAME; Optional; precision 0)"},"bankAccountNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Account Number (SDO BANK_ACCOUNT_NUMBER; Optional; precision 0)"},"bankAdditionalRef1":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Additional Ref1 (SDO BANK_ADDITIONAL_REF1; Optional; precision 0)"},"bankAdditionalRef2":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Additional Ref2 (SDO BANK_ADDITIONAL_REF2; Optional; precision 0)"},"bankAdditionalRef3":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Additional Ref3 (SDO BANK_ADDITIONAL_REF3; Optional; precision 0)"},"bankAddress1":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line1 (SDO BANK_ADDRESS_1; Optional; precision 0)"},"bankAddress2":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line2 (SDO BANK_ADDRESS_2; Optional; precision 0)"},"bankAddress3":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line3 (SDO BANK_ADDRESS_3; Optional; precision 0)"},"bankAddress4":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line4 (SDO BANK_ADDRESS_4; Optional; precision 0)"},"bankAddress5":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line5 (SDO BANK_ADDRESS_5; Optional; precision 0)"},"bankBicswift":{"type":"string","nullable":true,"maxLength":60,"description":"Bank BIC/Swift (SDO BANK_BICSWIFT; Optional; precision 0)"},"bankIban":{"type":"string","nullable":true,"maxLength":60,"description":"Bank IBAN (SDO BANK_IBAN; Optional; precision 0)"},"bankName":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Name (SDO BANK_NAME; Optional; precision 0)"},"bankRollNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Roll Number (SDO BANK_ROLL_NUMBER; Optional; precision 0)"},"bankSortCode":{"type":"string","nullable":true,"maxLength":10,"description":"Bank Sort Code (SDO BANK_SORT_CODE; Optional; precision 0)"},"buildSocietyRef":{"type":"string","nullable":true,"maxLength":60,"description":"Refernce for Building Society Transfer (SDO BUILD_SOCIETY_REF; Optional; precision 0)"},"buildingSociety":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Uses Building Society (SDO BUILDING_SOCIETY; Optional; precision 0)"},"canApplyCharges":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Can Charge Credit (SDO CAN_APPLY_CHARGES; Optional; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Contact Name (SDO CONTACT_NAME; Optional; precision 0)"},"countryCode":{"type":"string","nullable":true,"maxLength":2,"description":"Country Code (SDO COUNTRY_CODE; Optional; precision 0)"},"creditAppReceived":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"True if Credit Application Received (SDO CREDIT_APP_RECEIVED; Optional; precision 0)"},"creditAppliedFor":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Credit Applied For (SDO CREDIT_APPLIED_FOR; Optional; precision 0)"},"creditBf":{"type":"number","nullable":true,"description":"Credits Brought Forward (SDO CREDIT_BF; Optional; precision 2)"},"creditBureau":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Credit Bureau Used (SDO CREDIT_BUREAU; Optional; precision 0)"},"creditCardNo":{"type":"string","nullable":true,"maxLength":30,"description":"Credit card number (SDO CREDIT_CARD_NO; Optional; precision 0)"},"creditCf":{"type":"number","nullable":true,"description":"Credits Carry Forward (SDO CREDIT_CF; Optional; precision 2)"},"creditLimit":{"type":"number","nullable":true,"description":"Credit Limit (SDO CREDIT_LIMIT; Optional; precision 2)"},"creditMth1":{"type":"number","nullable":true,"description":"Credits Month 1 (SDO CREDIT_MTH1; Optional; precision 2)"},"creditMth10":{"type":"number","nullable":true,"description":"Credits Month 10 (SDO CREDIT_MTH10; Optional; precision 2)"},"creditMth11":{"type":"number","nullable":true,"description":"Credits Month 11 (SDO CREDIT_MTH11; Optional; precision 2)"},"creditMth12":{"type":"number","nullable":true,"description":"Credits Month 12 (SDO CREDIT_MTH12; Optional; precision 2)"},"creditMth2":{"type":"number","nullable":true,"description":"Credits Month 2 (SDO CREDIT_MTH2; Optional; precision 2)"},"creditMth3":{"type":"number","nullable":true,"description":"Credits Month 3 (SDO CREDIT_MTH3; Optional; precision 2)"},"creditMth4":{"type":"number","nullable":true,"description":"Credits Month 4 (SDO CREDIT_MTH4; Optional; precision 2)"},"creditMth5":{"type":"number","nullable":true,"description":"Credits Month 5 (SDO CREDIT_MTH5; Optional; precision 2)"},"creditMth6":{"type":"number","nullable":true,"description":"Credits Month 6 (SDO CREDIT_MTH6; Optional; precision 2)"},"creditMth7":{"type":"number","nullable":true,"description":"Credits Month 7 (SDO CREDIT_MTH7; Optional; precision 2)"},"creditMth8":{"type":"number","nullable":true,"description":"Credits Month 8 (SDO CREDIT_MTH8; Optional; precision 2)"},"creditMth9":{"type":"number","nullable":true,"description":"Credits Month 9 (SDO CREDIT_MTH9; Optional; precision 2)"},"creditPosition":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Credit Position (SDO CREDIT_POSITION; Optional; precision 0)"},"creditReference":{"type":"string","nullable":true,"maxLength":60,"description":"Credit Bureau Reference (SDO CREDIT_REFERENCE; Optional; precision 0)"},"currency":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency (SDO CURRENCY; Optional; precision 0)"},"dateCreditAppReceived":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Credit Application Received (SDO DATE_CREDIT_APP_RECEIVED; Optional; precision 0)"},"declarationValidFrom":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Donor Declaration Valid From (SDO DECLARATION_VALID_FROM; Optional; precision 0)"},"defNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Default Nominal Code (SDO DEF_NOM_CODE; Optional; precision 0)"},"defTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax Code (SDO DEF_TAX_CODE; Optional; precision 0)"},"delAddress1":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line1 (SDO DEL_ADDRESS_1; Optional; precision 0)"},"delAddress2":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line2 (SDO DEL_ADDRESS_2; Optional; precision 0)"},"delAddress3":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line3 (SDO DEL_ADDRESS_3; Optional; precision 0)"},"delAddress4":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line4 (SDO DEL_ADDRESS_4; Optional; precision 0)"},"delAddress5":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line5 (SDO DEL_ADDRESS_5; Optional; precision 0)"},"delContactName":{"type":"string","nullable":true,"maxLength":30,"description":"Default Delivery Contact Name (SDO DEL_CONTACT_NAME; Optional; precision 0)"},"delFax":{"type":"string","nullable":true,"maxLength":30,"description":"Default Delivery Fax Number (SDO DEL_FAX; Optional; precision 0)"},"delName":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Name (SDO DEL_NAME; Optional; precision 0)"},"delTelephone":{"type":"string","nullable":true,"maxLength":30,"description":"Default Delivery Telephone Number (SDO DEL_TELEPHONE; Optional; precision 0)"},"deletedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Reserved for Future Use (SDO DELETED_FLAG; Optional; precision 0)"},"deptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Department Code (SDO DEPT_NUMBER; Optional; precision 0)"},"discountRate":{"type":"number","nullable":true,"description":"Discount Rate (SDO DISCOUNT_RATE; Optional; precision 2)"},"discountType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Discount Type (SDO DISCOUNT_TYPE; Optional; precision 0)"},"disputed":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Disputed (SDO DISPUTED; Optional; precision 0)"},"donorForename":{"type":"string","nullable":true,"maxLength":35,"description":"Donor Forename (SDO DONOR_FORENAME; Optional; precision 0)"},"donorSurname":{"type":"string","nullable":true,"maxLength":35,"description":"Donor Surname (SDO DONOR_SURNAME; Optional; precision 0)"},"donorTitle":{"type":"string","nullable":true,"maxLength":4,"description":"Donor Title (SDO DONOR_TITLE; Optional; precision 0)"},"dunsNumber":{"type":"string","nullable":true,"maxLength":9,"description":"DUNS Number (SDO DUNS_NUMBER; Optional; precision 0)"},"eMail":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (SDO E_MAIL; Optional; precision 0)"},"eMail2":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (2) (SDO E_MAIL2; Optional; precision 0)"},"eMail3":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (3) (SDO E_MAIL3; Optional; precision 0)"},"ecCode":{"type":"string","nullable":true,"maxLength":3,"description":"EC member code (SDO EC_CODE; Optional; precision 0)"},"eoriNumber":{"type":"string","nullable":true,"maxLength":17,"description":"EORI number (SDO EORI_NUMBER; Optional; precision 0)"},"externalUsage":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Number of External Usages for This Record (SDO EXTERNAL_USAGE; Optional; precision 0)"},"facebook":{"type":"string","nullable":true,"maxLength":75,"description":"Facebook Address (SDO FACEBOOK; Optional; precision 0)"},"fax":{"type":"string","nullable":true,"maxLength":30,"description":"Fax Number (SDO FAX; Optional; precision 0)"},"firstHeader":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"First transaction (SDO FIRST_HEADER; Optional; precision 0)"},"firstInvoice":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"First Invoice Date (SDO FIRST_INVOICE; Optional; precision 0)"},"giftAidEnabled":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Gift Aid is enabled (SDO GIFT_AID_ENABLED; Optional; precision 0)"},"holdMail":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Restrict Mail (SDO HOLD_MAIL; Optional; precision 0)"},"inactiveFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Inactive Flag - Yes/No (SDO INACTIVE_FLAG; Optional; precision 0)"},"incoterms":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Incoterms (SDO INCOTERMS; Optional; precision 0)"},"invoiceBf":{"type":"number","nullable":true,"description":"Invoices Brought Forward (SDO INVOICE_BF; Optional; precision 2)"},"invoiceCf":{"type":"number","nullable":true,"description":"Invoices Carry Forward (SDO INVOICE_CF; Optional; precision 2)"},"invoiceMth1":{"type":"number","nullable":true,"description":"Invoices Month 1 (SDO INVOICE_MTH1; Optional; precision 2)"},"invoiceMth10":{"type":"number","nullable":true,"description":"Invoices Month 10 (SDO INVOICE_MTH10; Optional; precision 2)"},"invoiceMth11":{"type":"number","nullable":true,"description":"Invoices Month 11 (SDO INVOICE_MTH11; Optional; precision 2)"},"invoiceMth12":{"type":"number","nullable":true,"description":"Invoices Month 12 (SDO INVOICE_MTH12; Optional; precision 2)"},"invoiceMth2":{"type":"number","nullable":true,"description":"Invoices Month 2 (SDO INVOICE_MTH2; Optional; precision 2)"},"invoiceMth3":{"type":"number","nullable":true,"description":"Invoices Month 3 (SDO INVOICE_MTH3; Optional; precision 2)"},"invoiceMth4":{"type":"number","nullable":true,"description":"Invoices Month 4 (SDO INVOICE_MTH4; Optional; precision 2)"},"invoiceMth5":{"type":"number","nullable":true,"description":"Invoices Month 5 (SDO INVOICE_MTH5; Optional; precision 2)"},"invoiceMth6":{"type":"number","nullable":true,"description":"Invoices Month 6 (SDO INVOICE_MTH6; Optional; precision 2)"},"invoiceMth7":{"type":"number","nullable":true,"description":"Invoices Month 7 (SDO INVOICE_MTH7; Optional; precision 2)"},"invoiceMth8":{"type":"number","nullable":true,"description":"Invoices Month 8 (SDO INVOICE_MTH8; Optional; precision 2)"},"invoiceMth9":{"type":"number","nullable":true,"description":"Invoices Month 9 (SDO INVOICE_MTH9; Optional; precision 2)"},"lastCreditRev":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Last Credit Review (SDO LAST_CREDIT_REV; Optional; precision 0)"},"lastHeader":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Last transaction (SDO LAST_HEADER; Optional; precision 0)"},"lastInvDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Last Invoice Date (SDO LAST_INV_DATE; Optional; precision 0)"},"lastPayDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Last Payment Date (SDO LAST_PAY_DATE; Optional; precision 0)"},"lastUpdated":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date of last update (SDO LAST_UPDATED; Optional; precision 0)"},"linkedin":{"type":"string","nullable":true,"maxLength":64,"description":"LinkedIn Address (SDO LINKEDIN; Optional; precision 0)"},"mandateref":{"type":"string","nullable":true,"maxLength":25,"description":"Direct Debit Mandate Ref (SDO MANDATEREF; Optional; precision 0)"},"memberReminderDate":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Member Reminder Date (SDO MEMBER_REMINDER_DATE; Optional; precision 0)"},"memberRenewalDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Member Renewal Date (SDO MEMBER_RENEWAL_DATE; Optional; precision 0)"},"memberSince":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Member Since (SDO MEMBER_SINCE; Optional; precision 0)"},"memoOffset":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Offset in Credit Memo File (SDO MEMO_OFFSET; Optional; precision 0)"},"memoSize":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Size of Memo in Bytes (SDO MEMO_SIZE; Optional; precision 0)"},"modify":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Modified Count (SDO MODIFY; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Account Name (SDO NAME; Optional; precision 0)"},"nextCreditRev":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Next Credit Review (SDO NEXT_CREDIT_REV; Optional; precision 0)"},"noOfHeader":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"No of trans (SDO NO_OF_HEADER; Optional; precision 0)"},"overrideProductNominal":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Override product nominal code in invoicing and pop (SDO OVERRIDE_PRODUCT_NOMINAL; Optional; precision 0)"},"overrideProductTax":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Override product tax code in invoicing (SDO OVERRIDE_PRODUCT_TAX; Optional; precision 0)"},"paymentBf":{"type":"number","nullable":true,"description":"Payments Brought Forward (SDO PAYMENT_BF; Optional; precision 2)"},"paymentCf":{"type":"number","nullable":true,"description":"Payments Carry Forward (SDO PAYMENT_CF; Optional; precision 2)"},"paymentDueDays":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Payment Due Days (SDO PAYMENT_DUE_DAYS; Optional; precision 0)"},"paymentDueFrom":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Payment Due From (SDO PAYMENT_DUE_FROM; Optional; precision 0)"},"paymentMth1":{"type":"number","nullable":true,"description":"Payments Month 1 (SDO PAYMENT_MTH1; Optional; precision 2)"},"paymentMth10":{"type":"number","nullable":true,"description":"Payments Month 10 (SDO PAYMENT_MTH10; Optional; precision 2)"},"paymentMth11":{"type":"number","nullable":true,"description":"Payments Month 11 (SDO PAYMENT_MTH11; Optional; precision 2)"},"paymentMth12":{"type":"number","nullable":true,"description":"Payments Month 12 (SDO PAYMENT_MTH12; Optional; precision 2)"},"paymentMth2":{"type":"number","nullable":true,"description":"Payments Month 2 (SDO PAYMENT_MTH2; Optional; precision 2)"},"paymentMth3":{"type":"number","nullable":true,"description":"Payments Month 3 (SDO PAYMENT_MTH3; Optional; precision 2)"},"paymentMth4":{"type":"number","nullable":true,"description":"Payments Month 4 (SDO PAYMENT_MTH4; Optional; precision 2)"},"paymentMth5":{"type":"number","nullable":true,"description":"Payments Month 5 (SDO PAYMENT_MTH5; Optional; precision 2)"},"paymentMth6":{"type":"number","nullable":true,"description":"Payments Month 6 (SDO PAYMENT_MTH6; Optional; precision 2)"},"paymentMth7":{"type":"number","nullable":true,"description":"Payments Month 7 (SDO PAYMENT_MTH7; Optional; precision 2)"},"paymentMth8":{"type":"number","nullable":true,"description":"Payments Month 8 (SDO PAYMENT_MTH8; Optional; precision 2)"},"paymentMth9":{"type":"number","nullable":true,"description":"Payments Month 9 (SDO PAYMENT_MTH9; Optional; precision 2)"},"paymentType":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Payment Method (SDO PAYMENT_TYPE; Optional; precision 0)"},"priceListRef":{"type":"string","nullable":true,"maxLength":8,"description":"Price list reference (SDO PRICE_LIST_REF; Optional; precision 0)"},"priorYear":{"type":"number","nullable":true,"description":"Prior YTD (SDO PRIOR_YEAR; Optional; precision 2)"},"priorityTrader":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Priority Customer (SDO PRIORITY_TRADER; Optional; precision 0)"},"receiptBf":{"type":"number","nullable":true,"description":"Receipts Brought Forward (SDO RECEIPT_BF; Optional; precision 2)"},"receiptCf":{"type":"number","nullable":true,"description":"Receipts Carry Forward (SDO RECEIPT_CF; Optional; precision 2)"},"receiptMth1":{"type":"number","nullable":true,"description":"Receipts Month 1 (SDO RECEIPT_MTH1; Optional; precision 2)"},"receiptMth10":{"type":"number","nullable":true,"description":"Receipts Month 10 (SDO RECEIPT_MTH10; Optional; precision 2)"},"receiptMth11":{"type":"number","nullable":true,"description":"Receipts Month 11 (SDO RECEIPT_MTH11; Optional; precision 2)"},"receiptMth12":{"type":"number","nullable":true,"description":"Receipts Month 12 (SDO RECEIPT_MTH12; Optional; precision 2)"},"receiptMth2":{"type":"number","nullable":true,"description":"Receipts Month 2 (SDO RECEIPT_MTH2; Optional; precision 2)"},"receiptMth3":{"type":"number","nullable":true,"description":"Receipts Month 3 (SDO RECEIPT_MTH3; Optional; precision 2)"},"receiptMth4":{"type":"number","nullable":true,"description":"Receipts Month 4 (SDO RECEIPT_MTH4; Optional; precision 2)"},"receiptMth5":{"type":"number","nullable":true,"description":"Receipts Month 5 (SDO RECEIPT_MTH5; Optional; precision 2)"},"receiptMth6":{"type":"number","nullable":true,"description":"Receipts Month 6 (SDO RECEIPT_MTH6; Optional; precision 2)"},"receiptMth7":{"type":"number","nullable":true,"description":"Receipts Month 7 (SDO RECEIPT_MTH7; Optional; precision 2)"},"receiptMth8":{"type":"number","nullable":true,"description":"Receipts Month 8 (SDO RECEIPT_MTH8; Optional; precision 2)"},"receiptMth9":{"type":"number","nullable":true,"description":"Receipts Month 9 (SDO RECEIPT_MTH9; Optional; precision 2)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"salesRep":{"type":"string","nullable":true,"maxLength":60,"description":"Name of Sales Representative (SDO SALES_REP; Optional; precision 0)"},"sendInvoicesElectronically":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Send Invoices to this account via Email (SDO SEND_INVOICES_ELECTRONICALLY; Optional; precision 0)"},"sendLettersElectronically":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Send letters to this account via Email (SDO SEND_LETTERS_ELECTRONICALLY; Optional; precision 0)"},"settlementDiscRate":{"type":"number","nullable":true,"description":"Settlement Discount Rate (SDO SETTLEMENT_DISC_RATE; Optional; precision 2)"},"settlementDueDays":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Settlement Due Days (SDO SETTLEMENT_DUE_DAYS; Optional; precision 0)"},"telephone":{"type":"string","nullable":true,"maxLength":30,"description":"Telephone Number (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","nullable":true,"maxLength":30,"description":"Second Telephone Number (SDO TELEPHONE_2; Optional; precision 0)"},"terms":{"type":"string","nullable":true,"maxLength":30,"description":"Terms (SDO TERMS; Optional; precision 0)"},"termsAgreedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Terms agreed flag (SDO TERMS_AGREED_FLAG; Optional; precision 0)"},"tradeContact":{"type":"string","nullable":true,"maxLength":30,"description":"Name of Trade Contact (SDO TRADE_CONTACT; Optional; precision 0)"},"traderForeignBalance":{"type":"number","nullable":true,"description":"Foreign Balance (SDO TRADER_FOREIGN_BALANCE; Optional; precision 6)"},"turnoverMtd":{"type":"number","nullable":true,"description":"Turnover Month To Date (SDO TURNOVER_MTD; Optional; precision 2)"},"turnoverYtd":{"type":"number","nullable":true,"description":"Turnover Year To Date (SDO TURNOVER_YTD; Optional; precision 2)"},"twitter":{"type":"string","nullable":true,"maxLength":35,"description":"Twitter Address (SDO TWITTER; Optional; precision 0)"},"vatRegNumber":{"type":"string","nullable":true,"maxLength":20,"description":"VAT Registration Number (SDO VAT_REG_NUMBER; Optional; precision 0)"},"www":{"type":"string","nullable":true,"maxLength":255,"description":"WWW Address (SDO WWW; Optional; precision 0)"},"id":{"type":"string"}},"required":["accountManager","accountOnHold","accountOpened","accountRef","accountStatus","accountType","accountTypeCustomer","accountTypeDonor","accountTypeMember","address1","address2","address3","address4","address5","analysis1","analysis2","analysis3","averagePayDays","bacs","bacsReference","balance","bankAccountName","bankAccountNumber","bankAdditionalRef1","bankAdditionalRef2","bankAdditionalRef3","bankAddress1","bankAddress2","bankAddress3","bankAddress4","bankAddress5","bankBicswift","bankIban","bankName","bankRollNumber","bankSortCode","buildSocietyRef","buildingSociety","canApplyCharges","contactName","countryCode","creditAppReceived","creditAppliedFor","creditBf","creditBureau","creditCardNo","creditCf","creditLimit","creditMth1","creditMth10","creditMth11","creditMth12","creditMth2","creditMth3","creditMth4","creditMth5","creditMth6","creditMth7","creditMth8","creditMth9","creditPosition","creditReference","currency","dateCreditAppReceived","declarationValidFrom","defNomCode","defTaxCode","delAddress1","delAddress2","delAddress3","delAddress4","delAddress5","delContactName","delFax","delName","delTelephone","deletedFlag","deptNumber","discountRate","discountType","disputed","donorForename","donorSurname","donorTitle","dunsNumber","eMail","eMail2","eMail3","ecCode","eoriNumber","externalUsage","facebook","fax","firstHeader","firstInvoice","giftAidEnabled","holdMail","inactiveFlag","incoterms","invoiceBf","invoiceCf","invoiceMth1","invoiceMth10","invoiceMth11","invoiceMth12","invoiceMth2","invoiceMth3","invoiceMth4","invoiceMth5","invoiceMth6","invoiceMth7","invoiceMth8","invoiceMth9","lastCreditRev","lastHeader","lastInvDate","lastPayDate","lastUpdated","linkedin","mandateref","memberReminderDate","memberRenewalDate","memberSince","memoOffset","memoSize","modify","name","nextCreditRev","noOfHeader","overrideProductNominal","overrideProductTax","paymentBf","paymentCf","paymentDueDays","paymentDueFrom","paymentMth1","paymentMth10","paymentMth11","paymentMth12","paymentMth2","paymentMth3","paymentMth4","paymentMth5","paymentMth6","paymentMth7","paymentMth8","paymentMth9","paymentType","priceListRef","priorYear","priorityTrader","receiptBf","receiptCf","receiptMth1","receiptMth10","receiptMth11","receiptMth12","receiptMth2","receiptMth3","receiptMth4","receiptMth5","receiptMth6","receiptMth7","receiptMth8","receiptMth9","recordCreateDate","recordDeleted","recordModifyDate","salesRep","sendInvoicesElectronically","sendLettersElectronically","settlementDiscRate","settlementDueDays","telephone","telephone2","terms","termsAgreedFlag","tradeContact","traderForeignBalance","turnoverMtd","turnoverYtd","twitter","vatRegNumber","www","id"],"additionalProperties":false},"Uk29_2_customers_get":{"type":"object","properties":{"accountManager":{"type":"string","nullable":true,"maxLength":60,"description":"Name of Account Manager (SDO ACCOUNT_MANAGER; Optional; precision 0)"},"accountOnHold":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Account On Hold (SDO ACCOUNT_ON_HOLD; Optional; precision 0)"},"accountOpened":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Account Opened (SDO ACCOUNT_OPENED; Optional; precision 0)"},"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Account Reference (SDO ACCOUNT_REF; Required; precision 0)"},"accountStatus":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Status (SDO ACCOUNT_STATUS; Optional; precision 0)"},"accountType":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Type (SDO ACCOUNT_TYPE; Optional; precision 0)"},"accountTypeCustomer":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Type Customer (SDO ACCOUNT_TYPE_CUSTOMER; Optional; precision 0)"},"accountTypeDonor":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Type Donor (SDO ACCOUNT_TYPE_DONOR; Optional; precision 0)"},"accountTypeMember":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Type Member (SDO ACCOUNT_TYPE_MEMBER; Optional; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line5 (SDO ADDRESS_5; Optional; precision 0)"},"analysis1":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"analysis4":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 4 (SDO ANALYSIS_4; Optional; precision 0)"},"analysis5":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 5 (SDO ANALYSIS_5; Optional; precision 0)"},"analysis6":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 6 (SDO ANALYSIS_6; Optional; precision 0)"},"averagePayDays":{"type":"number","nullable":true,"description":"Average Time To Pay (SDO AVERAGE_PAY_DAYS; Optional; precision 0)"},"bacs":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Bank Online Receipts (SDO BACS; Optional; precision 0)"},"bacsReference":{"type":"string","nullable":true,"maxLength":60,"description":"Bank BACS Ref (SDO BACS_REFERENCE; Optional; precision 0)"},"balance":{"type":"number","nullable":true,"description":"Balance (SDO BALANCE; Optional; precision 2)"},"bankAccountName":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Account Name (SDO BANK_ACCOUNT_NAME; Optional; precision 0)"},"bankAccountNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Account Number (SDO BANK_ACCOUNT_NUMBER; Optional; precision 0)"},"bankAdditionalRef1":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Additional Ref1 (SDO BANK_ADDITIONAL_REF1; Optional; precision 0)"},"bankAdditionalRef2":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Additional Ref2 (SDO BANK_ADDITIONAL_REF2; Optional; precision 0)"},"bankAdditionalRef3":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Additional Ref3 (SDO BANK_ADDITIONAL_REF3; Optional; precision 0)"},"bankAddress1":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line1 (SDO BANK_ADDRESS_1; Optional; precision 0)"},"bankAddress2":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line2 (SDO BANK_ADDRESS_2; Optional; precision 0)"},"bankAddress3":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line3 (SDO BANK_ADDRESS_3; Optional; precision 0)"},"bankAddress4":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line4 (SDO BANK_ADDRESS_4; Optional; precision 0)"},"bankAddress5":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line5 (SDO BANK_ADDRESS_5; Optional; precision 0)"},"bankBicswift":{"type":"string","nullable":true,"maxLength":60,"description":"Bank BIC/Swift (SDO BANK_BICSWIFT; Optional; precision 0)"},"bankIban":{"type":"string","nullable":true,"maxLength":60,"description":"Bank IBAN (SDO BANK_IBAN; Optional; precision 0)"},"bankName":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Name (SDO BANK_NAME; Optional; precision 0)"},"bankRollNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Roll Number (SDO BANK_ROLL_NUMBER; Optional; precision 0)"},"bankSortCode":{"type":"string","nullable":true,"maxLength":10,"description":"Bank Sort Code (SDO BANK_SORT_CODE; Optional; precision 0)"},"buildSocietyRef":{"type":"string","nullable":true,"maxLength":60,"description":"Refernce for Building Society Transfer (SDO BUILD_SOCIETY_REF; Optional; precision 0)"},"buildingSociety":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Uses Building Society (SDO BUILDING_SOCIETY; Optional; precision 0)"},"canApplyCharges":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Can Charge Credit (SDO CAN_APPLY_CHARGES; Optional; precision 0)"},"companyRegistrationNumber":{"type":"string","nullable":true,"maxLength":16,"description":"Company Reg. Number (SDO COMPANY_REGISTRATION_NUMBER; Optional; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Contact Name (SDO CONTACT_NAME; Optional; precision 0)"},"countryCode":{"type":"string","nullable":true,"maxLength":2,"description":"Country Code (SDO COUNTRY_CODE; Optional; precision 0)"},"creditAppReceived":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"True if Credit Application Received (SDO CREDIT_APP_RECEIVED; Optional; precision 0)"},"creditAppliedFor":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Credit Applied For (SDO CREDIT_APPLIED_FOR; Optional; precision 0)"},"creditBf":{"type":"number","nullable":true,"description":"Credits Brought Forward (SDO CREDIT_BF; Optional; precision 2)"},"creditBureau":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Credit Bureau Used (SDO CREDIT_BUREAU; Optional; precision 0)"},"creditCardNo":{"type":"string","nullable":true,"maxLength":30,"description":"Credit card number (SDO CREDIT_CARD_NO; Optional; precision 0)"},"creditCf":{"type":"number","nullable":true,"description":"Credits Carry Forward (SDO CREDIT_CF; Optional; precision 2)"},"creditLimit":{"type":"number","nullable":true,"description":"Credit Limit (SDO CREDIT_LIMIT; Optional; precision 2)"},"creditMth1":{"type":"number","nullable":true,"description":"Credits Month 1 (SDO CREDIT_MTH1; Optional; precision 2)"},"creditMth10":{"type":"number","nullable":true,"description":"Credits Month 10 (SDO CREDIT_MTH10; Optional; precision 2)"},"creditMth11":{"type":"number","nullable":true,"description":"Credits Month 11 (SDO CREDIT_MTH11; Optional; precision 2)"},"creditMth12":{"type":"number","nullable":true,"description":"Credits Month 12 (SDO CREDIT_MTH12; Optional; precision 2)"},"creditMth2":{"type":"number","nullable":true,"description":"Credits Month 2 (SDO CREDIT_MTH2; Optional; precision 2)"},"creditMth3":{"type":"number","nullable":true,"description":"Credits Month 3 (SDO CREDIT_MTH3; Optional; precision 2)"},"creditMth4":{"type":"number","nullable":true,"description":"Credits Month 4 (SDO CREDIT_MTH4; Optional; precision 2)"},"creditMth5":{"type":"number","nullable":true,"description":"Credits Month 5 (SDO CREDIT_MTH5; Optional; precision 2)"},"creditMth6":{"type":"number","nullable":true,"description":"Credits Month 6 (SDO CREDIT_MTH6; Optional; precision 2)"},"creditMth7":{"type":"number","nullable":true,"description":"Credits Month 7 (SDO CREDIT_MTH7; Optional; precision 2)"},"creditMth8":{"type":"number","nullable":true,"description":"Credits Month 8 (SDO CREDIT_MTH8; Optional; precision 2)"},"creditMth9":{"type":"number","nullable":true,"description":"Credits Month 9 (SDO CREDIT_MTH9; Optional; precision 2)"},"creditPosition":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Credit Position (SDO CREDIT_POSITION; Optional; precision 0)"},"creditReference":{"type":"string","nullable":true,"maxLength":60,"description":"Credit Bureau Reference (SDO CREDIT_REFERENCE; Optional; precision 0)"},"currency":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency (SDO CURRENCY; Optional; precision 0)"},"dateCreditAppReceived":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Credit Application Received (SDO DATE_CREDIT_APP_RECEIVED; Optional; precision 0)"},"declarationValidFrom":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Donor Declaration Valid From (SDO DECLARATION_VALID_FROM; Optional; precision 0)"},"defNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Default Nominal Code (SDO DEF_NOM_CODE; Optional; precision 0)"},"defTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax Code (SDO DEF_TAX_CODE; Optional; precision 0)"},"delAddress1":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line1 (SDO DEL_ADDRESS_1; Optional; precision 0)"},"delAddress2":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line2 (SDO DEL_ADDRESS_2; Optional; precision 0)"},"delAddress3":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line3 (SDO DEL_ADDRESS_3; Optional; precision 0)"},"delAddress4":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line4 (SDO DEL_ADDRESS_4; Optional; precision 0)"},"delAddress5":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line5 (SDO DEL_ADDRESS_5; Optional; precision 0)"},"delContactName":{"type":"string","nullable":true,"maxLength":30,"description":"Default Delivery Contact Name (SDO DEL_CONTACT_NAME; Optional; precision 0)"},"delFax":{"type":"string","nullable":true,"maxLength":30,"description":"Default Delivery Fax Number (SDO DEL_FAX; Optional; precision 0)"},"delName":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Name (SDO DEL_NAME; Optional; precision 0)"},"delTelephone":{"type":"string","nullable":true,"maxLength":30,"description":"Default Delivery Telephone Number (SDO DEL_TELEPHONE; Optional; precision 0)"},"deletedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Reserved for Future Use (SDO DELETED_FLAG; Optional; precision 0)"},"deptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Department Code (SDO DEPT_NUMBER; Optional; precision 0)"},"discountRate":{"type":"number","nullable":true,"description":"Discount Rate (SDO DISCOUNT_RATE; Optional; precision 2)"},"discountType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Discount Type (SDO DISCOUNT_TYPE; Optional; precision 0)"},"disputed":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Disputed (SDO DISPUTED; Optional; precision 0)"},"donorForename":{"type":"string","nullable":true,"maxLength":35,"description":"Donor Forename (SDO DONOR_FORENAME; Optional; precision 0)"},"donorSurname":{"type":"string","nullable":true,"maxLength":35,"description":"Donor Surname (SDO DONOR_SURNAME; Optional; precision 0)"},"donorTitle":{"type":"string","nullable":true,"maxLength":4,"description":"Donor Title (SDO DONOR_TITLE; Optional; precision 0)"},"dunsNumber":{"type":"string","nullable":true,"maxLength":9,"description":"DUNS Number (SDO DUNS_NUMBER; Optional; precision 0)"},"eMail":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (SDO E_MAIL; Optional; precision 0)"},"eMail2":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (2) (SDO E_MAIL2; Optional; precision 0)"},"eMail3":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (3) (SDO E_MAIL3; Optional; precision 0)"},"eMail4":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (4) (SDO E_MAIL4; Optional; precision 0)"},"eMail5":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (5) (SDO E_MAIL5; Optional; precision 0)"},"eMail6":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (6) (SDO E_MAIL6; Optional; precision 0)"},"ecCode":{"type":"string","nullable":true,"maxLength":3,"description":"EC member code (SDO EC_CODE; Optional; precision 0)"},"eoriNumber":{"type":"string","nullable":true,"maxLength":17,"description":"EORI number (SDO EORI_NUMBER; Optional; precision 0)"},"externalUsage":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Number of External Usages for This Record (SDO EXTERNAL_USAGE; Optional; precision 0)"},"facebook":{"type":"string","nullable":true,"maxLength":75,"description":"Facebook Address (SDO FACEBOOK; Optional; precision 0)"},"fax":{"type":"string","nullable":true,"maxLength":30,"description":"Fax Number (SDO FAX; Optional; precision 0)"},"firstHeader":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"First transaction (SDO FIRST_HEADER; Optional; precision 0)"},"firstInvoice":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"First Invoice Date (SDO FIRST_INVOICE; Optional; precision 0)"},"giftAidEnabled":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Gift Aid is enabled (SDO GIFT_AID_ENABLED; Optional; precision 0)"},"holdMail":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Restrict Mail (SDO HOLD_MAIL; Optional; precision 0)"},"inactiveFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Inactive Flag - Yes/No (SDO INACTIVE_FLAG; Optional; precision 0)"},"incoterms":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Incoterms (SDO INCOTERMS; Optional; precision 0)"},"invoiceBf":{"type":"number","nullable":true,"description":"Invoices Brought Forward (SDO INVOICE_BF; Optional; precision 2)"},"invoiceCf":{"type":"number","nullable":true,"description":"Invoices Carry Forward (SDO INVOICE_CF; Optional; precision 2)"},"invoiceMth1":{"type":"number","nullable":true,"description":"Invoices Month 1 (SDO INVOICE_MTH1; Optional; precision 2)"},"invoiceMth10":{"type":"number","nullable":true,"description":"Invoices Month 10 (SDO INVOICE_MTH10; Optional; precision 2)"},"invoiceMth11":{"type":"number","nullable":true,"description":"Invoices Month 11 (SDO INVOICE_MTH11; Optional; precision 2)"},"invoiceMth12":{"type":"number","nullable":true,"description":"Invoices Month 12 (SDO INVOICE_MTH12; Optional; precision 2)"},"invoiceMth2":{"type":"number","nullable":true,"description":"Invoices Month 2 (SDO INVOICE_MTH2; Optional; precision 2)"},"invoiceMth3":{"type":"number","nullable":true,"description":"Invoices Month 3 (SDO INVOICE_MTH3; Optional; precision 2)"},"invoiceMth4":{"type":"number","nullable":true,"description":"Invoices Month 4 (SDO INVOICE_MTH4; Optional; precision 2)"},"invoiceMth5":{"type":"number","nullable":true,"description":"Invoices Month 5 (SDO INVOICE_MTH5; Optional; precision 2)"},"invoiceMth6":{"type":"number","nullable":true,"description":"Invoices Month 6 (SDO INVOICE_MTH6; Optional; precision 2)"},"invoiceMth7":{"type":"number","nullable":true,"description":"Invoices Month 7 (SDO INVOICE_MTH7; Optional; precision 2)"},"invoiceMth8":{"type":"number","nullable":true,"description":"Invoices Month 8 (SDO INVOICE_MTH8; Optional; precision 2)"},"invoiceMth9":{"type":"number","nullable":true,"description":"Invoices Month 9 (SDO INVOICE_MTH9; Optional; precision 2)"},"lastCreditRev":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Last Credit Review (SDO LAST_CREDIT_REV; Optional; precision 0)"},"lastHeader":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Last transaction (SDO LAST_HEADER; Optional; precision 0)"},"lastInvDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Last Invoice Date (SDO LAST_INV_DATE; Optional; precision 0)"},"lastPayDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Last Payment Date (SDO LAST_PAY_DATE; Optional; precision 0)"},"lastUpdated":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date of last update (SDO LAST_UPDATED; Optional; precision 0)"},"linkedin":{"type":"string","nullable":true,"maxLength":64,"description":"LinkedIn Address (SDO LINKEDIN; Optional; precision 0)"},"mandateref":{"type":"string","nullable":true,"maxLength":25,"description":"Direct Debit Mandate Ref (SDO MANDATEREF; Optional; precision 0)"},"memberReminderDate":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Member Reminder Date (SDO MEMBER_REMINDER_DATE; Optional; precision 0)"},"memberRenewalDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Member Renewal Date (SDO MEMBER_RENEWAL_DATE; Optional; precision 0)"},"memberSince":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Member Since (SDO MEMBER_SINCE; Optional; precision 0)"},"memoOffset":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Offset in Credit Memo File (SDO MEMO_OFFSET; Optional; precision 0)"},"memoSize":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Size of Memo in Bytes (SDO MEMO_SIZE; Optional; precision 0)"},"modify":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Modified Count (SDO MODIFY; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Account Name (SDO NAME; Optional; precision 0)"},"nextCreditRev":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Next Credit Review (SDO NEXT_CREDIT_REV; Optional; precision 0)"},"noOfHeader":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"No of trans (SDO NO_OF_HEADER; Optional; precision 0)"},"overrideProductNominal":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Override product nominal code in invoicing and pop (SDO OVERRIDE_PRODUCT_NOMINAL; Optional; precision 0)"},"overrideProductTax":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Override product tax code in invoicing (SDO OVERRIDE_PRODUCT_TAX; Optional; precision 0)"},"paymentBf":{"type":"number","nullable":true,"description":"Payments Brought Forward (SDO PAYMENT_BF; Optional; precision 2)"},"paymentCf":{"type":"number","nullable":true,"description":"Payments Carry Forward (SDO PAYMENT_CF; Optional; precision 2)"},"paymentDueDays":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Payment Due Days (SDO PAYMENT_DUE_DAYS; Optional; precision 0)"},"paymentDueFrom":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Payment Due From (SDO PAYMENT_DUE_FROM; Optional; precision 0)"},"paymentMth1":{"type":"number","nullable":true,"description":"Payments Month 1 (SDO PAYMENT_MTH1; Optional; precision 2)"},"paymentMth10":{"type":"number","nullable":true,"description":"Payments Month 10 (SDO PAYMENT_MTH10; Optional; precision 2)"},"paymentMth11":{"type":"number","nullable":true,"description":"Payments Month 11 (SDO PAYMENT_MTH11; Optional; precision 2)"},"paymentMth12":{"type":"number","nullable":true,"description":"Payments Month 12 (SDO PAYMENT_MTH12; Optional; precision 2)"},"paymentMth2":{"type":"number","nullable":true,"description":"Payments Month 2 (SDO PAYMENT_MTH2; Optional; precision 2)"},"paymentMth3":{"type":"number","nullable":true,"description":"Payments Month 3 (SDO PAYMENT_MTH3; Optional; precision 2)"},"paymentMth4":{"type":"number","nullable":true,"description":"Payments Month 4 (SDO PAYMENT_MTH4; Optional; precision 2)"},"paymentMth5":{"type":"number","nullable":true,"description":"Payments Month 5 (SDO PAYMENT_MTH5; Optional; precision 2)"},"paymentMth6":{"type":"number","nullable":true,"description":"Payments Month 6 (SDO PAYMENT_MTH6; Optional; precision 2)"},"paymentMth7":{"type":"number","nullable":true,"description":"Payments Month 7 (SDO PAYMENT_MTH7; Optional; precision 2)"},"paymentMth8":{"type":"number","nullable":true,"description":"Payments Month 8 (SDO PAYMENT_MTH8; Optional; precision 2)"},"paymentMth9":{"type":"number","nullable":true,"description":"Payments Month 9 (SDO PAYMENT_MTH9; Optional; precision 2)"},"paymentType":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Payment Method (SDO PAYMENT_TYPE; Optional; precision 0)"},"priceListRef":{"type":"string","nullable":true,"maxLength":8,"description":"Price list reference (SDO PRICE_LIST_REF; Optional; precision 0)"},"priorYear":{"type":"number","nullable":true,"description":"Prior YTD (SDO PRIOR_YEAR; Optional; precision 2)"},"priorityTrader":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Priority Customer (SDO PRIORITY_TRADER; Optional; precision 0)"},"receiptBf":{"type":"number","nullable":true,"description":"Receipts Brought Forward (SDO RECEIPT_BF; Optional; precision 2)"},"receiptCf":{"type":"number","nullable":true,"description":"Receipts Carry Forward (SDO RECEIPT_CF; Optional; precision 2)"},"receiptMth1":{"type":"number","nullable":true,"description":"Receipts Month 1 (SDO RECEIPT_MTH1; Optional; precision 2)"},"receiptMth10":{"type":"number","nullable":true,"description":"Receipts Month 10 (SDO RECEIPT_MTH10; Optional; precision 2)"},"receiptMth11":{"type":"number","nullable":true,"description":"Receipts Month 11 (SDO RECEIPT_MTH11; Optional; precision 2)"},"receiptMth12":{"type":"number","nullable":true,"description":"Receipts Month 12 (SDO RECEIPT_MTH12; Optional; precision 2)"},"receiptMth2":{"type":"number","nullable":true,"description":"Receipts Month 2 (SDO RECEIPT_MTH2; Optional; precision 2)"},"receiptMth3":{"type":"number","nullable":true,"description":"Receipts Month 3 (SDO RECEIPT_MTH3; Optional; precision 2)"},"receiptMth4":{"type":"number","nullable":true,"description":"Receipts Month 4 (SDO RECEIPT_MTH4; Optional; precision 2)"},"receiptMth5":{"type":"number","nullable":true,"description":"Receipts Month 5 (SDO RECEIPT_MTH5; Optional; precision 2)"},"receiptMth6":{"type":"number","nullable":true,"description":"Receipts Month 6 (SDO RECEIPT_MTH6; Optional; precision 2)"},"receiptMth7":{"type":"number","nullable":true,"description":"Receipts Month 7 (SDO RECEIPT_MTH7; Optional; precision 2)"},"receiptMth8":{"type":"number","nullable":true,"description":"Receipts Month 8 (SDO RECEIPT_MTH8; Optional; precision 2)"},"receiptMth9":{"type":"number","nullable":true,"description":"Receipts Month 9 (SDO RECEIPT_MTH9; Optional; precision 2)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"salesRep":{"type":"string","nullable":true,"maxLength":60,"description":"Name of Sales Representative (SDO SALES_REP; Optional; precision 0)"},"sendInvoicesElectronically":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Send Invoices to this account via Email (SDO SEND_INVOICES_ELECTRONICALLY; Optional; precision 0)"},"sendLettersElectronically":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Send letters to this account via Email (SDO SEND_LETTERS_ELECTRONICALLY; Optional; precision 0)"},"settlementDiscRate":{"type":"number","nullable":true,"description":"Settlement Discount Rate (SDO SETTLEMENT_DISC_RATE; Optional; precision 2)"},"settlementDueDays":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Settlement Due Days (SDO SETTLEMENT_DUE_DAYS; Optional; precision 0)"},"telephone":{"type":"string","nullable":true,"maxLength":30,"description":"Telephone Number (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","nullable":true,"maxLength":30,"description":"Second Telephone Number (SDO TELEPHONE_2; Optional; precision 0)"},"terms":{"type":"string","nullable":true,"maxLength":30,"description":"Terms (SDO TERMS; Optional; precision 0)"},"termsAgreedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Terms agreed flag (SDO TERMS_AGREED_FLAG; Optional; precision 0)"},"tradeContact":{"type":"string","nullable":true,"maxLength":30,"description":"Name of Trade Contact (SDO TRADE_CONTACT; Optional; precision 0)"},"traderForeignBalance":{"type":"number","nullable":true,"description":"Foreign Balance (SDO TRADER_FOREIGN_BALANCE; Optional; precision 6)"},"turnoverMtd":{"type":"number","nullable":true,"description":"Turnover Month To Date (SDO TURNOVER_MTD; Optional; precision 2)"},"turnoverYtd":{"type":"number","nullable":true,"description":"Turnover Year To Date (SDO TURNOVER_YTD; Optional; precision 2)"},"twitter":{"type":"string","nullable":true,"maxLength":35,"description":"Twitter Address (SDO TWITTER; Optional; precision 0)"},"vatRegNumber":{"type":"string","nullable":true,"maxLength":20,"description":"VAT Registration Number (SDO VAT_REG_NUMBER; Optional; precision 0)"},"www":{"type":"string","nullable":true,"maxLength":255,"description":"WWW Address (SDO WWW; Optional; precision 0)"},"id":{"type":"string"}},"required":["accountManager","accountOnHold","accountOpened","accountRef","accountStatus","accountType","accountTypeCustomer","accountTypeDonor","accountTypeMember","address1","address2","address3","address4","address5","analysis1","analysis2","analysis3","analysis4","analysis5","analysis6","averagePayDays","bacs","bacsReference","balance","bankAccountName","bankAccountNumber","bankAdditionalRef1","bankAdditionalRef2","bankAdditionalRef3","bankAddress1","bankAddress2","bankAddress3","bankAddress4","bankAddress5","bankBicswift","bankIban","bankName","bankRollNumber","bankSortCode","buildSocietyRef","buildingSociety","canApplyCharges","companyRegistrationNumber","contactName","countryCode","creditAppReceived","creditAppliedFor","creditBf","creditBureau","creditCardNo","creditCf","creditLimit","creditMth1","creditMth10","creditMth11","creditMth12","creditMth2","creditMth3","creditMth4","creditMth5","creditMth6","creditMth7","creditMth8","creditMth9","creditPosition","creditReference","currency","dateCreditAppReceived","declarationValidFrom","defNomCode","defTaxCode","delAddress1","delAddress2","delAddress3","delAddress4","delAddress5","delContactName","delFax","delName","delTelephone","deletedFlag","deptNumber","discountRate","discountType","disputed","donorForename","donorSurname","donorTitle","dunsNumber","eMail","eMail2","eMail3","eMail4","eMail5","eMail6","ecCode","eoriNumber","externalUsage","facebook","fax","firstHeader","firstInvoice","giftAidEnabled","holdMail","inactiveFlag","incoterms","invoiceBf","invoiceCf","invoiceMth1","invoiceMth10","invoiceMth11","invoiceMth12","invoiceMth2","invoiceMth3","invoiceMth4","invoiceMth5","invoiceMth6","invoiceMth7","invoiceMth8","invoiceMth9","lastCreditRev","lastHeader","lastInvDate","lastPayDate","lastUpdated","linkedin","mandateref","memberReminderDate","memberRenewalDate","memberSince","memoOffset","memoSize","modify","name","nextCreditRev","noOfHeader","overrideProductNominal","overrideProductTax","paymentBf","paymentCf","paymentDueDays","paymentDueFrom","paymentMth1","paymentMth10","paymentMth11","paymentMth12","paymentMth2","paymentMth3","paymentMth4","paymentMth5","paymentMth6","paymentMth7","paymentMth8","paymentMth9","paymentType","priceListRef","priorYear","priorityTrader","receiptBf","receiptCf","receiptMth1","receiptMth10","receiptMth11","receiptMth12","receiptMth2","receiptMth3","receiptMth4","receiptMth5","receiptMth6","receiptMth7","receiptMth8","receiptMth9","recordCreateDate","recordDeleted","recordModifyDate","salesRep","sendInvoicesElectronically","sendLettersElectronically","settlementDiscRate","settlementDueDays","telephone","telephone2","terms","termsAgreedFlag","tradeContact","traderForeignBalance","turnoverMtd","turnoverYtd","twitter","vatRegNumber","www","id"],"additionalProperties":false},"Uk30_1_customers_get":{"type":"object","properties":{"accountManager":{"type":"string","nullable":true,"maxLength":60,"description":"Name of Account Manager (SDO ACCOUNT_MANAGER; Optional; precision 0)"},"accountOnHold":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Account On Hold (SDO ACCOUNT_ON_HOLD; Optional; precision 0)"},"accountOpened":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Account Opened (SDO ACCOUNT_OPENED; Optional; precision 0)"},"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Account Reference (SDO ACCOUNT_REF; Required; precision 0)"},"accountStatus":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Status (SDO ACCOUNT_STATUS; Optional; precision 0)"},"accountType":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Type (SDO ACCOUNT_TYPE; Optional; precision 0)"},"accountTypeCustomer":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Type Customer (SDO ACCOUNT_TYPE_CUSTOMER; Optional; precision 0)"},"accountTypeDonor":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Type Donor (SDO ACCOUNT_TYPE_DONOR; Optional; precision 0)"},"accountTypeMember":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Type Member (SDO ACCOUNT_TYPE_MEMBER; Optional; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line5 (SDO ADDRESS_5; Optional; precision 0)"},"analysis1":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"analysis4":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 4 (SDO ANALYSIS_4; Optional; precision 0)"},"analysis5":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 5 (SDO ANALYSIS_5; Optional; precision 0)"},"analysis6":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 6 (SDO ANALYSIS_6; Optional; precision 0)"},"averagePayDays":{"type":"number","nullable":true,"description":"Average Time To Pay (SDO AVERAGE_PAY_DAYS; Optional; precision 0)"},"bacs":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Bank Online Receipts (SDO BACS; Optional; precision 0)"},"bacsReference":{"type":"string","nullable":true,"maxLength":60,"description":"Bank BACS Ref (SDO BACS_REFERENCE; Optional; precision 0)"},"balance":{"type":"number","nullable":true,"description":"Balance (SDO BALANCE; Optional; precision 2)"},"bankAccountName":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Account Name (SDO BANK_ACCOUNT_NAME; Optional; precision 0)"},"bankAccountNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Account Number (SDO BANK_ACCOUNT_NUMBER; Optional; precision 0)"},"bankAdditionalRef1":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Additional Ref1 (SDO BANK_ADDITIONAL_REF1; Optional; precision 0)"},"bankAdditionalRef2":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Additional Ref2 (SDO BANK_ADDITIONAL_REF2; Optional; precision 0)"},"bankAdditionalRef3":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Additional Ref3 (SDO BANK_ADDITIONAL_REF3; Optional; precision 0)"},"bankAddress1":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line1 (SDO BANK_ADDRESS_1; Optional; precision 0)"},"bankAddress2":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line2 (SDO BANK_ADDRESS_2; Optional; precision 0)"},"bankAddress3":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line3 (SDO BANK_ADDRESS_3; Optional; precision 0)"},"bankAddress4":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line4 (SDO BANK_ADDRESS_4; Optional; precision 0)"},"bankAddress5":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line5 (SDO BANK_ADDRESS_5; Optional; precision 0)"},"bankBicswift":{"type":"string","nullable":true,"maxLength":60,"description":"Bank BIC/Swift (SDO BANK_BICSWIFT; Optional; precision 0)"},"bankIban":{"type":"string","nullable":true,"maxLength":60,"description":"Bank IBAN (SDO BANK_IBAN; Optional; precision 0)"},"bankName":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Name (SDO BANK_NAME; Optional; precision 0)"},"bankRollNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Roll Number (SDO BANK_ROLL_NUMBER; Optional; precision 0)"},"bankSortCode":{"type":"string","nullable":true,"maxLength":10,"description":"Bank Sort Code (SDO BANK_SORT_CODE; Optional; precision 0)"},"buildSocietyRef":{"type":"string","nullable":true,"maxLength":60,"description":"Refernce for Building Society Transfer (SDO BUILD_SOCIETY_REF; Optional; precision 0)"},"buildingSociety":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Uses Building Society (SDO BUILDING_SOCIETY; Optional; precision 0)"},"canApplyCharges":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Can Charge Credit (SDO CAN_APPLY_CHARGES; Optional; precision 0)"},"companyRegistrationNumber":{"type":"string","nullable":true,"maxLength":16,"description":"Company Reg. Number (SDO COMPANY_REGISTRATION_NUMBER; Optional; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Contact Name (SDO CONTACT_NAME; Optional; precision 0)"},"countryCode":{"type":"string","nullable":true,"maxLength":2,"description":"Country Code (SDO COUNTRY_CODE; Optional; precision 0)"},"creditAppReceived":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"True if Credit Application Received (SDO CREDIT_APP_RECEIVED; Optional; precision 0)"},"creditAppliedFor":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Credit Applied For (SDO CREDIT_APPLIED_FOR; Optional; precision 0)"},"creditBf":{"type":"number","nullable":true,"description":"Credits Brought Forward (SDO CREDIT_BF; Optional; precision 2)"},"creditBureau":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Credit Bureau Used (SDO CREDIT_BUREAU; Optional; precision 0)"},"creditCardNo":{"type":"string","nullable":true,"maxLength":30,"description":"Credit card number (SDO CREDIT_CARD_NO; Optional; precision 0)"},"creditCf":{"type":"number","nullable":true,"description":"Credits Carry Forward (SDO CREDIT_CF; Optional; precision 2)"},"creditLimit":{"type":"number","nullable":true,"description":"Credit Limit (SDO CREDIT_LIMIT; Optional; precision 2)"},"creditMth1":{"type":"number","nullable":true,"description":"Credits Month 1 (SDO CREDIT_MTH1; Optional; precision 2)"},"creditMth10":{"type":"number","nullable":true,"description":"Credits Month 10 (SDO CREDIT_MTH10; Optional; precision 2)"},"creditMth11":{"type":"number","nullable":true,"description":"Credits Month 11 (SDO CREDIT_MTH11; Optional; precision 2)"},"creditMth12":{"type":"number","nullable":true,"description":"Credits Month 12 (SDO CREDIT_MTH12; Optional; precision 2)"},"creditMth2":{"type":"number","nullable":true,"description":"Credits Month 2 (SDO CREDIT_MTH2; Optional; precision 2)"},"creditMth3":{"type":"number","nullable":true,"description":"Credits Month 3 (SDO CREDIT_MTH3; Optional; precision 2)"},"creditMth4":{"type":"number","nullable":true,"description":"Credits Month 4 (SDO CREDIT_MTH4; Optional; precision 2)"},"creditMth5":{"type":"number","nullable":true,"description":"Credits Month 5 (SDO CREDIT_MTH5; Optional; precision 2)"},"creditMth6":{"type":"number","nullable":true,"description":"Credits Month 6 (SDO CREDIT_MTH6; Optional; precision 2)"},"creditMth7":{"type":"number","nullable":true,"description":"Credits Month 7 (SDO CREDIT_MTH7; Optional; precision 2)"},"creditMth8":{"type":"number","nullable":true,"description":"Credits Month 8 (SDO CREDIT_MTH8; Optional; precision 2)"},"creditMth9":{"type":"number","nullable":true,"description":"Credits Month 9 (SDO CREDIT_MTH9; Optional; precision 2)"},"creditPosition":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Credit Position (SDO CREDIT_POSITION; Optional; precision 0)"},"creditReference":{"type":"string","nullable":true,"maxLength":60,"description":"Credit Bureau Reference (SDO CREDIT_REFERENCE; Optional; precision 0)"},"currency":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency (SDO CURRENCY; Optional; precision 0)"},"dateCreditAppReceived":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Credit Application Received (SDO DATE_CREDIT_APP_RECEIVED; Optional; precision 0)"},"declarationValidFrom":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Donor Declaration Valid From (SDO DECLARATION_VALID_FROM; Optional; precision 0)"},"defNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Default Nominal Code (SDO DEF_NOM_CODE; Optional; precision 0)"},"defTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax Code (SDO DEF_TAX_CODE; Optional; precision 0)"},"delAddress1":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line1 (SDO DEL_ADDRESS_1; Optional; precision 0)"},"delAddress2":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line2 (SDO DEL_ADDRESS_2; Optional; precision 0)"},"delAddress3":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line3 (SDO DEL_ADDRESS_3; Optional; precision 0)"},"delAddress4":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line4 (SDO DEL_ADDRESS_4; Optional; precision 0)"},"delAddress5":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line5 (SDO DEL_ADDRESS_5; Optional; precision 0)"},"delContactName":{"type":"string","nullable":true,"maxLength":30,"description":"Default Delivery Contact Name (SDO DEL_CONTACT_NAME; Optional; precision 0)"},"delFax":{"type":"string","nullable":true,"maxLength":30,"description":"Default Delivery Fax Number (SDO DEL_FAX; Optional; precision 0)"},"delName":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Name (SDO DEL_NAME; Optional; precision 0)"},"delTelephone":{"type":"string","nullable":true,"maxLength":30,"description":"Default Delivery Telephone Number (SDO DEL_TELEPHONE; Optional; precision 0)"},"deletedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Reserved for Future Use (SDO DELETED_FLAG; Optional; precision 0)"},"deptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Department Code (SDO DEPT_NUMBER; Optional; precision 0)"},"discountRate":{"type":"number","nullable":true,"description":"Discount Rate (SDO DISCOUNT_RATE; Optional; precision 2)"},"discountType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Discount Type (SDO DISCOUNT_TYPE; Optional; precision 0)"},"disputed":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Disputed (SDO DISPUTED; Optional; precision 0)"},"donorForename":{"type":"string","nullable":true,"maxLength":35,"description":"Donor Forename (SDO DONOR_FORENAME; Optional; precision 0)"},"donorSurname":{"type":"string","nullable":true,"maxLength":35,"description":"Donor Surname (SDO DONOR_SURNAME; Optional; precision 0)"},"donorTitle":{"type":"string","nullable":true,"maxLength":4,"description":"Donor Title (SDO DONOR_TITLE; Optional; precision 0)"},"dunsNumber":{"type":"string","nullable":true,"maxLength":9,"description":"DUNS Number (SDO DUNS_NUMBER; Optional; precision 0)"},"eMail":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (SDO E_MAIL; Optional; precision 0)"},"eMail2":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (2) (SDO E_MAIL2; Optional; precision 0)"},"eMail3":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (3) (SDO E_MAIL3; Optional; precision 0)"},"eMail4":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (4) (SDO E_MAIL4; Optional; precision 0)"},"eMail5":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (5) (SDO E_MAIL5; Optional; precision 0)"},"eMail6":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (6) (SDO E_MAIL6; Optional; precision 0)"},"ecCode":{"type":"string","nullable":true,"maxLength":3,"description":"EC member code (SDO EC_CODE; Optional; precision 0)"},"eoriNumber":{"type":"string","nullable":true,"maxLength":17,"description":"EORI number (SDO EORI_NUMBER; Optional; precision 0)"},"externalUsage":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Number of External Usages for This Record (SDO EXTERNAL_USAGE; Optional; precision 0)"},"facebook":{"type":"string","nullable":true,"maxLength":75,"description":"Facebook Address (SDO FACEBOOK; Optional; precision 0)"},"fax":{"type":"string","nullable":true,"maxLength":30,"description":"Fax Number (SDO FAX; Optional; precision 0)"},"firstHeader":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"First transaction (SDO FIRST_HEADER; Optional; precision 0)"},"firstInvoice":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"First Invoice Date (SDO FIRST_INVOICE; Optional; precision 0)"},"giftAidEnabled":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Gift Aid is enabled (SDO GIFT_AID_ENABLED; Optional; precision 0)"},"holdMail":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Restrict Mail (SDO HOLD_MAIL; Optional; precision 0)"},"inactiveFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Inactive Flag - Yes/No (SDO INACTIVE_FLAG; Optional; precision 0)"},"incoterms":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Incoterms (SDO INCOTERMS; Optional; precision 0)"},"invoiceBf":{"type":"number","nullable":true,"description":"Invoices Brought Forward (SDO INVOICE_BF; Optional; precision 2)"},"invoiceCf":{"type":"number","nullable":true,"description":"Invoices Carry Forward (SDO INVOICE_CF; Optional; precision 2)"},"invoiceMth1":{"type":"number","nullable":true,"description":"Invoices Month 1 (SDO INVOICE_MTH1; Optional; precision 2)"},"invoiceMth10":{"type":"number","nullable":true,"description":"Invoices Month 10 (SDO INVOICE_MTH10; Optional; precision 2)"},"invoiceMth11":{"type":"number","nullable":true,"description":"Invoices Month 11 (SDO INVOICE_MTH11; Optional; precision 2)"},"invoiceMth12":{"type":"number","nullable":true,"description":"Invoices Month 12 (SDO INVOICE_MTH12; Optional; precision 2)"},"invoiceMth2":{"type":"number","nullable":true,"description":"Invoices Month 2 (SDO INVOICE_MTH2; Optional; precision 2)"},"invoiceMth3":{"type":"number","nullable":true,"description":"Invoices Month 3 (SDO INVOICE_MTH3; Optional; precision 2)"},"invoiceMth4":{"type":"number","nullable":true,"description":"Invoices Month 4 (SDO INVOICE_MTH4; Optional; precision 2)"},"invoiceMth5":{"type":"number","nullable":true,"description":"Invoices Month 5 (SDO INVOICE_MTH5; Optional; precision 2)"},"invoiceMth6":{"type":"number","nullable":true,"description":"Invoices Month 6 (SDO INVOICE_MTH6; Optional; precision 2)"},"invoiceMth7":{"type":"number","nullable":true,"description":"Invoices Month 7 (SDO INVOICE_MTH7; Optional; precision 2)"},"invoiceMth8":{"type":"number","nullable":true,"description":"Invoices Month 8 (SDO INVOICE_MTH8; Optional; precision 2)"},"invoiceMth9":{"type":"number","nullable":true,"description":"Invoices Month 9 (SDO INVOICE_MTH9; Optional; precision 2)"},"lastCreditRev":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Last Credit Review (SDO LAST_CREDIT_REV; Optional; precision 0)"},"lastHeader":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Last transaction (SDO LAST_HEADER; Optional; precision 0)"},"lastInvDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Last Invoice Date (SDO LAST_INV_DATE; Optional; precision 0)"},"lastPayDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Last Payment Date (SDO LAST_PAY_DATE; Optional; precision 0)"},"lastUpdated":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date of last update (SDO LAST_UPDATED; Optional; precision 0)"},"linkedin":{"type":"string","nullable":true,"maxLength":64,"description":"LinkedIn Address (SDO LINKEDIN; Optional; precision 0)"},"mandateref":{"type":"string","nullable":true,"maxLength":25,"description":"Direct Debit Mandate Ref (SDO MANDATEREF; Optional; precision 0)"},"memberReminderDate":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Member Reminder Date (SDO MEMBER_REMINDER_DATE; Optional; precision 0)"},"memberRenewalDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Member Renewal Date (SDO MEMBER_RENEWAL_DATE; Optional; precision 0)"},"memberSince":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Member Since (SDO MEMBER_SINCE; Optional; precision 0)"},"memoOffset":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Offset in Credit Memo File (SDO MEMO_OFFSET; Optional; precision 0)"},"memoSize":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Size of Memo in Bytes (SDO MEMO_SIZE; Optional; precision 0)"},"modify":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Modified Count (SDO MODIFY; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Account Name (SDO NAME; Optional; precision 0)"},"nextCreditRev":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Next Credit Review (SDO NEXT_CREDIT_REV; Optional; precision 0)"},"noOfHeader":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"No of trans (SDO NO_OF_HEADER; Optional; precision 0)"},"overrideProductNominal":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Override product nominal code in invoicing and pop (SDO OVERRIDE_PRODUCT_NOMINAL; Optional; precision 0)"},"overrideProductTax":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Override product tax code in invoicing (SDO OVERRIDE_PRODUCT_TAX; Optional; precision 0)"},"paymentBf":{"type":"number","nullable":true,"description":"Payments Brought Forward (SDO PAYMENT_BF; Optional; precision 2)"},"paymentCf":{"type":"number","nullable":true,"description":"Payments Carry Forward (SDO PAYMENT_CF; Optional; precision 2)"},"paymentDueDays":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Payment Due Days (SDO PAYMENT_DUE_DAYS; Optional; precision 0)"},"paymentDueFrom":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Payment Due From (SDO PAYMENT_DUE_FROM; Optional; precision 0)"},"paymentMth1":{"type":"number","nullable":true,"description":"Payments Month 1 (SDO PAYMENT_MTH1; Optional; precision 2)"},"paymentMth10":{"type":"number","nullable":true,"description":"Payments Month 10 (SDO PAYMENT_MTH10; Optional; precision 2)"},"paymentMth11":{"type":"number","nullable":true,"description":"Payments Month 11 (SDO PAYMENT_MTH11; Optional; precision 2)"},"paymentMth12":{"type":"number","nullable":true,"description":"Payments Month 12 (SDO PAYMENT_MTH12; Optional; precision 2)"},"paymentMth2":{"type":"number","nullable":true,"description":"Payments Month 2 (SDO PAYMENT_MTH2; Optional; precision 2)"},"paymentMth3":{"type":"number","nullable":true,"description":"Payments Month 3 (SDO PAYMENT_MTH3; Optional; precision 2)"},"paymentMth4":{"type":"number","nullable":true,"description":"Payments Month 4 (SDO PAYMENT_MTH4; Optional; precision 2)"},"paymentMth5":{"type":"number","nullable":true,"description":"Payments Month 5 (SDO PAYMENT_MTH5; Optional; precision 2)"},"paymentMth6":{"type":"number","nullable":true,"description":"Payments Month 6 (SDO PAYMENT_MTH6; Optional; precision 2)"},"paymentMth7":{"type":"number","nullable":true,"description":"Payments Month 7 (SDO PAYMENT_MTH7; Optional; precision 2)"},"paymentMth8":{"type":"number","nullable":true,"description":"Payments Month 8 (SDO PAYMENT_MTH8; Optional; precision 2)"},"paymentMth9":{"type":"number","nullable":true,"description":"Payments Month 9 (SDO PAYMENT_MTH9; Optional; precision 2)"},"paymentType":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Payment Method (SDO PAYMENT_TYPE; Optional; precision 0)"},"priceListRef":{"type":"string","nullable":true,"maxLength":8,"description":"Price list reference (SDO PRICE_LIST_REF; Optional; precision 0)"},"priorYear":{"type":"number","nullable":true,"description":"Prior YTD (SDO PRIOR_YEAR; Optional; precision 2)"},"priorityTrader":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Priority Customer (SDO PRIORITY_TRADER; Optional; precision 0)"},"receiptBf":{"type":"number","nullable":true,"description":"Receipts Brought Forward (SDO RECEIPT_BF; Optional; precision 2)"},"receiptCf":{"type":"number","nullable":true,"description":"Receipts Carry Forward (SDO RECEIPT_CF; Optional; precision 2)"},"receiptMth1":{"type":"number","nullable":true,"description":"Receipts Month 1 (SDO RECEIPT_MTH1; Optional; precision 2)"},"receiptMth10":{"type":"number","nullable":true,"description":"Receipts Month 10 (SDO RECEIPT_MTH10; Optional; precision 2)"},"receiptMth11":{"type":"number","nullable":true,"description":"Receipts Month 11 (SDO RECEIPT_MTH11; Optional; precision 2)"},"receiptMth12":{"type":"number","nullable":true,"description":"Receipts Month 12 (SDO RECEIPT_MTH12; Optional; precision 2)"},"receiptMth2":{"type":"number","nullable":true,"description":"Receipts Month 2 (SDO RECEIPT_MTH2; Optional; precision 2)"},"receiptMth3":{"type":"number","nullable":true,"description":"Receipts Month 3 (SDO RECEIPT_MTH3; Optional; precision 2)"},"receiptMth4":{"type":"number","nullable":true,"description":"Receipts Month 4 (SDO RECEIPT_MTH4; Optional; precision 2)"},"receiptMth5":{"type":"number","nullable":true,"description":"Receipts Month 5 (SDO RECEIPT_MTH5; Optional; precision 2)"},"receiptMth6":{"type":"number","nullable":true,"description":"Receipts Month 6 (SDO RECEIPT_MTH6; Optional; precision 2)"},"receiptMth7":{"type":"number","nullable":true,"description":"Receipts Month 7 (SDO RECEIPT_MTH7; Optional; precision 2)"},"receiptMth8":{"type":"number","nullable":true,"description":"Receipts Month 8 (SDO RECEIPT_MTH8; Optional; precision 2)"},"receiptMth9":{"type":"number","nullable":true,"description":"Receipts Month 9 (SDO RECEIPT_MTH9; Optional; precision 2)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"salesRep":{"type":"string","nullable":true,"maxLength":60,"description":"Name of Sales Representative (SDO SALES_REP; Optional; precision 0)"},"sendInvoicesElectronically":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Send Invoices to this account via Email (SDO SEND_INVOICES_ELECTRONICALLY; Optional; precision 0)"},"sendLettersElectronically":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Send letters to this account via Email (SDO SEND_LETTERS_ELECTRONICALLY; Optional; precision 0)"},"settlementDiscRate":{"type":"number","nullable":true,"description":"Settlement Discount Rate (SDO SETTLEMENT_DISC_RATE; Optional; precision 2)"},"settlementDueDays":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Settlement Due Days (SDO SETTLEMENT_DUE_DAYS; Optional; precision 0)"},"telephone":{"type":"string","nullable":true,"maxLength":30,"description":"Telephone Number (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","nullable":true,"maxLength":30,"description":"Second Telephone Number (SDO TELEPHONE_2; Optional; precision 0)"},"terms":{"type":"string","nullable":true,"maxLength":30,"description":"Terms (SDO TERMS; Optional; precision 0)"},"termsAgreedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Terms agreed flag (SDO TERMS_AGREED_FLAG; Optional; precision 0)"},"tradeContact":{"type":"string","nullable":true,"maxLength":30,"description":"Name of Trade Contact (SDO TRADE_CONTACT; Optional; precision 0)"},"traderForeignBalance":{"type":"number","nullable":true,"description":"Foreign Balance (SDO TRADER_FOREIGN_BALANCE; Optional; precision 6)"},"turnoverMtd":{"type":"number","nullable":true,"description":"Turnover Month To Date (SDO TURNOVER_MTD; Optional; precision 2)"},"turnoverYtd":{"type":"number","nullable":true,"description":"Turnover Year To Date (SDO TURNOVER_YTD; Optional; precision 2)"},"twitter":{"type":"string","nullable":true,"maxLength":35,"description":"Twitter Address (SDO TWITTER; Optional; precision 0)"},"vatRegNumber":{"type":"string","nullable":true,"maxLength":20,"description":"VAT Registration Number (SDO VAT_REG_NUMBER; Optional; precision 0)"},"www":{"type":"string","nullable":true,"maxLength":255,"description":"WWW Address (SDO WWW; Optional; precision 0)"},"id":{"type":"string"}},"required":["accountManager","accountOnHold","accountOpened","accountRef","accountStatus","accountType","accountTypeCustomer","accountTypeDonor","accountTypeMember","address1","address2","address3","address4","address5","analysis1","analysis2","analysis3","analysis4","analysis5","analysis6","averagePayDays","bacs","bacsReference","balance","bankAccountName","bankAccountNumber","bankAdditionalRef1","bankAdditionalRef2","bankAdditionalRef3","bankAddress1","bankAddress2","bankAddress3","bankAddress4","bankAddress5","bankBicswift","bankIban","bankName","bankRollNumber","bankSortCode","buildSocietyRef","buildingSociety","canApplyCharges","companyRegistrationNumber","contactName","countryCode","creditAppReceived","creditAppliedFor","creditBf","creditBureau","creditCardNo","creditCf","creditLimit","creditMth1","creditMth10","creditMth11","creditMth12","creditMth2","creditMth3","creditMth4","creditMth5","creditMth6","creditMth7","creditMth8","creditMth9","creditPosition","creditReference","currency","dateCreditAppReceived","declarationValidFrom","defNomCode","defTaxCode","delAddress1","delAddress2","delAddress3","delAddress4","delAddress5","delContactName","delFax","delName","delTelephone","deletedFlag","deptNumber","discountRate","discountType","disputed","donorForename","donorSurname","donorTitle","dunsNumber","eMail","eMail2","eMail3","eMail4","eMail5","eMail6","ecCode","eoriNumber","externalUsage","facebook","fax","firstHeader","firstInvoice","giftAidEnabled","holdMail","inactiveFlag","incoterms","invoiceBf","invoiceCf","invoiceMth1","invoiceMth10","invoiceMth11","invoiceMth12","invoiceMth2","invoiceMth3","invoiceMth4","invoiceMth5","invoiceMth6","invoiceMth7","invoiceMth8","invoiceMth9","lastCreditRev","lastHeader","lastInvDate","lastPayDate","lastUpdated","linkedin","mandateref","memberReminderDate","memberRenewalDate","memberSince","memoOffset","memoSize","modify","name","nextCreditRev","noOfHeader","overrideProductNominal","overrideProductTax","paymentBf","paymentCf","paymentDueDays","paymentDueFrom","paymentMth1","paymentMth10","paymentMth11","paymentMth12","paymentMth2","paymentMth3","paymentMth4","paymentMth5","paymentMth6","paymentMth7","paymentMth8","paymentMth9","paymentType","priceListRef","priorYear","priorityTrader","receiptBf","receiptCf","receiptMth1","receiptMth10","receiptMth11","receiptMth12","receiptMth2","receiptMth3","receiptMth4","receiptMth5","receiptMth6","receiptMth7","receiptMth8","receiptMth9","recordCreateDate","recordDeleted","recordModifyDate","salesRep","sendInvoicesElectronically","sendLettersElectronically","settlementDiscRate","settlementDueDays","telephone","telephone2","terms","termsAgreedFlag","tradeContact","traderForeignBalance","turnoverMtd","turnoverYtd","twitter","vatRegNumber","www","id"],"additionalProperties":false},"Uk31_1_customers_get":{"type":"object","properties":{"accountManager":{"type":"string","nullable":true,"maxLength":60,"description":"Name of Account Manager (SDO ACCOUNT_MANAGER; Optional; precision 0)"},"accountOnHold":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Account On Hold (SDO ACCOUNT_ON_HOLD; Optional; precision 0)"},"accountOpened":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Account Opened (SDO ACCOUNT_OPENED; Optional; precision 0)"},"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Account Reference (SDO ACCOUNT_REF; Required; precision 0)"},"accountStatus":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Status (SDO ACCOUNT_STATUS; Optional; precision 0)"},"accountType":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Type (SDO ACCOUNT_TYPE; Optional; precision 0)"},"accountTypeCustomer":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Type Customer (SDO ACCOUNT_TYPE_CUSTOMER; Optional; precision 0)"},"accountTypeDonor":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Type Donor (SDO ACCOUNT_TYPE_DONOR; Optional; precision 0)"},"accountTypeMember":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Type Member (SDO ACCOUNT_TYPE_MEMBER; Optional; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line5 (SDO ADDRESS_5; Optional; precision 0)"},"analysis1":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"analysis4":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 4 (SDO ANALYSIS_4; Optional; precision 0)"},"analysis5":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 5 (SDO ANALYSIS_5; Optional; precision 0)"},"analysis6":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 6 (SDO ANALYSIS_6; Optional; precision 0)"},"averagePayDays":{"type":"number","nullable":true,"description":"Average Time To Pay (SDO AVERAGE_PAY_DAYS; Optional; precision 0)"},"bacs":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Bank Online Receipts (SDO BACS; Optional; precision 0)"},"bacsReference":{"type":"string","nullable":true,"maxLength":60,"description":"Bank BACS Ref (SDO BACS_REFERENCE; Optional; precision 0)"},"balance":{"type":"number","nullable":true,"description":"Balance (SDO BALANCE; Optional; precision 2)"},"bankAccountName":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Account Name (SDO BANK_ACCOUNT_NAME; Optional; precision 0)"},"bankAccountNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Account Number (SDO BANK_ACCOUNT_NUMBER; Optional; precision 0)"},"bankAdditionalRef1":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Additional Ref1 (SDO BANK_ADDITIONAL_REF1; Optional; precision 0)"},"bankAdditionalRef2":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Additional Ref2 (SDO BANK_ADDITIONAL_REF2; Optional; precision 0)"},"bankAdditionalRef3":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Additional Ref3 (SDO BANK_ADDITIONAL_REF3; Optional; precision 0)"},"bankAddress1":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line1 (SDO BANK_ADDRESS_1; Optional; precision 0)"},"bankAddress2":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line2 (SDO BANK_ADDRESS_2; Optional; precision 0)"},"bankAddress3":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line3 (SDO BANK_ADDRESS_3; Optional; precision 0)"},"bankAddress4":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line4 (SDO BANK_ADDRESS_4; Optional; precision 0)"},"bankAddress5":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line5 (SDO BANK_ADDRESS_5; Optional; precision 0)"},"bankBicswift":{"type":"string","nullable":true,"maxLength":60,"description":"Bank BIC/Swift (SDO BANK_BICSWIFT; Optional; precision 0)"},"bankIban":{"type":"string","nullable":true,"maxLength":60,"description":"Bank IBAN (SDO BANK_IBAN; Optional; precision 0)"},"bankName":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Name (SDO BANK_NAME; Optional; precision 0)"},"bankRollNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Roll Number (SDO BANK_ROLL_NUMBER; Optional; precision 0)"},"bankSortCode":{"type":"string","nullable":true,"maxLength":10,"description":"Bank Sort Code (SDO BANK_SORT_CODE; Optional; precision 0)"},"buildSocietyRef":{"type":"string","nullable":true,"maxLength":60,"description":"Refernce for Building Society Transfer (SDO BUILD_SOCIETY_REF; Optional; precision 0)"},"buildingSociety":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Uses Building Society (SDO BUILDING_SOCIETY; Optional; precision 0)"},"canApplyCharges":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Can Charge Credit (SDO CAN_APPLY_CHARGES; Optional; precision 0)"},"companyRegistrationNumber":{"type":"string","nullable":true,"maxLength":16,"description":"Company Reg. Number (SDO COMPANY_REGISTRATION_NUMBER; Optional; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Contact Name (SDO CONTACT_NAME; Optional; precision 0)"},"countryCode":{"type":"string","nullable":true,"maxLength":2,"description":"Country Code (SDO COUNTRY_CODE; Optional; precision 0)"},"creditAppReceived":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"True if Credit Application Received (SDO CREDIT_APP_RECEIVED; Optional; precision 0)"},"creditAppliedFor":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Credit Applied For (SDO CREDIT_APPLIED_FOR; Optional; precision 0)"},"creditBf":{"type":"number","nullable":true,"description":"Credits Brought Forward (SDO CREDIT_BF; Optional; precision 2)"},"creditBureau":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Credit Bureau Used (SDO CREDIT_BUREAU; Optional; precision 0)"},"creditCardNo":{"type":"string","nullable":true,"maxLength":30,"description":"Credit card number (SDO CREDIT_CARD_NO; Optional; precision 0)"},"creditCf":{"type":"number","nullable":true,"description":"Credits Carry Forward (SDO CREDIT_CF; Optional; precision 2)"},"creditLimit":{"type":"number","nullable":true,"description":"Credit Limit (SDO CREDIT_LIMIT; Optional; precision 2)"},"creditMth1":{"type":"number","nullable":true,"description":"Credits Month 1 (SDO CREDIT_MTH1; Optional; precision 2)"},"creditMth10":{"type":"number","nullable":true,"description":"Credits Month 10 (SDO CREDIT_MTH10; Optional; precision 2)"},"creditMth11":{"type":"number","nullable":true,"description":"Credits Month 11 (SDO CREDIT_MTH11; Optional; precision 2)"},"creditMth12":{"type":"number","nullable":true,"description":"Credits Month 12 (SDO CREDIT_MTH12; Optional; precision 2)"},"creditMth2":{"type":"number","nullable":true,"description":"Credits Month 2 (SDO CREDIT_MTH2; Optional; precision 2)"},"creditMth3":{"type":"number","nullable":true,"description":"Credits Month 3 (SDO CREDIT_MTH3; Optional; precision 2)"},"creditMth4":{"type":"number","nullable":true,"description":"Credits Month 4 (SDO CREDIT_MTH4; Optional; precision 2)"},"creditMth5":{"type":"number","nullable":true,"description":"Credits Month 5 (SDO CREDIT_MTH5; Optional; precision 2)"},"creditMth6":{"type":"number","nullable":true,"description":"Credits Month 6 (SDO CREDIT_MTH6; Optional; precision 2)"},"creditMth7":{"type":"number","nullable":true,"description":"Credits Month 7 (SDO CREDIT_MTH7; Optional; precision 2)"},"creditMth8":{"type":"number","nullable":true,"description":"Credits Month 8 (SDO CREDIT_MTH8; Optional; precision 2)"},"creditMth9":{"type":"number","nullable":true,"description":"Credits Month 9 (SDO CREDIT_MTH9; Optional; precision 2)"},"creditPosition":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Credit Position (SDO CREDIT_POSITION; Optional; precision 0)"},"creditReference":{"type":"string","nullable":true,"maxLength":60,"description":"Credit Bureau Reference (SDO CREDIT_REFERENCE; Optional; precision 0)"},"currency":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency (SDO CURRENCY; Optional; precision 0)"},"dateCreditAppReceived":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Credit Application Received (SDO DATE_CREDIT_APP_RECEIVED; Optional; precision 0)"},"declarationValidFrom":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Donor Declaration Valid From (SDO DECLARATION_VALID_FROM; Optional; precision 0)"},"defNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Default Nominal Code (SDO DEF_NOM_CODE; Optional; precision 0)"},"defTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax Code (SDO DEF_TAX_CODE; Optional; precision 0)"},"delAddress1":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line1 (SDO DEL_ADDRESS_1; Optional; precision 0)"},"delAddress2":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line2 (SDO DEL_ADDRESS_2; Optional; precision 0)"},"delAddress3":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line3 (SDO DEL_ADDRESS_3; Optional; precision 0)"},"delAddress4":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line4 (SDO DEL_ADDRESS_4; Optional; precision 0)"},"delAddress5":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line5 (SDO DEL_ADDRESS_5; Optional; precision 0)"},"delContactName":{"type":"string","nullable":true,"maxLength":30,"description":"Default Delivery Contact Name (SDO DEL_CONTACT_NAME; Optional; precision 0)"},"delFax":{"type":"string","nullable":true,"maxLength":30,"description":"Default Delivery Fax Number (SDO DEL_FAX; Optional; precision 0)"},"delName":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Name (SDO DEL_NAME; Optional; precision 0)"},"delTelephone":{"type":"string","nullable":true,"maxLength":30,"description":"Default Delivery Telephone Number (SDO DEL_TELEPHONE; Optional; precision 0)"},"deletedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Reserved for Future Use (SDO DELETED_FLAG; Optional; precision 0)"},"deptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Department Code (SDO DEPT_NUMBER; Optional; precision 0)"},"discountRate":{"type":"number","nullable":true,"description":"Discount Rate (SDO DISCOUNT_RATE; Optional; precision 2)"},"discountType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Discount Type (SDO DISCOUNT_TYPE; Optional; precision 0)"},"disputed":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Disputed (SDO DISPUTED; Optional; precision 0)"},"donorForename":{"type":"string","nullable":true,"maxLength":35,"description":"Donor Forename (SDO DONOR_FORENAME; Optional; precision 0)"},"donorSurname":{"type":"string","nullable":true,"maxLength":35,"description":"Donor Surname (SDO DONOR_SURNAME; Optional; precision 0)"},"donorTitle":{"type":"string","nullable":true,"maxLength":4,"description":"Donor Title (SDO DONOR_TITLE; Optional; precision 0)"},"dunsNumber":{"type":"string","nullable":true,"maxLength":9,"description":"DUNS Number (SDO DUNS_NUMBER; Optional; precision 0)"},"eMail":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (SDO E_MAIL; Optional; precision 0)"},"eMail2":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (2) (SDO E_MAIL2; Optional; precision 0)"},"eMail3":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (3) (SDO E_MAIL3; Optional; precision 0)"},"eMail4":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (4) (SDO E_MAIL4; Optional; precision 0)"},"eMail5":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (5) (SDO E_MAIL5; Optional; precision 0)"},"eMail6":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (6) (SDO E_MAIL6; Optional; precision 0)"},"ecCode":{"type":"string","nullable":true,"maxLength":3,"description":"EC member code (SDO EC_CODE; Optional; precision 0)"},"eoriNumber":{"type":"string","nullable":true,"maxLength":17,"description":"EORI number (SDO EORI_NUMBER; Optional; precision 0)"},"externalUsage":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Number of External Usages for This Record (SDO EXTERNAL_USAGE; Optional; precision 0)"},"facebook":{"type":"string","nullable":true,"maxLength":75,"description":"Facebook Address (SDO FACEBOOK; Optional; precision 0)"},"fax":{"type":"string","nullable":true,"maxLength":30,"description":"Fax Number (SDO FAX; Optional; precision 0)"},"firstHeader":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"First transaction (SDO FIRST_HEADER; Optional; precision 0)"},"firstInvoice":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"First Invoice Date (SDO FIRST_INVOICE; Optional; precision 0)"},"giftAidEnabled":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Gift Aid is enabled (SDO GIFT_AID_ENABLED; Optional; precision 0)"},"holdMail":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Restrict Mail (SDO HOLD_MAIL; Optional; precision 0)"},"inactiveFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Inactive Flag - Yes/No (SDO INACTIVE_FLAG; Optional; precision 0)"},"incoterms":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Incoterms (SDO INCOTERMS; Optional; precision 0)"},"invoiceBf":{"type":"number","nullable":true,"description":"Invoices Brought Forward (SDO INVOICE_BF; Optional; precision 2)"},"invoiceCf":{"type":"number","nullable":true,"description":"Invoices Carry Forward (SDO INVOICE_CF; Optional; precision 2)"},"invoiceMth1":{"type":"number","nullable":true,"description":"Invoices Month 1 (SDO INVOICE_MTH1; Optional; precision 2)"},"invoiceMth10":{"type":"number","nullable":true,"description":"Invoices Month 10 (SDO INVOICE_MTH10; Optional; precision 2)"},"invoiceMth11":{"type":"number","nullable":true,"description":"Invoices Month 11 (SDO INVOICE_MTH11; Optional; precision 2)"},"invoiceMth12":{"type":"number","nullable":true,"description":"Invoices Month 12 (SDO INVOICE_MTH12; Optional; precision 2)"},"invoiceMth2":{"type":"number","nullable":true,"description":"Invoices Month 2 (SDO INVOICE_MTH2; Optional; precision 2)"},"invoiceMth3":{"type":"number","nullable":true,"description":"Invoices Month 3 (SDO INVOICE_MTH3; Optional; precision 2)"},"invoiceMth4":{"type":"number","nullable":true,"description":"Invoices Month 4 (SDO INVOICE_MTH4; Optional; precision 2)"},"invoiceMth5":{"type":"number","nullable":true,"description":"Invoices Month 5 (SDO INVOICE_MTH5; Optional; precision 2)"},"invoiceMth6":{"type":"number","nullable":true,"description":"Invoices Month 6 (SDO INVOICE_MTH6; Optional; precision 2)"},"invoiceMth7":{"type":"number","nullable":true,"description":"Invoices Month 7 (SDO INVOICE_MTH7; Optional; precision 2)"},"invoiceMth8":{"type":"number","nullable":true,"description":"Invoices Month 8 (SDO INVOICE_MTH8; Optional; precision 2)"},"invoiceMth9":{"type":"number","nullable":true,"description":"Invoices Month 9 (SDO INVOICE_MTH9; Optional; precision 2)"},"lastCreditRev":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Last Credit Review (SDO LAST_CREDIT_REV; Optional; precision 0)"},"lastHeader":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Last transaction (SDO LAST_HEADER; Optional; precision 0)"},"lastInvDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Last Invoice Date (SDO LAST_INV_DATE; Optional; precision 0)"},"lastPayDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Last Payment Date (SDO LAST_PAY_DATE; Optional; precision 0)"},"lastUpdated":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date of last update (SDO LAST_UPDATED; Optional; precision 0)"},"linkedin":{"type":"string","nullable":true,"maxLength":64,"description":"LinkedIn Address (SDO LINKEDIN; Optional; precision 0)"},"mandateref":{"type":"string","nullable":true,"maxLength":25,"description":"Direct Debit Mandate Ref (SDO MANDATEREF; Optional; precision 0)"},"memberReminderDate":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Member Reminder Date (SDO MEMBER_REMINDER_DATE; Optional; precision 0)"},"memberRenewalDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Member Renewal Date (SDO MEMBER_RENEWAL_DATE; Optional; precision 0)"},"memberSince":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Member Since (SDO MEMBER_SINCE; Optional; precision 0)"},"memoOffset":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Offset in Credit Memo File (SDO MEMO_OFFSET; Optional; precision 0)"},"memoSize":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Size of Memo in Bytes (SDO MEMO_SIZE; Optional; precision 0)"},"modify":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Modified Count (SDO MODIFY; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Account Name (SDO NAME; Optional; precision 0)"},"nextCreditRev":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Next Credit Review (SDO NEXT_CREDIT_REV; Optional; precision 0)"},"noOfHeader":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"No of trans (SDO NO_OF_HEADER; Optional; precision 0)"},"overrideProductNominal":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Override product nominal code in invoicing and pop (SDO OVERRIDE_PRODUCT_NOMINAL; Optional; precision 0)"},"overrideProductTax":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Override product tax code in invoicing (SDO OVERRIDE_PRODUCT_TAX; Optional; precision 0)"},"paymentBf":{"type":"number","nullable":true,"description":"Payments Brought Forward (SDO PAYMENT_BF; Optional; precision 2)"},"paymentCf":{"type":"number","nullable":true,"description":"Payments Carry Forward (SDO PAYMENT_CF; Optional; precision 2)"},"paymentDueDays":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Payment Due Days (SDO PAYMENT_DUE_DAYS; Optional; precision 0)"},"paymentDueFrom":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Payment Due From (SDO PAYMENT_DUE_FROM; Optional; precision 0)"},"paymentMth1":{"type":"number","nullable":true,"description":"Payments Month 1 (SDO PAYMENT_MTH1; Optional; precision 2)"},"paymentMth10":{"type":"number","nullable":true,"description":"Payments Month 10 (SDO PAYMENT_MTH10; Optional; precision 2)"},"paymentMth11":{"type":"number","nullable":true,"description":"Payments Month 11 (SDO PAYMENT_MTH11; Optional; precision 2)"},"paymentMth12":{"type":"number","nullable":true,"description":"Payments Month 12 (SDO PAYMENT_MTH12; Optional; precision 2)"},"paymentMth2":{"type":"number","nullable":true,"description":"Payments Month 2 (SDO PAYMENT_MTH2; Optional; precision 2)"},"paymentMth3":{"type":"number","nullable":true,"description":"Payments Month 3 (SDO PAYMENT_MTH3; Optional; precision 2)"},"paymentMth4":{"type":"number","nullable":true,"description":"Payments Month 4 (SDO PAYMENT_MTH4; Optional; precision 2)"},"paymentMth5":{"type":"number","nullable":true,"description":"Payments Month 5 (SDO PAYMENT_MTH5; Optional; precision 2)"},"paymentMth6":{"type":"number","nullable":true,"description":"Payments Month 6 (SDO PAYMENT_MTH6; Optional; precision 2)"},"paymentMth7":{"type":"number","nullable":true,"description":"Payments Month 7 (SDO PAYMENT_MTH7; Optional; precision 2)"},"paymentMth8":{"type":"number","nullable":true,"description":"Payments Month 8 (SDO PAYMENT_MTH8; Optional; precision 2)"},"paymentMth9":{"type":"number","nullable":true,"description":"Payments Month 9 (SDO PAYMENT_MTH9; Optional; precision 2)"},"paymentType":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Payment Method (SDO PAYMENT_TYPE; Optional; precision 0)"},"priceListRef":{"type":"string","nullable":true,"maxLength":8,"description":"Price list reference (SDO PRICE_LIST_REF; Optional; precision 0)"},"priorYear":{"type":"number","nullable":true,"description":"Prior YTD (SDO PRIOR_YEAR; Optional; precision 2)"},"priorityTrader":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Priority Customer (SDO PRIORITY_TRADER; Optional; precision 0)"},"receiptBf":{"type":"number","nullable":true,"description":"Receipts Brought Forward (SDO RECEIPT_BF; Optional; precision 2)"},"receiptCf":{"type":"number","nullable":true,"description":"Receipts Carry Forward (SDO RECEIPT_CF; Optional; precision 2)"},"receiptMth1":{"type":"number","nullable":true,"description":"Receipts Month 1 (SDO RECEIPT_MTH1; Optional; precision 2)"},"receiptMth10":{"type":"number","nullable":true,"description":"Receipts Month 10 (SDO RECEIPT_MTH10; Optional; precision 2)"},"receiptMth11":{"type":"number","nullable":true,"description":"Receipts Month 11 (SDO RECEIPT_MTH11; Optional; precision 2)"},"receiptMth12":{"type":"number","nullable":true,"description":"Receipts Month 12 (SDO RECEIPT_MTH12; Optional; precision 2)"},"receiptMth2":{"type":"number","nullable":true,"description":"Receipts Month 2 (SDO RECEIPT_MTH2; Optional; precision 2)"},"receiptMth3":{"type":"number","nullable":true,"description":"Receipts Month 3 (SDO RECEIPT_MTH3; Optional; precision 2)"},"receiptMth4":{"type":"number","nullable":true,"description":"Receipts Month 4 (SDO RECEIPT_MTH4; Optional; precision 2)"},"receiptMth5":{"type":"number","nullable":true,"description":"Receipts Month 5 (SDO RECEIPT_MTH5; Optional; precision 2)"},"receiptMth6":{"type":"number","nullable":true,"description":"Receipts Month 6 (SDO RECEIPT_MTH6; Optional; precision 2)"},"receiptMth7":{"type":"number","nullable":true,"description":"Receipts Month 7 (SDO RECEIPT_MTH7; Optional; precision 2)"},"receiptMth8":{"type":"number","nullable":true,"description":"Receipts Month 8 (SDO RECEIPT_MTH8; Optional; precision 2)"},"receiptMth9":{"type":"number","nullable":true,"description":"Receipts Month 9 (SDO RECEIPT_MTH9; Optional; precision 2)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"salesRep":{"type":"string","nullable":true,"maxLength":60,"description":"Name of Sales Representative (SDO SALES_REP; Optional; precision 0)"},"sendInvoicesElectronically":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Send Invoices to this account via Email (SDO SEND_INVOICES_ELECTRONICALLY; Optional; precision 0)"},"sendLettersElectronically":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Send letters to this account via Email (SDO SEND_LETTERS_ELECTRONICALLY; Optional; precision 0)"},"settlementDiscRate":{"type":"number","nullable":true,"description":"Settlement Discount Rate (SDO SETTLEMENT_DISC_RATE; Optional; precision 2)"},"settlementDueDays":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Settlement Due Days (SDO SETTLEMENT_DUE_DAYS; Optional; precision 0)"},"telephone":{"type":"string","nullable":true,"maxLength":30,"description":"Telephone Number (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","nullable":true,"maxLength":30,"description":"Second Telephone Number (SDO TELEPHONE_2; Optional; precision 0)"},"terms":{"type":"string","nullable":true,"maxLength":30,"description":"Terms (SDO TERMS; Optional; precision 0)"},"termsAgreedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Terms agreed flag (SDO TERMS_AGREED_FLAG; Optional; precision 0)"},"tradeContact":{"type":"string","nullable":true,"maxLength":30,"description":"Name of Trade Contact (SDO TRADE_CONTACT; Optional; precision 0)"},"traderForeignBalance":{"type":"number","nullable":true,"description":"Foreign Balance (SDO TRADER_FOREIGN_BALANCE; Optional; precision 6)"},"turnoverMtd":{"type":"number","nullable":true,"description":"Turnover Month To Date (SDO TURNOVER_MTD; Optional; precision 2)"},"turnoverYtd":{"type":"number","nullable":true,"description":"Turnover Year To Date (SDO TURNOVER_YTD; Optional; precision 2)"},"twitter":{"type":"string","nullable":true,"maxLength":35,"description":"Twitter Address (SDO TWITTER; Optional; precision 0)"},"vatRegNumber":{"type":"string","nullable":true,"maxLength":20,"description":"VAT Registration Number (SDO VAT_REG_NUMBER; Optional; precision 0)"},"www":{"type":"string","nullable":true,"maxLength":255,"description":"WWW Address (SDO WWW; Optional; precision 0)"},"id":{"type":"string"}},"required":["accountManager","accountOnHold","accountOpened","accountRef","accountStatus","accountType","accountTypeCustomer","accountTypeDonor","accountTypeMember","address1","address2","address3","address4","address5","analysis1","analysis2","analysis3","analysis4","analysis5","analysis6","averagePayDays","bacs","bacsReference","balance","bankAccountName","bankAccountNumber","bankAdditionalRef1","bankAdditionalRef2","bankAdditionalRef3","bankAddress1","bankAddress2","bankAddress3","bankAddress4","bankAddress5","bankBicswift","bankIban","bankName","bankRollNumber","bankSortCode","buildSocietyRef","buildingSociety","canApplyCharges","companyRegistrationNumber","contactName","countryCode","creditAppReceived","creditAppliedFor","creditBf","creditBureau","creditCardNo","creditCf","creditLimit","creditMth1","creditMth10","creditMth11","creditMth12","creditMth2","creditMth3","creditMth4","creditMth5","creditMth6","creditMth7","creditMth8","creditMth9","creditPosition","creditReference","currency","dateCreditAppReceived","declarationValidFrom","defNomCode","defTaxCode","delAddress1","delAddress2","delAddress3","delAddress4","delAddress5","delContactName","delFax","delName","delTelephone","deletedFlag","deptNumber","discountRate","discountType","disputed","donorForename","donorSurname","donorTitle","dunsNumber","eMail","eMail2","eMail3","eMail4","eMail5","eMail6","ecCode","eoriNumber","externalUsage","facebook","fax","firstHeader","firstInvoice","giftAidEnabled","holdMail","inactiveFlag","incoterms","invoiceBf","invoiceCf","invoiceMth1","invoiceMth10","invoiceMth11","invoiceMth12","invoiceMth2","invoiceMth3","invoiceMth4","invoiceMth5","invoiceMth6","invoiceMth7","invoiceMth8","invoiceMth9","lastCreditRev","lastHeader","lastInvDate","lastPayDate","lastUpdated","linkedin","mandateref","memberReminderDate","memberRenewalDate","memberSince","memoOffset","memoSize","modify","name","nextCreditRev","noOfHeader","overrideProductNominal","overrideProductTax","paymentBf","paymentCf","paymentDueDays","paymentDueFrom","paymentMth1","paymentMth10","paymentMth11","paymentMth12","paymentMth2","paymentMth3","paymentMth4","paymentMth5","paymentMth6","paymentMth7","paymentMth8","paymentMth9","paymentType","priceListRef","priorYear","priorityTrader","receiptBf","receiptCf","receiptMth1","receiptMth10","receiptMth11","receiptMth12","receiptMth2","receiptMth3","receiptMth4","receiptMth5","receiptMth6","receiptMth7","receiptMth8","receiptMth9","recordCreateDate","recordDeleted","recordModifyDate","salesRep","sendInvoicesElectronically","sendLettersElectronically","settlementDiscRate","settlementDueDays","telephone","telephone2","terms","termsAgreedFlag","tradeContact","traderForeignBalance","turnoverMtd","turnoverYtd","twitter","vatRegNumber","www","id"],"additionalProperties":false},"Uk32_1_customers_get":{"type":"object","properties":{"accountManager":{"type":"string","nullable":true,"maxLength":60,"description":"Name of Account Manager (SDO ACCOUNT_MANAGER; Optional; precision 0)"},"accountOnHold":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Account On Hold (SDO ACCOUNT_ON_HOLD; Optional; precision 0)"},"accountOpened":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Account Opened (SDO ACCOUNT_OPENED; Optional; precision 0)"},"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Account Reference (SDO ACCOUNT_REF; Required; precision 0)"},"accountStatus":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Status (SDO ACCOUNT_STATUS; Optional; precision 0)"},"accountType":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Type (SDO ACCOUNT_TYPE; Optional; precision 0)"},"accountTypeCustomer":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Type Customer (SDO ACCOUNT_TYPE_CUSTOMER; Optional; precision 0)"},"accountTypeDonor":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Type Donor (SDO ACCOUNT_TYPE_DONOR; Optional; precision 0)"},"accountTypeMember":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Type Member (SDO ACCOUNT_TYPE_MEMBER; Optional; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line5 (SDO ADDRESS_5; Optional; precision 0)"},"analysis1":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"analysis4":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 4 (SDO ANALYSIS_4; Optional; precision 0)"},"analysis5":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 5 (SDO ANALYSIS_5; Optional; precision 0)"},"analysis6":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 6 (SDO ANALYSIS_6; Optional; precision 0)"},"averagePayDays":{"type":"number","nullable":true,"description":"Average Time To Pay (SDO AVERAGE_PAY_DAYS; Optional; precision 0)"},"bacs":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Bank Online Receipts (SDO BACS; Optional; precision 0)"},"bacsReference":{"type":"string","nullable":true,"maxLength":60,"description":"Bank BACS Ref (SDO BACS_REFERENCE; Optional; precision 0)"},"balance":{"type":"number","nullable":true,"description":"Balance (SDO BALANCE; Optional; precision 2)"},"bankAccountName":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Account Name (SDO BANK_ACCOUNT_NAME; Optional; precision 0)"},"bankAccountNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Account Number (SDO BANK_ACCOUNT_NUMBER; Optional; precision 0)"},"bankAdditionalRef1":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Additional Ref1 (SDO BANK_ADDITIONAL_REF1; Optional; precision 0)"},"bankAdditionalRef2":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Additional Ref2 (SDO BANK_ADDITIONAL_REF2; Optional; precision 0)"},"bankAdditionalRef3":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Additional Ref3 (SDO BANK_ADDITIONAL_REF3; Optional; precision 0)"},"bankAddress1":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line1 (SDO BANK_ADDRESS_1; Optional; precision 0)"},"bankAddress2":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line2 (SDO BANK_ADDRESS_2; Optional; precision 0)"},"bankAddress3":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line3 (SDO BANK_ADDRESS_3; Optional; precision 0)"},"bankAddress4":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line4 (SDO BANK_ADDRESS_4; Optional; precision 0)"},"bankAddress5":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line5 (SDO BANK_ADDRESS_5; Optional; precision 0)"},"bankBicswift":{"type":"string","nullable":true,"maxLength":60,"description":"Bank BIC/Swift (SDO BANK_BICSWIFT; Optional; precision 0)"},"bankIban":{"type":"string","nullable":true,"maxLength":60,"description":"Bank IBAN (SDO BANK_IBAN; Optional; precision 0)"},"bankName":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Name (SDO BANK_NAME; Optional; precision 0)"},"bankRollNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Roll Number (SDO BANK_ROLL_NUMBER; Optional; precision 0)"},"bankSortCode":{"type":"string","nullable":true,"maxLength":10,"description":"Bank Sort Code (SDO BANK_SORT_CODE; Optional; precision 0)"},"buildSocietyRef":{"type":"string","nullable":true,"maxLength":60,"description":"Refernce for Building Society Transfer (SDO BUILD_SOCIETY_REF; Optional; precision 0)"},"buildingSociety":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Uses Building Society (SDO BUILDING_SOCIETY; Optional; precision 0)"},"canApplyCharges":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Can Charge Credit (SDO CAN_APPLY_CHARGES; Optional; precision 0)"},"companyRegistrationNumber":{"type":"string","nullable":true,"maxLength":16,"description":"Company Reg. Number (SDO COMPANY_REGISTRATION_NUMBER; Optional; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Contact Name (SDO CONTACT_NAME; Optional; precision 0)"},"countryCode":{"type":"string","nullable":true,"maxLength":2,"description":"Country Code (SDO COUNTRY_CODE; Optional; precision 0)"},"creditAppReceived":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"True if Credit Application Received (SDO CREDIT_APP_RECEIVED; Optional; precision 0)"},"creditAppliedFor":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Credit Applied For (SDO CREDIT_APPLIED_FOR; Optional; precision 0)"},"creditBf":{"type":"number","nullable":true,"description":"Credits Brought Forward (SDO CREDIT_BF; Optional; precision 2)"},"creditBureau":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Credit Bureau Used (SDO CREDIT_BUREAU; Optional; precision 0)"},"creditCardNo":{"type":"string","nullable":true,"maxLength":30,"description":"Credit card number (SDO CREDIT_CARD_NO; Optional; precision 0)"},"creditCf":{"type":"number","nullable":true,"description":"Credits Carry Forward (SDO CREDIT_CF; Optional; precision 2)"},"creditLimit":{"type":"number","nullable":true,"description":"Credit Limit (SDO CREDIT_LIMIT; Optional; precision 2)"},"creditMth1":{"type":"number","nullable":true,"description":"Credits Month 1 (SDO CREDIT_MTH1; Optional; precision 2)"},"creditMth10":{"type":"number","nullable":true,"description":"Credits Month 10 (SDO CREDIT_MTH10; Optional; precision 2)"},"creditMth11":{"type":"number","nullable":true,"description":"Credits Month 11 (SDO CREDIT_MTH11; Optional; precision 2)"},"creditMth12":{"type":"number","nullable":true,"description":"Credits Month 12 (SDO CREDIT_MTH12; Optional; precision 2)"},"creditMth2":{"type":"number","nullable":true,"description":"Credits Month 2 (SDO CREDIT_MTH2; Optional; precision 2)"},"creditMth3":{"type":"number","nullable":true,"description":"Credits Month 3 (SDO CREDIT_MTH3; Optional; precision 2)"},"creditMth4":{"type":"number","nullable":true,"description":"Credits Month 4 (SDO CREDIT_MTH4; Optional; precision 2)"},"creditMth5":{"type":"number","nullable":true,"description":"Credits Month 5 (SDO CREDIT_MTH5; Optional; precision 2)"},"creditMth6":{"type":"number","nullable":true,"description":"Credits Month 6 (SDO CREDIT_MTH6; Optional; precision 2)"},"creditMth7":{"type":"number","nullable":true,"description":"Credits Month 7 (SDO CREDIT_MTH7; Optional; precision 2)"},"creditMth8":{"type":"number","nullable":true,"description":"Credits Month 8 (SDO CREDIT_MTH8; Optional; precision 2)"},"creditMth9":{"type":"number","nullable":true,"description":"Credits Month 9 (SDO CREDIT_MTH9; Optional; precision 2)"},"creditPosition":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Credit Position (SDO CREDIT_POSITION; Optional; precision 0)"},"creditReference":{"type":"string","nullable":true,"maxLength":60,"description":"Credit Bureau Reference (SDO CREDIT_REFERENCE; Optional; precision 0)"},"currency":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency (SDO CURRENCY; Optional; precision 0)"},"dateCreditAppReceived":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Credit Application Received (SDO DATE_CREDIT_APP_RECEIVED; Optional; precision 0)"},"declarationValidFrom":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Donor Declaration Valid From (SDO DECLARATION_VALID_FROM; Optional; precision 0)"},"defNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Default Nominal Code (SDO DEF_NOM_CODE; Optional; precision 0)"},"defTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax Code (SDO DEF_TAX_CODE; Optional; precision 0)"},"delAddress1":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line1 (SDO DEL_ADDRESS_1; Optional; precision 0)"},"delAddress2":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line2 (SDO DEL_ADDRESS_2; Optional; precision 0)"},"delAddress3":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line3 (SDO DEL_ADDRESS_3; Optional; precision 0)"},"delAddress4":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line4 (SDO DEL_ADDRESS_4; Optional; precision 0)"},"delAddress5":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line5 (SDO DEL_ADDRESS_5; Optional; precision 0)"},"delContactName":{"type":"string","nullable":true,"maxLength":30,"description":"Default Delivery Contact Name (SDO DEL_CONTACT_NAME; Optional; precision 0)"},"delFax":{"type":"string","nullable":true,"maxLength":30,"description":"Default Delivery Fax Number (SDO DEL_FAX; Optional; precision 0)"},"delName":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Name (SDO DEL_NAME; Optional; precision 0)"},"delTelephone":{"type":"string","nullable":true,"maxLength":30,"description":"Default Delivery Telephone Number (SDO DEL_TELEPHONE; Optional; precision 0)"},"deletedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Reserved for Future Use (SDO DELETED_FLAG; Optional; precision 0)"},"deptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Department Code (SDO DEPT_NUMBER; Optional; precision 0)"},"discountRate":{"type":"number","nullable":true,"description":"Discount Rate (SDO DISCOUNT_RATE; Optional; precision 2)"},"discountType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Discount Type (SDO DISCOUNT_TYPE; Optional; precision 0)"},"disputed":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Disputed (SDO DISPUTED; Optional; precision 0)"},"donorForename":{"type":"string","nullable":true,"maxLength":35,"description":"Donor Forename (SDO DONOR_FORENAME; Optional; precision 0)"},"donorSurname":{"type":"string","nullable":true,"maxLength":35,"description":"Donor Surname (SDO DONOR_SURNAME; Optional; precision 0)"},"donorTitle":{"type":"string","nullable":true,"maxLength":4,"description":"Donor Title (SDO DONOR_TITLE; Optional; precision 0)"},"dunsNumber":{"type":"string","nullable":true,"maxLength":9,"description":"DUNS Number (SDO DUNS_NUMBER; Optional; precision 0)"},"eMail":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (SDO E_MAIL; Optional; precision 0)"},"eMail2":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (2) (SDO E_MAIL2; Optional; precision 0)"},"eMail3":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (3) (SDO E_MAIL3; Optional; precision 0)"},"eMail4":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (4) (SDO E_MAIL4; Optional; precision 0)"},"eMail5":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (5) (SDO E_MAIL5; Optional; precision 0)"},"eMail6":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (6) (SDO E_MAIL6; Optional; precision 0)"},"ecCode":{"type":"string","nullable":true,"maxLength":3,"description":"EC member code (SDO EC_CODE; Optional; precision 0)"},"eoriNumber":{"type":"string","nullable":true,"maxLength":17,"description":"EORI number (SDO EORI_NUMBER; Optional; precision 0)"},"excludeFromPaymentReminderEmails":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Exclude from chase emails in payment reminders (SDO EXCLUDE_FROM_PAYMENT_REMINDER_EMAILS; Optional; precision 0)"},"externalUsage":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Number of External Usages for This Record (SDO EXTERNAL_USAGE; Optional; precision 0)"},"facebook":{"type":"string","nullable":true,"maxLength":75,"description":"Facebook Address (SDO FACEBOOK; Optional; precision 0)"},"fax":{"type":"string","nullable":true,"maxLength":30,"description":"Fax Number (SDO FAX; Optional; precision 0)"},"firstHeader":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"First transaction (SDO FIRST_HEADER; Optional; precision 0)"},"firstInvoice":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"First Invoice Date (SDO FIRST_INVOICE; Optional; precision 0)"},"giftAidEnabled":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Gift Aid is enabled (SDO GIFT_AID_ENABLED; Optional; precision 0)"},"holdMail":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Restrict Mail (SDO HOLD_MAIL; Optional; precision 0)"},"inactiveFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Inactive Flag - Yes/No (SDO INACTIVE_FLAG; Optional; precision 0)"},"incoterms":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Incoterms (SDO INCOTERMS; Optional; precision 0)"},"invoiceBf":{"type":"number","nullable":true,"description":"Invoices Brought Forward (SDO INVOICE_BF; Optional; precision 2)"},"invoiceCf":{"type":"number","nullable":true,"description":"Invoices Carry Forward (SDO INVOICE_CF; Optional; precision 2)"},"invoiceMth1":{"type":"number","nullable":true,"description":"Invoices Month 1 (SDO INVOICE_MTH1; Optional; precision 2)"},"invoiceMth10":{"type":"number","nullable":true,"description":"Invoices Month 10 (SDO INVOICE_MTH10; Optional; precision 2)"},"invoiceMth11":{"type":"number","nullable":true,"description":"Invoices Month 11 (SDO INVOICE_MTH11; Optional; precision 2)"},"invoiceMth12":{"type":"number","nullable":true,"description":"Invoices Month 12 (SDO INVOICE_MTH12; Optional; precision 2)"},"invoiceMth2":{"type":"number","nullable":true,"description":"Invoices Month 2 (SDO INVOICE_MTH2; Optional; precision 2)"},"invoiceMth3":{"type":"number","nullable":true,"description":"Invoices Month 3 (SDO INVOICE_MTH3; Optional; precision 2)"},"invoiceMth4":{"type":"number","nullable":true,"description":"Invoices Month 4 (SDO INVOICE_MTH4; Optional; precision 2)"},"invoiceMth5":{"type":"number","nullable":true,"description":"Invoices Month 5 (SDO INVOICE_MTH5; Optional; precision 2)"},"invoiceMth6":{"type":"number","nullable":true,"description":"Invoices Month 6 (SDO INVOICE_MTH6; Optional; precision 2)"},"invoiceMth7":{"type":"number","nullable":true,"description":"Invoices Month 7 (SDO INVOICE_MTH7; Optional; precision 2)"},"invoiceMth8":{"type":"number","nullable":true,"description":"Invoices Month 8 (SDO INVOICE_MTH8; Optional; precision 2)"},"invoiceMth9":{"type":"number","nullable":true,"description":"Invoices Month 9 (SDO INVOICE_MTH9; Optional; precision 2)"},"lastCreditRev":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Last Credit Review (SDO LAST_CREDIT_REV; Optional; precision 0)"},"lastHeader":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Last transaction (SDO LAST_HEADER; Optional; precision 0)"},"lastInvDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Last Invoice Date (SDO LAST_INV_DATE; Optional; precision 0)"},"lastPayDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Last Payment Date (SDO LAST_PAY_DATE; Optional; precision 0)"},"lastUpdated":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date of last update (SDO LAST_UPDATED; Optional; precision 0)"},"linkedin":{"type":"string","nullable":true,"maxLength":64,"description":"LinkedIn Address (SDO LINKEDIN; Optional; precision 0)"},"mandateref":{"type":"string","nullable":true,"maxLength":25,"description":"Direct Debit Mandate Ref (SDO MANDATEREF; Optional; precision 0)"},"memberReminderDate":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Member Reminder Date (SDO MEMBER_REMINDER_DATE; Optional; precision 0)"},"memberRenewalDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Member Renewal Date (SDO MEMBER_RENEWAL_DATE; Optional; precision 0)"},"memberSince":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Member Since (SDO MEMBER_SINCE; Optional; precision 0)"},"memoOffset":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Offset in Credit Memo File (SDO MEMO_OFFSET; Optional; precision 0)"},"memoSize":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Size of Memo in Bytes (SDO MEMO_SIZE; Optional; precision 0)"},"modify":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Modified Count (SDO MODIFY; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Account Name (SDO NAME; Optional; precision 0)"},"nextCreditRev":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Next Credit Review (SDO NEXT_CREDIT_REV; Optional; precision 0)"},"noOfHeader":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"No of trans (SDO NO_OF_HEADER; Optional; precision 0)"},"overrideProductNominal":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Override product nominal code in invoicing and pop (SDO OVERRIDE_PRODUCT_NOMINAL; Optional; precision 0)"},"overrideProductTax":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Override product tax code in invoicing (SDO OVERRIDE_PRODUCT_TAX; Optional; precision 0)"},"paymentBf":{"type":"number","nullable":true,"description":"Payments Brought Forward (SDO PAYMENT_BF; Optional; precision 2)"},"paymentCf":{"type":"number","nullable":true,"description":"Payments Carry Forward (SDO PAYMENT_CF; Optional; precision 2)"},"paymentDueDays":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Payment Due Days (SDO PAYMENT_DUE_DAYS; Optional; precision 0)"},"paymentDueFrom":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Payment Due From (SDO PAYMENT_DUE_FROM; Optional; precision 0)"},"paymentMth1":{"type":"number","nullable":true,"description":"Payments Month 1 (SDO PAYMENT_MTH1; Optional; precision 2)"},"paymentMth10":{"type":"number","nullable":true,"description":"Payments Month 10 (SDO PAYMENT_MTH10; Optional; precision 2)"},"paymentMth11":{"type":"number","nullable":true,"description":"Payments Month 11 (SDO PAYMENT_MTH11; Optional; precision 2)"},"paymentMth12":{"type":"number","nullable":true,"description":"Payments Month 12 (SDO PAYMENT_MTH12; Optional; precision 2)"},"paymentMth2":{"type":"number","nullable":true,"description":"Payments Month 2 (SDO PAYMENT_MTH2; Optional; precision 2)"},"paymentMth3":{"type":"number","nullable":true,"description":"Payments Month 3 (SDO PAYMENT_MTH3; Optional; precision 2)"},"paymentMth4":{"type":"number","nullable":true,"description":"Payments Month 4 (SDO PAYMENT_MTH4; Optional; precision 2)"},"paymentMth5":{"type":"number","nullable":true,"description":"Payments Month 5 (SDO PAYMENT_MTH5; Optional; precision 2)"},"paymentMth6":{"type":"number","nullable":true,"description":"Payments Month 6 (SDO PAYMENT_MTH6; Optional; precision 2)"},"paymentMth7":{"type":"number","nullable":true,"description":"Payments Month 7 (SDO PAYMENT_MTH7; Optional; precision 2)"},"paymentMth8":{"type":"number","nullable":true,"description":"Payments Month 8 (SDO PAYMENT_MTH8; Optional; precision 2)"},"paymentMth9":{"type":"number","nullable":true,"description":"Payments Month 9 (SDO PAYMENT_MTH9; Optional; precision 2)"},"paymentType":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Payment Method (SDO PAYMENT_TYPE; Optional; precision 0)"},"priceListRef":{"type":"string","nullable":true,"maxLength":8,"description":"Price list reference (SDO PRICE_LIST_REF; Optional; precision 0)"},"priorYear":{"type":"number","nullable":true,"description":"Prior YTD (SDO PRIOR_YEAR; Optional; precision 2)"},"priorityTrader":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Priority Customer (SDO PRIORITY_TRADER; Optional; precision 0)"},"receiptBf":{"type":"number","nullable":true,"description":"Receipts Brought Forward (SDO RECEIPT_BF; Optional; precision 2)"},"receiptCf":{"type":"number","nullable":true,"description":"Receipts Carry Forward (SDO RECEIPT_CF; Optional; precision 2)"},"receiptMth1":{"type":"number","nullable":true,"description":"Receipts Month 1 (SDO RECEIPT_MTH1; Optional; precision 2)"},"receiptMth10":{"type":"number","nullable":true,"description":"Receipts Month 10 (SDO RECEIPT_MTH10; Optional; precision 2)"},"receiptMth11":{"type":"number","nullable":true,"description":"Receipts Month 11 (SDO RECEIPT_MTH11; Optional; precision 2)"},"receiptMth12":{"type":"number","nullable":true,"description":"Receipts Month 12 (SDO RECEIPT_MTH12; Optional; precision 2)"},"receiptMth2":{"type":"number","nullable":true,"description":"Receipts Month 2 (SDO RECEIPT_MTH2; Optional; precision 2)"},"receiptMth3":{"type":"number","nullable":true,"description":"Receipts Month 3 (SDO RECEIPT_MTH3; Optional; precision 2)"},"receiptMth4":{"type":"number","nullable":true,"description":"Receipts Month 4 (SDO RECEIPT_MTH4; Optional; precision 2)"},"receiptMth5":{"type":"number","nullable":true,"description":"Receipts Month 5 (SDO RECEIPT_MTH5; Optional; precision 2)"},"receiptMth6":{"type":"number","nullable":true,"description":"Receipts Month 6 (SDO RECEIPT_MTH6; Optional; precision 2)"},"receiptMth7":{"type":"number","nullable":true,"description":"Receipts Month 7 (SDO RECEIPT_MTH7; Optional; precision 2)"},"receiptMth8":{"type":"number","nullable":true,"description":"Receipts Month 8 (SDO RECEIPT_MTH8; Optional; precision 2)"},"receiptMth9":{"type":"number","nullable":true,"description":"Receipts Month 9 (SDO RECEIPT_MTH9; Optional; precision 2)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"salesRep":{"type":"string","nullable":true,"maxLength":60,"description":"Name of Sales Representative (SDO SALES_REP; Optional; precision 0)"},"sendInvoicesElectronically":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Send Invoices to this account via Email (SDO SEND_INVOICES_ELECTRONICALLY; Optional; precision 0)"},"sendLettersElectronically":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Send letters to this account via Email (SDO SEND_LETTERS_ELECTRONICALLY; Optional; precision 0)"},"settlementDiscRate":{"type":"number","nullable":true,"description":"Settlement Discount Rate (SDO SETTLEMENT_DISC_RATE; Optional; precision 2)"},"settlementDueDays":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Settlement Due Days (SDO SETTLEMENT_DUE_DAYS; Optional; precision 0)"},"telephone":{"type":"string","nullable":true,"maxLength":30,"description":"Telephone Number (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","nullable":true,"maxLength":30,"description":"Second Telephone Number (SDO TELEPHONE_2; Optional; precision 0)"},"terms":{"type":"string","nullable":true,"maxLength":30,"description":"Terms (SDO TERMS; Optional; precision 0)"},"termsAgreedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Terms agreed flag (SDO TERMS_AGREED_FLAG; Optional; precision 0)"},"tradeContact":{"type":"string","nullable":true,"maxLength":30,"description":"Name of Trade Contact (SDO TRADE_CONTACT; Optional; precision 0)"},"traderForeignBalance":{"type":"number","nullable":true,"description":"Foreign Balance (SDO TRADER_FOREIGN_BALANCE; Optional; precision 6)"},"turnoverMtd":{"type":"number","nullable":true,"description":"Turnover Month To Date (SDO TURNOVER_MTD; Optional; precision 2)"},"turnoverYtd":{"type":"number","nullable":true,"description":"Turnover Year To Date (SDO TURNOVER_YTD; Optional; precision 2)"},"twitter":{"type":"string","nullable":true,"maxLength":35,"description":"Twitter Address (SDO TWITTER; Optional; precision 0)"},"vatRegNumber":{"type":"string","nullable":true,"maxLength":20,"description":"VAT Registration Number (SDO VAT_REG_NUMBER; Optional; precision 0)"},"www":{"type":"string","nullable":true,"maxLength":255,"description":"WWW Address (SDO WWW; Optional; precision 0)"},"id":{"type":"string"}},"required":["accountManager","accountOnHold","accountOpened","accountRef","accountStatus","accountType","accountTypeCustomer","accountTypeDonor","accountTypeMember","address1","address2","address3","address4","address5","analysis1","analysis2","analysis3","analysis4","analysis5","analysis6","averagePayDays","bacs","bacsReference","balance","bankAccountName","bankAccountNumber","bankAdditionalRef1","bankAdditionalRef2","bankAdditionalRef3","bankAddress1","bankAddress2","bankAddress3","bankAddress4","bankAddress5","bankBicswift","bankIban","bankName","bankRollNumber","bankSortCode","buildSocietyRef","buildingSociety","canApplyCharges","companyRegistrationNumber","contactName","countryCode","creditAppReceived","creditAppliedFor","creditBf","creditBureau","creditCardNo","creditCf","creditLimit","creditMth1","creditMth10","creditMth11","creditMth12","creditMth2","creditMth3","creditMth4","creditMth5","creditMth6","creditMth7","creditMth8","creditMth9","creditPosition","creditReference","currency","dateCreditAppReceived","declarationValidFrom","defNomCode","defTaxCode","delAddress1","delAddress2","delAddress3","delAddress4","delAddress5","delContactName","delFax","delName","delTelephone","deletedFlag","deptNumber","discountRate","discountType","disputed","donorForename","donorSurname","donorTitle","dunsNumber","eMail","eMail2","eMail3","eMail4","eMail5","eMail6","ecCode","eoriNumber","excludeFromPaymentReminderEmails","externalUsage","facebook","fax","firstHeader","firstInvoice","giftAidEnabled","holdMail","inactiveFlag","incoterms","invoiceBf","invoiceCf","invoiceMth1","invoiceMth10","invoiceMth11","invoiceMth12","invoiceMth2","invoiceMth3","invoiceMth4","invoiceMth5","invoiceMth6","invoiceMth7","invoiceMth8","invoiceMth9","lastCreditRev","lastHeader","lastInvDate","lastPayDate","lastUpdated","linkedin","mandateref","memberReminderDate","memberRenewalDate","memberSince","memoOffset","memoSize","modify","name","nextCreditRev","noOfHeader","overrideProductNominal","overrideProductTax","paymentBf","paymentCf","paymentDueDays","paymentDueFrom","paymentMth1","paymentMth10","paymentMth11","paymentMth12","paymentMth2","paymentMth3","paymentMth4","paymentMth5","paymentMth6","paymentMth7","paymentMth8","paymentMth9","paymentType","priceListRef","priorYear","priorityTrader","receiptBf","receiptCf","receiptMth1","receiptMth10","receiptMth11","receiptMth12","receiptMth2","receiptMth3","receiptMth4","receiptMth5","receiptMth6","receiptMth7","receiptMth8","receiptMth9","recordCreateDate","recordDeleted","recordModifyDate","salesRep","sendInvoicesElectronically","sendLettersElectronically","settlementDiscRate","settlementDueDays","telephone","telephone2","terms","termsAgreedFlag","tradeContact","traderForeignBalance","turnoverMtd","turnoverYtd","twitter","vatRegNumber","www","id"],"additionalProperties":false},"Uk33_1_customers_get":{"type":"object","properties":{"accountManager":{"type":"string","nullable":true,"maxLength":60,"description":"Name of Account Manager (SDO ACCOUNT_MANAGER; Optional; precision 0)"},"accountOnHold":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Account On Hold (SDO ACCOUNT_ON_HOLD; Optional; precision 0)"},"accountOpened":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Account Opened (SDO ACCOUNT_OPENED; Optional; precision 0)"},"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Account Reference (SDO ACCOUNT_REF; Required; precision 0)"},"accountStatus":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Status (SDO ACCOUNT_STATUS; Optional; precision 0)"},"accountType":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Type (SDO ACCOUNT_TYPE; Optional; precision 0)"},"accountTypeCustomer":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Type Customer (SDO ACCOUNT_TYPE_CUSTOMER; Optional; precision 0)"},"accountTypeDonor":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Type Donor (SDO ACCOUNT_TYPE_DONOR; Optional; precision 0)"},"accountTypeMember":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Type Member (SDO ACCOUNT_TYPE_MEMBER; Optional; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line5 (SDO ADDRESS_5; Optional; precision 0)"},"analysis1":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"analysis4":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 4 (SDO ANALYSIS_4; Optional; precision 0)"},"analysis5":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 5 (SDO ANALYSIS_5; Optional; precision 0)"},"analysis6":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 6 (SDO ANALYSIS_6; Optional; precision 0)"},"averagePayDays":{"type":"number","nullable":true,"description":"Average Time To Pay (SDO AVERAGE_PAY_DAYS; Optional; precision 0)"},"bacs":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Bank Online Receipts (SDO BACS; Optional; precision 0)"},"bacsReference":{"type":"string","nullable":true,"maxLength":60,"description":"Bank BACS Ref (SDO BACS_REFERENCE; Optional; precision 0)"},"balance":{"type":"number","nullable":true,"description":"Balance (SDO BALANCE; Optional; precision 2)"},"bankAccountName":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Account Name (SDO BANK_ACCOUNT_NAME; Optional; precision 0)"},"bankAccountNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Account Number (SDO BANK_ACCOUNT_NUMBER; Optional; precision 0)"},"bankAdditionalRef1":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Additional Ref1 (SDO BANK_ADDITIONAL_REF1; Optional; precision 0)"},"bankAdditionalRef2":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Additional Ref2 (SDO BANK_ADDITIONAL_REF2; Optional; precision 0)"},"bankAdditionalRef3":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Additional Ref3 (SDO BANK_ADDITIONAL_REF3; Optional; precision 0)"},"bankAddress1":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line1 (SDO BANK_ADDRESS_1; Optional; precision 0)"},"bankAddress2":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line2 (SDO BANK_ADDRESS_2; Optional; precision 0)"},"bankAddress3":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line3 (SDO BANK_ADDRESS_3; Optional; precision 0)"},"bankAddress4":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line4 (SDO BANK_ADDRESS_4; Optional; precision 0)"},"bankAddress5":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line5 (SDO BANK_ADDRESS_5; Optional; precision 0)"},"bankBicswift":{"type":"string","nullable":true,"maxLength":60,"description":"Bank BIC/Swift (SDO BANK_BICSWIFT; Optional; precision 0)"},"bankIban":{"type":"string","nullable":true,"maxLength":60,"description":"Bank IBAN (SDO BANK_IBAN; Optional; precision 0)"},"bankName":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Name (SDO BANK_NAME; Optional; precision 0)"},"bankRollNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Roll Number (SDO BANK_ROLL_NUMBER; Optional; precision 0)"},"bankSortCode":{"type":"string","nullable":true,"maxLength":10,"description":"Bank Sort Code (SDO BANK_SORT_CODE; Optional; precision 0)"},"buildSocietyRef":{"type":"string","nullable":true,"maxLength":60,"description":"Refernce for Building Society Transfer (SDO BUILD_SOCIETY_REF; Optional; precision 0)"},"buildingSociety":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Uses Building Society (SDO BUILDING_SOCIETY; Optional; precision 0)"},"canApplyCharges":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Can Charge Credit (SDO CAN_APPLY_CHARGES; Optional; precision 0)"},"companyRegistrationNumber":{"type":"string","nullable":true,"maxLength":16,"description":"Company Reg. Number (SDO COMPANY_REGISTRATION_NUMBER; Optional; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Contact Name (SDO CONTACT_NAME; Optional; precision 0)"},"countryCode":{"type":"string","nullable":true,"maxLength":2,"description":"Country Code (SDO COUNTRY_CODE; Optional; precision 0)"},"creditAppReceived":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"True if Credit Application Received (SDO CREDIT_APP_RECEIVED; Optional; precision 0)"},"creditAppliedFor":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Credit Applied For (SDO CREDIT_APPLIED_FOR; Optional; precision 0)"},"creditBf":{"type":"number","nullable":true,"description":"Credits Brought Forward (SDO CREDIT_BF; Optional; precision 2)"},"creditBureau":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Credit Bureau Used (SDO CREDIT_BUREAU; Optional; precision 0)"},"creditCardNo":{"type":"string","nullable":true,"maxLength":30,"description":"Credit card number (SDO CREDIT_CARD_NO; Optional; precision 0)"},"creditCf":{"type":"number","nullable":true,"description":"Credits Carry Forward (SDO CREDIT_CF; Optional; precision 2)"},"creditLimit":{"type":"number","nullable":true,"description":"Credit Limit (SDO CREDIT_LIMIT; Optional; precision 2)"},"creditMth1":{"type":"number","nullable":true,"description":"Credits Month 1 (SDO CREDIT_MTH1; Optional; precision 2)"},"creditMth10":{"type":"number","nullable":true,"description":"Credits Month 10 (SDO CREDIT_MTH10; Optional; precision 2)"},"creditMth11":{"type":"number","nullable":true,"description":"Credits Month 11 (SDO CREDIT_MTH11; Optional; precision 2)"},"creditMth12":{"type":"number","nullable":true,"description":"Credits Month 12 (SDO CREDIT_MTH12; Optional; precision 2)"},"creditMth2":{"type":"number","nullable":true,"description":"Credits Month 2 (SDO CREDIT_MTH2; Optional; precision 2)"},"creditMth3":{"type":"number","nullable":true,"description":"Credits Month 3 (SDO CREDIT_MTH3; Optional; precision 2)"},"creditMth4":{"type":"number","nullable":true,"description":"Credits Month 4 (SDO CREDIT_MTH4; Optional; precision 2)"},"creditMth5":{"type":"number","nullable":true,"description":"Credits Month 5 (SDO CREDIT_MTH5; Optional; precision 2)"},"creditMth6":{"type":"number","nullable":true,"description":"Credits Month 6 (SDO CREDIT_MTH6; Optional; precision 2)"},"creditMth7":{"type":"number","nullable":true,"description":"Credits Month 7 (SDO CREDIT_MTH7; Optional; precision 2)"},"creditMth8":{"type":"number","nullable":true,"description":"Credits Month 8 (SDO CREDIT_MTH8; Optional; precision 2)"},"creditMth9":{"type":"number","nullable":true,"description":"Credits Month 9 (SDO CREDIT_MTH9; Optional; precision 2)"},"creditPosition":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Credit Position (SDO CREDIT_POSITION; Optional; precision 0)"},"creditReference":{"type":"string","nullable":true,"maxLength":60,"description":"Credit Bureau Reference (SDO CREDIT_REFERENCE; Optional; precision 0)"},"currency":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency (SDO CURRENCY; Optional; precision 0)"},"dateCreditAppReceived":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Credit Application Received (SDO DATE_CREDIT_APP_RECEIVED; Optional; precision 0)"},"declarationValidFrom":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Donor Declaration Valid From (SDO DECLARATION_VALID_FROM; Optional; precision 0)"},"defNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Default Nominal Code (SDO DEF_NOM_CODE; Optional; precision 0)"},"defTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax Code (SDO DEF_TAX_CODE; Optional; precision 0)"},"delAddress1":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line1 (SDO DEL_ADDRESS_1; Optional; precision 0)"},"delAddress2":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line2 (SDO DEL_ADDRESS_2; Optional; precision 0)"},"delAddress3":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line3 (SDO DEL_ADDRESS_3; Optional; precision 0)"},"delAddress4":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line4 (SDO DEL_ADDRESS_4; Optional; precision 0)"},"delAddress5":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line5 (SDO DEL_ADDRESS_5; Optional; precision 0)"},"delContactName":{"type":"string","nullable":true,"maxLength":30,"description":"Default Delivery Contact Name (SDO DEL_CONTACT_NAME; Optional; precision 0)"},"delFax":{"type":"string","nullable":true,"maxLength":30,"description":"Default Delivery Fax Number (SDO DEL_FAX; Optional; precision 0)"},"delName":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Name (SDO DEL_NAME; Optional; precision 0)"},"delTelephone":{"type":"string","nullable":true,"maxLength":30,"description":"Default Delivery Telephone Number (SDO DEL_TELEPHONE; Optional; precision 0)"},"deletedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Reserved for Future Use (SDO DELETED_FLAG; Optional; precision 0)"},"deptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Department Code (SDO DEPT_NUMBER; Optional; precision 0)"},"discountRate":{"type":"number","nullable":true,"description":"Discount Rate (SDO DISCOUNT_RATE; Optional; precision 2)"},"discountType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Discount Type (SDO DISCOUNT_TYPE; Optional; precision 0)"},"disputed":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Disputed (SDO DISPUTED; Optional; precision 0)"},"donorForename":{"type":"string","nullable":true,"maxLength":35,"description":"Donor Forename (SDO DONOR_FORENAME; Optional; precision 0)"},"donorSurname":{"type":"string","nullable":true,"maxLength":35,"description":"Donor Surname (SDO DONOR_SURNAME; Optional; precision 0)"},"donorTitle":{"type":"string","nullable":true,"maxLength":4,"description":"Donor Title (SDO DONOR_TITLE; Optional; precision 0)"},"dunsNumber":{"type":"string","nullable":true,"maxLength":9,"description":"DUNS Number (SDO DUNS_NUMBER; Optional; precision 0)"},"eMail":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (SDO E_MAIL; Optional; precision 0)"},"eMail2":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (2) (SDO E_MAIL2; Optional; precision 0)"},"eMail3":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (3) (SDO E_MAIL3; Optional; precision 0)"},"eMail4":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (4) (SDO E_MAIL4; Optional; precision 0)"},"eMail5":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (5) (SDO E_MAIL5; Optional; precision 0)"},"eMail6":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (6) (SDO E_MAIL6; Optional; precision 0)"},"ecCode":{"type":"string","nullable":true,"maxLength":3,"description":"EC member code (SDO EC_CODE; Optional; precision 0)"},"eoriNumber":{"type":"string","nullable":true,"maxLength":17,"description":"EORI number (SDO EORI_NUMBER; Optional; precision 0)"},"excludeFromPaymentReminderEmails":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Exclude from chase emails in payment reminders (SDO EXCLUDE_FROM_PAYMENT_REMINDER_EMAILS; Optional; precision 0)"},"externalUsage":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Number of External Usages for This Record (SDO EXTERNAL_USAGE; Optional; precision 0)"},"facebook":{"type":"string","nullable":true,"maxLength":75,"description":"Facebook Address (SDO FACEBOOK; Optional; precision 0)"},"fax":{"type":"string","nullable":true,"maxLength":30,"description":"Fax Number (SDO FAX; Optional; precision 0)"},"firstHeader":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"First transaction (SDO FIRST_HEADER; Optional; precision 0)"},"firstInvoice":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"First Invoice Date (SDO FIRST_INVOICE; Optional; precision 0)"},"giftAidEnabled":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Gift Aid is enabled (SDO GIFT_AID_ENABLED; Optional; precision 0)"},"holdMail":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Restrict Mail (SDO HOLD_MAIL; Optional; precision 0)"},"inactiveFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Inactive Flag - Yes/No (SDO INACTIVE_FLAG; Optional; precision 0)"},"incoterms":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Incoterms (SDO INCOTERMS; Optional; precision 0)"},"invoiceBf":{"type":"number","nullable":true,"description":"Invoices Brought Forward (SDO INVOICE_BF; Optional; precision 2)"},"invoiceCf":{"type":"number","nullable":true,"description":"Invoices Carry Forward (SDO INVOICE_CF; Optional; precision 2)"},"invoiceMth1":{"type":"number","nullable":true,"description":"Invoices Month 1 (SDO INVOICE_MTH1; Optional; precision 2)"},"invoiceMth10":{"type":"number","nullable":true,"description":"Invoices Month 10 (SDO INVOICE_MTH10; Optional; precision 2)"},"invoiceMth11":{"type":"number","nullable":true,"description":"Invoices Month 11 (SDO INVOICE_MTH11; Optional; precision 2)"},"invoiceMth12":{"type":"number","nullable":true,"description":"Invoices Month 12 (SDO INVOICE_MTH12; Optional; precision 2)"},"invoiceMth2":{"type":"number","nullable":true,"description":"Invoices Month 2 (SDO INVOICE_MTH2; Optional; precision 2)"},"invoiceMth3":{"type":"number","nullable":true,"description":"Invoices Month 3 (SDO INVOICE_MTH3; Optional; precision 2)"},"invoiceMth4":{"type":"number","nullable":true,"description":"Invoices Month 4 (SDO INVOICE_MTH4; Optional; precision 2)"},"invoiceMth5":{"type":"number","nullable":true,"description":"Invoices Month 5 (SDO INVOICE_MTH5; Optional; precision 2)"},"invoiceMth6":{"type":"number","nullable":true,"description":"Invoices Month 6 (SDO INVOICE_MTH6; Optional; precision 2)"},"invoiceMth7":{"type":"number","nullable":true,"description":"Invoices Month 7 (SDO INVOICE_MTH7; Optional; precision 2)"},"invoiceMth8":{"type":"number","nullable":true,"description":"Invoices Month 8 (SDO INVOICE_MTH8; Optional; precision 2)"},"invoiceMth9":{"type":"number","nullable":true,"description":"Invoices Month 9 (SDO INVOICE_MTH9; Optional; precision 2)"},"lastCreditRev":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Last Credit Review (SDO LAST_CREDIT_REV; Optional; precision 0)"},"lastHeader":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Last transaction (SDO LAST_HEADER; Optional; precision 0)"},"lastInvDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Last Invoice Date (SDO LAST_INV_DATE; Optional; precision 0)"},"lastPayDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Last Payment Date (SDO LAST_PAY_DATE; Optional; precision 0)"},"lastUpdated":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date of last update (SDO LAST_UPDATED; Optional; precision 0)"},"linkedin":{"type":"string","nullable":true,"maxLength":64,"description":"LinkedIn Address (SDO LINKEDIN; Optional; precision 0)"},"mandateref":{"type":"string","nullable":true,"maxLength":25,"description":"Direct Debit Mandate Ref (SDO MANDATEREF; Optional; precision 0)"},"memberReminderDate":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Member Reminder Date (SDO MEMBER_REMINDER_DATE; Optional; precision 0)"},"memberRenewalDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Member Renewal Date (SDO MEMBER_RENEWAL_DATE; Optional; precision 0)"},"memberSince":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Member Since (SDO MEMBER_SINCE; Optional; precision 0)"},"memoOffset":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Offset in Credit Memo File (SDO MEMO_OFFSET; Optional; precision 0)"},"memoSize":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Size of Memo in Bytes (SDO MEMO_SIZE; Optional; precision 0)"},"modify":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Modified Count (SDO MODIFY; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Account Name (SDO NAME; Optional; precision 0)"},"nextCreditRev":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Next Credit Review (SDO NEXT_CREDIT_REV; Optional; precision 0)"},"noOfHeader":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"No of trans (SDO NO_OF_HEADER; Optional; precision 0)"},"overrideProductNominal":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Override product nominal code in invoicing and pop (SDO OVERRIDE_PRODUCT_NOMINAL; Optional; precision 0)"},"overrideProductTax":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Override product tax code in invoicing (SDO OVERRIDE_PRODUCT_TAX; Optional; precision 0)"},"paymentBf":{"type":"number","nullable":true,"description":"Payments Brought Forward (SDO PAYMENT_BF; Optional; precision 2)"},"paymentCf":{"type":"number","nullable":true,"description":"Payments Carry Forward (SDO PAYMENT_CF; Optional; precision 2)"},"paymentDueDays":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Payment Due Days (SDO PAYMENT_DUE_DAYS; Optional; precision 0)"},"paymentDueFrom":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Payment Due From (SDO PAYMENT_DUE_FROM; Optional; precision 0)"},"paymentMth1":{"type":"number","nullable":true,"description":"Payments Month 1 (SDO PAYMENT_MTH1; Optional; precision 2)"},"paymentMth10":{"type":"number","nullable":true,"description":"Payments Month 10 (SDO PAYMENT_MTH10; Optional; precision 2)"},"paymentMth11":{"type":"number","nullable":true,"description":"Payments Month 11 (SDO PAYMENT_MTH11; Optional; precision 2)"},"paymentMth12":{"type":"number","nullable":true,"description":"Payments Month 12 (SDO PAYMENT_MTH12; Optional; precision 2)"},"paymentMth2":{"type":"number","nullable":true,"description":"Payments Month 2 (SDO PAYMENT_MTH2; Optional; precision 2)"},"paymentMth3":{"type":"number","nullable":true,"description":"Payments Month 3 (SDO PAYMENT_MTH3; Optional; precision 2)"},"paymentMth4":{"type":"number","nullable":true,"description":"Payments Month 4 (SDO PAYMENT_MTH4; Optional; precision 2)"},"paymentMth5":{"type":"number","nullable":true,"description":"Payments Month 5 (SDO PAYMENT_MTH5; Optional; precision 2)"},"paymentMth6":{"type":"number","nullable":true,"description":"Payments Month 6 (SDO PAYMENT_MTH6; Optional; precision 2)"},"paymentMth7":{"type":"number","nullable":true,"description":"Payments Month 7 (SDO PAYMENT_MTH7; Optional; precision 2)"},"paymentMth8":{"type":"number","nullable":true,"description":"Payments Month 8 (SDO PAYMENT_MTH8; Optional; precision 2)"},"paymentMth9":{"type":"number","nullable":true,"description":"Payments Month 9 (SDO PAYMENT_MTH9; Optional; precision 2)"},"paymentType":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Payment Method (SDO PAYMENT_TYPE; Optional; precision 0)"},"priceListRef":{"type":"string","nullable":true,"maxLength":8,"description":"Price list reference (SDO PRICE_LIST_REF; Optional; precision 0)"},"priorYear":{"type":"number","nullable":true,"description":"Prior YTD (SDO PRIOR_YEAR; Optional; precision 2)"},"priorityTrader":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Priority Customer (SDO PRIORITY_TRADER; Optional; precision 0)"},"receiptBf":{"type":"number","nullable":true,"description":"Receipts Brought Forward (SDO RECEIPT_BF; Optional; precision 2)"},"receiptCf":{"type":"number","nullable":true,"description":"Receipts Carry Forward (SDO RECEIPT_CF; Optional; precision 2)"},"receiptMth1":{"type":"number","nullable":true,"description":"Receipts Month 1 (SDO RECEIPT_MTH1; Optional; precision 2)"},"receiptMth10":{"type":"number","nullable":true,"description":"Receipts Month 10 (SDO RECEIPT_MTH10; Optional; precision 2)"},"receiptMth11":{"type":"number","nullable":true,"description":"Receipts Month 11 (SDO RECEIPT_MTH11; Optional; precision 2)"},"receiptMth12":{"type":"number","nullable":true,"description":"Receipts Month 12 (SDO RECEIPT_MTH12; Optional; precision 2)"},"receiptMth2":{"type":"number","nullable":true,"description":"Receipts Month 2 (SDO RECEIPT_MTH2; Optional; precision 2)"},"receiptMth3":{"type":"number","nullable":true,"description":"Receipts Month 3 (SDO RECEIPT_MTH3; Optional; precision 2)"},"receiptMth4":{"type":"number","nullable":true,"description":"Receipts Month 4 (SDO RECEIPT_MTH4; Optional; precision 2)"},"receiptMth5":{"type":"number","nullable":true,"description":"Receipts Month 5 (SDO RECEIPT_MTH5; Optional; precision 2)"},"receiptMth6":{"type":"number","nullable":true,"description":"Receipts Month 6 (SDO RECEIPT_MTH6; Optional; precision 2)"},"receiptMth7":{"type":"number","nullable":true,"description":"Receipts Month 7 (SDO RECEIPT_MTH7; Optional; precision 2)"},"receiptMth8":{"type":"number","nullable":true,"description":"Receipts Month 8 (SDO RECEIPT_MTH8; Optional; precision 2)"},"receiptMth9":{"type":"number","nullable":true,"description":"Receipts Month 9 (SDO RECEIPT_MTH9; Optional; precision 2)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"salesRep":{"type":"string","nullable":true,"maxLength":60,"description":"Name of Sales Representative (SDO SALES_REP; Optional; precision 0)"},"sendInvoicesElectronically":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Send Invoices to this account via Email (SDO SEND_INVOICES_ELECTRONICALLY; Optional; precision 0)"},"sendLettersElectronically":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Send letters to this account via Email (SDO SEND_LETTERS_ELECTRONICALLY; Optional; precision 0)"},"settlementDiscRate":{"type":"number","nullable":true,"description":"Settlement Discount Rate (SDO SETTLEMENT_DISC_RATE; Optional; precision 2)"},"settlementDueDays":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Settlement Due Days (SDO SETTLEMENT_DUE_DAYS; Optional; precision 0)"},"telephone":{"type":"string","nullable":true,"maxLength":30,"description":"Telephone Number (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","nullable":true,"maxLength":30,"description":"Second Telephone Number (SDO TELEPHONE_2; Optional; precision 0)"},"terms":{"type":"string","nullable":true,"maxLength":30,"description":"Terms (SDO TERMS; Optional; precision 0)"},"termsAgreedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Terms agreed flag (SDO TERMS_AGREED_FLAG; Optional; precision 0)"},"tradeContact":{"type":"string","nullable":true,"maxLength":30,"description":"Name of Trade Contact (SDO TRADE_CONTACT; Optional; precision 0)"},"traderForeignBalance":{"type":"number","nullable":true,"description":"Foreign Balance (SDO TRADER_FOREIGN_BALANCE; Optional; precision 6)"},"turnoverMtd":{"type":"number","nullable":true,"description":"Turnover Month To Date (SDO TURNOVER_MTD; Optional; precision 2)"},"turnoverYtd":{"type":"number","nullable":true,"description":"Turnover Year To Date (SDO TURNOVER_YTD; Optional; precision 2)"},"twitter":{"type":"string","nullable":true,"maxLength":35,"description":"Twitter Address (SDO TWITTER; Optional; precision 0)"},"ukimsNumber":{"type":"string","nullable":true,"maxLength":64,"description":"UKIMS number (SDO UKIMS_NUMBER; Optional; precision 0)"},"vatRegNumber":{"type":"string","nullable":true,"maxLength":20,"description":"VAT Registration Number (SDO VAT_REG_NUMBER; Optional; precision 0)"},"www":{"type":"string","nullable":true,"maxLength":255,"description":"WWW Address (SDO WWW; Optional; precision 0)"},"id":{"type":"string"}},"required":["accountManager","accountOnHold","accountOpened","accountRef","accountStatus","accountType","accountTypeCustomer","accountTypeDonor","accountTypeMember","address1","address2","address3","address4","address5","analysis1","analysis2","analysis3","analysis4","analysis5","analysis6","averagePayDays","bacs","bacsReference","balance","bankAccountName","bankAccountNumber","bankAdditionalRef1","bankAdditionalRef2","bankAdditionalRef3","bankAddress1","bankAddress2","bankAddress3","bankAddress4","bankAddress5","bankBicswift","bankIban","bankName","bankRollNumber","bankSortCode","buildSocietyRef","buildingSociety","canApplyCharges","companyRegistrationNumber","contactName","countryCode","creditAppReceived","creditAppliedFor","creditBf","creditBureau","creditCardNo","creditCf","creditLimit","creditMth1","creditMth10","creditMth11","creditMth12","creditMth2","creditMth3","creditMth4","creditMth5","creditMth6","creditMth7","creditMth8","creditMth9","creditPosition","creditReference","currency","dateCreditAppReceived","declarationValidFrom","defNomCode","defTaxCode","delAddress1","delAddress2","delAddress3","delAddress4","delAddress5","delContactName","delFax","delName","delTelephone","deletedFlag","deptNumber","discountRate","discountType","disputed","donorForename","donorSurname","donorTitle","dunsNumber","eMail","eMail2","eMail3","eMail4","eMail5","eMail6","ecCode","eoriNumber","excludeFromPaymentReminderEmails","externalUsage","facebook","fax","firstHeader","firstInvoice","giftAidEnabled","holdMail","inactiveFlag","incoterms","invoiceBf","invoiceCf","invoiceMth1","invoiceMth10","invoiceMth11","invoiceMth12","invoiceMth2","invoiceMth3","invoiceMth4","invoiceMth5","invoiceMth6","invoiceMth7","invoiceMth8","invoiceMth9","lastCreditRev","lastHeader","lastInvDate","lastPayDate","lastUpdated","linkedin","mandateref","memberReminderDate","memberRenewalDate","memberSince","memoOffset","memoSize","modify","name","nextCreditRev","noOfHeader","overrideProductNominal","overrideProductTax","paymentBf","paymentCf","paymentDueDays","paymentDueFrom","paymentMth1","paymentMth10","paymentMth11","paymentMth12","paymentMth2","paymentMth3","paymentMth4","paymentMth5","paymentMth6","paymentMth7","paymentMth8","paymentMth9","paymentType","priceListRef","priorYear","priorityTrader","receiptBf","receiptCf","receiptMth1","receiptMth10","receiptMth11","receiptMth12","receiptMth2","receiptMth3","receiptMth4","receiptMth5","receiptMth6","receiptMth7","receiptMth8","receiptMth9","recordCreateDate","recordDeleted","recordModifyDate","salesRep","sendInvoicesElectronically","sendLettersElectronically","settlementDiscRate","settlementDueDays","telephone","telephone2","terms","termsAgreedFlag","tradeContact","traderForeignBalance","turnoverMtd","turnoverYtd","twitter","ukimsNumber","vatRegNumber","www","id"],"additionalProperties":false},"Uk34_1_customers_get":{"type":"object","properties":{"accountManager":{"type":"string","nullable":true,"maxLength":60,"description":"Name of Account Manager (SDO ACCOUNT_MANAGER; Optional; precision 0)"},"accountOnHold":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Account On Hold (SDO ACCOUNT_ON_HOLD; Optional; precision 0)"},"accountOpened":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Account Opened (SDO ACCOUNT_OPENED; Optional; precision 0)"},"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Account Reference (SDO ACCOUNT_REF; Required; precision 0)"},"accountStatus":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Status (SDO ACCOUNT_STATUS; Optional; precision 0)"},"accountType":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Type (SDO ACCOUNT_TYPE; Optional; precision 0)"},"accountTypeCustomer":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Type Customer (SDO ACCOUNT_TYPE_CUSTOMER; Optional; precision 0)"},"accountTypeDonor":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Type Donor (SDO ACCOUNT_TYPE_DONOR; Optional; precision 0)"},"accountTypeMember":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Type Member (SDO ACCOUNT_TYPE_MEMBER; Optional; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line5 (SDO ADDRESS_5; Optional; precision 0)"},"analysis1":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"analysis4":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 4 (SDO ANALYSIS_4; Optional; precision 0)"},"analysis5":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 5 (SDO ANALYSIS_5; Optional; precision 0)"},"analysis6":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 6 (SDO ANALYSIS_6; Optional; precision 0)"},"averagePayDays":{"type":"number","nullable":true,"description":"Average Time To Pay (SDO AVERAGE_PAY_DAYS; Optional; precision 0)"},"bacs":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Bank Online Receipts (SDO BACS; Optional; precision 0)"},"bacsReference":{"type":"string","nullable":true,"maxLength":60,"description":"Bank BACS Ref (SDO BACS_REFERENCE; Optional; precision 0)"},"balance":{"type":"number","nullable":true,"description":"Balance (SDO BALANCE; Optional; precision 2)"},"bankAccountName":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Account Name (SDO BANK_ACCOUNT_NAME; Optional; precision 0)"},"bankAccountNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Account Number (SDO BANK_ACCOUNT_NUMBER; Optional; precision 0)"},"bankAdditionalRef1":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Additional Ref1 (SDO BANK_ADDITIONAL_REF1; Optional; precision 0)"},"bankAdditionalRef2":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Additional Ref2 (SDO BANK_ADDITIONAL_REF2; Optional; precision 0)"},"bankAdditionalRef3":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Additional Ref3 (SDO BANK_ADDITIONAL_REF3; Optional; precision 0)"},"bankAddress1":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line1 (SDO BANK_ADDRESS_1; Optional; precision 0)"},"bankAddress2":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line2 (SDO BANK_ADDRESS_2; Optional; precision 0)"},"bankAddress3":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line3 (SDO BANK_ADDRESS_3; Optional; precision 0)"},"bankAddress4":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line4 (SDO BANK_ADDRESS_4; Optional; precision 0)"},"bankAddress5":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line5 (SDO BANK_ADDRESS_5; Optional; precision 0)"},"bankBicswift":{"type":"string","nullable":true,"maxLength":60,"description":"Bank BIC/Swift (SDO BANK_BICSWIFT; Optional; precision 0)"},"bankIban":{"type":"string","nullable":true,"maxLength":60,"description":"Bank IBAN (SDO BANK_IBAN; Optional; precision 0)"},"bankName":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Name (SDO BANK_NAME; Optional; precision 0)"},"bankRollNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Roll Number (SDO BANK_ROLL_NUMBER; Optional; precision 0)"},"bankSortCode":{"type":"string","nullable":true,"maxLength":10,"description":"Bank Sort Code (SDO BANK_SORT_CODE; Optional; precision 0)"},"buildSocietyRef":{"type":"string","nullable":true,"maxLength":60,"description":"Refernce for Building Society Transfer (SDO BUILD_SOCIETY_REF; Optional; precision 0)"},"buildingSociety":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Uses Building Society (SDO BUILDING_SOCIETY; Optional; precision 0)"},"canApplyCharges":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Can Charge Credit (SDO CAN_APPLY_CHARGES; Optional; precision 0)"},"companyRegistrationNumber":{"type":"string","nullable":true,"maxLength":16,"description":"Company Reg. Number (SDO COMPANY_REGISTRATION_NUMBER; Optional; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Contact Name (SDO CONTACT_NAME; Optional; precision 0)"},"countryCode":{"type":"string","nullable":true,"maxLength":2,"description":"Country Code (SDO COUNTRY_CODE; Optional; precision 0)"},"creditAppReceived":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"True if Credit Application Received (SDO CREDIT_APP_RECEIVED; Optional; precision 0)"},"creditAppliedFor":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Credit Applied For (SDO CREDIT_APPLIED_FOR; Optional; precision 0)"},"creditBf":{"type":"number","nullable":true,"description":"Credits Brought Forward (SDO CREDIT_BF; Optional; precision 2)"},"creditBureau":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Credit Bureau Used (SDO CREDIT_BUREAU; Optional; precision 0)"},"creditCardNo":{"type":"string","nullable":true,"maxLength":30,"description":"Credit card number (SDO CREDIT_CARD_NO; Optional; precision 0)"},"creditCf":{"type":"number","nullable":true,"description":"Credits Carry Forward (SDO CREDIT_CF; Optional; precision 2)"},"creditLimit":{"type":"number","nullable":true,"description":"Credit Limit (SDO CREDIT_LIMIT; Optional; precision 2)"},"creditMth1":{"type":"number","nullable":true,"description":"Credits Month 1 (SDO CREDIT_MTH1; Optional; precision 2)"},"creditMth10":{"type":"number","nullable":true,"description":"Credits Month 10 (SDO CREDIT_MTH10; Optional; precision 2)"},"creditMth11":{"type":"number","nullable":true,"description":"Credits Month 11 (SDO CREDIT_MTH11; Optional; precision 2)"},"creditMth12":{"type":"number","nullable":true,"description":"Credits Month 12 (SDO CREDIT_MTH12; Optional; precision 2)"},"creditMth2":{"type":"number","nullable":true,"description":"Credits Month 2 (SDO CREDIT_MTH2; Optional; precision 2)"},"creditMth3":{"type":"number","nullable":true,"description":"Credits Month 3 (SDO CREDIT_MTH3; Optional; precision 2)"},"creditMth4":{"type":"number","nullable":true,"description":"Credits Month 4 (SDO CREDIT_MTH4; Optional; precision 2)"},"creditMth5":{"type":"number","nullable":true,"description":"Credits Month 5 (SDO CREDIT_MTH5; Optional; precision 2)"},"creditMth6":{"type":"number","nullable":true,"description":"Credits Month 6 (SDO CREDIT_MTH6; Optional; precision 2)"},"creditMth7":{"type":"number","nullable":true,"description":"Credits Month 7 (SDO CREDIT_MTH7; Optional; precision 2)"},"creditMth8":{"type":"number","nullable":true,"description":"Credits Month 8 (SDO CREDIT_MTH8; Optional; precision 2)"},"creditMth9":{"type":"number","nullable":true,"description":"Credits Month 9 (SDO CREDIT_MTH9; Optional; precision 2)"},"creditPosition":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Credit Position (SDO CREDIT_POSITION; Optional; precision 0)"},"creditReference":{"type":"string","nullable":true,"maxLength":60,"description":"Credit Bureau Reference (SDO CREDIT_REFERENCE; Optional; precision 0)"},"currency":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency (SDO CURRENCY; Optional; precision 0)"},"dateCreditAppReceived":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Credit Application Received (SDO DATE_CREDIT_APP_RECEIVED; Optional; precision 0)"},"declarationValidFrom":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Donor Declaration Valid From (SDO DECLARATION_VALID_FROM; Optional; precision 0)"},"defNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Default Nominal Code (SDO DEF_NOM_CODE; Optional; precision 0)"},"defTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax Code (SDO DEF_TAX_CODE; Optional; precision 0)"},"delAddress1":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line1 (SDO DEL_ADDRESS_1; Optional; precision 0)"},"delAddress2":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line2 (SDO DEL_ADDRESS_2; Optional; precision 0)"},"delAddress3":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line3 (SDO DEL_ADDRESS_3; Optional; precision 0)"},"delAddress4":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line4 (SDO DEL_ADDRESS_4; Optional; precision 0)"},"delAddress5":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line5 (SDO DEL_ADDRESS_5; Optional; precision 0)"},"delContactName":{"type":"string","nullable":true,"maxLength":30,"description":"Default Delivery Contact Name (SDO DEL_CONTACT_NAME; Optional; precision 0)"},"delFax":{"type":"string","nullable":true,"maxLength":30,"description":"Default Delivery Fax Number (SDO DEL_FAX; Optional; precision 0)"},"delName":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Name (SDO DEL_NAME; Optional; precision 0)"},"delTelephone":{"type":"string","nullable":true,"maxLength":30,"description":"Default Delivery Telephone Number (SDO DEL_TELEPHONE; Optional; precision 0)"},"deletedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Reserved for Future Use (SDO DELETED_FLAG; Optional; precision 0)"},"deptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Department Code (SDO DEPT_NUMBER; Optional; precision 0)"},"discountRate":{"type":"number","nullable":true,"description":"Discount Rate (SDO DISCOUNT_RATE; Optional; precision 2)"},"discountType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Discount Type (SDO DISCOUNT_TYPE; Optional; precision 0)"},"disputed":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Disputed (SDO DISPUTED; Optional; precision 0)"},"donorForename":{"type":"string","nullable":true,"maxLength":35,"description":"Donor Forename (SDO DONOR_FORENAME; Optional; precision 0)"},"donorSurname":{"type":"string","nullable":true,"maxLength":35,"description":"Donor Surname (SDO DONOR_SURNAME; Optional; precision 0)"},"donorTitle":{"type":"string","nullable":true,"maxLength":4,"description":"Donor Title (SDO DONOR_TITLE; Optional; precision 0)"},"dunsNumber":{"type":"string","nullable":true,"maxLength":9,"description":"DUNS Number (SDO DUNS_NUMBER; Optional; precision 0)"},"eMail":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (SDO E_MAIL; Optional; precision 0)"},"eMail2":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (2) (SDO E_MAIL2; Optional; precision 0)"},"eMail3":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (3) (SDO E_MAIL3; Optional; precision 0)"},"eMail4":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (4) (SDO E_MAIL4; Optional; precision 0)"},"eMail5":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (5) (SDO E_MAIL5; Optional; precision 0)"},"eMail6":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (6) (SDO E_MAIL6; Optional; precision 0)"},"ecCode":{"type":"string","nullable":true,"maxLength":3,"description":"EC member code (SDO EC_CODE; Optional; precision 0)"},"eoriNumber":{"type":"string","nullable":true,"maxLength":17,"description":"EORI number (SDO EORI_NUMBER; Optional; precision 0)"},"excludeFromPaymentReminderEmails":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Exclude from chase emails in payment reminders (SDO EXCLUDE_FROM_PAYMENT_REMINDER_EMAILS; Optional; precision 0)"},"externalUsage":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Number of External Usages for This Record (SDO EXTERNAL_USAGE; Optional; precision 0)"},"facebook":{"type":"string","nullable":true,"maxLength":75,"description":"Facebook Address (SDO FACEBOOK; Optional; precision 0)"},"fax":{"type":"string","nullable":true,"maxLength":30,"description":"Fax Number (SDO FAX; Optional; precision 0)"},"firstHeader":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"First transaction (SDO FIRST_HEADER; Optional; precision 0)"},"firstInvoice":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"First Invoice Date (SDO FIRST_INVOICE; Optional; precision 0)"},"giftAidEnabled":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Gift Aid is enabled (SDO GIFT_AID_ENABLED; Optional; precision 0)"},"holdMail":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Restrict Mail (SDO HOLD_MAIL; Optional; precision 0)"},"inactiveFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Inactive Flag - Yes/No (SDO INACTIVE_FLAG; Optional; precision 0)"},"incoterms":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Incoterms (SDO INCOTERMS; Optional; precision 0)"},"invoiceBf":{"type":"number","nullable":true,"description":"Invoices Brought Forward (SDO INVOICE_BF; Optional; precision 2)"},"invoiceCf":{"type":"number","nullable":true,"description":"Invoices Carry Forward (SDO INVOICE_CF; Optional; precision 2)"},"invoiceMth1":{"type":"number","nullable":true,"description":"Invoices Month 1 (SDO INVOICE_MTH1; Optional; precision 2)"},"invoiceMth10":{"type":"number","nullable":true,"description":"Invoices Month 10 (SDO INVOICE_MTH10; Optional; precision 2)"},"invoiceMth11":{"type":"number","nullable":true,"description":"Invoices Month 11 (SDO INVOICE_MTH11; Optional; precision 2)"},"invoiceMth12":{"type":"number","nullable":true,"description":"Invoices Month 12 (SDO INVOICE_MTH12; Optional; precision 2)"},"invoiceMth2":{"type":"number","nullable":true,"description":"Invoices Month 2 (SDO INVOICE_MTH2; Optional; precision 2)"},"invoiceMth3":{"type":"number","nullable":true,"description":"Invoices Month 3 (SDO INVOICE_MTH3; Optional; precision 2)"},"invoiceMth4":{"type":"number","nullable":true,"description":"Invoices Month 4 (SDO INVOICE_MTH4; Optional; precision 2)"},"invoiceMth5":{"type":"number","nullable":true,"description":"Invoices Month 5 (SDO INVOICE_MTH5; Optional; precision 2)"},"invoiceMth6":{"type":"number","nullable":true,"description":"Invoices Month 6 (SDO INVOICE_MTH6; Optional; precision 2)"},"invoiceMth7":{"type":"number","nullable":true,"description":"Invoices Month 7 (SDO INVOICE_MTH7; Optional; precision 2)"},"invoiceMth8":{"type":"number","nullable":true,"description":"Invoices Month 8 (SDO INVOICE_MTH8; Optional; precision 2)"},"invoiceMth9":{"type":"number","nullable":true,"description":"Invoices Month 9 (SDO INVOICE_MTH9; Optional; precision 2)"},"lastCreditRev":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Last Credit Review (SDO LAST_CREDIT_REV; Optional; precision 0)"},"lastHeader":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Last transaction (SDO LAST_HEADER; Optional; precision 0)"},"lastInvDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Last Invoice Date (SDO LAST_INV_DATE; Optional; precision 0)"},"lastPayDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Last Payment Date (SDO LAST_PAY_DATE; Optional; precision 0)"},"lastUpdated":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date of last update (SDO LAST_UPDATED; Optional; precision 0)"},"linkedin":{"type":"string","nullable":true,"maxLength":64,"description":"LinkedIn Address (SDO LINKEDIN; Optional; precision 0)"},"mandateref":{"type":"string","nullable":true,"maxLength":25,"description":"Direct Debit Mandate Ref (SDO MANDATEREF; Optional; precision 0)"},"memberReminderDate":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Member Reminder Date (SDO MEMBER_REMINDER_DATE; Optional; precision 0)"},"memberRenewalDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Member Renewal Date (SDO MEMBER_RENEWAL_DATE; Optional; precision 0)"},"memberSince":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Member Since (SDO MEMBER_SINCE; Optional; precision 0)"},"memoOffset":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Offset in Credit Memo File (SDO MEMO_OFFSET; Optional; precision 0)"},"memoSize":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Size of Memo in Bytes (SDO MEMO_SIZE; Optional; precision 0)"},"modify":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Modified Count (SDO MODIFY; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Account Name (SDO NAME; Optional; precision 0)"},"nextCreditRev":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Next Credit Review (SDO NEXT_CREDIT_REV; Optional; precision 0)"},"noOfHeader":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"No of trans (SDO NO_OF_HEADER; Optional; precision 0)"},"overrideProductNominal":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Override product nominal code in invoicing and pop (SDO OVERRIDE_PRODUCT_NOMINAL; Optional; precision 0)"},"overrideProductTax":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Override product tax code in invoicing (SDO OVERRIDE_PRODUCT_TAX; Optional; precision 0)"},"paymentBf":{"type":"number","nullable":true,"description":"Payments Brought Forward (SDO PAYMENT_BF; Optional; precision 2)"},"paymentCf":{"type":"number","nullable":true,"description":"Payments Carry Forward (SDO PAYMENT_CF; Optional; precision 2)"},"paymentDueDays":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Payment Due Days (SDO PAYMENT_DUE_DAYS; Optional; precision 0)"},"paymentDueFrom":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Payment Due From (SDO PAYMENT_DUE_FROM; Optional; precision 0)"},"paymentMth1":{"type":"number","nullable":true,"description":"Payments Month 1 (SDO PAYMENT_MTH1; Optional; precision 2)"},"paymentMth10":{"type":"number","nullable":true,"description":"Payments Month 10 (SDO PAYMENT_MTH10; Optional; precision 2)"},"paymentMth11":{"type":"number","nullable":true,"description":"Payments Month 11 (SDO PAYMENT_MTH11; Optional; precision 2)"},"paymentMth12":{"type":"number","nullable":true,"description":"Payments Month 12 (SDO PAYMENT_MTH12; Optional; precision 2)"},"paymentMth2":{"type":"number","nullable":true,"description":"Payments Month 2 (SDO PAYMENT_MTH2; Optional; precision 2)"},"paymentMth3":{"type":"number","nullable":true,"description":"Payments Month 3 (SDO PAYMENT_MTH3; Optional; precision 2)"},"paymentMth4":{"type":"number","nullable":true,"description":"Payments Month 4 (SDO PAYMENT_MTH4; Optional; precision 2)"},"paymentMth5":{"type":"number","nullable":true,"description":"Payments Month 5 (SDO PAYMENT_MTH5; Optional; precision 2)"},"paymentMth6":{"type":"number","nullable":true,"description":"Payments Month 6 (SDO PAYMENT_MTH6; Optional; precision 2)"},"paymentMth7":{"type":"number","nullable":true,"description":"Payments Month 7 (SDO PAYMENT_MTH7; Optional; precision 2)"},"paymentMth8":{"type":"number","nullable":true,"description":"Payments Month 8 (SDO PAYMENT_MTH8; Optional; precision 2)"},"paymentMth9":{"type":"number","nullable":true,"description":"Payments Month 9 (SDO PAYMENT_MTH9; Optional; precision 2)"},"paymentType":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Payment Method (SDO PAYMENT_TYPE; Optional; precision 0)"},"priceListRef":{"type":"string","nullable":true,"maxLength":8,"description":"Price list reference (SDO PRICE_LIST_REF; Optional; precision 0)"},"priorYear":{"type":"number","nullable":true,"description":"Prior YTD (SDO PRIOR_YEAR; Optional; precision 2)"},"priorityTrader":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Priority Customer (SDO PRIORITY_TRADER; Optional; precision 0)"},"receiptBf":{"type":"number","nullable":true,"description":"Receipts Brought Forward (SDO RECEIPT_BF; Optional; precision 2)"},"receiptCf":{"type":"number","nullable":true,"description":"Receipts Carry Forward (SDO RECEIPT_CF; Optional; precision 2)"},"receiptMth1":{"type":"number","nullable":true,"description":"Receipts Month 1 (SDO RECEIPT_MTH1; Optional; precision 2)"},"receiptMth10":{"type":"number","nullable":true,"description":"Receipts Month 10 (SDO RECEIPT_MTH10; Optional; precision 2)"},"receiptMth11":{"type":"number","nullable":true,"description":"Receipts Month 11 (SDO RECEIPT_MTH11; Optional; precision 2)"},"receiptMth12":{"type":"number","nullable":true,"description":"Receipts Month 12 (SDO RECEIPT_MTH12; Optional; precision 2)"},"receiptMth2":{"type":"number","nullable":true,"description":"Receipts Month 2 (SDO RECEIPT_MTH2; Optional; precision 2)"},"receiptMth3":{"type":"number","nullable":true,"description":"Receipts Month 3 (SDO RECEIPT_MTH3; Optional; precision 2)"},"receiptMth4":{"type":"number","nullable":true,"description":"Receipts Month 4 (SDO RECEIPT_MTH4; Optional; precision 2)"},"receiptMth5":{"type":"number","nullable":true,"description":"Receipts Month 5 (SDO RECEIPT_MTH5; Optional; precision 2)"},"receiptMth6":{"type":"number","nullable":true,"description":"Receipts Month 6 (SDO RECEIPT_MTH6; Optional; precision 2)"},"receiptMth7":{"type":"number","nullable":true,"description":"Receipts Month 7 (SDO RECEIPT_MTH7; Optional; precision 2)"},"receiptMth8":{"type":"number","nullable":true,"description":"Receipts Month 8 (SDO RECEIPT_MTH8; Optional; precision 2)"},"receiptMth9":{"type":"number","nullable":true,"description":"Receipts Month 9 (SDO RECEIPT_MTH9; Optional; precision 2)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"salesRep":{"type":"string","nullable":true,"maxLength":60,"description":"Name of Sales Representative (SDO SALES_REP; Optional; precision 0)"},"sendInvoicesElectronically":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Send Invoices to this account via Email (SDO SEND_INVOICES_ELECTRONICALLY; Optional; precision 0)"},"sendLettersElectronically":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Send letters to this account via Email (SDO SEND_LETTERS_ELECTRONICALLY; Optional; precision 0)"},"settlementDiscRate":{"type":"number","nullable":true,"description":"Settlement Discount Rate (SDO SETTLEMENT_DISC_RATE; Optional; precision 2)"},"settlementDueDays":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Settlement Due Days (SDO SETTLEMENT_DUE_DAYS; Optional; precision 0)"},"telephone":{"type":"string","nullable":true,"maxLength":30,"description":"Telephone Number (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","nullable":true,"maxLength":30,"description":"Second Telephone Number (SDO TELEPHONE_2; Optional; precision 0)"},"terms":{"type":"string","nullable":true,"maxLength":30,"description":"Terms (SDO TERMS; Optional; precision 0)"},"termsAgreedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Terms agreed flag (SDO TERMS_AGREED_FLAG; Optional; precision 0)"},"tradeContact":{"type":"string","nullable":true,"maxLength":30,"description":"Name of Trade Contact (SDO TRADE_CONTACT; Optional; precision 0)"},"traderForeignBalance":{"type":"number","nullable":true,"description":"Foreign Balance (SDO TRADER_FOREIGN_BALANCE; Optional; precision 6)"},"turnoverMtd":{"type":"number","nullable":true,"description":"Turnover Month To Date (SDO TURNOVER_MTD; Optional; precision 2)"},"turnoverYtd":{"type":"number","nullable":true,"description":"Turnover Year To Date (SDO TURNOVER_YTD; Optional; precision 2)"},"twitter":{"type":"string","nullable":true,"maxLength":35,"description":"Twitter Address (SDO TWITTER; Optional; precision 0)"},"ukimsNumber":{"type":"string","nullable":true,"maxLength":64,"description":"UKIMS number (SDO UKIMS_NUMBER; Optional; precision 0)"},"vatRegNumber":{"type":"string","nullable":true,"maxLength":20,"description":"VAT Registration Number (SDO VAT_REG_NUMBER; Optional; precision 0)"},"www":{"type":"string","nullable":true,"maxLength":255,"description":"WWW Address (SDO WWW; Optional; precision 0)"},"id":{"type":"string"}},"required":["accountManager","accountOnHold","accountOpened","accountRef","accountStatus","accountType","accountTypeCustomer","accountTypeDonor","accountTypeMember","address1","address2","address3","address4","address5","analysis1","analysis2","analysis3","analysis4","analysis5","analysis6","averagePayDays","bacs","bacsReference","balance","bankAccountName","bankAccountNumber","bankAdditionalRef1","bankAdditionalRef2","bankAdditionalRef3","bankAddress1","bankAddress2","bankAddress3","bankAddress4","bankAddress5","bankBicswift","bankIban","bankName","bankRollNumber","bankSortCode","buildSocietyRef","buildingSociety","canApplyCharges","companyRegistrationNumber","contactName","countryCode","creditAppReceived","creditAppliedFor","creditBf","creditBureau","creditCardNo","creditCf","creditLimit","creditMth1","creditMth10","creditMth11","creditMth12","creditMth2","creditMth3","creditMth4","creditMth5","creditMth6","creditMth7","creditMth8","creditMth9","creditPosition","creditReference","currency","dateCreditAppReceived","declarationValidFrom","defNomCode","defTaxCode","delAddress1","delAddress2","delAddress3","delAddress4","delAddress5","delContactName","delFax","delName","delTelephone","deletedFlag","deptNumber","discountRate","discountType","disputed","donorForename","donorSurname","donorTitle","dunsNumber","eMail","eMail2","eMail3","eMail4","eMail5","eMail6","ecCode","eoriNumber","excludeFromPaymentReminderEmails","externalUsage","facebook","fax","firstHeader","firstInvoice","giftAidEnabled","holdMail","inactiveFlag","incoterms","invoiceBf","invoiceCf","invoiceMth1","invoiceMth10","invoiceMth11","invoiceMth12","invoiceMth2","invoiceMth3","invoiceMth4","invoiceMth5","invoiceMth6","invoiceMth7","invoiceMth8","invoiceMth9","lastCreditRev","lastHeader","lastInvDate","lastPayDate","lastUpdated","linkedin","mandateref","memberReminderDate","memberRenewalDate","memberSince","memoOffset","memoSize","modify","name","nextCreditRev","noOfHeader","overrideProductNominal","overrideProductTax","paymentBf","paymentCf","paymentDueDays","paymentDueFrom","paymentMth1","paymentMth10","paymentMth11","paymentMth12","paymentMth2","paymentMth3","paymentMth4","paymentMth5","paymentMth6","paymentMth7","paymentMth8","paymentMth9","paymentType","priceListRef","priorYear","priorityTrader","receiptBf","receiptCf","receiptMth1","receiptMth10","receiptMth11","receiptMth12","receiptMth2","receiptMth3","receiptMth4","receiptMth5","receiptMth6","receiptMth7","receiptMth8","receiptMth9","recordCreateDate","recordDeleted","recordModifyDate","salesRep","sendInvoicesElectronically","sendLettersElectronically","settlementDiscRate","settlementDueDays","telephone","telephone2","terms","termsAgreedFlag","tradeContact","traderForeignBalance","turnoverMtd","turnoverYtd","twitter","ukimsNumber","vatRegNumber","www","id"],"additionalProperties":false},"Us2026_1_customers_get":{"type":"object","properties":{"accountNumber":{"type":"string","nullable":true,"maxLength":100000},"averageDaysToPayInvoices":{"type":"number","nullable":true},"balance":{"type":"number"},"billToContact":{"type":"object","nullable":true,"properties":{"address":{"type":"object","nullable":true,"properties":{"address1":{"type":"string","nullable":true,"maxLength":100000},"address2":{"type":"string","nullable":true,"maxLength":100000},"city":{"type":"string","nullable":true,"maxLength":100000},"country":{"type":"string","nullable":true,"maxLength":100000},"salesTaxCode":{"type":"string","nullable":true,"maxLength":100000},"state":{"type":"string","nullable":true,"maxLength":100000},"zip":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"companyName":{"type":"string","nullable":true,"maxLength":100000},"email":{"type":"string","nullable":true,"maxLength":100000},"firstName":{"type":"string","nullable":true,"maxLength":100000},"gender":{"type":"integer","enum":[2,1,0]},"isPrimaryContact":{"type":"boolean"},"lastName":{"type":"string","nullable":true,"maxLength":100000},"lastSavedAt":{"type":"string"},"middleInitial":{"type":"string","nullable":true,"maxLength":100000},"name":{"type":"string","nullable":true,"maxLength":100000},"nameToUseOnForms":{"type":"integer","enum":[1,0]},"notes":{"type":"string","nullable":true,"maxLength":100000},"phoneNumbers":{"type":"array","nullable":true,"items":{"type":"object","nullable":true,"properties":{"key":{"type":"integer","enum":[3,4,5,6,0,1,2]},"number":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"maxItems":10000},"prefix":{"type":"string","nullable":true,"maxLength":100000},"suffix":{"type":"string","nullable":true,"maxLength":100000},"title":{"type":"string","nullable":true,"maxLength":100000},"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"cashAccountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"category":{"type":"string","nullable":true,"maxLength":100000},"contacts":{"type":"array","nullable":true,"items":{"type":"object","nullable":true,"properties":{"address":{"type":"object","nullable":true,"properties":{"address1":{"type":"string","nullable":true,"maxLength":100000},"address2":{"type":"string","nullable":true,"maxLength":100000},"city":{"type":"string","nullable":true,"maxLength":100000},"country":{"type":"string","nullable":true,"maxLength":100000},"salesTaxCode":{"type":"string","nullable":true,"maxLength":100000},"state":{"type":"string","nullable":true,"maxLength":100000},"zip":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"companyName":{"type":"string","nullable":true,"maxLength":100000},"email":{"type":"string","nullable":true,"maxLength":100000},"firstName":{"type":"string","nullable":true,"maxLength":100000},"gender":{"type":"integer","enum":[2,1,0]},"isPrimaryContact":{"type":"boolean"},"lastName":{"type":"string","nullable":true,"maxLength":100000},"lastSavedAt":{"type":"string"},"middleInitial":{"type":"string","nullable":true,"maxLength":100000},"name":{"type":"string","nullable":true,"maxLength":100000},"nameToUseOnForms":{"type":"integer","enum":[1,0]},"notes":{"type":"string","nullable":true,"maxLength":100000},"phoneNumbers":{"type":"array","nullable":true,"items":{"type":"object","nullable":true,"properties":{"key":{"type":"integer","enum":[3,4,5,6,0,1,2]},"number":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"maxItems":10000},"prefix":{"type":"string","nullable":true,"maxLength":100000},"suffix":{"type":"string","nullable":true,"maxLength":100000},"title":{"type":"string","nullable":true,"maxLength":100000},"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"maxItems":10000},"creditStatus":{"type":"integer","enum":[4,3,0,2,1]},"customerSince":{"type":"string","nullable":true},"customFieldValues":{"type":"array","nullable":true,"items":{"type":"object","nullable":true,"properties":{"key":{"type":"string","nullable":true,"maxLength":100000},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"nullable":true},{"nullable":true}]}},"additionalProperties":false},"maxItems":10000},"email":{"type":"string","nullable":true,"maxLength":100000},"code":{"type":"string","nullable":true,"maxLength":100000},"isInactive":{"type":"boolean"},"isProspect":{"type":"boolean"},"lastInvoiceAmount":{"type":"number"},"lastInvoiceDate":{"type":"string","nullable":true},"lastPaymentAmount":{"type":"number"},"lastPaymentDate":{"type":"string","nullable":true},"lastSavedAt":{"type":"string"},"lastStatementDate":{"type":"string","nullable":true},"name":{"type":"string","nullable":true,"maxLength":100000},"openPurchaseOrderNumber":{"type":"string","nullable":true,"maxLength":100000},"paymentMethod":{"type":"string","nullable":true,"maxLength":100000},"phoneNumbers":{"type":"array","nullable":true,"items":{"type":"object","nullable":true,"properties":{"key":{"type":"integer","enum":[3,4,5,6,0,1,2]},"number":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"maxItems":10000},"priceLevel":{"type":"integer","minimum":-32768,"maximum":32767},"replaceInventoryItemIDWithPartNumber":{"type":"boolean"},"replaceInventoryItemIDWithUPC":{"type":"boolean"},"resaleNumber":{"type":"string","nullable":true,"maxLength":100000},"salesRepresentativeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"shipToContact":{"type":"object","nullable":true,"properties":{"address":{"type":"object","nullable":true,"properties":{"address1":{"type":"string","nullable":true,"maxLength":100000},"address2":{"type":"string","nullable":true,"maxLength":100000},"city":{"type":"string","nullable":true,"maxLength":100000},"country":{"type":"string","nullable":true,"maxLength":100000},"salesTaxCode":{"type":"string","nullable":true,"maxLength":100000},"state":{"type":"string","nullable":true,"maxLength":100000},"zip":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"companyName":{"type":"string","nullable":true,"maxLength":100000},"email":{"type":"string","nullable":true,"maxLength":100000},"firstName":{"type":"string","nullable":true,"maxLength":100000},"gender":{"type":"integer","enum":[2,1,0]},"isPrimaryContact":{"type":"boolean"},"lastName":{"type":"string","nullable":true,"maxLength":100000},"lastSavedAt":{"type":"string"},"middleInitial":{"type":"string","nullable":true,"maxLength":100000},"name":{"type":"string","nullable":true,"maxLength":100000},"nameToUseOnForms":{"type":"integer","enum":[1,0]},"notes":{"type":"string","nullable":true,"maxLength":100000},"phoneNumbers":{"type":"array","nullable":true,"items":{"type":"object","nullable":true,"properties":{"key":{"type":"integer","enum":[3,4,5,6,0,1,2]},"number":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"maxItems":10000},"prefix":{"type":"string","nullable":true,"maxLength":100000},"suffix":{"type":"string","nullable":true,"maxLength":100000},"title":{"type":"string","nullable":true,"maxLength":100000},"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"shipVia":{"type":"string","nullable":true,"maxLength":100000},"terms":{"type":"object","nullable":true,"properties":{"chargeInterest":{"type":"boolean"},"creditLimit":{"type":"number"},"discountDays":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"discountPercent":{"type":"number"},"dueDays":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"isStandardTerms":{"type":"boolean"},"paymentTimeFrame":{"type":"integer","enum":[0,4,2,3,1]},"useDiscounts":{"type":"boolean"}},"additionalProperties":false},"useEmailToDeliverForms":{"type":"boolean"},"usualSalesAccountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"webSiteURL":{"type":"string","nullable":true,"maxLength":100000},"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"Uk26_3_customers_create":{"type":"object","properties":{"accountRef":{"type":"string","minLength":1,"maxLength":8,"pattern":"^[^\\0]*$","description":"Account Reference (SDO ACCOUNT_REF; Required; precision 0)"},"address1":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line5 (SDO ADDRESS_5; Optional; precision 0)"},"analysis1":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"contactName":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Contact Name (SDO CONTACT_NAME; Optional; precision 0)"},"countryCode":{"type":"string","maxLength":2,"pattern":"^[^\\0]*$","description":"Country Code (SDO COUNTRY_CODE; Optional; precision 0)"},"creditLimit":{"type":"number","description":"Credit Limit (SDO CREDIT_LIMIT; Optional; precision 2)"},"eMail":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"E-Mail Address (SDO E_MAIL; Optional; precision 0)"},"fax":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Fax Number (SDO FAX; Optional; precision 0)"},"name":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Account Name (SDO NAME; Optional; precision 0)"},"telephone":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Telephone Number (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Second Telephone Number (SDO TELEPHONE_2; Optional; precision 0)"},"vatRegNumber":{"type":"string","maxLength":20,"pattern":"^[^\\0]*$","description":"VAT Registration Number (SDO VAT_REG_NUMBER; Optional; precision 0)"},"www":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"WWW Address (SDO WWW; Optional; precision 0)"}},"required":["accountRef"],"additionalProperties":false},"Uk27_2_customers_create":{"type":"object","properties":{"accountRef":{"type":"string","minLength":1,"maxLength":8,"pattern":"^[^\\0]*$","description":"Account Reference (SDO ACCOUNT_REF; Required; precision 0)"},"address1":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line5 (SDO ADDRESS_5; Optional; precision 0)"},"analysis1":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"contactName":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Contact Name (SDO CONTACT_NAME; Optional; precision 0)"},"countryCode":{"type":"string","maxLength":2,"pattern":"^[^\\0]*$","description":"Country Code (SDO COUNTRY_CODE; Optional; precision 0)"},"creditLimit":{"type":"number","description":"Credit Limit (SDO CREDIT_LIMIT; Optional; precision 2)"},"eMail":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"E-Mail Address (SDO E_MAIL; Optional; precision 0)"},"eoriNumber":{"type":"string","maxLength":17,"pattern":"^[^\\0]*$","description":"EORI number (SDO EORI_NUMBER; Optional; precision 0)"},"fax":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Fax Number (SDO FAX; Optional; precision 0)"},"incoterms":{"type":"integer","minimum":-32768,"maximum":32767,"description":"Incoterms (SDO INCOTERMS; Optional; precision 0)"},"name":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Account Name (SDO NAME; Optional; precision 0)"},"telephone":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Telephone Number (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Second Telephone Number (SDO TELEPHONE_2; Optional; precision 0)"},"vatRegNumber":{"type":"string","maxLength":20,"pattern":"^[^\\0]*$","description":"VAT Registration Number (SDO VAT_REG_NUMBER; Optional; precision 0)"},"www":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"WWW Address (SDO WWW; Optional; precision 0)"}},"required":["accountRef"],"additionalProperties":false},"Uk28_1_customers_create":{"type":"object","properties":{"accountRef":{"type":"string","minLength":1,"maxLength":8,"pattern":"^[^\\0]*$","description":"Account Reference (SDO ACCOUNT_REF; Required; precision 0)"},"address1":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line5 (SDO ADDRESS_5; Optional; precision 0)"},"analysis1":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"contactName":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Contact Name (SDO CONTACT_NAME; Optional; precision 0)"},"countryCode":{"type":"string","maxLength":2,"pattern":"^[^\\0]*$","description":"Country Code (SDO COUNTRY_CODE; Optional; precision 0)"},"creditLimit":{"type":"number","description":"Credit Limit (SDO CREDIT_LIMIT; Optional; precision 2)"},"eMail":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"E-Mail Address (SDO E_MAIL; Optional; precision 0)"},"eoriNumber":{"type":"string","maxLength":17,"pattern":"^[^\\0]*$","description":"EORI number (SDO EORI_NUMBER; Optional; precision 0)"},"fax":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Fax Number (SDO FAX; Optional; precision 0)"},"incoterms":{"type":"integer","minimum":-32768,"maximum":32767,"description":"Incoterms (SDO INCOTERMS; Optional; precision 0)"},"name":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Account Name (SDO NAME; Optional; precision 0)"},"telephone":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Telephone Number (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Second Telephone Number (SDO TELEPHONE_2; Optional; precision 0)"},"vatRegNumber":{"type":"string","maxLength":20,"pattern":"^[^\\0]*$","description":"VAT Registration Number (SDO VAT_REG_NUMBER; Optional; precision 0)"},"www":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"WWW Address (SDO WWW; Optional; precision 0)"}},"required":["accountRef"],"additionalProperties":false},"Uk29_2_customers_create":{"type":"object","properties":{"accountRef":{"type":"string","minLength":1,"maxLength":8,"pattern":"^[^\\0]*$","description":"Account Reference (SDO ACCOUNT_REF; Required; precision 0)"},"address1":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line5 (SDO ADDRESS_5; Optional; precision 0)"},"analysis1":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"analysis4":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 4 (SDO ANALYSIS_4; Optional; precision 0)"},"analysis5":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 5 (SDO ANALYSIS_5; Optional; precision 0)"},"analysis6":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 6 (SDO ANALYSIS_6; Optional; precision 0)"},"companyRegistrationNumber":{"type":"string","maxLength":16,"pattern":"^[^\\0]*$","description":"Company Reg. Number (SDO COMPANY_REGISTRATION_NUMBER; Optional; precision 0)"},"contactName":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Contact Name (SDO CONTACT_NAME; Optional; precision 0)"},"countryCode":{"type":"string","maxLength":2,"pattern":"^[^\\0]*$","description":"Country Code (SDO COUNTRY_CODE; Optional; precision 0)"},"creditLimit":{"type":"number","description":"Credit Limit (SDO CREDIT_LIMIT; Optional; precision 2)"},"eMail":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"E-Mail Address (SDO E_MAIL; Optional; precision 0)"},"eoriNumber":{"type":"string","maxLength":17,"pattern":"^[^\\0]*$","description":"EORI number (SDO EORI_NUMBER; Optional; precision 0)"},"fax":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Fax Number (SDO FAX; Optional; precision 0)"},"incoterms":{"type":"integer","minimum":-32768,"maximum":32767,"description":"Incoterms (SDO INCOTERMS; Optional; precision 0)"},"name":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Account Name (SDO NAME; Optional; precision 0)"},"telephone":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Telephone Number (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Second Telephone Number (SDO TELEPHONE_2; Optional; precision 0)"},"vatRegNumber":{"type":"string","maxLength":20,"pattern":"^[^\\0]*$","description":"VAT Registration Number (SDO VAT_REG_NUMBER; Optional; precision 0)"},"www":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"WWW Address (SDO WWW; Optional; precision 0)"}},"required":["accountRef"],"additionalProperties":false},"Uk30_1_customers_create":{"type":"object","properties":{"accountRef":{"type":"string","minLength":1,"maxLength":8,"pattern":"^[^\\0]*$","description":"Account Reference (SDO ACCOUNT_REF; Required; precision 0)"},"address1":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line5 (SDO ADDRESS_5; Optional; precision 0)"},"analysis1":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"analysis4":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 4 (SDO ANALYSIS_4; Optional; precision 0)"},"analysis5":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 5 (SDO ANALYSIS_5; Optional; precision 0)"},"analysis6":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 6 (SDO ANALYSIS_6; Optional; precision 0)"},"companyRegistrationNumber":{"type":"string","maxLength":16,"pattern":"^[^\\0]*$","description":"Company Reg. Number (SDO COMPANY_REGISTRATION_NUMBER; Optional; precision 0)"},"contactName":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Contact Name (SDO CONTACT_NAME; Optional; precision 0)"},"countryCode":{"type":"string","maxLength":2,"pattern":"^[^\\0]*$","description":"Country Code (SDO COUNTRY_CODE; Optional; precision 0)"},"creditLimit":{"type":"number","description":"Credit Limit (SDO CREDIT_LIMIT; Optional; precision 2)"},"eMail":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"E-Mail Address (SDO E_MAIL; Optional; precision 0)"},"eoriNumber":{"type":"string","maxLength":17,"pattern":"^[^\\0]*$","description":"EORI number (SDO EORI_NUMBER; Optional; precision 0)"},"fax":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Fax Number (SDO FAX; Optional; precision 0)"},"incoterms":{"type":"integer","minimum":-32768,"maximum":32767,"description":"Incoterms (SDO INCOTERMS; Optional; precision 0)"},"name":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Account Name (SDO NAME; Optional; precision 0)"},"telephone":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Telephone Number (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Second Telephone Number (SDO TELEPHONE_2; Optional; precision 0)"},"vatRegNumber":{"type":"string","maxLength":20,"pattern":"^[^\\0]*$","description":"VAT Registration Number (SDO VAT_REG_NUMBER; Optional; precision 0)"},"www":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"WWW Address (SDO WWW; Optional; precision 0)"}},"required":["accountRef"],"additionalProperties":false},"Uk31_1_customers_create":{"type":"object","properties":{"accountRef":{"type":"string","minLength":1,"maxLength":8,"pattern":"^[^\\0]*$","description":"Account Reference (SDO ACCOUNT_REF; Required; precision 0)"},"address1":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line5 (SDO ADDRESS_5; Optional; precision 0)"},"analysis1":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"analysis4":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 4 (SDO ANALYSIS_4; Optional; precision 0)"},"analysis5":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 5 (SDO ANALYSIS_5; Optional; precision 0)"},"analysis6":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 6 (SDO ANALYSIS_6; Optional; precision 0)"},"companyRegistrationNumber":{"type":"string","maxLength":16,"pattern":"^[^\\0]*$","description":"Company Reg. Number (SDO COMPANY_REGISTRATION_NUMBER; Optional; precision 0)"},"contactName":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Contact Name (SDO CONTACT_NAME; Optional; precision 0)"},"countryCode":{"type":"string","maxLength":2,"pattern":"^[^\\0]*$","description":"Country Code (SDO COUNTRY_CODE; Optional; precision 0)"},"creditLimit":{"type":"number","description":"Credit Limit (SDO CREDIT_LIMIT; Optional; precision 2)"},"eMail":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"E-Mail Address (SDO E_MAIL; Optional; precision 0)"},"eoriNumber":{"type":"string","maxLength":17,"pattern":"^[^\\0]*$","description":"EORI number (SDO EORI_NUMBER; Optional; precision 0)"},"fax":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Fax Number (SDO FAX; Optional; precision 0)"},"incoterms":{"type":"integer","minimum":-32768,"maximum":32767,"description":"Incoterms (SDO INCOTERMS; Optional; precision 0)"},"name":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Account Name (SDO NAME; Optional; precision 0)"},"telephone":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Telephone Number (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Second Telephone Number (SDO TELEPHONE_2; Optional; precision 0)"},"vatRegNumber":{"type":"string","maxLength":20,"pattern":"^[^\\0]*$","description":"VAT Registration Number (SDO VAT_REG_NUMBER; Optional; precision 0)"},"www":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"WWW Address (SDO WWW; Optional; precision 0)"}},"required":["accountRef"],"additionalProperties":false},"Uk32_1_customers_create":{"type":"object","properties":{"accountRef":{"type":"string","minLength":1,"maxLength":8,"pattern":"^[^\\0]*$","description":"Account Reference (SDO ACCOUNT_REF; Required; precision 0)"},"address1":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line5 (SDO ADDRESS_5; Optional; precision 0)"},"analysis1":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"analysis4":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 4 (SDO ANALYSIS_4; Optional; precision 0)"},"analysis5":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 5 (SDO ANALYSIS_5; Optional; precision 0)"},"analysis6":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 6 (SDO ANALYSIS_6; Optional; precision 0)"},"companyRegistrationNumber":{"type":"string","maxLength":16,"pattern":"^[^\\0]*$","description":"Company Reg. Number (SDO COMPANY_REGISTRATION_NUMBER; Optional; precision 0)"},"contactName":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Contact Name (SDO CONTACT_NAME; Optional; precision 0)"},"countryCode":{"type":"string","maxLength":2,"pattern":"^[^\\0]*$","description":"Country Code (SDO COUNTRY_CODE; Optional; precision 0)"},"creditLimit":{"type":"number","description":"Credit Limit (SDO CREDIT_LIMIT; Optional; precision 2)"},"eMail":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"E-Mail Address (SDO E_MAIL; Optional; precision 0)"},"eoriNumber":{"type":"string","maxLength":17,"pattern":"^[^\\0]*$","description":"EORI number (SDO EORI_NUMBER; Optional; precision 0)"},"fax":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Fax Number (SDO FAX; Optional; precision 0)"},"incoterms":{"type":"integer","minimum":-32768,"maximum":32767,"description":"Incoterms (SDO INCOTERMS; Optional; precision 0)"},"name":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Account Name (SDO NAME; Optional; precision 0)"},"telephone":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Telephone Number (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Second Telephone Number (SDO TELEPHONE_2; Optional; precision 0)"},"vatRegNumber":{"type":"string","maxLength":20,"pattern":"^[^\\0]*$","description":"VAT Registration Number (SDO VAT_REG_NUMBER; Optional; precision 0)"},"www":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"WWW Address (SDO WWW; Optional; precision 0)"}},"required":["accountRef"],"additionalProperties":false},"Uk33_1_customers_create":{"type":"object","properties":{"accountRef":{"type":"string","minLength":1,"maxLength":8,"pattern":"^[^\\0]*$","description":"Account Reference (SDO ACCOUNT_REF; Required; precision 0)"},"address1":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line5 (SDO ADDRESS_5; Optional; precision 0)"},"analysis1":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"analysis4":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 4 (SDO ANALYSIS_4; Optional; precision 0)"},"analysis5":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 5 (SDO ANALYSIS_5; Optional; precision 0)"},"analysis6":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 6 (SDO ANALYSIS_6; Optional; precision 0)"},"companyRegistrationNumber":{"type":"string","maxLength":16,"pattern":"^[^\\0]*$","description":"Company Reg. Number (SDO COMPANY_REGISTRATION_NUMBER; Optional; precision 0)"},"contactName":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Contact Name (SDO CONTACT_NAME; Optional; precision 0)"},"countryCode":{"type":"string","maxLength":2,"pattern":"^[^\\0]*$","description":"Country Code (SDO COUNTRY_CODE; Optional; precision 0)"},"creditLimit":{"type":"number","description":"Credit Limit (SDO CREDIT_LIMIT; Optional; precision 2)"},"eMail":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"E-Mail Address (SDO E_MAIL; Optional; precision 0)"},"eoriNumber":{"type":"string","maxLength":17,"pattern":"^[^\\0]*$","description":"EORI number (SDO EORI_NUMBER; Optional; precision 0)"},"fax":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Fax Number (SDO FAX; Optional; precision 0)"},"incoterms":{"type":"integer","minimum":-32768,"maximum":32767,"description":"Incoterms (SDO INCOTERMS; Optional; precision 0)"},"name":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Account Name (SDO NAME; Optional; precision 0)"},"telephone":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Telephone Number (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Second Telephone Number (SDO TELEPHONE_2; Optional; precision 0)"},"ukimsNumber":{"type":"string","maxLength":64,"pattern":"^[^\\0]*$","description":"UKIMS number (SDO UKIMS_NUMBER; Optional; precision 0)"},"vatRegNumber":{"type":"string","maxLength":20,"pattern":"^[^\\0]*$","description":"VAT Registration Number (SDO VAT_REG_NUMBER; Optional; precision 0)"},"www":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"WWW Address (SDO WWW; Optional; precision 0)"}},"required":["accountRef"],"additionalProperties":false},"Uk34_1_customers_create":{"type":"object","properties":{"accountRef":{"type":"string","minLength":1,"maxLength":8,"pattern":"^[^\\0]*$","description":"Account Reference (SDO ACCOUNT_REF; Required; precision 0)"},"address1":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line5 (SDO ADDRESS_5; Optional; precision 0)"},"analysis1":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"analysis4":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 4 (SDO ANALYSIS_4; Optional; precision 0)"},"analysis5":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 5 (SDO ANALYSIS_5; Optional; precision 0)"},"analysis6":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 6 (SDO ANALYSIS_6; Optional; precision 0)"},"companyRegistrationNumber":{"type":"string","maxLength":16,"pattern":"^[^\\0]*$","description":"Company Reg. Number (SDO COMPANY_REGISTRATION_NUMBER; Optional; precision 0)"},"contactName":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Contact Name (SDO CONTACT_NAME; Optional; precision 0)"},"countryCode":{"type":"string","maxLength":2,"pattern":"^[^\\0]*$","description":"Country Code (SDO COUNTRY_CODE; Optional; precision 0)"},"creditLimit":{"type":"number","description":"Credit Limit (SDO CREDIT_LIMIT; Optional; precision 2)"},"eMail":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"E-Mail Address (SDO E_MAIL; Optional; precision 0)"},"eoriNumber":{"type":"string","maxLength":17,"pattern":"^[^\\0]*$","description":"EORI number (SDO EORI_NUMBER; Optional; precision 0)"},"fax":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Fax Number (SDO FAX; Optional; precision 0)"},"incoterms":{"type":"integer","minimum":-32768,"maximum":32767,"description":"Incoterms (SDO INCOTERMS; Optional; precision 0)"},"name":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Account Name (SDO NAME; Optional; precision 0)"},"telephone":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Telephone Number (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Second Telephone Number (SDO TELEPHONE_2; Optional; precision 0)"},"ukimsNumber":{"type":"string","maxLength":64,"pattern":"^[^\\0]*$","description":"UKIMS number (SDO UKIMS_NUMBER; Optional; precision 0)"},"vatRegNumber":{"type":"string","maxLength":20,"pattern":"^[^\\0]*$","description":"VAT Registration Number (SDO VAT_REG_NUMBER; Optional; precision 0)"},"www":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"WWW Address (SDO WWW; Optional; precision 0)"}},"required":["accountRef"],"additionalProperties":false},"Us2026_1_customers_create":{"type":"object","properties":{"accountNumber":{"type":"string","nullable":true,"maxLength":100000},"billToContact":{"type":"object","nullable":true,"properties":{"address":{"type":"object","nullable":true,"properties":{"address1":{"type":"string","nullable":true,"maxLength":100000},"address2":{"type":"string","nullable":true,"maxLength":100000},"city":{"type":"string","nullable":true,"maxLength":100000},"country":{"type":"string","nullable":true,"maxLength":100000},"salesTaxCode":{"type":"string","nullable":true,"maxLength":100000},"state":{"type":"string","nullable":true,"maxLength":100000},"zip":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"companyName":{"type":"string","nullable":true,"maxLength":100000},"email":{"type":"string","nullable":true,"maxLength":100000},"firstName":{"type":"string","nullable":true,"maxLength":100000},"gender":{"type":"integer","enum":[2,1,0]},"lastName":{"type":"string","nullable":true,"maxLength":100000},"middleInitial":{"type":"string","nullable":true,"maxLength":100000},"nameToUseOnForms":{"type":"integer","enum":[1,0]},"notes":{"type":"string","nullable":true,"maxLength":100000},"prefix":{"type":"string","nullable":true,"maxLength":100000},"suffix":{"type":"string","nullable":true,"maxLength":100000},"title":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"cashAccountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"category":{"type":"string","nullable":true,"maxLength":100000},"creditStatus":{"type":"integer","enum":[4,3,0,2,1]},"customerSince":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"email":{"type":"string","nullable":true,"maxLength":100000},"code":{"type":"string","minLength":1,"maxLength":100000},"isInactive":{"type":"boolean"},"isProspect":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":100000},"openPurchaseOrderNumber":{"type":"string","nullable":true,"maxLength":100000},"paymentMethod":{"type":"string","nullable":true,"maxLength":100000},"priceLevel":{"type":"integer","minimum":-32768,"maximum":32767},"replaceInventoryItemIDWithPartNumber":{"type":"boolean"},"replaceInventoryItemIDWithUPC":{"type":"boolean"},"resaleNumber":{"type":"string","nullable":true,"maxLength":100000},"salesRepresentativeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"shipToContact":{"type":"object","nullable":true,"properties":{"address":{"type":"object","nullable":true,"properties":{"address1":{"type":"string","nullable":true,"maxLength":100000},"address2":{"type":"string","nullable":true,"maxLength":100000},"city":{"type":"string","nullable":true,"maxLength":100000},"country":{"type":"string","nullable":true,"maxLength":100000},"salesTaxCode":{"type":"string","nullable":true,"maxLength":100000},"state":{"type":"string","nullable":true,"maxLength":100000},"zip":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"companyName":{"type":"string","nullable":true,"maxLength":100000},"email":{"type":"string","nullable":true,"maxLength":100000},"firstName":{"type":"string","nullable":true,"maxLength":100000},"gender":{"type":"integer","enum":[2,1,0]},"lastName":{"type":"string","nullable":true,"maxLength":100000},"middleInitial":{"type":"string","nullable":true,"maxLength":100000},"nameToUseOnForms":{"type":"integer","enum":[1,0]},"notes":{"type":"string","nullable":true,"maxLength":100000},"prefix":{"type":"string","nullable":true,"maxLength":100000},"suffix":{"type":"string","nullable":true,"maxLength":100000},"title":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"shipVia":{"type":"string","nullable":true,"maxLength":100000},"terms":{"type":"object","properties":{"paymentTimeFrame":{"type":"integer","enum":[0,4,2,3,1]},"dueDays":{"type":"integer","minimum":0},"useDiscounts":{"type":"boolean"},"discountDays":{"type":"integer","minimum":0},"discountPercent":{"type":"number","minimum":0,"maximum":100},"creditLimit":{"type":"number","minimum":0},"chargeInterest":{"type":"boolean"}},"required":["paymentTimeFrame","dueDays","useDiscounts","discountDays","discountPercent","creditLimit","chargeInterest"],"additionalProperties":false},"useEmailToDeliverForms":{"type":"boolean"},"usualSalesAccountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"webSiteURL":{"type":"string","nullable":true,"maxLength":100000}},"required":["code","name"],"additionalProperties":false},"Uk26_3_customers_update":{"type":"object","properties":{"address1":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line5 (SDO ADDRESS_5; Optional; precision 0)"},"analysis1":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"contactName":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Contact Name (SDO CONTACT_NAME; Optional; precision 0)"},"countryCode":{"type":"string","maxLength":2,"pattern":"^[^\\0]*$","description":"Country Code (SDO COUNTRY_CODE; Optional; precision 0)"},"creditLimit":{"type":"number","description":"Credit Limit (SDO CREDIT_LIMIT; Optional; precision 2)"},"eMail":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"E-Mail Address (SDO E_MAIL; Optional; precision 0)"},"fax":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Fax Number (SDO FAX; Optional; precision 0)"},"name":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Account Name (SDO NAME; Optional; precision 0)"},"telephone":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Telephone Number (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Second Telephone Number (SDO TELEPHONE_2; Optional; precision 0)"},"vatRegNumber":{"type":"string","maxLength":20,"pattern":"^[^\\0]*$","description":"VAT Registration Number (SDO VAT_REG_NUMBER; Optional; precision 0)"},"www":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"WWW Address (SDO WWW; Optional; precision 0)"}},"additionalProperties":false,"minProperties":1},"Uk27_2_customers_update":{"type":"object","properties":{"address1":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line5 (SDO ADDRESS_5; Optional; precision 0)"},"analysis1":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"contactName":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Contact Name (SDO CONTACT_NAME; Optional; precision 0)"},"countryCode":{"type":"string","maxLength":2,"pattern":"^[^\\0]*$","description":"Country Code (SDO COUNTRY_CODE; Optional; precision 0)"},"creditLimit":{"type":"number","description":"Credit Limit (SDO CREDIT_LIMIT; Optional; precision 2)"},"eMail":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"E-Mail Address (SDO E_MAIL; Optional; precision 0)"},"eoriNumber":{"type":"string","maxLength":17,"pattern":"^[^\\0]*$","description":"EORI number (SDO EORI_NUMBER; Optional; precision 0)"},"fax":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Fax Number (SDO FAX; Optional; precision 0)"},"incoterms":{"type":"integer","minimum":-32768,"maximum":32767,"description":"Incoterms (SDO INCOTERMS; Optional; precision 0)"},"name":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Account Name (SDO NAME; Optional; precision 0)"},"telephone":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Telephone Number (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Second Telephone Number (SDO TELEPHONE_2; Optional; precision 0)"},"vatRegNumber":{"type":"string","maxLength":20,"pattern":"^[^\\0]*$","description":"VAT Registration Number (SDO VAT_REG_NUMBER; Optional; precision 0)"},"www":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"WWW Address (SDO WWW; Optional; precision 0)"}},"additionalProperties":false,"minProperties":1},"Uk28_1_customers_update":{"type":"object","properties":{"address1":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line5 (SDO ADDRESS_5; Optional; precision 0)"},"analysis1":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"contactName":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Contact Name (SDO CONTACT_NAME; Optional; precision 0)"},"countryCode":{"type":"string","maxLength":2,"pattern":"^[^\\0]*$","description":"Country Code (SDO COUNTRY_CODE; Optional; precision 0)"},"creditLimit":{"type":"number","description":"Credit Limit (SDO CREDIT_LIMIT; Optional; precision 2)"},"eMail":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"E-Mail Address (SDO E_MAIL; Optional; precision 0)"},"eoriNumber":{"type":"string","maxLength":17,"pattern":"^[^\\0]*$","description":"EORI number (SDO EORI_NUMBER; Optional; precision 0)"},"fax":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Fax Number (SDO FAX; Optional; precision 0)"},"incoterms":{"type":"integer","minimum":-32768,"maximum":32767,"description":"Incoterms (SDO INCOTERMS; Optional; precision 0)"},"name":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Account Name (SDO NAME; Optional; precision 0)"},"telephone":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Telephone Number (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Second Telephone Number (SDO TELEPHONE_2; Optional; precision 0)"},"vatRegNumber":{"type":"string","maxLength":20,"pattern":"^[^\\0]*$","description":"VAT Registration Number (SDO VAT_REG_NUMBER; Optional; precision 0)"},"www":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"WWW Address (SDO WWW; Optional; precision 0)"}},"additionalProperties":false,"minProperties":1},"Uk29_2_customers_update":{"type":"object","properties":{"address1":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line5 (SDO ADDRESS_5; Optional; precision 0)"},"analysis1":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"analysis4":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 4 (SDO ANALYSIS_4; Optional; precision 0)"},"analysis5":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 5 (SDO ANALYSIS_5; Optional; precision 0)"},"analysis6":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 6 (SDO ANALYSIS_6; Optional; precision 0)"},"companyRegistrationNumber":{"type":"string","maxLength":16,"pattern":"^[^\\0]*$","description":"Company Reg. Number (SDO COMPANY_REGISTRATION_NUMBER; Optional; precision 0)"},"contactName":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Contact Name (SDO CONTACT_NAME; Optional; precision 0)"},"countryCode":{"type":"string","maxLength":2,"pattern":"^[^\\0]*$","description":"Country Code (SDO COUNTRY_CODE; Optional; precision 0)"},"creditLimit":{"type":"number","description":"Credit Limit (SDO CREDIT_LIMIT; Optional; precision 2)"},"eMail":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"E-Mail Address (SDO E_MAIL; Optional; precision 0)"},"eoriNumber":{"type":"string","maxLength":17,"pattern":"^[^\\0]*$","description":"EORI number (SDO EORI_NUMBER; Optional; precision 0)"},"fax":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Fax Number (SDO FAX; Optional; precision 0)"},"incoterms":{"type":"integer","minimum":-32768,"maximum":32767,"description":"Incoterms (SDO INCOTERMS; Optional; precision 0)"},"name":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Account Name (SDO NAME; Optional; precision 0)"},"telephone":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Telephone Number (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Second Telephone Number (SDO TELEPHONE_2; Optional; precision 0)"},"vatRegNumber":{"type":"string","maxLength":20,"pattern":"^[^\\0]*$","description":"VAT Registration Number (SDO VAT_REG_NUMBER; Optional; precision 0)"},"www":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"WWW Address (SDO WWW; Optional; precision 0)"}},"additionalProperties":false,"minProperties":1},"Uk30_1_customers_update":{"type":"object","properties":{"address1":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line5 (SDO ADDRESS_5; Optional; precision 0)"},"analysis1":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"analysis4":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 4 (SDO ANALYSIS_4; Optional; precision 0)"},"analysis5":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 5 (SDO ANALYSIS_5; Optional; precision 0)"},"analysis6":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 6 (SDO ANALYSIS_6; Optional; precision 0)"},"companyRegistrationNumber":{"type":"string","maxLength":16,"pattern":"^[^\\0]*$","description":"Company Reg. Number (SDO COMPANY_REGISTRATION_NUMBER; Optional; precision 0)"},"contactName":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Contact Name (SDO CONTACT_NAME; Optional; precision 0)"},"countryCode":{"type":"string","maxLength":2,"pattern":"^[^\\0]*$","description":"Country Code (SDO COUNTRY_CODE; Optional; precision 0)"},"creditLimit":{"type":"number","description":"Credit Limit (SDO CREDIT_LIMIT; Optional; precision 2)"},"eMail":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"E-Mail Address (SDO E_MAIL; Optional; precision 0)"},"eoriNumber":{"type":"string","maxLength":17,"pattern":"^[^\\0]*$","description":"EORI number (SDO EORI_NUMBER; Optional; precision 0)"},"fax":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Fax Number (SDO FAX; Optional; precision 0)"},"incoterms":{"type":"integer","minimum":-32768,"maximum":32767,"description":"Incoterms (SDO INCOTERMS; Optional; precision 0)"},"name":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Account Name (SDO NAME; Optional; precision 0)"},"telephone":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Telephone Number (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Second Telephone Number (SDO TELEPHONE_2; Optional; precision 0)"},"vatRegNumber":{"type":"string","maxLength":20,"pattern":"^[^\\0]*$","description":"VAT Registration Number (SDO VAT_REG_NUMBER; Optional; precision 0)"},"www":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"WWW Address (SDO WWW; Optional; precision 0)"}},"additionalProperties":false,"minProperties":1},"Uk31_1_customers_update":{"type":"object","properties":{"address1":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line5 (SDO ADDRESS_5; Optional; precision 0)"},"analysis1":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"analysis4":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 4 (SDO ANALYSIS_4; Optional; precision 0)"},"analysis5":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 5 (SDO ANALYSIS_5; Optional; precision 0)"},"analysis6":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 6 (SDO ANALYSIS_6; Optional; precision 0)"},"companyRegistrationNumber":{"type":"string","maxLength":16,"pattern":"^[^\\0]*$","description":"Company Reg. Number (SDO COMPANY_REGISTRATION_NUMBER; Optional; precision 0)"},"contactName":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Contact Name (SDO CONTACT_NAME; Optional; precision 0)"},"countryCode":{"type":"string","maxLength":2,"pattern":"^[^\\0]*$","description":"Country Code (SDO COUNTRY_CODE; Optional; precision 0)"},"creditLimit":{"type":"number","description":"Credit Limit (SDO CREDIT_LIMIT; Optional; precision 2)"},"eMail":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"E-Mail Address (SDO E_MAIL; Optional; precision 0)"},"eoriNumber":{"type":"string","maxLength":17,"pattern":"^[^\\0]*$","description":"EORI number (SDO EORI_NUMBER; Optional; precision 0)"},"fax":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Fax Number (SDO FAX; Optional; precision 0)"},"incoterms":{"type":"integer","minimum":-32768,"maximum":32767,"description":"Incoterms (SDO INCOTERMS; Optional; precision 0)"},"name":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Account Name (SDO NAME; Optional; precision 0)"},"telephone":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Telephone Number (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Second Telephone Number (SDO TELEPHONE_2; Optional; precision 0)"},"vatRegNumber":{"type":"string","maxLength":20,"pattern":"^[^\\0]*$","description":"VAT Registration Number (SDO VAT_REG_NUMBER; Optional; precision 0)"},"www":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"WWW Address (SDO WWW; Optional; precision 0)"}},"additionalProperties":false,"minProperties":1},"Uk32_1_customers_update":{"type":"object","properties":{"address1":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line5 (SDO ADDRESS_5; Optional; precision 0)"},"analysis1":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"analysis4":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 4 (SDO ANALYSIS_4; Optional; precision 0)"},"analysis5":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 5 (SDO ANALYSIS_5; Optional; precision 0)"},"analysis6":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 6 (SDO ANALYSIS_6; Optional; precision 0)"},"companyRegistrationNumber":{"type":"string","maxLength":16,"pattern":"^[^\\0]*$","description":"Company Reg. Number (SDO COMPANY_REGISTRATION_NUMBER; Optional; precision 0)"},"contactName":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Contact Name (SDO CONTACT_NAME; Optional; precision 0)"},"countryCode":{"type":"string","maxLength":2,"pattern":"^[^\\0]*$","description":"Country Code (SDO COUNTRY_CODE; Optional; precision 0)"},"creditLimit":{"type":"number","description":"Credit Limit (SDO CREDIT_LIMIT; Optional; precision 2)"},"eMail":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"E-Mail Address (SDO E_MAIL; Optional; precision 0)"},"eoriNumber":{"type":"string","maxLength":17,"pattern":"^[^\\0]*$","description":"EORI number (SDO EORI_NUMBER; Optional; precision 0)"},"fax":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Fax Number (SDO FAX; Optional; precision 0)"},"incoterms":{"type":"integer","minimum":-32768,"maximum":32767,"description":"Incoterms (SDO INCOTERMS; Optional; precision 0)"},"name":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Account Name (SDO NAME; Optional; precision 0)"},"telephone":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Telephone Number (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Second Telephone Number (SDO TELEPHONE_2; Optional; precision 0)"},"vatRegNumber":{"type":"string","maxLength":20,"pattern":"^[^\\0]*$","description":"VAT Registration Number (SDO VAT_REG_NUMBER; Optional; precision 0)"},"www":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"WWW Address (SDO WWW; Optional; precision 0)"}},"additionalProperties":false,"minProperties":1},"Uk33_1_customers_update":{"type":"object","properties":{"address1":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line5 (SDO ADDRESS_5; Optional; precision 0)"},"analysis1":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"analysis4":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 4 (SDO ANALYSIS_4; Optional; precision 0)"},"analysis5":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 5 (SDO ANALYSIS_5; Optional; precision 0)"},"analysis6":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 6 (SDO ANALYSIS_6; Optional; precision 0)"},"companyRegistrationNumber":{"type":"string","maxLength":16,"pattern":"^[^\\0]*$","description":"Company Reg. Number (SDO COMPANY_REGISTRATION_NUMBER; Optional; precision 0)"},"contactName":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Contact Name (SDO CONTACT_NAME; Optional; precision 0)"},"countryCode":{"type":"string","maxLength":2,"pattern":"^[^\\0]*$","description":"Country Code (SDO COUNTRY_CODE; Optional; precision 0)"},"creditLimit":{"type":"number","description":"Credit Limit (SDO CREDIT_LIMIT; Optional; precision 2)"},"eMail":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"E-Mail Address (SDO E_MAIL; Optional; precision 0)"},"eoriNumber":{"type":"string","maxLength":17,"pattern":"^[^\\0]*$","description":"EORI number (SDO EORI_NUMBER; Optional; precision 0)"},"fax":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Fax Number (SDO FAX; Optional; precision 0)"},"incoterms":{"type":"integer","minimum":-32768,"maximum":32767,"description":"Incoterms (SDO INCOTERMS; Optional; precision 0)"},"name":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Account Name (SDO NAME; Optional; precision 0)"},"telephone":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Telephone Number (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Second Telephone Number (SDO TELEPHONE_2; Optional; precision 0)"},"ukimsNumber":{"type":"string","maxLength":64,"pattern":"^[^\\0]*$","description":"UKIMS number (SDO UKIMS_NUMBER; Optional; precision 0)"},"vatRegNumber":{"type":"string","maxLength":20,"pattern":"^[^\\0]*$","description":"VAT Registration Number (SDO VAT_REG_NUMBER; Optional; precision 0)"},"www":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"WWW Address (SDO WWW; Optional; precision 0)"}},"additionalProperties":false,"minProperties":1},"Uk34_1_customers_update":{"type":"object","properties":{"address1":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line5 (SDO ADDRESS_5; Optional; precision 0)"},"analysis1":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"analysis4":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 4 (SDO ANALYSIS_4; Optional; precision 0)"},"analysis5":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 5 (SDO ANALYSIS_5; Optional; precision 0)"},"analysis6":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 6 (SDO ANALYSIS_6; Optional; precision 0)"},"companyRegistrationNumber":{"type":"string","maxLength":16,"pattern":"^[^\\0]*$","description":"Company Reg. Number (SDO COMPANY_REGISTRATION_NUMBER; Optional; precision 0)"},"contactName":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Contact Name (SDO CONTACT_NAME; Optional; precision 0)"},"countryCode":{"type":"string","maxLength":2,"pattern":"^[^\\0]*$","description":"Country Code (SDO COUNTRY_CODE; Optional; precision 0)"},"creditLimit":{"type":"number","description":"Credit Limit (SDO CREDIT_LIMIT; Optional; precision 2)"},"eMail":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"E-Mail Address (SDO E_MAIL; Optional; precision 0)"},"eoriNumber":{"type":"string","maxLength":17,"pattern":"^[^\\0]*$","description":"EORI number (SDO EORI_NUMBER; Optional; precision 0)"},"fax":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Fax Number (SDO FAX; Optional; precision 0)"},"incoterms":{"type":"integer","minimum":-32768,"maximum":32767,"description":"Incoterms (SDO INCOTERMS; Optional; precision 0)"},"name":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Account Name (SDO NAME; Optional; precision 0)"},"telephone":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Telephone Number (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Second Telephone Number (SDO TELEPHONE_2; Optional; precision 0)"},"ukimsNumber":{"type":"string","maxLength":64,"pattern":"^[^\\0]*$","description":"UKIMS number (SDO UKIMS_NUMBER; Optional; precision 0)"},"vatRegNumber":{"type":"string","maxLength":20,"pattern":"^[^\\0]*$","description":"VAT Registration Number (SDO VAT_REG_NUMBER; Optional; precision 0)"},"www":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"WWW Address (SDO WWW; Optional; precision 0)"}},"additionalProperties":false,"minProperties":1},"Us2026_1_customers_update":{"type":"object","properties":{"accountNumber":{"type":"string","nullable":true,"maxLength":100000},"billToContact":{"type":"object","nullable":true,"properties":{"address":{"type":"object","nullable":true,"properties":{"address1":{"type":"string","nullable":true,"maxLength":100000},"address2":{"type":"string","nullable":true,"maxLength":100000},"city":{"type":"string","nullable":true,"maxLength":100000},"country":{"type":"string","nullable":true,"maxLength":100000},"salesTaxCode":{"type":"string","nullable":true,"maxLength":100000},"state":{"type":"string","nullable":true,"maxLength":100000},"zip":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"companyName":{"type":"string","nullable":true,"maxLength":100000},"email":{"type":"string","nullable":true,"maxLength":100000},"firstName":{"type":"string","nullable":true,"maxLength":100000},"gender":{"type":"integer","enum":[2,1,0]},"lastName":{"type":"string","nullable":true,"maxLength":100000},"middleInitial":{"type":"string","nullable":true,"maxLength":100000},"nameToUseOnForms":{"type":"integer","enum":[1,0]},"notes":{"type":"string","nullable":true,"maxLength":100000},"prefix":{"type":"string","nullable":true,"maxLength":100000},"suffix":{"type":"string","nullable":true,"maxLength":100000},"title":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"cashAccountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"category":{"type":"string","nullable":true,"maxLength":100000},"creditStatus":{"type":"integer","enum":[4,3,0,2,1]},"customerSince":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"email":{"type":"string","nullable":true,"maxLength":100000},"isInactive":{"type":"boolean"},"isProspect":{"type":"boolean"},"name":{"type":"string","nullable":true,"maxLength":100000},"openPurchaseOrderNumber":{"type":"string","nullable":true,"maxLength":100000},"paymentMethod":{"type":"string","nullable":true,"maxLength":100000},"priceLevel":{"type":"integer","minimum":-32768,"maximum":32767},"replaceInventoryItemIDWithPartNumber":{"type":"boolean"},"replaceInventoryItemIDWithUPC":{"type":"boolean"},"resaleNumber":{"type":"string","nullable":true,"maxLength":100000},"salesRepresentativeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"shipToContact":{"type":"object","nullable":true,"properties":{"address":{"type":"object","nullable":true,"properties":{"address1":{"type":"string","nullable":true,"maxLength":100000},"address2":{"type":"string","nullable":true,"maxLength":100000},"city":{"type":"string","nullable":true,"maxLength":100000},"country":{"type":"string","nullable":true,"maxLength":100000},"salesTaxCode":{"type":"string","nullable":true,"maxLength":100000},"state":{"type":"string","nullable":true,"maxLength":100000},"zip":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"companyName":{"type":"string","nullable":true,"maxLength":100000},"email":{"type":"string","nullable":true,"maxLength":100000},"firstName":{"type":"string","nullable":true,"maxLength":100000},"gender":{"type":"integer","enum":[2,1,0]},"lastName":{"type":"string","nullable":true,"maxLength":100000},"middleInitial":{"type":"string","nullable":true,"maxLength":100000},"nameToUseOnForms":{"type":"integer","enum":[1,0]},"notes":{"type":"string","nullable":true,"maxLength":100000},"prefix":{"type":"string","nullable":true,"maxLength":100000},"suffix":{"type":"string","nullable":true,"maxLength":100000},"title":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"shipVia":{"type":"string","nullable":true,"maxLength":100000},"terms":{"type":"object","properties":{"paymentTimeFrame":{"type":"integer","enum":[0,4,2,3,1]},"dueDays":{"type":"integer","minimum":0},"useDiscounts":{"type":"boolean"},"discountDays":{"type":"integer","minimum":0},"discountPercent":{"type":"number","minimum":0,"maximum":100},"creditLimit":{"type":"number","minimum":0},"chargeInterest":{"type":"boolean"}},"required":["paymentTimeFrame","dueDays","useDiscounts","discountDays","discountPercent","creditLimit","chargeInterest"],"additionalProperties":false},"useEmailToDeliverForms":{"type":"boolean"},"usualSalesAccountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"webSiteURL":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false,"minProperties":1},"Uk26_3_suppliers_get":{"type":"object","properties":{"accountManager":{"type":"string","nullable":true,"maxLength":60,"description":"Name of Account Manager (SDO ACCOUNT_MANAGER; Optional; precision 0)"},"accountOnHold":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Account On Hold (SDO ACCOUNT_ON_HOLD; Optional; precision 0)"},"accountOpened":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Account Opened (SDO ACCOUNT_OPENED; Optional; precision 0)"},"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Account Reference (SDO ACCOUNT_REF; Required; precision 0)"},"accountStatus":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Status (SDO ACCOUNT_STATUS; Optional; precision 0)"},"accountType":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Type (SDO ACCOUNT_TYPE; Optional; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line5 (SDO ADDRESS_5; Optional; precision 0)"},"analysis1":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"bacs":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Bank Online Payments (SDO BACS; Optional; precision 0)"},"bacsReference":{"type":"string","nullable":true,"maxLength":60,"description":"Bank BACS Ref (SDO BACS_REFERENCE; Optional; precision 0)"},"balance":{"type":"number","nullable":true,"description":"Balance (SDO BALANCE; Optional; precision 2)"},"bankAccountName":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Account Name (SDO BANK_ACCOUNT_NAME; Optional; precision 0)"},"bankAccountNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Account Number (SDO BANK_ACCOUNT_NUMBER; Optional; precision 0)"},"bankAdditionalRef1":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Additional Ref1 (SDO BANK_ADDITIONAL_REF1; Optional; precision 0)"},"bankAdditionalRef2":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Additional Ref2 (SDO BANK_ADDITIONAL_REF2; Optional; precision 0)"},"bankAdditionalRef3":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Additional Ref3 (SDO BANK_ADDITIONAL_REF3; Optional; precision 0)"},"bankAddress1":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line1 (SDO BANK_ADDRESS_1; Optional; precision 0)"},"bankAddress2":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line2 (SDO BANK_ADDRESS_2; Optional; precision 0)"},"bankAddress3":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line3 (SDO BANK_ADDRESS_3; Optional; precision 0)"},"bankAddress4":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line4 (SDO BANK_ADDRESS_4; Optional; precision 0)"},"bankAddress5":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line5 (SDO BANK_ADDRESS_5; Optional; precision 0)"},"bankBicswift":{"type":"string","nullable":true,"maxLength":60,"description":"Bank BIC/Swift (SDO BANK_BICSWIFT; Optional; precision 0)"},"bankIban":{"type":"string","nullable":true,"maxLength":60,"description":"Bank IBAN (SDO BANK_IBAN; Optional; precision 0)"},"bankName":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Name (SDO BANK_NAME; Optional; precision 0)"},"bankRollNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Roll Number (SDO BANK_ROLL_NUMBER; Optional; precision 0)"},"bankSortCode":{"type":"string","nullable":true,"maxLength":10,"description":"Bank Sort Code (SDO BANK_SORT_CODE; Optional; precision 0)"},"buildSocietyRef":{"type":"string","nullable":true,"maxLength":60,"description":"Refernce for Building Society Transfer (SDO BUILD_SOCIETY_REF; Optional; precision 0)"},"buildingSociety":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Uses Building Society (SDO BUILDING_SOCIETY; Optional; precision 0)"},"canApplyCharges":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Can Charge Credit (SDO CAN_APPLY_CHARGES; Optional; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Contact Name (SDO CONTACT_NAME; Optional; precision 0)"},"countryCode":{"type":"string","nullable":true,"maxLength":2,"description":"Country Code (SDO COUNTRY_CODE; Optional; precision 0)"},"creditAppReceived":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"True if Credit Application Received (SDO CREDIT_APP_RECEIVED; Optional; precision 0)"},"creditAppliedFor":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Credit Applied For (SDO CREDIT_APPLIED_FOR; Optional; precision 0)"},"creditBf":{"type":"number","nullable":true,"description":"Credits Brought Forward (SDO CREDIT_BF; Optional; precision 2)"},"creditBureau":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Credit Bureau Used (SDO CREDIT_BUREAU; Optional; precision 0)"},"creditCardNo":{"type":"string","nullable":true,"maxLength":30,"description":"Credit card number (SDO CREDIT_CARD_NO; Optional; precision 0)"},"creditCf":{"type":"number","nullable":true,"description":"Credits Carry Forward (SDO CREDIT_CF; Optional; precision 2)"},"creditLimit":{"type":"number","nullable":true,"description":"Credit Limit (SDO CREDIT_LIMIT; Optional; precision 2)"},"creditMth1":{"type":"number","nullable":true,"description":"Credits Month 1 (SDO CREDIT_MTH1; Optional; precision 2)"},"creditMth10":{"type":"number","nullable":true,"description":"Credits Month 10 (SDO CREDIT_MTH10; Optional; precision 2)"},"creditMth11":{"type":"number","nullable":true,"description":"Credits Month 11 (SDO CREDIT_MTH11; Optional; precision 2)"},"creditMth12":{"type":"number","nullable":true,"description":"Credits Month 12 (SDO CREDIT_MTH12; Optional; precision 2)"},"creditMth2":{"type":"number","nullable":true,"description":"Credits Month 2 (SDO CREDIT_MTH2; Optional; precision 2)"},"creditMth3":{"type":"number","nullable":true,"description":"Credits Month 3 (SDO CREDIT_MTH3; Optional; precision 2)"},"creditMth4":{"type":"number","nullable":true,"description":"Credits Month 4 (SDO CREDIT_MTH4; Optional; precision 2)"},"creditMth5":{"type":"number","nullable":true,"description":"Credits Month 5 (SDO CREDIT_MTH5; Optional; precision 2)"},"creditMth6":{"type":"number","nullable":true,"description":"Credits Month 6 (SDO CREDIT_MTH6; Optional; precision 2)"},"creditMth7":{"type":"number","nullable":true,"description":"Credits Month 7 (SDO CREDIT_MTH7; Optional; precision 2)"},"creditMth8":{"type":"number","nullable":true,"description":"Credits Month 8 (SDO CREDIT_MTH8; Optional; precision 2)"},"creditMth9":{"type":"number","nullable":true,"description":"Credits Month 9 (SDO CREDIT_MTH9; Optional; precision 2)"},"creditPosition":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Credit Position (SDO CREDIT_POSITION; Optional; precision 0)"},"creditReference":{"type":"string","nullable":true,"maxLength":60,"description":"Credit Bureau Reference (SDO CREDIT_REFERENCE; Optional; precision 0)"},"currency":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency (SDO CURRENCY; Optional; precision 0)"},"dateCreditAppReceived":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Credit Application Received (SDO DATE_CREDIT_APP_RECEIVED; Optional; precision 0)"},"declarationValidFrom":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Donor Declaration Valid From (SDO DECLARATION_VALID_FROM; Optional; precision 0)"},"defNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Default Nominal Code (SDO DEF_NOM_CODE; Optional; precision 0)"},"defTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax Code (SDO DEF_TAX_CODE; Optional; precision 0)"},"delAddress1":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line1 (SDO DEL_ADDRESS_1; Optional; precision 0)"},"delAddress2":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line2 (SDO DEL_ADDRESS_2; Optional; precision 0)"},"delAddress3":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line3 (SDO DEL_ADDRESS_3; Optional; precision 0)"},"delAddress4":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line4 (SDO DEL_ADDRESS_4; Optional; precision 0)"},"delAddress5":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line5 (SDO DEL_ADDRESS_5; Optional; precision 0)"},"delContactName":{"type":"string","nullable":true,"maxLength":30,"description":"Default Delivery Contact Name (SDO DEL_CONTACT_NAME; Optional; precision 0)"},"delFax":{"type":"string","nullable":true,"maxLength":30,"description":"Default Delivery Fax Number (SDO DEL_FAX; Optional; precision 0)"},"delName":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Name (SDO DEL_NAME; Optional; precision 0)"},"delTelephone":{"type":"string","nullable":true,"maxLength":30,"description":"Default Delivery Telephone Number (SDO DEL_TELEPHONE; Optional; precision 0)"},"deletedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Reserved for Future Use (SDO DELETED_FLAG; Optional; precision 0)"},"deptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Department Code (SDO DEPT_NUMBER; Optional; precision 0)"},"discountRate":{"type":"number","nullable":true,"description":"Discount Rate (SDO DISCOUNT_RATE; Optional; precision 2)"},"discountType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Discount Type (SDO DISCOUNT_TYPE; Optional; precision 0)"},"disputed":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Disputed (SDO DISPUTED; Optional; precision 0)"},"donorForename":{"type":"string","nullable":true,"maxLength":35,"description":"Donor Forename (SDO DONOR_FORENAME; Optional; precision 0)"},"donorSurname":{"type":"string","nullable":true,"maxLength":35,"description":"Donor Surname (SDO DONOR_SURNAME; Optional; precision 0)"},"donorTitle":{"type":"string","nullable":true,"maxLength":4,"description":"Donor Title (SDO DONOR_TITLE; Optional; precision 0)"},"dunsNumber":{"type":"string","nullable":true,"maxLength":9,"description":"DUNS Number (SDO DUNS_NUMBER; Optional; precision 0)"},"eMail":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (SDO E_MAIL; Optional; precision 0)"},"eMail2":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (2) (SDO E_MAIL2; Optional; precision 0)"},"eMail3":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (3) (SDO E_MAIL3; Optional; precision 0)"},"ecCode":{"type":"string","nullable":true,"maxLength":3,"description":"EC member code (SDO EC_CODE; Optional; precision 0)"},"externalUsage":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Number of External Usages for This Record (SDO EXTERNAL_USAGE; Optional; precision 0)"},"facebook":{"type":"string","nullable":true,"maxLength":75,"description":"Facebook Address (SDO FACEBOOK; Optional; precision 0)"},"fax":{"type":"string","nullable":true,"maxLength":30,"description":"Fax Number (SDO FAX; Optional; precision 0)"},"firstHeader":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"First transaction (SDO FIRST_HEADER; Optional; precision 0)"},"firstInvoice":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"First Invoice Date (SDO FIRST_INVOICE; Optional; precision 0)"},"giftAidEnabled":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Gift Aid is enabled (SDO GIFT_AID_ENABLED; Optional; precision 0)"},"holdMail":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Restrict Mail (SDO HOLD_MAIL; Optional; precision 0)"},"inactiveFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Inactive Flag - Yes/No (SDO INACTIVE_FLAG; Optional; precision 0)"},"invoiceBf":{"type":"number","nullable":true,"description":"Invoices Brought Forward (SDO INVOICE_BF; Optional; precision 2)"},"invoiceCf":{"type":"number","nullable":true,"description":"Invoices Carry Forward (SDO INVOICE_CF; Optional; precision 2)"},"invoiceMth1":{"type":"number","nullable":true,"description":"Invoices Month 1 (SDO INVOICE_MTH1; Optional; precision 2)"},"invoiceMth10":{"type":"number","nullable":true,"description":"Invoices Month 10 (SDO INVOICE_MTH10; Optional; precision 2)"},"invoiceMth11":{"type":"number","nullable":true,"description":"Invoices Month 11 (SDO INVOICE_MTH11; Optional; precision 2)"},"invoiceMth12":{"type":"number","nullable":true,"description":"Invoices Month 12 (SDO INVOICE_MTH12; Optional; precision 2)"},"invoiceMth2":{"type":"number","nullable":true,"description":"Invoices Month 2 (SDO INVOICE_MTH2; Optional; precision 2)"},"invoiceMth3":{"type":"number","nullable":true,"description":"Invoices Month 3 (SDO INVOICE_MTH3; Optional; precision 2)"},"invoiceMth4":{"type":"number","nullable":true,"description":"Invoices Month 4 (SDO INVOICE_MTH4; Optional; precision 2)"},"invoiceMth5":{"type":"number","nullable":true,"description":"Invoices Month 5 (SDO INVOICE_MTH5; Optional; precision 2)"},"invoiceMth6":{"type":"number","nullable":true,"description":"Invoices Month 6 (SDO INVOICE_MTH6; Optional; precision 2)"},"invoiceMth7":{"type":"number","nullable":true,"description":"Invoices Month 7 (SDO INVOICE_MTH7; Optional; precision 2)"},"invoiceMth8":{"type":"number","nullable":true,"description":"Invoices Month 8 (SDO INVOICE_MTH8; Optional; precision 2)"},"invoiceMth9":{"type":"number","nullable":true,"description":"Invoices Month 9 (SDO INVOICE_MTH9; Optional; precision 2)"},"lastCreditRev":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Last Credit Review (SDO LAST_CREDIT_REV; Optional; precision 0)"},"lastHeader":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Last transaction (SDO LAST_HEADER; Optional; precision 0)"},"lastInvDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Last Invoice Date (SDO LAST_INV_DATE; Optional; precision 0)"},"lastPayDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Last Payment Date (SDO LAST_PAY_DATE; Optional; precision 0)"},"lastUpdated":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date of last update (SDO LAST_UPDATED; Optional; precision 0)"},"linkedin":{"type":"string","nullable":true,"maxLength":64,"description":"LinkedIn Address (SDO LINKEDIN; Optional; precision 0)"},"memberReminderDate":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Member Reminder Date (SDO MEMBER_REMINDER_DATE; Optional; precision 0)"},"memberRenewalDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Member Renewal Date (SDO MEMBER_RENEWAL_DATE; Optional; precision 0)"},"memberSince":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Member Since (SDO MEMBER_SINCE; Optional; precision 0)"},"memoOffset":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Offset in Credit Memo File (SDO MEMO_OFFSET; Optional; precision 0)"},"memoSize":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Size of Memo in Bytes (SDO MEMO_SIZE; Optional; precision 0)"},"modify":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Modified Count (SDO MODIFY; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Account Name (SDO NAME; Optional; precision 0)"},"nextCreditRev":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Next Credit Review (SDO NEXT_CREDIT_REV; Optional; precision 0)"},"noOfHeader":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"No of trans (SDO NO_OF_HEADER; Optional; precision 0)"},"overrideProductNominal":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Override product nominal code in invoicing and pop (SDO OVERRIDE_PRODUCT_NOMINAL; Optional; precision 0)"},"overrideProductTax":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Override product tax code in invoicing (SDO OVERRIDE_PRODUCT_TAX; Optional; precision 0)"},"paymentBf":{"type":"number","nullable":true,"description":"Payments Brought Forward (SDO PAYMENT_BF; Optional; precision 2)"},"paymentCf":{"type":"number","nullable":true,"description":"Payments Carry Forward (SDO PAYMENT_CF; Optional; precision 2)"},"paymentDueDays":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Payment Due Days (SDO PAYMENT_DUE_DAYS; Optional; precision 0)"},"paymentDueFrom":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Payment Due From (SDO PAYMENT_DUE_FROM; Optional; precision 0)"},"paymentMth1":{"type":"number","nullable":true,"description":"Payments Month 1 (SDO PAYMENT_MTH1; Optional; precision 2)"},"paymentMth10":{"type":"number","nullable":true,"description":"Payments Month 10 (SDO PAYMENT_MTH10; Optional; precision 2)"},"paymentMth11":{"type":"number","nullable":true,"description":"Payments Month 11 (SDO PAYMENT_MTH11; Optional; precision 2)"},"paymentMth12":{"type":"number","nullable":true,"description":"Payments Month 12 (SDO PAYMENT_MTH12; Optional; precision 2)"},"paymentMth2":{"type":"number","nullable":true,"description":"Payments Month 2 (SDO PAYMENT_MTH2; Optional; precision 2)"},"paymentMth3":{"type":"number","nullable":true,"description":"Payments Month 3 (SDO PAYMENT_MTH3; Optional; precision 2)"},"paymentMth4":{"type":"number","nullable":true,"description":"Payments Month 4 (SDO PAYMENT_MTH4; Optional; precision 2)"},"paymentMth5":{"type":"number","nullable":true,"description":"Payments Month 5 (SDO PAYMENT_MTH5; Optional; precision 2)"},"paymentMth6":{"type":"number","nullable":true,"description":"Payments Month 6 (SDO PAYMENT_MTH6; Optional; precision 2)"},"paymentMth7":{"type":"number","nullable":true,"description":"Payments Month 7 (SDO PAYMENT_MTH7; Optional; precision 2)"},"paymentMth8":{"type":"number","nullable":true,"description":"Payments Month 8 (SDO PAYMENT_MTH8; Optional; precision 2)"},"paymentMth9":{"type":"number","nullable":true,"description":"Payments Month 9 (SDO PAYMENT_MTH9; Optional; precision 2)"},"paymentType":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Payment Method (SDO PAYMENT_TYPE; Optional; precision 0)"},"priceListRef":{"type":"string","nullable":true,"maxLength":8,"description":"Price list reference (SDO PRICE_LIST_REF; Optional; precision 0)"},"priorYear":{"type":"number","nullable":true,"description":"Prior YTD (SDO PRIOR_YEAR; Optional; precision 2)"},"priorityTrader":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Priority Supplier (SDO PRIORITY_TRADER; Optional; precision 0)"},"receiptBf":{"type":"number","nullable":true,"description":"Receipts Brought Forward (SDO RECEIPT_BF; Optional; precision 2)"},"receiptCf":{"type":"number","nullable":true,"description":"Receipts Carry Forward (SDO RECEIPT_CF; Optional; precision 2)"},"receiptMth1":{"type":"number","nullable":true,"description":"Receipts Month 1 (SDO RECEIPT_MTH1; Optional; precision 2)"},"receiptMth10":{"type":"number","nullable":true,"description":"Receipts Month 10 (SDO RECEIPT_MTH10; Optional; precision 2)"},"receiptMth11":{"type":"number","nullable":true,"description":"Receipts Month 11 (SDO RECEIPT_MTH11; Optional; precision 2)"},"receiptMth12":{"type":"number","nullable":true,"description":"Receipts Month 12 (SDO RECEIPT_MTH12; Optional; precision 2)"},"receiptMth2":{"type":"number","nullable":true,"description":"Receipts Month 2 (SDO RECEIPT_MTH2; Optional; precision 2)"},"receiptMth3":{"type":"number","nullable":true,"description":"Receipts Month 3 (SDO RECEIPT_MTH3; Optional; precision 2)"},"receiptMth4":{"type":"number","nullable":true,"description":"Receipts Month 4 (SDO RECEIPT_MTH4; Optional; precision 2)"},"receiptMth5":{"type":"number","nullable":true,"description":"Receipts Month 5 (SDO RECEIPT_MTH5; Optional; precision 2)"},"receiptMth6":{"type":"number","nullable":true,"description":"Receipts Month 6 (SDO RECEIPT_MTH6; Optional; precision 2)"},"receiptMth7":{"type":"number","nullable":true,"description":"Receipts Month 7 (SDO RECEIPT_MTH7; Optional; precision 2)"},"receiptMth8":{"type":"number","nullable":true,"description":"Receipts Month 8 (SDO RECEIPT_MTH8; Optional; precision 2)"},"receiptMth9":{"type":"number","nullable":true,"description":"Receipts Month 9 (SDO RECEIPT_MTH9; Optional; precision 2)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"salesRep":{"type":"string","nullable":true,"maxLength":60,"description":"Name of Sales Representative (SDO SALES_REP; Optional; precision 0)"},"sendInvoicesElectronically":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Send Invoices to this account via Email (SDO SEND_INVOICES_ELECTRONICALLY; Optional; precision 0)"},"sendLettersElectronically":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Send letters to this account via Email (SDO SEND_LETTERS_ELECTRONICALLY; Optional; precision 0)"},"settlementDiscRate":{"type":"number","nullable":true,"description":"Settlement Discount Rate (SDO SETTLEMENT_DISC_RATE; Optional; precision 2)"},"settlementDueDays":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Settlement Due Days (SDO SETTLEMENT_DUE_DAYS; Optional; precision 0)"},"telephone":{"type":"string","nullable":true,"maxLength":30,"description":"Telephone Number (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","nullable":true,"maxLength":30,"description":"Second Telephone Number (SDO TELEPHONE_2; Optional; precision 0)"},"terms":{"type":"string","nullable":true,"maxLength":30,"description":"Terms (SDO TERMS; Optional; precision 0)"},"termsAgreedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Terms agreed flag (SDO TERMS_AGREED_FLAG; Optional; precision 0)"},"tradeContact":{"type":"string","nullable":true,"maxLength":30,"description":"Name of Trade Contact (SDO TRADE_CONTACT; Optional; precision 0)"},"traderForeignBalance":{"type":"number","nullable":true,"description":"Foreign Balance (SDO TRADER_FOREIGN_BALANCE; Optional; precision 6)"},"turnoverMtd":{"type":"number","nullable":true,"description":"Turnover Month To Date (SDO TURNOVER_MTD; Optional; precision 2)"},"turnoverYtd":{"type":"number","nullable":true,"description":"Turnover Year To Date (SDO TURNOVER_YTD; Optional; precision 2)"},"twitter":{"type":"string","nullable":true,"maxLength":35,"description":"Twitter Address (SDO TWITTER; Optional; precision 0)"},"vatRegNumber":{"type":"string","nullable":true,"maxLength":20,"description":"VAT Registration Number (SDO VAT_REG_NUMBER; Optional; precision 0)"},"www":{"type":"string","nullable":true,"maxLength":255,"description":"WWW Address (SDO WWW; Optional; precision 0)"},"id":{"type":"string"}},"required":["accountManager","accountOnHold","accountOpened","accountRef","accountStatus","accountType","address1","address2","address3","address4","address5","analysis1","analysis2","analysis3","bacs","bacsReference","balance","bankAccountName","bankAccountNumber","bankAdditionalRef1","bankAdditionalRef2","bankAdditionalRef3","bankAddress1","bankAddress2","bankAddress3","bankAddress4","bankAddress5","bankBicswift","bankIban","bankName","bankRollNumber","bankSortCode","buildSocietyRef","buildingSociety","canApplyCharges","contactName","countryCode","creditAppReceived","creditAppliedFor","creditBf","creditBureau","creditCardNo","creditCf","creditLimit","creditMth1","creditMth10","creditMth11","creditMth12","creditMth2","creditMth3","creditMth4","creditMth5","creditMth6","creditMth7","creditMth8","creditMth9","creditPosition","creditReference","currency","dateCreditAppReceived","declarationValidFrom","defNomCode","defTaxCode","delAddress1","delAddress2","delAddress3","delAddress4","delAddress5","delContactName","delFax","delName","delTelephone","deletedFlag","deptNumber","discountRate","discountType","disputed","donorForename","donorSurname","donorTitle","dunsNumber","eMail","eMail2","eMail3","ecCode","externalUsage","facebook","fax","firstHeader","firstInvoice","giftAidEnabled","holdMail","inactiveFlag","invoiceBf","invoiceCf","invoiceMth1","invoiceMth10","invoiceMth11","invoiceMth12","invoiceMth2","invoiceMth3","invoiceMth4","invoiceMth5","invoiceMth6","invoiceMth7","invoiceMth8","invoiceMth9","lastCreditRev","lastHeader","lastInvDate","lastPayDate","lastUpdated","linkedin","memberReminderDate","memberRenewalDate","memberSince","memoOffset","memoSize","modify","name","nextCreditRev","noOfHeader","overrideProductNominal","overrideProductTax","paymentBf","paymentCf","paymentDueDays","paymentDueFrom","paymentMth1","paymentMth10","paymentMth11","paymentMth12","paymentMth2","paymentMth3","paymentMth4","paymentMth5","paymentMth6","paymentMth7","paymentMth8","paymentMth9","paymentType","priceListRef","priorYear","priorityTrader","receiptBf","receiptCf","receiptMth1","receiptMth10","receiptMth11","receiptMth12","receiptMth2","receiptMth3","receiptMth4","receiptMth5","receiptMth6","receiptMth7","receiptMth8","receiptMth9","recordCreateDate","recordDeleted","recordModifyDate","salesRep","sendInvoicesElectronically","sendLettersElectronically","settlementDiscRate","settlementDueDays","telephone","telephone2","terms","termsAgreedFlag","tradeContact","traderForeignBalance","turnoverMtd","turnoverYtd","twitter","vatRegNumber","www","id"],"additionalProperties":false},"Uk27_2_suppliers_get":{"type":"object","properties":{"accountManager":{"type":"string","nullable":true,"maxLength":60,"description":"Name of Account Manager (SDO ACCOUNT_MANAGER; Optional; precision 0)"},"accountOnHold":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Account On Hold (SDO ACCOUNT_ON_HOLD; Optional; precision 0)"},"accountOpened":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Account Opened (SDO ACCOUNT_OPENED; Optional; precision 0)"},"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Account Reference (SDO ACCOUNT_REF; Required; precision 0)"},"accountStatus":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Status (SDO ACCOUNT_STATUS; Optional; precision 0)"},"accountType":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Type (SDO ACCOUNT_TYPE; Optional; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line5 (SDO ADDRESS_5; Optional; precision 0)"},"analysis1":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"bacs":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Bank Online Payments (SDO BACS; Optional; precision 0)"},"bacsReference":{"type":"string","nullable":true,"maxLength":60,"description":"Bank BACS Ref (SDO BACS_REFERENCE; Optional; precision 0)"},"balance":{"type":"number","nullable":true,"description":"Balance (SDO BALANCE; Optional; precision 2)"},"bankAccountName":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Account Name (SDO BANK_ACCOUNT_NAME; Optional; precision 0)"},"bankAccountNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Account Number (SDO BANK_ACCOUNT_NUMBER; Optional; precision 0)"},"bankAdditionalRef1":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Additional Ref1 (SDO BANK_ADDITIONAL_REF1; Optional; precision 0)"},"bankAdditionalRef2":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Additional Ref2 (SDO BANK_ADDITIONAL_REF2; Optional; precision 0)"},"bankAdditionalRef3":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Additional Ref3 (SDO BANK_ADDITIONAL_REF3; Optional; precision 0)"},"bankAddress1":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line1 (SDO BANK_ADDRESS_1; Optional; precision 0)"},"bankAddress2":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line2 (SDO BANK_ADDRESS_2; Optional; precision 0)"},"bankAddress3":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line3 (SDO BANK_ADDRESS_3; Optional; precision 0)"},"bankAddress4":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line4 (SDO BANK_ADDRESS_4; Optional; precision 0)"},"bankAddress5":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line5 (SDO BANK_ADDRESS_5; Optional; precision 0)"},"bankBicswift":{"type":"string","nullable":true,"maxLength":60,"description":"Bank BIC/Swift (SDO BANK_BICSWIFT; Optional; precision 0)"},"bankIban":{"type":"string","nullable":true,"maxLength":60,"description":"Bank IBAN (SDO BANK_IBAN; Optional; precision 0)"},"bankName":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Name (SDO BANK_NAME; Optional; precision 0)"},"bankRollNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Roll Number (SDO BANK_ROLL_NUMBER; Optional; precision 0)"},"bankSortCode":{"type":"string","nullable":true,"maxLength":10,"description":"Bank Sort Code (SDO BANK_SORT_CODE; Optional; precision 0)"},"buildSocietyRef":{"type":"string","nullable":true,"maxLength":60,"description":"Refernce for Building Society Transfer (SDO BUILD_SOCIETY_REF; Optional; precision 0)"},"buildingSociety":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Uses Building Society (SDO BUILDING_SOCIETY; Optional; precision 0)"},"canApplyCharges":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Can Charge Credit (SDO CAN_APPLY_CHARGES; Optional; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Contact Name (SDO CONTACT_NAME; Optional; precision 0)"},"countryCode":{"type":"string","nullable":true,"maxLength":2,"description":"Country Code (SDO COUNTRY_CODE; Optional; precision 0)"},"creditAppReceived":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"True if Credit Application Received (SDO CREDIT_APP_RECEIVED; Optional; precision 0)"},"creditAppliedFor":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Credit Applied For (SDO CREDIT_APPLIED_FOR; Optional; precision 0)"},"creditBf":{"type":"number","nullable":true,"description":"Credits Brought Forward (SDO CREDIT_BF; Optional; precision 2)"},"creditBureau":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Credit Bureau Used (SDO CREDIT_BUREAU; Optional; precision 0)"},"creditCardNo":{"type":"string","nullable":true,"maxLength":30,"description":"Credit card number (SDO CREDIT_CARD_NO; Optional; precision 0)"},"creditCf":{"type":"number","nullable":true,"description":"Credits Carry Forward (SDO CREDIT_CF; Optional; precision 2)"},"creditLimit":{"type":"number","nullable":true,"description":"Credit Limit (SDO CREDIT_LIMIT; Optional; precision 2)"},"creditMth1":{"type":"number","nullable":true,"description":"Credits Month 1 (SDO CREDIT_MTH1; Optional; precision 2)"},"creditMth10":{"type":"number","nullable":true,"description":"Credits Month 10 (SDO CREDIT_MTH10; Optional; precision 2)"},"creditMth11":{"type":"number","nullable":true,"description":"Credits Month 11 (SDO CREDIT_MTH11; Optional; precision 2)"},"creditMth12":{"type":"number","nullable":true,"description":"Credits Month 12 (SDO CREDIT_MTH12; Optional; precision 2)"},"creditMth2":{"type":"number","nullable":true,"description":"Credits Month 2 (SDO CREDIT_MTH2; Optional; precision 2)"},"creditMth3":{"type":"number","nullable":true,"description":"Credits Month 3 (SDO CREDIT_MTH3; Optional; precision 2)"},"creditMth4":{"type":"number","nullable":true,"description":"Credits Month 4 (SDO CREDIT_MTH4; Optional; precision 2)"},"creditMth5":{"type":"number","nullable":true,"description":"Credits Month 5 (SDO CREDIT_MTH5; Optional; precision 2)"},"creditMth6":{"type":"number","nullable":true,"description":"Credits Month 6 (SDO CREDIT_MTH6; Optional; precision 2)"},"creditMth7":{"type":"number","nullable":true,"description":"Credits Month 7 (SDO CREDIT_MTH7; Optional; precision 2)"},"creditMth8":{"type":"number","nullable":true,"description":"Credits Month 8 (SDO CREDIT_MTH8; Optional; precision 2)"},"creditMth9":{"type":"number","nullable":true,"description":"Credits Month 9 (SDO CREDIT_MTH9; Optional; precision 2)"},"creditPosition":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Credit Position (SDO CREDIT_POSITION; Optional; precision 0)"},"creditReference":{"type":"string","nullable":true,"maxLength":60,"description":"Credit Bureau Reference (SDO CREDIT_REFERENCE; Optional; precision 0)"},"currency":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency (SDO CURRENCY; Optional; precision 0)"},"dateCreditAppReceived":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Credit Application Received (SDO DATE_CREDIT_APP_RECEIVED; Optional; precision 0)"},"declarationValidFrom":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Donor Declaration Valid From (SDO DECLARATION_VALID_FROM; Optional; precision 0)"},"defNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Default Nominal Code (SDO DEF_NOM_CODE; Optional; precision 0)"},"defTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax Code (SDO DEF_TAX_CODE; Optional; precision 0)"},"delAddress1":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line1 (SDO DEL_ADDRESS_1; Optional; precision 0)"},"delAddress2":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line2 (SDO DEL_ADDRESS_2; Optional; precision 0)"},"delAddress3":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line3 (SDO DEL_ADDRESS_3; Optional; precision 0)"},"delAddress4":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line4 (SDO DEL_ADDRESS_4; Optional; precision 0)"},"delAddress5":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line5 (SDO DEL_ADDRESS_5; Optional; precision 0)"},"delContactName":{"type":"string","nullable":true,"maxLength":30,"description":"Default Delivery Contact Name (SDO DEL_CONTACT_NAME; Optional; precision 0)"},"delFax":{"type":"string","nullable":true,"maxLength":30,"description":"Default Delivery Fax Number (SDO DEL_FAX; Optional; precision 0)"},"delName":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Name (SDO DEL_NAME; Optional; precision 0)"},"delTelephone":{"type":"string","nullable":true,"maxLength":30,"description":"Default Delivery Telephone Number (SDO DEL_TELEPHONE; Optional; precision 0)"},"deletedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Reserved for Future Use (SDO DELETED_FLAG; Optional; precision 0)"},"deptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Department Code (SDO DEPT_NUMBER; Optional; precision 0)"},"discountRate":{"type":"number","nullable":true,"description":"Discount Rate (SDO DISCOUNT_RATE; Optional; precision 2)"},"discountType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Discount Type (SDO DISCOUNT_TYPE; Optional; precision 0)"},"disputed":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Disputed (SDO DISPUTED; Optional; precision 0)"},"donorForename":{"type":"string","nullable":true,"maxLength":35,"description":"Donor Forename (SDO DONOR_FORENAME; Optional; precision 0)"},"donorSurname":{"type":"string","nullable":true,"maxLength":35,"description":"Donor Surname (SDO DONOR_SURNAME; Optional; precision 0)"},"donorTitle":{"type":"string","nullable":true,"maxLength":4,"description":"Donor Title (SDO DONOR_TITLE; Optional; precision 0)"},"dunsNumber":{"type":"string","nullable":true,"maxLength":9,"description":"DUNS Number (SDO DUNS_NUMBER; Optional; precision 0)"},"eMail":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (SDO E_MAIL; Optional; precision 0)"},"eMail2":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (2) (SDO E_MAIL2; Optional; precision 0)"},"eMail3":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (3) (SDO E_MAIL3; Optional; precision 0)"},"ecCode":{"type":"string","nullable":true,"maxLength":3,"description":"EC member code (SDO EC_CODE; Optional; precision 0)"},"eoriNumber":{"type":"string","nullable":true,"maxLength":17,"description":"EORI number (SDO EORI_NUMBER; Optional; precision 0)"},"externalUsage":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Number of External Usages for This Record (SDO EXTERNAL_USAGE; Optional; precision 0)"},"facebook":{"type":"string","nullable":true,"maxLength":75,"description":"Facebook Address (SDO FACEBOOK; Optional; precision 0)"},"fax":{"type":"string","nullable":true,"maxLength":30,"description":"Fax Number (SDO FAX; Optional; precision 0)"},"firstHeader":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"First transaction (SDO FIRST_HEADER; Optional; precision 0)"},"firstInvoice":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"First Invoice Date (SDO FIRST_INVOICE; Optional; precision 0)"},"giftAidEnabled":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Gift Aid is enabled (SDO GIFT_AID_ENABLED; Optional; precision 0)"},"holdMail":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Restrict Mail (SDO HOLD_MAIL; Optional; precision 0)"},"inactiveFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Inactive Flag - Yes/No (SDO INACTIVE_FLAG; Optional; precision 0)"},"incoterms":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Incoterms (SDO INCOTERMS; Optional; precision 0)"},"invoiceBf":{"type":"number","nullable":true,"description":"Invoices Brought Forward (SDO INVOICE_BF; Optional; precision 2)"},"invoiceCf":{"type":"number","nullable":true,"description":"Invoices Carry Forward (SDO INVOICE_CF; Optional; precision 2)"},"invoiceMth1":{"type":"number","nullable":true,"description":"Invoices Month 1 (SDO INVOICE_MTH1; Optional; precision 2)"},"invoiceMth10":{"type":"number","nullable":true,"description":"Invoices Month 10 (SDO INVOICE_MTH10; Optional; precision 2)"},"invoiceMth11":{"type":"number","nullable":true,"description":"Invoices Month 11 (SDO INVOICE_MTH11; Optional; precision 2)"},"invoiceMth12":{"type":"number","nullable":true,"description":"Invoices Month 12 (SDO INVOICE_MTH12; Optional; precision 2)"},"invoiceMth2":{"type":"number","nullable":true,"description":"Invoices Month 2 (SDO INVOICE_MTH2; Optional; precision 2)"},"invoiceMth3":{"type":"number","nullable":true,"description":"Invoices Month 3 (SDO INVOICE_MTH3; Optional; precision 2)"},"invoiceMth4":{"type":"number","nullable":true,"description":"Invoices Month 4 (SDO INVOICE_MTH4; Optional; precision 2)"},"invoiceMth5":{"type":"number","nullable":true,"description":"Invoices Month 5 (SDO INVOICE_MTH5; Optional; precision 2)"},"invoiceMth6":{"type":"number","nullable":true,"description":"Invoices Month 6 (SDO INVOICE_MTH6; Optional; precision 2)"},"invoiceMth7":{"type":"number","nullable":true,"description":"Invoices Month 7 (SDO INVOICE_MTH7; Optional; precision 2)"},"invoiceMth8":{"type":"number","nullable":true,"description":"Invoices Month 8 (SDO INVOICE_MTH8; Optional; precision 2)"},"invoiceMth9":{"type":"number","nullable":true,"description":"Invoices Month 9 (SDO INVOICE_MTH9; Optional; precision 2)"},"lastCreditRev":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Last Credit Review (SDO LAST_CREDIT_REV; Optional; precision 0)"},"lastHeader":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Last transaction (SDO LAST_HEADER; Optional; precision 0)"},"lastInvDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Last Invoice Date (SDO LAST_INV_DATE; Optional; precision 0)"},"lastPayDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Last Payment Date (SDO LAST_PAY_DATE; Optional; precision 0)"},"lastUpdated":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date of last update (SDO LAST_UPDATED; Optional; precision 0)"},"linkedin":{"type":"string","nullable":true,"maxLength":64,"description":"LinkedIn Address (SDO LINKEDIN; Optional; precision 0)"},"memberReminderDate":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Member Reminder Date (SDO MEMBER_REMINDER_DATE; Optional; precision 0)"},"memberRenewalDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Member Renewal Date (SDO MEMBER_RENEWAL_DATE; Optional; precision 0)"},"memberSince":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Member Since (SDO MEMBER_SINCE; Optional; precision 0)"},"memoOffset":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Offset in Credit Memo File (SDO MEMO_OFFSET; Optional; precision 0)"},"memoSize":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Size of Memo in Bytes (SDO MEMO_SIZE; Optional; precision 0)"},"modify":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Modified Count (SDO MODIFY; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Account Name (SDO NAME; Optional; precision 0)"},"nextCreditRev":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Next Credit Review (SDO NEXT_CREDIT_REV; Optional; precision 0)"},"noOfHeader":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"No of trans (SDO NO_OF_HEADER; Optional; precision 0)"},"overrideProductNominal":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Override product nominal code in invoicing and pop (SDO OVERRIDE_PRODUCT_NOMINAL; Optional; precision 0)"},"overrideProductTax":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Override product tax code in invoicing (SDO OVERRIDE_PRODUCT_TAX; Optional; precision 0)"},"paymentBf":{"type":"number","nullable":true,"description":"Payments Brought Forward (SDO PAYMENT_BF; Optional; precision 2)"},"paymentCf":{"type":"number","nullable":true,"description":"Payments Carry Forward (SDO PAYMENT_CF; Optional; precision 2)"},"paymentDueDays":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Payment Due Days (SDO PAYMENT_DUE_DAYS; Optional; precision 0)"},"paymentDueFrom":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Payment Due From (SDO PAYMENT_DUE_FROM; Optional; precision 0)"},"paymentMth1":{"type":"number","nullable":true,"description":"Payments Month 1 (SDO PAYMENT_MTH1; Optional; precision 2)"},"paymentMth10":{"type":"number","nullable":true,"description":"Payments Month 10 (SDO PAYMENT_MTH10; Optional; precision 2)"},"paymentMth11":{"type":"number","nullable":true,"description":"Payments Month 11 (SDO PAYMENT_MTH11; Optional; precision 2)"},"paymentMth12":{"type":"number","nullable":true,"description":"Payments Month 12 (SDO PAYMENT_MTH12; Optional; precision 2)"},"paymentMth2":{"type":"number","nullable":true,"description":"Payments Month 2 (SDO PAYMENT_MTH2; Optional; precision 2)"},"paymentMth3":{"type":"number","nullable":true,"description":"Payments Month 3 (SDO PAYMENT_MTH3; Optional; precision 2)"},"paymentMth4":{"type":"number","nullable":true,"description":"Payments Month 4 (SDO PAYMENT_MTH4; Optional; precision 2)"},"paymentMth5":{"type":"number","nullable":true,"description":"Payments Month 5 (SDO PAYMENT_MTH5; Optional; precision 2)"},"paymentMth6":{"type":"number","nullable":true,"description":"Payments Month 6 (SDO PAYMENT_MTH6; Optional; precision 2)"},"paymentMth7":{"type":"number","nullable":true,"description":"Payments Month 7 (SDO PAYMENT_MTH7; Optional; precision 2)"},"paymentMth8":{"type":"number","nullable":true,"description":"Payments Month 8 (SDO PAYMENT_MTH8; Optional; precision 2)"},"paymentMth9":{"type":"number","nullable":true,"description":"Payments Month 9 (SDO PAYMENT_MTH9; Optional; precision 2)"},"paymentType":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Payment Method (SDO PAYMENT_TYPE; Optional; precision 0)"},"priceListRef":{"type":"string","nullable":true,"maxLength":8,"description":"Price list reference (SDO PRICE_LIST_REF; Optional; precision 0)"},"priorYear":{"type":"number","nullable":true,"description":"Prior YTD (SDO PRIOR_YEAR; Optional; precision 2)"},"priorityTrader":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Priority Supplier (SDO PRIORITY_TRADER; Optional; precision 0)"},"receiptBf":{"type":"number","nullable":true,"description":"Receipts Brought Forward (SDO RECEIPT_BF; Optional; precision 2)"},"receiptCf":{"type":"number","nullable":true,"description":"Receipts Carry Forward (SDO RECEIPT_CF; Optional; precision 2)"},"receiptMth1":{"type":"number","nullable":true,"description":"Receipts Month 1 (SDO RECEIPT_MTH1; Optional; precision 2)"},"receiptMth10":{"type":"number","nullable":true,"description":"Receipts Month 10 (SDO RECEIPT_MTH10; Optional; precision 2)"},"receiptMth11":{"type":"number","nullable":true,"description":"Receipts Month 11 (SDO RECEIPT_MTH11; Optional; precision 2)"},"receiptMth12":{"type":"number","nullable":true,"description":"Receipts Month 12 (SDO RECEIPT_MTH12; Optional; precision 2)"},"receiptMth2":{"type":"number","nullable":true,"description":"Receipts Month 2 (SDO RECEIPT_MTH2; Optional; precision 2)"},"receiptMth3":{"type":"number","nullable":true,"description":"Receipts Month 3 (SDO RECEIPT_MTH3; Optional; precision 2)"},"receiptMth4":{"type":"number","nullable":true,"description":"Receipts Month 4 (SDO RECEIPT_MTH4; Optional; precision 2)"},"receiptMth5":{"type":"number","nullable":true,"description":"Receipts Month 5 (SDO RECEIPT_MTH5; Optional; precision 2)"},"receiptMth6":{"type":"number","nullable":true,"description":"Receipts Month 6 (SDO RECEIPT_MTH6; Optional; precision 2)"},"receiptMth7":{"type":"number","nullable":true,"description":"Receipts Month 7 (SDO RECEIPT_MTH7; Optional; precision 2)"},"receiptMth8":{"type":"number","nullable":true,"description":"Receipts Month 8 (SDO RECEIPT_MTH8; Optional; precision 2)"},"receiptMth9":{"type":"number","nullable":true,"description":"Receipts Month 9 (SDO RECEIPT_MTH9; Optional; precision 2)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"salesRep":{"type":"string","nullable":true,"maxLength":60,"description":"Name of Sales Representative (SDO SALES_REP; Optional; precision 0)"},"sendInvoicesElectronically":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Send Invoices to this account via Email (SDO SEND_INVOICES_ELECTRONICALLY; Optional; precision 0)"},"sendLettersElectronically":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Send letters to this account via Email (SDO SEND_LETTERS_ELECTRONICALLY; Optional; precision 0)"},"settlementDiscRate":{"type":"number","nullable":true,"description":"Settlement Discount Rate (SDO SETTLEMENT_DISC_RATE; Optional; precision 2)"},"settlementDueDays":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Settlement Due Days (SDO SETTLEMENT_DUE_DAYS; Optional; precision 0)"},"telephone":{"type":"string","nullable":true,"maxLength":30,"description":"Telephone Number (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","nullable":true,"maxLength":30,"description":"Second Telephone Number (SDO TELEPHONE_2; Optional; precision 0)"},"terms":{"type":"string","nullable":true,"maxLength":30,"description":"Terms (SDO TERMS; Optional; precision 0)"},"termsAgreedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Terms agreed flag (SDO TERMS_AGREED_FLAG; Optional; precision 0)"},"tradeContact":{"type":"string","nullable":true,"maxLength":30,"description":"Name of Trade Contact (SDO TRADE_CONTACT; Optional; precision 0)"},"traderForeignBalance":{"type":"number","nullable":true,"description":"Foreign Balance (SDO TRADER_FOREIGN_BALANCE; Optional; precision 6)"},"turnoverMtd":{"type":"number","nullable":true,"description":"Turnover Month To Date (SDO TURNOVER_MTD; Optional; precision 2)"},"turnoverYtd":{"type":"number","nullable":true,"description":"Turnover Year To Date (SDO TURNOVER_YTD; Optional; precision 2)"},"twitter":{"type":"string","nullable":true,"maxLength":35,"description":"Twitter Address (SDO TWITTER; Optional; precision 0)"},"vatRegNumber":{"type":"string","nullable":true,"maxLength":20,"description":"VAT Registration Number (SDO VAT_REG_NUMBER; Optional; precision 0)"},"www":{"type":"string","nullable":true,"maxLength":255,"description":"WWW Address (SDO WWW; Optional; precision 0)"},"id":{"type":"string"}},"required":["accountManager","accountOnHold","accountOpened","accountRef","accountStatus","accountType","address1","address2","address3","address4","address5","analysis1","analysis2","analysis3","bacs","bacsReference","balance","bankAccountName","bankAccountNumber","bankAdditionalRef1","bankAdditionalRef2","bankAdditionalRef3","bankAddress1","bankAddress2","bankAddress3","bankAddress4","bankAddress5","bankBicswift","bankIban","bankName","bankRollNumber","bankSortCode","buildSocietyRef","buildingSociety","canApplyCharges","contactName","countryCode","creditAppReceived","creditAppliedFor","creditBf","creditBureau","creditCardNo","creditCf","creditLimit","creditMth1","creditMth10","creditMth11","creditMth12","creditMth2","creditMth3","creditMth4","creditMth5","creditMth6","creditMth7","creditMth8","creditMth9","creditPosition","creditReference","currency","dateCreditAppReceived","declarationValidFrom","defNomCode","defTaxCode","delAddress1","delAddress2","delAddress3","delAddress4","delAddress5","delContactName","delFax","delName","delTelephone","deletedFlag","deptNumber","discountRate","discountType","disputed","donorForename","donorSurname","donorTitle","dunsNumber","eMail","eMail2","eMail3","ecCode","eoriNumber","externalUsage","facebook","fax","firstHeader","firstInvoice","giftAidEnabled","holdMail","inactiveFlag","incoterms","invoiceBf","invoiceCf","invoiceMth1","invoiceMth10","invoiceMth11","invoiceMth12","invoiceMth2","invoiceMth3","invoiceMth4","invoiceMth5","invoiceMth6","invoiceMth7","invoiceMth8","invoiceMth9","lastCreditRev","lastHeader","lastInvDate","lastPayDate","lastUpdated","linkedin","memberReminderDate","memberRenewalDate","memberSince","memoOffset","memoSize","modify","name","nextCreditRev","noOfHeader","overrideProductNominal","overrideProductTax","paymentBf","paymentCf","paymentDueDays","paymentDueFrom","paymentMth1","paymentMth10","paymentMth11","paymentMth12","paymentMth2","paymentMth3","paymentMth4","paymentMth5","paymentMth6","paymentMth7","paymentMth8","paymentMth9","paymentType","priceListRef","priorYear","priorityTrader","receiptBf","receiptCf","receiptMth1","receiptMth10","receiptMth11","receiptMth12","receiptMth2","receiptMth3","receiptMth4","receiptMth5","receiptMth6","receiptMth7","receiptMth8","receiptMth9","recordCreateDate","recordDeleted","recordModifyDate","salesRep","sendInvoicesElectronically","sendLettersElectronically","settlementDiscRate","settlementDueDays","telephone","telephone2","terms","termsAgreedFlag","tradeContact","traderForeignBalance","turnoverMtd","turnoverYtd","twitter","vatRegNumber","www","id"],"additionalProperties":false},"Uk28_1_suppliers_get":{"type":"object","properties":{"accountManager":{"type":"string","nullable":true,"maxLength":60,"description":"Name of Account Manager (SDO ACCOUNT_MANAGER; Optional; precision 0)"},"accountOnHold":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Account On Hold (SDO ACCOUNT_ON_HOLD; Optional; precision 0)"},"accountOpened":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Account Opened (SDO ACCOUNT_OPENED; Optional; precision 0)"},"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Account Reference (SDO ACCOUNT_REF; Required; precision 0)"},"accountStatus":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Status (SDO ACCOUNT_STATUS; Optional; precision 0)"},"accountType":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Type (SDO ACCOUNT_TYPE; Optional; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line5 (SDO ADDRESS_5; Optional; precision 0)"},"analysis1":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"bacs":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Bank Online Payments (SDO BACS; Optional; precision 0)"},"bacsReference":{"type":"string","nullable":true,"maxLength":60,"description":"Bank BACS Ref (SDO BACS_REFERENCE; Optional; precision 0)"},"balance":{"type":"number","nullable":true,"description":"Balance (SDO BALANCE; Optional; precision 2)"},"bankAccountName":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Account Name (SDO BANK_ACCOUNT_NAME; Optional; precision 0)"},"bankAccountNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Account Number (SDO BANK_ACCOUNT_NUMBER; Optional; precision 0)"},"bankAdditionalRef1":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Additional Ref1 (SDO BANK_ADDITIONAL_REF1; Optional; precision 0)"},"bankAdditionalRef2":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Additional Ref2 (SDO BANK_ADDITIONAL_REF2; Optional; precision 0)"},"bankAdditionalRef3":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Additional Ref3 (SDO BANK_ADDITIONAL_REF3; Optional; precision 0)"},"bankAddress1":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line1 (SDO BANK_ADDRESS_1; Optional; precision 0)"},"bankAddress2":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line2 (SDO BANK_ADDRESS_2; Optional; precision 0)"},"bankAddress3":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line3 (SDO BANK_ADDRESS_3; Optional; precision 0)"},"bankAddress4":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line4 (SDO BANK_ADDRESS_4; Optional; precision 0)"},"bankAddress5":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line5 (SDO BANK_ADDRESS_5; Optional; precision 0)"},"bankBicswift":{"type":"string","nullable":true,"maxLength":60,"description":"Bank BIC/Swift (SDO BANK_BICSWIFT; Optional; precision 0)"},"bankIban":{"type":"string","nullable":true,"maxLength":60,"description":"Bank IBAN (SDO BANK_IBAN; Optional; precision 0)"},"bankName":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Name (SDO BANK_NAME; Optional; precision 0)"},"bankRollNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Roll Number (SDO BANK_ROLL_NUMBER; Optional; precision 0)"},"bankSortCode":{"type":"string","nullable":true,"maxLength":10,"description":"Bank Sort Code (SDO BANK_SORT_CODE; Optional; precision 0)"},"buildSocietyRef":{"type":"string","nullable":true,"maxLength":60,"description":"Refernce for Building Society Transfer (SDO BUILD_SOCIETY_REF; Optional; precision 0)"},"buildingSociety":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Uses Building Society (SDO BUILDING_SOCIETY; Optional; precision 0)"},"canApplyCharges":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Can Charge Credit (SDO CAN_APPLY_CHARGES; Optional; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Contact Name (SDO CONTACT_NAME; Optional; precision 0)"},"countryCode":{"type":"string","nullable":true,"maxLength":2,"description":"Country Code (SDO COUNTRY_CODE; Optional; precision 0)"},"creditAppReceived":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"True if Credit Application Received (SDO CREDIT_APP_RECEIVED; Optional; precision 0)"},"creditAppliedFor":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Credit Applied For (SDO CREDIT_APPLIED_FOR; Optional; precision 0)"},"creditBf":{"type":"number","nullable":true,"description":"Credits Brought Forward (SDO CREDIT_BF; Optional; precision 2)"},"creditBureau":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Credit Bureau Used (SDO CREDIT_BUREAU; Optional; precision 0)"},"creditCardNo":{"type":"string","nullable":true,"maxLength":30,"description":"Credit card number (SDO CREDIT_CARD_NO; Optional; precision 0)"},"creditCf":{"type":"number","nullable":true,"description":"Credits Carry Forward (SDO CREDIT_CF; Optional; precision 2)"},"creditLimit":{"type":"number","nullable":true,"description":"Credit Limit (SDO CREDIT_LIMIT; Optional; precision 2)"},"creditMth1":{"type":"number","nullable":true,"description":"Credits Month 1 (SDO CREDIT_MTH1; Optional; precision 2)"},"creditMth10":{"type":"number","nullable":true,"description":"Credits Month 10 (SDO CREDIT_MTH10; Optional; precision 2)"},"creditMth11":{"type":"number","nullable":true,"description":"Credits Month 11 (SDO CREDIT_MTH11; Optional; precision 2)"},"creditMth12":{"type":"number","nullable":true,"description":"Credits Month 12 (SDO CREDIT_MTH12; Optional; precision 2)"},"creditMth2":{"type":"number","nullable":true,"description":"Credits Month 2 (SDO CREDIT_MTH2; Optional; precision 2)"},"creditMth3":{"type":"number","nullable":true,"description":"Credits Month 3 (SDO CREDIT_MTH3; Optional; precision 2)"},"creditMth4":{"type":"number","nullable":true,"description":"Credits Month 4 (SDO CREDIT_MTH4; Optional; precision 2)"},"creditMth5":{"type":"number","nullable":true,"description":"Credits Month 5 (SDO CREDIT_MTH5; Optional; precision 2)"},"creditMth6":{"type":"number","nullable":true,"description":"Credits Month 6 (SDO CREDIT_MTH6; Optional; precision 2)"},"creditMth7":{"type":"number","nullable":true,"description":"Credits Month 7 (SDO CREDIT_MTH7; Optional; precision 2)"},"creditMth8":{"type":"number","nullable":true,"description":"Credits Month 8 (SDO CREDIT_MTH8; Optional; precision 2)"},"creditMth9":{"type":"number","nullable":true,"description":"Credits Month 9 (SDO CREDIT_MTH9; Optional; precision 2)"},"creditPosition":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Credit Position (SDO CREDIT_POSITION; Optional; precision 0)"},"creditReference":{"type":"string","nullable":true,"maxLength":60,"description":"Credit Bureau Reference (SDO CREDIT_REFERENCE; Optional; precision 0)"},"currency":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency (SDO CURRENCY; Optional; precision 0)"},"dateCreditAppReceived":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Credit Application Received (SDO DATE_CREDIT_APP_RECEIVED; Optional; precision 0)"},"declarationValidFrom":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Donor Declaration Valid From (SDO DECLARATION_VALID_FROM; Optional; precision 0)"},"defNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Default Nominal Code (SDO DEF_NOM_CODE; Optional; precision 0)"},"defTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax Code (SDO DEF_TAX_CODE; Optional; precision 0)"},"delAddress1":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line1 (SDO DEL_ADDRESS_1; Optional; precision 0)"},"delAddress2":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line2 (SDO DEL_ADDRESS_2; Optional; precision 0)"},"delAddress3":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line3 (SDO DEL_ADDRESS_3; Optional; precision 0)"},"delAddress4":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line4 (SDO DEL_ADDRESS_4; Optional; precision 0)"},"delAddress5":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line5 (SDO DEL_ADDRESS_5; Optional; precision 0)"},"delContactName":{"type":"string","nullable":true,"maxLength":30,"description":"Default Delivery Contact Name (SDO DEL_CONTACT_NAME; Optional; precision 0)"},"delFax":{"type":"string","nullable":true,"maxLength":30,"description":"Default Delivery Fax Number (SDO DEL_FAX; Optional; precision 0)"},"delName":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Name (SDO DEL_NAME; Optional; precision 0)"},"delTelephone":{"type":"string","nullable":true,"maxLength":30,"description":"Default Delivery Telephone Number (SDO DEL_TELEPHONE; Optional; precision 0)"},"deletedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Reserved for Future Use (SDO DELETED_FLAG; Optional; precision 0)"},"deptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Department Code (SDO DEPT_NUMBER; Optional; precision 0)"},"discountRate":{"type":"number","nullable":true,"description":"Discount Rate (SDO DISCOUNT_RATE; Optional; precision 2)"},"discountType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Discount Type (SDO DISCOUNT_TYPE; Optional; precision 0)"},"disputed":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Disputed (SDO DISPUTED; Optional; precision 0)"},"donorForename":{"type":"string","nullable":true,"maxLength":35,"description":"Donor Forename (SDO DONOR_FORENAME; Optional; precision 0)"},"donorSurname":{"type":"string","nullable":true,"maxLength":35,"description":"Donor Surname (SDO DONOR_SURNAME; Optional; precision 0)"},"donorTitle":{"type":"string","nullable":true,"maxLength":4,"description":"Donor Title (SDO DONOR_TITLE; Optional; precision 0)"},"dunsNumber":{"type":"string","nullable":true,"maxLength":9,"description":"DUNS Number (SDO DUNS_NUMBER; Optional; precision 0)"},"eMail":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (SDO E_MAIL; Optional; precision 0)"},"eMail2":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (2) (SDO E_MAIL2; Optional; precision 0)"},"eMail3":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (3) (SDO E_MAIL3; Optional; precision 0)"},"ecCode":{"type":"string","nullable":true,"maxLength":3,"description":"EC member code (SDO EC_CODE; Optional; precision 0)"},"eoriNumber":{"type":"string","nullable":true,"maxLength":17,"description":"EORI number (SDO EORI_NUMBER; Optional; precision 0)"},"externalUsage":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Number of External Usages for This Record (SDO EXTERNAL_USAGE; Optional; precision 0)"},"facebook":{"type":"string","nullable":true,"maxLength":75,"description":"Facebook Address (SDO FACEBOOK; Optional; precision 0)"},"fax":{"type":"string","nullable":true,"maxLength":30,"description":"Fax Number (SDO FAX; Optional; precision 0)"},"firstHeader":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"First transaction (SDO FIRST_HEADER; Optional; precision 0)"},"firstInvoice":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"First Invoice Date (SDO FIRST_INVOICE; Optional; precision 0)"},"giftAidEnabled":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Gift Aid is enabled (SDO GIFT_AID_ENABLED; Optional; precision 0)"},"holdMail":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Restrict Mail (SDO HOLD_MAIL; Optional; precision 0)"},"inactiveFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Inactive Flag - Yes/No (SDO INACTIVE_FLAG; Optional; precision 0)"},"incoterms":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Incoterms (SDO INCOTERMS; Optional; precision 0)"},"invoiceBf":{"type":"number","nullable":true,"description":"Invoices Brought Forward (SDO INVOICE_BF; Optional; precision 2)"},"invoiceCf":{"type":"number","nullable":true,"description":"Invoices Carry Forward (SDO INVOICE_CF; Optional; precision 2)"},"invoiceMth1":{"type":"number","nullable":true,"description":"Invoices Month 1 (SDO INVOICE_MTH1; Optional; precision 2)"},"invoiceMth10":{"type":"number","nullable":true,"description":"Invoices Month 10 (SDO INVOICE_MTH10; Optional; precision 2)"},"invoiceMth11":{"type":"number","nullable":true,"description":"Invoices Month 11 (SDO INVOICE_MTH11; Optional; precision 2)"},"invoiceMth12":{"type":"number","nullable":true,"description":"Invoices Month 12 (SDO INVOICE_MTH12; Optional; precision 2)"},"invoiceMth2":{"type":"number","nullable":true,"description":"Invoices Month 2 (SDO INVOICE_MTH2; Optional; precision 2)"},"invoiceMth3":{"type":"number","nullable":true,"description":"Invoices Month 3 (SDO INVOICE_MTH3; Optional; precision 2)"},"invoiceMth4":{"type":"number","nullable":true,"description":"Invoices Month 4 (SDO INVOICE_MTH4; Optional; precision 2)"},"invoiceMth5":{"type":"number","nullable":true,"description":"Invoices Month 5 (SDO INVOICE_MTH5; Optional; precision 2)"},"invoiceMth6":{"type":"number","nullable":true,"description":"Invoices Month 6 (SDO INVOICE_MTH6; Optional; precision 2)"},"invoiceMth7":{"type":"number","nullable":true,"description":"Invoices Month 7 (SDO INVOICE_MTH7; Optional; precision 2)"},"invoiceMth8":{"type":"number","nullable":true,"description":"Invoices Month 8 (SDO INVOICE_MTH8; Optional; precision 2)"},"invoiceMth9":{"type":"number","nullable":true,"description":"Invoices Month 9 (SDO INVOICE_MTH9; Optional; precision 2)"},"lastCreditRev":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Last Credit Review (SDO LAST_CREDIT_REV; Optional; precision 0)"},"lastHeader":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Last transaction (SDO LAST_HEADER; Optional; precision 0)"},"lastInvDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Last Invoice Date (SDO LAST_INV_DATE; Optional; precision 0)"},"lastPayDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Last Payment Date (SDO LAST_PAY_DATE; Optional; precision 0)"},"lastUpdated":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date of last update (SDO LAST_UPDATED; Optional; precision 0)"},"linkedin":{"type":"string","nullable":true,"maxLength":64,"description":"LinkedIn Address (SDO LINKEDIN; Optional; precision 0)"},"mandateref":{"type":"string","nullable":true,"maxLength":25,"description":"Direct Debit Mandate Ref (SDO MANDATEREF; Optional; precision 0)"},"memberReminderDate":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Member Reminder Date (SDO MEMBER_REMINDER_DATE; Optional; precision 0)"},"memberRenewalDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Member Renewal Date (SDO MEMBER_RENEWAL_DATE; Optional; precision 0)"},"memberSince":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Member Since (SDO MEMBER_SINCE; Optional; precision 0)"},"memoOffset":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Offset in Credit Memo File (SDO MEMO_OFFSET; Optional; precision 0)"},"memoSize":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Size of Memo in Bytes (SDO MEMO_SIZE; Optional; precision 0)"},"modify":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Modified Count (SDO MODIFY; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Account Name (SDO NAME; Optional; precision 0)"},"nextCreditRev":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Next Credit Review (SDO NEXT_CREDIT_REV; Optional; precision 0)"},"noOfHeader":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"No of trans (SDO NO_OF_HEADER; Optional; precision 0)"},"overrideProductNominal":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Override product nominal code in invoicing and pop (SDO OVERRIDE_PRODUCT_NOMINAL; Optional; precision 0)"},"overrideProductTax":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Override product tax code in invoicing (SDO OVERRIDE_PRODUCT_TAX; Optional; precision 0)"},"paymentBf":{"type":"number","nullable":true,"description":"Payments Brought Forward (SDO PAYMENT_BF; Optional; precision 2)"},"paymentCf":{"type":"number","nullable":true,"description":"Payments Carry Forward (SDO PAYMENT_CF; Optional; precision 2)"},"paymentDueDays":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Payment Due Days (SDO PAYMENT_DUE_DAYS; Optional; precision 0)"},"paymentDueFrom":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Payment Due From (SDO PAYMENT_DUE_FROM; Optional; precision 0)"},"paymentMth1":{"type":"number","nullable":true,"description":"Payments Month 1 (SDO PAYMENT_MTH1; Optional; precision 2)"},"paymentMth10":{"type":"number","nullable":true,"description":"Payments Month 10 (SDO PAYMENT_MTH10; Optional; precision 2)"},"paymentMth11":{"type":"number","nullable":true,"description":"Payments Month 11 (SDO PAYMENT_MTH11; Optional; precision 2)"},"paymentMth12":{"type":"number","nullable":true,"description":"Payments Month 12 (SDO PAYMENT_MTH12; Optional; precision 2)"},"paymentMth2":{"type":"number","nullable":true,"description":"Payments Month 2 (SDO PAYMENT_MTH2; Optional; precision 2)"},"paymentMth3":{"type":"number","nullable":true,"description":"Payments Month 3 (SDO PAYMENT_MTH3; Optional; precision 2)"},"paymentMth4":{"type":"number","nullable":true,"description":"Payments Month 4 (SDO PAYMENT_MTH4; Optional; precision 2)"},"paymentMth5":{"type":"number","nullable":true,"description":"Payments Month 5 (SDO PAYMENT_MTH5; Optional; precision 2)"},"paymentMth6":{"type":"number","nullable":true,"description":"Payments Month 6 (SDO PAYMENT_MTH6; Optional; precision 2)"},"paymentMth7":{"type":"number","nullable":true,"description":"Payments Month 7 (SDO PAYMENT_MTH7; Optional; precision 2)"},"paymentMth8":{"type":"number","nullable":true,"description":"Payments Month 8 (SDO PAYMENT_MTH8; Optional; precision 2)"},"paymentMth9":{"type":"number","nullable":true,"description":"Payments Month 9 (SDO PAYMENT_MTH9; Optional; precision 2)"},"paymentType":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Payment Method (SDO PAYMENT_TYPE; Optional; precision 0)"},"priceListRef":{"type":"string","nullable":true,"maxLength":8,"description":"Price list reference (SDO PRICE_LIST_REF; Optional; precision 0)"},"priorYear":{"type":"number","nullable":true,"description":"Prior YTD (SDO PRIOR_YEAR; Optional; precision 2)"},"priorityTrader":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Priority Supplier (SDO PRIORITY_TRADER; Optional; precision 0)"},"receiptBf":{"type":"number","nullable":true,"description":"Receipts Brought Forward (SDO RECEIPT_BF; Optional; precision 2)"},"receiptCf":{"type":"number","nullable":true,"description":"Receipts Carry Forward (SDO RECEIPT_CF; Optional; precision 2)"},"receiptMth1":{"type":"number","nullable":true,"description":"Receipts Month 1 (SDO RECEIPT_MTH1; Optional; precision 2)"},"receiptMth10":{"type":"number","nullable":true,"description":"Receipts Month 10 (SDO RECEIPT_MTH10; Optional; precision 2)"},"receiptMth11":{"type":"number","nullable":true,"description":"Receipts Month 11 (SDO RECEIPT_MTH11; Optional; precision 2)"},"receiptMth12":{"type":"number","nullable":true,"description":"Receipts Month 12 (SDO RECEIPT_MTH12; Optional; precision 2)"},"receiptMth2":{"type":"number","nullable":true,"description":"Receipts Month 2 (SDO RECEIPT_MTH2; Optional; precision 2)"},"receiptMth3":{"type":"number","nullable":true,"description":"Receipts Month 3 (SDO RECEIPT_MTH3; Optional; precision 2)"},"receiptMth4":{"type":"number","nullable":true,"description":"Receipts Month 4 (SDO RECEIPT_MTH4; Optional; precision 2)"},"receiptMth5":{"type":"number","nullable":true,"description":"Receipts Month 5 (SDO RECEIPT_MTH5; Optional; precision 2)"},"receiptMth6":{"type":"number","nullable":true,"description":"Receipts Month 6 (SDO RECEIPT_MTH6; Optional; precision 2)"},"receiptMth7":{"type":"number","nullable":true,"description":"Receipts Month 7 (SDO RECEIPT_MTH7; Optional; precision 2)"},"receiptMth8":{"type":"number","nullable":true,"description":"Receipts Month 8 (SDO RECEIPT_MTH8; Optional; precision 2)"},"receiptMth9":{"type":"number","nullable":true,"description":"Receipts Month 9 (SDO RECEIPT_MTH9; Optional; precision 2)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"salesRep":{"type":"string","nullable":true,"maxLength":60,"description":"Name of Sales Representative (SDO SALES_REP; Optional; precision 0)"},"sendInvoicesElectronically":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Send Invoices to this account via Email (SDO SEND_INVOICES_ELECTRONICALLY; Optional; precision 0)"},"sendLettersElectronically":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Send letters to this account via Email (SDO SEND_LETTERS_ELECTRONICALLY; Optional; precision 0)"},"settlementDiscRate":{"type":"number","nullable":true,"description":"Settlement Discount Rate (SDO SETTLEMENT_DISC_RATE; Optional; precision 2)"},"settlementDueDays":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Settlement Due Days (SDO SETTLEMENT_DUE_DAYS; Optional; precision 0)"},"telephone":{"type":"string","nullable":true,"maxLength":30,"description":"Telephone Number (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","nullable":true,"maxLength":30,"description":"Second Telephone Number (SDO TELEPHONE_2; Optional; precision 0)"},"terms":{"type":"string","nullable":true,"maxLength":30,"description":"Terms (SDO TERMS; Optional; precision 0)"},"termsAgreedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Terms agreed flag (SDO TERMS_AGREED_FLAG; Optional; precision 0)"},"tradeContact":{"type":"string","nullable":true,"maxLength":30,"description":"Name of Trade Contact (SDO TRADE_CONTACT; Optional; precision 0)"},"traderForeignBalance":{"type":"number","nullable":true,"description":"Foreign Balance (SDO TRADER_FOREIGN_BALANCE; Optional; precision 6)"},"turnoverMtd":{"type":"number","nullable":true,"description":"Turnover Month To Date (SDO TURNOVER_MTD; Optional; precision 2)"},"turnoverYtd":{"type":"number","nullable":true,"description":"Turnover Year To Date (SDO TURNOVER_YTD; Optional; precision 2)"},"twitter":{"type":"string","nullable":true,"maxLength":35,"description":"Twitter Address (SDO TWITTER; Optional; precision 0)"},"vatRegNumber":{"type":"string","nullable":true,"maxLength":20,"description":"VAT Registration Number (SDO VAT_REG_NUMBER; Optional; precision 0)"},"www":{"type":"string","nullable":true,"maxLength":255,"description":"WWW Address (SDO WWW; Optional; precision 0)"},"id":{"type":"string"}},"required":["accountManager","accountOnHold","accountOpened","accountRef","accountStatus","accountType","address1","address2","address3","address4","address5","analysis1","analysis2","analysis3","bacs","bacsReference","balance","bankAccountName","bankAccountNumber","bankAdditionalRef1","bankAdditionalRef2","bankAdditionalRef3","bankAddress1","bankAddress2","bankAddress3","bankAddress4","bankAddress5","bankBicswift","bankIban","bankName","bankRollNumber","bankSortCode","buildSocietyRef","buildingSociety","canApplyCharges","contactName","countryCode","creditAppReceived","creditAppliedFor","creditBf","creditBureau","creditCardNo","creditCf","creditLimit","creditMth1","creditMth10","creditMth11","creditMth12","creditMth2","creditMth3","creditMth4","creditMth5","creditMth6","creditMth7","creditMth8","creditMth9","creditPosition","creditReference","currency","dateCreditAppReceived","declarationValidFrom","defNomCode","defTaxCode","delAddress1","delAddress2","delAddress3","delAddress4","delAddress5","delContactName","delFax","delName","delTelephone","deletedFlag","deptNumber","discountRate","discountType","disputed","donorForename","donorSurname","donorTitle","dunsNumber","eMail","eMail2","eMail3","ecCode","eoriNumber","externalUsage","facebook","fax","firstHeader","firstInvoice","giftAidEnabled","holdMail","inactiveFlag","incoterms","invoiceBf","invoiceCf","invoiceMth1","invoiceMth10","invoiceMth11","invoiceMth12","invoiceMth2","invoiceMth3","invoiceMth4","invoiceMth5","invoiceMth6","invoiceMth7","invoiceMth8","invoiceMth9","lastCreditRev","lastHeader","lastInvDate","lastPayDate","lastUpdated","linkedin","mandateref","memberReminderDate","memberRenewalDate","memberSince","memoOffset","memoSize","modify","name","nextCreditRev","noOfHeader","overrideProductNominal","overrideProductTax","paymentBf","paymentCf","paymentDueDays","paymentDueFrom","paymentMth1","paymentMth10","paymentMth11","paymentMth12","paymentMth2","paymentMth3","paymentMth4","paymentMth5","paymentMth6","paymentMth7","paymentMth8","paymentMth9","paymentType","priceListRef","priorYear","priorityTrader","receiptBf","receiptCf","receiptMth1","receiptMth10","receiptMth11","receiptMth12","receiptMth2","receiptMth3","receiptMth4","receiptMth5","receiptMth6","receiptMth7","receiptMth8","receiptMth9","recordCreateDate","recordDeleted","recordModifyDate","salesRep","sendInvoicesElectronically","sendLettersElectronically","settlementDiscRate","settlementDueDays","telephone","telephone2","terms","termsAgreedFlag","tradeContact","traderForeignBalance","turnoverMtd","turnoverYtd","twitter","vatRegNumber","www","id"],"additionalProperties":false},"Uk29_2_suppliers_get":{"type":"object","properties":{"accountManager":{"type":"string","nullable":true,"maxLength":60,"description":"Name of Account Manager (SDO ACCOUNT_MANAGER; Optional; precision 0)"},"accountOnHold":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Account On Hold (SDO ACCOUNT_ON_HOLD; Optional; precision 0)"},"accountOpened":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Account Opened (SDO ACCOUNT_OPENED; Optional; precision 0)"},"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Account Reference (SDO ACCOUNT_REF; Required; precision 0)"},"accountStatus":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Status (SDO ACCOUNT_STATUS; Optional; precision 0)"},"accountType":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Type (SDO ACCOUNT_TYPE; Optional; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line5 (SDO ADDRESS_5; Optional; precision 0)"},"analysis1":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"analysis4":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 4 (SDO ANALYSIS_4; Optional; precision 0)"},"analysis5":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 5 (SDO ANALYSIS_5; Optional; precision 0)"},"analysis6":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 6 (SDO ANALYSIS_6; Optional; precision 0)"},"bacs":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Bank Online Payments (SDO BACS; Optional; precision 0)"},"bacsReference":{"type":"string","nullable":true,"maxLength":60,"description":"Bank BACS Ref (SDO BACS_REFERENCE; Optional; precision 0)"},"balance":{"type":"number","nullable":true,"description":"Balance (SDO BALANCE; Optional; precision 2)"},"bankAccountName":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Account Name (SDO BANK_ACCOUNT_NAME; Optional; precision 0)"},"bankAccountNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Account Number (SDO BANK_ACCOUNT_NUMBER; Optional; precision 0)"},"bankAdditionalRef1":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Additional Ref1 (SDO BANK_ADDITIONAL_REF1; Optional; precision 0)"},"bankAdditionalRef2":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Additional Ref2 (SDO BANK_ADDITIONAL_REF2; Optional; precision 0)"},"bankAdditionalRef3":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Additional Ref3 (SDO BANK_ADDITIONAL_REF3; Optional; precision 0)"},"bankAddress1":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line1 (SDO BANK_ADDRESS_1; Optional; precision 0)"},"bankAddress2":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line2 (SDO BANK_ADDRESS_2; Optional; precision 0)"},"bankAddress3":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line3 (SDO BANK_ADDRESS_3; Optional; precision 0)"},"bankAddress4":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line4 (SDO BANK_ADDRESS_4; Optional; precision 0)"},"bankAddress5":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line5 (SDO BANK_ADDRESS_5; Optional; precision 0)"},"bankBicswift":{"type":"string","nullable":true,"maxLength":60,"description":"Bank BIC/Swift (SDO BANK_BICSWIFT; Optional; precision 0)"},"bankIban":{"type":"string","nullable":true,"maxLength":60,"description":"Bank IBAN (SDO BANK_IBAN; Optional; precision 0)"},"bankName":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Name (SDO BANK_NAME; Optional; precision 0)"},"bankRollNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Roll Number (SDO BANK_ROLL_NUMBER; Optional; precision 0)"},"bankSortCode":{"type":"string","nullable":true,"maxLength":10,"description":"Bank Sort Code (SDO BANK_SORT_CODE; Optional; precision 0)"},"buildSocietyRef":{"type":"string","nullable":true,"maxLength":60,"description":"Refernce for Building Society Transfer (SDO BUILD_SOCIETY_REF; Optional; precision 0)"},"buildingSociety":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Uses Building Society (SDO BUILDING_SOCIETY; Optional; precision 0)"},"canApplyCharges":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Can Charge Credit (SDO CAN_APPLY_CHARGES; Optional; precision 0)"},"companyRegistrationNumber":{"type":"string","nullable":true,"maxLength":16,"description":"Company Reg. Number (SDO COMPANY_REGISTRATION_NUMBER; Optional; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Contact Name (SDO CONTACT_NAME; Optional; precision 0)"},"countryCode":{"type":"string","nullable":true,"maxLength":2,"description":"Country Code (SDO COUNTRY_CODE; Optional; precision 0)"},"creditAppReceived":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"True if Credit Application Received (SDO CREDIT_APP_RECEIVED; Optional; precision 0)"},"creditAppliedFor":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Credit Applied For (SDO CREDIT_APPLIED_FOR; Optional; precision 0)"},"creditBf":{"type":"number","nullable":true,"description":"Credits Brought Forward (SDO CREDIT_BF; Optional; precision 2)"},"creditBureau":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Credit Bureau Used (SDO CREDIT_BUREAU; Optional; precision 0)"},"creditCardNo":{"type":"string","nullable":true,"maxLength":30,"description":"Credit card number (SDO CREDIT_CARD_NO; Optional; precision 0)"},"creditCf":{"type":"number","nullable":true,"description":"Credits Carry Forward (SDO CREDIT_CF; Optional; precision 2)"},"creditLimit":{"type":"number","nullable":true,"description":"Credit Limit (SDO CREDIT_LIMIT; Optional; precision 2)"},"creditMth1":{"type":"number","nullable":true,"description":"Credits Month 1 (SDO CREDIT_MTH1; Optional; precision 2)"},"creditMth10":{"type":"number","nullable":true,"description":"Credits Month 10 (SDO CREDIT_MTH10; Optional; precision 2)"},"creditMth11":{"type":"number","nullable":true,"description":"Credits Month 11 (SDO CREDIT_MTH11; Optional; precision 2)"},"creditMth12":{"type":"number","nullable":true,"description":"Credits Month 12 (SDO CREDIT_MTH12; Optional; precision 2)"},"creditMth2":{"type":"number","nullable":true,"description":"Credits Month 2 (SDO CREDIT_MTH2; Optional; precision 2)"},"creditMth3":{"type":"number","nullable":true,"description":"Credits Month 3 (SDO CREDIT_MTH3; Optional; precision 2)"},"creditMth4":{"type":"number","nullable":true,"description":"Credits Month 4 (SDO CREDIT_MTH4; Optional; precision 2)"},"creditMth5":{"type":"number","nullable":true,"description":"Credits Month 5 (SDO CREDIT_MTH5; Optional; precision 2)"},"creditMth6":{"type":"number","nullable":true,"description":"Credits Month 6 (SDO CREDIT_MTH6; Optional; precision 2)"},"creditMth7":{"type":"number","nullable":true,"description":"Credits Month 7 (SDO CREDIT_MTH7; Optional; precision 2)"},"creditMth8":{"type":"number","nullable":true,"description":"Credits Month 8 (SDO CREDIT_MTH8; Optional; precision 2)"},"creditMth9":{"type":"number","nullable":true,"description":"Credits Month 9 (SDO CREDIT_MTH9; Optional; precision 2)"},"creditPosition":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Credit Position (SDO CREDIT_POSITION; Optional; precision 0)"},"creditReference":{"type":"string","nullable":true,"maxLength":60,"description":"Credit Bureau Reference (SDO CREDIT_REFERENCE; Optional; precision 0)"},"currency":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency (SDO CURRENCY; Optional; precision 0)"},"dateCreditAppReceived":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Credit Application Received (SDO DATE_CREDIT_APP_RECEIVED; Optional; precision 0)"},"declarationValidFrom":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Donor Declaration Valid From (SDO DECLARATION_VALID_FROM; Optional; precision 0)"},"defNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Default Nominal Code (SDO DEF_NOM_CODE; Optional; precision 0)"},"defTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax Code (SDO DEF_TAX_CODE; Optional; precision 0)"},"delAddress1":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line1 (SDO DEL_ADDRESS_1; Optional; precision 0)"},"delAddress2":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line2 (SDO DEL_ADDRESS_2; Optional; precision 0)"},"delAddress3":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line3 (SDO DEL_ADDRESS_3; Optional; precision 0)"},"delAddress4":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line4 (SDO DEL_ADDRESS_4; Optional; precision 0)"},"delAddress5":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line5 (SDO DEL_ADDRESS_5; Optional; precision 0)"},"delContactName":{"type":"string","nullable":true,"maxLength":30,"description":"Default Delivery Contact Name (SDO DEL_CONTACT_NAME; Optional; precision 0)"},"delFax":{"type":"string","nullable":true,"maxLength":30,"description":"Default Delivery Fax Number (SDO DEL_FAX; Optional; precision 0)"},"delName":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Name (SDO DEL_NAME; Optional; precision 0)"},"delTelephone":{"type":"string","nullable":true,"maxLength":30,"description":"Default Delivery Telephone Number (SDO DEL_TELEPHONE; Optional; precision 0)"},"deletedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Reserved for Future Use (SDO DELETED_FLAG; Optional; precision 0)"},"deptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Department Code (SDO DEPT_NUMBER; Optional; precision 0)"},"discountRate":{"type":"number","nullable":true,"description":"Discount Rate (SDO DISCOUNT_RATE; Optional; precision 2)"},"discountType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Discount Type (SDO DISCOUNT_TYPE; Optional; precision 0)"},"disputed":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Disputed (SDO DISPUTED; Optional; precision 0)"},"donorForename":{"type":"string","nullable":true,"maxLength":35,"description":"Donor Forename (SDO DONOR_FORENAME; Optional; precision 0)"},"donorSurname":{"type":"string","nullable":true,"maxLength":35,"description":"Donor Surname (SDO DONOR_SURNAME; Optional; precision 0)"},"donorTitle":{"type":"string","nullable":true,"maxLength":4,"description":"Donor Title (SDO DONOR_TITLE; Optional; precision 0)"},"dunsNumber":{"type":"string","nullable":true,"maxLength":9,"description":"DUNS Number (SDO DUNS_NUMBER; Optional; precision 0)"},"eMail":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (SDO E_MAIL; Optional; precision 0)"},"eMail2":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (2) (SDO E_MAIL2; Optional; precision 0)"},"eMail3":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (3) (SDO E_MAIL3; Optional; precision 0)"},"eMail4":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (4) (SDO E_MAIL4; Optional; precision 0)"},"eMail5":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (5) (SDO E_MAIL5; Optional; precision 0)"},"eMail6":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (6) (SDO E_MAIL6; Optional; precision 0)"},"ecCode":{"type":"string","nullable":true,"maxLength":3,"description":"EC member code (SDO EC_CODE; Optional; precision 0)"},"eoriNumber":{"type":"string","nullable":true,"maxLength":17,"description":"EORI number (SDO EORI_NUMBER; Optional; precision 0)"},"externalUsage":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Number of External Usages for This Record (SDO EXTERNAL_USAGE; Optional; precision 0)"},"facebook":{"type":"string","nullable":true,"maxLength":75,"description":"Facebook Address (SDO FACEBOOK; Optional; precision 0)"},"fax":{"type":"string","nullable":true,"maxLength":30,"description":"Fax Number (SDO FAX; Optional; precision 0)"},"firstHeader":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"First transaction (SDO FIRST_HEADER; Optional; precision 0)"},"firstInvoice":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"First Invoice Date (SDO FIRST_INVOICE; Optional; precision 0)"},"giftAidEnabled":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Gift Aid is enabled (SDO GIFT_AID_ENABLED; Optional; precision 0)"},"holdMail":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Restrict Mail (SDO HOLD_MAIL; Optional; precision 0)"},"inactiveFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Inactive Flag - Yes/No (SDO INACTIVE_FLAG; Optional; precision 0)"},"incoterms":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Incoterms (SDO INCOTERMS; Optional; precision 0)"},"invoiceBf":{"type":"number","nullable":true,"description":"Invoices Brought Forward (SDO INVOICE_BF; Optional; precision 2)"},"invoiceCf":{"type":"number","nullable":true,"description":"Invoices Carry Forward (SDO INVOICE_CF; Optional; precision 2)"},"invoiceMth1":{"type":"number","nullable":true,"description":"Invoices Month 1 (SDO INVOICE_MTH1; Optional; precision 2)"},"invoiceMth10":{"type":"number","nullable":true,"description":"Invoices Month 10 (SDO INVOICE_MTH10; Optional; precision 2)"},"invoiceMth11":{"type":"number","nullable":true,"description":"Invoices Month 11 (SDO INVOICE_MTH11; Optional; precision 2)"},"invoiceMth12":{"type":"number","nullable":true,"description":"Invoices Month 12 (SDO INVOICE_MTH12; Optional; precision 2)"},"invoiceMth2":{"type":"number","nullable":true,"description":"Invoices Month 2 (SDO INVOICE_MTH2; Optional; precision 2)"},"invoiceMth3":{"type":"number","nullable":true,"description":"Invoices Month 3 (SDO INVOICE_MTH3; Optional; precision 2)"},"invoiceMth4":{"type":"number","nullable":true,"description":"Invoices Month 4 (SDO INVOICE_MTH4; Optional; precision 2)"},"invoiceMth5":{"type":"number","nullable":true,"description":"Invoices Month 5 (SDO INVOICE_MTH5; Optional; precision 2)"},"invoiceMth6":{"type":"number","nullable":true,"description":"Invoices Month 6 (SDO INVOICE_MTH6; Optional; precision 2)"},"invoiceMth7":{"type":"number","nullable":true,"description":"Invoices Month 7 (SDO INVOICE_MTH7; Optional; precision 2)"},"invoiceMth8":{"type":"number","nullable":true,"description":"Invoices Month 8 (SDO INVOICE_MTH8; Optional; precision 2)"},"invoiceMth9":{"type":"number","nullable":true,"description":"Invoices Month 9 (SDO INVOICE_MTH9; Optional; precision 2)"},"lastCreditRev":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Last Credit Review (SDO LAST_CREDIT_REV; Optional; precision 0)"},"lastHeader":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Last transaction (SDO LAST_HEADER; Optional; precision 0)"},"lastInvDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Last Invoice Date (SDO LAST_INV_DATE; Optional; precision 0)"},"lastPayDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Last Payment Date (SDO LAST_PAY_DATE; Optional; precision 0)"},"lastUpdated":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date of last update (SDO LAST_UPDATED; Optional; precision 0)"},"linkedin":{"type":"string","nullable":true,"maxLength":64,"description":"LinkedIn Address (SDO LINKEDIN; Optional; precision 0)"},"mandateref":{"type":"string","nullable":true,"maxLength":25,"description":"Direct Debit Mandate Ref (SDO MANDATEREF; Optional; precision 0)"},"memberReminderDate":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Member Reminder Date (SDO MEMBER_REMINDER_DATE; Optional; precision 0)"},"memberRenewalDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Member Renewal Date (SDO MEMBER_RENEWAL_DATE; Optional; precision 0)"},"memberSince":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Member Since (SDO MEMBER_SINCE; Optional; precision 0)"},"memoOffset":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Offset in Credit Memo File (SDO MEMO_OFFSET; Optional; precision 0)"},"memoSize":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Size of Memo in Bytes (SDO MEMO_SIZE; Optional; precision 0)"},"modify":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Modified Count (SDO MODIFY; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Account Name (SDO NAME; Optional; precision 0)"},"nextCreditRev":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Next Credit Review (SDO NEXT_CREDIT_REV; Optional; precision 0)"},"noOfHeader":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"No of trans (SDO NO_OF_HEADER; Optional; precision 0)"},"overrideProductNominal":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Override product nominal code in invoicing and pop (SDO OVERRIDE_PRODUCT_NOMINAL; Optional; precision 0)"},"overrideProductTax":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Override product tax code in invoicing (SDO OVERRIDE_PRODUCT_TAX; Optional; precision 0)"},"paymentBf":{"type":"number","nullable":true,"description":"Payments Brought Forward (SDO PAYMENT_BF; Optional; precision 2)"},"paymentCf":{"type":"number","nullable":true,"description":"Payments Carry Forward (SDO PAYMENT_CF; Optional; precision 2)"},"paymentDueDays":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Payment Due Days (SDO PAYMENT_DUE_DAYS; Optional; precision 0)"},"paymentDueFrom":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Payment Due From (SDO PAYMENT_DUE_FROM; Optional; precision 0)"},"paymentMth1":{"type":"number","nullable":true,"description":"Payments Month 1 (SDO PAYMENT_MTH1; Optional; precision 2)"},"paymentMth10":{"type":"number","nullable":true,"description":"Payments Month 10 (SDO PAYMENT_MTH10; Optional; precision 2)"},"paymentMth11":{"type":"number","nullable":true,"description":"Payments Month 11 (SDO PAYMENT_MTH11; Optional; precision 2)"},"paymentMth12":{"type":"number","nullable":true,"description":"Payments Month 12 (SDO PAYMENT_MTH12; Optional; precision 2)"},"paymentMth2":{"type":"number","nullable":true,"description":"Payments Month 2 (SDO PAYMENT_MTH2; Optional; precision 2)"},"paymentMth3":{"type":"number","nullable":true,"description":"Payments Month 3 (SDO PAYMENT_MTH3; Optional; precision 2)"},"paymentMth4":{"type":"number","nullable":true,"description":"Payments Month 4 (SDO PAYMENT_MTH4; Optional; precision 2)"},"paymentMth5":{"type":"number","nullable":true,"description":"Payments Month 5 (SDO PAYMENT_MTH5; Optional; precision 2)"},"paymentMth6":{"type":"number","nullable":true,"description":"Payments Month 6 (SDO PAYMENT_MTH6; Optional; precision 2)"},"paymentMth7":{"type":"number","nullable":true,"description":"Payments Month 7 (SDO PAYMENT_MTH7; Optional; precision 2)"},"paymentMth8":{"type":"number","nullable":true,"description":"Payments Month 8 (SDO PAYMENT_MTH8; Optional; precision 2)"},"paymentMth9":{"type":"number","nullable":true,"description":"Payments Month 9 (SDO PAYMENT_MTH9; Optional; precision 2)"},"paymentType":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Payment Method (SDO PAYMENT_TYPE; Optional; precision 0)"},"priceListRef":{"type":"string","nullable":true,"maxLength":8,"description":"Price list reference (SDO PRICE_LIST_REF; Optional; precision 0)"},"priorYear":{"type":"number","nullable":true,"description":"Prior YTD (SDO PRIOR_YEAR; Optional; precision 2)"},"priorityTrader":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Priority Supplier (SDO PRIORITY_TRADER; Optional; precision 0)"},"receiptBf":{"type":"number","nullable":true,"description":"Receipts Brought Forward (SDO RECEIPT_BF; Optional; precision 2)"},"receiptCf":{"type":"number","nullable":true,"description":"Receipts Carry Forward (SDO RECEIPT_CF; Optional; precision 2)"},"receiptMth1":{"type":"number","nullable":true,"description":"Receipts Month 1 (SDO RECEIPT_MTH1; Optional; precision 2)"},"receiptMth10":{"type":"number","nullable":true,"description":"Receipts Month 10 (SDO RECEIPT_MTH10; Optional; precision 2)"},"receiptMth11":{"type":"number","nullable":true,"description":"Receipts Month 11 (SDO RECEIPT_MTH11; Optional; precision 2)"},"receiptMth12":{"type":"number","nullable":true,"description":"Receipts Month 12 (SDO RECEIPT_MTH12; Optional; precision 2)"},"receiptMth2":{"type":"number","nullable":true,"description":"Receipts Month 2 (SDO RECEIPT_MTH2; Optional; precision 2)"},"receiptMth3":{"type":"number","nullable":true,"description":"Receipts Month 3 (SDO RECEIPT_MTH3; Optional; precision 2)"},"receiptMth4":{"type":"number","nullable":true,"description":"Receipts Month 4 (SDO RECEIPT_MTH4; Optional; precision 2)"},"receiptMth5":{"type":"number","nullable":true,"description":"Receipts Month 5 (SDO RECEIPT_MTH5; Optional; precision 2)"},"receiptMth6":{"type":"number","nullable":true,"description":"Receipts Month 6 (SDO RECEIPT_MTH6; Optional; precision 2)"},"receiptMth7":{"type":"number","nullable":true,"description":"Receipts Month 7 (SDO RECEIPT_MTH7; Optional; precision 2)"},"receiptMth8":{"type":"number","nullable":true,"description":"Receipts Month 8 (SDO RECEIPT_MTH8; Optional; precision 2)"},"receiptMth9":{"type":"number","nullable":true,"description":"Receipts Month 9 (SDO RECEIPT_MTH9; Optional; precision 2)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"salesRep":{"type":"string","nullable":true,"maxLength":60,"description":"Name of Sales Representative (SDO SALES_REP; Optional; precision 0)"},"sendInvoicesElectronically":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Send Invoices to this account via Email (SDO SEND_INVOICES_ELECTRONICALLY; Optional; precision 0)"},"sendLettersElectronically":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Send letters to this account via Email (SDO SEND_LETTERS_ELECTRONICALLY; Optional; precision 0)"},"settlementDiscRate":{"type":"number","nullable":true,"description":"Settlement Discount Rate (SDO SETTLEMENT_DISC_RATE; Optional; precision 2)"},"settlementDueDays":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Settlement Due Days (SDO SETTLEMENT_DUE_DAYS; Optional; precision 0)"},"telephone":{"type":"string","nullable":true,"maxLength":30,"description":"Telephone Number (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","nullable":true,"maxLength":30,"description":"Second Telephone Number (SDO TELEPHONE_2; Optional; precision 0)"},"terms":{"type":"string","nullable":true,"maxLength":30,"description":"Terms (SDO TERMS; Optional; precision 0)"},"termsAgreedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Terms agreed flag (SDO TERMS_AGREED_FLAG; Optional; precision 0)"},"tradeContact":{"type":"string","nullable":true,"maxLength":30,"description":"Name of Trade Contact (SDO TRADE_CONTACT; Optional; precision 0)"},"traderForeignBalance":{"type":"number","nullable":true,"description":"Foreign Balance (SDO TRADER_FOREIGN_BALANCE; Optional; precision 6)"},"turnoverMtd":{"type":"number","nullable":true,"description":"Turnover Month To Date (SDO TURNOVER_MTD; Optional; precision 2)"},"turnoverYtd":{"type":"number","nullable":true,"description":"Turnover Year To Date (SDO TURNOVER_YTD; Optional; precision 2)"},"twitter":{"type":"string","nullable":true,"maxLength":35,"description":"Twitter Address (SDO TWITTER; Optional; precision 0)"},"vatRegNumber":{"type":"string","nullable":true,"maxLength":20,"description":"VAT Registration Number (SDO VAT_REG_NUMBER; Optional; precision 0)"},"www":{"type":"string","nullable":true,"maxLength":255,"description":"WWW Address (SDO WWW; Optional; precision 0)"},"id":{"type":"string"}},"required":["accountManager","accountOnHold","accountOpened","accountRef","accountStatus","accountType","address1","address2","address3","address4","address5","analysis1","analysis2","analysis3","analysis4","analysis5","analysis6","bacs","bacsReference","balance","bankAccountName","bankAccountNumber","bankAdditionalRef1","bankAdditionalRef2","bankAdditionalRef3","bankAddress1","bankAddress2","bankAddress3","bankAddress4","bankAddress5","bankBicswift","bankIban","bankName","bankRollNumber","bankSortCode","buildSocietyRef","buildingSociety","canApplyCharges","companyRegistrationNumber","contactName","countryCode","creditAppReceived","creditAppliedFor","creditBf","creditBureau","creditCardNo","creditCf","creditLimit","creditMth1","creditMth10","creditMth11","creditMth12","creditMth2","creditMth3","creditMth4","creditMth5","creditMth6","creditMth7","creditMth8","creditMth9","creditPosition","creditReference","currency","dateCreditAppReceived","declarationValidFrom","defNomCode","defTaxCode","delAddress1","delAddress2","delAddress3","delAddress4","delAddress5","delContactName","delFax","delName","delTelephone","deletedFlag","deptNumber","discountRate","discountType","disputed","donorForename","donorSurname","donorTitle","dunsNumber","eMail","eMail2","eMail3","eMail4","eMail5","eMail6","ecCode","eoriNumber","externalUsage","facebook","fax","firstHeader","firstInvoice","giftAidEnabled","holdMail","inactiveFlag","incoterms","invoiceBf","invoiceCf","invoiceMth1","invoiceMth10","invoiceMth11","invoiceMth12","invoiceMth2","invoiceMth3","invoiceMth4","invoiceMth5","invoiceMth6","invoiceMth7","invoiceMth8","invoiceMth9","lastCreditRev","lastHeader","lastInvDate","lastPayDate","lastUpdated","linkedin","mandateref","memberReminderDate","memberRenewalDate","memberSince","memoOffset","memoSize","modify","name","nextCreditRev","noOfHeader","overrideProductNominal","overrideProductTax","paymentBf","paymentCf","paymentDueDays","paymentDueFrom","paymentMth1","paymentMth10","paymentMth11","paymentMth12","paymentMth2","paymentMth3","paymentMth4","paymentMth5","paymentMth6","paymentMth7","paymentMth8","paymentMth9","paymentType","priceListRef","priorYear","priorityTrader","receiptBf","receiptCf","receiptMth1","receiptMth10","receiptMth11","receiptMth12","receiptMth2","receiptMth3","receiptMth4","receiptMth5","receiptMth6","receiptMth7","receiptMth8","receiptMth9","recordCreateDate","recordDeleted","recordModifyDate","salesRep","sendInvoicesElectronically","sendLettersElectronically","settlementDiscRate","settlementDueDays","telephone","telephone2","terms","termsAgreedFlag","tradeContact","traderForeignBalance","turnoverMtd","turnoverYtd","twitter","vatRegNumber","www","id"],"additionalProperties":false},"Uk30_1_suppliers_get":{"type":"object","properties":{"accountManager":{"type":"string","nullable":true,"maxLength":60,"description":"Name of Account Manager (SDO ACCOUNT_MANAGER; Optional; precision 0)"},"accountOnHold":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Account On Hold (SDO ACCOUNT_ON_HOLD; Optional; precision 0)"},"accountOpened":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Account Opened (SDO ACCOUNT_OPENED; Optional; precision 0)"},"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Account Reference (SDO ACCOUNT_REF; Required; precision 0)"},"accountStatus":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Status (SDO ACCOUNT_STATUS; Optional; precision 0)"},"accountType":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Type (SDO ACCOUNT_TYPE; Optional; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line5 (SDO ADDRESS_5; Optional; precision 0)"},"analysis1":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"analysis4":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 4 (SDO ANALYSIS_4; Optional; precision 0)"},"analysis5":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 5 (SDO ANALYSIS_5; Optional; precision 0)"},"analysis6":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 6 (SDO ANALYSIS_6; Optional; precision 0)"},"bacs":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Bank Online Payments (SDO BACS; Optional; precision 0)"},"bacsReference":{"type":"string","nullable":true,"maxLength":60,"description":"Bank BACS Ref (SDO BACS_REFERENCE; Optional; precision 0)"},"balance":{"type":"number","nullable":true,"description":"Balance (SDO BALANCE; Optional; precision 2)"},"bankAccountName":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Account Name (SDO BANK_ACCOUNT_NAME; Optional; precision 0)"},"bankAccountNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Account Number (SDO BANK_ACCOUNT_NUMBER; Optional; precision 0)"},"bankAdditionalRef1":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Additional Ref1 (SDO BANK_ADDITIONAL_REF1; Optional; precision 0)"},"bankAdditionalRef2":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Additional Ref2 (SDO BANK_ADDITIONAL_REF2; Optional; precision 0)"},"bankAdditionalRef3":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Additional Ref3 (SDO BANK_ADDITIONAL_REF3; Optional; precision 0)"},"bankAddress1":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line1 (SDO BANK_ADDRESS_1; Optional; precision 0)"},"bankAddress2":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line2 (SDO BANK_ADDRESS_2; Optional; precision 0)"},"bankAddress3":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line3 (SDO BANK_ADDRESS_3; Optional; precision 0)"},"bankAddress4":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line4 (SDO BANK_ADDRESS_4; Optional; precision 0)"},"bankAddress5":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line5 (SDO BANK_ADDRESS_5; Optional; precision 0)"},"bankBicswift":{"type":"string","nullable":true,"maxLength":60,"description":"Bank BIC/Swift (SDO BANK_BICSWIFT; Optional; precision 0)"},"bankIban":{"type":"string","nullable":true,"maxLength":60,"description":"Bank IBAN (SDO BANK_IBAN; Optional; precision 0)"},"bankName":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Name (SDO BANK_NAME; Optional; precision 0)"},"bankRollNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Roll Number (SDO BANK_ROLL_NUMBER; Optional; precision 0)"},"bankSortCode":{"type":"string","nullable":true,"maxLength":10,"description":"Bank Sort Code (SDO BANK_SORT_CODE; Optional; precision 0)"},"buildSocietyRef":{"type":"string","nullable":true,"maxLength":60,"description":"Refernce for Building Society Transfer (SDO BUILD_SOCIETY_REF; Optional; precision 0)"},"buildingSociety":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Uses Building Society (SDO BUILDING_SOCIETY; Optional; precision 0)"},"canApplyCharges":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Can Charge Credit (SDO CAN_APPLY_CHARGES; Optional; precision 0)"},"companyRegistrationNumber":{"type":"string","nullable":true,"maxLength":16,"description":"Company Reg. Number (SDO COMPANY_REGISTRATION_NUMBER; Optional; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Contact Name (SDO CONTACT_NAME; Optional; precision 0)"},"countryCode":{"type":"string","nullable":true,"maxLength":2,"description":"Country Code (SDO COUNTRY_CODE; Optional; precision 0)"},"creditAppReceived":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"True if Credit Application Received (SDO CREDIT_APP_RECEIVED; Optional; precision 0)"},"creditAppliedFor":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Credit Applied For (SDO CREDIT_APPLIED_FOR; Optional; precision 0)"},"creditBf":{"type":"number","nullable":true,"description":"Credits Brought Forward (SDO CREDIT_BF; Optional; precision 2)"},"creditBureau":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Credit Bureau Used (SDO CREDIT_BUREAU; Optional; precision 0)"},"creditCardNo":{"type":"string","nullable":true,"maxLength":30,"description":"Credit card number (SDO CREDIT_CARD_NO; Optional; precision 0)"},"creditCf":{"type":"number","nullable":true,"description":"Credits Carry Forward (SDO CREDIT_CF; Optional; precision 2)"},"creditLimit":{"type":"number","nullable":true,"description":"Credit Limit (SDO CREDIT_LIMIT; Optional; precision 2)"},"creditMth1":{"type":"number","nullable":true,"description":"Credits Month 1 (SDO CREDIT_MTH1; Optional; precision 2)"},"creditMth10":{"type":"number","nullable":true,"description":"Credits Month 10 (SDO CREDIT_MTH10; Optional; precision 2)"},"creditMth11":{"type":"number","nullable":true,"description":"Credits Month 11 (SDO CREDIT_MTH11; Optional; precision 2)"},"creditMth12":{"type":"number","nullable":true,"description":"Credits Month 12 (SDO CREDIT_MTH12; Optional; precision 2)"},"creditMth2":{"type":"number","nullable":true,"description":"Credits Month 2 (SDO CREDIT_MTH2; Optional; precision 2)"},"creditMth3":{"type":"number","nullable":true,"description":"Credits Month 3 (SDO CREDIT_MTH3; Optional; precision 2)"},"creditMth4":{"type":"number","nullable":true,"description":"Credits Month 4 (SDO CREDIT_MTH4; Optional; precision 2)"},"creditMth5":{"type":"number","nullable":true,"description":"Credits Month 5 (SDO CREDIT_MTH5; Optional; precision 2)"},"creditMth6":{"type":"number","nullable":true,"description":"Credits Month 6 (SDO CREDIT_MTH6; Optional; precision 2)"},"creditMth7":{"type":"number","nullable":true,"description":"Credits Month 7 (SDO CREDIT_MTH7; Optional; precision 2)"},"creditMth8":{"type":"number","nullable":true,"description":"Credits Month 8 (SDO CREDIT_MTH8; Optional; precision 2)"},"creditMth9":{"type":"number","nullable":true,"description":"Credits Month 9 (SDO CREDIT_MTH9; Optional; precision 2)"},"creditPosition":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Credit Position (SDO CREDIT_POSITION; Optional; precision 0)"},"creditReference":{"type":"string","nullable":true,"maxLength":60,"description":"Credit Bureau Reference (SDO CREDIT_REFERENCE; Optional; precision 0)"},"currency":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency (SDO CURRENCY; Optional; precision 0)"},"dateCreditAppReceived":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Credit Application Received (SDO DATE_CREDIT_APP_RECEIVED; Optional; precision 0)"},"declarationValidFrom":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Donor Declaration Valid From (SDO DECLARATION_VALID_FROM; Optional; precision 0)"},"defNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Default Nominal Code (SDO DEF_NOM_CODE; Optional; precision 0)"},"defTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax Code (SDO DEF_TAX_CODE; Optional; precision 0)"},"delAddress1":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line1 (SDO DEL_ADDRESS_1; Optional; precision 0)"},"delAddress2":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line2 (SDO DEL_ADDRESS_2; Optional; precision 0)"},"delAddress3":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line3 (SDO DEL_ADDRESS_3; Optional; precision 0)"},"delAddress4":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line4 (SDO DEL_ADDRESS_4; Optional; precision 0)"},"delAddress5":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line5 (SDO DEL_ADDRESS_5; Optional; precision 0)"},"delContactName":{"type":"string","nullable":true,"maxLength":30,"description":"Default Delivery Contact Name (SDO DEL_CONTACT_NAME; Optional; precision 0)"},"delFax":{"type":"string","nullable":true,"maxLength":30,"description":"Default Delivery Fax Number (SDO DEL_FAX; Optional; precision 0)"},"delName":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Name (SDO DEL_NAME; Optional; precision 0)"},"delTelephone":{"type":"string","nullable":true,"maxLength":30,"description":"Default Delivery Telephone Number (SDO DEL_TELEPHONE; Optional; precision 0)"},"deletedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Reserved for Future Use (SDO DELETED_FLAG; Optional; precision 0)"},"deptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Department Code (SDO DEPT_NUMBER; Optional; precision 0)"},"discountRate":{"type":"number","nullable":true,"description":"Discount Rate (SDO DISCOUNT_RATE; Optional; precision 2)"},"discountType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Discount Type (SDO DISCOUNT_TYPE; Optional; precision 0)"},"disputed":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Disputed (SDO DISPUTED; Optional; precision 0)"},"donorForename":{"type":"string","nullable":true,"maxLength":35,"description":"Donor Forename (SDO DONOR_FORENAME; Optional; precision 0)"},"donorSurname":{"type":"string","nullable":true,"maxLength":35,"description":"Donor Surname (SDO DONOR_SURNAME; Optional; precision 0)"},"donorTitle":{"type":"string","nullable":true,"maxLength":4,"description":"Donor Title (SDO DONOR_TITLE; Optional; precision 0)"},"dunsNumber":{"type":"string","nullable":true,"maxLength":9,"description":"DUNS Number (SDO DUNS_NUMBER; Optional; precision 0)"},"eMail":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (SDO E_MAIL; Optional; precision 0)"},"eMail2":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (2) (SDO E_MAIL2; Optional; precision 0)"},"eMail3":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (3) (SDO E_MAIL3; Optional; precision 0)"},"eMail4":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (4) (SDO E_MAIL4; Optional; precision 0)"},"eMail5":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (5) (SDO E_MAIL5; Optional; precision 0)"},"eMail6":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (6) (SDO E_MAIL6; Optional; precision 0)"},"ecCode":{"type":"string","nullable":true,"maxLength":3,"description":"EC member code (SDO EC_CODE; Optional; precision 0)"},"eoriNumber":{"type":"string","nullable":true,"maxLength":17,"description":"EORI number (SDO EORI_NUMBER; Optional; precision 0)"},"externalUsage":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Number of External Usages for This Record (SDO EXTERNAL_USAGE; Optional; precision 0)"},"facebook":{"type":"string","nullable":true,"maxLength":75,"description":"Facebook Address (SDO FACEBOOK; Optional; precision 0)"},"fax":{"type":"string","nullable":true,"maxLength":30,"description":"Fax Number (SDO FAX; Optional; precision 0)"},"firstHeader":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"First transaction (SDO FIRST_HEADER; Optional; precision 0)"},"firstInvoice":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"First Invoice Date (SDO FIRST_INVOICE; Optional; precision 0)"},"giftAidEnabled":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Gift Aid is enabled (SDO GIFT_AID_ENABLED; Optional; precision 0)"},"holdMail":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Restrict Mail (SDO HOLD_MAIL; Optional; precision 0)"},"inactiveFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Inactive Flag - Yes/No (SDO INACTIVE_FLAG; Optional; precision 0)"},"incoterms":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Incoterms (SDO INCOTERMS; Optional; precision 0)"},"invoiceBf":{"type":"number","nullable":true,"description":"Invoices Brought Forward (SDO INVOICE_BF; Optional; precision 2)"},"invoiceCf":{"type":"number","nullable":true,"description":"Invoices Carry Forward (SDO INVOICE_CF; Optional; precision 2)"},"invoiceMth1":{"type":"number","nullable":true,"description":"Invoices Month 1 (SDO INVOICE_MTH1; Optional; precision 2)"},"invoiceMth10":{"type":"number","nullable":true,"description":"Invoices Month 10 (SDO INVOICE_MTH10; Optional; precision 2)"},"invoiceMth11":{"type":"number","nullable":true,"description":"Invoices Month 11 (SDO INVOICE_MTH11; Optional; precision 2)"},"invoiceMth12":{"type":"number","nullable":true,"description":"Invoices Month 12 (SDO INVOICE_MTH12; Optional; precision 2)"},"invoiceMth2":{"type":"number","nullable":true,"description":"Invoices Month 2 (SDO INVOICE_MTH2; Optional; precision 2)"},"invoiceMth3":{"type":"number","nullable":true,"description":"Invoices Month 3 (SDO INVOICE_MTH3; Optional; precision 2)"},"invoiceMth4":{"type":"number","nullable":true,"description":"Invoices Month 4 (SDO INVOICE_MTH4; Optional; precision 2)"},"invoiceMth5":{"type":"number","nullable":true,"description":"Invoices Month 5 (SDO INVOICE_MTH5; Optional; precision 2)"},"invoiceMth6":{"type":"number","nullable":true,"description":"Invoices Month 6 (SDO INVOICE_MTH6; Optional; precision 2)"},"invoiceMth7":{"type":"number","nullable":true,"description":"Invoices Month 7 (SDO INVOICE_MTH7; Optional; precision 2)"},"invoiceMth8":{"type":"number","nullable":true,"description":"Invoices Month 8 (SDO INVOICE_MTH8; Optional; precision 2)"},"invoiceMth9":{"type":"number","nullable":true,"description":"Invoices Month 9 (SDO INVOICE_MTH9; Optional; precision 2)"},"lastCreditRev":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Last Credit Review (SDO LAST_CREDIT_REV; Optional; precision 0)"},"lastHeader":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Last transaction (SDO LAST_HEADER; Optional; precision 0)"},"lastInvDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Last Invoice Date (SDO LAST_INV_DATE; Optional; precision 0)"},"lastPayDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Last Payment Date (SDO LAST_PAY_DATE; Optional; precision 0)"},"lastUpdated":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date of last update (SDO LAST_UPDATED; Optional; precision 0)"},"linkedin":{"type":"string","nullable":true,"maxLength":64,"description":"LinkedIn Address (SDO LINKEDIN; Optional; precision 0)"},"mandateref":{"type":"string","nullable":true,"maxLength":25,"description":"Direct Debit Mandate Ref (SDO MANDATEREF; Optional; precision 0)"},"memberReminderDate":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Member Reminder Date (SDO MEMBER_REMINDER_DATE; Optional; precision 0)"},"memberRenewalDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Member Renewal Date (SDO MEMBER_RENEWAL_DATE; Optional; precision 0)"},"memberSince":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Member Since (SDO MEMBER_SINCE; Optional; precision 0)"},"memoOffset":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Offset in Credit Memo File (SDO MEMO_OFFSET; Optional; precision 0)"},"memoSize":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Size of Memo in Bytes (SDO MEMO_SIZE; Optional; precision 0)"},"modify":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Modified Count (SDO MODIFY; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Account Name (SDO NAME; Optional; precision 0)"},"nextCreditRev":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Next Credit Review (SDO NEXT_CREDIT_REV; Optional; precision 0)"},"noOfHeader":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"No of trans (SDO NO_OF_HEADER; Optional; precision 0)"},"overrideProductNominal":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Override product nominal code in invoicing and pop (SDO OVERRIDE_PRODUCT_NOMINAL; Optional; precision 0)"},"overrideProductTax":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Override product tax code in invoicing (SDO OVERRIDE_PRODUCT_TAX; Optional; precision 0)"},"paymentBf":{"type":"number","nullable":true,"description":"Payments Brought Forward (SDO PAYMENT_BF; Optional; precision 2)"},"paymentCf":{"type":"number","nullable":true,"description":"Payments Carry Forward (SDO PAYMENT_CF; Optional; precision 2)"},"paymentDueDays":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Payment Due Days (SDO PAYMENT_DUE_DAYS; Optional; precision 0)"},"paymentDueFrom":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Payment Due From (SDO PAYMENT_DUE_FROM; Optional; precision 0)"},"paymentMth1":{"type":"number","nullable":true,"description":"Payments Month 1 (SDO PAYMENT_MTH1; Optional; precision 2)"},"paymentMth10":{"type":"number","nullable":true,"description":"Payments Month 10 (SDO PAYMENT_MTH10; Optional; precision 2)"},"paymentMth11":{"type":"number","nullable":true,"description":"Payments Month 11 (SDO PAYMENT_MTH11; Optional; precision 2)"},"paymentMth12":{"type":"number","nullable":true,"description":"Payments Month 12 (SDO PAYMENT_MTH12; Optional; precision 2)"},"paymentMth2":{"type":"number","nullable":true,"description":"Payments Month 2 (SDO PAYMENT_MTH2; Optional; precision 2)"},"paymentMth3":{"type":"number","nullable":true,"description":"Payments Month 3 (SDO PAYMENT_MTH3; Optional; precision 2)"},"paymentMth4":{"type":"number","nullable":true,"description":"Payments Month 4 (SDO PAYMENT_MTH4; Optional; precision 2)"},"paymentMth5":{"type":"number","nullable":true,"description":"Payments Month 5 (SDO PAYMENT_MTH5; Optional; precision 2)"},"paymentMth6":{"type":"number","nullable":true,"description":"Payments Month 6 (SDO PAYMENT_MTH6; Optional; precision 2)"},"paymentMth7":{"type":"number","nullable":true,"description":"Payments Month 7 (SDO PAYMENT_MTH7; Optional; precision 2)"},"paymentMth8":{"type":"number","nullable":true,"description":"Payments Month 8 (SDO PAYMENT_MTH8; Optional; precision 2)"},"paymentMth9":{"type":"number","nullable":true,"description":"Payments Month 9 (SDO PAYMENT_MTH9; Optional; precision 2)"},"paymentType":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Payment Method (SDO PAYMENT_TYPE; Optional; precision 0)"},"priceListRef":{"type":"string","nullable":true,"maxLength":8,"description":"Price list reference (SDO PRICE_LIST_REF; Optional; precision 0)"},"priorYear":{"type":"number","nullable":true,"description":"Prior YTD (SDO PRIOR_YEAR; Optional; precision 2)"},"priorityTrader":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Priority Supplier (SDO PRIORITY_TRADER; Optional; precision 0)"},"receiptBf":{"type":"number","nullable":true,"description":"Receipts Brought Forward (SDO RECEIPT_BF; Optional; precision 2)"},"receiptCf":{"type":"number","nullable":true,"description":"Receipts Carry Forward (SDO RECEIPT_CF; Optional; precision 2)"},"receiptMth1":{"type":"number","nullable":true,"description":"Receipts Month 1 (SDO RECEIPT_MTH1; Optional; precision 2)"},"receiptMth10":{"type":"number","nullable":true,"description":"Receipts Month 10 (SDO RECEIPT_MTH10; Optional; precision 2)"},"receiptMth11":{"type":"number","nullable":true,"description":"Receipts Month 11 (SDO RECEIPT_MTH11; Optional; precision 2)"},"receiptMth12":{"type":"number","nullable":true,"description":"Receipts Month 12 (SDO RECEIPT_MTH12; Optional; precision 2)"},"receiptMth2":{"type":"number","nullable":true,"description":"Receipts Month 2 (SDO RECEIPT_MTH2; Optional; precision 2)"},"receiptMth3":{"type":"number","nullable":true,"description":"Receipts Month 3 (SDO RECEIPT_MTH3; Optional; precision 2)"},"receiptMth4":{"type":"number","nullable":true,"description":"Receipts Month 4 (SDO RECEIPT_MTH4; Optional; precision 2)"},"receiptMth5":{"type":"number","nullable":true,"description":"Receipts Month 5 (SDO RECEIPT_MTH5; Optional; precision 2)"},"receiptMth6":{"type":"number","nullable":true,"description":"Receipts Month 6 (SDO RECEIPT_MTH6; Optional; precision 2)"},"receiptMth7":{"type":"number","nullable":true,"description":"Receipts Month 7 (SDO RECEIPT_MTH7; Optional; precision 2)"},"receiptMth8":{"type":"number","nullable":true,"description":"Receipts Month 8 (SDO RECEIPT_MTH8; Optional; precision 2)"},"receiptMth9":{"type":"number","nullable":true,"description":"Receipts Month 9 (SDO RECEIPT_MTH9; Optional; precision 2)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"salesRep":{"type":"string","nullable":true,"maxLength":60,"description":"Name of Sales Representative (SDO SALES_REP; Optional; precision 0)"},"sendInvoicesElectronically":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Send Invoices to this account via Email (SDO SEND_INVOICES_ELECTRONICALLY; Optional; precision 0)"},"sendLettersElectronically":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Send letters to this account via Email (SDO SEND_LETTERS_ELECTRONICALLY; Optional; precision 0)"},"settlementDiscRate":{"type":"number","nullable":true,"description":"Settlement Discount Rate (SDO SETTLEMENT_DISC_RATE; Optional; precision 2)"},"settlementDueDays":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Settlement Due Days (SDO SETTLEMENT_DUE_DAYS; Optional; precision 0)"},"telephone":{"type":"string","nullable":true,"maxLength":30,"description":"Telephone Number (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","nullable":true,"maxLength":30,"description":"Second Telephone Number (SDO TELEPHONE_2; Optional; precision 0)"},"terms":{"type":"string","nullable":true,"maxLength":30,"description":"Terms (SDO TERMS; Optional; precision 0)"},"termsAgreedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Terms agreed flag (SDO TERMS_AGREED_FLAG; Optional; precision 0)"},"tradeContact":{"type":"string","nullable":true,"maxLength":30,"description":"Name of Trade Contact (SDO TRADE_CONTACT; Optional; precision 0)"},"traderForeignBalance":{"type":"number","nullable":true,"description":"Foreign Balance (SDO TRADER_FOREIGN_BALANCE; Optional; precision 6)"},"turnoverMtd":{"type":"number","nullable":true,"description":"Turnover Month To Date (SDO TURNOVER_MTD; Optional; precision 2)"},"turnoverYtd":{"type":"number","nullable":true,"description":"Turnover Year To Date (SDO TURNOVER_YTD; Optional; precision 2)"},"twitter":{"type":"string","nullable":true,"maxLength":35,"description":"Twitter Address (SDO TWITTER; Optional; precision 0)"},"vatRegNumber":{"type":"string","nullable":true,"maxLength":20,"description":"VAT Registration Number (SDO VAT_REG_NUMBER; Optional; precision 0)"},"www":{"type":"string","nullable":true,"maxLength":255,"description":"WWW Address (SDO WWW; Optional; precision 0)"},"id":{"type":"string"}},"required":["accountManager","accountOnHold","accountOpened","accountRef","accountStatus","accountType","address1","address2","address3","address4","address5","analysis1","analysis2","analysis3","analysis4","analysis5","analysis6","bacs","bacsReference","balance","bankAccountName","bankAccountNumber","bankAdditionalRef1","bankAdditionalRef2","bankAdditionalRef3","bankAddress1","bankAddress2","bankAddress3","bankAddress4","bankAddress5","bankBicswift","bankIban","bankName","bankRollNumber","bankSortCode","buildSocietyRef","buildingSociety","canApplyCharges","companyRegistrationNumber","contactName","countryCode","creditAppReceived","creditAppliedFor","creditBf","creditBureau","creditCardNo","creditCf","creditLimit","creditMth1","creditMth10","creditMth11","creditMth12","creditMth2","creditMth3","creditMth4","creditMth5","creditMth6","creditMth7","creditMth8","creditMth9","creditPosition","creditReference","currency","dateCreditAppReceived","declarationValidFrom","defNomCode","defTaxCode","delAddress1","delAddress2","delAddress3","delAddress4","delAddress5","delContactName","delFax","delName","delTelephone","deletedFlag","deptNumber","discountRate","discountType","disputed","donorForename","donorSurname","donorTitle","dunsNumber","eMail","eMail2","eMail3","eMail4","eMail5","eMail6","ecCode","eoriNumber","externalUsage","facebook","fax","firstHeader","firstInvoice","giftAidEnabled","holdMail","inactiveFlag","incoterms","invoiceBf","invoiceCf","invoiceMth1","invoiceMth10","invoiceMth11","invoiceMth12","invoiceMth2","invoiceMth3","invoiceMth4","invoiceMth5","invoiceMth6","invoiceMth7","invoiceMth8","invoiceMth9","lastCreditRev","lastHeader","lastInvDate","lastPayDate","lastUpdated","linkedin","mandateref","memberReminderDate","memberRenewalDate","memberSince","memoOffset","memoSize","modify","name","nextCreditRev","noOfHeader","overrideProductNominal","overrideProductTax","paymentBf","paymentCf","paymentDueDays","paymentDueFrom","paymentMth1","paymentMth10","paymentMth11","paymentMth12","paymentMth2","paymentMth3","paymentMth4","paymentMth5","paymentMth6","paymentMth7","paymentMth8","paymentMth9","paymentType","priceListRef","priorYear","priorityTrader","receiptBf","receiptCf","receiptMth1","receiptMth10","receiptMth11","receiptMth12","receiptMth2","receiptMth3","receiptMth4","receiptMth5","receiptMth6","receiptMth7","receiptMth8","receiptMth9","recordCreateDate","recordDeleted","recordModifyDate","salesRep","sendInvoicesElectronically","sendLettersElectronically","settlementDiscRate","settlementDueDays","telephone","telephone2","terms","termsAgreedFlag","tradeContact","traderForeignBalance","turnoverMtd","turnoverYtd","twitter","vatRegNumber","www","id"],"additionalProperties":false},"Uk31_1_suppliers_get":{"type":"object","properties":{"accountManager":{"type":"string","nullable":true,"maxLength":60,"description":"Name of Account Manager (SDO ACCOUNT_MANAGER; Optional; precision 0)"},"accountOnHold":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Account On Hold (SDO ACCOUNT_ON_HOLD; Optional; precision 0)"},"accountOpened":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Account Opened (SDO ACCOUNT_OPENED; Optional; precision 0)"},"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Account Reference (SDO ACCOUNT_REF; Required; precision 0)"},"accountStatus":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Status (SDO ACCOUNT_STATUS; Optional; precision 0)"},"accountType":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Type (SDO ACCOUNT_TYPE; Optional; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line5 (SDO ADDRESS_5; Optional; precision 0)"},"analysis1":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"analysis4":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 4 (SDO ANALYSIS_4; Optional; precision 0)"},"analysis5":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 5 (SDO ANALYSIS_5; Optional; precision 0)"},"analysis6":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 6 (SDO ANALYSIS_6; Optional; precision 0)"},"bacs":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Bank Online Payments (SDO BACS; Optional; precision 0)"},"bacsReference":{"type":"string","nullable":true,"maxLength":60,"description":"Bank BACS Ref (SDO BACS_REFERENCE; Optional; precision 0)"},"balance":{"type":"number","nullable":true,"description":"Balance (SDO BALANCE; Optional; precision 2)"},"bankAccountName":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Account Name (SDO BANK_ACCOUNT_NAME; Optional; precision 0)"},"bankAccountNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Account Number (SDO BANK_ACCOUNT_NUMBER; Optional; precision 0)"},"bankAdditionalRef1":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Additional Ref1 (SDO BANK_ADDITIONAL_REF1; Optional; precision 0)"},"bankAdditionalRef2":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Additional Ref2 (SDO BANK_ADDITIONAL_REF2; Optional; precision 0)"},"bankAdditionalRef3":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Additional Ref3 (SDO BANK_ADDITIONAL_REF3; Optional; precision 0)"},"bankAddress1":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line1 (SDO BANK_ADDRESS_1; Optional; precision 0)"},"bankAddress2":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line2 (SDO BANK_ADDRESS_2; Optional; precision 0)"},"bankAddress3":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line3 (SDO BANK_ADDRESS_3; Optional; precision 0)"},"bankAddress4":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line4 (SDO BANK_ADDRESS_4; Optional; precision 0)"},"bankAddress5":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line5 (SDO BANK_ADDRESS_5; Optional; precision 0)"},"bankBicswift":{"type":"string","nullable":true,"maxLength":60,"description":"Bank BIC/Swift (SDO BANK_BICSWIFT; Optional; precision 0)"},"bankIban":{"type":"string","nullable":true,"maxLength":60,"description":"Bank IBAN (SDO BANK_IBAN; Optional; precision 0)"},"bankName":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Name (SDO BANK_NAME; Optional; precision 0)"},"bankRollNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Roll Number (SDO BANK_ROLL_NUMBER; Optional; precision 0)"},"bankSortCode":{"type":"string","nullable":true,"maxLength":10,"description":"Bank Sort Code (SDO BANK_SORT_CODE; Optional; precision 0)"},"buildSocietyRef":{"type":"string","nullable":true,"maxLength":60,"description":"Refernce for Building Society Transfer (SDO BUILD_SOCIETY_REF; Optional; precision 0)"},"buildingSociety":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Uses Building Society (SDO BUILDING_SOCIETY; Optional; precision 0)"},"canApplyCharges":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Can Charge Credit (SDO CAN_APPLY_CHARGES; Optional; precision 0)"},"companyRegistrationNumber":{"type":"string","nullable":true,"maxLength":16,"description":"Company Reg. Number (SDO COMPANY_REGISTRATION_NUMBER; Optional; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Contact Name (SDO CONTACT_NAME; Optional; precision 0)"},"countryCode":{"type":"string","nullable":true,"maxLength":2,"description":"Country Code (SDO COUNTRY_CODE; Optional; precision 0)"},"creditAppReceived":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"True if Credit Application Received (SDO CREDIT_APP_RECEIVED; Optional; precision 0)"},"creditAppliedFor":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Credit Applied For (SDO CREDIT_APPLIED_FOR; Optional; precision 0)"},"creditBf":{"type":"number","nullable":true,"description":"Credits Brought Forward (SDO CREDIT_BF; Optional; precision 2)"},"creditBureau":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Credit Bureau Used (SDO CREDIT_BUREAU; Optional; precision 0)"},"creditCardNo":{"type":"string","nullable":true,"maxLength":30,"description":"Credit card number (SDO CREDIT_CARD_NO; Optional; precision 0)"},"creditCf":{"type":"number","nullable":true,"description":"Credits Carry Forward (SDO CREDIT_CF; Optional; precision 2)"},"creditLimit":{"type":"number","nullable":true,"description":"Credit Limit (SDO CREDIT_LIMIT; Optional; precision 2)"},"creditMth1":{"type":"number","nullable":true,"description":"Credits Month 1 (SDO CREDIT_MTH1; Optional; precision 2)"},"creditMth10":{"type":"number","nullable":true,"description":"Credits Month 10 (SDO CREDIT_MTH10; Optional; precision 2)"},"creditMth11":{"type":"number","nullable":true,"description":"Credits Month 11 (SDO CREDIT_MTH11; Optional; precision 2)"},"creditMth12":{"type":"number","nullable":true,"description":"Credits Month 12 (SDO CREDIT_MTH12; Optional; precision 2)"},"creditMth2":{"type":"number","nullable":true,"description":"Credits Month 2 (SDO CREDIT_MTH2; Optional; precision 2)"},"creditMth3":{"type":"number","nullable":true,"description":"Credits Month 3 (SDO CREDIT_MTH3; Optional; precision 2)"},"creditMth4":{"type":"number","nullable":true,"description":"Credits Month 4 (SDO CREDIT_MTH4; Optional; precision 2)"},"creditMth5":{"type":"number","nullable":true,"description":"Credits Month 5 (SDO CREDIT_MTH5; Optional; precision 2)"},"creditMth6":{"type":"number","nullable":true,"description":"Credits Month 6 (SDO CREDIT_MTH6; Optional; precision 2)"},"creditMth7":{"type":"number","nullable":true,"description":"Credits Month 7 (SDO CREDIT_MTH7; Optional; precision 2)"},"creditMth8":{"type":"number","nullable":true,"description":"Credits Month 8 (SDO CREDIT_MTH8; Optional; precision 2)"},"creditMth9":{"type":"number","nullable":true,"description":"Credits Month 9 (SDO CREDIT_MTH9; Optional; precision 2)"},"creditPosition":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Credit Position (SDO CREDIT_POSITION; Optional; precision 0)"},"creditReference":{"type":"string","nullable":true,"maxLength":60,"description":"Credit Bureau Reference (SDO CREDIT_REFERENCE; Optional; precision 0)"},"currency":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency (SDO CURRENCY; Optional; precision 0)"},"dateCreditAppReceived":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Credit Application Received (SDO DATE_CREDIT_APP_RECEIVED; Optional; precision 0)"},"declarationValidFrom":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Donor Declaration Valid From (SDO DECLARATION_VALID_FROM; Optional; precision 0)"},"defNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Default Nominal Code (SDO DEF_NOM_CODE; Optional; precision 0)"},"defTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax Code (SDO DEF_TAX_CODE; Optional; precision 0)"},"delAddress1":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line1 (SDO DEL_ADDRESS_1; Optional; precision 0)"},"delAddress2":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line2 (SDO DEL_ADDRESS_2; Optional; precision 0)"},"delAddress3":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line3 (SDO DEL_ADDRESS_3; Optional; precision 0)"},"delAddress4":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line4 (SDO DEL_ADDRESS_4; Optional; precision 0)"},"delAddress5":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line5 (SDO DEL_ADDRESS_5; Optional; precision 0)"},"delContactName":{"type":"string","nullable":true,"maxLength":30,"description":"Default Delivery Contact Name (SDO DEL_CONTACT_NAME; Optional; precision 0)"},"delFax":{"type":"string","nullable":true,"maxLength":30,"description":"Default Delivery Fax Number (SDO DEL_FAX; Optional; precision 0)"},"delName":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Name (SDO DEL_NAME; Optional; precision 0)"},"delTelephone":{"type":"string","nullable":true,"maxLength":30,"description":"Default Delivery Telephone Number (SDO DEL_TELEPHONE; Optional; precision 0)"},"deletedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Reserved for Future Use (SDO DELETED_FLAG; Optional; precision 0)"},"deptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Department Code (SDO DEPT_NUMBER; Optional; precision 0)"},"discountRate":{"type":"number","nullable":true,"description":"Discount Rate (SDO DISCOUNT_RATE; Optional; precision 2)"},"discountType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Discount Type (SDO DISCOUNT_TYPE; Optional; precision 0)"},"disputed":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Disputed (SDO DISPUTED; Optional; precision 0)"},"donorForename":{"type":"string","nullable":true,"maxLength":35,"description":"Donor Forename (SDO DONOR_FORENAME; Optional; precision 0)"},"donorSurname":{"type":"string","nullable":true,"maxLength":35,"description":"Donor Surname (SDO DONOR_SURNAME; Optional; precision 0)"},"donorTitle":{"type":"string","nullable":true,"maxLength":4,"description":"Donor Title (SDO DONOR_TITLE; Optional; precision 0)"},"dunsNumber":{"type":"string","nullable":true,"maxLength":9,"description":"DUNS Number (SDO DUNS_NUMBER; Optional; precision 0)"},"eMail":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (SDO E_MAIL; Optional; precision 0)"},"eMail2":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (2) (SDO E_MAIL2; Optional; precision 0)"},"eMail3":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (3) (SDO E_MAIL3; Optional; precision 0)"},"eMail4":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (4) (SDO E_MAIL4; Optional; precision 0)"},"eMail5":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (5) (SDO E_MAIL5; Optional; precision 0)"},"eMail6":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (6) (SDO E_MAIL6; Optional; precision 0)"},"ecCode":{"type":"string","nullable":true,"maxLength":3,"description":"EC member code (SDO EC_CODE; Optional; precision 0)"},"eoriNumber":{"type":"string","nullable":true,"maxLength":17,"description":"EORI number (SDO EORI_NUMBER; Optional; precision 0)"},"externalUsage":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Number of External Usages for This Record (SDO EXTERNAL_USAGE; Optional; precision 0)"},"facebook":{"type":"string","nullable":true,"maxLength":75,"description":"Facebook Address (SDO FACEBOOK; Optional; precision 0)"},"fax":{"type":"string","nullable":true,"maxLength":30,"description":"Fax Number (SDO FAX; Optional; precision 0)"},"firstHeader":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"First transaction (SDO FIRST_HEADER; Optional; precision 0)"},"firstInvoice":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"First Invoice Date (SDO FIRST_INVOICE; Optional; precision 0)"},"giftAidEnabled":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Gift Aid is enabled (SDO GIFT_AID_ENABLED; Optional; precision 0)"},"holdMail":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Restrict Mail (SDO HOLD_MAIL; Optional; precision 0)"},"inactiveFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Inactive Flag - Yes/No (SDO INACTIVE_FLAG; Optional; precision 0)"},"incoterms":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Incoterms (SDO INCOTERMS; Optional; precision 0)"},"invoiceBf":{"type":"number","nullable":true,"description":"Invoices Brought Forward (SDO INVOICE_BF; Optional; precision 2)"},"invoiceCf":{"type":"number","nullable":true,"description":"Invoices Carry Forward (SDO INVOICE_CF; Optional; precision 2)"},"invoiceMth1":{"type":"number","nullable":true,"description":"Invoices Month 1 (SDO INVOICE_MTH1; Optional; precision 2)"},"invoiceMth10":{"type":"number","nullable":true,"description":"Invoices Month 10 (SDO INVOICE_MTH10; Optional; precision 2)"},"invoiceMth11":{"type":"number","nullable":true,"description":"Invoices Month 11 (SDO INVOICE_MTH11; Optional; precision 2)"},"invoiceMth12":{"type":"number","nullable":true,"description":"Invoices Month 12 (SDO INVOICE_MTH12; Optional; precision 2)"},"invoiceMth2":{"type":"number","nullable":true,"description":"Invoices Month 2 (SDO INVOICE_MTH2; Optional; precision 2)"},"invoiceMth3":{"type":"number","nullable":true,"description":"Invoices Month 3 (SDO INVOICE_MTH3; Optional; precision 2)"},"invoiceMth4":{"type":"number","nullable":true,"description":"Invoices Month 4 (SDO INVOICE_MTH4; Optional; precision 2)"},"invoiceMth5":{"type":"number","nullable":true,"description":"Invoices Month 5 (SDO INVOICE_MTH5; Optional; precision 2)"},"invoiceMth6":{"type":"number","nullable":true,"description":"Invoices Month 6 (SDO INVOICE_MTH6; Optional; precision 2)"},"invoiceMth7":{"type":"number","nullable":true,"description":"Invoices Month 7 (SDO INVOICE_MTH7; Optional; precision 2)"},"invoiceMth8":{"type":"number","nullable":true,"description":"Invoices Month 8 (SDO INVOICE_MTH8; Optional; precision 2)"},"invoiceMth9":{"type":"number","nullable":true,"description":"Invoices Month 9 (SDO INVOICE_MTH9; Optional; precision 2)"},"lastCreditRev":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Last Credit Review (SDO LAST_CREDIT_REV; Optional; precision 0)"},"lastHeader":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Last transaction (SDO LAST_HEADER; Optional; precision 0)"},"lastInvDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Last Invoice Date (SDO LAST_INV_DATE; Optional; precision 0)"},"lastPayDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Last Payment Date (SDO LAST_PAY_DATE; Optional; precision 0)"},"lastUpdated":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date of last update (SDO LAST_UPDATED; Optional; precision 0)"},"linkedin":{"type":"string","nullable":true,"maxLength":64,"description":"LinkedIn Address (SDO LINKEDIN; Optional; precision 0)"},"mandateref":{"type":"string","nullable":true,"maxLength":25,"description":"Direct Debit Mandate Ref (SDO MANDATEREF; Optional; precision 0)"},"memberReminderDate":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Member Reminder Date (SDO MEMBER_REMINDER_DATE; Optional; precision 0)"},"memberRenewalDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Member Renewal Date (SDO MEMBER_RENEWAL_DATE; Optional; precision 0)"},"memberSince":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Member Since (SDO MEMBER_SINCE; Optional; precision 0)"},"memoOffset":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Offset in Credit Memo File (SDO MEMO_OFFSET; Optional; precision 0)"},"memoSize":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Size of Memo in Bytes (SDO MEMO_SIZE; Optional; precision 0)"},"modify":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Modified Count (SDO MODIFY; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Account Name (SDO NAME; Optional; precision 0)"},"nextCreditRev":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Next Credit Review (SDO NEXT_CREDIT_REV; Optional; precision 0)"},"noOfHeader":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"No of trans (SDO NO_OF_HEADER; Optional; precision 0)"},"overrideProductNominal":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Override product nominal code in invoicing and pop (SDO OVERRIDE_PRODUCT_NOMINAL; Optional; precision 0)"},"overrideProductTax":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Override product tax code in invoicing (SDO OVERRIDE_PRODUCT_TAX; Optional; precision 0)"},"paymentBf":{"type":"number","nullable":true,"description":"Payments Brought Forward (SDO PAYMENT_BF; Optional; precision 2)"},"paymentCf":{"type":"number","nullable":true,"description":"Payments Carry Forward (SDO PAYMENT_CF; Optional; precision 2)"},"paymentDueDays":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Payment Due Days (SDO PAYMENT_DUE_DAYS; Optional; precision 0)"},"paymentDueFrom":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Payment Due From (SDO PAYMENT_DUE_FROM; Optional; precision 0)"},"paymentMth1":{"type":"number","nullable":true,"description":"Payments Month 1 (SDO PAYMENT_MTH1; Optional; precision 2)"},"paymentMth10":{"type":"number","nullable":true,"description":"Payments Month 10 (SDO PAYMENT_MTH10; Optional; precision 2)"},"paymentMth11":{"type":"number","nullable":true,"description":"Payments Month 11 (SDO PAYMENT_MTH11; Optional; precision 2)"},"paymentMth12":{"type":"number","nullable":true,"description":"Payments Month 12 (SDO PAYMENT_MTH12; Optional; precision 2)"},"paymentMth2":{"type":"number","nullable":true,"description":"Payments Month 2 (SDO PAYMENT_MTH2; Optional; precision 2)"},"paymentMth3":{"type":"number","nullable":true,"description":"Payments Month 3 (SDO PAYMENT_MTH3; Optional; precision 2)"},"paymentMth4":{"type":"number","nullable":true,"description":"Payments Month 4 (SDO PAYMENT_MTH4; Optional; precision 2)"},"paymentMth5":{"type":"number","nullable":true,"description":"Payments Month 5 (SDO PAYMENT_MTH5; Optional; precision 2)"},"paymentMth6":{"type":"number","nullable":true,"description":"Payments Month 6 (SDO PAYMENT_MTH6; Optional; precision 2)"},"paymentMth7":{"type":"number","nullable":true,"description":"Payments Month 7 (SDO PAYMENT_MTH7; Optional; precision 2)"},"paymentMth8":{"type":"number","nullable":true,"description":"Payments Month 8 (SDO PAYMENT_MTH8; Optional; precision 2)"},"paymentMth9":{"type":"number","nullable":true,"description":"Payments Month 9 (SDO PAYMENT_MTH9; Optional; precision 2)"},"paymentType":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Payment Method (SDO PAYMENT_TYPE; Optional; precision 0)"},"priceListRef":{"type":"string","nullable":true,"maxLength":8,"description":"Price list reference (SDO PRICE_LIST_REF; Optional; precision 0)"},"priorYear":{"type":"number","nullable":true,"description":"Prior YTD (SDO PRIOR_YEAR; Optional; precision 2)"},"priorityTrader":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Priority Supplier (SDO PRIORITY_TRADER; Optional; precision 0)"},"receiptBf":{"type":"number","nullable":true,"description":"Receipts Brought Forward (SDO RECEIPT_BF; Optional; precision 2)"},"receiptCf":{"type":"number","nullable":true,"description":"Receipts Carry Forward (SDO RECEIPT_CF; Optional; precision 2)"},"receiptMth1":{"type":"number","nullable":true,"description":"Receipts Month 1 (SDO RECEIPT_MTH1; Optional; precision 2)"},"receiptMth10":{"type":"number","nullable":true,"description":"Receipts Month 10 (SDO RECEIPT_MTH10; Optional; precision 2)"},"receiptMth11":{"type":"number","nullable":true,"description":"Receipts Month 11 (SDO RECEIPT_MTH11; Optional; precision 2)"},"receiptMth12":{"type":"number","nullable":true,"description":"Receipts Month 12 (SDO RECEIPT_MTH12; Optional; precision 2)"},"receiptMth2":{"type":"number","nullable":true,"description":"Receipts Month 2 (SDO RECEIPT_MTH2; Optional; precision 2)"},"receiptMth3":{"type":"number","nullable":true,"description":"Receipts Month 3 (SDO RECEIPT_MTH3; Optional; precision 2)"},"receiptMth4":{"type":"number","nullable":true,"description":"Receipts Month 4 (SDO RECEIPT_MTH4; Optional; precision 2)"},"receiptMth5":{"type":"number","nullable":true,"description":"Receipts Month 5 (SDO RECEIPT_MTH5; Optional; precision 2)"},"receiptMth6":{"type":"number","nullable":true,"description":"Receipts Month 6 (SDO RECEIPT_MTH6; Optional; precision 2)"},"receiptMth7":{"type":"number","nullable":true,"description":"Receipts Month 7 (SDO RECEIPT_MTH7; Optional; precision 2)"},"receiptMth8":{"type":"number","nullable":true,"description":"Receipts Month 8 (SDO RECEIPT_MTH8; Optional; precision 2)"},"receiptMth9":{"type":"number","nullable":true,"description":"Receipts Month 9 (SDO RECEIPT_MTH9; Optional; precision 2)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"salesRep":{"type":"string","nullable":true,"maxLength":60,"description":"Name of Sales Representative (SDO SALES_REP; Optional; precision 0)"},"sendInvoicesElectronically":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Send Invoices to this account via Email (SDO SEND_INVOICES_ELECTRONICALLY; Optional; precision 0)"},"sendLettersElectronically":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Send letters to this account via Email (SDO SEND_LETTERS_ELECTRONICALLY; Optional; precision 0)"},"settlementDiscRate":{"type":"number","nullable":true,"description":"Settlement Discount Rate (SDO SETTLEMENT_DISC_RATE; Optional; precision 2)"},"settlementDueDays":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Settlement Due Days (SDO SETTLEMENT_DUE_DAYS; Optional; precision 0)"},"telephone":{"type":"string","nullable":true,"maxLength":30,"description":"Telephone Number (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","nullable":true,"maxLength":30,"description":"Second Telephone Number (SDO TELEPHONE_2; Optional; precision 0)"},"terms":{"type":"string","nullable":true,"maxLength":30,"description":"Terms (SDO TERMS; Optional; precision 0)"},"termsAgreedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Terms agreed flag (SDO TERMS_AGREED_FLAG; Optional; precision 0)"},"tradeContact":{"type":"string","nullable":true,"maxLength":30,"description":"Name of Trade Contact (SDO TRADE_CONTACT; Optional; precision 0)"},"traderForeignBalance":{"type":"number","nullable":true,"description":"Foreign Balance (SDO TRADER_FOREIGN_BALANCE; Optional; precision 6)"},"turnoverMtd":{"type":"number","nullable":true,"description":"Turnover Month To Date (SDO TURNOVER_MTD; Optional; precision 2)"},"turnoverYtd":{"type":"number","nullable":true,"description":"Turnover Year To Date (SDO TURNOVER_YTD; Optional; precision 2)"},"twitter":{"type":"string","nullable":true,"maxLength":35,"description":"Twitter Address (SDO TWITTER; Optional; precision 0)"},"vatRegNumber":{"type":"string","nullable":true,"maxLength":20,"description":"VAT Registration Number (SDO VAT_REG_NUMBER; Optional; precision 0)"},"www":{"type":"string","nullable":true,"maxLength":255,"description":"WWW Address (SDO WWW; Optional; precision 0)"},"id":{"type":"string"}},"required":["accountManager","accountOnHold","accountOpened","accountRef","accountStatus","accountType","address1","address2","address3","address4","address5","analysis1","analysis2","analysis3","analysis4","analysis5","analysis6","bacs","bacsReference","balance","bankAccountName","bankAccountNumber","bankAdditionalRef1","bankAdditionalRef2","bankAdditionalRef3","bankAddress1","bankAddress2","bankAddress3","bankAddress4","bankAddress5","bankBicswift","bankIban","bankName","bankRollNumber","bankSortCode","buildSocietyRef","buildingSociety","canApplyCharges","companyRegistrationNumber","contactName","countryCode","creditAppReceived","creditAppliedFor","creditBf","creditBureau","creditCardNo","creditCf","creditLimit","creditMth1","creditMth10","creditMth11","creditMth12","creditMth2","creditMth3","creditMth4","creditMth5","creditMth6","creditMth7","creditMth8","creditMth9","creditPosition","creditReference","currency","dateCreditAppReceived","declarationValidFrom","defNomCode","defTaxCode","delAddress1","delAddress2","delAddress3","delAddress4","delAddress5","delContactName","delFax","delName","delTelephone","deletedFlag","deptNumber","discountRate","discountType","disputed","donorForename","donorSurname","donorTitle","dunsNumber","eMail","eMail2","eMail3","eMail4","eMail5","eMail6","ecCode","eoriNumber","externalUsage","facebook","fax","firstHeader","firstInvoice","giftAidEnabled","holdMail","inactiveFlag","incoterms","invoiceBf","invoiceCf","invoiceMth1","invoiceMth10","invoiceMth11","invoiceMth12","invoiceMth2","invoiceMth3","invoiceMth4","invoiceMth5","invoiceMth6","invoiceMth7","invoiceMth8","invoiceMth9","lastCreditRev","lastHeader","lastInvDate","lastPayDate","lastUpdated","linkedin","mandateref","memberReminderDate","memberRenewalDate","memberSince","memoOffset","memoSize","modify","name","nextCreditRev","noOfHeader","overrideProductNominal","overrideProductTax","paymentBf","paymentCf","paymentDueDays","paymentDueFrom","paymentMth1","paymentMth10","paymentMth11","paymentMth12","paymentMth2","paymentMth3","paymentMth4","paymentMth5","paymentMth6","paymentMth7","paymentMth8","paymentMth9","paymentType","priceListRef","priorYear","priorityTrader","receiptBf","receiptCf","receiptMth1","receiptMth10","receiptMth11","receiptMth12","receiptMth2","receiptMth3","receiptMth4","receiptMth5","receiptMth6","receiptMth7","receiptMth8","receiptMth9","recordCreateDate","recordDeleted","recordModifyDate","salesRep","sendInvoicesElectronically","sendLettersElectronically","settlementDiscRate","settlementDueDays","telephone","telephone2","terms","termsAgreedFlag","tradeContact","traderForeignBalance","turnoverMtd","turnoverYtd","twitter","vatRegNumber","www","id"],"additionalProperties":false},"Uk32_1_suppliers_get":{"type":"object","properties":{"accountManager":{"type":"string","nullable":true,"maxLength":60,"description":"Name of Account Manager (SDO ACCOUNT_MANAGER; Optional; precision 0)"},"accountOnHold":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Account On Hold (SDO ACCOUNT_ON_HOLD; Optional; precision 0)"},"accountOpened":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Account Opened (SDO ACCOUNT_OPENED; Optional; precision 0)"},"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Account Reference (SDO ACCOUNT_REF; Required; precision 0)"},"accountStatus":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Status (SDO ACCOUNT_STATUS; Optional; precision 0)"},"accountType":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Type (SDO ACCOUNT_TYPE; Optional; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line5 (SDO ADDRESS_5; Optional; precision 0)"},"analysis1":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"analysis4":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 4 (SDO ANALYSIS_4; Optional; precision 0)"},"analysis5":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 5 (SDO ANALYSIS_5; Optional; precision 0)"},"analysis6":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 6 (SDO ANALYSIS_6; Optional; precision 0)"},"bacs":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Bank Online Payments (SDO BACS; Optional; precision 0)"},"bacsReference":{"type":"string","nullable":true,"maxLength":60,"description":"Bank BACS Ref (SDO BACS_REFERENCE; Optional; precision 0)"},"balance":{"type":"number","nullable":true,"description":"Balance (SDO BALANCE; Optional; precision 2)"},"bankAccountName":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Account Name (SDO BANK_ACCOUNT_NAME; Optional; precision 0)"},"bankAccountNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Account Number (SDO BANK_ACCOUNT_NUMBER; Optional; precision 0)"},"bankAdditionalRef1":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Additional Ref1 (SDO BANK_ADDITIONAL_REF1; Optional; precision 0)"},"bankAdditionalRef2":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Additional Ref2 (SDO BANK_ADDITIONAL_REF2; Optional; precision 0)"},"bankAdditionalRef3":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Additional Ref3 (SDO BANK_ADDITIONAL_REF3; Optional; precision 0)"},"bankAddress1":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line1 (SDO BANK_ADDRESS_1; Optional; precision 0)"},"bankAddress2":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line2 (SDO BANK_ADDRESS_2; Optional; precision 0)"},"bankAddress3":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line3 (SDO BANK_ADDRESS_3; Optional; precision 0)"},"bankAddress4":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line4 (SDO BANK_ADDRESS_4; Optional; precision 0)"},"bankAddress5":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line5 (SDO BANK_ADDRESS_5; Optional; precision 0)"},"bankBicswift":{"type":"string","nullable":true,"maxLength":60,"description":"Bank BIC/Swift (SDO BANK_BICSWIFT; Optional; precision 0)"},"bankIban":{"type":"string","nullable":true,"maxLength":60,"description":"Bank IBAN (SDO BANK_IBAN; Optional; precision 0)"},"bankName":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Name (SDO BANK_NAME; Optional; precision 0)"},"bankRollNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Roll Number (SDO BANK_ROLL_NUMBER; Optional; precision 0)"},"bankSortCode":{"type":"string","nullable":true,"maxLength":10,"description":"Bank Sort Code (SDO BANK_SORT_CODE; Optional; precision 0)"},"buildSocietyRef":{"type":"string","nullable":true,"maxLength":60,"description":"Refernce for Building Society Transfer (SDO BUILD_SOCIETY_REF; Optional; precision 0)"},"buildingSociety":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Uses Building Society (SDO BUILDING_SOCIETY; Optional; precision 0)"},"canApplyCharges":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Can Charge Credit (SDO CAN_APPLY_CHARGES; Optional; precision 0)"},"companyRegistrationNumber":{"type":"string","nullable":true,"maxLength":16,"description":"Company Reg. Number (SDO COMPANY_REGISTRATION_NUMBER; Optional; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Contact Name (SDO CONTACT_NAME; Optional; precision 0)"},"countryCode":{"type":"string","nullable":true,"maxLength":2,"description":"Country Code (SDO COUNTRY_CODE; Optional; precision 0)"},"creditAppReceived":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"True if Credit Application Received (SDO CREDIT_APP_RECEIVED; Optional; precision 0)"},"creditAppliedFor":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Credit Applied For (SDO CREDIT_APPLIED_FOR; Optional; precision 0)"},"creditBf":{"type":"number","nullable":true,"description":"Credits Brought Forward (SDO CREDIT_BF; Optional; precision 2)"},"creditBureau":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Credit Bureau Used (SDO CREDIT_BUREAU; Optional; precision 0)"},"creditCardNo":{"type":"string","nullable":true,"maxLength":30,"description":"Credit card number (SDO CREDIT_CARD_NO; Optional; precision 0)"},"creditCf":{"type":"number","nullable":true,"description":"Credits Carry Forward (SDO CREDIT_CF; Optional; precision 2)"},"creditLimit":{"type":"number","nullable":true,"description":"Credit Limit (SDO CREDIT_LIMIT; Optional; precision 2)"},"creditMth1":{"type":"number","nullable":true,"description":"Credits Month 1 (SDO CREDIT_MTH1; Optional; precision 2)"},"creditMth10":{"type":"number","nullable":true,"description":"Credits Month 10 (SDO CREDIT_MTH10; Optional; precision 2)"},"creditMth11":{"type":"number","nullable":true,"description":"Credits Month 11 (SDO CREDIT_MTH11; Optional; precision 2)"},"creditMth12":{"type":"number","nullable":true,"description":"Credits Month 12 (SDO CREDIT_MTH12; Optional; precision 2)"},"creditMth2":{"type":"number","nullable":true,"description":"Credits Month 2 (SDO CREDIT_MTH2; Optional; precision 2)"},"creditMth3":{"type":"number","nullable":true,"description":"Credits Month 3 (SDO CREDIT_MTH3; Optional; precision 2)"},"creditMth4":{"type":"number","nullable":true,"description":"Credits Month 4 (SDO CREDIT_MTH4; Optional; precision 2)"},"creditMth5":{"type":"number","nullable":true,"description":"Credits Month 5 (SDO CREDIT_MTH5; Optional; precision 2)"},"creditMth6":{"type":"number","nullable":true,"description":"Credits Month 6 (SDO CREDIT_MTH6; Optional; precision 2)"},"creditMth7":{"type":"number","nullable":true,"description":"Credits Month 7 (SDO CREDIT_MTH7; Optional; precision 2)"},"creditMth8":{"type":"number","nullable":true,"description":"Credits Month 8 (SDO CREDIT_MTH8; Optional; precision 2)"},"creditMth9":{"type":"number","nullable":true,"description":"Credits Month 9 (SDO CREDIT_MTH9; Optional; precision 2)"},"creditPosition":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Credit Position (SDO CREDIT_POSITION; Optional; precision 0)"},"creditReference":{"type":"string","nullable":true,"maxLength":60,"description":"Credit Bureau Reference (SDO CREDIT_REFERENCE; Optional; precision 0)"},"currency":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency (SDO CURRENCY; Optional; precision 0)"},"dateCreditAppReceived":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Credit Application Received (SDO DATE_CREDIT_APP_RECEIVED; Optional; precision 0)"},"declarationValidFrom":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Donor Declaration Valid From (SDO DECLARATION_VALID_FROM; Optional; precision 0)"},"defNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Default Nominal Code (SDO DEF_NOM_CODE; Optional; precision 0)"},"defTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax Code (SDO DEF_TAX_CODE; Optional; precision 0)"},"delAddress1":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line1 (SDO DEL_ADDRESS_1; Optional; precision 0)"},"delAddress2":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line2 (SDO DEL_ADDRESS_2; Optional; precision 0)"},"delAddress3":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line3 (SDO DEL_ADDRESS_3; Optional; precision 0)"},"delAddress4":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line4 (SDO DEL_ADDRESS_4; Optional; precision 0)"},"delAddress5":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line5 (SDO DEL_ADDRESS_5; Optional; precision 0)"},"delContactName":{"type":"string","nullable":true,"maxLength":30,"description":"Default Delivery Contact Name (SDO DEL_CONTACT_NAME; Optional; precision 0)"},"delFax":{"type":"string","nullable":true,"maxLength":30,"description":"Default Delivery Fax Number (SDO DEL_FAX; Optional; precision 0)"},"delName":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Name (SDO DEL_NAME; Optional; precision 0)"},"delTelephone":{"type":"string","nullable":true,"maxLength":30,"description":"Default Delivery Telephone Number (SDO DEL_TELEPHONE; Optional; precision 0)"},"deletedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Reserved for Future Use (SDO DELETED_FLAG; Optional; precision 0)"},"deptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Department Code (SDO DEPT_NUMBER; Optional; precision 0)"},"discountRate":{"type":"number","nullable":true,"description":"Discount Rate (SDO DISCOUNT_RATE; Optional; precision 2)"},"discountType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Discount Type (SDO DISCOUNT_TYPE; Optional; precision 0)"},"disputed":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Disputed (SDO DISPUTED; Optional; precision 0)"},"donorForename":{"type":"string","nullable":true,"maxLength":35,"description":"Donor Forename (SDO DONOR_FORENAME; Optional; precision 0)"},"donorSurname":{"type":"string","nullable":true,"maxLength":35,"description":"Donor Surname (SDO DONOR_SURNAME; Optional; precision 0)"},"donorTitle":{"type":"string","nullable":true,"maxLength":4,"description":"Donor Title (SDO DONOR_TITLE; Optional; precision 0)"},"dunsNumber":{"type":"string","nullable":true,"maxLength":9,"description":"DUNS Number (SDO DUNS_NUMBER; Optional; precision 0)"},"eMail":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (SDO E_MAIL; Optional; precision 0)"},"eMail2":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (2) (SDO E_MAIL2; Optional; precision 0)"},"eMail3":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (3) (SDO E_MAIL3; Optional; precision 0)"},"eMail4":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (4) (SDO E_MAIL4; Optional; precision 0)"},"eMail5":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (5) (SDO E_MAIL5; Optional; precision 0)"},"eMail6":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (6) (SDO E_MAIL6; Optional; precision 0)"},"ecCode":{"type":"string","nullable":true,"maxLength":3,"description":"EC member code (SDO EC_CODE; Optional; precision 0)"},"eoriNumber":{"type":"string","nullable":true,"maxLength":17,"description":"EORI number (SDO EORI_NUMBER; Optional; precision 0)"},"excludeFromPaymentReminderEmails":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Exclude from chase emails in payment reminders (SDO EXCLUDE_FROM_PAYMENT_REMINDER_EMAILS; Optional; precision 0)"},"externalUsage":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Number of External Usages for This Record (SDO EXTERNAL_USAGE; Optional; precision 0)"},"facebook":{"type":"string","nullable":true,"maxLength":75,"description":"Facebook Address (SDO FACEBOOK; Optional; precision 0)"},"fax":{"type":"string","nullable":true,"maxLength":30,"description":"Fax Number (SDO FAX; Optional; precision 0)"},"firstHeader":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"First transaction (SDO FIRST_HEADER; Optional; precision 0)"},"firstInvoice":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"First Invoice Date (SDO FIRST_INVOICE; Optional; precision 0)"},"giftAidEnabled":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Gift Aid is enabled (SDO GIFT_AID_ENABLED; Optional; precision 0)"},"holdMail":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Restrict Mail (SDO HOLD_MAIL; Optional; precision 0)"},"inactiveFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Inactive Flag - Yes/No (SDO INACTIVE_FLAG; Optional; precision 0)"},"incoterms":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Incoterms (SDO INCOTERMS; Optional; precision 0)"},"invoiceBf":{"type":"number","nullable":true,"description":"Invoices Brought Forward (SDO INVOICE_BF; Optional; precision 2)"},"invoiceCf":{"type":"number","nullable":true,"description":"Invoices Carry Forward (SDO INVOICE_CF; Optional; precision 2)"},"invoiceMth1":{"type":"number","nullable":true,"description":"Invoices Month 1 (SDO INVOICE_MTH1; Optional; precision 2)"},"invoiceMth10":{"type":"number","nullable":true,"description":"Invoices Month 10 (SDO INVOICE_MTH10; Optional; precision 2)"},"invoiceMth11":{"type":"number","nullable":true,"description":"Invoices Month 11 (SDO INVOICE_MTH11; Optional; precision 2)"},"invoiceMth12":{"type":"number","nullable":true,"description":"Invoices Month 12 (SDO INVOICE_MTH12; Optional; precision 2)"},"invoiceMth2":{"type":"number","nullable":true,"description":"Invoices Month 2 (SDO INVOICE_MTH2; Optional; precision 2)"},"invoiceMth3":{"type":"number","nullable":true,"description":"Invoices Month 3 (SDO INVOICE_MTH3; Optional; precision 2)"},"invoiceMth4":{"type":"number","nullable":true,"description":"Invoices Month 4 (SDO INVOICE_MTH4; Optional; precision 2)"},"invoiceMth5":{"type":"number","nullable":true,"description":"Invoices Month 5 (SDO INVOICE_MTH5; Optional; precision 2)"},"invoiceMth6":{"type":"number","nullable":true,"description":"Invoices Month 6 (SDO INVOICE_MTH6; Optional; precision 2)"},"invoiceMth7":{"type":"number","nullable":true,"description":"Invoices Month 7 (SDO INVOICE_MTH7; Optional; precision 2)"},"invoiceMth8":{"type":"number","nullable":true,"description":"Invoices Month 8 (SDO INVOICE_MTH8; Optional; precision 2)"},"invoiceMth9":{"type":"number","nullable":true,"description":"Invoices Month 9 (SDO INVOICE_MTH9; Optional; precision 2)"},"lastCreditRev":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Last Credit Review (SDO LAST_CREDIT_REV; Optional; precision 0)"},"lastHeader":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Last transaction (SDO LAST_HEADER; Optional; precision 0)"},"lastInvDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Last Invoice Date (SDO LAST_INV_DATE; Optional; precision 0)"},"lastPayDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Last Payment Date (SDO LAST_PAY_DATE; Optional; precision 0)"},"lastUpdated":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date of last update (SDO LAST_UPDATED; Optional; precision 0)"},"linkedin":{"type":"string","nullable":true,"maxLength":64,"description":"LinkedIn Address (SDO LINKEDIN; Optional; precision 0)"},"mandateref":{"type":"string","nullable":true,"maxLength":25,"description":"Direct Debit Mandate Ref (SDO MANDATEREF; Optional; precision 0)"},"memberReminderDate":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Member Reminder Date (SDO MEMBER_REMINDER_DATE; Optional; precision 0)"},"memberRenewalDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Member Renewal Date (SDO MEMBER_RENEWAL_DATE; Optional; precision 0)"},"memberSince":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Member Since (SDO MEMBER_SINCE; Optional; precision 0)"},"memoOffset":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Offset in Credit Memo File (SDO MEMO_OFFSET; Optional; precision 0)"},"memoSize":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Size of Memo in Bytes (SDO MEMO_SIZE; Optional; precision 0)"},"modify":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Modified Count (SDO MODIFY; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Account Name (SDO NAME; Optional; precision 0)"},"nextCreditRev":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Next Credit Review (SDO NEXT_CREDIT_REV; Optional; precision 0)"},"noOfHeader":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"No of trans (SDO NO_OF_HEADER; Optional; precision 0)"},"overrideProductNominal":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Override product nominal code in invoicing and pop (SDO OVERRIDE_PRODUCT_NOMINAL; Optional; precision 0)"},"overrideProductTax":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Override product tax code in invoicing (SDO OVERRIDE_PRODUCT_TAX; Optional; precision 0)"},"paymentBf":{"type":"number","nullable":true,"description":"Payments Brought Forward (SDO PAYMENT_BF; Optional; precision 2)"},"paymentCf":{"type":"number","nullable":true,"description":"Payments Carry Forward (SDO PAYMENT_CF; Optional; precision 2)"},"paymentDueDays":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Payment Due Days (SDO PAYMENT_DUE_DAYS; Optional; precision 0)"},"paymentDueFrom":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Payment Due From (SDO PAYMENT_DUE_FROM; Optional; precision 0)"},"paymentMth1":{"type":"number","nullable":true,"description":"Payments Month 1 (SDO PAYMENT_MTH1; Optional; precision 2)"},"paymentMth10":{"type":"number","nullable":true,"description":"Payments Month 10 (SDO PAYMENT_MTH10; Optional; precision 2)"},"paymentMth11":{"type":"number","nullable":true,"description":"Payments Month 11 (SDO PAYMENT_MTH11; Optional; precision 2)"},"paymentMth12":{"type":"number","nullable":true,"description":"Payments Month 12 (SDO PAYMENT_MTH12; Optional; precision 2)"},"paymentMth2":{"type":"number","nullable":true,"description":"Payments Month 2 (SDO PAYMENT_MTH2; Optional; precision 2)"},"paymentMth3":{"type":"number","nullable":true,"description":"Payments Month 3 (SDO PAYMENT_MTH3; Optional; precision 2)"},"paymentMth4":{"type":"number","nullable":true,"description":"Payments Month 4 (SDO PAYMENT_MTH4; Optional; precision 2)"},"paymentMth5":{"type":"number","nullable":true,"description":"Payments Month 5 (SDO PAYMENT_MTH5; Optional; precision 2)"},"paymentMth6":{"type":"number","nullable":true,"description":"Payments Month 6 (SDO PAYMENT_MTH6; Optional; precision 2)"},"paymentMth7":{"type":"number","nullable":true,"description":"Payments Month 7 (SDO PAYMENT_MTH7; Optional; precision 2)"},"paymentMth8":{"type":"number","nullable":true,"description":"Payments Month 8 (SDO PAYMENT_MTH8; Optional; precision 2)"},"paymentMth9":{"type":"number","nullable":true,"description":"Payments Month 9 (SDO PAYMENT_MTH9; Optional; precision 2)"},"paymentType":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Payment Method (SDO PAYMENT_TYPE; Optional; precision 0)"},"priceListRef":{"type":"string","nullable":true,"maxLength":8,"description":"Price list reference (SDO PRICE_LIST_REF; Optional; precision 0)"},"priorYear":{"type":"number","nullable":true,"description":"Prior YTD (SDO PRIOR_YEAR; Optional; precision 2)"},"priorityTrader":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Priority Supplier (SDO PRIORITY_TRADER; Optional; precision 0)"},"receiptBf":{"type":"number","nullable":true,"description":"Receipts Brought Forward (SDO RECEIPT_BF; Optional; precision 2)"},"receiptCf":{"type":"number","nullable":true,"description":"Receipts Carry Forward (SDO RECEIPT_CF; Optional; precision 2)"},"receiptMth1":{"type":"number","nullable":true,"description":"Receipts Month 1 (SDO RECEIPT_MTH1; Optional; precision 2)"},"receiptMth10":{"type":"number","nullable":true,"description":"Receipts Month 10 (SDO RECEIPT_MTH10; Optional; precision 2)"},"receiptMth11":{"type":"number","nullable":true,"description":"Receipts Month 11 (SDO RECEIPT_MTH11; Optional; precision 2)"},"receiptMth12":{"type":"number","nullable":true,"description":"Receipts Month 12 (SDO RECEIPT_MTH12; Optional; precision 2)"},"receiptMth2":{"type":"number","nullable":true,"description":"Receipts Month 2 (SDO RECEIPT_MTH2; Optional; precision 2)"},"receiptMth3":{"type":"number","nullable":true,"description":"Receipts Month 3 (SDO RECEIPT_MTH3; Optional; precision 2)"},"receiptMth4":{"type":"number","nullable":true,"description":"Receipts Month 4 (SDO RECEIPT_MTH4; Optional; precision 2)"},"receiptMth5":{"type":"number","nullable":true,"description":"Receipts Month 5 (SDO RECEIPT_MTH5; Optional; precision 2)"},"receiptMth6":{"type":"number","nullable":true,"description":"Receipts Month 6 (SDO RECEIPT_MTH6; Optional; precision 2)"},"receiptMth7":{"type":"number","nullable":true,"description":"Receipts Month 7 (SDO RECEIPT_MTH7; Optional; precision 2)"},"receiptMth8":{"type":"number","nullable":true,"description":"Receipts Month 8 (SDO RECEIPT_MTH8; Optional; precision 2)"},"receiptMth9":{"type":"number","nullable":true,"description":"Receipts Month 9 (SDO RECEIPT_MTH9; Optional; precision 2)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"salesRep":{"type":"string","nullable":true,"maxLength":60,"description":"Name of Sales Representative (SDO SALES_REP; Optional; precision 0)"},"sendInvoicesElectronically":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Send Invoices to this account via Email (SDO SEND_INVOICES_ELECTRONICALLY; Optional; precision 0)"},"sendLettersElectronically":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Send letters to this account via Email (SDO SEND_LETTERS_ELECTRONICALLY; Optional; precision 0)"},"settlementDiscRate":{"type":"number","nullable":true,"description":"Settlement Discount Rate (SDO SETTLEMENT_DISC_RATE; Optional; precision 2)"},"settlementDueDays":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Settlement Due Days (SDO SETTLEMENT_DUE_DAYS; Optional; precision 0)"},"telephone":{"type":"string","nullable":true,"maxLength":30,"description":"Telephone Number (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","nullable":true,"maxLength":30,"description":"Second Telephone Number (SDO TELEPHONE_2; Optional; precision 0)"},"terms":{"type":"string","nullable":true,"maxLength":30,"description":"Terms (SDO TERMS; Optional; precision 0)"},"termsAgreedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Terms agreed flag (SDO TERMS_AGREED_FLAG; Optional; precision 0)"},"tradeContact":{"type":"string","nullable":true,"maxLength":30,"description":"Name of Trade Contact (SDO TRADE_CONTACT; Optional; precision 0)"},"traderForeignBalance":{"type":"number","nullable":true,"description":"Foreign Balance (SDO TRADER_FOREIGN_BALANCE; Optional; precision 6)"},"turnoverMtd":{"type":"number","nullable":true,"description":"Turnover Month To Date (SDO TURNOVER_MTD; Optional; precision 2)"},"turnoverYtd":{"type":"number","nullable":true,"description":"Turnover Year To Date (SDO TURNOVER_YTD; Optional; precision 2)"},"twitter":{"type":"string","nullable":true,"maxLength":35,"description":"Twitter Address (SDO TWITTER; Optional; precision 0)"},"vatRegNumber":{"type":"string","nullable":true,"maxLength":20,"description":"VAT Registration Number (SDO VAT_REG_NUMBER; Optional; precision 0)"},"www":{"type":"string","nullable":true,"maxLength":255,"description":"WWW Address (SDO WWW; Optional; precision 0)"},"id":{"type":"string"}},"required":["accountManager","accountOnHold","accountOpened","accountRef","accountStatus","accountType","address1","address2","address3","address4","address5","analysis1","analysis2","analysis3","analysis4","analysis5","analysis6","bacs","bacsReference","balance","bankAccountName","bankAccountNumber","bankAdditionalRef1","bankAdditionalRef2","bankAdditionalRef3","bankAddress1","bankAddress2","bankAddress3","bankAddress4","bankAddress5","bankBicswift","bankIban","bankName","bankRollNumber","bankSortCode","buildSocietyRef","buildingSociety","canApplyCharges","companyRegistrationNumber","contactName","countryCode","creditAppReceived","creditAppliedFor","creditBf","creditBureau","creditCardNo","creditCf","creditLimit","creditMth1","creditMth10","creditMth11","creditMth12","creditMth2","creditMth3","creditMth4","creditMth5","creditMth6","creditMth7","creditMth8","creditMth9","creditPosition","creditReference","currency","dateCreditAppReceived","declarationValidFrom","defNomCode","defTaxCode","delAddress1","delAddress2","delAddress3","delAddress4","delAddress5","delContactName","delFax","delName","delTelephone","deletedFlag","deptNumber","discountRate","discountType","disputed","donorForename","donorSurname","donorTitle","dunsNumber","eMail","eMail2","eMail3","eMail4","eMail5","eMail6","ecCode","eoriNumber","excludeFromPaymentReminderEmails","externalUsage","facebook","fax","firstHeader","firstInvoice","giftAidEnabled","holdMail","inactiveFlag","incoterms","invoiceBf","invoiceCf","invoiceMth1","invoiceMth10","invoiceMth11","invoiceMth12","invoiceMth2","invoiceMth3","invoiceMth4","invoiceMth5","invoiceMth6","invoiceMth7","invoiceMth8","invoiceMth9","lastCreditRev","lastHeader","lastInvDate","lastPayDate","lastUpdated","linkedin","mandateref","memberReminderDate","memberRenewalDate","memberSince","memoOffset","memoSize","modify","name","nextCreditRev","noOfHeader","overrideProductNominal","overrideProductTax","paymentBf","paymentCf","paymentDueDays","paymentDueFrom","paymentMth1","paymentMth10","paymentMth11","paymentMth12","paymentMth2","paymentMth3","paymentMth4","paymentMth5","paymentMth6","paymentMth7","paymentMth8","paymentMth9","paymentType","priceListRef","priorYear","priorityTrader","receiptBf","receiptCf","receiptMth1","receiptMth10","receiptMth11","receiptMth12","receiptMth2","receiptMth3","receiptMth4","receiptMth5","receiptMth6","receiptMth7","receiptMth8","receiptMth9","recordCreateDate","recordDeleted","recordModifyDate","salesRep","sendInvoicesElectronically","sendLettersElectronically","settlementDiscRate","settlementDueDays","telephone","telephone2","terms","termsAgreedFlag","tradeContact","traderForeignBalance","turnoverMtd","turnoverYtd","twitter","vatRegNumber","www","id"],"additionalProperties":false},"Uk33_1_suppliers_get":{"type":"object","properties":{"accountManager":{"type":"string","nullable":true,"maxLength":60,"description":"Name of Account Manager (SDO ACCOUNT_MANAGER; Optional; precision 0)"},"accountOnHold":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Account On Hold (SDO ACCOUNT_ON_HOLD; Optional; precision 0)"},"accountOpened":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Account Opened (SDO ACCOUNT_OPENED; Optional; precision 0)"},"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Account Reference (SDO ACCOUNT_REF; Required; precision 0)"},"accountStatus":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Status (SDO ACCOUNT_STATUS; Optional; precision 0)"},"accountType":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Type (SDO ACCOUNT_TYPE; Optional; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line5 (SDO ADDRESS_5; Optional; precision 0)"},"analysis1":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"analysis4":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 4 (SDO ANALYSIS_4; Optional; precision 0)"},"analysis5":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 5 (SDO ANALYSIS_5; Optional; precision 0)"},"analysis6":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 6 (SDO ANALYSIS_6; Optional; precision 0)"},"bacs":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Bank Online Payments (SDO BACS; Optional; precision 0)"},"bacsReference":{"type":"string","nullable":true,"maxLength":60,"description":"Bank BACS Ref (SDO BACS_REFERENCE; Optional; precision 0)"},"balance":{"type":"number","nullable":true,"description":"Balance (SDO BALANCE; Optional; precision 2)"},"bankAccountName":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Account Name (SDO BANK_ACCOUNT_NAME; Optional; precision 0)"},"bankAccountNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Account Number (SDO BANK_ACCOUNT_NUMBER; Optional; precision 0)"},"bankAdditionalRef1":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Additional Ref1 (SDO BANK_ADDITIONAL_REF1; Optional; precision 0)"},"bankAdditionalRef2":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Additional Ref2 (SDO BANK_ADDITIONAL_REF2; Optional; precision 0)"},"bankAdditionalRef3":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Additional Ref3 (SDO BANK_ADDITIONAL_REF3; Optional; precision 0)"},"bankAddress1":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line1 (SDO BANK_ADDRESS_1; Optional; precision 0)"},"bankAddress2":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line2 (SDO BANK_ADDRESS_2; Optional; precision 0)"},"bankAddress3":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line3 (SDO BANK_ADDRESS_3; Optional; precision 0)"},"bankAddress4":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line4 (SDO BANK_ADDRESS_4; Optional; precision 0)"},"bankAddress5":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line5 (SDO BANK_ADDRESS_5; Optional; precision 0)"},"bankBicswift":{"type":"string","nullable":true,"maxLength":60,"description":"Bank BIC/Swift (SDO BANK_BICSWIFT; Optional; precision 0)"},"bankIban":{"type":"string","nullable":true,"maxLength":60,"description":"Bank IBAN (SDO BANK_IBAN; Optional; precision 0)"},"bankName":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Name (SDO BANK_NAME; Optional; precision 0)"},"bankRollNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Roll Number (SDO BANK_ROLL_NUMBER; Optional; precision 0)"},"bankSortCode":{"type":"string","nullable":true,"maxLength":10,"description":"Bank Sort Code (SDO BANK_SORT_CODE; Optional; precision 0)"},"buildSocietyRef":{"type":"string","nullable":true,"maxLength":60,"description":"Refernce for Building Society Transfer (SDO BUILD_SOCIETY_REF; Optional; precision 0)"},"buildingSociety":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Uses Building Society (SDO BUILDING_SOCIETY; Optional; precision 0)"},"canApplyCharges":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Can Charge Credit (SDO CAN_APPLY_CHARGES; Optional; precision 0)"},"companyRegistrationNumber":{"type":"string","nullable":true,"maxLength":16,"description":"Company Reg. Number (SDO COMPANY_REGISTRATION_NUMBER; Optional; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Contact Name (SDO CONTACT_NAME; Optional; precision 0)"},"countryCode":{"type":"string","nullable":true,"maxLength":2,"description":"Country Code (SDO COUNTRY_CODE; Optional; precision 0)"},"creditAppReceived":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"True if Credit Application Received (SDO CREDIT_APP_RECEIVED; Optional; precision 0)"},"creditAppliedFor":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Credit Applied For (SDO CREDIT_APPLIED_FOR; Optional; precision 0)"},"creditBf":{"type":"number","nullable":true,"description":"Credits Brought Forward (SDO CREDIT_BF; Optional; precision 2)"},"creditBureau":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Credit Bureau Used (SDO CREDIT_BUREAU; Optional; precision 0)"},"creditCardNo":{"type":"string","nullable":true,"maxLength":30,"description":"Credit card number (SDO CREDIT_CARD_NO; Optional; precision 0)"},"creditCf":{"type":"number","nullable":true,"description":"Credits Carry Forward (SDO CREDIT_CF; Optional; precision 2)"},"creditLimit":{"type":"number","nullable":true,"description":"Credit Limit (SDO CREDIT_LIMIT; Optional; precision 2)"},"creditMth1":{"type":"number","nullable":true,"description":"Credits Month 1 (SDO CREDIT_MTH1; Optional; precision 2)"},"creditMth10":{"type":"number","nullable":true,"description":"Credits Month 10 (SDO CREDIT_MTH10; Optional; precision 2)"},"creditMth11":{"type":"number","nullable":true,"description":"Credits Month 11 (SDO CREDIT_MTH11; Optional; precision 2)"},"creditMth12":{"type":"number","nullable":true,"description":"Credits Month 12 (SDO CREDIT_MTH12; Optional; precision 2)"},"creditMth2":{"type":"number","nullable":true,"description":"Credits Month 2 (SDO CREDIT_MTH2; Optional; precision 2)"},"creditMth3":{"type":"number","nullable":true,"description":"Credits Month 3 (SDO CREDIT_MTH3; Optional; precision 2)"},"creditMth4":{"type":"number","nullable":true,"description":"Credits Month 4 (SDO CREDIT_MTH4; Optional; precision 2)"},"creditMth5":{"type":"number","nullable":true,"description":"Credits Month 5 (SDO CREDIT_MTH5; Optional; precision 2)"},"creditMth6":{"type":"number","nullable":true,"description":"Credits Month 6 (SDO CREDIT_MTH6; Optional; precision 2)"},"creditMth7":{"type":"number","nullable":true,"description":"Credits Month 7 (SDO CREDIT_MTH7; Optional; precision 2)"},"creditMth8":{"type":"number","nullable":true,"description":"Credits Month 8 (SDO CREDIT_MTH8; Optional; precision 2)"},"creditMth9":{"type":"number","nullable":true,"description":"Credits Month 9 (SDO CREDIT_MTH9; Optional; precision 2)"},"creditPosition":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Credit Position (SDO CREDIT_POSITION; Optional; precision 0)"},"creditReference":{"type":"string","nullable":true,"maxLength":60,"description":"Credit Bureau Reference (SDO CREDIT_REFERENCE; Optional; precision 0)"},"currency":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency (SDO CURRENCY; Optional; precision 0)"},"dateCreditAppReceived":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Credit Application Received (SDO DATE_CREDIT_APP_RECEIVED; Optional; precision 0)"},"declarationValidFrom":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Donor Declaration Valid From (SDO DECLARATION_VALID_FROM; Optional; precision 0)"},"defNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Default Nominal Code (SDO DEF_NOM_CODE; Optional; precision 0)"},"defTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax Code (SDO DEF_TAX_CODE; Optional; precision 0)"},"delAddress1":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line1 (SDO DEL_ADDRESS_1; Optional; precision 0)"},"delAddress2":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line2 (SDO DEL_ADDRESS_2; Optional; precision 0)"},"delAddress3":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line3 (SDO DEL_ADDRESS_3; Optional; precision 0)"},"delAddress4":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line4 (SDO DEL_ADDRESS_4; Optional; precision 0)"},"delAddress5":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line5 (SDO DEL_ADDRESS_5; Optional; precision 0)"},"delContactName":{"type":"string","nullable":true,"maxLength":30,"description":"Default Delivery Contact Name (SDO DEL_CONTACT_NAME; Optional; precision 0)"},"delFax":{"type":"string","nullable":true,"maxLength":30,"description":"Default Delivery Fax Number (SDO DEL_FAX; Optional; precision 0)"},"delName":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Name (SDO DEL_NAME; Optional; precision 0)"},"delTelephone":{"type":"string","nullable":true,"maxLength":30,"description":"Default Delivery Telephone Number (SDO DEL_TELEPHONE; Optional; precision 0)"},"deletedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Reserved for Future Use (SDO DELETED_FLAG; Optional; precision 0)"},"deptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Department Code (SDO DEPT_NUMBER; Optional; precision 0)"},"discountRate":{"type":"number","nullable":true,"description":"Discount Rate (SDO DISCOUNT_RATE; Optional; precision 2)"},"discountType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Discount Type (SDO DISCOUNT_TYPE; Optional; precision 0)"},"disputed":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Disputed (SDO DISPUTED; Optional; precision 0)"},"donorForename":{"type":"string","nullable":true,"maxLength":35,"description":"Donor Forename (SDO DONOR_FORENAME; Optional; precision 0)"},"donorSurname":{"type":"string","nullable":true,"maxLength":35,"description":"Donor Surname (SDO DONOR_SURNAME; Optional; precision 0)"},"donorTitle":{"type":"string","nullable":true,"maxLength":4,"description":"Donor Title (SDO DONOR_TITLE; Optional; precision 0)"},"dunsNumber":{"type":"string","nullable":true,"maxLength":9,"description":"DUNS Number (SDO DUNS_NUMBER; Optional; precision 0)"},"eMail":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (SDO E_MAIL; Optional; precision 0)"},"eMail2":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (2) (SDO E_MAIL2; Optional; precision 0)"},"eMail3":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (3) (SDO E_MAIL3; Optional; precision 0)"},"eMail4":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (4) (SDO E_MAIL4; Optional; precision 0)"},"eMail5":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (5) (SDO E_MAIL5; Optional; precision 0)"},"eMail6":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (6) (SDO E_MAIL6; Optional; precision 0)"},"ecCode":{"type":"string","nullable":true,"maxLength":3,"description":"EC member code (SDO EC_CODE; Optional; precision 0)"},"eoriNumber":{"type":"string","nullable":true,"maxLength":17,"description":"EORI number (SDO EORI_NUMBER; Optional; precision 0)"},"excludeFromPaymentReminderEmails":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Exclude from chase emails in payment reminders (SDO EXCLUDE_FROM_PAYMENT_REMINDER_EMAILS; Optional; precision 0)"},"externalUsage":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Number of External Usages for This Record (SDO EXTERNAL_USAGE; Optional; precision 0)"},"facebook":{"type":"string","nullable":true,"maxLength":75,"description":"Facebook Address (SDO FACEBOOK; Optional; precision 0)"},"fax":{"type":"string","nullable":true,"maxLength":30,"description":"Fax Number (SDO FAX; Optional; precision 0)"},"firstHeader":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"First transaction (SDO FIRST_HEADER; Optional; precision 0)"},"firstInvoice":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"First Invoice Date (SDO FIRST_INVOICE; Optional; precision 0)"},"giftAidEnabled":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Gift Aid is enabled (SDO GIFT_AID_ENABLED; Optional; precision 0)"},"holdMail":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Restrict Mail (SDO HOLD_MAIL; Optional; precision 0)"},"inactiveFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Inactive Flag - Yes/No (SDO INACTIVE_FLAG; Optional; precision 0)"},"incoterms":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Incoterms (SDO INCOTERMS; Optional; precision 0)"},"invoiceBf":{"type":"number","nullable":true,"description":"Invoices Brought Forward (SDO INVOICE_BF; Optional; precision 2)"},"invoiceCf":{"type":"number","nullable":true,"description":"Invoices Carry Forward (SDO INVOICE_CF; Optional; precision 2)"},"invoiceMth1":{"type":"number","nullable":true,"description":"Invoices Month 1 (SDO INVOICE_MTH1; Optional; precision 2)"},"invoiceMth10":{"type":"number","nullable":true,"description":"Invoices Month 10 (SDO INVOICE_MTH10; Optional; precision 2)"},"invoiceMth11":{"type":"number","nullable":true,"description":"Invoices Month 11 (SDO INVOICE_MTH11; Optional; precision 2)"},"invoiceMth12":{"type":"number","nullable":true,"description":"Invoices Month 12 (SDO INVOICE_MTH12; Optional; precision 2)"},"invoiceMth2":{"type":"number","nullable":true,"description":"Invoices Month 2 (SDO INVOICE_MTH2; Optional; precision 2)"},"invoiceMth3":{"type":"number","nullable":true,"description":"Invoices Month 3 (SDO INVOICE_MTH3; Optional; precision 2)"},"invoiceMth4":{"type":"number","nullable":true,"description":"Invoices Month 4 (SDO INVOICE_MTH4; Optional; precision 2)"},"invoiceMth5":{"type":"number","nullable":true,"description":"Invoices Month 5 (SDO INVOICE_MTH5; Optional; precision 2)"},"invoiceMth6":{"type":"number","nullable":true,"description":"Invoices Month 6 (SDO INVOICE_MTH6; Optional; precision 2)"},"invoiceMth7":{"type":"number","nullable":true,"description":"Invoices Month 7 (SDO INVOICE_MTH7; Optional; precision 2)"},"invoiceMth8":{"type":"number","nullable":true,"description":"Invoices Month 8 (SDO INVOICE_MTH8; Optional; precision 2)"},"invoiceMth9":{"type":"number","nullable":true,"description":"Invoices Month 9 (SDO INVOICE_MTH9; Optional; precision 2)"},"lastCreditRev":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Last Credit Review (SDO LAST_CREDIT_REV; Optional; precision 0)"},"lastHeader":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Last transaction (SDO LAST_HEADER; Optional; precision 0)"},"lastInvDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Last Invoice Date (SDO LAST_INV_DATE; Optional; precision 0)"},"lastPayDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Last Payment Date (SDO LAST_PAY_DATE; Optional; precision 0)"},"lastUpdated":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date of last update (SDO LAST_UPDATED; Optional; precision 0)"},"linkedin":{"type":"string","nullable":true,"maxLength":64,"description":"LinkedIn Address (SDO LINKEDIN; Optional; precision 0)"},"mandateref":{"type":"string","nullable":true,"maxLength":25,"description":"Direct Debit Mandate Ref (SDO MANDATEREF; Optional; precision 0)"},"memberReminderDate":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Member Reminder Date (SDO MEMBER_REMINDER_DATE; Optional; precision 0)"},"memberRenewalDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Member Renewal Date (SDO MEMBER_RENEWAL_DATE; Optional; precision 0)"},"memberSince":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Member Since (SDO MEMBER_SINCE; Optional; precision 0)"},"memoOffset":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Offset in Credit Memo File (SDO MEMO_OFFSET; Optional; precision 0)"},"memoSize":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Size of Memo in Bytes (SDO MEMO_SIZE; Optional; precision 0)"},"modify":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Modified Count (SDO MODIFY; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Account Name (SDO NAME; Optional; precision 0)"},"nextCreditRev":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Next Credit Review (SDO NEXT_CREDIT_REV; Optional; precision 0)"},"noOfHeader":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"No of trans (SDO NO_OF_HEADER; Optional; precision 0)"},"overrideProductNominal":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Override product nominal code in invoicing and pop (SDO OVERRIDE_PRODUCT_NOMINAL; Optional; precision 0)"},"overrideProductTax":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Override product tax code in invoicing (SDO OVERRIDE_PRODUCT_TAX; Optional; precision 0)"},"paymentBf":{"type":"number","nullable":true,"description":"Payments Brought Forward (SDO PAYMENT_BF; Optional; precision 2)"},"paymentCf":{"type":"number","nullable":true,"description":"Payments Carry Forward (SDO PAYMENT_CF; Optional; precision 2)"},"paymentDueDays":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Payment Due Days (SDO PAYMENT_DUE_DAYS; Optional; precision 0)"},"paymentDueFrom":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Payment Due From (SDO PAYMENT_DUE_FROM; Optional; precision 0)"},"paymentMth1":{"type":"number","nullable":true,"description":"Payments Month 1 (SDO PAYMENT_MTH1; Optional; precision 2)"},"paymentMth10":{"type":"number","nullable":true,"description":"Payments Month 10 (SDO PAYMENT_MTH10; Optional; precision 2)"},"paymentMth11":{"type":"number","nullable":true,"description":"Payments Month 11 (SDO PAYMENT_MTH11; Optional; precision 2)"},"paymentMth12":{"type":"number","nullable":true,"description":"Payments Month 12 (SDO PAYMENT_MTH12; Optional; precision 2)"},"paymentMth2":{"type":"number","nullable":true,"description":"Payments Month 2 (SDO PAYMENT_MTH2; Optional; precision 2)"},"paymentMth3":{"type":"number","nullable":true,"description":"Payments Month 3 (SDO PAYMENT_MTH3; Optional; precision 2)"},"paymentMth4":{"type":"number","nullable":true,"description":"Payments Month 4 (SDO PAYMENT_MTH4; Optional; precision 2)"},"paymentMth5":{"type":"number","nullable":true,"description":"Payments Month 5 (SDO PAYMENT_MTH5; Optional; precision 2)"},"paymentMth6":{"type":"number","nullable":true,"description":"Payments Month 6 (SDO PAYMENT_MTH6; Optional; precision 2)"},"paymentMth7":{"type":"number","nullable":true,"description":"Payments Month 7 (SDO PAYMENT_MTH7; Optional; precision 2)"},"paymentMth8":{"type":"number","nullable":true,"description":"Payments Month 8 (SDO PAYMENT_MTH8; Optional; precision 2)"},"paymentMth9":{"type":"number","nullable":true,"description":"Payments Month 9 (SDO PAYMENT_MTH9; Optional; precision 2)"},"paymentType":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Payment Method (SDO PAYMENT_TYPE; Optional; precision 0)"},"priceListRef":{"type":"string","nullable":true,"maxLength":8,"description":"Price list reference (SDO PRICE_LIST_REF; Optional; precision 0)"},"priorYear":{"type":"number","nullable":true,"description":"Prior YTD (SDO PRIOR_YEAR; Optional; precision 2)"},"priorityTrader":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Priority Supplier (SDO PRIORITY_TRADER; Optional; precision 0)"},"receiptBf":{"type":"number","nullable":true,"description":"Receipts Brought Forward (SDO RECEIPT_BF; Optional; precision 2)"},"receiptCf":{"type":"number","nullable":true,"description":"Receipts Carry Forward (SDO RECEIPT_CF; Optional; precision 2)"},"receiptMth1":{"type":"number","nullable":true,"description":"Receipts Month 1 (SDO RECEIPT_MTH1; Optional; precision 2)"},"receiptMth10":{"type":"number","nullable":true,"description":"Receipts Month 10 (SDO RECEIPT_MTH10; Optional; precision 2)"},"receiptMth11":{"type":"number","nullable":true,"description":"Receipts Month 11 (SDO RECEIPT_MTH11; Optional; precision 2)"},"receiptMth12":{"type":"number","nullable":true,"description":"Receipts Month 12 (SDO RECEIPT_MTH12; Optional; precision 2)"},"receiptMth2":{"type":"number","nullable":true,"description":"Receipts Month 2 (SDO RECEIPT_MTH2; Optional; precision 2)"},"receiptMth3":{"type":"number","nullable":true,"description":"Receipts Month 3 (SDO RECEIPT_MTH3; Optional; precision 2)"},"receiptMth4":{"type":"number","nullable":true,"description":"Receipts Month 4 (SDO RECEIPT_MTH4; Optional; precision 2)"},"receiptMth5":{"type":"number","nullable":true,"description":"Receipts Month 5 (SDO RECEIPT_MTH5; Optional; precision 2)"},"receiptMth6":{"type":"number","nullable":true,"description":"Receipts Month 6 (SDO RECEIPT_MTH6; Optional; precision 2)"},"receiptMth7":{"type":"number","nullable":true,"description":"Receipts Month 7 (SDO RECEIPT_MTH7; Optional; precision 2)"},"receiptMth8":{"type":"number","nullable":true,"description":"Receipts Month 8 (SDO RECEIPT_MTH8; Optional; precision 2)"},"receiptMth9":{"type":"number","nullable":true,"description":"Receipts Month 9 (SDO RECEIPT_MTH9; Optional; precision 2)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"salesRep":{"type":"string","nullable":true,"maxLength":60,"description":"Name of Sales Representative (SDO SALES_REP; Optional; precision 0)"},"sendInvoicesElectronically":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Send Invoices to this account via Email (SDO SEND_INVOICES_ELECTRONICALLY; Optional; precision 0)"},"sendLettersElectronically":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Send letters to this account via Email (SDO SEND_LETTERS_ELECTRONICALLY; Optional; precision 0)"},"settlementDiscRate":{"type":"number","nullable":true,"description":"Settlement Discount Rate (SDO SETTLEMENT_DISC_RATE; Optional; precision 2)"},"settlementDueDays":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Settlement Due Days (SDO SETTLEMENT_DUE_DAYS; Optional; precision 0)"},"telephone":{"type":"string","nullable":true,"maxLength":30,"description":"Telephone Number (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","nullable":true,"maxLength":30,"description":"Second Telephone Number (SDO TELEPHONE_2; Optional; precision 0)"},"terms":{"type":"string","nullable":true,"maxLength":30,"description":"Terms (SDO TERMS; Optional; precision 0)"},"termsAgreedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Terms agreed flag (SDO TERMS_AGREED_FLAG; Optional; precision 0)"},"tradeContact":{"type":"string","nullable":true,"maxLength":30,"description":"Name of Trade Contact (SDO TRADE_CONTACT; Optional; precision 0)"},"traderForeignBalance":{"type":"number","nullable":true,"description":"Foreign Balance (SDO TRADER_FOREIGN_BALANCE; Optional; precision 6)"},"turnoverMtd":{"type":"number","nullable":true,"description":"Turnover Month To Date (SDO TURNOVER_MTD; Optional; precision 2)"},"turnoverYtd":{"type":"number","nullable":true,"description":"Turnover Year To Date (SDO TURNOVER_YTD; Optional; precision 2)"},"twitter":{"type":"string","nullable":true,"maxLength":35,"description":"Twitter Address (SDO TWITTER; Optional; precision 0)"},"ukimsNumber":{"type":"string","nullable":true,"maxLength":64,"description":"UKIMS number (SDO UKIMS_NUMBER; Optional; precision 0)"},"vatRegNumber":{"type":"string","nullable":true,"maxLength":20,"description":"VAT Registration Number (SDO VAT_REG_NUMBER; Optional; precision 0)"},"www":{"type":"string","nullable":true,"maxLength":255,"description":"WWW Address (SDO WWW; Optional; precision 0)"},"id":{"type":"string"}},"required":["accountManager","accountOnHold","accountOpened","accountRef","accountStatus","accountType","address1","address2","address3","address4","address5","analysis1","analysis2","analysis3","analysis4","analysis5","analysis6","bacs","bacsReference","balance","bankAccountName","bankAccountNumber","bankAdditionalRef1","bankAdditionalRef2","bankAdditionalRef3","bankAddress1","bankAddress2","bankAddress3","bankAddress4","bankAddress5","bankBicswift","bankIban","bankName","bankRollNumber","bankSortCode","buildSocietyRef","buildingSociety","canApplyCharges","companyRegistrationNumber","contactName","countryCode","creditAppReceived","creditAppliedFor","creditBf","creditBureau","creditCardNo","creditCf","creditLimit","creditMth1","creditMth10","creditMth11","creditMth12","creditMth2","creditMth3","creditMth4","creditMth5","creditMth6","creditMth7","creditMth8","creditMth9","creditPosition","creditReference","currency","dateCreditAppReceived","declarationValidFrom","defNomCode","defTaxCode","delAddress1","delAddress2","delAddress3","delAddress4","delAddress5","delContactName","delFax","delName","delTelephone","deletedFlag","deptNumber","discountRate","discountType","disputed","donorForename","donorSurname","donorTitle","dunsNumber","eMail","eMail2","eMail3","eMail4","eMail5","eMail6","ecCode","eoriNumber","excludeFromPaymentReminderEmails","externalUsage","facebook","fax","firstHeader","firstInvoice","giftAidEnabled","holdMail","inactiveFlag","incoterms","invoiceBf","invoiceCf","invoiceMth1","invoiceMth10","invoiceMth11","invoiceMth12","invoiceMth2","invoiceMth3","invoiceMth4","invoiceMth5","invoiceMth6","invoiceMth7","invoiceMth8","invoiceMth9","lastCreditRev","lastHeader","lastInvDate","lastPayDate","lastUpdated","linkedin","mandateref","memberReminderDate","memberRenewalDate","memberSince","memoOffset","memoSize","modify","name","nextCreditRev","noOfHeader","overrideProductNominal","overrideProductTax","paymentBf","paymentCf","paymentDueDays","paymentDueFrom","paymentMth1","paymentMth10","paymentMth11","paymentMth12","paymentMth2","paymentMth3","paymentMth4","paymentMth5","paymentMth6","paymentMth7","paymentMth8","paymentMth9","paymentType","priceListRef","priorYear","priorityTrader","receiptBf","receiptCf","receiptMth1","receiptMth10","receiptMth11","receiptMth12","receiptMth2","receiptMth3","receiptMth4","receiptMth5","receiptMth6","receiptMth7","receiptMth8","receiptMth9","recordCreateDate","recordDeleted","recordModifyDate","salesRep","sendInvoicesElectronically","sendLettersElectronically","settlementDiscRate","settlementDueDays","telephone","telephone2","terms","termsAgreedFlag","tradeContact","traderForeignBalance","turnoverMtd","turnoverYtd","twitter","ukimsNumber","vatRegNumber","www","id"],"additionalProperties":false},"Uk34_1_suppliers_get":{"type":"object","properties":{"accountManager":{"type":"string","nullable":true,"maxLength":60,"description":"Name of Account Manager (SDO ACCOUNT_MANAGER; Optional; precision 0)"},"accountOnHold":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Account On Hold (SDO ACCOUNT_ON_HOLD; Optional; precision 0)"},"accountOpened":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Account Opened (SDO ACCOUNT_OPENED; Optional; precision 0)"},"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Account Reference (SDO ACCOUNT_REF; Required; precision 0)"},"accountStatus":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Status (SDO ACCOUNT_STATUS; Optional; precision 0)"},"accountType":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Type (SDO ACCOUNT_TYPE; Optional; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Registered Address Line5 (SDO ADDRESS_5; Optional; precision 0)"},"analysis1":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"analysis4":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 4 (SDO ANALYSIS_4; Optional; precision 0)"},"analysis5":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 5 (SDO ANALYSIS_5; Optional; precision 0)"},"analysis6":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 6 (SDO ANALYSIS_6; Optional; precision 0)"},"bacs":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Bank Online Payments (SDO BACS; Optional; precision 0)"},"bacsReference":{"type":"string","nullable":true,"maxLength":60,"description":"Bank BACS Ref (SDO BACS_REFERENCE; Optional; precision 0)"},"balance":{"type":"number","nullable":true,"description":"Balance (SDO BALANCE; Optional; precision 2)"},"bankAccountName":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Account Name (SDO BANK_ACCOUNT_NAME; Optional; precision 0)"},"bankAccountNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Account Number (SDO BANK_ACCOUNT_NUMBER; Optional; precision 0)"},"bankAdditionalRef1":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Additional Ref1 (SDO BANK_ADDITIONAL_REF1; Optional; precision 0)"},"bankAdditionalRef2":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Additional Ref2 (SDO BANK_ADDITIONAL_REF2; Optional; precision 0)"},"bankAdditionalRef3":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Additional Ref3 (SDO BANK_ADDITIONAL_REF3; Optional; precision 0)"},"bankAddress1":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line1 (SDO BANK_ADDRESS_1; Optional; precision 0)"},"bankAddress2":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line2 (SDO BANK_ADDRESS_2; Optional; precision 0)"},"bankAddress3":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line3 (SDO BANK_ADDRESS_3; Optional; precision 0)"},"bankAddress4":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line4 (SDO BANK_ADDRESS_4; Optional; precision 0)"},"bankAddress5":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Address Line5 (SDO BANK_ADDRESS_5; Optional; precision 0)"},"bankBicswift":{"type":"string","nullable":true,"maxLength":60,"description":"Bank BIC/Swift (SDO BANK_BICSWIFT; Optional; precision 0)"},"bankIban":{"type":"string","nullable":true,"maxLength":60,"description":"Bank IBAN (SDO BANK_IBAN; Optional; precision 0)"},"bankName":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Name (SDO BANK_NAME; Optional; precision 0)"},"bankRollNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Bank Roll Number (SDO BANK_ROLL_NUMBER; Optional; precision 0)"},"bankSortCode":{"type":"string","nullable":true,"maxLength":10,"description":"Bank Sort Code (SDO BANK_SORT_CODE; Optional; precision 0)"},"buildSocietyRef":{"type":"string","nullable":true,"maxLength":60,"description":"Refernce for Building Society Transfer (SDO BUILD_SOCIETY_REF; Optional; precision 0)"},"buildingSociety":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Account Uses Building Society (SDO BUILDING_SOCIETY; Optional; precision 0)"},"canApplyCharges":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Can Charge Credit (SDO CAN_APPLY_CHARGES; Optional; precision 0)"},"companyRegistrationNumber":{"type":"string","nullable":true,"maxLength":16,"description":"Company Reg. Number (SDO COMPANY_REGISTRATION_NUMBER; Optional; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Contact Name (SDO CONTACT_NAME; Optional; precision 0)"},"countryCode":{"type":"string","nullable":true,"maxLength":2,"description":"Country Code (SDO COUNTRY_CODE; Optional; precision 0)"},"creditAppReceived":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"True if Credit Application Received (SDO CREDIT_APP_RECEIVED; Optional; precision 0)"},"creditAppliedFor":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Credit Applied For (SDO CREDIT_APPLIED_FOR; Optional; precision 0)"},"creditBf":{"type":"number","nullable":true,"description":"Credits Brought Forward (SDO CREDIT_BF; Optional; precision 2)"},"creditBureau":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Credit Bureau Used (SDO CREDIT_BUREAU; Optional; precision 0)"},"creditCardNo":{"type":"string","nullable":true,"maxLength":30,"description":"Credit card number (SDO CREDIT_CARD_NO; Optional; precision 0)"},"creditCf":{"type":"number","nullable":true,"description":"Credits Carry Forward (SDO CREDIT_CF; Optional; precision 2)"},"creditLimit":{"type":"number","nullable":true,"description":"Credit Limit (SDO CREDIT_LIMIT; Optional; precision 2)"},"creditMth1":{"type":"number","nullable":true,"description":"Credits Month 1 (SDO CREDIT_MTH1; Optional; precision 2)"},"creditMth10":{"type":"number","nullable":true,"description":"Credits Month 10 (SDO CREDIT_MTH10; Optional; precision 2)"},"creditMth11":{"type":"number","nullable":true,"description":"Credits Month 11 (SDO CREDIT_MTH11; Optional; precision 2)"},"creditMth12":{"type":"number","nullable":true,"description":"Credits Month 12 (SDO CREDIT_MTH12; Optional; precision 2)"},"creditMth2":{"type":"number","nullable":true,"description":"Credits Month 2 (SDO CREDIT_MTH2; Optional; precision 2)"},"creditMth3":{"type":"number","nullable":true,"description":"Credits Month 3 (SDO CREDIT_MTH3; Optional; precision 2)"},"creditMth4":{"type":"number","nullable":true,"description":"Credits Month 4 (SDO CREDIT_MTH4; Optional; precision 2)"},"creditMth5":{"type":"number","nullable":true,"description":"Credits Month 5 (SDO CREDIT_MTH5; Optional; precision 2)"},"creditMth6":{"type":"number","nullable":true,"description":"Credits Month 6 (SDO CREDIT_MTH6; Optional; precision 2)"},"creditMth7":{"type":"number","nullable":true,"description":"Credits Month 7 (SDO CREDIT_MTH7; Optional; precision 2)"},"creditMth8":{"type":"number","nullable":true,"description":"Credits Month 8 (SDO CREDIT_MTH8; Optional; precision 2)"},"creditMth9":{"type":"number","nullable":true,"description":"Credits Month 9 (SDO CREDIT_MTH9; Optional; precision 2)"},"creditPosition":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Credit Position (SDO CREDIT_POSITION; Optional; precision 0)"},"creditReference":{"type":"string","nullable":true,"maxLength":60,"description":"Credit Bureau Reference (SDO CREDIT_REFERENCE; Optional; precision 0)"},"currency":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency (SDO CURRENCY; Optional; precision 0)"},"dateCreditAppReceived":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Credit Application Received (SDO DATE_CREDIT_APP_RECEIVED; Optional; precision 0)"},"declarationValidFrom":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Donor Declaration Valid From (SDO DECLARATION_VALID_FROM; Optional; precision 0)"},"defNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Default Nominal Code (SDO DEF_NOM_CODE; Optional; precision 0)"},"defTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax Code (SDO DEF_TAX_CODE; Optional; precision 0)"},"delAddress1":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line1 (SDO DEL_ADDRESS_1; Optional; precision 0)"},"delAddress2":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line2 (SDO DEL_ADDRESS_2; Optional; precision 0)"},"delAddress3":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line3 (SDO DEL_ADDRESS_3; Optional; precision 0)"},"delAddress4":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line4 (SDO DEL_ADDRESS_4; Optional; precision 0)"},"delAddress5":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Address Line5 (SDO DEL_ADDRESS_5; Optional; precision 0)"},"delContactName":{"type":"string","nullable":true,"maxLength":30,"description":"Default Delivery Contact Name (SDO DEL_CONTACT_NAME; Optional; precision 0)"},"delFax":{"type":"string","nullable":true,"maxLength":30,"description":"Default Delivery Fax Number (SDO DEL_FAX; Optional; precision 0)"},"delName":{"type":"string","nullable":true,"maxLength":60,"description":"Default Delivery Name (SDO DEL_NAME; Optional; precision 0)"},"delTelephone":{"type":"string","nullable":true,"maxLength":30,"description":"Default Delivery Telephone Number (SDO DEL_TELEPHONE; Optional; precision 0)"},"deletedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Reserved for Future Use (SDO DELETED_FLAG; Optional; precision 0)"},"deptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Department Code (SDO DEPT_NUMBER; Optional; precision 0)"},"discountRate":{"type":"number","nullable":true,"description":"Discount Rate (SDO DISCOUNT_RATE; Optional; precision 2)"},"discountType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Discount Type (SDO DISCOUNT_TYPE; Optional; precision 0)"},"disputed":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Disputed (SDO DISPUTED; Optional; precision 0)"},"donorForename":{"type":"string","nullable":true,"maxLength":35,"description":"Donor Forename (SDO DONOR_FORENAME; Optional; precision 0)"},"donorSurname":{"type":"string","nullable":true,"maxLength":35,"description":"Donor Surname (SDO DONOR_SURNAME; Optional; precision 0)"},"donorTitle":{"type":"string","nullable":true,"maxLength":4,"description":"Donor Title (SDO DONOR_TITLE; Optional; precision 0)"},"dunsNumber":{"type":"string","nullable":true,"maxLength":9,"description":"DUNS Number (SDO DUNS_NUMBER; Optional; precision 0)"},"eMail":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (SDO E_MAIL; Optional; precision 0)"},"eMail2":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (2) (SDO E_MAIL2; Optional; precision 0)"},"eMail3":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (3) (SDO E_MAIL3; Optional; precision 0)"},"eMail4":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (4) (SDO E_MAIL4; Optional; precision 0)"},"eMail5":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (5) (SDO E_MAIL5; Optional; precision 0)"},"eMail6":{"type":"string","nullable":true,"maxLength":255,"description":"E-Mail Address (6) (SDO E_MAIL6; Optional; precision 0)"},"ecCode":{"type":"string","nullable":true,"maxLength":3,"description":"EC member code (SDO EC_CODE; Optional; precision 0)"},"eoriNumber":{"type":"string","nullable":true,"maxLength":17,"description":"EORI number (SDO EORI_NUMBER; Optional; precision 0)"},"excludeFromPaymentReminderEmails":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Exclude from chase emails in payment reminders (SDO EXCLUDE_FROM_PAYMENT_REMINDER_EMAILS; Optional; precision 0)"},"externalUsage":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Number of External Usages for This Record (SDO EXTERNAL_USAGE; Optional; precision 0)"},"facebook":{"type":"string","nullable":true,"maxLength":75,"description":"Facebook Address (SDO FACEBOOK; Optional; precision 0)"},"fax":{"type":"string","nullable":true,"maxLength":30,"description":"Fax Number (SDO FAX; Optional; precision 0)"},"firstHeader":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"First transaction (SDO FIRST_HEADER; Optional; precision 0)"},"firstInvoice":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"First Invoice Date (SDO FIRST_INVOICE; Optional; precision 0)"},"giftAidEnabled":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Gift Aid is enabled (SDO GIFT_AID_ENABLED; Optional; precision 0)"},"holdMail":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Restrict Mail (SDO HOLD_MAIL; Optional; precision 0)"},"inactiveFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Inactive Flag - Yes/No (SDO INACTIVE_FLAG; Optional; precision 0)"},"incoterms":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Incoterms (SDO INCOTERMS; Optional; precision 0)"},"invoiceBf":{"type":"number","nullable":true,"description":"Invoices Brought Forward (SDO INVOICE_BF; Optional; precision 2)"},"invoiceCf":{"type":"number","nullable":true,"description":"Invoices Carry Forward (SDO INVOICE_CF; Optional; precision 2)"},"invoiceMth1":{"type":"number","nullable":true,"description":"Invoices Month 1 (SDO INVOICE_MTH1; Optional; precision 2)"},"invoiceMth10":{"type":"number","nullable":true,"description":"Invoices Month 10 (SDO INVOICE_MTH10; Optional; precision 2)"},"invoiceMth11":{"type":"number","nullable":true,"description":"Invoices Month 11 (SDO INVOICE_MTH11; Optional; precision 2)"},"invoiceMth12":{"type":"number","nullable":true,"description":"Invoices Month 12 (SDO INVOICE_MTH12; Optional; precision 2)"},"invoiceMth2":{"type":"number","nullable":true,"description":"Invoices Month 2 (SDO INVOICE_MTH2; Optional; precision 2)"},"invoiceMth3":{"type":"number","nullable":true,"description":"Invoices Month 3 (SDO INVOICE_MTH3; Optional; precision 2)"},"invoiceMth4":{"type":"number","nullable":true,"description":"Invoices Month 4 (SDO INVOICE_MTH4; Optional; precision 2)"},"invoiceMth5":{"type":"number","nullable":true,"description":"Invoices Month 5 (SDO INVOICE_MTH5; Optional; precision 2)"},"invoiceMth6":{"type":"number","nullable":true,"description":"Invoices Month 6 (SDO INVOICE_MTH6; Optional; precision 2)"},"invoiceMth7":{"type":"number","nullable":true,"description":"Invoices Month 7 (SDO INVOICE_MTH7; Optional; precision 2)"},"invoiceMth8":{"type":"number","nullable":true,"description":"Invoices Month 8 (SDO INVOICE_MTH8; Optional; precision 2)"},"invoiceMth9":{"type":"number","nullable":true,"description":"Invoices Month 9 (SDO INVOICE_MTH9; Optional; precision 2)"},"lastCreditRev":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Last Credit Review (SDO LAST_CREDIT_REV; Optional; precision 0)"},"lastHeader":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Last transaction (SDO LAST_HEADER; Optional; precision 0)"},"lastInvDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Last Invoice Date (SDO LAST_INV_DATE; Optional; precision 0)"},"lastPayDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Last Payment Date (SDO LAST_PAY_DATE; Optional; precision 0)"},"lastUpdated":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date of last update (SDO LAST_UPDATED; Optional; precision 0)"},"linkedin":{"type":"string","nullable":true,"maxLength":64,"description":"LinkedIn Address (SDO LINKEDIN; Optional; precision 0)"},"mandateref":{"type":"string","nullable":true,"maxLength":25,"description":"Direct Debit Mandate Ref (SDO MANDATEREF; Optional; precision 0)"},"memberReminderDate":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Member Reminder Date (SDO MEMBER_REMINDER_DATE; Optional; precision 0)"},"memberRenewalDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Member Renewal Date (SDO MEMBER_RENEWAL_DATE; Optional; precision 0)"},"memberSince":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Member Since (SDO MEMBER_SINCE; Optional; precision 0)"},"memoOffset":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Offset in Credit Memo File (SDO MEMO_OFFSET; Optional; precision 0)"},"memoSize":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Size of Memo in Bytes (SDO MEMO_SIZE; Optional; precision 0)"},"modify":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Modified Count (SDO MODIFY; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Account Name (SDO NAME; Optional; precision 0)"},"nextCreditRev":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date Next Credit Review (SDO NEXT_CREDIT_REV; Optional; precision 0)"},"noOfHeader":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"No of trans (SDO NO_OF_HEADER; Optional; precision 0)"},"overrideProductNominal":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Override product nominal code in invoicing and pop (SDO OVERRIDE_PRODUCT_NOMINAL; Optional; precision 0)"},"overrideProductTax":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Override product tax code in invoicing (SDO OVERRIDE_PRODUCT_TAX; Optional; precision 0)"},"paymentBf":{"type":"number","nullable":true,"description":"Payments Brought Forward (SDO PAYMENT_BF; Optional; precision 2)"},"paymentCf":{"type":"number","nullable":true,"description":"Payments Carry Forward (SDO PAYMENT_CF; Optional; precision 2)"},"paymentDueDays":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Payment Due Days (SDO PAYMENT_DUE_DAYS; Optional; precision 0)"},"paymentDueFrom":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Payment Due From (SDO PAYMENT_DUE_FROM; Optional; precision 0)"},"paymentMth1":{"type":"number","nullable":true,"description":"Payments Month 1 (SDO PAYMENT_MTH1; Optional; precision 2)"},"paymentMth10":{"type":"number","nullable":true,"description":"Payments Month 10 (SDO PAYMENT_MTH10; Optional; precision 2)"},"paymentMth11":{"type":"number","nullable":true,"description":"Payments Month 11 (SDO PAYMENT_MTH11; Optional; precision 2)"},"paymentMth12":{"type":"number","nullable":true,"description":"Payments Month 12 (SDO PAYMENT_MTH12; Optional; precision 2)"},"paymentMth2":{"type":"number","nullable":true,"description":"Payments Month 2 (SDO PAYMENT_MTH2; Optional; precision 2)"},"paymentMth3":{"type":"number","nullable":true,"description":"Payments Month 3 (SDO PAYMENT_MTH3; Optional; precision 2)"},"paymentMth4":{"type":"number","nullable":true,"description":"Payments Month 4 (SDO PAYMENT_MTH4; Optional; precision 2)"},"paymentMth5":{"type":"number","nullable":true,"description":"Payments Month 5 (SDO PAYMENT_MTH5; Optional; precision 2)"},"paymentMth6":{"type":"number","nullable":true,"description":"Payments Month 6 (SDO PAYMENT_MTH6; Optional; precision 2)"},"paymentMth7":{"type":"number","nullable":true,"description":"Payments Month 7 (SDO PAYMENT_MTH7; Optional; precision 2)"},"paymentMth8":{"type":"number","nullable":true,"description":"Payments Month 8 (SDO PAYMENT_MTH8; Optional; precision 2)"},"paymentMth9":{"type":"number","nullable":true,"description":"Payments Month 9 (SDO PAYMENT_MTH9; Optional; precision 2)"},"paymentType":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Payment Method (SDO PAYMENT_TYPE; Optional; precision 0)"},"priceListRef":{"type":"string","nullable":true,"maxLength":8,"description":"Price list reference (SDO PRICE_LIST_REF; Optional; precision 0)"},"priorYear":{"type":"number","nullable":true,"description":"Prior YTD (SDO PRIOR_YEAR; Optional; precision 2)"},"priorityTrader":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Priority Supplier (SDO PRIORITY_TRADER; Optional; precision 0)"},"receiptBf":{"type":"number","nullable":true,"description":"Receipts Brought Forward (SDO RECEIPT_BF; Optional; precision 2)"},"receiptCf":{"type":"number","nullable":true,"description":"Receipts Carry Forward (SDO RECEIPT_CF; Optional; precision 2)"},"receiptMth1":{"type":"number","nullable":true,"description":"Receipts Month 1 (SDO RECEIPT_MTH1; Optional; precision 2)"},"receiptMth10":{"type":"number","nullable":true,"description":"Receipts Month 10 (SDO RECEIPT_MTH10; Optional; precision 2)"},"receiptMth11":{"type":"number","nullable":true,"description":"Receipts Month 11 (SDO RECEIPT_MTH11; Optional; precision 2)"},"receiptMth12":{"type":"number","nullable":true,"description":"Receipts Month 12 (SDO RECEIPT_MTH12; Optional; precision 2)"},"receiptMth2":{"type":"number","nullable":true,"description":"Receipts Month 2 (SDO RECEIPT_MTH2; Optional; precision 2)"},"receiptMth3":{"type":"number","nullable":true,"description":"Receipts Month 3 (SDO RECEIPT_MTH3; Optional; precision 2)"},"receiptMth4":{"type":"number","nullable":true,"description":"Receipts Month 4 (SDO RECEIPT_MTH4; Optional; precision 2)"},"receiptMth5":{"type":"number","nullable":true,"description":"Receipts Month 5 (SDO RECEIPT_MTH5; Optional; precision 2)"},"receiptMth6":{"type":"number","nullable":true,"description":"Receipts Month 6 (SDO RECEIPT_MTH6; Optional; precision 2)"},"receiptMth7":{"type":"number","nullable":true,"description":"Receipts Month 7 (SDO RECEIPT_MTH7; Optional; precision 2)"},"receiptMth8":{"type":"number","nullable":true,"description":"Receipts Month 8 (SDO RECEIPT_MTH8; Optional; precision 2)"},"receiptMth9":{"type":"number","nullable":true,"description":"Receipts Month 9 (SDO RECEIPT_MTH9; Optional; precision 2)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"salesRep":{"type":"string","nullable":true,"maxLength":60,"description":"Name of Sales Representative (SDO SALES_REP; Optional; precision 0)"},"sendInvoicesElectronically":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Send Invoices to this account via Email (SDO SEND_INVOICES_ELECTRONICALLY; Optional; precision 0)"},"sendLettersElectronically":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Send letters to this account via Email (SDO SEND_LETTERS_ELECTRONICALLY; Optional; precision 0)"},"settlementDiscRate":{"type":"number","nullable":true,"description":"Settlement Discount Rate (SDO SETTLEMENT_DISC_RATE; Optional; precision 2)"},"settlementDueDays":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Settlement Due Days (SDO SETTLEMENT_DUE_DAYS; Optional; precision 0)"},"telephone":{"type":"string","nullable":true,"maxLength":30,"description":"Telephone Number (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","nullable":true,"maxLength":30,"description":"Second Telephone Number (SDO TELEPHONE_2; Optional; precision 0)"},"terms":{"type":"string","nullable":true,"maxLength":30,"description":"Terms (SDO TERMS; Optional; precision 0)"},"termsAgreedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Terms agreed flag (SDO TERMS_AGREED_FLAG; Optional; precision 0)"},"tradeContact":{"type":"string","nullable":true,"maxLength":30,"description":"Name of Trade Contact (SDO TRADE_CONTACT; Optional; precision 0)"},"traderForeignBalance":{"type":"number","nullable":true,"description":"Foreign Balance (SDO TRADER_FOREIGN_BALANCE; Optional; precision 6)"},"turnoverMtd":{"type":"number","nullable":true,"description":"Turnover Month To Date (SDO TURNOVER_MTD; Optional; precision 2)"},"turnoverYtd":{"type":"number","nullable":true,"description":"Turnover Year To Date (SDO TURNOVER_YTD; Optional; precision 2)"},"twitter":{"type":"string","nullable":true,"maxLength":35,"description":"Twitter Address (SDO TWITTER; Optional; precision 0)"},"ukimsNumber":{"type":"string","nullable":true,"maxLength":64,"description":"UKIMS number (SDO UKIMS_NUMBER; Optional; precision 0)"},"vatRegNumber":{"type":"string","nullable":true,"maxLength":20,"description":"VAT Registration Number (SDO VAT_REG_NUMBER; Optional; precision 0)"},"www":{"type":"string","nullable":true,"maxLength":255,"description":"WWW Address (SDO WWW; Optional; precision 0)"},"id":{"type":"string"}},"required":["accountManager","accountOnHold","accountOpened","accountRef","accountStatus","accountType","address1","address2","address3","address4","address5","analysis1","analysis2","analysis3","analysis4","analysis5","analysis6","bacs","bacsReference","balance","bankAccountName","bankAccountNumber","bankAdditionalRef1","bankAdditionalRef2","bankAdditionalRef3","bankAddress1","bankAddress2","bankAddress3","bankAddress4","bankAddress5","bankBicswift","bankIban","bankName","bankRollNumber","bankSortCode","buildSocietyRef","buildingSociety","canApplyCharges","companyRegistrationNumber","contactName","countryCode","creditAppReceived","creditAppliedFor","creditBf","creditBureau","creditCardNo","creditCf","creditLimit","creditMth1","creditMth10","creditMth11","creditMth12","creditMth2","creditMth3","creditMth4","creditMth5","creditMth6","creditMth7","creditMth8","creditMth9","creditPosition","creditReference","currency","dateCreditAppReceived","declarationValidFrom","defNomCode","defTaxCode","delAddress1","delAddress2","delAddress3","delAddress4","delAddress5","delContactName","delFax","delName","delTelephone","deletedFlag","deptNumber","discountRate","discountType","disputed","donorForename","donorSurname","donorTitle","dunsNumber","eMail","eMail2","eMail3","eMail4","eMail5","eMail6","ecCode","eoriNumber","excludeFromPaymentReminderEmails","externalUsage","facebook","fax","firstHeader","firstInvoice","giftAidEnabled","holdMail","inactiveFlag","incoterms","invoiceBf","invoiceCf","invoiceMth1","invoiceMth10","invoiceMth11","invoiceMth12","invoiceMth2","invoiceMth3","invoiceMth4","invoiceMth5","invoiceMth6","invoiceMth7","invoiceMth8","invoiceMth9","lastCreditRev","lastHeader","lastInvDate","lastPayDate","lastUpdated","linkedin","mandateref","memberReminderDate","memberRenewalDate","memberSince","memoOffset","memoSize","modify","name","nextCreditRev","noOfHeader","overrideProductNominal","overrideProductTax","paymentBf","paymentCf","paymentDueDays","paymentDueFrom","paymentMth1","paymentMth10","paymentMth11","paymentMth12","paymentMth2","paymentMth3","paymentMth4","paymentMth5","paymentMth6","paymentMth7","paymentMth8","paymentMth9","paymentType","priceListRef","priorYear","priorityTrader","receiptBf","receiptCf","receiptMth1","receiptMth10","receiptMth11","receiptMth12","receiptMth2","receiptMth3","receiptMth4","receiptMth5","receiptMth6","receiptMth7","receiptMth8","receiptMth9","recordCreateDate","recordDeleted","recordModifyDate","salesRep","sendInvoicesElectronically","sendLettersElectronically","settlementDiscRate","settlementDueDays","telephone","telephone2","terms","termsAgreedFlag","tradeContact","traderForeignBalance","turnoverMtd","turnoverYtd","twitter","ukimsNumber","vatRegNumber","www","id"],"additionalProperties":false},"Us2026_1_suppliers_get":{"type":"object","properties":{"accountNumber":{"type":"string","nullable":true,"maxLength":100000},"balance":{"type":"number"},"cashAccountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"category":{"type":"string","nullable":true,"maxLength":100000},"contacts":{"type":"array","nullable":true,"items":{"type":"object","nullable":true,"properties":{"address":{"type":"object","nullable":true,"properties":{"address1":{"type":"string","nullable":true,"maxLength":100000},"address2":{"type":"string","nullable":true,"maxLength":100000},"city":{"type":"string","nullable":true,"maxLength":100000},"country":{"type":"string","nullable":true,"maxLength":100000},"salesTaxCode":{"type":"string","nullable":true,"maxLength":100000},"state":{"type":"string","nullable":true,"maxLength":100000},"zip":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"companyName":{"type":"string","nullable":true,"maxLength":100000},"email":{"type":"string","nullable":true,"maxLength":100000},"firstName":{"type":"string","nullable":true,"maxLength":100000},"gender":{"type":"integer","enum":[2,1,0]},"isPrimaryContact":{"type":"boolean"},"lastName":{"type":"string","nullable":true,"maxLength":100000},"lastSavedAt":{"type":"string"},"middleInitial":{"type":"string","nullable":true,"maxLength":100000},"name":{"type":"string","nullable":true,"maxLength":100000},"nameToUseOnForms":{"type":"integer","enum":[1,0]},"notes":{"type":"string","nullable":true,"maxLength":100000},"phoneNumbers":{"type":"array","nullable":true,"items":{"type":"object","nullable":true,"properties":{"key":{"type":"integer","enum":[3,4,5,6,0,1,2]},"number":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"maxItems":10000},"prefix":{"type":"string","nullable":true,"maxLength":100000},"suffix":{"type":"string","nullable":true,"maxLength":100000},"title":{"type":"string","nullable":true,"maxLength":100000},"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"maxItems":10000},"customFieldValues":{"type":"array","nullable":true,"items":{"type":"object","nullable":true,"properties":{"key":{"type":"string","nullable":true,"maxLength":100000},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"nullable":true},{"nullable":true}]}},"additionalProperties":false},"maxItems":10000},"email":{"type":"string","nullable":true,"maxLength":100000},"expenseAccountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"form1099Type":{"type":"integer","enum":[1,2,0]},"code":{"type":"string","nullable":true,"maxLength":100000},"includePurchaseRepresentativeOnEmailedForms":{"type":"boolean"},"isInactive":{"type":"boolean"},"lastInvoiceAmount":{"type":"number"},"lastInvoiceDate":{"type":"string","nullable":true},"lastPaymentAmount":{"type":"number"},"lastPaymentDate":{"type":"string","nullable":true},"lastSavedAt":{"type":"string"},"mailToContact":{"type":"object","nullable":true,"properties":{"address":{"type":"object","nullable":true,"properties":{"address1":{"type":"string","nullable":true,"maxLength":100000},"address2":{"type":"string","nullable":true,"maxLength":100000},"city":{"type":"string","nullable":true,"maxLength":100000},"country":{"type":"string","nullable":true,"maxLength":100000},"salesTaxCode":{"type":"string","nullable":true,"maxLength":100000},"state":{"type":"string","nullable":true,"maxLength":100000},"zip":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"companyName":{"type":"string","nullable":true,"maxLength":100000},"email":{"type":"string","nullable":true,"maxLength":100000},"firstName":{"type":"string","nullable":true,"maxLength":100000},"gender":{"type":"integer","enum":[2,1,0]},"isPrimaryContact":{"type":"boolean"},"lastName":{"type":"string","nullable":true,"maxLength":100000},"lastSavedAt":{"type":"string"},"middleInitial":{"type":"string","nullable":true,"maxLength":100000},"name":{"type":"string","nullable":true,"maxLength":100000},"nameToUseOnForms":{"type":"integer","enum":[1,0]},"notes":{"type":"string","nullable":true,"maxLength":100000},"phoneNumbers":{"type":"array","nullable":true,"items":{"type":"object","nullable":true,"properties":{"key":{"type":"integer","enum":[3,4,5,6,0,1,2]},"number":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"maxItems":10000},"prefix":{"type":"string","nullable":true,"maxLength":100000},"suffix":{"type":"string","nullable":true,"maxLength":100000},"title":{"type":"string","nullable":true,"maxLength":100000},"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"name":{"type":"string","nullable":true,"maxLength":100000},"paymentMethod":{"type":"string","nullable":true,"maxLength":100000},"paymentsContact":{"type":"object","nullable":true,"properties":{"address":{"type":"object","nullable":true,"properties":{"address1":{"type":"string","nullable":true,"maxLength":100000},"address2":{"type":"string","nullable":true,"maxLength":100000},"city":{"type":"string","nullable":true,"maxLength":100000},"country":{"type":"string","nullable":true,"maxLength":100000},"salesTaxCode":{"type":"string","nullable":true,"maxLength":100000},"state":{"type":"string","nullable":true,"maxLength":100000},"zip":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"companyName":{"type":"string","nullable":true,"maxLength":100000},"email":{"type":"string","nullable":true,"maxLength":100000},"firstName":{"type":"string","nullable":true,"maxLength":100000},"gender":{"type":"integer","enum":[2,1,0]},"isPrimaryContact":{"type":"boolean"},"lastName":{"type":"string","nullable":true,"maxLength":100000},"lastSavedAt":{"type":"string"},"middleInitial":{"type":"string","nullable":true,"maxLength":100000},"name":{"type":"string","nullable":true,"maxLength":100000},"nameToUseOnForms":{"type":"integer","enum":[1,0]},"notes":{"type":"string","nullable":true,"maxLength":100000},"phoneNumbers":{"type":"array","nullable":true,"items":{"type":"object","nullable":true,"properties":{"key":{"type":"integer","enum":[3,4,5,6,0,1,2]},"number":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"maxItems":10000},"prefix":{"type":"string","nullable":true,"maxLength":100000},"suffix":{"type":"string","nullable":true,"maxLength":100000},"title":{"type":"string","nullable":true,"maxLength":100000},"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"phoneNumbers":{"type":"array","nullable":true,"items":{"type":"object","nullable":true,"properties":{"key":{"type":"integer","enum":[3,4,5,6,0,1,2]},"number":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"maxItems":10000},"purchaseOrdersContact":{"type":"object","nullable":true,"properties":{"address":{"type":"object","nullable":true,"properties":{"address1":{"type":"string","nullable":true,"maxLength":100000},"address2":{"type":"string","nullable":true,"maxLength":100000},"city":{"type":"string","nullable":true,"maxLength":100000},"country":{"type":"string","nullable":true,"maxLength":100000},"salesTaxCode":{"type":"string","nullable":true,"maxLength":100000},"state":{"type":"string","nullable":true,"maxLength":100000},"zip":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"companyName":{"type":"string","nullable":true,"maxLength":100000},"email":{"type":"string","nullable":true,"maxLength":100000},"firstName":{"type":"string","nullable":true,"maxLength":100000},"gender":{"type":"integer","enum":[2,1,0]},"isPrimaryContact":{"type":"boolean"},"lastName":{"type":"string","nullable":true,"maxLength":100000},"lastSavedAt":{"type":"string"},"middleInitial":{"type":"string","nullable":true,"maxLength":100000},"name":{"type":"string","nullable":true,"maxLength":100000},"nameToUseOnForms":{"type":"integer","enum":[1,0]},"notes":{"type":"string","nullable":true,"maxLength":100000},"phoneNumbers":{"type":"array","nullable":true,"items":{"type":"object","nullable":true,"properties":{"key":{"type":"integer","enum":[3,4,5,6,0,1,2]},"number":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"maxItems":10000},"prefix":{"type":"string","nullable":true,"maxLength":100000},"suffix":{"type":"string","nullable":true,"maxLength":100000},"title":{"type":"string","nullable":true,"maxLength":100000},"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"purchaseRepresentativeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"replaceInventoryItemIDWithPartNumber":{"type":"boolean"},"replaceInventoryItemIDWithUPC":{"type":"boolean"},"shipmentsContact":{"type":"object","nullable":true,"properties":{"address":{"type":"object","nullable":true,"properties":{"address1":{"type":"string","nullable":true,"maxLength":100000},"address2":{"type":"string","nullable":true,"maxLength":100000},"city":{"type":"string","nullable":true,"maxLength":100000},"country":{"type":"string","nullable":true,"maxLength":100000},"salesTaxCode":{"type":"string","nullable":true,"maxLength":100000},"state":{"type":"string","nullable":true,"maxLength":100000},"zip":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"companyName":{"type":"string","nullable":true,"maxLength":100000},"email":{"type":"string","nullable":true,"maxLength":100000},"firstName":{"type":"string","nullable":true,"maxLength":100000},"gender":{"type":"integer","enum":[2,1,0]},"isPrimaryContact":{"type":"boolean"},"lastName":{"type":"string","nullable":true,"maxLength":100000},"lastSavedAt":{"type":"string"},"middleInitial":{"type":"string","nullable":true,"maxLength":100000},"name":{"type":"string","nullable":true,"maxLength":100000},"nameToUseOnForms":{"type":"integer","enum":[1,0]},"notes":{"type":"string","nullable":true,"maxLength":100000},"phoneNumbers":{"type":"array","nullable":true,"items":{"type":"object","nullable":true,"properties":{"key":{"type":"integer","enum":[3,4,5,6,0,1,2]},"number":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"maxItems":10000},"prefix":{"type":"string","nullable":true,"maxLength":100000},"suffix":{"type":"string","nullable":true,"maxLength":100000},"title":{"type":"string","nullable":true,"maxLength":100000},"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"shipVia":{"type":"string","nullable":true,"maxLength":100000},"taxIDNumber":{"type":"string","nullable":true,"maxLength":100000},"terms":{"type":"object","nullable":true,"properties":{"chargeInterest":{"type":"boolean"},"creditLimit":{"type":"number"},"discountDays":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"discountPercent":{"type":"number"},"dueDays":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"isStandardTerms":{"type":"boolean"},"paymentTimeFrame":{"type":"integer","enum":[0,4,2,3,1]},"useDiscounts":{"type":"boolean"}},"additionalProperties":false},"useEmailToDeliverForms":{"type":"boolean"},"usingPaymentDefaults":{"type":"boolean"},"vendorSince":{"type":"string","nullable":true},"webSiteURL":{"type":"string","nullable":true,"maxLength":100000},"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"Uk26_3_suppliers_create":{"type":"object","properties":{"accountRef":{"type":"string","minLength":1,"maxLength":8,"pattern":"^[^\\0]*$","description":"Account Reference (SDO ACCOUNT_REF; Required; precision 0)"},"address1":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line5 (SDO ADDRESS_5; Optional; precision 0)"},"analysis1":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"contactName":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Contact Name (SDO CONTACT_NAME; Optional; precision 0)"},"countryCode":{"type":"string","maxLength":2,"pattern":"^[^\\0]*$","description":"Country Code (SDO COUNTRY_CODE; Optional; precision 0)"},"creditLimit":{"type":"number","description":"Credit Limit (SDO CREDIT_LIMIT; Optional; precision 2)"},"eMail":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"E-Mail Address (SDO E_MAIL; Optional; precision 0)"},"fax":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Fax Number (SDO FAX; Optional; precision 0)"},"name":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Account Name (SDO NAME; Optional; precision 0)"},"telephone":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Telephone Number (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Second Telephone Number (SDO TELEPHONE_2; Optional; precision 0)"},"vatRegNumber":{"type":"string","maxLength":20,"pattern":"^[^\\0]*$","description":"VAT Registration Number (SDO VAT_REG_NUMBER; Optional; precision 0)"},"www":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"WWW Address (SDO WWW; Optional; precision 0)"}},"required":["accountRef"],"additionalProperties":false},"Uk27_2_suppliers_create":{"type":"object","properties":{"accountRef":{"type":"string","minLength":1,"maxLength":8,"pattern":"^[^\\0]*$","description":"Account Reference (SDO ACCOUNT_REF; Required; precision 0)"},"address1":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line5 (SDO ADDRESS_5; Optional; precision 0)"},"analysis1":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"contactName":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Contact Name (SDO CONTACT_NAME; Optional; precision 0)"},"countryCode":{"type":"string","maxLength":2,"pattern":"^[^\\0]*$","description":"Country Code (SDO COUNTRY_CODE; Optional; precision 0)"},"creditLimit":{"type":"number","description":"Credit Limit (SDO CREDIT_LIMIT; Optional; precision 2)"},"eMail":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"E-Mail Address (SDO E_MAIL; Optional; precision 0)"},"eoriNumber":{"type":"string","maxLength":17,"pattern":"^[^\\0]*$","description":"EORI number (SDO EORI_NUMBER; Optional; precision 0)"},"fax":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Fax Number (SDO FAX; Optional; precision 0)"},"incoterms":{"type":"integer","minimum":-32768,"maximum":32767,"description":"Incoterms (SDO INCOTERMS; Optional; precision 0)"},"name":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Account Name (SDO NAME; Optional; precision 0)"},"telephone":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Telephone Number (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Second Telephone Number (SDO TELEPHONE_2; Optional; precision 0)"},"vatRegNumber":{"type":"string","maxLength":20,"pattern":"^[^\\0]*$","description":"VAT Registration Number (SDO VAT_REG_NUMBER; Optional; precision 0)"},"www":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"WWW Address (SDO WWW; Optional; precision 0)"}},"required":["accountRef"],"additionalProperties":false},"Uk28_1_suppliers_create":{"type":"object","properties":{"accountRef":{"type":"string","minLength":1,"maxLength":8,"pattern":"^[^\\0]*$","description":"Account Reference (SDO ACCOUNT_REF; Required; precision 0)"},"address1":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line5 (SDO ADDRESS_5; Optional; precision 0)"},"analysis1":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"contactName":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Contact Name (SDO CONTACT_NAME; Optional; precision 0)"},"countryCode":{"type":"string","maxLength":2,"pattern":"^[^\\0]*$","description":"Country Code (SDO COUNTRY_CODE; Optional; precision 0)"},"creditLimit":{"type":"number","description":"Credit Limit (SDO CREDIT_LIMIT; Optional; precision 2)"},"eMail":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"E-Mail Address (SDO E_MAIL; Optional; precision 0)"},"eoriNumber":{"type":"string","maxLength":17,"pattern":"^[^\\0]*$","description":"EORI number (SDO EORI_NUMBER; Optional; precision 0)"},"fax":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Fax Number (SDO FAX; Optional; precision 0)"},"incoterms":{"type":"integer","minimum":-32768,"maximum":32767,"description":"Incoterms (SDO INCOTERMS; Optional; precision 0)"},"name":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Account Name (SDO NAME; Optional; precision 0)"},"telephone":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Telephone Number (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Second Telephone Number (SDO TELEPHONE_2; Optional; precision 0)"},"vatRegNumber":{"type":"string","maxLength":20,"pattern":"^[^\\0]*$","description":"VAT Registration Number (SDO VAT_REG_NUMBER; Optional; precision 0)"},"www":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"WWW Address (SDO WWW; Optional; precision 0)"}},"required":["accountRef"],"additionalProperties":false},"Uk29_2_suppliers_create":{"type":"object","properties":{"accountRef":{"type":"string","minLength":1,"maxLength":8,"pattern":"^[^\\0]*$","description":"Account Reference (SDO ACCOUNT_REF; Required; precision 0)"},"address1":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line5 (SDO ADDRESS_5; Optional; precision 0)"},"analysis1":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"analysis4":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 4 (SDO ANALYSIS_4; Optional; precision 0)"},"analysis5":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 5 (SDO ANALYSIS_5; Optional; precision 0)"},"analysis6":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 6 (SDO ANALYSIS_6; Optional; precision 0)"},"companyRegistrationNumber":{"type":"string","maxLength":16,"pattern":"^[^\\0]*$","description":"Company Reg. Number (SDO COMPANY_REGISTRATION_NUMBER; Optional; precision 0)"},"contactName":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Contact Name (SDO CONTACT_NAME; Optional; precision 0)"},"countryCode":{"type":"string","maxLength":2,"pattern":"^[^\\0]*$","description":"Country Code (SDO COUNTRY_CODE; Optional; precision 0)"},"creditLimit":{"type":"number","description":"Credit Limit (SDO CREDIT_LIMIT; Optional; precision 2)"},"eMail":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"E-Mail Address (SDO E_MAIL; Optional; precision 0)"},"eoriNumber":{"type":"string","maxLength":17,"pattern":"^[^\\0]*$","description":"EORI number (SDO EORI_NUMBER; Optional; precision 0)"},"fax":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Fax Number (SDO FAX; Optional; precision 0)"},"incoterms":{"type":"integer","minimum":-32768,"maximum":32767,"description":"Incoterms (SDO INCOTERMS; Optional; precision 0)"},"name":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Account Name (SDO NAME; Optional; precision 0)"},"telephone":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Telephone Number (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Second Telephone Number (SDO TELEPHONE_2; Optional; precision 0)"},"vatRegNumber":{"type":"string","maxLength":20,"pattern":"^[^\\0]*$","description":"VAT Registration Number (SDO VAT_REG_NUMBER; Optional; precision 0)"},"www":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"WWW Address (SDO WWW; Optional; precision 0)"}},"required":["accountRef"],"additionalProperties":false},"Uk30_1_suppliers_create":{"type":"object","properties":{"accountRef":{"type":"string","minLength":1,"maxLength":8,"pattern":"^[^\\0]*$","description":"Account Reference (SDO ACCOUNT_REF; Required; precision 0)"},"address1":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line5 (SDO ADDRESS_5; Optional; precision 0)"},"analysis1":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"analysis4":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 4 (SDO ANALYSIS_4; Optional; precision 0)"},"analysis5":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 5 (SDO ANALYSIS_5; Optional; precision 0)"},"analysis6":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 6 (SDO ANALYSIS_6; Optional; precision 0)"},"companyRegistrationNumber":{"type":"string","maxLength":16,"pattern":"^[^\\0]*$","description":"Company Reg. Number (SDO COMPANY_REGISTRATION_NUMBER; Optional; precision 0)"},"contactName":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Contact Name (SDO CONTACT_NAME; Optional; precision 0)"},"countryCode":{"type":"string","maxLength":2,"pattern":"^[^\\0]*$","description":"Country Code (SDO COUNTRY_CODE; Optional; precision 0)"},"creditLimit":{"type":"number","description":"Credit Limit (SDO CREDIT_LIMIT; Optional; precision 2)"},"eMail":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"E-Mail Address (SDO E_MAIL; Optional; precision 0)"},"eoriNumber":{"type":"string","maxLength":17,"pattern":"^[^\\0]*$","description":"EORI number (SDO EORI_NUMBER; Optional; precision 0)"},"fax":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Fax Number (SDO FAX; Optional; precision 0)"},"incoterms":{"type":"integer","minimum":-32768,"maximum":32767,"description":"Incoterms (SDO INCOTERMS; Optional; precision 0)"},"name":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Account Name (SDO NAME; Optional; precision 0)"},"telephone":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Telephone Number (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Second Telephone Number (SDO TELEPHONE_2; Optional; precision 0)"},"vatRegNumber":{"type":"string","maxLength":20,"pattern":"^[^\\0]*$","description":"VAT Registration Number (SDO VAT_REG_NUMBER; Optional; precision 0)"},"www":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"WWW Address (SDO WWW; Optional; precision 0)"}},"required":["accountRef"],"additionalProperties":false},"Uk31_1_suppliers_create":{"type":"object","properties":{"accountRef":{"type":"string","minLength":1,"maxLength":8,"pattern":"^[^\\0]*$","description":"Account Reference (SDO ACCOUNT_REF; Required; precision 0)"},"address1":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line5 (SDO ADDRESS_5; Optional; precision 0)"},"analysis1":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"analysis4":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 4 (SDO ANALYSIS_4; Optional; precision 0)"},"analysis5":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 5 (SDO ANALYSIS_5; Optional; precision 0)"},"analysis6":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 6 (SDO ANALYSIS_6; Optional; precision 0)"},"companyRegistrationNumber":{"type":"string","maxLength":16,"pattern":"^[^\\0]*$","description":"Company Reg. Number (SDO COMPANY_REGISTRATION_NUMBER; Optional; precision 0)"},"contactName":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Contact Name (SDO CONTACT_NAME; Optional; precision 0)"},"countryCode":{"type":"string","maxLength":2,"pattern":"^[^\\0]*$","description":"Country Code (SDO COUNTRY_CODE; Optional; precision 0)"},"creditLimit":{"type":"number","description":"Credit Limit (SDO CREDIT_LIMIT; Optional; precision 2)"},"eMail":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"E-Mail Address (SDO E_MAIL; Optional; precision 0)"},"eoriNumber":{"type":"string","maxLength":17,"pattern":"^[^\\0]*$","description":"EORI number (SDO EORI_NUMBER; Optional; precision 0)"},"fax":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Fax Number (SDO FAX; Optional; precision 0)"},"incoterms":{"type":"integer","minimum":-32768,"maximum":32767,"description":"Incoterms (SDO INCOTERMS; Optional; precision 0)"},"name":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Account Name (SDO NAME; Optional; precision 0)"},"telephone":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Telephone Number (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Second Telephone Number (SDO TELEPHONE_2; Optional; precision 0)"},"vatRegNumber":{"type":"string","maxLength":20,"pattern":"^[^\\0]*$","description":"VAT Registration Number (SDO VAT_REG_NUMBER; Optional; precision 0)"},"www":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"WWW Address (SDO WWW; Optional; precision 0)"}},"required":["accountRef"],"additionalProperties":false},"Uk32_1_suppliers_create":{"type":"object","properties":{"accountRef":{"type":"string","minLength":1,"maxLength":8,"pattern":"^[^\\0]*$","description":"Account Reference (SDO ACCOUNT_REF; Required; precision 0)"},"address1":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line5 (SDO ADDRESS_5; Optional; precision 0)"},"analysis1":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"analysis4":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 4 (SDO ANALYSIS_4; Optional; precision 0)"},"analysis5":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 5 (SDO ANALYSIS_5; Optional; precision 0)"},"analysis6":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 6 (SDO ANALYSIS_6; Optional; precision 0)"},"companyRegistrationNumber":{"type":"string","maxLength":16,"pattern":"^[^\\0]*$","description":"Company Reg. Number (SDO COMPANY_REGISTRATION_NUMBER; Optional; precision 0)"},"contactName":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Contact Name (SDO CONTACT_NAME; Optional; precision 0)"},"countryCode":{"type":"string","maxLength":2,"pattern":"^[^\\0]*$","description":"Country Code (SDO COUNTRY_CODE; Optional; precision 0)"},"creditLimit":{"type":"number","description":"Credit Limit (SDO CREDIT_LIMIT; Optional; precision 2)"},"eMail":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"E-Mail Address (SDO E_MAIL; Optional; precision 0)"},"eoriNumber":{"type":"string","maxLength":17,"pattern":"^[^\\0]*$","description":"EORI number (SDO EORI_NUMBER; Optional; precision 0)"},"fax":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Fax Number (SDO FAX; Optional; precision 0)"},"incoterms":{"type":"integer","minimum":-32768,"maximum":32767,"description":"Incoterms (SDO INCOTERMS; Optional; precision 0)"},"name":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Account Name (SDO NAME; Optional; precision 0)"},"telephone":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Telephone Number (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Second Telephone Number (SDO TELEPHONE_2; Optional; precision 0)"},"vatRegNumber":{"type":"string","maxLength":20,"pattern":"^[^\\0]*$","description":"VAT Registration Number (SDO VAT_REG_NUMBER; Optional; precision 0)"},"www":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"WWW Address (SDO WWW; Optional; precision 0)"}},"required":["accountRef"],"additionalProperties":false},"Uk33_1_suppliers_create":{"type":"object","properties":{"accountRef":{"type":"string","minLength":1,"maxLength":8,"pattern":"^[^\\0]*$","description":"Account Reference (SDO ACCOUNT_REF; Required; precision 0)"},"address1":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line5 (SDO ADDRESS_5; Optional; precision 0)"},"analysis1":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"analysis4":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 4 (SDO ANALYSIS_4; Optional; precision 0)"},"analysis5":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 5 (SDO ANALYSIS_5; Optional; precision 0)"},"analysis6":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 6 (SDO ANALYSIS_6; Optional; precision 0)"},"companyRegistrationNumber":{"type":"string","maxLength":16,"pattern":"^[^\\0]*$","description":"Company Reg. Number (SDO COMPANY_REGISTRATION_NUMBER; Optional; precision 0)"},"contactName":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Contact Name (SDO CONTACT_NAME; Optional; precision 0)"},"countryCode":{"type":"string","maxLength":2,"pattern":"^[^\\0]*$","description":"Country Code (SDO COUNTRY_CODE; Optional; precision 0)"},"creditLimit":{"type":"number","description":"Credit Limit (SDO CREDIT_LIMIT; Optional; precision 2)"},"eMail":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"E-Mail Address (SDO E_MAIL; Optional; precision 0)"},"eoriNumber":{"type":"string","maxLength":17,"pattern":"^[^\\0]*$","description":"EORI number (SDO EORI_NUMBER; Optional; precision 0)"},"fax":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Fax Number (SDO FAX; Optional; precision 0)"},"incoterms":{"type":"integer","minimum":-32768,"maximum":32767,"description":"Incoterms (SDO INCOTERMS; Optional; precision 0)"},"name":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Account Name (SDO NAME; Optional; precision 0)"},"telephone":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Telephone Number (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Second Telephone Number (SDO TELEPHONE_2; Optional; precision 0)"},"ukimsNumber":{"type":"string","maxLength":64,"pattern":"^[^\\0]*$","description":"UKIMS number (SDO UKIMS_NUMBER; Optional; precision 0)"},"vatRegNumber":{"type":"string","maxLength":20,"pattern":"^[^\\0]*$","description":"VAT Registration Number (SDO VAT_REG_NUMBER; Optional; precision 0)"},"www":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"WWW Address (SDO WWW; Optional; precision 0)"}},"required":["accountRef"],"additionalProperties":false},"Uk34_1_suppliers_create":{"type":"object","properties":{"accountRef":{"type":"string","minLength":1,"maxLength":8,"pattern":"^[^\\0]*$","description":"Account Reference (SDO ACCOUNT_REF; Required; precision 0)"},"address1":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line5 (SDO ADDRESS_5; Optional; precision 0)"},"analysis1":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"analysis4":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 4 (SDO ANALYSIS_4; Optional; precision 0)"},"analysis5":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 5 (SDO ANALYSIS_5; Optional; precision 0)"},"analysis6":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 6 (SDO ANALYSIS_6; Optional; precision 0)"},"companyRegistrationNumber":{"type":"string","maxLength":16,"pattern":"^[^\\0]*$","description":"Company Reg. Number (SDO COMPANY_REGISTRATION_NUMBER; Optional; precision 0)"},"contactName":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Contact Name (SDO CONTACT_NAME; Optional; precision 0)"},"countryCode":{"type":"string","maxLength":2,"pattern":"^[^\\0]*$","description":"Country Code (SDO COUNTRY_CODE; Optional; precision 0)"},"creditLimit":{"type":"number","description":"Credit Limit (SDO CREDIT_LIMIT; Optional; precision 2)"},"eMail":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"E-Mail Address (SDO E_MAIL; Optional; precision 0)"},"eoriNumber":{"type":"string","maxLength":17,"pattern":"^[^\\0]*$","description":"EORI number (SDO EORI_NUMBER; Optional; precision 0)"},"fax":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Fax Number (SDO FAX; Optional; precision 0)"},"incoterms":{"type":"integer","minimum":-32768,"maximum":32767,"description":"Incoterms (SDO INCOTERMS; Optional; precision 0)"},"name":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Account Name (SDO NAME; Optional; precision 0)"},"telephone":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Telephone Number (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Second Telephone Number (SDO TELEPHONE_2; Optional; precision 0)"},"ukimsNumber":{"type":"string","maxLength":64,"pattern":"^[^\\0]*$","description":"UKIMS number (SDO UKIMS_NUMBER; Optional; precision 0)"},"vatRegNumber":{"type":"string","maxLength":20,"pattern":"^[^\\0]*$","description":"VAT Registration Number (SDO VAT_REG_NUMBER; Optional; precision 0)"},"www":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"WWW Address (SDO WWW; Optional; precision 0)"}},"required":["accountRef"],"additionalProperties":false},"Us2026_1_suppliers_create":{"type":"object","properties":{"accountNumber":{"type":"string","nullable":true,"maxLength":100000},"cashAccountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"category":{"type":"string","nullable":true,"maxLength":100000},"email":{"type":"string","nullable":true,"maxLength":100000},"expenseAccountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"form1099Type":{"type":"integer","enum":[1,2,0]},"code":{"type":"string","minLength":1,"maxLength":100000},"includePurchaseRepresentativeOnEmailedForms":{"type":"boolean"},"isInactive":{"type":"boolean"},"mailToContact":{"type":"object","nullable":true,"properties":{"address":{"type":"object","nullable":true,"properties":{"address1":{"type":"string","nullable":true,"maxLength":100000},"address2":{"type":"string","nullable":true,"maxLength":100000},"city":{"type":"string","nullable":true,"maxLength":100000},"country":{"type":"string","nullable":true,"maxLength":100000},"salesTaxCode":{"type":"string","nullable":true,"maxLength":100000},"state":{"type":"string","nullable":true,"maxLength":100000},"zip":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"companyName":{"type":"string","nullable":true,"maxLength":100000},"email":{"type":"string","nullable":true,"maxLength":100000},"firstName":{"type":"string","nullable":true,"maxLength":100000},"gender":{"type":"integer","enum":[2,1,0]},"lastName":{"type":"string","nullable":true,"maxLength":100000},"middleInitial":{"type":"string","nullable":true,"maxLength":100000},"nameToUseOnForms":{"type":"integer","enum":[1,0]},"notes":{"type":"string","nullable":true,"maxLength":100000},"prefix":{"type":"string","nullable":true,"maxLength":100000},"suffix":{"type":"string","nullable":true,"maxLength":100000},"title":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"name":{"type":"string","minLength":1,"maxLength":100000},"paymentMethod":{"type":"string","nullable":true,"maxLength":100000},"paymentsContact":{"type":"object","nullable":true,"properties":{"address":{"type":"object","nullable":true,"properties":{"address1":{"type":"string","nullable":true,"maxLength":100000},"address2":{"type":"string","nullable":true,"maxLength":100000},"city":{"type":"string","nullable":true,"maxLength":100000},"country":{"type":"string","nullable":true,"maxLength":100000},"salesTaxCode":{"type":"string","nullable":true,"maxLength":100000},"state":{"type":"string","nullable":true,"maxLength":100000},"zip":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"companyName":{"type":"string","nullable":true,"maxLength":100000},"email":{"type":"string","nullable":true,"maxLength":100000},"firstName":{"type":"string","nullable":true,"maxLength":100000},"gender":{"type":"integer","enum":[2,1,0]},"lastName":{"type":"string","nullable":true,"maxLength":100000},"middleInitial":{"type":"string","nullable":true,"maxLength":100000},"nameToUseOnForms":{"type":"integer","enum":[1,0]},"notes":{"type":"string","nullable":true,"maxLength":100000},"prefix":{"type":"string","nullable":true,"maxLength":100000},"suffix":{"type":"string","nullable":true,"maxLength":100000},"title":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"purchaseOrdersContact":{"type":"object","nullable":true,"properties":{"address":{"type":"object","nullable":true,"properties":{"address1":{"type":"string","nullable":true,"maxLength":100000},"address2":{"type":"string","nullable":true,"maxLength":100000},"city":{"type":"string","nullable":true,"maxLength":100000},"country":{"type":"string","nullable":true,"maxLength":100000},"salesTaxCode":{"type":"string","nullable":true,"maxLength":100000},"state":{"type":"string","nullable":true,"maxLength":100000},"zip":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"companyName":{"type":"string","nullable":true,"maxLength":100000},"email":{"type":"string","nullable":true,"maxLength":100000},"firstName":{"type":"string","nullable":true,"maxLength":100000},"gender":{"type":"integer","enum":[2,1,0]},"lastName":{"type":"string","nullable":true,"maxLength":100000},"middleInitial":{"type":"string","nullable":true,"maxLength":100000},"nameToUseOnForms":{"type":"integer","enum":[1,0]},"notes":{"type":"string","nullable":true,"maxLength":100000},"prefix":{"type":"string","nullable":true,"maxLength":100000},"suffix":{"type":"string","nullable":true,"maxLength":100000},"title":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"purchaseRepresentativeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"replaceInventoryItemIDWithPartNumber":{"type":"boolean"},"replaceInventoryItemIDWithUPC":{"type":"boolean"},"shipmentsContact":{"type":"object","nullable":true,"properties":{"address":{"type":"object","nullable":true,"properties":{"address1":{"type":"string","nullable":true,"maxLength":100000},"address2":{"type":"string","nullable":true,"maxLength":100000},"city":{"type":"string","nullable":true,"maxLength":100000},"country":{"type":"string","nullable":true,"maxLength":100000},"salesTaxCode":{"type":"string","nullable":true,"maxLength":100000},"state":{"type":"string","nullable":true,"maxLength":100000},"zip":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"companyName":{"type":"string","nullable":true,"maxLength":100000},"email":{"type":"string","nullable":true,"maxLength":100000},"firstName":{"type":"string","nullable":true,"maxLength":100000},"gender":{"type":"integer","enum":[2,1,0]},"lastName":{"type":"string","nullable":true,"maxLength":100000},"middleInitial":{"type":"string","nullable":true,"maxLength":100000},"nameToUseOnForms":{"type":"integer","enum":[1,0]},"notes":{"type":"string","nullable":true,"maxLength":100000},"prefix":{"type":"string","nullable":true,"maxLength":100000},"suffix":{"type":"string","nullable":true,"maxLength":100000},"title":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"shipVia":{"type":"string","nullable":true,"maxLength":100000},"taxIDNumber":{"type":"string","nullable":true,"maxLength":100000},"terms":{"type":"object","properties":{"paymentTimeFrame":{"type":"integer","enum":[0,4,2,3,1]},"dueDays":{"type":"integer","minimum":0},"useDiscounts":{"type":"boolean"},"discountDays":{"type":"integer","minimum":0},"discountPercent":{"type":"number","minimum":0,"maximum":100},"creditLimit":{"type":"number","minimum":0},"chargeInterest":{"type":"boolean"}},"required":["paymentTimeFrame","dueDays","useDiscounts","discountDays","discountPercent","creditLimit","chargeInterest"],"additionalProperties":false},"useEmailToDeliverForms":{"type":"boolean"},"usingPaymentDefaults":{"type":"boolean"},"vendorSince":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"webSiteURL":{"type":"string","nullable":true,"maxLength":100000}},"required":["code","name"],"additionalProperties":false},"Uk26_3_suppliers_update":{"type":"object","properties":{"address1":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line5 (SDO ADDRESS_5; Optional; precision 0)"},"analysis1":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"contactName":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Contact Name (SDO CONTACT_NAME; Optional; precision 0)"},"countryCode":{"type":"string","maxLength":2,"pattern":"^[^\\0]*$","description":"Country Code (SDO COUNTRY_CODE; Optional; precision 0)"},"creditLimit":{"type":"number","description":"Credit Limit (SDO CREDIT_LIMIT; Optional; precision 2)"},"eMail":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"E-Mail Address (SDO E_MAIL; Optional; precision 0)"},"fax":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Fax Number (SDO FAX; Optional; precision 0)"},"name":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Account Name (SDO NAME; Optional; precision 0)"},"telephone":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Telephone Number (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Second Telephone Number (SDO TELEPHONE_2; Optional; precision 0)"},"vatRegNumber":{"type":"string","maxLength":20,"pattern":"^[^\\0]*$","description":"VAT Registration Number (SDO VAT_REG_NUMBER; Optional; precision 0)"},"www":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"WWW Address (SDO WWW; Optional; precision 0)"}},"additionalProperties":false,"minProperties":1},"Uk27_2_suppliers_update":{"type":"object","properties":{"address1":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line5 (SDO ADDRESS_5; Optional; precision 0)"},"analysis1":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"contactName":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Contact Name (SDO CONTACT_NAME; Optional; precision 0)"},"countryCode":{"type":"string","maxLength":2,"pattern":"^[^\\0]*$","description":"Country Code (SDO COUNTRY_CODE; Optional; precision 0)"},"creditLimit":{"type":"number","description":"Credit Limit (SDO CREDIT_LIMIT; Optional; precision 2)"},"eMail":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"E-Mail Address (SDO E_MAIL; Optional; precision 0)"},"eoriNumber":{"type":"string","maxLength":17,"pattern":"^[^\\0]*$","description":"EORI number (SDO EORI_NUMBER; Optional; precision 0)"},"fax":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Fax Number (SDO FAX; Optional; precision 0)"},"incoterms":{"type":"integer","minimum":-32768,"maximum":32767,"description":"Incoterms (SDO INCOTERMS; Optional; precision 0)"},"name":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Account Name (SDO NAME; Optional; precision 0)"},"telephone":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Telephone Number (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Second Telephone Number (SDO TELEPHONE_2; Optional; precision 0)"},"vatRegNumber":{"type":"string","maxLength":20,"pattern":"^[^\\0]*$","description":"VAT Registration Number (SDO VAT_REG_NUMBER; Optional; precision 0)"},"www":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"WWW Address (SDO WWW; Optional; precision 0)"}},"additionalProperties":false,"minProperties":1},"Uk28_1_suppliers_update":{"type":"object","properties":{"address1":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line5 (SDO ADDRESS_5; Optional; precision 0)"},"analysis1":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"contactName":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Contact Name (SDO CONTACT_NAME; Optional; precision 0)"},"countryCode":{"type":"string","maxLength":2,"pattern":"^[^\\0]*$","description":"Country Code (SDO COUNTRY_CODE; Optional; precision 0)"},"creditLimit":{"type":"number","description":"Credit Limit (SDO CREDIT_LIMIT; Optional; precision 2)"},"eMail":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"E-Mail Address (SDO E_MAIL; Optional; precision 0)"},"eoriNumber":{"type":"string","maxLength":17,"pattern":"^[^\\0]*$","description":"EORI number (SDO EORI_NUMBER; Optional; precision 0)"},"fax":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Fax Number (SDO FAX; Optional; precision 0)"},"incoterms":{"type":"integer","minimum":-32768,"maximum":32767,"description":"Incoterms (SDO INCOTERMS; Optional; precision 0)"},"name":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Account Name (SDO NAME; Optional; precision 0)"},"telephone":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Telephone Number (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Second Telephone Number (SDO TELEPHONE_2; Optional; precision 0)"},"vatRegNumber":{"type":"string","maxLength":20,"pattern":"^[^\\0]*$","description":"VAT Registration Number (SDO VAT_REG_NUMBER; Optional; precision 0)"},"www":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"WWW Address (SDO WWW; Optional; precision 0)"}},"additionalProperties":false,"minProperties":1},"Uk29_2_suppliers_update":{"type":"object","properties":{"address1":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line5 (SDO ADDRESS_5; Optional; precision 0)"},"analysis1":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"analysis4":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 4 (SDO ANALYSIS_4; Optional; precision 0)"},"analysis5":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 5 (SDO ANALYSIS_5; Optional; precision 0)"},"analysis6":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 6 (SDO ANALYSIS_6; Optional; precision 0)"},"companyRegistrationNumber":{"type":"string","maxLength":16,"pattern":"^[^\\0]*$","description":"Company Reg. Number (SDO COMPANY_REGISTRATION_NUMBER; Optional; precision 0)"},"contactName":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Contact Name (SDO CONTACT_NAME; Optional; precision 0)"},"countryCode":{"type":"string","maxLength":2,"pattern":"^[^\\0]*$","description":"Country Code (SDO COUNTRY_CODE; Optional; precision 0)"},"creditLimit":{"type":"number","description":"Credit Limit (SDO CREDIT_LIMIT; Optional; precision 2)"},"eMail":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"E-Mail Address (SDO E_MAIL; Optional; precision 0)"},"eoriNumber":{"type":"string","maxLength":17,"pattern":"^[^\\0]*$","description":"EORI number (SDO EORI_NUMBER; Optional; precision 0)"},"fax":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Fax Number (SDO FAX; Optional; precision 0)"},"incoterms":{"type":"integer","minimum":-32768,"maximum":32767,"description":"Incoterms (SDO INCOTERMS; Optional; precision 0)"},"name":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Account Name (SDO NAME; Optional; precision 0)"},"telephone":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Telephone Number (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Second Telephone Number (SDO TELEPHONE_2; Optional; precision 0)"},"vatRegNumber":{"type":"string","maxLength":20,"pattern":"^[^\\0]*$","description":"VAT Registration Number (SDO VAT_REG_NUMBER; Optional; precision 0)"},"www":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"WWW Address (SDO WWW; Optional; precision 0)"}},"additionalProperties":false,"minProperties":1},"Uk30_1_suppliers_update":{"type":"object","properties":{"address1":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line5 (SDO ADDRESS_5; Optional; precision 0)"},"analysis1":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"analysis4":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 4 (SDO ANALYSIS_4; Optional; precision 0)"},"analysis5":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 5 (SDO ANALYSIS_5; Optional; precision 0)"},"analysis6":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 6 (SDO ANALYSIS_6; Optional; precision 0)"},"companyRegistrationNumber":{"type":"string","maxLength":16,"pattern":"^[^\\0]*$","description":"Company Reg. Number (SDO COMPANY_REGISTRATION_NUMBER; Optional; precision 0)"},"contactName":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Contact Name (SDO CONTACT_NAME; Optional; precision 0)"},"countryCode":{"type":"string","maxLength":2,"pattern":"^[^\\0]*$","description":"Country Code (SDO COUNTRY_CODE; Optional; precision 0)"},"creditLimit":{"type":"number","description":"Credit Limit (SDO CREDIT_LIMIT; Optional; precision 2)"},"eMail":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"E-Mail Address (SDO E_MAIL; Optional; precision 0)"},"eoriNumber":{"type":"string","maxLength":17,"pattern":"^[^\\0]*$","description":"EORI number (SDO EORI_NUMBER; Optional; precision 0)"},"fax":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Fax Number (SDO FAX; Optional; precision 0)"},"incoterms":{"type":"integer","minimum":-32768,"maximum":32767,"description":"Incoterms (SDO INCOTERMS; Optional; precision 0)"},"name":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Account Name (SDO NAME; Optional; precision 0)"},"telephone":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Telephone Number (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Second Telephone Number (SDO TELEPHONE_2; Optional; precision 0)"},"vatRegNumber":{"type":"string","maxLength":20,"pattern":"^[^\\0]*$","description":"VAT Registration Number (SDO VAT_REG_NUMBER; Optional; precision 0)"},"www":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"WWW Address (SDO WWW; Optional; precision 0)"}},"additionalProperties":false,"minProperties":1},"Uk31_1_suppliers_update":{"type":"object","properties":{"address1":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line5 (SDO ADDRESS_5; Optional; precision 0)"},"analysis1":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"analysis4":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 4 (SDO ANALYSIS_4; Optional; precision 0)"},"analysis5":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 5 (SDO ANALYSIS_5; Optional; precision 0)"},"analysis6":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 6 (SDO ANALYSIS_6; Optional; precision 0)"},"companyRegistrationNumber":{"type":"string","maxLength":16,"pattern":"^[^\\0]*$","description":"Company Reg. Number (SDO COMPANY_REGISTRATION_NUMBER; Optional; precision 0)"},"contactName":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Contact Name (SDO CONTACT_NAME; Optional; precision 0)"},"countryCode":{"type":"string","maxLength":2,"pattern":"^[^\\0]*$","description":"Country Code (SDO COUNTRY_CODE; Optional; precision 0)"},"creditLimit":{"type":"number","description":"Credit Limit (SDO CREDIT_LIMIT; Optional; precision 2)"},"eMail":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"E-Mail Address (SDO E_MAIL; Optional; precision 0)"},"eoriNumber":{"type":"string","maxLength":17,"pattern":"^[^\\0]*$","description":"EORI number (SDO EORI_NUMBER; Optional; precision 0)"},"fax":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Fax Number (SDO FAX; Optional; precision 0)"},"incoterms":{"type":"integer","minimum":-32768,"maximum":32767,"description":"Incoterms (SDO INCOTERMS; Optional; precision 0)"},"name":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Account Name (SDO NAME; Optional; precision 0)"},"telephone":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Telephone Number (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Second Telephone Number (SDO TELEPHONE_2; Optional; precision 0)"},"vatRegNumber":{"type":"string","maxLength":20,"pattern":"^[^\\0]*$","description":"VAT Registration Number (SDO VAT_REG_NUMBER; Optional; precision 0)"},"www":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"WWW Address (SDO WWW; Optional; precision 0)"}},"additionalProperties":false,"minProperties":1},"Uk32_1_suppliers_update":{"type":"object","properties":{"address1":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line5 (SDO ADDRESS_5; Optional; precision 0)"},"analysis1":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"analysis4":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 4 (SDO ANALYSIS_4; Optional; precision 0)"},"analysis5":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 5 (SDO ANALYSIS_5; Optional; precision 0)"},"analysis6":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 6 (SDO ANALYSIS_6; Optional; precision 0)"},"companyRegistrationNumber":{"type":"string","maxLength":16,"pattern":"^[^\\0]*$","description":"Company Reg. Number (SDO COMPANY_REGISTRATION_NUMBER; Optional; precision 0)"},"contactName":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Contact Name (SDO CONTACT_NAME; Optional; precision 0)"},"countryCode":{"type":"string","maxLength":2,"pattern":"^[^\\0]*$","description":"Country Code (SDO COUNTRY_CODE; Optional; precision 0)"},"creditLimit":{"type":"number","description":"Credit Limit (SDO CREDIT_LIMIT; Optional; precision 2)"},"eMail":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"E-Mail Address (SDO E_MAIL; Optional; precision 0)"},"eoriNumber":{"type":"string","maxLength":17,"pattern":"^[^\\0]*$","description":"EORI number (SDO EORI_NUMBER; Optional; precision 0)"},"fax":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Fax Number (SDO FAX; Optional; precision 0)"},"incoterms":{"type":"integer","minimum":-32768,"maximum":32767,"description":"Incoterms (SDO INCOTERMS; Optional; precision 0)"},"name":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Account Name (SDO NAME; Optional; precision 0)"},"telephone":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Telephone Number (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Second Telephone Number (SDO TELEPHONE_2; Optional; precision 0)"},"vatRegNumber":{"type":"string","maxLength":20,"pattern":"^[^\\0]*$","description":"VAT Registration Number (SDO VAT_REG_NUMBER; Optional; precision 0)"},"www":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"WWW Address (SDO WWW; Optional; precision 0)"}},"additionalProperties":false,"minProperties":1},"Uk33_1_suppliers_update":{"type":"object","properties":{"address1":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line5 (SDO ADDRESS_5; Optional; precision 0)"},"analysis1":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"analysis4":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 4 (SDO ANALYSIS_4; Optional; precision 0)"},"analysis5":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 5 (SDO ANALYSIS_5; Optional; precision 0)"},"analysis6":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 6 (SDO ANALYSIS_6; Optional; precision 0)"},"companyRegistrationNumber":{"type":"string","maxLength":16,"pattern":"^[^\\0]*$","description":"Company Reg. Number (SDO COMPANY_REGISTRATION_NUMBER; Optional; precision 0)"},"contactName":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Contact Name (SDO CONTACT_NAME; Optional; precision 0)"},"countryCode":{"type":"string","maxLength":2,"pattern":"^[^\\0]*$","description":"Country Code (SDO COUNTRY_CODE; Optional; precision 0)"},"creditLimit":{"type":"number","description":"Credit Limit (SDO CREDIT_LIMIT; Optional; precision 2)"},"eMail":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"E-Mail Address (SDO E_MAIL; Optional; precision 0)"},"eoriNumber":{"type":"string","maxLength":17,"pattern":"^[^\\0]*$","description":"EORI number (SDO EORI_NUMBER; Optional; precision 0)"},"fax":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Fax Number (SDO FAX; Optional; precision 0)"},"incoterms":{"type":"integer","minimum":-32768,"maximum":32767,"description":"Incoterms (SDO INCOTERMS; Optional; precision 0)"},"name":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Account Name (SDO NAME; Optional; precision 0)"},"telephone":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Telephone Number (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Second Telephone Number (SDO TELEPHONE_2; Optional; precision 0)"},"ukimsNumber":{"type":"string","maxLength":64,"pattern":"^[^\\0]*$","description":"UKIMS number (SDO UKIMS_NUMBER; Optional; precision 0)"},"vatRegNumber":{"type":"string","maxLength":20,"pattern":"^[^\\0]*$","description":"VAT Registration Number (SDO VAT_REG_NUMBER; Optional; precision 0)"},"www":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"WWW Address (SDO WWW; Optional; precision 0)"}},"additionalProperties":false,"minProperties":1},"Uk34_1_suppliers_update":{"type":"object","properties":{"address1":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Registered Address Line5 (SDO ADDRESS_5; Optional; precision 0)"},"analysis1":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"analysis4":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 4 (SDO ANALYSIS_4; Optional; precision 0)"},"analysis5":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 5 (SDO ANALYSIS_5; Optional; precision 0)"},"analysis6":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Analysis 6 (SDO ANALYSIS_6; Optional; precision 0)"},"companyRegistrationNumber":{"type":"string","maxLength":16,"pattern":"^[^\\0]*$","description":"Company Reg. Number (SDO COMPANY_REGISTRATION_NUMBER; Optional; precision 0)"},"contactName":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Contact Name (SDO CONTACT_NAME; Optional; precision 0)"},"countryCode":{"type":"string","maxLength":2,"pattern":"^[^\\0]*$","description":"Country Code (SDO COUNTRY_CODE; Optional; precision 0)"},"creditLimit":{"type":"number","description":"Credit Limit (SDO CREDIT_LIMIT; Optional; precision 2)"},"eMail":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"E-Mail Address (SDO E_MAIL; Optional; precision 0)"},"eoriNumber":{"type":"string","maxLength":17,"pattern":"^[^\\0]*$","description":"EORI number (SDO EORI_NUMBER; Optional; precision 0)"},"fax":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Fax Number (SDO FAX; Optional; precision 0)"},"incoterms":{"type":"integer","minimum":-32768,"maximum":32767,"description":"Incoterms (SDO INCOTERMS; Optional; precision 0)"},"name":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Account Name (SDO NAME; Optional; precision 0)"},"telephone":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Telephone Number (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","maxLength":30,"pattern":"^[^\\0]*$","description":"Second Telephone Number (SDO TELEPHONE_2; Optional; precision 0)"},"ukimsNumber":{"type":"string","maxLength":64,"pattern":"^[^\\0]*$","description":"UKIMS number (SDO UKIMS_NUMBER; Optional; precision 0)"},"vatRegNumber":{"type":"string","maxLength":20,"pattern":"^[^\\0]*$","description":"VAT Registration Number (SDO VAT_REG_NUMBER; Optional; precision 0)"},"www":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"WWW Address (SDO WWW; Optional; precision 0)"}},"additionalProperties":false,"minProperties":1},"Us2026_1_suppliers_update":{"type":"object","properties":{"accountNumber":{"type":"string","nullable":true,"maxLength":100000},"cashAccountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"category":{"type":"string","nullable":true,"maxLength":100000},"email":{"type":"string","nullable":true,"maxLength":100000},"expenseAccountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"form1099Type":{"type":"integer","enum":[1,2,0]},"includePurchaseRepresentativeOnEmailedForms":{"type":"boolean"},"isInactive":{"type":"boolean"},"mailToContact":{"type":"object","nullable":true,"properties":{"address":{"type":"object","nullable":true,"properties":{"address1":{"type":"string","nullable":true,"maxLength":100000},"address2":{"type":"string","nullable":true,"maxLength":100000},"city":{"type":"string","nullable":true,"maxLength":100000},"country":{"type":"string","nullable":true,"maxLength":100000},"salesTaxCode":{"type":"string","nullable":true,"maxLength":100000},"state":{"type":"string","nullable":true,"maxLength":100000},"zip":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"companyName":{"type":"string","nullable":true,"maxLength":100000},"email":{"type":"string","nullable":true,"maxLength":100000},"firstName":{"type":"string","nullable":true,"maxLength":100000},"gender":{"type":"integer","enum":[2,1,0]},"lastName":{"type":"string","nullable":true,"maxLength":100000},"middleInitial":{"type":"string","nullable":true,"maxLength":100000},"nameToUseOnForms":{"type":"integer","enum":[1,0]},"notes":{"type":"string","nullable":true,"maxLength":100000},"prefix":{"type":"string","nullable":true,"maxLength":100000},"suffix":{"type":"string","nullable":true,"maxLength":100000},"title":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"name":{"type":"string","nullable":true,"maxLength":100000},"paymentMethod":{"type":"string","nullable":true,"maxLength":100000},"paymentsContact":{"type":"object","nullable":true,"properties":{"address":{"type":"object","nullable":true,"properties":{"address1":{"type":"string","nullable":true,"maxLength":100000},"address2":{"type":"string","nullable":true,"maxLength":100000},"city":{"type":"string","nullable":true,"maxLength":100000},"country":{"type":"string","nullable":true,"maxLength":100000},"salesTaxCode":{"type":"string","nullable":true,"maxLength":100000},"state":{"type":"string","nullable":true,"maxLength":100000},"zip":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"companyName":{"type":"string","nullable":true,"maxLength":100000},"email":{"type":"string","nullable":true,"maxLength":100000},"firstName":{"type":"string","nullable":true,"maxLength":100000},"gender":{"type":"integer","enum":[2,1,0]},"lastName":{"type":"string","nullable":true,"maxLength":100000},"middleInitial":{"type":"string","nullable":true,"maxLength":100000},"nameToUseOnForms":{"type":"integer","enum":[1,0]},"notes":{"type":"string","nullable":true,"maxLength":100000},"prefix":{"type":"string","nullable":true,"maxLength":100000},"suffix":{"type":"string","nullable":true,"maxLength":100000},"title":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"purchaseOrdersContact":{"type":"object","nullable":true,"properties":{"address":{"type":"object","nullable":true,"properties":{"address1":{"type":"string","nullable":true,"maxLength":100000},"address2":{"type":"string","nullable":true,"maxLength":100000},"city":{"type":"string","nullable":true,"maxLength":100000},"country":{"type":"string","nullable":true,"maxLength":100000},"salesTaxCode":{"type":"string","nullable":true,"maxLength":100000},"state":{"type":"string","nullable":true,"maxLength":100000},"zip":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"companyName":{"type":"string","nullable":true,"maxLength":100000},"email":{"type":"string","nullable":true,"maxLength":100000},"firstName":{"type":"string","nullable":true,"maxLength":100000},"gender":{"type":"integer","enum":[2,1,0]},"lastName":{"type":"string","nullable":true,"maxLength":100000},"middleInitial":{"type":"string","nullable":true,"maxLength":100000},"nameToUseOnForms":{"type":"integer","enum":[1,0]},"notes":{"type":"string","nullable":true,"maxLength":100000},"prefix":{"type":"string","nullable":true,"maxLength":100000},"suffix":{"type":"string","nullable":true,"maxLength":100000},"title":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"purchaseRepresentativeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"replaceInventoryItemIDWithPartNumber":{"type":"boolean"},"replaceInventoryItemIDWithUPC":{"type":"boolean"},"shipmentsContact":{"type":"object","nullable":true,"properties":{"address":{"type":"object","nullable":true,"properties":{"address1":{"type":"string","nullable":true,"maxLength":100000},"address2":{"type":"string","nullable":true,"maxLength":100000},"city":{"type":"string","nullable":true,"maxLength":100000},"country":{"type":"string","nullable":true,"maxLength":100000},"salesTaxCode":{"type":"string","nullable":true,"maxLength":100000},"state":{"type":"string","nullable":true,"maxLength":100000},"zip":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"companyName":{"type":"string","nullable":true,"maxLength":100000},"email":{"type":"string","nullable":true,"maxLength":100000},"firstName":{"type":"string","nullable":true,"maxLength":100000},"gender":{"type":"integer","enum":[2,1,0]},"lastName":{"type":"string","nullable":true,"maxLength":100000},"middleInitial":{"type":"string","nullable":true,"maxLength":100000},"nameToUseOnForms":{"type":"integer","enum":[1,0]},"notes":{"type":"string","nullable":true,"maxLength":100000},"prefix":{"type":"string","nullable":true,"maxLength":100000},"suffix":{"type":"string","nullable":true,"maxLength":100000},"title":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"shipVia":{"type":"string","nullable":true,"maxLength":100000},"taxIDNumber":{"type":"string","nullable":true,"maxLength":100000},"terms":{"type":"object","properties":{"paymentTimeFrame":{"type":"integer","enum":[0,4,2,3,1]},"dueDays":{"type":"integer","minimum":0},"useDiscounts":{"type":"boolean"},"discountDays":{"type":"integer","minimum":0},"discountPercent":{"type":"number","minimum":0,"maximum":100},"creditLimit":{"type":"number","minimum":0},"chargeInterest":{"type":"boolean"}},"required":["paymentTimeFrame","dueDays","useDiscounts","discountDays","discountPercent","creditLimit","chargeInterest"],"additionalProperties":false},"useEmailToDeliverForms":{"type":"boolean"},"usingPaymentDefaults":{"type":"boolean"},"vendorSince":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"webSiteURL":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false,"minProperties":1},"Uk26_3_items_get":{"type":"object","properties":{"assemblyLevel":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Assembly level (SDO ASSEMBLY_LEVEL; Optional; precision 0)"},"averageCostPrice":{"type":"number","nullable":true,"description":"Average cost price (SDO AVERAGE_COST_PRICE; Optional; precision 101)"},"budgetQtySoldBf":{"type":"number","nullable":true,"description":"Brought forward budget quantity sold (SDO BUDGET_QTY_SOLD_BF; Optional; precision 102)"},"budgetQtySoldFuture":{"type":"number","nullable":true,"description":"Future budget quantity sold (SDO BUDGET_QTY_SOLD_FUTURE; Optional; precision 102)"},"budgetQtySoldMth1":{"type":"number","nullable":true,"description":"Month 1 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH1; Optional; precision 102)"},"budgetQtySoldMth10":{"type":"number","nullable":true,"description":"Month 10 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH10; Optional; precision 102)"},"budgetQtySoldMth11":{"type":"number","nullable":true,"description":"Month 11 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH11; Optional; precision 102)"},"budgetQtySoldMth12":{"type":"number","nullable":true,"description":"Month 12 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH12; Optional; precision 102)"},"budgetQtySoldMth2":{"type":"number","nullable":true,"description":"Month 2 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH2; Optional; precision 102)"},"budgetQtySoldMth3":{"type":"number","nullable":true,"description":"Month 3 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH3; Optional; precision 102)"},"budgetQtySoldMth4":{"type":"number","nullable":true,"description":"Month 4 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH4; Optional; precision 102)"},"budgetQtySoldMth5":{"type":"number","nullable":true,"description":"Month 5 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH5; Optional; precision 102)"},"budgetQtySoldMth6":{"type":"number","nullable":true,"description":"Month 6 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH6; Optional; precision 102)"},"budgetQtySoldMth7":{"type":"number","nullable":true,"description":"Month 7 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH7; Optional; precision 102)"},"budgetQtySoldMth8":{"type":"number","nullable":true,"description":"Month 8 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH8; Optional; precision 102)"},"budgetQtySoldMth9":{"type":"number","nullable":true,"description":"Month 9 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH9; Optional; precision 102)"},"budgetSalesBf":{"type":"number","nullable":true,"description":"Brought forward budget sales (SDO BUDGET_SALES_BF; Optional; precision 2)"},"budgetSalesFuture":{"type":"number","nullable":true,"description":"Future budget sales (SDO BUDGET_SALES_FUTURE; Optional; precision 2)"},"budgetSalesMth1":{"type":"number","nullable":true,"description":"Month 1 budget sales (SDO BUDGET_SALES_MTH1; Optional; precision 2)"},"budgetSalesMth10":{"type":"number","nullable":true,"description":"Month 10 budget sales (SDO BUDGET_SALES_MTH10; Optional; precision 2)"},"budgetSalesMth11":{"type":"number","nullable":true,"description":"Month 11 budget sales (SDO BUDGET_SALES_MTH11; Optional; precision 2)"},"budgetSalesMth12":{"type":"number","nullable":true,"description":"Month 12 budget sales (SDO BUDGET_SALES_MTH12; Optional; precision 2)"},"budgetSalesMth2":{"type":"number","nullable":true,"description":"Month 2 budget sales (SDO BUDGET_SALES_MTH2; Optional; precision 2)"},"budgetSalesMth3":{"type":"number","nullable":true,"description":"Month 3 budget sales (SDO BUDGET_SALES_MTH3; Optional; precision 2)"},"budgetSalesMth4":{"type":"number","nullable":true,"description":"Month 4 budget sales (SDO BUDGET_SALES_MTH4; Optional; precision 2)"},"budgetSalesMth5":{"type":"number","nullable":true,"description":"Month 5 budget sales (SDO BUDGET_SALES_MTH5; Optional; precision 2)"},"budgetSalesMth6":{"type":"number","nullable":true,"description":"Month 6 budget sales (SDO BUDGET_SALES_MTH6; Optional; precision 2)"},"budgetSalesMth7":{"type":"number","nullable":true,"description":"Month 7 budget sales (SDO BUDGET_SALES_MTH7; Optional; precision 2)"},"budgetSalesMth8":{"type":"number","nullable":true,"description":"Month 8 budget sales (SDO BUDGET_SALES_MTH8; Optional; precision 2)"},"budgetSalesMth9":{"type":"number","nullable":true,"description":"Month 9 budget sales (SDO BUDGET_SALES_MTH9; Optional; precision 2)"},"commodityCode":{"type":"string","nullable":true,"maxLength":30,"description":"Commodity code description (SDO COMMODITY_CODE; Optional; precision 0)"},"componentCode1":{"type":"string","nullable":true,"maxLength":30,"description":"Component 1 stock code (SDO COMPONENT_CODE_1; Optional; precision 0)"},"componentCode10":{"type":"string","nullable":true,"maxLength":30,"description":"Component 10 stock code (SDO COMPONENT_CODE_10; Optional; precision 0)"},"componentCode11":{"type":"string","nullable":true,"maxLength":30,"description":"Component 11 stock code (SDO COMPONENT_Code_11; Optional; precision 0)"},"componentCode12":{"type":"string","nullable":true,"maxLength":30,"description":"Component 12 stock code (SDO COMPONENT_Code_12; Optional; precision 0)"},"componentCode13":{"type":"string","nullable":true,"maxLength":30,"description":"Component 13 stock code (SDO COMPONENT_Code_13; Optional; precision 0)"},"componentCode14":{"type":"string","nullable":true,"maxLength":30,"description":"Component 14 stock code (SDO COMPONENT_Code_14; Optional; precision 0)"},"componentCode15":{"type":"string","nullable":true,"maxLength":30,"description":"Component 15 stock code (SDO COMPONENT_Code_15; Optional; precision 0)"},"componentCode16":{"type":"string","nullable":true,"maxLength":30,"description":"Component 16 stock code (SDO COMPONENT_Code_16; Optional; precision 0)"},"componentCode17":{"type":"string","nullable":true,"maxLength":30,"description":"Component 17 stock code (SDO COMPONENT_Code_17; Optional; precision 0)"},"componentCode18":{"type":"string","nullable":true,"maxLength":30,"description":"Component 18 stock code (SDO COMPONENT_Code_18; Optional; precision 0)"},"componentCode19":{"type":"string","nullable":true,"maxLength":30,"description":"Component 19 stock code (SDO COMPONENT_Code_19; Optional; precision 0)"},"componentCode2":{"type":"string","nullable":true,"maxLength":30,"description":"Component 2 stock code (SDO COMPONENT_CODE_2; Optional; precision 0)"},"componentCode20":{"type":"string","nullable":true,"maxLength":30,"description":"Component 20 stock code (SDO COMPONENT_CODE_20; Optional; precision 0)"},"componentCode21":{"type":"string","nullable":true,"maxLength":30,"description":"Component 21 stock code (SDO COMPONENT_Code_21; Optional; precision 0)"},"componentCode22":{"type":"string","nullable":true,"maxLength":30,"description":"Component 22 stock code (SDO COMPONENT_Code_22; Optional; precision 0)"},"componentCode23":{"type":"string","nullable":true,"maxLength":30,"description":"Component 23 stock code (SDO COMPONENT_Code_23; Optional; precision 0)"},"componentCode24":{"type":"string","nullable":true,"maxLength":30,"description":"Component 24 stock code (SDO COMPONENT_Code_24; Optional; precision 0)"},"componentCode25":{"type":"string","nullable":true,"maxLength":30,"description":"Component 25 stock code (SDO COMPONENT_Code_25; Optional; precision 0)"},"componentCode26":{"type":"string","nullable":true,"maxLength":30,"description":"Component 26 stock code (SDO COMPONENT_Code_26; Optional; precision 0)"},"componentCode27":{"type":"string","nullable":true,"maxLength":30,"description":"Component 27 stock code (SDO COMPONENT_Code_27; Optional; precision 0)"},"componentCode28":{"type":"string","nullable":true,"maxLength":30,"description":"Component 28 stock code (SDO COMPONENT_Code_28; Optional; precision 0)"},"componentCode29":{"type":"string","nullable":true,"maxLength":30,"description":"Component 29 stock code (SDO COMPONENT_Code_29; Optional; precision 0)"},"componentCode3":{"type":"string","nullable":true,"maxLength":30,"description":"Component 3 stock code (SDO COMPONENT_CODE_3; Optional; precision 0)"},"componentCode30":{"type":"string","nullable":true,"maxLength":30,"description":"Component 30 stock code (SDO COMPONENT_CODE_30; Optional; precision 0)"},"componentCode31":{"type":"string","nullable":true,"maxLength":30,"description":"Component 31 stock code (SDO COMPONENT_Code_31; Optional; precision 0)"},"componentCode32":{"type":"string","nullable":true,"maxLength":30,"description":"Component 32 stock code (SDO COMPONENT_Code_32; Optional; precision 0)"},"componentCode33":{"type":"string","nullable":true,"maxLength":30,"description":"Component 33 stock code (SDO COMPONENT_Code_33; Optional; precision 0)"},"componentCode34":{"type":"string","nullable":true,"maxLength":30,"description":"Component 34 stock code (SDO COMPONENT_Code_34; Optional; precision 0)"},"componentCode35":{"type":"string","nullable":true,"maxLength":30,"description":"Component 35 stock code (SDO COMPONENT_Code_35; Optional; precision 0)"},"componentCode36":{"type":"string","nullable":true,"maxLength":30,"description":"Component 36 stock code (SDO COMPONENT_Code_36; Optional; precision 0)"},"componentCode37":{"type":"string","nullable":true,"maxLength":30,"description":"Component 37 stock code (SDO COMPONENT_Code_37; Optional; precision 0)"},"componentCode38":{"type":"string","nullable":true,"maxLength":30,"description":"Component 38 stock code (SDO COMPONENT_Code_38; Optional; precision 0)"},"componentCode39":{"type":"string","nullable":true,"maxLength":30,"description":"Component 39 stock code (SDO COMPONENT_Code_39; Optional; precision 0)"},"componentCode4":{"type":"string","nullable":true,"maxLength":30,"description":"Component 4 stock code (SDO COMPONENT_CODE_4; Optional; precision 0)"},"componentCode40":{"type":"string","nullable":true,"maxLength":30,"description":"Component 40 stock code (SDO COMPONENT_CODE_40; Optional; precision 0)"},"componentCode41":{"type":"string","nullable":true,"maxLength":30,"description":"Component 41 stock code (SDO COMPONENT_Code_41; Optional; precision 0)"},"componentCode42":{"type":"string","nullable":true,"maxLength":30,"description":"Component 42 stock code (SDO COMPONENT_Code_42; Optional; precision 0)"},"componentCode43":{"type":"string","nullable":true,"maxLength":30,"description":"Component 43 stock code (SDO COMPONENT_Code_43; Optional; precision 0)"},"componentCode44":{"type":"string","nullable":true,"maxLength":30,"description":"Component 44 stock code (SDO COMPONENT_Code_44; Optional; precision 0)"},"componentCode45":{"type":"string","nullable":true,"maxLength":30,"description":"Component 45 stock code (SDO COMPONENT_Code_45; Optional; precision 0)"},"componentCode46":{"type":"string","nullable":true,"maxLength":30,"description":"Component 46 stock code (SDO COMPONENT_Code_46; Optional; precision 0)"},"componentCode47":{"type":"string","nullable":true,"maxLength":30,"description":"Component 47 stock code (SDO COMPONENT_Code_47; Optional; precision 0)"},"componentCode48":{"type":"string","nullable":true,"maxLength":30,"description":"Component 48 stock code (SDO COMPONENT_Code_48; Optional; precision 0)"},"componentCode49":{"type":"string","nullable":true,"maxLength":30,"description":"Component 49 stock code (SDO COMPONENT_Code_49; Optional; precision 0)"},"componentCode5":{"type":"string","nullable":true,"maxLength":30,"description":"Component 5 stock code (SDO COMPONENT_CODE_5; Optional; precision 0)"},"componentCode50":{"type":"string","nullable":true,"maxLength":30,"description":"Component 50 stock code (SDO COMPONENT_Code_50; Optional; precision 0)"},"componentCode6":{"type":"string","nullable":true,"maxLength":30,"description":"Component 6 stock code (SDO COMPONENT_CODE_6; Optional; precision 0)"},"componentCode7":{"type":"string","nullable":true,"maxLength":30,"description":"Component 7 stock code (SDO COMPONENT_CODE_7; Optional; precision 0)"},"componentCode8":{"type":"string","nullable":true,"maxLength":30,"description":"Component 8 stock code (SDO COMPONENT_CODE_8; Optional; precision 0)"},"componentCode9":{"type":"string","nullable":true,"maxLength":30,"description":"Component 9 stock code (SDO COMPONENT_CODE_9; Optional; precision 0)"},"componentQty1":{"type":"number","nullable":true,"description":"Component 1 quantity (SDO COMPONENT_QTY_1; Optional; precision 102)"},"componentQty10":{"type":"number","nullable":true,"description":"Component 10 quantity (SDO COMPONENT_QTY_10; Optional; precision 102)"},"componentQty11":{"type":"number","nullable":true,"description":"Component 11 quantity (SDO COMPONENT_QTY_11; Optional; precision 102)"},"componentQty12":{"type":"number","nullable":true,"description":"Component 12 quantity (SDO COMPONENT_QTY_12; Optional; precision 102)"},"componentQty13":{"type":"number","nullable":true,"description":"Component 13 quantity (SDO COMPONENT_QTY_13; Optional; precision 102)"},"componentQty14":{"type":"number","nullable":true,"description":"Component 14 quantity (SDO COMPONENT_QTY_14; Optional; precision 102)"},"componentQty15":{"type":"number","nullable":true,"description":"Component 15 quantity (SDO COMPONENT_QTY_15; Optional; precision 102)"},"componentQty16":{"type":"number","nullable":true,"description":"Component 16 quantity (SDO COMPONENT_QTY_16; Optional; precision 102)"},"componentQty17":{"type":"number","nullable":true,"description":"Component 17 quantity (SDO COMPONENT_QTY_17; Optional; precision 102)"},"componentQty18":{"type":"number","nullable":true,"description":"Component 18 quantity (SDO COMPONENT_QTY_18; Optional; precision 102)"},"componentQty19":{"type":"number","nullable":true,"description":"Component 19 quantity (SDO COMPONENT_QTY_19; Optional; precision 102)"},"componentQty2":{"type":"number","nullable":true,"description":"Component 2 quantity (SDO COMPONENT_QTY_2; Optional; precision 102)"},"componentQty20":{"type":"number","nullable":true,"description":"Component 20 quantity (SDO COMPONENT_QTY_20; Optional; precision 102)"},"componentQty21":{"type":"number","nullable":true,"description":"Component 21 quantity (SDO COMPONENT_QTY_21; Optional; precision 102)"},"componentQty22":{"type":"number","nullable":true,"description":"Component 22 quantity (SDO COMPONENT_QTY_22; Optional; precision 102)"},"componentQty23":{"type":"number","nullable":true,"description":"Component 23 quantity (SDO COMPONENT_QTY_23; Optional; precision 102)"},"componentQty24":{"type":"number","nullable":true,"description":"Component 24 quantity (SDO COMPONENT_QTY_24; Optional; precision 102)"},"componentQty25":{"type":"number","nullable":true,"description":"Component 25 quantity (SDO COMPONENT_QTY_25; Optional; precision 102)"},"componentQty26":{"type":"number","nullable":true,"description":"Component 26 quantity (SDO COMPONENT_QTY_26; Optional; precision 102)"},"componentQty27":{"type":"number","nullable":true,"description":"Component 27 quantity (SDO COMPONENT_QTY_27; Optional; precision 102)"},"componentQty28":{"type":"number","nullable":true,"description":"Component 28 quantity (SDO COMPONENT_QTY_28; Optional; precision 102)"},"componentQty29":{"type":"number","nullable":true,"description":"Component 29 quantity (SDO COMPONENT_QTY_29; Optional; precision 102)"},"componentQty3":{"type":"number","nullable":true,"description":"Component 3 quantity (SDO COMPONENT_QTY_3; Optional; precision 102)"},"componentQty30":{"type":"number","nullable":true,"description":"Component 30 quantity (SDO COMPONENT_QTY_30; Optional; precision 102)"},"componentQty31":{"type":"number","nullable":true,"description":"Component 31 quantity (SDO COMPONENT_QTY_31; Optional; precision 102)"},"componentQty32":{"type":"number","nullable":true,"description":"Component 32 quantity (SDO COMPONENT_QTY_32; Optional; precision 102)"},"componentQty33":{"type":"number","nullable":true,"description":"Component 33 quantity (SDO COMPONENT_QTY_33; Optional; precision 102)"},"componentQty34":{"type":"number","nullable":true,"description":"Component 34 quantity (SDO COMPONENT_QTY_34; Optional; precision 102)"},"componentQty35":{"type":"number","nullable":true,"description":"Component 35 quantity (SDO COMPONENT_QTY_35; Optional; precision 102)"},"componentQty36":{"type":"number","nullable":true,"description":"Component 36 quantity (SDO COMPONENT_QTY_36; Optional; precision 102)"},"componentQty37":{"type":"number","nullable":true,"description":"Component 37 quantity (SDO COMPONENT_QTY_37; Optional; precision 102)"},"componentQty38":{"type":"number","nullable":true,"description":"Component 38 quantity (SDO COMPONENT_QTY_38; Optional; precision 102)"},"componentQty39":{"type":"number","nullable":true,"description":"Component 39 quantity (SDO COMPONENT_QTY_39; Optional; precision 102)"},"componentQty4":{"type":"number","nullable":true,"description":"Component 4 quantity (SDO COMPONENT_QTY_4; Optional; precision 102)"},"componentQty40":{"type":"number","nullable":true,"description":"Component 40 quantity (SDO COMPONENT_QTY_40; Optional; precision 102)"},"componentQty41":{"type":"number","nullable":true,"description":"Component 41 quantity (SDO COMPONENT_QTY_41; Optional; precision 102)"},"componentQty42":{"type":"number","nullable":true,"description":"Component 42 quantity (SDO COMPONENT_QTY_42; Optional; precision 102)"},"componentQty43":{"type":"number","nullable":true,"description":"Component 43 quantity (SDO COMPONENT_QTY_43; Optional; precision 102)"},"componentQty44":{"type":"number","nullable":true,"description":"Component 44 quantity (SDO COMPONENT_QTY_44; Optional; precision 102)"},"componentQty45":{"type":"number","nullable":true,"description":"Component 45 quantity (SDO COMPONENT_QTY_45; Optional; precision 102)"},"componentQty46":{"type":"number","nullable":true,"description":"Component 46 quantity (SDO COMPONENT_QTY_46; Optional; precision 102)"},"componentQty47":{"type":"number","nullable":true,"description":"Component 47 quantity (SDO COMPONENT_QTY_47; Optional; precision 102)"},"componentQty48":{"type":"number","nullable":true,"description":"Component 48 quantity (SDO COMPONENT_QTY_48; Optional; precision 102)"},"componentQty49":{"type":"number","nullable":true,"description":"Component 49 quantity (SDO COMPONENT_QTY_49; Optional; precision 102)"},"componentQty5":{"type":"number","nullable":true,"description":"Component 5 quantity (SDO COMPONENT_QTY_5; Optional; precision 102)"},"componentQty50":{"type":"number","nullable":true,"description":"Component 50 quantity (SDO COMPONENT_QTY_50; Optional; precision 102)"},"componentQty6":{"type":"number","nullable":true,"description":"Component 6 quantity (SDO COMPONENT_QTY_6; Optional; precision 102)"},"componentQty7":{"type":"number","nullable":true,"description":"Component 7 quantity (SDO COMPONENT_QTY_7; Optional; precision 102)"},"componentQty8":{"type":"number","nullable":true,"description":"Component 8 quantity (SDO COMPONENT_QTY_8; Optional; precision 102)"},"componentQty9":{"type":"number","nullable":true,"description":"Component 9 quantity (SDO COMPONENT_QTY_9; Optional; precision 102)"},"costBf":{"type":"number","nullable":true,"description":"Brought forward costs (SDO COST_BF; Optional; precision 2)"},"costFuture":{"type":"number","nullable":true,"description":"Future costs (SDO COST_FUTURE; Optional; precision 2)"},"costMth1":{"type":"number","nullable":true,"description":"Month 1 costs (SDO COST_MTH1; Optional; precision 2)"},"costMth10":{"type":"number","nullable":true,"description":"Month 10 costs (SDO COST_MTH10; Optional; precision 2)"},"costMth11":{"type":"number","nullable":true,"description":"Month 11 costs (SDO COST_MTH11; Optional; precision 2)"},"costMth12":{"type":"number","nullable":true,"description":"Month 12 costs (SDO COST_MTH12; Optional; precision 2)"},"costMth2":{"type":"number","nullable":true,"description":"Month 2 costs (SDO COST_MTH2; Optional; precision 2)"},"costMth3":{"type":"number","nullable":true,"description":"Month 3 costs (SDO COST_MTH3; Optional; precision 2)"},"costMth4":{"type":"number","nullable":true,"description":"Month 4 costs (SDO COST_MTH4; Optional; precision 2)"},"costMth5":{"type":"number","nullable":true,"description":"Month 5 costs (SDO COST_MTH5; Optional; precision 2)"},"costMth6":{"type":"number","nullable":true,"description":"Month 6 costs (SDO COST_MTH6; Optional; precision 2)"},"costMth7":{"type":"number","nullable":true,"description":"Month 7 costs (SDO COST_MTH7; Optional; precision 2)"},"costMth8":{"type":"number","nullable":true,"description":"Month 8 costs (SDO COST_MTH8; Optional; precision 2)"},"costMth9":{"type":"number","nullable":true,"description":"Month 9 costs (SDO COST_MTH9; Optional; precision 2)"},"countryCodeOfOrigin":{"type":"string","nullable":true,"maxLength":2,"description":"Country of Origin (SDO COUNTRY_CODE_OF_ORIGIN; Optional; precision 0)"},"custom1":{"type":"string","nullable":true,"maxLength":60,"description":"Custom Field 1 (SDO CUSTOM_1; Optional; precision 0)"},"custom2":{"type":"string","nullable":true,"maxLength":60,"description":"Custom Field 2 (SDO CUSTOM_2; Optional; precision 0)"},"custom3":{"type":"string","nullable":true,"maxLength":60,"description":"Custom Field 3 (SDO CUSTOM_3; Optional; precision 0)"},"deletedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Is Deleted (SDO DELETED_FLAG; Optional; precision 0)"},"deptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Department number (SDO DEPT_NUMBER; Optional; precision 0)"},"description":{"type":"string","nullable":true,"maxLength":60,"description":"Description (SDO DESCRIPTION; Optional; precision 0)"},"discALevel10Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 10, Quantity (SDO DISC_A_LEVEL_10_QTY; Optional; precision 102)"},"discALevel10Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 10, Rate (SDO DISC_A_LEVEL_10_RATE; Optional; precision 2)"},"discALevel1Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 1, Quantity (SDO DISC_A_LEVEL_1_QTY; Optional; precision 102)"},"discALevel1Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 1, Rate (SDO DISC_A_LEVEL_1_RATE; Optional; precision 2)"},"discALevel2Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 2, Quantity (SDO DISC_A_LEVEL_2_QTY; Optional; precision 102)"},"discALevel2Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 2, Rate (SDO DISC_A_LEVEL_2_RATE; Optional; precision 2)"},"discALevel3Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 3, Quantity (SDO DISC_A_LEVEL_3_QTY; Optional; precision 102)"},"discALevel3Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 3, Rate (SDO DISC_A_LEVEL_3_RATE; Optional; precision 2)"},"discALevel4Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 4, Quantity (SDO DISC_A_LEVEL_4_QTY; Optional; precision 102)"},"discALevel4Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 4, Rate (SDO DISC_A_LEVEL_4_RATE; Optional; precision 2)"},"discALevel5Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 5, Quantity (SDO DISC_A_LEVEL_5_QTY; Optional; precision 102)"},"discALevel5Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 5, Rate (SDO DISC_A_LEVEL_5_RATE; Optional; precision 2)"},"discALevel6Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 6, Quantity (SDO DISC_A_LEVEL_6_QTY; Optional; precision 102)"},"discALevel6Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 6, Rate (SDO DISC_A_LEVEL_6_RATE; Optional; precision 2)"},"discALevel7Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 7, Quantity (SDO DISC_A_LEVEL_7_QTY; Optional; precision 102)"},"discALevel7Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 7, Rate (SDO DISC_A_LEVEL_7_RATE; Optional; precision 2)"},"discALevel8Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 8, Quantity (SDO DISC_A_LEVEL_8_QTY; Optional; precision 102)"},"discALevel8Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 8, Rate (SDO DISC_A_LEVEL_8_RATE; Optional; precision 2)"},"discALevel9Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 9, Quantity (SDO DISC_A_LEVEL_9_QTY; Optional; precision 102)"},"discALevel9Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 9, Rate (SDO DISC_A_LEVEL_9_RATE; Optional; precision 2)"},"discBLevel10Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 10, Quantity (SDO DISC_B_LEVEL_10_QTY; Optional; precision 102)"},"discBLevel10Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 10, Rate (SDO DISC_B_LEVEL_10_RATE; Optional; precision 2)"},"discBLevel1Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 1, Quantity (SDO DISC_B_LEVEL_1_QTY; Optional; precision 102)"},"discBLevel1Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 1, Rate (SDO DISC_B_LEVEL_1_RATE; Optional; precision 2)"},"discBLevel2Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 2, Quantity (SDO DISC_B_LEVEL_2_QTY; Optional; precision 102)"},"discBLevel2Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 2, Rate (SDO DISC_B_LEVEL_2_RATE; Optional; precision 2)"},"discBLevel3Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 3, Quantity (SDO DISC_B_LEVEL_3_QTY; Optional; precision 102)"},"discBLevel3Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 3, Rate (SDO DISC_B_LEVEL_3_RATE; Optional; precision 2)"},"discBLevel4Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 4, Quantity (SDO DISC_B_LEVEL_4_QTY; Optional; precision 102)"},"discBLevel4Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 4, Rate (SDO DISC_B_LEVEL_4_RATE; Optional; precision 2)"},"discBLevel5Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 5, Quantity (SDO DISC_B_LEVEL_5_QTY; Optional; precision 102)"},"discBLevel5Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 5, Rate (SDO DISC_B_LEVEL_5_RATE; Optional; precision 2)"},"discBLevel6Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 6, Quantity (SDO DISC_B_LEVEL_6_QTY; Optional; precision 102)"},"discBLevel6Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 6, Rate (SDO DISC_B_LEVEL_6_RATE; Optional; precision 2)"},"discBLevel7Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 7, Quantity (SDO DISC_B_LEVEL_7_QTY; Optional; precision 102)"},"discBLevel7Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 7, Rate (SDO DISC_B_LEVEL_7_RATE; Optional; precision 2)"},"discBLevel8Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 8, Quantity (SDO DISC_B_LEVEL_8_QTY; Optional; precision 102)"},"discBLevel8Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 8, Rate (SDO DISC_B_LEVEL_8_RATE; Optional; precision 2)"},"discBLevel9Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 9, Quantity (SDO DISC_B_LEVEL_9_QTY; Optional; precision 102)"},"discBLevel9Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 9, Rate (SDO DISC_B_LEVEL_9_RATE; Optional; precision 2)"},"discCLevel10Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 10, Quantity (SDO DISC_C_LEVEL_10_QTY; Optional; precision 102)"},"discCLevel10Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 10, Rate (SDO DISC_C_LEVEL_10_RATE; Optional; precision 2)"},"discCLevel1Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 1, Quantity (SDO DISC_C_LEVEL_1_QTY; Optional; precision 102)"},"discCLevel1Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 1, Rate (SDO DISC_C_LEVEL_1_RATE; Optional; precision 2)"},"discCLevel2Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 2, Quantity (SDO DISC_C_LEVEL_2_QTY; Optional; precision 102)"},"discCLevel2Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 2, Rate (SDO DISC_C_LEVEL_2_RATE; Optional; precision 2)"},"discCLevel3Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 3, Quantity (SDO DISC_C_LEVEL_3_QTY; Optional; precision 102)"},"discCLevel3Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 3, Rate (SDO DISC_C_LEVEL_3_RATE; Optional; precision 2)"},"discCLevel4Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 4, Quantity (SDO DISC_C_LEVEL_4_QTY; Optional; precision 102)"},"discCLevel4Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 4, Rate (SDO DISC_C_LEVEL_4_RATE; Optional; precision 2)"},"discCLevel5Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 5, Quantity (SDO DISC_C_LEVEL_5_QTY; Optional; precision 102)"},"discCLevel5Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 5, Rate (SDO DISC_C_LEVEL_5_RATE; Optional; precision 2)"},"discCLevel6Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 6, Quantity (SDO DISC_C_LEVEL_6_QTY; Optional; precision 102)"},"discCLevel6Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 6, Rate (SDO DISC_C_LEVEL_6_RATE; Optional; precision 2)"},"discCLevel7Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 7, Quantity (SDO DISC_C_LEVEL_7_QTY; Optional; precision 102)"},"discCLevel7Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 7, Rate (SDO DISC_C_LEVEL_7_RATE; Optional; precision 2)"},"discCLevel8Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 8, Quantity (SDO DISC_C_LEVEL_8_QTY; Optional; precision 102)"},"discCLevel8Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 8, Rate (SDO DISC_C_LEVEL_8_RATE; Optional; precision 2)"},"discCLevel9Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 9, Quantity (SDO DISC_C_LEVEL_9_QTY; Optional; precision 102)"},"discCLevel9Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 9, Rate (SDO DISC_C_LEVEL_9_RATE; Optional; precision 2)"},"discDLevel10Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 10, Quantity (SDO DISC_D_LEVEL_10_QTY; Optional; precision 102)"},"discDLevel10Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 10, Rate (SDO DISC_D_LEVEL_10_RATE; Optional; precision 2)"},"discDLevel1Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 1, Quantity (SDO DISC_D_LEVEL_1_QTY; Optional; precision 102)"},"discDLevel1Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 1, Rate (SDO DISC_D_LEVEL_1_RATE; Optional; precision 2)"},"discDLevel2Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 2, Quantity (SDO DISC_D_LEVEL_2_QTY; Optional; precision 102)"},"discDLevel2Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 2, Rate (SDO DISC_D_LEVEL_2_RATE; Optional; precision 2)"},"discDLevel3Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 3, Quantity (SDO DISC_D_LEVEL_3_QTY; Optional; precision 102)"},"discDLevel3Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 3, Rate (SDO DISC_D_LEVEL_3_RATE; Optional; precision 2)"},"discDLevel4Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 4, Quantity (SDO DISC_D_LEVEL_4_QTY; Optional; precision 102)"},"discDLevel4Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 4, Rate (SDO DISC_D_LEVEL_4_RATE; Optional; precision 2)"},"discDLevel5Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 5, Quantity (SDO DISC_D_LEVEL_5_QTY; Optional; precision 102)"},"discDLevel5Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 5, Rate (SDO DISC_D_LEVEL_5_RATE; Optional; precision 2)"},"discDLevel6Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 6, Quantity (SDO DISC_D_LEVEL_6_QTY; Optional; precision 102)"},"discDLevel6Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 6, Rate (SDO DISC_D_LEVEL_6_RATE; Optional; precision 2)"},"discDLevel7Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 7, Quantity (SDO DISC_D_LEVEL_7_QTY; Optional; precision 102)"},"discDLevel7Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 7, Rate (SDO DISC_D_LEVEL_7_RATE; Optional; precision 2)"},"discDLevel8Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 8, Quantity (SDO DISC_D_LEVEL_8_QTY; Optional; precision 102)"},"discDLevel8Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 8, Rate (SDO DISC_D_LEVEL_8_RATE; Optional; precision 2)"},"discDLevel9Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 9, Quantity (SDO DISC_D_LEVEL_9_QTY; Optional; precision 102)"},"discDLevel9Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 9, Rate (SDO DISC_D_LEVEL_9_RATE; Optional; precision 2)"},"discELevel10Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 10, Quantity (SDO DISC_E_LEVEL_10_QTY; Optional; precision 102)"},"discELevel10Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 10, Rate (SDO DISC_E_LEVEL_10_RATE; Optional; precision 2)"},"discELevel1Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 1, Quantity (SDO DISC_E_LEVEL_1_QTY; Optional; precision 102)"},"discELevel1Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 1, Rate (SDO DISC_E_LEVEL_1_RATE; Optional; precision 2)"},"discELevel2Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 2, Quantity (SDO DISC_E_LEVEL_2_QTY; Optional; precision 102)"},"discELevel2Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 2, Rate (SDO DISC_E_LEVEL_2_RATE; Optional; precision 2)"},"discELevel3Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 3, Quantity (SDO DISC_E_LEVEL_3_QTY; Optional; precision 102)"},"discELevel3Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 3, Rate (SDO DISC_E_LEVEL_3_RATE; Optional; precision 2)"},"discELevel4Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 4, Quantity (SDO DISC_E_LEVEL_4_QTY; Optional; precision 102)"},"discELevel4Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 4, Rate (SDO DISC_E_LEVEL_4_RATE; Optional; precision 2)"},"discELevel5Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 5, Quantity (SDO DISC_E_LEVEL_5_QTY; Optional; precision 102)"},"discELevel5Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 5, Rate (SDO DISC_E_LEVEL_5_RATE; Optional; precision 2)"},"discELevel6Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 6, Quantity (SDO DISC_E_LEVEL_6_QTY; Optional; precision 102)"},"discELevel6Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 6, Rate (SDO DISC_E_LEVEL_6_RATE; Optional; precision 2)"},"discELevel7Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 7, Quantity (SDO DISC_E_LEVEL_7_QTY; Optional; precision 102)"},"discELevel7Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 7, Rate (SDO DISC_E_LEVEL_7_RATE; Optional; precision 2)"},"discELevel8Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 8, Quantity (SDO DISC_E_LEVEL_8_QTY; Optional; precision 102)"},"discELevel8Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 8, Rate (SDO DISC_E_LEVEL_8_RATE; Optional; precision 2)"},"discELevel9Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 9, Quantity (SDO DISC_E_LEVEL_9_QTY; Optional; precision 102)"},"discELevel9Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 9, Rate (SDO DISC_E_LEVEL_9_RATE; Optional; precision 2)"},"externalUsage":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Number of External Usages (SDO EXTERNAL_USAGE; Optional; precision 0)"},"firstTran":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO FIRST_TRAN; Optional; precision 0)"},"ignoreStkLvlFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Ignore stock level flag (SDO IGNORE_STK_LVL_FLAG; Optional; precision 0)"},"inactiveFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Inactive Flag - Yes/No (SDO INACTIVE_FLAG; Optional; precision 0)"},"intrastatCommodityCode":{"type":"string","nullable":true,"maxLength":8,"description":"Intrastat Commodity code (SDO INTRASTAT_COMMODITY_CODE; Optional; precision 0)"},"intrastatImportDutyCode":{"type":"string","nullable":true,"maxLength":2,"description":"Intrastat Import Duty code (SDO INTRASTAT_IMPORT_DUTY_CODE; Optional; precision 0)"},"itemType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Item Type (SDO ITEM_TYPE; Optional; precision 0)"},"lastCostDiscount":{"type":"number","nullable":true,"description":"Last Cost Discounted (SDO LAST_COST_DISCOUNT; Optional; precision 101)"},"lastOrderQuantity":{"type":"number","nullable":true,"description":"Last Order Quantity (SDO LAST_ORDER_QUANTITY; Optional; precision 101)"},"lastPurchaseDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Last purchase date (SDO LAST_PURCHASE_DATE; Optional; precision 0)"},"lastPurchasePrice":{"type":"number","nullable":true,"description":"Last purchase price (SDO LAST_PURCHASE_PRICE; Optional; precision 101)"},"lastSaleDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Last sale date (SDO LAST_SALE_DATE; Optional; precision 0)"},"lastTran":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO LAST_TRAN; Optional; precision 0)"},"lastUpdated":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date of last update (SDO LAST_UPDATED; Optional; precision 0)"},"linkLevel":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Link level (SDO LINK_LEVEL; Optional; precision 0)"},"location":{"type":"string","nullable":true,"maxLength":16,"description":"Location (SDO LOCATION; Optional; precision 0)"},"noOfTran":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO NO_OF_TRAN; Optional; precision 0)"},"nominalCode":{"type":"string","nullable":true,"maxLength":8,"description":"Sales Nominal code (SDO NOMINAL_CODE; Optional; precision 0)"},"priorYrCostBf":{"type":"number","nullable":true,"description":"Prior year brought forward costs (SDO PRIOR_YR_COST_BF; Optional; precision 2)"},"priorYrCostFuture":{"type":"number","nullable":true,"description":"Prior year future costs (SDO PRIOR_YR_COST_FUTURE; Optional; precision 2)"},"priorYrCostMth1":{"type":"number","nullable":true,"description":"Prior year month 1 costs (SDO PRIOR_YR_COST_MTH1; Optional; precision 2)"},"priorYrCostMth10":{"type":"number","nullable":true,"description":"Prior year month 10 costs (SDO PRIOR_YR_COST_MTH10; Optional; precision 2)"},"priorYrCostMth11":{"type":"number","nullable":true,"description":"Prior year month 11 costs (SDO PRIOR_YR_COST_MTH11; Optional; precision 2)"},"priorYrCostMth12":{"type":"number","nullable":true,"description":"Prior year month 12 costs (SDO PRIOR_YR_COST_MTH12; Optional; precision 2)"},"priorYrCostMth2":{"type":"number","nullable":true,"description":"Prior year month 2 costs (SDO PRIOR_YR_COST_MTH2; Optional; precision 2)"},"priorYrCostMth3":{"type":"number","nullable":true,"description":"Prior year month 3 costs (SDO PRIOR_YR_COST_MTH3; Optional; precision 2)"},"priorYrCostMth4":{"type":"number","nullable":true,"description":"Prior year month 4 costs (SDO PRIOR_YR_COST_MTH4; Optional; precision 2)"},"priorYrCostMth5":{"type":"number","nullable":true,"description":"Prior year month 5 costs (SDO PRIOR_YR_COST_MTH5; Optional; precision 2)"},"priorYrCostMth6":{"type":"number","nullable":true,"description":"Prior year month 6 costs (SDO PRIOR_YR_COST_MTH6; Optional; precision 2)"},"priorYrCostMth7":{"type":"number","nullable":true,"description":"Prior year month 7 costs (SDO PRIOR_YR_COST_MTH7; Optional; precision 2)"},"priorYrCostMth8":{"type":"number","nullable":true,"description":"Prior year month 8 costs (SDO PRIOR_YR_COST_MTH8; Optional; precision 2)"},"priorYrCostMth9":{"type":"number","nullable":true,"description":"Prior year month 9 costs (SDO PRIOR_YR_COST_MTH9; Optional; precision 2)"},"priorYrQtySoldBf":{"type":"number","nullable":true,"description":"Prior year brought forward quantity sold (SDO PRIOR_YR_QTY_SOLD_BF; Optional; precision 102)"},"priorYrQtySoldFuture":{"type":"number","nullable":true,"description":"Prior year future quantity sold (SDO PRIOR_YR_QTY_SOLD_FUTURE; Optional; precision 102)"},"priorYrQtySoldMth1":{"type":"number","nullable":true,"description":"Prior year month 1 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH1; Optional; precision 102)"},"priorYrQtySoldMth10":{"type":"number","nullable":true,"description":"Prior year month 10 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH10; Optional; precision 102)"},"priorYrQtySoldMth11":{"type":"number","nullable":true,"description":"Prior year month 11 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH11; Optional; precision 102)"},"priorYrQtySoldMth12":{"type":"number","nullable":true,"description":"Prior year month 12 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH12; Optional; precision 102)"},"priorYrQtySoldMth2":{"type":"number","nullable":true,"description":"Prior year month 2 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH2; Optional; precision 102)"},"priorYrQtySoldMth3":{"type":"number","nullable":true,"description":"Prior year month 3 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH3; Optional; precision 102)"},"priorYrQtySoldMth4":{"type":"number","nullable":true,"description":"Prior year month 4 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH4; Optional; precision 102)"},"priorYrQtySoldMth5":{"type":"number","nullable":true,"description":"Prior year month 5 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH5; Optional; precision 102)"},"priorYrQtySoldMth6":{"type":"number","nullable":true,"description":"Prior year month 6 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH6; Optional; precision 102)"},"priorYrQtySoldMth7":{"type":"number","nullable":true,"description":"Prior year month 7 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH7; Optional; precision 102)"},"priorYrQtySoldMth8":{"type":"number","nullable":true,"description":"Prior year month 8 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH8; Optional; precision 102)"},"priorYrQtySoldMth9":{"type":"number","nullable":true,"description":"Prior year month 9 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH9; Optional; precision 102)"},"priorYrSalesBf":{"type":"number","nullable":true,"description":"Prior year brought forward sales (SDO PRIOR_YR_SALES_BF; Optional; precision 2)"},"priorYrSalesFuture":{"type":"number","nullable":true,"description":"Prior year future sales (SDO PRIOR_YR_SALES_FUTURE; Optional; precision 2)"},"priorYrSalesMth1":{"type":"number","nullable":true,"description":"Prior year month 1 sales (SDO PRIOR_YR_SALES_MTH1; Optional; precision 2)"},"priorYrSalesMth10":{"type":"number","nullable":true,"description":"Prior year month 10 sales (SDO PRIOR_YR_SALES_MTH10; Optional; precision 2)"},"priorYrSalesMth11":{"type":"number","nullable":true,"description":"Prior year month 11 sales (SDO PRIOR_YR_SALES_MTH11; Optional; precision 2)"},"priorYrSalesMth12":{"type":"number","nullable":true,"description":"Prior year month 12 sales (SDO PRIOR_YR_SALES_MTH12; Optional; precision 2)"},"priorYrSalesMth2":{"type":"number","nullable":true,"description":"Prior year month 2 sales (SDO PRIOR_YR_SALES_MTH2; Optional; precision 2)"},"priorYrSalesMth3":{"type":"number","nullable":true,"description":"Prior year month 3 sales (SDO PRIOR_YR_SALES_MTH3; Optional; precision 2)"},"priorYrSalesMth4":{"type":"number","nullable":true,"description":"Prior year month 4 sales (SDO PRIOR_YR_SALES_MTH4; Optional; precision 2)"},"priorYrSalesMth5":{"type":"number","nullable":true,"description":"Prior year month 5 sales (SDO PRIOR_YR_SALES_MTH5; Optional; precision 2)"},"priorYrSalesMth6":{"type":"number","nullable":true,"description":"Prior year month 6 sales (SDO PRIOR_YR_SALES_MTH6; Optional; precision 2)"},"priorYrSalesMth7":{"type":"number","nullable":true,"description":"Prior year month 7 sales (SDO PRIOR_YR_SALES_MTH7; Optional; precision 2)"},"priorYrSalesMth8":{"type":"number","nullable":true,"description":"Prior year month 8 sales (SDO PRIOR_YR_SALES_MTH8; Optional; precision 2)"},"priorYrSalesMth9":{"type":"number","nullable":true,"description":"Prior year month 9 sales (SDO PRIOR_YR_SALES_MTH9; Optional; precision 2)"},"productBarcode":{"type":"string","nullable":true,"maxLength":60,"description":"Barcode (SDO PRODUCT_BARCODE; Optional; precision 0)"},"purchaseNominalCode":{"type":"string","nullable":true,"maxLength":8,"description":"Purchase Nominal code (SDO PURCHASE_NOMINAL_CODE; Optional; precision 0)"},"purchaseRef":{"type":"string","nullable":true,"maxLength":8,"description":"Supplier's account reference (SDO PURCHASE_REF; Optional; precision 0)"},"qtyAllocated":{"type":"number","nullable":true,"description":"Quantity allocated (SDO QTY_ALLOCATED; Optional; precision 102)"},"qtyInStock":{"type":"number","nullable":true,"description":"Quantity in stock (SDO QTY_IN_STOCK; Optional; precision 102)"},"qtyLastOrder":{"type":"number","nullable":true,"description":"Last order quantity (SDO QTY_LAST_ORDER; Optional; precision 102)"},"qtyLastStockTake":{"type":"number","nullable":true,"description":"Last stock take quantity (SDO QTY_LAST_STOCK_TAKE; Optional; precision 102)"},"qtyOnOrder":{"type":"number","nullable":true,"description":"Quantity on order (SDO QTY_ON_ORDER; Optional; precision 102)"},"qtyReorder":{"type":"number","nullable":true,"description":"Reorder quantity (SDO QTY_REORDER; Optional; precision 102)"},"qtyReorderLevel":{"type":"number","nullable":true,"description":"Reorder level (SDO QTY_REORDER_LEVEL; Optional; precision 102)"},"qtySoldBf":{"type":"number","nullable":true,"description":"Brought forward quantity sold (SDO QTY_SOLD_BF; Optional; precision 102)"},"qtySoldFuture":{"type":"number","nullable":true,"description":"Future quantity sold (SDO QTY_SOLD_FUTURE; Optional; precision 102)"},"qtySoldMth1":{"type":"number","nullable":true,"description":"Month 1 quantity sold (SDO QTY_SOLD_MTH1; Optional; precision 102)"},"qtySoldMth10":{"type":"number","nullable":true,"description":"Month 10 quantity sold (SDO QTY_SOLD_MTH10; Optional; precision 102)"},"qtySoldMth11":{"type":"number","nullable":true,"description":"Month 11 quantity sold (SDO QTY_SOLD_MTH11; Optional; precision 102)"},"qtySoldMth12":{"type":"number","nullable":true,"description":"Month 12 quantity sold (SDO QTY_SOLD_MTH12; Optional; precision 102)"},"qtySoldMth2":{"type":"number","nullable":true,"description":"Month 2 quantity sold (SDO QTY_SOLD_MTH2; Optional; precision 102)"},"qtySoldMth3":{"type":"number","nullable":true,"description":"Month 3 quantity sold (SDO QTY_SOLD_MTH3; Optional; precision 102)"},"qtySoldMth4":{"type":"number","nullable":true,"description":"Month 4 quantity sold (SDO QTY_SOLD_MTH4; Optional; precision 102)"},"qtySoldMth5":{"type":"number","nullable":true,"description":"Month 5 quantity sold (SDO QTY_SOLD_MTH5; Optional; precision 102)"},"qtySoldMth6":{"type":"number","nullable":true,"description":"Month 6 quantity sold (SDO QTY_SOLD_MTH6; Optional; precision 102)"},"qtySoldMth7":{"type":"number","nullable":true,"description":"Month 7 quantity sold (SDO QTY_SOLD_MTH7; Optional; precision 102)"},"qtySoldMth8":{"type":"number","nullable":true,"description":"Month 8 quantity sold (SDO QTY_SOLD_MTH8; Optional; precision 102)"},"qtySoldMth9":{"type":"number","nullable":true,"description":"Month 9 quantity sold (SDO QTY_SOLD_MTH9; Optional; precision 102)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"salesBf":{"type":"number","nullable":true,"description":"Brought forward sales (SDO SALES_BF; Optional; precision 2)"},"salesFuture":{"type":"number","nullable":true,"description":"Future sales (SDO SALES_FUTURE; Optional; precision 2)"},"salesMth1":{"type":"number","nullable":true,"description":"Month 1 sales (SDO SALES_MTH1; Optional; precision 2)"},"salesMth10":{"type":"number","nullable":true,"description":"Month 10 sales (SDO SALES_MTH10; Optional; precision 2)"},"salesMth11":{"type":"number","nullable":true,"description":"Month 11 sales (SDO SALES_MTH11; Optional; precision 2)"},"salesMth12":{"type":"number","nullable":true,"description":"Month 12 sales (SDO SALES_MTH12; Optional; precision 2)"},"salesMth2":{"type":"number","nullable":true,"description":"Month 2 sales (SDO SALES_MTH2; Optional; precision 2)"},"salesMth3":{"type":"number","nullable":true,"description":"Month 3 sales (SDO SALES_MTH3; Optional; precision 2)"},"salesMth4":{"type":"number","nullable":true,"description":"Month 4 sales (SDO SALES_MTH4; Optional; precision 2)"},"salesMth5":{"type":"number","nullable":true,"description":"Month 5 sales (SDO SALES_MTH5; Optional; precision 2)"},"salesMth6":{"type":"number","nullable":true,"description":"Month 6 sales (SDO SALES_MTH6; Optional; precision 2)"},"salesMth7":{"type":"number","nullable":true,"description":"Month 7 sales (SDO SALES_MTH7; Optional; precision 2)"},"salesMth8":{"type":"number","nullable":true,"description":"Month 8 sales (SDO SALES_MTH8; Optional; precision 2)"},"salesMth9":{"type":"number","nullable":true,"description":"Month 9 sales (SDO SALES_MTH9; Optional; precision 2)"},"salesPrice":{"type":"number","nullable":true,"description":"Sale price (SDO SALES_PRICE; Optional; precision 101)"},"stockCat":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Stock category number (SDO STOCK_CAT; Optional; precision 0)"},"stockCode":{"type":"string","nullable":true,"maxLength":30,"description":"Product code (SDO STOCK_CODE; Required; precision 0)"},"stockTakeDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Stock take date (SDO STOCK_TAKE_DATE; Optional; precision 0)"},"suppUnitQty":{"type":"number","nullable":true,"description":"Supplementary Unit Quantity (SDO SUPP_UNIT_QTY; Optional; precision 0)"},"supplierPartNumber":{"type":"string","nullable":true,"maxLength":16,"description":"Supplier's part number (SDO SUPPLIER_PART_NUMBER; Optional; precision 0)"},"taxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax code (0 to 99) (SDO TAX_CODE; Optional; precision 0)"},"unitOfSale":{"type":"string","nullable":true,"maxLength":8,"description":"Unit of sale (SDO UNIT_OF_SALE; Optional; precision 0)"},"unitWeight":{"type":"number","nullable":true,"description":"Unit weight (SDO UNIT_WEIGHT; Optional; precision 2)"},"webDescription":{"type":"string","nullable":true,"maxLength":255,"description":"Web Description (SDO WEB_DESCRIPTION; Optional; precision 0)"},"webImage":{"type":"string","nullable":true,"maxLength":60,"description":"Web Image Filename (SDO WEB_IMAGE; Optional; precision 0)"},"webLongdescription":{"type":"string","nullable":true,"maxLength":1023,"description":"Web Long Description (SDO WEB_LONGDESCRIPTION; Optional; precision 0)"},"webPublish":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Web Publish Flag (SDO WEB_PUBLISH; Optional; precision 0)"},"webSpecialOffer":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Web Special Offer (SDO WEB_SPECIAL_OFFER; Optional; precision 0)"},"id":{"type":"string"}},"required":["assemblyLevel","averageCostPrice","budgetQtySoldBf","budgetQtySoldFuture","budgetQtySoldMth1","budgetQtySoldMth10","budgetQtySoldMth11","budgetQtySoldMth12","budgetQtySoldMth2","budgetQtySoldMth3","budgetQtySoldMth4","budgetQtySoldMth5","budgetQtySoldMth6","budgetQtySoldMth7","budgetQtySoldMth8","budgetQtySoldMth9","budgetSalesBf","budgetSalesFuture","budgetSalesMth1","budgetSalesMth10","budgetSalesMth11","budgetSalesMth12","budgetSalesMth2","budgetSalesMth3","budgetSalesMth4","budgetSalesMth5","budgetSalesMth6","budgetSalesMth7","budgetSalesMth8","budgetSalesMth9","commodityCode","componentCode1","componentCode10","componentCode11","componentCode12","componentCode13","componentCode14","componentCode15","componentCode16","componentCode17","componentCode18","componentCode19","componentCode2","componentCode20","componentCode21","componentCode22","componentCode23","componentCode24","componentCode25","componentCode26","componentCode27","componentCode28","componentCode29","componentCode3","componentCode30","componentCode31","componentCode32","componentCode33","componentCode34","componentCode35","componentCode36","componentCode37","componentCode38","componentCode39","componentCode4","componentCode40","componentCode41","componentCode42","componentCode43","componentCode44","componentCode45","componentCode46","componentCode47","componentCode48","componentCode49","componentCode5","componentCode50","componentCode6","componentCode7","componentCode8","componentCode9","componentQty1","componentQty10","componentQty11","componentQty12","componentQty13","componentQty14","componentQty15","componentQty16","componentQty17","componentQty18","componentQty19","componentQty2","componentQty20","componentQty21","componentQty22","componentQty23","componentQty24","componentQty25","componentQty26","componentQty27","componentQty28","componentQty29","componentQty3","componentQty30","componentQty31","componentQty32","componentQty33","componentQty34","componentQty35","componentQty36","componentQty37","componentQty38","componentQty39","componentQty4","componentQty40","componentQty41","componentQty42","componentQty43","componentQty44","componentQty45","componentQty46","componentQty47","componentQty48","componentQty49","componentQty5","componentQty50","componentQty6","componentQty7","componentQty8","componentQty9","costBf","costFuture","costMth1","costMth10","costMth11","costMth12","costMth2","costMth3","costMth4","costMth5","costMth6","costMth7","costMth8","costMth9","countryCodeOfOrigin","custom1","custom2","custom3","deletedFlag","deptNumber","description","discALevel10Qty","discALevel10Rate","discALevel1Qty","discALevel1Rate","discALevel2Qty","discALevel2Rate","discALevel3Qty","discALevel3Rate","discALevel4Qty","discALevel4Rate","discALevel5Qty","discALevel5Rate","discALevel6Qty","discALevel6Rate","discALevel7Qty","discALevel7Rate","discALevel8Qty","discALevel8Rate","discALevel9Qty","discALevel9Rate","discBLevel10Qty","discBLevel10Rate","discBLevel1Qty","discBLevel1Rate","discBLevel2Qty","discBLevel2Rate","discBLevel3Qty","discBLevel3Rate","discBLevel4Qty","discBLevel4Rate","discBLevel5Qty","discBLevel5Rate","discBLevel6Qty","discBLevel6Rate","discBLevel7Qty","discBLevel7Rate","discBLevel8Qty","discBLevel8Rate","discBLevel9Qty","discBLevel9Rate","discCLevel10Qty","discCLevel10Rate","discCLevel1Qty","discCLevel1Rate","discCLevel2Qty","discCLevel2Rate","discCLevel3Qty","discCLevel3Rate","discCLevel4Qty","discCLevel4Rate","discCLevel5Qty","discCLevel5Rate","discCLevel6Qty","discCLevel6Rate","discCLevel7Qty","discCLevel7Rate","discCLevel8Qty","discCLevel8Rate","discCLevel9Qty","discCLevel9Rate","discDLevel10Qty","discDLevel10Rate","discDLevel1Qty","discDLevel1Rate","discDLevel2Qty","discDLevel2Rate","discDLevel3Qty","discDLevel3Rate","discDLevel4Qty","discDLevel4Rate","discDLevel5Qty","discDLevel5Rate","discDLevel6Qty","discDLevel6Rate","discDLevel7Qty","discDLevel7Rate","discDLevel8Qty","discDLevel8Rate","discDLevel9Qty","discDLevel9Rate","discELevel10Qty","discELevel10Rate","discELevel1Qty","discELevel1Rate","discELevel2Qty","discELevel2Rate","discELevel3Qty","discELevel3Rate","discELevel4Qty","discELevel4Rate","discELevel5Qty","discELevel5Rate","discELevel6Qty","discELevel6Rate","discELevel7Qty","discELevel7Rate","discELevel8Qty","discELevel8Rate","discELevel9Qty","discELevel9Rate","externalUsage","firstTran","ignoreStkLvlFlag","inactiveFlag","intrastatCommodityCode","intrastatImportDutyCode","itemType","lastCostDiscount","lastOrderQuantity","lastPurchaseDate","lastPurchasePrice","lastSaleDate","lastTran","lastUpdated","linkLevel","location","noOfTran","nominalCode","priorYrCostBf","priorYrCostFuture","priorYrCostMth1","priorYrCostMth10","priorYrCostMth11","priorYrCostMth12","priorYrCostMth2","priorYrCostMth3","priorYrCostMth4","priorYrCostMth5","priorYrCostMth6","priorYrCostMth7","priorYrCostMth8","priorYrCostMth9","priorYrQtySoldBf","priorYrQtySoldFuture","priorYrQtySoldMth1","priorYrQtySoldMth10","priorYrQtySoldMth11","priorYrQtySoldMth12","priorYrQtySoldMth2","priorYrQtySoldMth3","priorYrQtySoldMth4","priorYrQtySoldMth5","priorYrQtySoldMth6","priorYrQtySoldMth7","priorYrQtySoldMth8","priorYrQtySoldMth9","priorYrSalesBf","priorYrSalesFuture","priorYrSalesMth1","priorYrSalesMth10","priorYrSalesMth11","priorYrSalesMth12","priorYrSalesMth2","priorYrSalesMth3","priorYrSalesMth4","priorYrSalesMth5","priorYrSalesMth6","priorYrSalesMth7","priorYrSalesMth8","priorYrSalesMth9","productBarcode","purchaseNominalCode","purchaseRef","qtyAllocated","qtyInStock","qtyLastOrder","qtyLastStockTake","qtyOnOrder","qtyReorder","qtyReorderLevel","qtySoldBf","qtySoldFuture","qtySoldMth1","qtySoldMth10","qtySoldMth11","qtySoldMth12","qtySoldMth2","qtySoldMth3","qtySoldMth4","qtySoldMth5","qtySoldMth6","qtySoldMth7","qtySoldMth8","qtySoldMth9","recordCreateDate","recordDeleted","recordModifyDate","salesBf","salesFuture","salesMth1","salesMth10","salesMth11","salesMth12","salesMth2","salesMth3","salesMth4","salesMth5","salesMth6","salesMth7","salesMth8","salesMth9","salesPrice","stockCat","stockCode","stockTakeDate","suppUnitQty","supplierPartNumber","taxCode","unitOfSale","unitWeight","webDescription","webImage","webLongdescription","webPublish","webSpecialOffer","id"],"additionalProperties":false},"Uk27_2_items_get":{"type":"object","properties":{"assemblyLevel":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Assembly level (SDO ASSEMBLY_LEVEL; Optional; precision 0)"},"averageCostPrice":{"type":"number","nullable":true,"description":"Average cost price (SDO AVERAGE_COST_PRICE; Optional; precision 101)"},"budgetQtySoldBf":{"type":"number","nullable":true,"description":"Brought forward budget quantity sold (SDO BUDGET_QTY_SOLD_BF; Optional; precision 102)"},"budgetQtySoldFuture":{"type":"number","nullable":true,"description":"Future budget quantity sold (SDO BUDGET_QTY_SOLD_FUTURE; Optional; precision 102)"},"budgetQtySoldMth1":{"type":"number","nullable":true,"description":"Month 1 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH1; Optional; precision 102)"},"budgetQtySoldMth10":{"type":"number","nullable":true,"description":"Month 10 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH10; Optional; precision 102)"},"budgetQtySoldMth11":{"type":"number","nullable":true,"description":"Month 11 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH11; Optional; precision 102)"},"budgetQtySoldMth12":{"type":"number","nullable":true,"description":"Month 12 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH12; Optional; precision 102)"},"budgetQtySoldMth2":{"type":"number","nullable":true,"description":"Month 2 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH2; Optional; precision 102)"},"budgetQtySoldMth3":{"type":"number","nullable":true,"description":"Month 3 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH3; Optional; precision 102)"},"budgetQtySoldMth4":{"type":"number","nullable":true,"description":"Month 4 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH4; Optional; precision 102)"},"budgetQtySoldMth5":{"type":"number","nullable":true,"description":"Month 5 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH5; Optional; precision 102)"},"budgetQtySoldMth6":{"type":"number","nullable":true,"description":"Month 6 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH6; Optional; precision 102)"},"budgetQtySoldMth7":{"type":"number","nullable":true,"description":"Month 7 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH7; Optional; precision 102)"},"budgetQtySoldMth8":{"type":"number","nullable":true,"description":"Month 8 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH8; Optional; precision 102)"},"budgetQtySoldMth9":{"type":"number","nullable":true,"description":"Month 9 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH9; Optional; precision 102)"},"budgetSalesBf":{"type":"number","nullable":true,"description":"Brought forward budget sales (SDO BUDGET_SALES_BF; Optional; precision 2)"},"budgetSalesFuture":{"type":"number","nullable":true,"description":"Future budget sales (SDO BUDGET_SALES_FUTURE; Optional; precision 2)"},"budgetSalesMth1":{"type":"number","nullable":true,"description":"Month 1 budget sales (SDO BUDGET_SALES_MTH1; Optional; precision 2)"},"budgetSalesMth10":{"type":"number","nullable":true,"description":"Month 10 budget sales (SDO BUDGET_SALES_MTH10; Optional; precision 2)"},"budgetSalesMth11":{"type":"number","nullable":true,"description":"Month 11 budget sales (SDO BUDGET_SALES_MTH11; Optional; precision 2)"},"budgetSalesMth12":{"type":"number","nullable":true,"description":"Month 12 budget sales (SDO BUDGET_SALES_MTH12; Optional; precision 2)"},"budgetSalesMth2":{"type":"number","nullable":true,"description":"Month 2 budget sales (SDO BUDGET_SALES_MTH2; Optional; precision 2)"},"budgetSalesMth3":{"type":"number","nullable":true,"description":"Month 3 budget sales (SDO BUDGET_SALES_MTH3; Optional; precision 2)"},"budgetSalesMth4":{"type":"number","nullable":true,"description":"Month 4 budget sales (SDO BUDGET_SALES_MTH4; Optional; precision 2)"},"budgetSalesMth5":{"type":"number","nullable":true,"description":"Month 5 budget sales (SDO BUDGET_SALES_MTH5; Optional; precision 2)"},"budgetSalesMth6":{"type":"number","nullable":true,"description":"Month 6 budget sales (SDO BUDGET_SALES_MTH6; Optional; precision 2)"},"budgetSalesMth7":{"type":"number","nullable":true,"description":"Month 7 budget sales (SDO BUDGET_SALES_MTH7; Optional; precision 2)"},"budgetSalesMth8":{"type":"number","nullable":true,"description":"Month 8 budget sales (SDO BUDGET_SALES_MTH8; Optional; precision 2)"},"budgetSalesMth9":{"type":"number","nullable":true,"description":"Month 9 budget sales (SDO BUDGET_SALES_MTH9; Optional; precision 2)"},"commodityCode":{"type":"string","nullable":true,"maxLength":30,"description":"Commodity code description (SDO COMMODITY_CODE; Optional; precision 0)"},"componentCode1":{"type":"string","nullable":true,"maxLength":30,"description":"Component 1 stock code (SDO COMPONENT_CODE_1; Optional; precision 0)"},"componentCode10":{"type":"string","nullable":true,"maxLength":30,"description":"Component 10 stock code (SDO COMPONENT_CODE_10; Optional; precision 0)"},"componentCode11":{"type":"string","nullable":true,"maxLength":30,"description":"Component 11 stock code (SDO COMPONENT_Code_11; Optional; precision 0)"},"componentCode12":{"type":"string","nullable":true,"maxLength":30,"description":"Component 12 stock code (SDO COMPONENT_Code_12; Optional; precision 0)"},"componentCode13":{"type":"string","nullable":true,"maxLength":30,"description":"Component 13 stock code (SDO COMPONENT_Code_13; Optional; precision 0)"},"componentCode14":{"type":"string","nullable":true,"maxLength":30,"description":"Component 14 stock code (SDO COMPONENT_Code_14; Optional; precision 0)"},"componentCode15":{"type":"string","nullable":true,"maxLength":30,"description":"Component 15 stock code (SDO COMPONENT_Code_15; Optional; precision 0)"},"componentCode16":{"type":"string","nullable":true,"maxLength":30,"description":"Component 16 stock code (SDO COMPONENT_Code_16; Optional; precision 0)"},"componentCode17":{"type":"string","nullable":true,"maxLength":30,"description":"Component 17 stock code (SDO COMPONENT_Code_17; Optional; precision 0)"},"componentCode18":{"type":"string","nullable":true,"maxLength":30,"description":"Component 18 stock code (SDO COMPONENT_Code_18; Optional; precision 0)"},"componentCode19":{"type":"string","nullable":true,"maxLength":30,"description":"Component 19 stock code (SDO COMPONENT_Code_19; Optional; precision 0)"},"componentCode2":{"type":"string","nullable":true,"maxLength":30,"description":"Component 2 stock code (SDO COMPONENT_CODE_2; Optional; precision 0)"},"componentCode20":{"type":"string","nullable":true,"maxLength":30,"description":"Component 20 stock code (SDO COMPONENT_CODE_20; Optional; precision 0)"},"componentCode21":{"type":"string","nullable":true,"maxLength":30,"description":"Component 21 stock code (SDO COMPONENT_Code_21; Optional; precision 0)"},"componentCode22":{"type":"string","nullable":true,"maxLength":30,"description":"Component 22 stock code (SDO COMPONENT_Code_22; Optional; precision 0)"},"componentCode23":{"type":"string","nullable":true,"maxLength":30,"description":"Component 23 stock code (SDO COMPONENT_Code_23; Optional; precision 0)"},"componentCode24":{"type":"string","nullable":true,"maxLength":30,"description":"Component 24 stock code (SDO COMPONENT_Code_24; Optional; precision 0)"},"componentCode25":{"type":"string","nullable":true,"maxLength":30,"description":"Component 25 stock code (SDO COMPONENT_Code_25; Optional; precision 0)"},"componentCode26":{"type":"string","nullable":true,"maxLength":30,"description":"Component 26 stock code (SDO COMPONENT_Code_26; Optional; precision 0)"},"componentCode27":{"type":"string","nullable":true,"maxLength":30,"description":"Component 27 stock code (SDO COMPONENT_Code_27; Optional; precision 0)"},"componentCode28":{"type":"string","nullable":true,"maxLength":30,"description":"Component 28 stock code (SDO COMPONENT_Code_28; Optional; precision 0)"},"componentCode29":{"type":"string","nullable":true,"maxLength":30,"description":"Component 29 stock code (SDO COMPONENT_Code_29; Optional; precision 0)"},"componentCode3":{"type":"string","nullable":true,"maxLength":30,"description":"Component 3 stock code (SDO COMPONENT_CODE_3; Optional; precision 0)"},"componentCode30":{"type":"string","nullable":true,"maxLength":30,"description":"Component 30 stock code (SDO COMPONENT_CODE_30; Optional; precision 0)"},"componentCode31":{"type":"string","nullable":true,"maxLength":30,"description":"Component 31 stock code (SDO COMPONENT_Code_31; Optional; precision 0)"},"componentCode32":{"type":"string","nullable":true,"maxLength":30,"description":"Component 32 stock code (SDO COMPONENT_Code_32; Optional; precision 0)"},"componentCode33":{"type":"string","nullable":true,"maxLength":30,"description":"Component 33 stock code (SDO COMPONENT_Code_33; Optional; precision 0)"},"componentCode34":{"type":"string","nullable":true,"maxLength":30,"description":"Component 34 stock code (SDO COMPONENT_Code_34; Optional; precision 0)"},"componentCode35":{"type":"string","nullable":true,"maxLength":30,"description":"Component 35 stock code (SDO COMPONENT_Code_35; Optional; precision 0)"},"componentCode36":{"type":"string","nullable":true,"maxLength":30,"description":"Component 36 stock code (SDO COMPONENT_Code_36; Optional; precision 0)"},"componentCode37":{"type":"string","nullable":true,"maxLength":30,"description":"Component 37 stock code (SDO COMPONENT_Code_37; Optional; precision 0)"},"componentCode38":{"type":"string","nullable":true,"maxLength":30,"description":"Component 38 stock code (SDO COMPONENT_Code_38; Optional; precision 0)"},"componentCode39":{"type":"string","nullable":true,"maxLength":30,"description":"Component 39 stock code (SDO COMPONENT_Code_39; Optional; precision 0)"},"componentCode4":{"type":"string","nullable":true,"maxLength":30,"description":"Component 4 stock code (SDO COMPONENT_CODE_4; Optional; precision 0)"},"componentCode40":{"type":"string","nullable":true,"maxLength":30,"description":"Component 40 stock code (SDO COMPONENT_CODE_40; Optional; precision 0)"},"componentCode41":{"type":"string","nullable":true,"maxLength":30,"description":"Component 41 stock code (SDO COMPONENT_Code_41; Optional; precision 0)"},"componentCode42":{"type":"string","nullable":true,"maxLength":30,"description":"Component 42 stock code (SDO COMPONENT_Code_42; Optional; precision 0)"},"componentCode43":{"type":"string","nullable":true,"maxLength":30,"description":"Component 43 stock code (SDO COMPONENT_Code_43; Optional; precision 0)"},"componentCode44":{"type":"string","nullable":true,"maxLength":30,"description":"Component 44 stock code (SDO COMPONENT_Code_44; Optional; precision 0)"},"componentCode45":{"type":"string","nullable":true,"maxLength":30,"description":"Component 45 stock code (SDO COMPONENT_Code_45; Optional; precision 0)"},"componentCode46":{"type":"string","nullable":true,"maxLength":30,"description":"Component 46 stock code (SDO COMPONENT_Code_46; Optional; precision 0)"},"componentCode47":{"type":"string","nullable":true,"maxLength":30,"description":"Component 47 stock code (SDO COMPONENT_Code_47; Optional; precision 0)"},"componentCode48":{"type":"string","nullable":true,"maxLength":30,"description":"Component 48 stock code (SDO COMPONENT_Code_48; Optional; precision 0)"},"componentCode49":{"type":"string","nullable":true,"maxLength":30,"description":"Component 49 stock code (SDO COMPONENT_Code_49; Optional; precision 0)"},"componentCode5":{"type":"string","nullable":true,"maxLength":30,"description":"Component 5 stock code (SDO COMPONENT_CODE_5; Optional; precision 0)"},"componentCode50":{"type":"string","nullable":true,"maxLength":30,"description":"Component 50 stock code (SDO COMPONENT_Code_50; Optional; precision 0)"},"componentCode6":{"type":"string","nullable":true,"maxLength":30,"description":"Component 6 stock code (SDO COMPONENT_CODE_6; Optional; precision 0)"},"componentCode7":{"type":"string","nullable":true,"maxLength":30,"description":"Component 7 stock code (SDO COMPONENT_CODE_7; Optional; precision 0)"},"componentCode8":{"type":"string","nullable":true,"maxLength":30,"description":"Component 8 stock code (SDO COMPONENT_CODE_8; Optional; precision 0)"},"componentCode9":{"type":"string","nullable":true,"maxLength":30,"description":"Component 9 stock code (SDO COMPONENT_CODE_9; Optional; precision 0)"},"componentQty1":{"type":"number","nullable":true,"description":"Component 1 quantity (SDO COMPONENT_QTY_1; Optional; precision 102)"},"componentQty10":{"type":"number","nullable":true,"description":"Component 10 quantity (SDO COMPONENT_QTY_10; Optional; precision 102)"},"componentQty11":{"type":"number","nullable":true,"description":"Component 11 quantity (SDO COMPONENT_QTY_11; Optional; precision 102)"},"componentQty12":{"type":"number","nullable":true,"description":"Component 12 quantity (SDO COMPONENT_QTY_12; Optional; precision 102)"},"componentQty13":{"type":"number","nullable":true,"description":"Component 13 quantity (SDO COMPONENT_QTY_13; Optional; precision 102)"},"componentQty14":{"type":"number","nullable":true,"description":"Component 14 quantity (SDO COMPONENT_QTY_14; Optional; precision 102)"},"componentQty15":{"type":"number","nullable":true,"description":"Component 15 quantity (SDO COMPONENT_QTY_15; Optional; precision 102)"},"componentQty16":{"type":"number","nullable":true,"description":"Component 16 quantity (SDO COMPONENT_QTY_16; Optional; precision 102)"},"componentQty17":{"type":"number","nullable":true,"description":"Component 17 quantity (SDO COMPONENT_QTY_17; Optional; precision 102)"},"componentQty18":{"type":"number","nullable":true,"description":"Component 18 quantity (SDO COMPONENT_QTY_18; Optional; precision 102)"},"componentQty19":{"type":"number","nullable":true,"description":"Component 19 quantity (SDO COMPONENT_QTY_19; Optional; precision 102)"},"componentQty2":{"type":"number","nullable":true,"description":"Component 2 quantity (SDO COMPONENT_QTY_2; Optional; precision 102)"},"componentQty20":{"type":"number","nullable":true,"description":"Component 20 quantity (SDO COMPONENT_QTY_20; Optional; precision 102)"},"componentQty21":{"type":"number","nullable":true,"description":"Component 21 quantity (SDO COMPONENT_QTY_21; Optional; precision 102)"},"componentQty22":{"type":"number","nullable":true,"description":"Component 22 quantity (SDO COMPONENT_QTY_22; Optional; precision 102)"},"componentQty23":{"type":"number","nullable":true,"description":"Component 23 quantity (SDO COMPONENT_QTY_23; Optional; precision 102)"},"componentQty24":{"type":"number","nullable":true,"description":"Component 24 quantity (SDO COMPONENT_QTY_24; Optional; precision 102)"},"componentQty25":{"type":"number","nullable":true,"description":"Component 25 quantity (SDO COMPONENT_QTY_25; Optional; precision 102)"},"componentQty26":{"type":"number","nullable":true,"description":"Component 26 quantity (SDO COMPONENT_QTY_26; Optional; precision 102)"},"componentQty27":{"type":"number","nullable":true,"description":"Component 27 quantity (SDO COMPONENT_QTY_27; Optional; precision 102)"},"componentQty28":{"type":"number","nullable":true,"description":"Component 28 quantity (SDO COMPONENT_QTY_28; Optional; precision 102)"},"componentQty29":{"type":"number","nullable":true,"description":"Component 29 quantity (SDO COMPONENT_QTY_29; Optional; precision 102)"},"componentQty3":{"type":"number","nullable":true,"description":"Component 3 quantity (SDO COMPONENT_QTY_3; Optional; precision 102)"},"componentQty30":{"type":"number","nullable":true,"description":"Component 30 quantity (SDO COMPONENT_QTY_30; Optional; precision 102)"},"componentQty31":{"type":"number","nullable":true,"description":"Component 31 quantity (SDO COMPONENT_QTY_31; Optional; precision 102)"},"componentQty32":{"type":"number","nullable":true,"description":"Component 32 quantity (SDO COMPONENT_QTY_32; Optional; precision 102)"},"componentQty33":{"type":"number","nullable":true,"description":"Component 33 quantity (SDO COMPONENT_QTY_33; Optional; precision 102)"},"componentQty34":{"type":"number","nullable":true,"description":"Component 34 quantity (SDO COMPONENT_QTY_34; Optional; precision 102)"},"componentQty35":{"type":"number","nullable":true,"description":"Component 35 quantity (SDO COMPONENT_QTY_35; Optional; precision 102)"},"componentQty36":{"type":"number","nullable":true,"description":"Component 36 quantity (SDO COMPONENT_QTY_36; Optional; precision 102)"},"componentQty37":{"type":"number","nullable":true,"description":"Component 37 quantity (SDO COMPONENT_QTY_37; Optional; precision 102)"},"componentQty38":{"type":"number","nullable":true,"description":"Component 38 quantity (SDO COMPONENT_QTY_38; Optional; precision 102)"},"componentQty39":{"type":"number","nullable":true,"description":"Component 39 quantity (SDO COMPONENT_QTY_39; Optional; precision 102)"},"componentQty4":{"type":"number","nullable":true,"description":"Component 4 quantity (SDO COMPONENT_QTY_4; Optional; precision 102)"},"componentQty40":{"type":"number","nullable":true,"description":"Component 40 quantity (SDO COMPONENT_QTY_40; Optional; precision 102)"},"componentQty41":{"type":"number","nullable":true,"description":"Component 41 quantity (SDO COMPONENT_QTY_41; Optional; precision 102)"},"componentQty42":{"type":"number","nullable":true,"description":"Component 42 quantity (SDO COMPONENT_QTY_42; Optional; precision 102)"},"componentQty43":{"type":"number","nullable":true,"description":"Component 43 quantity (SDO COMPONENT_QTY_43; Optional; precision 102)"},"componentQty44":{"type":"number","nullable":true,"description":"Component 44 quantity (SDO COMPONENT_QTY_44; Optional; precision 102)"},"componentQty45":{"type":"number","nullable":true,"description":"Component 45 quantity (SDO COMPONENT_QTY_45; Optional; precision 102)"},"componentQty46":{"type":"number","nullable":true,"description":"Component 46 quantity (SDO COMPONENT_QTY_46; Optional; precision 102)"},"componentQty47":{"type":"number","nullable":true,"description":"Component 47 quantity (SDO COMPONENT_QTY_47; Optional; precision 102)"},"componentQty48":{"type":"number","nullable":true,"description":"Component 48 quantity (SDO COMPONENT_QTY_48; Optional; precision 102)"},"componentQty49":{"type":"number","nullable":true,"description":"Component 49 quantity (SDO COMPONENT_QTY_49; Optional; precision 102)"},"componentQty5":{"type":"number","nullable":true,"description":"Component 5 quantity (SDO COMPONENT_QTY_5; Optional; precision 102)"},"componentQty50":{"type":"number","nullable":true,"description":"Component 50 quantity (SDO COMPONENT_QTY_50; Optional; precision 102)"},"componentQty6":{"type":"number","nullable":true,"description":"Component 6 quantity (SDO COMPONENT_QTY_6; Optional; precision 102)"},"componentQty7":{"type":"number","nullable":true,"description":"Component 7 quantity (SDO COMPONENT_QTY_7; Optional; precision 102)"},"componentQty8":{"type":"number","nullable":true,"description":"Component 8 quantity (SDO COMPONENT_QTY_8; Optional; precision 102)"},"componentQty9":{"type":"number","nullable":true,"description":"Component 9 quantity (SDO COMPONENT_QTY_9; Optional; precision 102)"},"costBf":{"type":"number","nullable":true,"description":"Brought forward costs (SDO COST_BF; Optional; precision 2)"},"costFuture":{"type":"number","nullable":true,"description":"Future costs (SDO COST_FUTURE; Optional; precision 2)"},"costMth1":{"type":"number","nullable":true,"description":"Month 1 costs (SDO COST_MTH1; Optional; precision 2)"},"costMth10":{"type":"number","nullable":true,"description":"Month 10 costs (SDO COST_MTH10; Optional; precision 2)"},"costMth11":{"type":"number","nullable":true,"description":"Month 11 costs (SDO COST_MTH11; Optional; precision 2)"},"costMth12":{"type":"number","nullable":true,"description":"Month 12 costs (SDO COST_MTH12; Optional; precision 2)"},"costMth2":{"type":"number","nullable":true,"description":"Month 2 costs (SDO COST_MTH2; Optional; precision 2)"},"costMth3":{"type":"number","nullable":true,"description":"Month 3 costs (SDO COST_MTH3; Optional; precision 2)"},"costMth4":{"type":"number","nullable":true,"description":"Month 4 costs (SDO COST_MTH4; Optional; precision 2)"},"costMth5":{"type":"number","nullable":true,"description":"Month 5 costs (SDO COST_MTH5; Optional; precision 2)"},"costMth6":{"type":"number","nullable":true,"description":"Month 6 costs (SDO COST_MTH6; Optional; precision 2)"},"costMth7":{"type":"number","nullable":true,"description":"Month 7 costs (SDO COST_MTH7; Optional; precision 2)"},"costMth8":{"type":"number","nullable":true,"description":"Month 8 costs (SDO COST_MTH8; Optional; precision 2)"},"costMth9":{"type":"number","nullable":true,"description":"Month 9 costs (SDO COST_MTH9; Optional; precision 2)"},"countryCodeOfOrigin":{"type":"string","nullable":true,"maxLength":2,"description":"Country of Origin (SDO COUNTRY_CODE_OF_ORIGIN; Optional; precision 0)"},"custom1":{"type":"string","nullable":true,"maxLength":60,"description":"Custom Field 1 (SDO CUSTOM_1; Optional; precision 0)"},"custom2":{"type":"string","nullable":true,"maxLength":60,"description":"Custom Field 2 (SDO CUSTOM_2; Optional; precision 0)"},"custom3":{"type":"string","nullable":true,"maxLength":60,"description":"Custom Field 3 (SDO CUSTOM_3; Optional; precision 0)"},"deletedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Is Deleted (SDO DELETED_FLAG; Optional; precision 0)"},"deptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Department number (SDO DEPT_NUMBER; Optional; precision 0)"},"description":{"type":"string","nullable":true,"maxLength":60,"description":"Description (SDO DESCRIPTION; Optional; precision 0)"},"discALevel10Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 10, Quantity (SDO DISC_A_LEVEL_10_QTY; Optional; precision 102)"},"discALevel10Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 10, Rate (SDO DISC_A_LEVEL_10_RATE; Optional; precision 2)"},"discALevel1Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 1, Quantity (SDO DISC_A_LEVEL_1_QTY; Optional; precision 102)"},"discALevel1Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 1, Rate (SDO DISC_A_LEVEL_1_RATE; Optional; precision 2)"},"discALevel2Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 2, Quantity (SDO DISC_A_LEVEL_2_QTY; Optional; precision 102)"},"discALevel2Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 2, Rate (SDO DISC_A_LEVEL_2_RATE; Optional; precision 2)"},"discALevel3Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 3, Quantity (SDO DISC_A_LEVEL_3_QTY; Optional; precision 102)"},"discALevel3Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 3, Rate (SDO DISC_A_LEVEL_3_RATE; Optional; precision 2)"},"discALevel4Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 4, Quantity (SDO DISC_A_LEVEL_4_QTY; Optional; precision 102)"},"discALevel4Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 4, Rate (SDO DISC_A_LEVEL_4_RATE; Optional; precision 2)"},"discALevel5Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 5, Quantity (SDO DISC_A_LEVEL_5_QTY; Optional; precision 102)"},"discALevel5Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 5, Rate (SDO DISC_A_LEVEL_5_RATE; Optional; precision 2)"},"discALevel6Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 6, Quantity (SDO DISC_A_LEVEL_6_QTY; Optional; precision 102)"},"discALevel6Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 6, Rate (SDO DISC_A_LEVEL_6_RATE; Optional; precision 2)"},"discALevel7Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 7, Quantity (SDO DISC_A_LEVEL_7_QTY; Optional; precision 102)"},"discALevel7Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 7, Rate (SDO DISC_A_LEVEL_7_RATE; Optional; precision 2)"},"discALevel8Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 8, Quantity (SDO DISC_A_LEVEL_8_QTY; Optional; precision 102)"},"discALevel8Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 8, Rate (SDO DISC_A_LEVEL_8_RATE; Optional; precision 2)"},"discALevel9Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 9, Quantity (SDO DISC_A_LEVEL_9_QTY; Optional; precision 102)"},"discALevel9Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 9, Rate (SDO DISC_A_LEVEL_9_RATE; Optional; precision 2)"},"discBLevel10Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 10, Quantity (SDO DISC_B_LEVEL_10_QTY; Optional; precision 102)"},"discBLevel10Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 10, Rate (SDO DISC_B_LEVEL_10_RATE; Optional; precision 2)"},"discBLevel1Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 1, Quantity (SDO DISC_B_LEVEL_1_QTY; Optional; precision 102)"},"discBLevel1Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 1, Rate (SDO DISC_B_LEVEL_1_RATE; Optional; precision 2)"},"discBLevel2Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 2, Quantity (SDO DISC_B_LEVEL_2_QTY; Optional; precision 102)"},"discBLevel2Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 2, Rate (SDO DISC_B_LEVEL_2_RATE; Optional; precision 2)"},"discBLevel3Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 3, Quantity (SDO DISC_B_LEVEL_3_QTY; Optional; precision 102)"},"discBLevel3Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 3, Rate (SDO DISC_B_LEVEL_3_RATE; Optional; precision 2)"},"discBLevel4Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 4, Quantity (SDO DISC_B_LEVEL_4_QTY; Optional; precision 102)"},"discBLevel4Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 4, Rate (SDO DISC_B_LEVEL_4_RATE; Optional; precision 2)"},"discBLevel5Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 5, Quantity (SDO DISC_B_LEVEL_5_QTY; Optional; precision 102)"},"discBLevel5Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 5, Rate (SDO DISC_B_LEVEL_5_RATE; Optional; precision 2)"},"discBLevel6Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 6, Quantity (SDO DISC_B_LEVEL_6_QTY; Optional; precision 102)"},"discBLevel6Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 6, Rate (SDO DISC_B_LEVEL_6_RATE; Optional; precision 2)"},"discBLevel7Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 7, Quantity (SDO DISC_B_LEVEL_7_QTY; Optional; precision 102)"},"discBLevel7Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 7, Rate (SDO DISC_B_LEVEL_7_RATE; Optional; precision 2)"},"discBLevel8Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 8, Quantity (SDO DISC_B_LEVEL_8_QTY; Optional; precision 102)"},"discBLevel8Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 8, Rate (SDO DISC_B_LEVEL_8_RATE; Optional; precision 2)"},"discBLevel9Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 9, Quantity (SDO DISC_B_LEVEL_9_QTY; Optional; precision 102)"},"discBLevel9Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 9, Rate (SDO DISC_B_LEVEL_9_RATE; Optional; precision 2)"},"discCLevel10Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 10, Quantity (SDO DISC_C_LEVEL_10_QTY; Optional; precision 102)"},"discCLevel10Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 10, Rate (SDO DISC_C_LEVEL_10_RATE; Optional; precision 2)"},"discCLevel1Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 1, Quantity (SDO DISC_C_LEVEL_1_QTY; Optional; precision 102)"},"discCLevel1Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 1, Rate (SDO DISC_C_LEVEL_1_RATE; Optional; precision 2)"},"discCLevel2Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 2, Quantity (SDO DISC_C_LEVEL_2_QTY; Optional; precision 102)"},"discCLevel2Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 2, Rate (SDO DISC_C_LEVEL_2_RATE; Optional; precision 2)"},"discCLevel3Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 3, Quantity (SDO DISC_C_LEVEL_3_QTY; Optional; precision 102)"},"discCLevel3Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 3, Rate (SDO DISC_C_LEVEL_3_RATE; Optional; precision 2)"},"discCLevel4Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 4, Quantity (SDO DISC_C_LEVEL_4_QTY; Optional; precision 102)"},"discCLevel4Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 4, Rate (SDO DISC_C_LEVEL_4_RATE; Optional; precision 2)"},"discCLevel5Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 5, Quantity (SDO DISC_C_LEVEL_5_QTY; Optional; precision 102)"},"discCLevel5Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 5, Rate (SDO DISC_C_LEVEL_5_RATE; Optional; precision 2)"},"discCLevel6Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 6, Quantity (SDO DISC_C_LEVEL_6_QTY; Optional; precision 102)"},"discCLevel6Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 6, Rate (SDO DISC_C_LEVEL_6_RATE; Optional; precision 2)"},"discCLevel7Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 7, Quantity (SDO DISC_C_LEVEL_7_QTY; Optional; precision 102)"},"discCLevel7Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 7, Rate (SDO DISC_C_LEVEL_7_RATE; Optional; precision 2)"},"discCLevel8Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 8, Quantity (SDO DISC_C_LEVEL_8_QTY; Optional; precision 102)"},"discCLevel8Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 8, Rate (SDO DISC_C_LEVEL_8_RATE; Optional; precision 2)"},"discCLevel9Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 9, Quantity (SDO DISC_C_LEVEL_9_QTY; Optional; precision 102)"},"discCLevel9Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 9, Rate (SDO DISC_C_LEVEL_9_RATE; Optional; precision 2)"},"discDLevel10Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 10, Quantity (SDO DISC_D_LEVEL_10_QTY; Optional; precision 102)"},"discDLevel10Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 10, Rate (SDO DISC_D_LEVEL_10_RATE; Optional; precision 2)"},"discDLevel1Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 1, Quantity (SDO DISC_D_LEVEL_1_QTY; Optional; precision 102)"},"discDLevel1Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 1, Rate (SDO DISC_D_LEVEL_1_RATE; Optional; precision 2)"},"discDLevel2Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 2, Quantity (SDO DISC_D_LEVEL_2_QTY; Optional; precision 102)"},"discDLevel2Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 2, Rate (SDO DISC_D_LEVEL_2_RATE; Optional; precision 2)"},"discDLevel3Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 3, Quantity (SDO DISC_D_LEVEL_3_QTY; Optional; precision 102)"},"discDLevel3Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 3, Rate (SDO DISC_D_LEVEL_3_RATE; Optional; precision 2)"},"discDLevel4Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 4, Quantity (SDO DISC_D_LEVEL_4_QTY; Optional; precision 102)"},"discDLevel4Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 4, Rate (SDO DISC_D_LEVEL_4_RATE; Optional; precision 2)"},"discDLevel5Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 5, Quantity (SDO DISC_D_LEVEL_5_QTY; Optional; precision 102)"},"discDLevel5Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 5, Rate (SDO DISC_D_LEVEL_5_RATE; Optional; precision 2)"},"discDLevel6Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 6, Quantity (SDO DISC_D_LEVEL_6_QTY; Optional; precision 102)"},"discDLevel6Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 6, Rate (SDO DISC_D_LEVEL_6_RATE; Optional; precision 2)"},"discDLevel7Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 7, Quantity (SDO DISC_D_LEVEL_7_QTY; Optional; precision 102)"},"discDLevel7Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 7, Rate (SDO DISC_D_LEVEL_7_RATE; Optional; precision 2)"},"discDLevel8Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 8, Quantity (SDO DISC_D_LEVEL_8_QTY; Optional; precision 102)"},"discDLevel8Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 8, Rate (SDO DISC_D_LEVEL_8_RATE; Optional; precision 2)"},"discDLevel9Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 9, Quantity (SDO DISC_D_LEVEL_9_QTY; Optional; precision 102)"},"discDLevel9Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 9, Rate (SDO DISC_D_LEVEL_9_RATE; Optional; precision 2)"},"discELevel10Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 10, Quantity (SDO DISC_E_LEVEL_10_QTY; Optional; precision 102)"},"discELevel10Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 10, Rate (SDO DISC_E_LEVEL_10_RATE; Optional; precision 2)"},"discELevel1Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 1, Quantity (SDO DISC_E_LEVEL_1_QTY; Optional; precision 102)"},"discELevel1Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 1, Rate (SDO DISC_E_LEVEL_1_RATE; Optional; precision 2)"},"discELevel2Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 2, Quantity (SDO DISC_E_LEVEL_2_QTY; Optional; precision 102)"},"discELevel2Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 2, Rate (SDO DISC_E_LEVEL_2_RATE; Optional; precision 2)"},"discELevel3Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 3, Quantity (SDO DISC_E_LEVEL_3_QTY; Optional; precision 102)"},"discELevel3Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 3, Rate (SDO DISC_E_LEVEL_3_RATE; Optional; precision 2)"},"discELevel4Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 4, Quantity (SDO DISC_E_LEVEL_4_QTY; Optional; precision 102)"},"discELevel4Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 4, Rate (SDO DISC_E_LEVEL_4_RATE; Optional; precision 2)"},"discELevel5Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 5, Quantity (SDO DISC_E_LEVEL_5_QTY; Optional; precision 102)"},"discELevel5Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 5, Rate (SDO DISC_E_LEVEL_5_RATE; Optional; precision 2)"},"discELevel6Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 6, Quantity (SDO DISC_E_LEVEL_6_QTY; Optional; precision 102)"},"discELevel6Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 6, Rate (SDO DISC_E_LEVEL_6_RATE; Optional; precision 2)"},"discELevel7Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 7, Quantity (SDO DISC_E_LEVEL_7_QTY; Optional; precision 102)"},"discELevel7Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 7, Rate (SDO DISC_E_LEVEL_7_RATE; Optional; precision 2)"},"discELevel8Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 8, Quantity (SDO DISC_E_LEVEL_8_QTY; Optional; precision 102)"},"discELevel8Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 8, Rate (SDO DISC_E_LEVEL_8_RATE; Optional; precision 2)"},"discELevel9Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 9, Quantity (SDO DISC_E_LEVEL_9_QTY; Optional; precision 102)"},"discELevel9Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 9, Rate (SDO DISC_E_LEVEL_9_RATE; Optional; precision 2)"},"externalUsage":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Number of External Usages (SDO EXTERNAL_USAGE; Optional; precision 0)"},"firstTran":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO FIRST_TRAN; Optional; precision 0)"},"ignoreStkLvlFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Ignore stock level flag (SDO IGNORE_STK_LVL_FLAG; Optional; precision 0)"},"inactiveFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Inactive Flag - Yes/No (SDO INACTIVE_FLAG; Optional; precision 0)"},"intrastatCommodityCode":{"type":"string","nullable":true,"maxLength":8,"description":"Intrastat Commodity code (SDO INTRASTAT_COMMODITY_CODE; Optional; precision 0)"},"intrastatImportDutyCode":{"type":"string","nullable":true,"maxLength":2,"description":"Intrastat Import Duty code (SDO INTRASTAT_IMPORT_DUTY_CODE; Optional; precision 0)"},"itemType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Item Type (SDO ITEM_TYPE; Optional; precision 0)"},"lastCostDiscount":{"type":"number","nullable":true,"description":"Last Cost Discounted (SDO LAST_COST_DISCOUNT; Optional; precision 101)"},"lastOrderQuantity":{"type":"number","nullable":true,"description":"Last Order Quantity (SDO LAST_ORDER_QUANTITY; Optional; precision 101)"},"lastPurchaseDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Last purchase date (SDO LAST_PURCHASE_DATE; Optional; precision 0)"},"lastPurchasePrice":{"type":"number","nullable":true,"description":"Last purchase price (SDO LAST_PURCHASE_PRICE; Optional; precision 101)"},"lastSaleDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Last sale date (SDO LAST_SALE_DATE; Optional; precision 0)"},"lastTran":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO LAST_TRAN; Optional; precision 0)"},"lastUpdated":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date of last update (SDO LAST_UPDATED; Optional; precision 0)"},"linkLevel":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Link level (SDO LINK_LEVEL; Optional; precision 0)"},"location":{"type":"string","nullable":true,"maxLength":16,"description":"Location (SDO LOCATION; Optional; precision 0)"},"noOfTran":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO NO_OF_TRAN; Optional; precision 0)"},"nominalCode":{"type":"string","nullable":true,"maxLength":8,"description":"Sales Nominal code (SDO NOMINAL_CODE; Optional; precision 0)"},"priorYrCostBf":{"type":"number","nullable":true,"description":"Prior year brought forward costs (SDO PRIOR_YR_COST_BF; Optional; precision 2)"},"priorYrCostFuture":{"type":"number","nullable":true,"description":"Prior year future costs (SDO PRIOR_YR_COST_FUTURE; Optional; precision 2)"},"priorYrCostMth1":{"type":"number","nullable":true,"description":"Prior year month 1 costs (SDO PRIOR_YR_COST_MTH1; Optional; precision 2)"},"priorYrCostMth10":{"type":"number","nullable":true,"description":"Prior year month 10 costs (SDO PRIOR_YR_COST_MTH10; Optional; precision 2)"},"priorYrCostMth11":{"type":"number","nullable":true,"description":"Prior year month 11 costs (SDO PRIOR_YR_COST_MTH11; Optional; precision 2)"},"priorYrCostMth12":{"type":"number","nullable":true,"description":"Prior year month 12 costs (SDO PRIOR_YR_COST_MTH12; Optional; precision 2)"},"priorYrCostMth2":{"type":"number","nullable":true,"description":"Prior year month 2 costs (SDO PRIOR_YR_COST_MTH2; Optional; precision 2)"},"priorYrCostMth3":{"type":"number","nullable":true,"description":"Prior year month 3 costs (SDO PRIOR_YR_COST_MTH3; Optional; precision 2)"},"priorYrCostMth4":{"type":"number","nullable":true,"description":"Prior year month 4 costs (SDO PRIOR_YR_COST_MTH4; Optional; precision 2)"},"priorYrCostMth5":{"type":"number","nullable":true,"description":"Prior year month 5 costs (SDO PRIOR_YR_COST_MTH5; Optional; precision 2)"},"priorYrCostMth6":{"type":"number","nullable":true,"description":"Prior year month 6 costs (SDO PRIOR_YR_COST_MTH6; Optional; precision 2)"},"priorYrCostMth7":{"type":"number","nullable":true,"description":"Prior year month 7 costs (SDO PRIOR_YR_COST_MTH7; Optional; precision 2)"},"priorYrCostMth8":{"type":"number","nullable":true,"description":"Prior year month 8 costs (SDO PRIOR_YR_COST_MTH8; Optional; precision 2)"},"priorYrCostMth9":{"type":"number","nullable":true,"description":"Prior year month 9 costs (SDO PRIOR_YR_COST_MTH9; Optional; precision 2)"},"priorYrQtySoldBf":{"type":"number","nullable":true,"description":"Prior year brought forward quantity sold (SDO PRIOR_YR_QTY_SOLD_BF; Optional; precision 102)"},"priorYrQtySoldFuture":{"type":"number","nullable":true,"description":"Prior year future quantity sold (SDO PRIOR_YR_QTY_SOLD_FUTURE; Optional; precision 102)"},"priorYrQtySoldMth1":{"type":"number","nullable":true,"description":"Prior year month 1 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH1; Optional; precision 102)"},"priorYrQtySoldMth10":{"type":"number","nullable":true,"description":"Prior year month 10 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH10; Optional; precision 102)"},"priorYrQtySoldMth11":{"type":"number","nullable":true,"description":"Prior year month 11 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH11; Optional; precision 102)"},"priorYrQtySoldMth12":{"type":"number","nullable":true,"description":"Prior year month 12 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH12; Optional; precision 102)"},"priorYrQtySoldMth2":{"type":"number","nullable":true,"description":"Prior year month 2 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH2; Optional; precision 102)"},"priorYrQtySoldMth3":{"type":"number","nullable":true,"description":"Prior year month 3 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH3; Optional; precision 102)"},"priorYrQtySoldMth4":{"type":"number","nullable":true,"description":"Prior year month 4 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH4; Optional; precision 102)"},"priorYrQtySoldMth5":{"type":"number","nullable":true,"description":"Prior year month 5 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH5; Optional; precision 102)"},"priorYrQtySoldMth6":{"type":"number","nullable":true,"description":"Prior year month 6 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH6; Optional; precision 102)"},"priorYrQtySoldMth7":{"type":"number","nullable":true,"description":"Prior year month 7 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH7; Optional; precision 102)"},"priorYrQtySoldMth8":{"type":"number","nullable":true,"description":"Prior year month 8 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH8; Optional; precision 102)"},"priorYrQtySoldMth9":{"type":"number","nullable":true,"description":"Prior year month 9 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH9; Optional; precision 102)"},"priorYrSalesBf":{"type":"number","nullable":true,"description":"Prior year brought forward sales (SDO PRIOR_YR_SALES_BF; Optional; precision 2)"},"priorYrSalesFuture":{"type":"number","nullable":true,"description":"Prior year future sales (SDO PRIOR_YR_SALES_FUTURE; Optional; precision 2)"},"priorYrSalesMth1":{"type":"number","nullable":true,"description":"Prior year month 1 sales (SDO PRIOR_YR_SALES_MTH1; Optional; precision 2)"},"priorYrSalesMth10":{"type":"number","nullable":true,"description":"Prior year month 10 sales (SDO PRIOR_YR_SALES_MTH10; Optional; precision 2)"},"priorYrSalesMth11":{"type":"number","nullable":true,"description":"Prior year month 11 sales (SDO PRIOR_YR_SALES_MTH11; Optional; precision 2)"},"priorYrSalesMth12":{"type":"number","nullable":true,"description":"Prior year month 12 sales (SDO PRIOR_YR_SALES_MTH12; Optional; precision 2)"},"priorYrSalesMth2":{"type":"number","nullable":true,"description":"Prior year month 2 sales (SDO PRIOR_YR_SALES_MTH2; Optional; precision 2)"},"priorYrSalesMth3":{"type":"number","nullable":true,"description":"Prior year month 3 sales (SDO PRIOR_YR_SALES_MTH3; Optional; precision 2)"},"priorYrSalesMth4":{"type":"number","nullable":true,"description":"Prior year month 4 sales (SDO PRIOR_YR_SALES_MTH4; Optional; precision 2)"},"priorYrSalesMth5":{"type":"number","nullable":true,"description":"Prior year month 5 sales (SDO PRIOR_YR_SALES_MTH5; Optional; precision 2)"},"priorYrSalesMth6":{"type":"number","nullable":true,"description":"Prior year month 6 sales (SDO PRIOR_YR_SALES_MTH6; Optional; precision 2)"},"priorYrSalesMth7":{"type":"number","nullable":true,"description":"Prior year month 7 sales (SDO PRIOR_YR_SALES_MTH7; Optional; precision 2)"},"priorYrSalesMth8":{"type":"number","nullable":true,"description":"Prior year month 8 sales (SDO PRIOR_YR_SALES_MTH8; Optional; precision 2)"},"priorYrSalesMth9":{"type":"number","nullable":true,"description":"Prior year month 9 sales (SDO PRIOR_YR_SALES_MTH9; Optional; precision 2)"},"productBarcode":{"type":"string","nullable":true,"maxLength":60,"description":"Barcode (SDO PRODUCT_BARCODE; Optional; precision 0)"},"purchaseNominalCode":{"type":"string","nullable":true,"maxLength":8,"description":"Purchase Nominal code (SDO PURCHASE_NOMINAL_CODE; Optional; precision 0)"},"purchaseRef":{"type":"string","nullable":true,"maxLength":8,"description":"Supplier's account reference (SDO PURCHASE_REF; Optional; precision 0)"},"qtyAllocated":{"type":"number","nullable":true,"description":"Quantity allocated (SDO QTY_ALLOCATED; Optional; precision 102)"},"qtyInStock":{"type":"number","nullable":true,"description":"Quantity in stock (SDO QTY_IN_STOCK; Optional; precision 102)"},"qtyLastOrder":{"type":"number","nullable":true,"description":"Last order quantity (SDO QTY_LAST_ORDER; Optional; precision 102)"},"qtyLastStockTake":{"type":"number","nullable":true,"description":"Last stock take quantity (SDO QTY_LAST_STOCK_TAKE; Optional; precision 102)"},"qtyOnOrder":{"type":"number","nullable":true,"description":"Quantity on order (SDO QTY_ON_ORDER; Optional; precision 102)"},"qtyReorder":{"type":"number","nullable":true,"description":"Reorder quantity (SDO QTY_REORDER; Optional; precision 102)"},"qtyReorderLevel":{"type":"number","nullable":true,"description":"Reorder level (SDO QTY_REORDER_LEVEL; Optional; precision 102)"},"qtySoldBf":{"type":"number","nullable":true,"description":"Brought forward quantity sold (SDO QTY_SOLD_BF; Optional; precision 102)"},"qtySoldFuture":{"type":"number","nullable":true,"description":"Future quantity sold (SDO QTY_SOLD_FUTURE; Optional; precision 102)"},"qtySoldMth1":{"type":"number","nullable":true,"description":"Month 1 quantity sold (SDO QTY_SOLD_MTH1; Optional; precision 102)"},"qtySoldMth10":{"type":"number","nullable":true,"description":"Month 10 quantity sold (SDO QTY_SOLD_MTH10; Optional; precision 102)"},"qtySoldMth11":{"type":"number","nullable":true,"description":"Month 11 quantity sold (SDO QTY_SOLD_MTH11; Optional; precision 102)"},"qtySoldMth12":{"type":"number","nullable":true,"description":"Month 12 quantity sold (SDO QTY_SOLD_MTH12; Optional; precision 102)"},"qtySoldMth2":{"type":"number","nullable":true,"description":"Month 2 quantity sold (SDO QTY_SOLD_MTH2; Optional; precision 102)"},"qtySoldMth3":{"type":"number","nullable":true,"description":"Month 3 quantity sold (SDO QTY_SOLD_MTH3; Optional; precision 102)"},"qtySoldMth4":{"type":"number","nullable":true,"description":"Month 4 quantity sold (SDO QTY_SOLD_MTH4; Optional; precision 102)"},"qtySoldMth5":{"type":"number","nullable":true,"description":"Month 5 quantity sold (SDO QTY_SOLD_MTH5; Optional; precision 102)"},"qtySoldMth6":{"type":"number","nullable":true,"description":"Month 6 quantity sold (SDO QTY_SOLD_MTH6; Optional; precision 102)"},"qtySoldMth7":{"type":"number","nullable":true,"description":"Month 7 quantity sold (SDO QTY_SOLD_MTH7; Optional; precision 102)"},"qtySoldMth8":{"type":"number","nullable":true,"description":"Month 8 quantity sold (SDO QTY_SOLD_MTH8; Optional; precision 102)"},"qtySoldMth9":{"type":"number","nullable":true,"description":"Month 9 quantity sold (SDO QTY_SOLD_MTH9; Optional; precision 102)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"salesBf":{"type":"number","nullable":true,"description":"Brought forward sales (SDO SALES_BF; Optional; precision 2)"},"salesFuture":{"type":"number","nullable":true,"description":"Future sales (SDO SALES_FUTURE; Optional; precision 2)"},"salesMth1":{"type":"number","nullable":true,"description":"Month 1 sales (SDO SALES_MTH1; Optional; precision 2)"},"salesMth10":{"type":"number","nullable":true,"description":"Month 10 sales (SDO SALES_MTH10; Optional; precision 2)"},"salesMth11":{"type":"number","nullable":true,"description":"Month 11 sales (SDO SALES_MTH11; Optional; precision 2)"},"salesMth12":{"type":"number","nullable":true,"description":"Month 12 sales (SDO SALES_MTH12; Optional; precision 2)"},"salesMth2":{"type":"number","nullable":true,"description":"Month 2 sales (SDO SALES_MTH2; Optional; precision 2)"},"salesMth3":{"type":"number","nullable":true,"description":"Month 3 sales (SDO SALES_MTH3; Optional; precision 2)"},"salesMth4":{"type":"number","nullable":true,"description":"Month 4 sales (SDO SALES_MTH4; Optional; precision 2)"},"salesMth5":{"type":"number","nullable":true,"description":"Month 5 sales (SDO SALES_MTH5; Optional; precision 2)"},"salesMth6":{"type":"number","nullable":true,"description":"Month 6 sales (SDO SALES_MTH6; Optional; precision 2)"},"salesMth7":{"type":"number","nullable":true,"description":"Month 7 sales (SDO SALES_MTH7; Optional; precision 2)"},"salesMth8":{"type":"number","nullable":true,"description":"Month 8 sales (SDO SALES_MTH8; Optional; precision 2)"},"salesMth9":{"type":"number","nullable":true,"description":"Month 9 sales (SDO SALES_MTH9; Optional; precision 2)"},"salesPrice":{"type":"number","nullable":true,"description":"Sale price (SDO SALES_PRICE; Optional; precision 101)"},"stockCat":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Stock category number (SDO STOCK_CAT; Optional; precision 0)"},"stockCode":{"type":"string","nullable":true,"maxLength":30,"description":"Product code (SDO STOCK_CODE; Required; precision 0)"},"stockTakeDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Stock take date (SDO STOCK_TAKE_DATE; Optional; precision 0)"},"suppUnitQty":{"type":"number","nullable":true,"description":"Supplementary Unit Quantity (SDO SUPP_UNIT_QTY; Optional; precision 0)"},"supplierPartNumber":{"type":"string","nullable":true,"maxLength":16,"description":"Supplier's part number (SDO SUPPLIER_PART_NUMBER; Optional; precision 0)"},"taxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax code (0 to 99) (SDO TAX_CODE; Optional; precision 0)"},"unitOfSale":{"type":"string","nullable":true,"maxLength":8,"description":"Unit of sale (SDO UNIT_OF_SALE; Optional; precision 0)"},"unitWeight":{"type":"number","nullable":true,"description":"Unit weight (SDO UNIT_WEIGHT; Optional; precision 2)"},"webDescription":{"type":"string","nullable":true,"maxLength":255,"description":"Web Description (SDO WEB_DESCRIPTION; Optional; precision 0)"},"webImage":{"type":"string","nullable":true,"maxLength":60,"description":"Web Image Filename (SDO WEB_IMAGE; Optional; precision 0)"},"webLongdescription":{"type":"string","nullable":true,"maxLength":1023,"description":"Web Long Description (SDO WEB_LONGDESCRIPTION; Optional; precision 0)"},"webPublish":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Web Publish Flag (SDO WEB_PUBLISH; Optional; precision 0)"},"webSpecialOffer":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Web Special Offer (SDO WEB_SPECIAL_OFFER; Optional; precision 0)"},"id":{"type":"string"}},"required":["assemblyLevel","averageCostPrice","budgetQtySoldBf","budgetQtySoldFuture","budgetQtySoldMth1","budgetQtySoldMth10","budgetQtySoldMth11","budgetQtySoldMth12","budgetQtySoldMth2","budgetQtySoldMth3","budgetQtySoldMth4","budgetQtySoldMth5","budgetQtySoldMth6","budgetQtySoldMth7","budgetQtySoldMth8","budgetQtySoldMth9","budgetSalesBf","budgetSalesFuture","budgetSalesMth1","budgetSalesMth10","budgetSalesMth11","budgetSalesMth12","budgetSalesMth2","budgetSalesMth3","budgetSalesMth4","budgetSalesMth5","budgetSalesMth6","budgetSalesMth7","budgetSalesMth8","budgetSalesMth9","commodityCode","componentCode1","componentCode10","componentCode11","componentCode12","componentCode13","componentCode14","componentCode15","componentCode16","componentCode17","componentCode18","componentCode19","componentCode2","componentCode20","componentCode21","componentCode22","componentCode23","componentCode24","componentCode25","componentCode26","componentCode27","componentCode28","componentCode29","componentCode3","componentCode30","componentCode31","componentCode32","componentCode33","componentCode34","componentCode35","componentCode36","componentCode37","componentCode38","componentCode39","componentCode4","componentCode40","componentCode41","componentCode42","componentCode43","componentCode44","componentCode45","componentCode46","componentCode47","componentCode48","componentCode49","componentCode5","componentCode50","componentCode6","componentCode7","componentCode8","componentCode9","componentQty1","componentQty10","componentQty11","componentQty12","componentQty13","componentQty14","componentQty15","componentQty16","componentQty17","componentQty18","componentQty19","componentQty2","componentQty20","componentQty21","componentQty22","componentQty23","componentQty24","componentQty25","componentQty26","componentQty27","componentQty28","componentQty29","componentQty3","componentQty30","componentQty31","componentQty32","componentQty33","componentQty34","componentQty35","componentQty36","componentQty37","componentQty38","componentQty39","componentQty4","componentQty40","componentQty41","componentQty42","componentQty43","componentQty44","componentQty45","componentQty46","componentQty47","componentQty48","componentQty49","componentQty5","componentQty50","componentQty6","componentQty7","componentQty8","componentQty9","costBf","costFuture","costMth1","costMth10","costMth11","costMth12","costMth2","costMth3","costMth4","costMth5","costMth6","costMth7","costMth8","costMth9","countryCodeOfOrigin","custom1","custom2","custom3","deletedFlag","deptNumber","description","discALevel10Qty","discALevel10Rate","discALevel1Qty","discALevel1Rate","discALevel2Qty","discALevel2Rate","discALevel3Qty","discALevel3Rate","discALevel4Qty","discALevel4Rate","discALevel5Qty","discALevel5Rate","discALevel6Qty","discALevel6Rate","discALevel7Qty","discALevel7Rate","discALevel8Qty","discALevel8Rate","discALevel9Qty","discALevel9Rate","discBLevel10Qty","discBLevel10Rate","discBLevel1Qty","discBLevel1Rate","discBLevel2Qty","discBLevel2Rate","discBLevel3Qty","discBLevel3Rate","discBLevel4Qty","discBLevel4Rate","discBLevel5Qty","discBLevel5Rate","discBLevel6Qty","discBLevel6Rate","discBLevel7Qty","discBLevel7Rate","discBLevel8Qty","discBLevel8Rate","discBLevel9Qty","discBLevel9Rate","discCLevel10Qty","discCLevel10Rate","discCLevel1Qty","discCLevel1Rate","discCLevel2Qty","discCLevel2Rate","discCLevel3Qty","discCLevel3Rate","discCLevel4Qty","discCLevel4Rate","discCLevel5Qty","discCLevel5Rate","discCLevel6Qty","discCLevel6Rate","discCLevel7Qty","discCLevel7Rate","discCLevel8Qty","discCLevel8Rate","discCLevel9Qty","discCLevel9Rate","discDLevel10Qty","discDLevel10Rate","discDLevel1Qty","discDLevel1Rate","discDLevel2Qty","discDLevel2Rate","discDLevel3Qty","discDLevel3Rate","discDLevel4Qty","discDLevel4Rate","discDLevel5Qty","discDLevel5Rate","discDLevel6Qty","discDLevel6Rate","discDLevel7Qty","discDLevel7Rate","discDLevel8Qty","discDLevel8Rate","discDLevel9Qty","discDLevel9Rate","discELevel10Qty","discELevel10Rate","discELevel1Qty","discELevel1Rate","discELevel2Qty","discELevel2Rate","discELevel3Qty","discELevel3Rate","discELevel4Qty","discELevel4Rate","discELevel5Qty","discELevel5Rate","discELevel6Qty","discELevel6Rate","discELevel7Qty","discELevel7Rate","discELevel8Qty","discELevel8Rate","discELevel9Qty","discELevel9Rate","externalUsage","firstTran","ignoreStkLvlFlag","inactiveFlag","intrastatCommodityCode","intrastatImportDutyCode","itemType","lastCostDiscount","lastOrderQuantity","lastPurchaseDate","lastPurchasePrice","lastSaleDate","lastTran","lastUpdated","linkLevel","location","noOfTran","nominalCode","priorYrCostBf","priorYrCostFuture","priorYrCostMth1","priorYrCostMth10","priorYrCostMth11","priorYrCostMth12","priorYrCostMth2","priorYrCostMth3","priorYrCostMth4","priorYrCostMth5","priorYrCostMth6","priorYrCostMth7","priorYrCostMth8","priorYrCostMth9","priorYrQtySoldBf","priorYrQtySoldFuture","priorYrQtySoldMth1","priorYrQtySoldMth10","priorYrQtySoldMth11","priorYrQtySoldMth12","priorYrQtySoldMth2","priorYrQtySoldMth3","priorYrQtySoldMth4","priorYrQtySoldMth5","priorYrQtySoldMth6","priorYrQtySoldMth7","priorYrQtySoldMth8","priorYrQtySoldMth9","priorYrSalesBf","priorYrSalesFuture","priorYrSalesMth1","priorYrSalesMth10","priorYrSalesMth11","priorYrSalesMth12","priorYrSalesMth2","priorYrSalesMth3","priorYrSalesMth4","priorYrSalesMth5","priorYrSalesMth6","priorYrSalesMth7","priorYrSalesMth8","priorYrSalesMth9","productBarcode","purchaseNominalCode","purchaseRef","qtyAllocated","qtyInStock","qtyLastOrder","qtyLastStockTake","qtyOnOrder","qtyReorder","qtyReorderLevel","qtySoldBf","qtySoldFuture","qtySoldMth1","qtySoldMth10","qtySoldMth11","qtySoldMth12","qtySoldMth2","qtySoldMth3","qtySoldMth4","qtySoldMth5","qtySoldMth6","qtySoldMth7","qtySoldMth8","qtySoldMth9","recordCreateDate","recordDeleted","recordModifyDate","salesBf","salesFuture","salesMth1","salesMth10","salesMth11","salesMth12","salesMth2","salesMth3","salesMth4","salesMth5","salesMth6","salesMth7","salesMth8","salesMth9","salesPrice","stockCat","stockCode","stockTakeDate","suppUnitQty","supplierPartNumber","taxCode","unitOfSale","unitWeight","webDescription","webImage","webLongdescription","webPublish","webSpecialOffer","id"],"additionalProperties":false},"Uk28_1_items_get":{"type":"object","properties":{"assemblyLevel":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Assembly level (SDO ASSEMBLY_LEVEL; Optional; precision 0)"},"averageCostPrice":{"type":"number","nullable":true,"description":"Average cost price (SDO AVERAGE_COST_PRICE; Optional; precision 101)"},"budgetQtySoldBf":{"type":"number","nullable":true,"description":"Brought forward budget quantity sold (SDO BUDGET_QTY_SOLD_BF; Optional; precision 102)"},"budgetQtySoldFuture":{"type":"number","nullable":true,"description":"Future budget quantity sold (SDO BUDGET_QTY_SOLD_FUTURE; Optional; precision 102)"},"budgetQtySoldMth1":{"type":"number","nullable":true,"description":"Month 1 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH1; Optional; precision 102)"},"budgetQtySoldMth10":{"type":"number","nullable":true,"description":"Month 10 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH10; Optional; precision 102)"},"budgetQtySoldMth11":{"type":"number","nullable":true,"description":"Month 11 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH11; Optional; precision 102)"},"budgetQtySoldMth12":{"type":"number","nullable":true,"description":"Month 12 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH12; Optional; precision 102)"},"budgetQtySoldMth2":{"type":"number","nullable":true,"description":"Month 2 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH2; Optional; precision 102)"},"budgetQtySoldMth3":{"type":"number","nullable":true,"description":"Month 3 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH3; Optional; precision 102)"},"budgetQtySoldMth4":{"type":"number","nullable":true,"description":"Month 4 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH4; Optional; precision 102)"},"budgetQtySoldMth5":{"type":"number","nullable":true,"description":"Month 5 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH5; Optional; precision 102)"},"budgetQtySoldMth6":{"type":"number","nullable":true,"description":"Month 6 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH6; Optional; precision 102)"},"budgetQtySoldMth7":{"type":"number","nullable":true,"description":"Month 7 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH7; Optional; precision 102)"},"budgetQtySoldMth8":{"type":"number","nullable":true,"description":"Month 8 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH8; Optional; precision 102)"},"budgetQtySoldMth9":{"type":"number","nullable":true,"description":"Month 9 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH9; Optional; precision 102)"},"budgetSalesBf":{"type":"number","nullable":true,"description":"Brought forward budget sales (SDO BUDGET_SALES_BF; Optional; precision 2)"},"budgetSalesFuture":{"type":"number","nullable":true,"description":"Future budget sales (SDO BUDGET_SALES_FUTURE; Optional; precision 2)"},"budgetSalesMth1":{"type":"number","nullable":true,"description":"Month 1 budget sales (SDO BUDGET_SALES_MTH1; Optional; precision 2)"},"budgetSalesMth10":{"type":"number","nullable":true,"description":"Month 10 budget sales (SDO BUDGET_SALES_MTH10; Optional; precision 2)"},"budgetSalesMth11":{"type":"number","nullable":true,"description":"Month 11 budget sales (SDO BUDGET_SALES_MTH11; Optional; precision 2)"},"budgetSalesMth12":{"type":"number","nullable":true,"description":"Month 12 budget sales (SDO BUDGET_SALES_MTH12; Optional; precision 2)"},"budgetSalesMth2":{"type":"number","nullable":true,"description":"Month 2 budget sales (SDO BUDGET_SALES_MTH2; Optional; precision 2)"},"budgetSalesMth3":{"type":"number","nullable":true,"description":"Month 3 budget sales (SDO BUDGET_SALES_MTH3; Optional; precision 2)"},"budgetSalesMth4":{"type":"number","nullable":true,"description":"Month 4 budget sales (SDO BUDGET_SALES_MTH4; Optional; precision 2)"},"budgetSalesMth5":{"type":"number","nullable":true,"description":"Month 5 budget sales (SDO BUDGET_SALES_MTH5; Optional; precision 2)"},"budgetSalesMth6":{"type":"number","nullable":true,"description":"Month 6 budget sales (SDO BUDGET_SALES_MTH6; Optional; precision 2)"},"budgetSalesMth7":{"type":"number","nullable":true,"description":"Month 7 budget sales (SDO BUDGET_SALES_MTH7; Optional; precision 2)"},"budgetSalesMth8":{"type":"number","nullable":true,"description":"Month 8 budget sales (SDO BUDGET_SALES_MTH8; Optional; precision 2)"},"budgetSalesMth9":{"type":"number","nullable":true,"description":"Month 9 budget sales (SDO BUDGET_SALES_MTH9; Optional; precision 2)"},"commodityCode":{"type":"string","nullable":true,"maxLength":30,"description":"Commodity code description (SDO COMMODITY_CODE; Optional; precision 0)"},"componentCode1":{"type":"string","nullable":true,"maxLength":30,"description":"Component 1 stock code (SDO COMPONENT_CODE_1; Optional; precision 0)"},"componentCode10":{"type":"string","nullable":true,"maxLength":30,"description":"Component 10 stock code (SDO COMPONENT_CODE_10; Optional; precision 0)"},"componentCode11":{"type":"string","nullable":true,"maxLength":30,"description":"Component 11 stock code (SDO COMPONENT_Code_11; Optional; precision 0)"},"componentCode12":{"type":"string","nullable":true,"maxLength":30,"description":"Component 12 stock code (SDO COMPONENT_Code_12; Optional; precision 0)"},"componentCode13":{"type":"string","nullable":true,"maxLength":30,"description":"Component 13 stock code (SDO COMPONENT_Code_13; Optional; precision 0)"},"componentCode14":{"type":"string","nullable":true,"maxLength":30,"description":"Component 14 stock code (SDO COMPONENT_Code_14; Optional; precision 0)"},"componentCode15":{"type":"string","nullable":true,"maxLength":30,"description":"Component 15 stock code (SDO COMPONENT_Code_15; Optional; precision 0)"},"componentCode16":{"type":"string","nullable":true,"maxLength":30,"description":"Component 16 stock code (SDO COMPONENT_Code_16; Optional; precision 0)"},"componentCode17":{"type":"string","nullable":true,"maxLength":30,"description":"Component 17 stock code (SDO COMPONENT_Code_17; Optional; precision 0)"},"componentCode18":{"type":"string","nullable":true,"maxLength":30,"description":"Component 18 stock code (SDO COMPONENT_Code_18; Optional; precision 0)"},"componentCode19":{"type":"string","nullable":true,"maxLength":30,"description":"Component 19 stock code (SDO COMPONENT_Code_19; Optional; precision 0)"},"componentCode2":{"type":"string","nullable":true,"maxLength":30,"description":"Component 2 stock code (SDO COMPONENT_CODE_2; Optional; precision 0)"},"componentCode20":{"type":"string","nullable":true,"maxLength":30,"description":"Component 20 stock code (SDO COMPONENT_CODE_20; Optional; precision 0)"},"componentCode21":{"type":"string","nullable":true,"maxLength":30,"description":"Component 21 stock code (SDO COMPONENT_Code_21; Optional; precision 0)"},"componentCode22":{"type":"string","nullable":true,"maxLength":30,"description":"Component 22 stock code (SDO COMPONENT_Code_22; Optional; precision 0)"},"componentCode23":{"type":"string","nullable":true,"maxLength":30,"description":"Component 23 stock code (SDO COMPONENT_Code_23; Optional; precision 0)"},"componentCode24":{"type":"string","nullable":true,"maxLength":30,"description":"Component 24 stock code (SDO COMPONENT_Code_24; Optional; precision 0)"},"componentCode25":{"type":"string","nullable":true,"maxLength":30,"description":"Component 25 stock code (SDO COMPONENT_Code_25; Optional; precision 0)"},"componentCode26":{"type":"string","nullable":true,"maxLength":30,"description":"Component 26 stock code (SDO COMPONENT_Code_26; Optional; precision 0)"},"componentCode27":{"type":"string","nullable":true,"maxLength":30,"description":"Component 27 stock code (SDO COMPONENT_Code_27; Optional; precision 0)"},"componentCode28":{"type":"string","nullable":true,"maxLength":30,"description":"Component 28 stock code (SDO COMPONENT_Code_28; Optional; precision 0)"},"componentCode29":{"type":"string","nullable":true,"maxLength":30,"description":"Component 29 stock code (SDO COMPONENT_Code_29; Optional; precision 0)"},"componentCode3":{"type":"string","nullable":true,"maxLength":30,"description":"Component 3 stock code (SDO COMPONENT_CODE_3; Optional; precision 0)"},"componentCode30":{"type":"string","nullable":true,"maxLength":30,"description":"Component 30 stock code (SDO COMPONENT_CODE_30; Optional; precision 0)"},"componentCode31":{"type":"string","nullable":true,"maxLength":30,"description":"Component 31 stock code (SDO COMPONENT_Code_31; Optional; precision 0)"},"componentCode32":{"type":"string","nullable":true,"maxLength":30,"description":"Component 32 stock code (SDO COMPONENT_Code_32; Optional; precision 0)"},"componentCode33":{"type":"string","nullable":true,"maxLength":30,"description":"Component 33 stock code (SDO COMPONENT_Code_33; Optional; precision 0)"},"componentCode34":{"type":"string","nullable":true,"maxLength":30,"description":"Component 34 stock code (SDO COMPONENT_Code_34; Optional; precision 0)"},"componentCode35":{"type":"string","nullable":true,"maxLength":30,"description":"Component 35 stock code (SDO COMPONENT_Code_35; Optional; precision 0)"},"componentCode36":{"type":"string","nullable":true,"maxLength":30,"description":"Component 36 stock code (SDO COMPONENT_Code_36; Optional; precision 0)"},"componentCode37":{"type":"string","nullable":true,"maxLength":30,"description":"Component 37 stock code (SDO COMPONENT_Code_37; Optional; precision 0)"},"componentCode38":{"type":"string","nullable":true,"maxLength":30,"description":"Component 38 stock code (SDO COMPONENT_Code_38; Optional; precision 0)"},"componentCode39":{"type":"string","nullable":true,"maxLength":30,"description":"Component 39 stock code (SDO COMPONENT_Code_39; Optional; precision 0)"},"componentCode4":{"type":"string","nullable":true,"maxLength":30,"description":"Component 4 stock code (SDO COMPONENT_CODE_4; Optional; precision 0)"},"componentCode40":{"type":"string","nullable":true,"maxLength":30,"description":"Component 40 stock code (SDO COMPONENT_CODE_40; Optional; precision 0)"},"componentCode41":{"type":"string","nullable":true,"maxLength":30,"description":"Component 41 stock code (SDO COMPONENT_Code_41; Optional; precision 0)"},"componentCode42":{"type":"string","nullable":true,"maxLength":30,"description":"Component 42 stock code (SDO COMPONENT_Code_42; Optional; precision 0)"},"componentCode43":{"type":"string","nullable":true,"maxLength":30,"description":"Component 43 stock code (SDO COMPONENT_Code_43; Optional; precision 0)"},"componentCode44":{"type":"string","nullable":true,"maxLength":30,"description":"Component 44 stock code (SDO COMPONENT_Code_44; Optional; precision 0)"},"componentCode45":{"type":"string","nullable":true,"maxLength":30,"description":"Component 45 stock code (SDO COMPONENT_Code_45; Optional; precision 0)"},"componentCode46":{"type":"string","nullable":true,"maxLength":30,"description":"Component 46 stock code (SDO COMPONENT_Code_46; Optional; precision 0)"},"componentCode47":{"type":"string","nullable":true,"maxLength":30,"description":"Component 47 stock code (SDO COMPONENT_Code_47; Optional; precision 0)"},"componentCode48":{"type":"string","nullable":true,"maxLength":30,"description":"Component 48 stock code (SDO COMPONENT_Code_48; Optional; precision 0)"},"componentCode49":{"type":"string","nullable":true,"maxLength":30,"description":"Component 49 stock code (SDO COMPONENT_Code_49; Optional; precision 0)"},"componentCode5":{"type":"string","nullable":true,"maxLength":30,"description":"Component 5 stock code (SDO COMPONENT_CODE_5; Optional; precision 0)"},"componentCode50":{"type":"string","nullable":true,"maxLength":30,"description":"Component 50 stock code (SDO COMPONENT_Code_50; Optional; precision 0)"},"componentCode6":{"type":"string","nullable":true,"maxLength":30,"description":"Component 6 stock code (SDO COMPONENT_CODE_6; Optional; precision 0)"},"componentCode7":{"type":"string","nullable":true,"maxLength":30,"description":"Component 7 stock code (SDO COMPONENT_CODE_7; Optional; precision 0)"},"componentCode8":{"type":"string","nullable":true,"maxLength":30,"description":"Component 8 stock code (SDO COMPONENT_CODE_8; Optional; precision 0)"},"componentCode9":{"type":"string","nullable":true,"maxLength":30,"description":"Component 9 stock code (SDO COMPONENT_CODE_9; Optional; precision 0)"},"componentQty1":{"type":"number","nullable":true,"description":"Component 1 quantity (SDO COMPONENT_QTY_1; Optional; precision 102)"},"componentQty10":{"type":"number","nullable":true,"description":"Component 10 quantity (SDO COMPONENT_QTY_10; Optional; precision 102)"},"componentQty11":{"type":"number","nullable":true,"description":"Component 11 quantity (SDO COMPONENT_QTY_11; Optional; precision 102)"},"componentQty12":{"type":"number","nullable":true,"description":"Component 12 quantity (SDO COMPONENT_QTY_12; Optional; precision 102)"},"componentQty13":{"type":"number","nullable":true,"description":"Component 13 quantity (SDO COMPONENT_QTY_13; Optional; precision 102)"},"componentQty14":{"type":"number","nullable":true,"description":"Component 14 quantity (SDO COMPONENT_QTY_14; Optional; precision 102)"},"componentQty15":{"type":"number","nullable":true,"description":"Component 15 quantity (SDO COMPONENT_QTY_15; Optional; precision 102)"},"componentQty16":{"type":"number","nullable":true,"description":"Component 16 quantity (SDO COMPONENT_QTY_16; Optional; precision 102)"},"componentQty17":{"type":"number","nullable":true,"description":"Component 17 quantity (SDO COMPONENT_QTY_17; Optional; precision 102)"},"componentQty18":{"type":"number","nullable":true,"description":"Component 18 quantity (SDO COMPONENT_QTY_18; Optional; precision 102)"},"componentQty19":{"type":"number","nullable":true,"description":"Component 19 quantity (SDO COMPONENT_QTY_19; Optional; precision 102)"},"componentQty2":{"type":"number","nullable":true,"description":"Component 2 quantity (SDO COMPONENT_QTY_2; Optional; precision 102)"},"componentQty20":{"type":"number","nullable":true,"description":"Component 20 quantity (SDO COMPONENT_QTY_20; Optional; precision 102)"},"componentQty21":{"type":"number","nullable":true,"description":"Component 21 quantity (SDO COMPONENT_QTY_21; Optional; precision 102)"},"componentQty22":{"type":"number","nullable":true,"description":"Component 22 quantity (SDO COMPONENT_QTY_22; Optional; precision 102)"},"componentQty23":{"type":"number","nullable":true,"description":"Component 23 quantity (SDO COMPONENT_QTY_23; Optional; precision 102)"},"componentQty24":{"type":"number","nullable":true,"description":"Component 24 quantity (SDO COMPONENT_QTY_24; Optional; precision 102)"},"componentQty25":{"type":"number","nullable":true,"description":"Component 25 quantity (SDO COMPONENT_QTY_25; Optional; precision 102)"},"componentQty26":{"type":"number","nullable":true,"description":"Component 26 quantity (SDO COMPONENT_QTY_26; Optional; precision 102)"},"componentQty27":{"type":"number","nullable":true,"description":"Component 27 quantity (SDO COMPONENT_QTY_27; Optional; precision 102)"},"componentQty28":{"type":"number","nullable":true,"description":"Component 28 quantity (SDO COMPONENT_QTY_28; Optional; precision 102)"},"componentQty29":{"type":"number","nullable":true,"description":"Component 29 quantity (SDO COMPONENT_QTY_29; Optional; precision 102)"},"componentQty3":{"type":"number","nullable":true,"description":"Component 3 quantity (SDO COMPONENT_QTY_3; Optional; precision 102)"},"componentQty30":{"type":"number","nullable":true,"description":"Component 30 quantity (SDO COMPONENT_QTY_30; Optional; precision 102)"},"componentQty31":{"type":"number","nullable":true,"description":"Component 31 quantity (SDO COMPONENT_QTY_31; Optional; precision 102)"},"componentQty32":{"type":"number","nullable":true,"description":"Component 32 quantity (SDO COMPONENT_QTY_32; Optional; precision 102)"},"componentQty33":{"type":"number","nullable":true,"description":"Component 33 quantity (SDO COMPONENT_QTY_33; Optional; precision 102)"},"componentQty34":{"type":"number","nullable":true,"description":"Component 34 quantity (SDO COMPONENT_QTY_34; Optional; precision 102)"},"componentQty35":{"type":"number","nullable":true,"description":"Component 35 quantity (SDO COMPONENT_QTY_35; Optional; precision 102)"},"componentQty36":{"type":"number","nullable":true,"description":"Component 36 quantity (SDO COMPONENT_QTY_36; Optional; precision 102)"},"componentQty37":{"type":"number","nullable":true,"description":"Component 37 quantity (SDO COMPONENT_QTY_37; Optional; precision 102)"},"componentQty38":{"type":"number","nullable":true,"description":"Component 38 quantity (SDO COMPONENT_QTY_38; Optional; precision 102)"},"componentQty39":{"type":"number","nullable":true,"description":"Component 39 quantity (SDO COMPONENT_QTY_39; Optional; precision 102)"},"componentQty4":{"type":"number","nullable":true,"description":"Component 4 quantity (SDO COMPONENT_QTY_4; Optional; precision 102)"},"componentQty40":{"type":"number","nullable":true,"description":"Component 40 quantity (SDO COMPONENT_QTY_40; Optional; precision 102)"},"componentQty41":{"type":"number","nullable":true,"description":"Component 41 quantity (SDO COMPONENT_QTY_41; Optional; precision 102)"},"componentQty42":{"type":"number","nullable":true,"description":"Component 42 quantity (SDO COMPONENT_QTY_42; Optional; precision 102)"},"componentQty43":{"type":"number","nullable":true,"description":"Component 43 quantity (SDO COMPONENT_QTY_43; Optional; precision 102)"},"componentQty44":{"type":"number","nullable":true,"description":"Component 44 quantity (SDO COMPONENT_QTY_44; Optional; precision 102)"},"componentQty45":{"type":"number","nullable":true,"description":"Component 45 quantity (SDO COMPONENT_QTY_45; Optional; precision 102)"},"componentQty46":{"type":"number","nullable":true,"description":"Component 46 quantity (SDO COMPONENT_QTY_46; Optional; precision 102)"},"componentQty47":{"type":"number","nullable":true,"description":"Component 47 quantity (SDO COMPONENT_QTY_47; Optional; precision 102)"},"componentQty48":{"type":"number","nullable":true,"description":"Component 48 quantity (SDO COMPONENT_QTY_48; Optional; precision 102)"},"componentQty49":{"type":"number","nullable":true,"description":"Component 49 quantity (SDO COMPONENT_QTY_49; Optional; precision 102)"},"componentQty5":{"type":"number","nullable":true,"description":"Component 5 quantity (SDO COMPONENT_QTY_5; Optional; precision 102)"},"componentQty50":{"type":"number","nullable":true,"description":"Component 50 quantity (SDO COMPONENT_QTY_50; Optional; precision 102)"},"componentQty6":{"type":"number","nullable":true,"description":"Component 6 quantity (SDO COMPONENT_QTY_6; Optional; precision 102)"},"componentQty7":{"type":"number","nullable":true,"description":"Component 7 quantity (SDO COMPONENT_QTY_7; Optional; precision 102)"},"componentQty8":{"type":"number","nullable":true,"description":"Component 8 quantity (SDO COMPONENT_QTY_8; Optional; precision 102)"},"componentQty9":{"type":"number","nullable":true,"description":"Component 9 quantity (SDO COMPONENT_QTY_9; Optional; precision 102)"},"costBf":{"type":"number","nullable":true,"description":"Brought forward costs (SDO COST_BF; Optional; precision 2)"},"costFuture":{"type":"number","nullable":true,"description":"Future costs (SDO COST_FUTURE; Optional; precision 2)"},"costMth1":{"type":"number","nullable":true,"description":"Month 1 costs (SDO COST_MTH1; Optional; precision 2)"},"costMth10":{"type":"number","nullable":true,"description":"Month 10 costs (SDO COST_MTH10; Optional; precision 2)"},"costMth11":{"type":"number","nullable":true,"description":"Month 11 costs (SDO COST_MTH11; Optional; precision 2)"},"costMth12":{"type":"number","nullable":true,"description":"Month 12 costs (SDO COST_MTH12; Optional; precision 2)"},"costMth2":{"type":"number","nullable":true,"description":"Month 2 costs (SDO COST_MTH2; Optional; precision 2)"},"costMth3":{"type":"number","nullable":true,"description":"Month 3 costs (SDO COST_MTH3; Optional; precision 2)"},"costMth4":{"type":"number","nullable":true,"description":"Month 4 costs (SDO COST_MTH4; Optional; precision 2)"},"costMth5":{"type":"number","nullable":true,"description":"Month 5 costs (SDO COST_MTH5; Optional; precision 2)"},"costMth6":{"type":"number","nullable":true,"description":"Month 6 costs (SDO COST_MTH6; Optional; precision 2)"},"costMth7":{"type":"number","nullable":true,"description":"Month 7 costs (SDO COST_MTH7; Optional; precision 2)"},"costMth8":{"type":"number","nullable":true,"description":"Month 8 costs (SDO COST_MTH8; Optional; precision 2)"},"costMth9":{"type":"number","nullable":true,"description":"Month 9 costs (SDO COST_MTH9; Optional; precision 2)"},"countryCodeOfOrigin":{"type":"string","nullable":true,"maxLength":2,"description":"Country of Origin (SDO COUNTRY_CODE_OF_ORIGIN; Optional; precision 0)"},"custom1":{"type":"string","nullable":true,"maxLength":60,"description":"Custom Field 1 (SDO CUSTOM_1; Optional; precision 0)"},"custom2":{"type":"string","nullable":true,"maxLength":60,"description":"Custom Field 2 (SDO CUSTOM_2; Optional; precision 0)"},"custom3":{"type":"string","nullable":true,"maxLength":60,"description":"Custom Field 3 (SDO CUSTOM_3; Optional; precision 0)"},"deletedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Is Deleted (SDO DELETED_FLAG; Optional; precision 0)"},"deptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Department number (SDO DEPT_NUMBER; Optional; precision 0)"},"description":{"type":"string","nullable":true,"maxLength":60,"description":"Description (SDO DESCRIPTION; Optional; precision 0)"},"discALevel10Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 10, Quantity (SDO DISC_A_LEVEL_10_QTY; Optional; precision 102)"},"discALevel10Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 10, Rate (SDO DISC_A_LEVEL_10_RATE; Optional; precision 2)"},"discALevel1Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 1, Quantity (SDO DISC_A_LEVEL_1_QTY; Optional; precision 102)"},"discALevel1Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 1, Rate (SDO DISC_A_LEVEL_1_RATE; Optional; precision 2)"},"discALevel2Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 2, Quantity (SDO DISC_A_LEVEL_2_QTY; Optional; precision 102)"},"discALevel2Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 2, Rate (SDO DISC_A_LEVEL_2_RATE; Optional; precision 2)"},"discALevel3Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 3, Quantity (SDO DISC_A_LEVEL_3_QTY; Optional; precision 102)"},"discALevel3Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 3, Rate (SDO DISC_A_LEVEL_3_RATE; Optional; precision 2)"},"discALevel4Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 4, Quantity (SDO DISC_A_LEVEL_4_QTY; Optional; precision 102)"},"discALevel4Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 4, Rate (SDO DISC_A_LEVEL_4_RATE; Optional; precision 2)"},"discALevel5Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 5, Quantity (SDO DISC_A_LEVEL_5_QTY; Optional; precision 102)"},"discALevel5Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 5, Rate (SDO DISC_A_LEVEL_5_RATE; Optional; precision 2)"},"discALevel6Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 6, Quantity (SDO DISC_A_LEVEL_6_QTY; Optional; precision 102)"},"discALevel6Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 6, Rate (SDO DISC_A_LEVEL_6_RATE; Optional; precision 2)"},"discALevel7Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 7, Quantity (SDO DISC_A_LEVEL_7_QTY; Optional; precision 102)"},"discALevel7Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 7, Rate (SDO DISC_A_LEVEL_7_RATE; Optional; precision 2)"},"discALevel8Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 8, Quantity (SDO DISC_A_LEVEL_8_QTY; Optional; precision 102)"},"discALevel8Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 8, Rate (SDO DISC_A_LEVEL_8_RATE; Optional; precision 2)"},"discALevel9Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 9, Quantity (SDO DISC_A_LEVEL_9_QTY; Optional; precision 102)"},"discALevel9Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 9, Rate (SDO DISC_A_LEVEL_9_RATE; Optional; precision 2)"},"discBLevel10Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 10, Quantity (SDO DISC_B_LEVEL_10_QTY; Optional; precision 102)"},"discBLevel10Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 10, Rate (SDO DISC_B_LEVEL_10_RATE; Optional; precision 2)"},"discBLevel1Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 1, Quantity (SDO DISC_B_LEVEL_1_QTY; Optional; precision 102)"},"discBLevel1Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 1, Rate (SDO DISC_B_LEVEL_1_RATE; Optional; precision 2)"},"discBLevel2Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 2, Quantity (SDO DISC_B_LEVEL_2_QTY; Optional; precision 102)"},"discBLevel2Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 2, Rate (SDO DISC_B_LEVEL_2_RATE; Optional; precision 2)"},"discBLevel3Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 3, Quantity (SDO DISC_B_LEVEL_3_QTY; Optional; precision 102)"},"discBLevel3Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 3, Rate (SDO DISC_B_LEVEL_3_RATE; Optional; precision 2)"},"discBLevel4Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 4, Quantity (SDO DISC_B_LEVEL_4_QTY; Optional; precision 102)"},"discBLevel4Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 4, Rate (SDO DISC_B_LEVEL_4_RATE; Optional; precision 2)"},"discBLevel5Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 5, Quantity (SDO DISC_B_LEVEL_5_QTY; Optional; precision 102)"},"discBLevel5Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 5, Rate (SDO DISC_B_LEVEL_5_RATE; Optional; precision 2)"},"discBLevel6Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 6, Quantity (SDO DISC_B_LEVEL_6_QTY; Optional; precision 102)"},"discBLevel6Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 6, Rate (SDO DISC_B_LEVEL_6_RATE; Optional; precision 2)"},"discBLevel7Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 7, Quantity (SDO DISC_B_LEVEL_7_QTY; Optional; precision 102)"},"discBLevel7Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 7, Rate (SDO DISC_B_LEVEL_7_RATE; Optional; precision 2)"},"discBLevel8Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 8, Quantity (SDO DISC_B_LEVEL_8_QTY; Optional; precision 102)"},"discBLevel8Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 8, Rate (SDO DISC_B_LEVEL_8_RATE; Optional; precision 2)"},"discBLevel9Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 9, Quantity (SDO DISC_B_LEVEL_9_QTY; Optional; precision 102)"},"discBLevel9Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 9, Rate (SDO DISC_B_LEVEL_9_RATE; Optional; precision 2)"},"discCLevel10Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 10, Quantity (SDO DISC_C_LEVEL_10_QTY; Optional; precision 102)"},"discCLevel10Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 10, Rate (SDO DISC_C_LEVEL_10_RATE; Optional; precision 2)"},"discCLevel1Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 1, Quantity (SDO DISC_C_LEVEL_1_QTY; Optional; precision 102)"},"discCLevel1Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 1, Rate (SDO DISC_C_LEVEL_1_RATE; Optional; precision 2)"},"discCLevel2Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 2, Quantity (SDO DISC_C_LEVEL_2_QTY; Optional; precision 102)"},"discCLevel2Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 2, Rate (SDO DISC_C_LEVEL_2_RATE; Optional; precision 2)"},"discCLevel3Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 3, Quantity (SDO DISC_C_LEVEL_3_QTY; Optional; precision 102)"},"discCLevel3Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 3, Rate (SDO DISC_C_LEVEL_3_RATE; Optional; precision 2)"},"discCLevel4Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 4, Quantity (SDO DISC_C_LEVEL_4_QTY; Optional; precision 102)"},"discCLevel4Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 4, Rate (SDO DISC_C_LEVEL_4_RATE; Optional; precision 2)"},"discCLevel5Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 5, Quantity (SDO DISC_C_LEVEL_5_QTY; Optional; precision 102)"},"discCLevel5Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 5, Rate (SDO DISC_C_LEVEL_5_RATE; Optional; precision 2)"},"discCLevel6Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 6, Quantity (SDO DISC_C_LEVEL_6_QTY; Optional; precision 102)"},"discCLevel6Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 6, Rate (SDO DISC_C_LEVEL_6_RATE; Optional; precision 2)"},"discCLevel7Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 7, Quantity (SDO DISC_C_LEVEL_7_QTY; Optional; precision 102)"},"discCLevel7Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 7, Rate (SDO DISC_C_LEVEL_7_RATE; Optional; precision 2)"},"discCLevel8Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 8, Quantity (SDO DISC_C_LEVEL_8_QTY; Optional; precision 102)"},"discCLevel8Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 8, Rate (SDO DISC_C_LEVEL_8_RATE; Optional; precision 2)"},"discCLevel9Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 9, Quantity (SDO DISC_C_LEVEL_9_QTY; Optional; precision 102)"},"discCLevel9Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 9, Rate (SDO DISC_C_LEVEL_9_RATE; Optional; precision 2)"},"discDLevel10Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 10, Quantity (SDO DISC_D_LEVEL_10_QTY; Optional; precision 102)"},"discDLevel10Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 10, Rate (SDO DISC_D_LEVEL_10_RATE; Optional; precision 2)"},"discDLevel1Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 1, Quantity (SDO DISC_D_LEVEL_1_QTY; Optional; precision 102)"},"discDLevel1Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 1, Rate (SDO DISC_D_LEVEL_1_RATE; Optional; precision 2)"},"discDLevel2Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 2, Quantity (SDO DISC_D_LEVEL_2_QTY; Optional; precision 102)"},"discDLevel2Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 2, Rate (SDO DISC_D_LEVEL_2_RATE; Optional; precision 2)"},"discDLevel3Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 3, Quantity (SDO DISC_D_LEVEL_3_QTY; Optional; precision 102)"},"discDLevel3Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 3, Rate (SDO DISC_D_LEVEL_3_RATE; Optional; precision 2)"},"discDLevel4Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 4, Quantity (SDO DISC_D_LEVEL_4_QTY; Optional; precision 102)"},"discDLevel4Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 4, Rate (SDO DISC_D_LEVEL_4_RATE; Optional; precision 2)"},"discDLevel5Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 5, Quantity (SDO DISC_D_LEVEL_5_QTY; Optional; precision 102)"},"discDLevel5Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 5, Rate (SDO DISC_D_LEVEL_5_RATE; Optional; precision 2)"},"discDLevel6Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 6, Quantity (SDO DISC_D_LEVEL_6_QTY; Optional; precision 102)"},"discDLevel6Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 6, Rate (SDO DISC_D_LEVEL_6_RATE; Optional; precision 2)"},"discDLevel7Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 7, Quantity (SDO DISC_D_LEVEL_7_QTY; Optional; precision 102)"},"discDLevel7Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 7, Rate (SDO DISC_D_LEVEL_7_RATE; Optional; precision 2)"},"discDLevel8Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 8, Quantity (SDO DISC_D_LEVEL_8_QTY; Optional; precision 102)"},"discDLevel8Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 8, Rate (SDO DISC_D_LEVEL_8_RATE; Optional; precision 2)"},"discDLevel9Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 9, Quantity (SDO DISC_D_LEVEL_9_QTY; Optional; precision 102)"},"discDLevel9Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 9, Rate (SDO DISC_D_LEVEL_9_RATE; Optional; precision 2)"},"discELevel10Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 10, Quantity (SDO DISC_E_LEVEL_10_QTY; Optional; precision 102)"},"discELevel10Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 10, Rate (SDO DISC_E_LEVEL_10_RATE; Optional; precision 2)"},"discELevel1Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 1, Quantity (SDO DISC_E_LEVEL_1_QTY; Optional; precision 102)"},"discELevel1Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 1, Rate (SDO DISC_E_LEVEL_1_RATE; Optional; precision 2)"},"discELevel2Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 2, Quantity (SDO DISC_E_LEVEL_2_QTY; Optional; precision 102)"},"discELevel2Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 2, Rate (SDO DISC_E_LEVEL_2_RATE; Optional; precision 2)"},"discELevel3Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 3, Quantity (SDO DISC_E_LEVEL_3_QTY; Optional; precision 102)"},"discELevel3Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 3, Rate (SDO DISC_E_LEVEL_3_RATE; Optional; precision 2)"},"discELevel4Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 4, Quantity (SDO DISC_E_LEVEL_4_QTY; Optional; precision 102)"},"discELevel4Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 4, Rate (SDO DISC_E_LEVEL_4_RATE; Optional; precision 2)"},"discELevel5Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 5, Quantity (SDO DISC_E_LEVEL_5_QTY; Optional; precision 102)"},"discELevel5Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 5, Rate (SDO DISC_E_LEVEL_5_RATE; Optional; precision 2)"},"discELevel6Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 6, Quantity (SDO DISC_E_LEVEL_6_QTY; Optional; precision 102)"},"discELevel6Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 6, Rate (SDO DISC_E_LEVEL_6_RATE; Optional; precision 2)"},"discELevel7Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 7, Quantity (SDO DISC_E_LEVEL_7_QTY; Optional; precision 102)"},"discELevel7Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 7, Rate (SDO DISC_E_LEVEL_7_RATE; Optional; precision 2)"},"discELevel8Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 8, Quantity (SDO DISC_E_LEVEL_8_QTY; Optional; precision 102)"},"discELevel8Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 8, Rate (SDO DISC_E_LEVEL_8_RATE; Optional; precision 2)"},"discELevel9Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 9, Quantity (SDO DISC_E_LEVEL_9_QTY; Optional; precision 102)"},"discELevel9Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 9, Rate (SDO DISC_E_LEVEL_9_RATE; Optional; precision 2)"},"externalUsage":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Number of External Usages (SDO EXTERNAL_USAGE; Optional; precision 0)"},"firstTran":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO FIRST_TRAN; Optional; precision 0)"},"ignoreStkLvlFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Ignore stock level flag (SDO IGNORE_STK_LVL_FLAG; Optional; precision 0)"},"inactiveFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Inactive Flag - Yes/No (SDO INACTIVE_FLAG; Optional; precision 0)"},"intrastatCommodityCode":{"type":"string","nullable":true,"maxLength":8,"description":"Intrastat Commodity code (SDO INTRASTAT_COMMODITY_CODE; Optional; precision 0)"},"intrastatImportDutyCode":{"type":"string","nullable":true,"maxLength":2,"description":"Intrastat Import Duty code (SDO INTRASTAT_IMPORT_DUTY_CODE; Optional; precision 0)"},"itemType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Item Type (SDO ITEM_TYPE; Optional; precision 0)"},"lastCostDiscount":{"type":"number","nullable":true,"description":"Last Cost Discounted (SDO LAST_COST_DISCOUNT; Optional; precision 101)"},"lastOrderQuantity":{"type":"number","nullable":true,"description":"Last Order Quantity (SDO LAST_ORDER_QUANTITY; Optional; precision 101)"},"lastPurchaseDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Last purchase date (SDO LAST_PURCHASE_DATE; Optional; precision 0)"},"lastPurchasePrice":{"type":"number","nullable":true,"description":"Last purchase price (SDO LAST_PURCHASE_PRICE; Optional; precision 101)"},"lastSaleDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Last sale date (SDO LAST_SALE_DATE; Optional; precision 0)"},"lastTran":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO LAST_TRAN; Optional; precision 0)"},"lastUpdated":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date of last update (SDO LAST_UPDATED; Optional; precision 0)"},"linkLevel":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Link level (SDO LINK_LEVEL; Optional; precision 0)"},"location":{"type":"string","nullable":true,"maxLength":16,"description":"Location (SDO LOCATION; Optional; precision 0)"},"noOfTran":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO NO_OF_TRAN; Optional; precision 0)"},"nominalCode":{"type":"string","nullable":true,"maxLength":8,"description":"Sales Nominal code (SDO NOMINAL_CODE; Optional; precision 0)"},"priorYrCostBf":{"type":"number","nullable":true,"description":"Prior year brought forward costs (SDO PRIOR_YR_COST_BF; Optional; precision 2)"},"priorYrCostFuture":{"type":"number","nullable":true,"description":"Prior year future costs (SDO PRIOR_YR_COST_FUTURE; Optional; precision 2)"},"priorYrCostMth1":{"type":"number","nullable":true,"description":"Prior year month 1 costs (SDO PRIOR_YR_COST_MTH1; Optional; precision 2)"},"priorYrCostMth10":{"type":"number","nullable":true,"description":"Prior year month 10 costs (SDO PRIOR_YR_COST_MTH10; Optional; precision 2)"},"priorYrCostMth11":{"type":"number","nullable":true,"description":"Prior year month 11 costs (SDO PRIOR_YR_COST_MTH11; Optional; precision 2)"},"priorYrCostMth12":{"type":"number","nullable":true,"description":"Prior year month 12 costs (SDO PRIOR_YR_COST_MTH12; Optional; precision 2)"},"priorYrCostMth2":{"type":"number","nullable":true,"description":"Prior year month 2 costs (SDO PRIOR_YR_COST_MTH2; Optional; precision 2)"},"priorYrCostMth3":{"type":"number","nullable":true,"description":"Prior year month 3 costs (SDO PRIOR_YR_COST_MTH3; Optional; precision 2)"},"priorYrCostMth4":{"type":"number","nullable":true,"description":"Prior year month 4 costs (SDO PRIOR_YR_COST_MTH4; Optional; precision 2)"},"priorYrCostMth5":{"type":"number","nullable":true,"description":"Prior year month 5 costs (SDO PRIOR_YR_COST_MTH5; Optional; precision 2)"},"priorYrCostMth6":{"type":"number","nullable":true,"description":"Prior year month 6 costs (SDO PRIOR_YR_COST_MTH6; Optional; precision 2)"},"priorYrCostMth7":{"type":"number","nullable":true,"description":"Prior year month 7 costs (SDO PRIOR_YR_COST_MTH7; Optional; precision 2)"},"priorYrCostMth8":{"type":"number","nullable":true,"description":"Prior year month 8 costs (SDO PRIOR_YR_COST_MTH8; Optional; precision 2)"},"priorYrCostMth9":{"type":"number","nullable":true,"description":"Prior year month 9 costs (SDO PRIOR_YR_COST_MTH9; Optional; precision 2)"},"priorYrQtySoldBf":{"type":"number","nullable":true,"description":"Prior year brought forward quantity sold (SDO PRIOR_YR_QTY_SOLD_BF; Optional; precision 102)"},"priorYrQtySoldFuture":{"type":"number","nullable":true,"description":"Prior year future quantity sold (SDO PRIOR_YR_QTY_SOLD_FUTURE; Optional; precision 102)"},"priorYrQtySoldMth1":{"type":"number","nullable":true,"description":"Prior year month 1 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH1; Optional; precision 102)"},"priorYrQtySoldMth10":{"type":"number","nullable":true,"description":"Prior year month 10 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH10; Optional; precision 102)"},"priorYrQtySoldMth11":{"type":"number","nullable":true,"description":"Prior year month 11 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH11; Optional; precision 102)"},"priorYrQtySoldMth12":{"type":"number","nullable":true,"description":"Prior year month 12 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH12; Optional; precision 102)"},"priorYrQtySoldMth2":{"type":"number","nullable":true,"description":"Prior year month 2 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH2; Optional; precision 102)"},"priorYrQtySoldMth3":{"type":"number","nullable":true,"description":"Prior year month 3 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH3; Optional; precision 102)"},"priorYrQtySoldMth4":{"type":"number","nullable":true,"description":"Prior year month 4 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH4; Optional; precision 102)"},"priorYrQtySoldMth5":{"type":"number","nullable":true,"description":"Prior year month 5 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH5; Optional; precision 102)"},"priorYrQtySoldMth6":{"type":"number","nullable":true,"description":"Prior year month 6 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH6; Optional; precision 102)"},"priorYrQtySoldMth7":{"type":"number","nullable":true,"description":"Prior year month 7 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH7; Optional; precision 102)"},"priorYrQtySoldMth8":{"type":"number","nullable":true,"description":"Prior year month 8 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH8; Optional; precision 102)"},"priorYrQtySoldMth9":{"type":"number","nullable":true,"description":"Prior year month 9 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH9; Optional; precision 102)"},"priorYrSalesBf":{"type":"number","nullable":true,"description":"Prior year brought forward sales (SDO PRIOR_YR_SALES_BF; Optional; precision 2)"},"priorYrSalesFuture":{"type":"number","nullable":true,"description":"Prior year future sales (SDO PRIOR_YR_SALES_FUTURE; Optional; precision 2)"},"priorYrSalesMth1":{"type":"number","nullable":true,"description":"Prior year month 1 sales (SDO PRIOR_YR_SALES_MTH1; Optional; precision 2)"},"priorYrSalesMth10":{"type":"number","nullable":true,"description":"Prior year month 10 sales (SDO PRIOR_YR_SALES_MTH10; Optional; precision 2)"},"priorYrSalesMth11":{"type":"number","nullable":true,"description":"Prior year month 11 sales (SDO PRIOR_YR_SALES_MTH11; Optional; precision 2)"},"priorYrSalesMth12":{"type":"number","nullable":true,"description":"Prior year month 12 sales (SDO PRIOR_YR_SALES_MTH12; Optional; precision 2)"},"priorYrSalesMth2":{"type":"number","nullable":true,"description":"Prior year month 2 sales (SDO PRIOR_YR_SALES_MTH2; Optional; precision 2)"},"priorYrSalesMth3":{"type":"number","nullable":true,"description":"Prior year month 3 sales (SDO PRIOR_YR_SALES_MTH3; Optional; precision 2)"},"priorYrSalesMth4":{"type":"number","nullable":true,"description":"Prior year month 4 sales (SDO PRIOR_YR_SALES_MTH4; Optional; precision 2)"},"priorYrSalesMth5":{"type":"number","nullable":true,"description":"Prior year month 5 sales (SDO PRIOR_YR_SALES_MTH5; Optional; precision 2)"},"priorYrSalesMth6":{"type":"number","nullable":true,"description":"Prior year month 6 sales (SDO PRIOR_YR_SALES_MTH6; Optional; precision 2)"},"priorYrSalesMth7":{"type":"number","nullable":true,"description":"Prior year month 7 sales (SDO PRIOR_YR_SALES_MTH7; Optional; precision 2)"},"priorYrSalesMth8":{"type":"number","nullable":true,"description":"Prior year month 8 sales (SDO PRIOR_YR_SALES_MTH8; Optional; precision 2)"},"priorYrSalesMth9":{"type":"number","nullable":true,"description":"Prior year month 9 sales (SDO PRIOR_YR_SALES_MTH9; Optional; precision 2)"},"productBarcode":{"type":"string","nullable":true,"maxLength":60,"description":"Barcode (SDO PRODUCT_BARCODE; Optional; precision 0)"},"purchaseNominalCode":{"type":"string","nullable":true,"maxLength":8,"description":"Purchase Nominal code (SDO PURCHASE_NOMINAL_CODE; Optional; precision 0)"},"purchaseRef":{"type":"string","nullable":true,"maxLength":8,"description":"Supplier's account reference (SDO PURCHASE_REF; Optional; precision 0)"},"qtyAllocated":{"type":"number","nullable":true,"description":"Quantity allocated (SDO QTY_ALLOCATED; Optional; precision 102)"},"qtyInStock":{"type":"number","nullable":true,"description":"Quantity in stock (SDO QTY_IN_STOCK; Optional; precision 102)"},"qtyLastOrder":{"type":"number","nullable":true,"description":"Last order quantity (SDO QTY_LAST_ORDER; Optional; precision 102)"},"qtyLastStockTake":{"type":"number","nullable":true,"description":"Last stock take quantity (SDO QTY_LAST_STOCK_TAKE; Optional; precision 102)"},"qtyOnOrder":{"type":"number","nullable":true,"description":"Quantity on order (SDO QTY_ON_ORDER; Optional; precision 102)"},"qtyReorder":{"type":"number","nullable":true,"description":"Reorder quantity (SDO QTY_REORDER; Optional; precision 102)"},"qtyReorderLevel":{"type":"number","nullable":true,"description":"Reorder level (SDO QTY_REORDER_LEVEL; Optional; precision 102)"},"qtySoldBf":{"type":"number","nullable":true,"description":"Brought forward quantity sold (SDO QTY_SOLD_BF; Optional; precision 102)"},"qtySoldFuture":{"type":"number","nullable":true,"description":"Future quantity sold (SDO QTY_SOLD_FUTURE; Optional; precision 102)"},"qtySoldMth1":{"type":"number","nullable":true,"description":"Month 1 quantity sold (SDO QTY_SOLD_MTH1; Optional; precision 102)"},"qtySoldMth10":{"type":"number","nullable":true,"description":"Month 10 quantity sold (SDO QTY_SOLD_MTH10; Optional; precision 102)"},"qtySoldMth11":{"type":"number","nullable":true,"description":"Month 11 quantity sold (SDO QTY_SOLD_MTH11; Optional; precision 102)"},"qtySoldMth12":{"type":"number","nullable":true,"description":"Month 12 quantity sold (SDO QTY_SOLD_MTH12; Optional; precision 102)"},"qtySoldMth2":{"type":"number","nullable":true,"description":"Month 2 quantity sold (SDO QTY_SOLD_MTH2; Optional; precision 102)"},"qtySoldMth3":{"type":"number","nullable":true,"description":"Month 3 quantity sold (SDO QTY_SOLD_MTH3; Optional; precision 102)"},"qtySoldMth4":{"type":"number","nullable":true,"description":"Month 4 quantity sold (SDO QTY_SOLD_MTH4; Optional; precision 102)"},"qtySoldMth5":{"type":"number","nullable":true,"description":"Month 5 quantity sold (SDO QTY_SOLD_MTH5; Optional; precision 102)"},"qtySoldMth6":{"type":"number","nullable":true,"description":"Month 6 quantity sold (SDO QTY_SOLD_MTH6; Optional; precision 102)"},"qtySoldMth7":{"type":"number","nullable":true,"description":"Month 7 quantity sold (SDO QTY_SOLD_MTH7; Optional; precision 102)"},"qtySoldMth8":{"type":"number","nullable":true,"description":"Month 8 quantity sold (SDO QTY_SOLD_MTH8; Optional; precision 102)"},"qtySoldMth9":{"type":"number","nullable":true,"description":"Month 9 quantity sold (SDO QTY_SOLD_MTH9; Optional; precision 102)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"salesBf":{"type":"number","nullable":true,"description":"Brought forward sales (SDO SALES_BF; Optional; precision 2)"},"salesFuture":{"type":"number","nullable":true,"description":"Future sales (SDO SALES_FUTURE; Optional; precision 2)"},"salesMth1":{"type":"number","nullable":true,"description":"Month 1 sales (SDO SALES_MTH1; Optional; precision 2)"},"salesMth10":{"type":"number","nullable":true,"description":"Month 10 sales (SDO SALES_MTH10; Optional; precision 2)"},"salesMth11":{"type":"number","nullable":true,"description":"Month 11 sales (SDO SALES_MTH11; Optional; precision 2)"},"salesMth12":{"type":"number","nullable":true,"description":"Month 12 sales (SDO SALES_MTH12; Optional; precision 2)"},"salesMth2":{"type":"number","nullable":true,"description":"Month 2 sales (SDO SALES_MTH2; Optional; precision 2)"},"salesMth3":{"type":"number","nullable":true,"description":"Month 3 sales (SDO SALES_MTH3; Optional; precision 2)"},"salesMth4":{"type":"number","nullable":true,"description":"Month 4 sales (SDO SALES_MTH4; Optional; precision 2)"},"salesMth5":{"type":"number","nullable":true,"description":"Month 5 sales (SDO SALES_MTH5; Optional; precision 2)"},"salesMth6":{"type":"number","nullable":true,"description":"Month 6 sales (SDO SALES_MTH6; Optional; precision 2)"},"salesMth7":{"type":"number","nullable":true,"description":"Month 7 sales (SDO SALES_MTH7; Optional; precision 2)"},"salesMth8":{"type":"number","nullable":true,"description":"Month 8 sales (SDO SALES_MTH8; Optional; precision 2)"},"salesMth9":{"type":"number","nullable":true,"description":"Month 9 sales (SDO SALES_MTH9; Optional; precision 2)"},"salesPrice":{"type":"number","nullable":true,"description":"Sale price (SDO SALES_PRICE; Optional; precision 101)"},"stockCat":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Stock category number (SDO STOCK_CAT; Optional; precision 0)"},"stockCode":{"type":"string","nullable":true,"maxLength":30,"description":"Product code (SDO STOCK_CODE; Required; precision 0)"},"stockTakeDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Stock take date (SDO STOCK_TAKE_DATE; Optional; precision 0)"},"suppUnitQty":{"type":"number","nullable":true,"description":"Supplementary Unit Quantity (SDO SUPP_UNIT_QTY; Optional; precision 0)"},"supplierPartNumber":{"type":"string","nullable":true,"maxLength":16,"description":"Supplier's part number (SDO SUPPLIER_PART_NUMBER; Optional; precision 0)"},"taxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax code (0 to 99) (SDO TAX_CODE; Optional; precision 0)"},"unitOfSale":{"type":"string","nullable":true,"maxLength":8,"description":"Unit of sale (SDO UNIT_OF_SALE; Optional; precision 0)"},"unitWeight":{"type":"number","nullable":true,"description":"Unit weight (SDO UNIT_WEIGHT; Optional; precision 2)"},"webDescription":{"type":"string","nullable":true,"maxLength":255,"description":"Web Description (SDO WEB_DESCRIPTION; Optional; precision 0)"},"webImage":{"type":"string","nullable":true,"maxLength":60,"description":"Web Image Filename (SDO WEB_IMAGE; Optional; precision 0)"},"webLongdescription":{"type":"string","nullable":true,"maxLength":1023,"description":"Web Long Description (SDO WEB_LONGDESCRIPTION; Optional; precision 0)"},"webPublish":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Web Publish Flag (SDO WEB_PUBLISH; Optional; precision 0)"},"webSpecialOffer":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Web Special Offer (SDO WEB_SPECIAL_OFFER; Optional; precision 0)"},"id":{"type":"string"}},"required":["assemblyLevel","averageCostPrice","budgetQtySoldBf","budgetQtySoldFuture","budgetQtySoldMth1","budgetQtySoldMth10","budgetQtySoldMth11","budgetQtySoldMth12","budgetQtySoldMth2","budgetQtySoldMth3","budgetQtySoldMth4","budgetQtySoldMth5","budgetQtySoldMth6","budgetQtySoldMth7","budgetQtySoldMth8","budgetQtySoldMth9","budgetSalesBf","budgetSalesFuture","budgetSalesMth1","budgetSalesMth10","budgetSalesMth11","budgetSalesMth12","budgetSalesMth2","budgetSalesMth3","budgetSalesMth4","budgetSalesMth5","budgetSalesMth6","budgetSalesMth7","budgetSalesMth8","budgetSalesMth9","commodityCode","componentCode1","componentCode10","componentCode11","componentCode12","componentCode13","componentCode14","componentCode15","componentCode16","componentCode17","componentCode18","componentCode19","componentCode2","componentCode20","componentCode21","componentCode22","componentCode23","componentCode24","componentCode25","componentCode26","componentCode27","componentCode28","componentCode29","componentCode3","componentCode30","componentCode31","componentCode32","componentCode33","componentCode34","componentCode35","componentCode36","componentCode37","componentCode38","componentCode39","componentCode4","componentCode40","componentCode41","componentCode42","componentCode43","componentCode44","componentCode45","componentCode46","componentCode47","componentCode48","componentCode49","componentCode5","componentCode50","componentCode6","componentCode7","componentCode8","componentCode9","componentQty1","componentQty10","componentQty11","componentQty12","componentQty13","componentQty14","componentQty15","componentQty16","componentQty17","componentQty18","componentQty19","componentQty2","componentQty20","componentQty21","componentQty22","componentQty23","componentQty24","componentQty25","componentQty26","componentQty27","componentQty28","componentQty29","componentQty3","componentQty30","componentQty31","componentQty32","componentQty33","componentQty34","componentQty35","componentQty36","componentQty37","componentQty38","componentQty39","componentQty4","componentQty40","componentQty41","componentQty42","componentQty43","componentQty44","componentQty45","componentQty46","componentQty47","componentQty48","componentQty49","componentQty5","componentQty50","componentQty6","componentQty7","componentQty8","componentQty9","costBf","costFuture","costMth1","costMth10","costMth11","costMth12","costMth2","costMth3","costMth4","costMth5","costMth6","costMth7","costMth8","costMth9","countryCodeOfOrigin","custom1","custom2","custom3","deletedFlag","deptNumber","description","discALevel10Qty","discALevel10Rate","discALevel1Qty","discALevel1Rate","discALevel2Qty","discALevel2Rate","discALevel3Qty","discALevel3Rate","discALevel4Qty","discALevel4Rate","discALevel5Qty","discALevel5Rate","discALevel6Qty","discALevel6Rate","discALevel7Qty","discALevel7Rate","discALevel8Qty","discALevel8Rate","discALevel9Qty","discALevel9Rate","discBLevel10Qty","discBLevel10Rate","discBLevel1Qty","discBLevel1Rate","discBLevel2Qty","discBLevel2Rate","discBLevel3Qty","discBLevel3Rate","discBLevel4Qty","discBLevel4Rate","discBLevel5Qty","discBLevel5Rate","discBLevel6Qty","discBLevel6Rate","discBLevel7Qty","discBLevel7Rate","discBLevel8Qty","discBLevel8Rate","discBLevel9Qty","discBLevel9Rate","discCLevel10Qty","discCLevel10Rate","discCLevel1Qty","discCLevel1Rate","discCLevel2Qty","discCLevel2Rate","discCLevel3Qty","discCLevel3Rate","discCLevel4Qty","discCLevel4Rate","discCLevel5Qty","discCLevel5Rate","discCLevel6Qty","discCLevel6Rate","discCLevel7Qty","discCLevel7Rate","discCLevel8Qty","discCLevel8Rate","discCLevel9Qty","discCLevel9Rate","discDLevel10Qty","discDLevel10Rate","discDLevel1Qty","discDLevel1Rate","discDLevel2Qty","discDLevel2Rate","discDLevel3Qty","discDLevel3Rate","discDLevel4Qty","discDLevel4Rate","discDLevel5Qty","discDLevel5Rate","discDLevel6Qty","discDLevel6Rate","discDLevel7Qty","discDLevel7Rate","discDLevel8Qty","discDLevel8Rate","discDLevel9Qty","discDLevel9Rate","discELevel10Qty","discELevel10Rate","discELevel1Qty","discELevel1Rate","discELevel2Qty","discELevel2Rate","discELevel3Qty","discELevel3Rate","discELevel4Qty","discELevel4Rate","discELevel5Qty","discELevel5Rate","discELevel6Qty","discELevel6Rate","discELevel7Qty","discELevel7Rate","discELevel8Qty","discELevel8Rate","discELevel9Qty","discELevel9Rate","externalUsage","firstTran","ignoreStkLvlFlag","inactiveFlag","intrastatCommodityCode","intrastatImportDutyCode","itemType","lastCostDiscount","lastOrderQuantity","lastPurchaseDate","lastPurchasePrice","lastSaleDate","lastTran","lastUpdated","linkLevel","location","noOfTran","nominalCode","priorYrCostBf","priorYrCostFuture","priorYrCostMth1","priorYrCostMth10","priorYrCostMth11","priorYrCostMth12","priorYrCostMth2","priorYrCostMth3","priorYrCostMth4","priorYrCostMth5","priorYrCostMth6","priorYrCostMth7","priorYrCostMth8","priorYrCostMth9","priorYrQtySoldBf","priorYrQtySoldFuture","priorYrQtySoldMth1","priorYrQtySoldMth10","priorYrQtySoldMth11","priorYrQtySoldMth12","priorYrQtySoldMth2","priorYrQtySoldMth3","priorYrQtySoldMth4","priorYrQtySoldMth5","priorYrQtySoldMth6","priorYrQtySoldMth7","priorYrQtySoldMth8","priorYrQtySoldMth9","priorYrSalesBf","priorYrSalesFuture","priorYrSalesMth1","priorYrSalesMth10","priorYrSalesMth11","priorYrSalesMth12","priorYrSalesMth2","priorYrSalesMth3","priorYrSalesMth4","priorYrSalesMth5","priorYrSalesMth6","priorYrSalesMth7","priorYrSalesMth8","priorYrSalesMth9","productBarcode","purchaseNominalCode","purchaseRef","qtyAllocated","qtyInStock","qtyLastOrder","qtyLastStockTake","qtyOnOrder","qtyReorder","qtyReorderLevel","qtySoldBf","qtySoldFuture","qtySoldMth1","qtySoldMth10","qtySoldMth11","qtySoldMth12","qtySoldMth2","qtySoldMth3","qtySoldMth4","qtySoldMth5","qtySoldMth6","qtySoldMth7","qtySoldMth8","qtySoldMth9","recordCreateDate","recordDeleted","recordModifyDate","salesBf","salesFuture","salesMth1","salesMth10","salesMth11","salesMth12","salesMth2","salesMth3","salesMth4","salesMth5","salesMth6","salesMth7","salesMth8","salesMth9","salesPrice","stockCat","stockCode","stockTakeDate","suppUnitQty","supplierPartNumber","taxCode","unitOfSale","unitWeight","webDescription","webImage","webLongdescription","webPublish","webSpecialOffer","id"],"additionalProperties":false},"Uk29_2_items_get":{"type":"object","properties":{"assemblyLevel":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Assembly level (SDO ASSEMBLY_LEVEL; Optional; precision 0)"},"averageCostPrice":{"type":"number","nullable":true,"description":"Average cost price (SDO AVERAGE_COST_PRICE; Optional; precision 101)"},"budgetQtySoldBf":{"type":"number","nullable":true,"description":"Brought forward budget quantity sold (SDO BUDGET_QTY_SOLD_BF; Optional; precision 102)"},"budgetQtySoldFuture":{"type":"number","nullable":true,"description":"Future budget quantity sold (SDO BUDGET_QTY_SOLD_FUTURE; Optional; precision 102)"},"budgetQtySoldMth1":{"type":"number","nullable":true,"description":"Month 1 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH1; Optional; precision 102)"},"budgetQtySoldMth10":{"type":"number","nullable":true,"description":"Month 10 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH10; Optional; precision 102)"},"budgetQtySoldMth11":{"type":"number","nullable":true,"description":"Month 11 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH11; Optional; precision 102)"},"budgetQtySoldMth12":{"type":"number","nullable":true,"description":"Month 12 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH12; Optional; precision 102)"},"budgetQtySoldMth2":{"type":"number","nullable":true,"description":"Month 2 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH2; Optional; precision 102)"},"budgetQtySoldMth3":{"type":"number","nullable":true,"description":"Month 3 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH3; Optional; precision 102)"},"budgetQtySoldMth4":{"type":"number","nullable":true,"description":"Month 4 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH4; Optional; precision 102)"},"budgetQtySoldMth5":{"type":"number","nullable":true,"description":"Month 5 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH5; Optional; precision 102)"},"budgetQtySoldMth6":{"type":"number","nullable":true,"description":"Month 6 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH6; Optional; precision 102)"},"budgetQtySoldMth7":{"type":"number","nullable":true,"description":"Month 7 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH7; Optional; precision 102)"},"budgetQtySoldMth8":{"type":"number","nullable":true,"description":"Month 8 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH8; Optional; precision 102)"},"budgetQtySoldMth9":{"type":"number","nullable":true,"description":"Month 9 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH9; Optional; precision 102)"},"budgetSalesBf":{"type":"number","nullable":true,"description":"Brought forward budget sales (SDO BUDGET_SALES_BF; Optional; precision 2)"},"budgetSalesFuture":{"type":"number","nullable":true,"description":"Future budget sales (SDO BUDGET_SALES_FUTURE; Optional; precision 2)"},"budgetSalesMth1":{"type":"number","nullable":true,"description":"Month 1 budget sales (SDO BUDGET_SALES_MTH1; Optional; precision 2)"},"budgetSalesMth10":{"type":"number","nullable":true,"description":"Month 10 budget sales (SDO BUDGET_SALES_MTH10; Optional; precision 2)"},"budgetSalesMth11":{"type":"number","nullable":true,"description":"Month 11 budget sales (SDO BUDGET_SALES_MTH11; Optional; precision 2)"},"budgetSalesMth12":{"type":"number","nullable":true,"description":"Month 12 budget sales (SDO BUDGET_SALES_MTH12; Optional; precision 2)"},"budgetSalesMth2":{"type":"number","nullable":true,"description":"Month 2 budget sales (SDO BUDGET_SALES_MTH2; Optional; precision 2)"},"budgetSalesMth3":{"type":"number","nullable":true,"description":"Month 3 budget sales (SDO BUDGET_SALES_MTH3; Optional; precision 2)"},"budgetSalesMth4":{"type":"number","nullable":true,"description":"Month 4 budget sales (SDO BUDGET_SALES_MTH4; Optional; precision 2)"},"budgetSalesMth5":{"type":"number","nullable":true,"description":"Month 5 budget sales (SDO BUDGET_SALES_MTH5; Optional; precision 2)"},"budgetSalesMth6":{"type":"number","nullable":true,"description":"Month 6 budget sales (SDO BUDGET_SALES_MTH6; Optional; precision 2)"},"budgetSalesMth7":{"type":"number","nullable":true,"description":"Month 7 budget sales (SDO BUDGET_SALES_MTH7; Optional; precision 2)"},"budgetSalesMth8":{"type":"number","nullable":true,"description":"Month 8 budget sales (SDO BUDGET_SALES_MTH8; Optional; precision 2)"},"budgetSalesMth9":{"type":"number","nullable":true,"description":"Month 9 budget sales (SDO BUDGET_SALES_MTH9; Optional; precision 2)"},"commodityCode":{"type":"string","nullable":true,"maxLength":30,"description":"Commodity code description (SDO COMMODITY_CODE; Optional; precision 0)"},"componentCode1":{"type":"string","nullable":true,"maxLength":30,"description":"Component 1 stock code (SDO COMPONENT_CODE_1; Optional; precision 0)"},"componentCode10":{"type":"string","nullable":true,"maxLength":30,"description":"Component 10 stock code (SDO COMPONENT_CODE_10; Optional; precision 0)"},"componentCode11":{"type":"string","nullable":true,"maxLength":30,"description":"Component 11 stock code (SDO COMPONENT_Code_11; Optional; precision 0)"},"componentCode12":{"type":"string","nullable":true,"maxLength":30,"description":"Component 12 stock code (SDO COMPONENT_Code_12; Optional; precision 0)"},"componentCode13":{"type":"string","nullable":true,"maxLength":30,"description":"Component 13 stock code (SDO COMPONENT_Code_13; Optional; precision 0)"},"componentCode14":{"type":"string","nullable":true,"maxLength":30,"description":"Component 14 stock code (SDO COMPONENT_Code_14; Optional; precision 0)"},"componentCode15":{"type":"string","nullable":true,"maxLength":30,"description":"Component 15 stock code (SDO COMPONENT_Code_15; Optional; precision 0)"},"componentCode16":{"type":"string","nullable":true,"maxLength":30,"description":"Component 16 stock code (SDO COMPONENT_Code_16; Optional; precision 0)"},"componentCode17":{"type":"string","nullable":true,"maxLength":30,"description":"Component 17 stock code (SDO COMPONENT_Code_17; Optional; precision 0)"},"componentCode18":{"type":"string","nullable":true,"maxLength":30,"description":"Component 18 stock code (SDO COMPONENT_Code_18; Optional; precision 0)"},"componentCode19":{"type":"string","nullable":true,"maxLength":30,"description":"Component 19 stock code (SDO COMPONENT_Code_19; Optional; precision 0)"},"componentCode2":{"type":"string","nullable":true,"maxLength":30,"description":"Component 2 stock code (SDO COMPONENT_CODE_2; Optional; precision 0)"},"componentCode20":{"type":"string","nullable":true,"maxLength":30,"description":"Component 20 stock code (SDO COMPONENT_CODE_20; Optional; precision 0)"},"componentCode21":{"type":"string","nullable":true,"maxLength":30,"description":"Component 21 stock code (SDO COMPONENT_Code_21; Optional; precision 0)"},"componentCode22":{"type":"string","nullable":true,"maxLength":30,"description":"Component 22 stock code (SDO COMPONENT_Code_22; Optional; precision 0)"},"componentCode23":{"type":"string","nullable":true,"maxLength":30,"description":"Component 23 stock code (SDO COMPONENT_Code_23; Optional; precision 0)"},"componentCode24":{"type":"string","nullable":true,"maxLength":30,"description":"Component 24 stock code (SDO COMPONENT_Code_24; Optional; precision 0)"},"componentCode25":{"type":"string","nullable":true,"maxLength":30,"description":"Component 25 stock code (SDO COMPONENT_Code_25; Optional; precision 0)"},"componentCode26":{"type":"string","nullable":true,"maxLength":30,"description":"Component 26 stock code (SDO COMPONENT_Code_26; Optional; precision 0)"},"componentCode27":{"type":"string","nullable":true,"maxLength":30,"description":"Component 27 stock code (SDO COMPONENT_Code_27; Optional; precision 0)"},"componentCode28":{"type":"string","nullable":true,"maxLength":30,"description":"Component 28 stock code (SDO COMPONENT_Code_28; Optional; precision 0)"},"componentCode29":{"type":"string","nullable":true,"maxLength":30,"description":"Component 29 stock code (SDO COMPONENT_Code_29; Optional; precision 0)"},"componentCode3":{"type":"string","nullable":true,"maxLength":30,"description":"Component 3 stock code (SDO COMPONENT_CODE_3; Optional; precision 0)"},"componentCode30":{"type":"string","nullable":true,"maxLength":30,"description":"Component 30 stock code (SDO COMPONENT_CODE_30; Optional; precision 0)"},"componentCode31":{"type":"string","nullable":true,"maxLength":30,"description":"Component 31 stock code (SDO COMPONENT_Code_31; Optional; precision 0)"},"componentCode32":{"type":"string","nullable":true,"maxLength":30,"description":"Component 32 stock code (SDO COMPONENT_Code_32; Optional; precision 0)"},"componentCode33":{"type":"string","nullable":true,"maxLength":30,"description":"Component 33 stock code (SDO COMPONENT_Code_33; Optional; precision 0)"},"componentCode34":{"type":"string","nullable":true,"maxLength":30,"description":"Component 34 stock code (SDO COMPONENT_Code_34; Optional; precision 0)"},"componentCode35":{"type":"string","nullable":true,"maxLength":30,"description":"Component 35 stock code (SDO COMPONENT_Code_35; Optional; precision 0)"},"componentCode36":{"type":"string","nullable":true,"maxLength":30,"description":"Component 36 stock code (SDO COMPONENT_Code_36; Optional; precision 0)"},"componentCode37":{"type":"string","nullable":true,"maxLength":30,"description":"Component 37 stock code (SDO COMPONENT_Code_37; Optional; precision 0)"},"componentCode38":{"type":"string","nullable":true,"maxLength":30,"description":"Component 38 stock code (SDO COMPONENT_Code_38; Optional; precision 0)"},"componentCode39":{"type":"string","nullable":true,"maxLength":30,"description":"Component 39 stock code (SDO COMPONENT_Code_39; Optional; precision 0)"},"componentCode4":{"type":"string","nullable":true,"maxLength":30,"description":"Component 4 stock code (SDO COMPONENT_CODE_4; Optional; precision 0)"},"componentCode40":{"type":"string","nullable":true,"maxLength":30,"description":"Component 40 stock code (SDO COMPONENT_CODE_40; Optional; precision 0)"},"componentCode41":{"type":"string","nullable":true,"maxLength":30,"description":"Component 41 stock code (SDO COMPONENT_Code_41; Optional; precision 0)"},"componentCode42":{"type":"string","nullable":true,"maxLength":30,"description":"Component 42 stock code (SDO COMPONENT_Code_42; Optional; precision 0)"},"componentCode43":{"type":"string","nullable":true,"maxLength":30,"description":"Component 43 stock code (SDO COMPONENT_Code_43; Optional; precision 0)"},"componentCode44":{"type":"string","nullable":true,"maxLength":30,"description":"Component 44 stock code (SDO COMPONENT_Code_44; Optional; precision 0)"},"componentCode45":{"type":"string","nullable":true,"maxLength":30,"description":"Component 45 stock code (SDO COMPONENT_Code_45; Optional; precision 0)"},"componentCode46":{"type":"string","nullable":true,"maxLength":30,"description":"Component 46 stock code (SDO COMPONENT_Code_46; Optional; precision 0)"},"componentCode47":{"type":"string","nullable":true,"maxLength":30,"description":"Component 47 stock code (SDO COMPONENT_Code_47; Optional; precision 0)"},"componentCode48":{"type":"string","nullable":true,"maxLength":30,"description":"Component 48 stock code (SDO COMPONENT_Code_48; Optional; precision 0)"},"componentCode49":{"type":"string","nullable":true,"maxLength":30,"description":"Component 49 stock code (SDO COMPONENT_Code_49; Optional; precision 0)"},"componentCode5":{"type":"string","nullable":true,"maxLength":30,"description":"Component 5 stock code (SDO COMPONENT_CODE_5; Optional; precision 0)"},"componentCode50":{"type":"string","nullable":true,"maxLength":30,"description":"Component 50 stock code (SDO COMPONENT_Code_50; Optional; precision 0)"},"componentCode6":{"type":"string","nullable":true,"maxLength":30,"description":"Component 6 stock code (SDO COMPONENT_CODE_6; Optional; precision 0)"},"componentCode7":{"type":"string","nullable":true,"maxLength":30,"description":"Component 7 stock code (SDO COMPONENT_CODE_7; Optional; precision 0)"},"componentCode8":{"type":"string","nullable":true,"maxLength":30,"description":"Component 8 stock code (SDO COMPONENT_CODE_8; Optional; precision 0)"},"componentCode9":{"type":"string","nullable":true,"maxLength":30,"description":"Component 9 stock code (SDO COMPONENT_CODE_9; Optional; precision 0)"},"componentQty1":{"type":"number","nullable":true,"description":"Component 1 quantity (SDO COMPONENT_QTY_1; Optional; precision 102)"},"componentQty10":{"type":"number","nullable":true,"description":"Component 10 quantity (SDO COMPONENT_QTY_10; Optional; precision 102)"},"componentQty11":{"type":"number","nullable":true,"description":"Component 11 quantity (SDO COMPONENT_QTY_11; Optional; precision 102)"},"componentQty12":{"type":"number","nullable":true,"description":"Component 12 quantity (SDO COMPONENT_QTY_12; Optional; precision 102)"},"componentQty13":{"type":"number","nullable":true,"description":"Component 13 quantity (SDO COMPONENT_QTY_13; Optional; precision 102)"},"componentQty14":{"type":"number","nullable":true,"description":"Component 14 quantity (SDO COMPONENT_QTY_14; Optional; precision 102)"},"componentQty15":{"type":"number","nullable":true,"description":"Component 15 quantity (SDO COMPONENT_QTY_15; Optional; precision 102)"},"componentQty16":{"type":"number","nullable":true,"description":"Component 16 quantity (SDO COMPONENT_QTY_16; Optional; precision 102)"},"componentQty17":{"type":"number","nullable":true,"description":"Component 17 quantity (SDO COMPONENT_QTY_17; Optional; precision 102)"},"componentQty18":{"type":"number","nullable":true,"description":"Component 18 quantity (SDO COMPONENT_QTY_18; Optional; precision 102)"},"componentQty19":{"type":"number","nullable":true,"description":"Component 19 quantity (SDO COMPONENT_QTY_19; Optional; precision 102)"},"componentQty2":{"type":"number","nullable":true,"description":"Component 2 quantity (SDO COMPONENT_QTY_2; Optional; precision 102)"},"componentQty20":{"type":"number","nullable":true,"description":"Component 20 quantity (SDO COMPONENT_QTY_20; Optional; precision 102)"},"componentQty21":{"type":"number","nullable":true,"description":"Component 21 quantity (SDO COMPONENT_QTY_21; Optional; precision 102)"},"componentQty22":{"type":"number","nullable":true,"description":"Component 22 quantity (SDO COMPONENT_QTY_22; Optional; precision 102)"},"componentQty23":{"type":"number","nullable":true,"description":"Component 23 quantity (SDO COMPONENT_QTY_23; Optional; precision 102)"},"componentQty24":{"type":"number","nullable":true,"description":"Component 24 quantity (SDO COMPONENT_QTY_24; Optional; precision 102)"},"componentQty25":{"type":"number","nullable":true,"description":"Component 25 quantity (SDO COMPONENT_QTY_25; Optional; precision 102)"},"componentQty26":{"type":"number","nullable":true,"description":"Component 26 quantity (SDO COMPONENT_QTY_26; Optional; precision 102)"},"componentQty27":{"type":"number","nullable":true,"description":"Component 27 quantity (SDO COMPONENT_QTY_27; Optional; precision 102)"},"componentQty28":{"type":"number","nullable":true,"description":"Component 28 quantity (SDO COMPONENT_QTY_28; Optional; precision 102)"},"componentQty29":{"type":"number","nullable":true,"description":"Component 29 quantity (SDO COMPONENT_QTY_29; Optional; precision 102)"},"componentQty3":{"type":"number","nullable":true,"description":"Component 3 quantity (SDO COMPONENT_QTY_3; Optional; precision 102)"},"componentQty30":{"type":"number","nullable":true,"description":"Component 30 quantity (SDO COMPONENT_QTY_30; Optional; precision 102)"},"componentQty31":{"type":"number","nullable":true,"description":"Component 31 quantity (SDO COMPONENT_QTY_31; Optional; precision 102)"},"componentQty32":{"type":"number","nullable":true,"description":"Component 32 quantity (SDO COMPONENT_QTY_32; Optional; precision 102)"},"componentQty33":{"type":"number","nullable":true,"description":"Component 33 quantity (SDO COMPONENT_QTY_33; Optional; precision 102)"},"componentQty34":{"type":"number","nullable":true,"description":"Component 34 quantity (SDO COMPONENT_QTY_34; Optional; precision 102)"},"componentQty35":{"type":"number","nullable":true,"description":"Component 35 quantity (SDO COMPONENT_QTY_35; Optional; precision 102)"},"componentQty36":{"type":"number","nullable":true,"description":"Component 36 quantity (SDO COMPONENT_QTY_36; Optional; precision 102)"},"componentQty37":{"type":"number","nullable":true,"description":"Component 37 quantity (SDO COMPONENT_QTY_37; Optional; precision 102)"},"componentQty38":{"type":"number","nullable":true,"description":"Component 38 quantity (SDO COMPONENT_QTY_38; Optional; precision 102)"},"componentQty39":{"type":"number","nullable":true,"description":"Component 39 quantity (SDO COMPONENT_QTY_39; Optional; precision 102)"},"componentQty4":{"type":"number","nullable":true,"description":"Component 4 quantity (SDO COMPONENT_QTY_4; Optional; precision 102)"},"componentQty40":{"type":"number","nullable":true,"description":"Component 40 quantity (SDO COMPONENT_QTY_40; Optional; precision 102)"},"componentQty41":{"type":"number","nullable":true,"description":"Component 41 quantity (SDO COMPONENT_QTY_41; Optional; precision 102)"},"componentQty42":{"type":"number","nullable":true,"description":"Component 42 quantity (SDO COMPONENT_QTY_42; Optional; precision 102)"},"componentQty43":{"type":"number","nullable":true,"description":"Component 43 quantity (SDO COMPONENT_QTY_43; Optional; precision 102)"},"componentQty44":{"type":"number","nullable":true,"description":"Component 44 quantity (SDO COMPONENT_QTY_44; Optional; precision 102)"},"componentQty45":{"type":"number","nullable":true,"description":"Component 45 quantity (SDO COMPONENT_QTY_45; Optional; precision 102)"},"componentQty46":{"type":"number","nullable":true,"description":"Component 46 quantity (SDO COMPONENT_QTY_46; Optional; precision 102)"},"componentQty47":{"type":"number","nullable":true,"description":"Component 47 quantity (SDO COMPONENT_QTY_47; Optional; precision 102)"},"componentQty48":{"type":"number","nullable":true,"description":"Component 48 quantity (SDO COMPONENT_QTY_48; Optional; precision 102)"},"componentQty49":{"type":"number","nullable":true,"description":"Component 49 quantity (SDO COMPONENT_QTY_49; Optional; precision 102)"},"componentQty5":{"type":"number","nullable":true,"description":"Component 5 quantity (SDO COMPONENT_QTY_5; Optional; precision 102)"},"componentQty50":{"type":"number","nullable":true,"description":"Component 50 quantity (SDO COMPONENT_QTY_50; Optional; precision 102)"},"componentQty6":{"type":"number","nullable":true,"description":"Component 6 quantity (SDO COMPONENT_QTY_6; Optional; precision 102)"},"componentQty7":{"type":"number","nullable":true,"description":"Component 7 quantity (SDO COMPONENT_QTY_7; Optional; precision 102)"},"componentQty8":{"type":"number","nullable":true,"description":"Component 8 quantity (SDO COMPONENT_QTY_8; Optional; precision 102)"},"componentQty9":{"type":"number","nullable":true,"description":"Component 9 quantity (SDO COMPONENT_QTY_9; Optional; precision 102)"},"costBf":{"type":"number","nullable":true,"description":"Brought forward costs (SDO COST_BF; Optional; precision 2)"},"costFuture":{"type":"number","nullable":true,"description":"Future costs (SDO COST_FUTURE; Optional; precision 2)"},"costMth1":{"type":"number","nullable":true,"description":"Month 1 costs (SDO COST_MTH1; Optional; precision 2)"},"costMth10":{"type":"number","nullable":true,"description":"Month 10 costs (SDO COST_MTH10; Optional; precision 2)"},"costMth11":{"type":"number","nullable":true,"description":"Month 11 costs (SDO COST_MTH11; Optional; precision 2)"},"costMth12":{"type":"number","nullable":true,"description":"Month 12 costs (SDO COST_MTH12; Optional; precision 2)"},"costMth2":{"type":"number","nullable":true,"description":"Month 2 costs (SDO COST_MTH2; Optional; precision 2)"},"costMth3":{"type":"number","nullable":true,"description":"Month 3 costs (SDO COST_MTH3; Optional; precision 2)"},"costMth4":{"type":"number","nullable":true,"description":"Month 4 costs (SDO COST_MTH4; Optional; precision 2)"},"costMth5":{"type":"number","nullable":true,"description":"Month 5 costs (SDO COST_MTH5; Optional; precision 2)"},"costMth6":{"type":"number","nullable":true,"description":"Month 6 costs (SDO COST_MTH6; Optional; precision 2)"},"costMth7":{"type":"number","nullable":true,"description":"Month 7 costs (SDO COST_MTH7; Optional; precision 2)"},"costMth8":{"type":"number","nullable":true,"description":"Month 8 costs (SDO COST_MTH8; Optional; precision 2)"},"costMth9":{"type":"number","nullable":true,"description":"Month 9 costs (SDO COST_MTH9; Optional; precision 2)"},"countryCodeOfOrigin":{"type":"string","nullable":true,"maxLength":2,"description":"Country of Origin (SDO COUNTRY_CODE_OF_ORIGIN; Optional; precision 0)"},"custom1":{"type":"string","nullable":true,"maxLength":60,"description":"Custom Field 1 (SDO CUSTOM_1; Optional; precision 0)"},"custom2":{"type":"string","nullable":true,"maxLength":60,"description":"Custom Field 2 (SDO CUSTOM_2; Optional; precision 0)"},"custom3":{"type":"string","nullable":true,"maxLength":60,"description":"Custom Field 3 (SDO CUSTOM_3; Optional; precision 0)"},"deletedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Is Deleted (SDO DELETED_FLAG; Optional; precision 0)"},"deptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Department number (SDO DEPT_NUMBER; Optional; precision 0)"},"description":{"type":"string","nullable":true,"maxLength":120,"description":"Description (SDO DESCRIPTION; Optional; precision 0)"},"discALevel10Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 10, Quantity (SDO DISC_A_LEVEL_10_QTY; Optional; precision 102)"},"discALevel10Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 10, Rate (SDO DISC_A_LEVEL_10_RATE; Optional; precision 2)"},"discALevel1Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 1, Quantity (SDO DISC_A_LEVEL_1_QTY; Optional; precision 102)"},"discALevel1Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 1, Rate (SDO DISC_A_LEVEL_1_RATE; Optional; precision 2)"},"discALevel2Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 2, Quantity (SDO DISC_A_LEVEL_2_QTY; Optional; precision 102)"},"discALevel2Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 2, Rate (SDO DISC_A_LEVEL_2_RATE; Optional; precision 2)"},"discALevel3Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 3, Quantity (SDO DISC_A_LEVEL_3_QTY; Optional; precision 102)"},"discALevel3Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 3, Rate (SDO DISC_A_LEVEL_3_RATE; Optional; precision 2)"},"discALevel4Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 4, Quantity (SDO DISC_A_LEVEL_4_QTY; Optional; precision 102)"},"discALevel4Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 4, Rate (SDO DISC_A_LEVEL_4_RATE; Optional; precision 2)"},"discALevel5Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 5, Quantity (SDO DISC_A_LEVEL_5_QTY; Optional; precision 102)"},"discALevel5Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 5, Rate (SDO DISC_A_LEVEL_5_RATE; Optional; precision 2)"},"discALevel6Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 6, Quantity (SDO DISC_A_LEVEL_6_QTY; Optional; precision 102)"},"discALevel6Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 6, Rate (SDO DISC_A_LEVEL_6_RATE; Optional; precision 2)"},"discALevel7Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 7, Quantity (SDO DISC_A_LEVEL_7_QTY; Optional; precision 102)"},"discALevel7Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 7, Rate (SDO DISC_A_LEVEL_7_RATE; Optional; precision 2)"},"discALevel8Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 8, Quantity (SDO DISC_A_LEVEL_8_QTY; Optional; precision 102)"},"discALevel8Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 8, Rate (SDO DISC_A_LEVEL_8_RATE; Optional; precision 2)"},"discALevel9Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 9, Quantity (SDO DISC_A_LEVEL_9_QTY; Optional; precision 102)"},"discALevel9Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 9, Rate (SDO DISC_A_LEVEL_9_RATE; Optional; precision 2)"},"discBLevel10Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 10, Quantity (SDO DISC_B_LEVEL_10_QTY; Optional; precision 102)"},"discBLevel10Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 10, Rate (SDO DISC_B_LEVEL_10_RATE; Optional; precision 2)"},"discBLevel1Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 1, Quantity (SDO DISC_B_LEVEL_1_QTY; Optional; precision 102)"},"discBLevel1Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 1, Rate (SDO DISC_B_LEVEL_1_RATE; Optional; precision 2)"},"discBLevel2Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 2, Quantity (SDO DISC_B_LEVEL_2_QTY; Optional; precision 102)"},"discBLevel2Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 2, Rate (SDO DISC_B_LEVEL_2_RATE; Optional; precision 2)"},"discBLevel3Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 3, Quantity (SDO DISC_B_LEVEL_3_QTY; Optional; precision 102)"},"discBLevel3Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 3, Rate (SDO DISC_B_LEVEL_3_RATE; Optional; precision 2)"},"discBLevel4Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 4, Quantity (SDO DISC_B_LEVEL_4_QTY; Optional; precision 102)"},"discBLevel4Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 4, Rate (SDO DISC_B_LEVEL_4_RATE; Optional; precision 2)"},"discBLevel5Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 5, Quantity (SDO DISC_B_LEVEL_5_QTY; Optional; precision 102)"},"discBLevel5Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 5, Rate (SDO DISC_B_LEVEL_5_RATE; Optional; precision 2)"},"discBLevel6Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 6, Quantity (SDO DISC_B_LEVEL_6_QTY; Optional; precision 102)"},"discBLevel6Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 6, Rate (SDO DISC_B_LEVEL_6_RATE; Optional; precision 2)"},"discBLevel7Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 7, Quantity (SDO DISC_B_LEVEL_7_QTY; Optional; precision 102)"},"discBLevel7Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 7, Rate (SDO DISC_B_LEVEL_7_RATE; Optional; precision 2)"},"discBLevel8Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 8, Quantity (SDO DISC_B_LEVEL_8_QTY; Optional; precision 102)"},"discBLevel8Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 8, Rate (SDO DISC_B_LEVEL_8_RATE; Optional; precision 2)"},"discBLevel9Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 9, Quantity (SDO DISC_B_LEVEL_9_QTY; Optional; precision 102)"},"discBLevel9Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 9, Rate (SDO DISC_B_LEVEL_9_RATE; Optional; precision 2)"},"discCLevel10Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 10, Quantity (SDO DISC_C_LEVEL_10_QTY; Optional; precision 102)"},"discCLevel10Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 10, Rate (SDO DISC_C_LEVEL_10_RATE; Optional; precision 2)"},"discCLevel1Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 1, Quantity (SDO DISC_C_LEVEL_1_QTY; Optional; precision 102)"},"discCLevel1Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 1, Rate (SDO DISC_C_LEVEL_1_RATE; Optional; precision 2)"},"discCLevel2Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 2, Quantity (SDO DISC_C_LEVEL_2_QTY; Optional; precision 102)"},"discCLevel2Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 2, Rate (SDO DISC_C_LEVEL_2_RATE; Optional; precision 2)"},"discCLevel3Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 3, Quantity (SDO DISC_C_LEVEL_3_QTY; Optional; precision 102)"},"discCLevel3Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 3, Rate (SDO DISC_C_LEVEL_3_RATE; Optional; precision 2)"},"discCLevel4Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 4, Quantity (SDO DISC_C_LEVEL_4_QTY; Optional; precision 102)"},"discCLevel4Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 4, Rate (SDO DISC_C_LEVEL_4_RATE; Optional; precision 2)"},"discCLevel5Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 5, Quantity (SDO DISC_C_LEVEL_5_QTY; Optional; precision 102)"},"discCLevel5Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 5, Rate (SDO DISC_C_LEVEL_5_RATE; Optional; precision 2)"},"discCLevel6Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 6, Quantity (SDO DISC_C_LEVEL_6_QTY; Optional; precision 102)"},"discCLevel6Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 6, Rate (SDO DISC_C_LEVEL_6_RATE; Optional; precision 2)"},"discCLevel7Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 7, Quantity (SDO DISC_C_LEVEL_7_QTY; Optional; precision 102)"},"discCLevel7Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 7, Rate (SDO DISC_C_LEVEL_7_RATE; Optional; precision 2)"},"discCLevel8Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 8, Quantity (SDO DISC_C_LEVEL_8_QTY; Optional; precision 102)"},"discCLevel8Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 8, Rate (SDO DISC_C_LEVEL_8_RATE; Optional; precision 2)"},"discCLevel9Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 9, Quantity (SDO DISC_C_LEVEL_9_QTY; Optional; precision 102)"},"discCLevel9Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 9, Rate (SDO DISC_C_LEVEL_9_RATE; Optional; precision 2)"},"discDLevel10Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 10, Quantity (SDO DISC_D_LEVEL_10_QTY; Optional; precision 102)"},"discDLevel10Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 10, Rate (SDO DISC_D_LEVEL_10_RATE; Optional; precision 2)"},"discDLevel1Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 1, Quantity (SDO DISC_D_LEVEL_1_QTY; Optional; precision 102)"},"discDLevel1Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 1, Rate (SDO DISC_D_LEVEL_1_RATE; Optional; precision 2)"},"discDLevel2Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 2, Quantity (SDO DISC_D_LEVEL_2_QTY; Optional; precision 102)"},"discDLevel2Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 2, Rate (SDO DISC_D_LEVEL_2_RATE; Optional; precision 2)"},"discDLevel3Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 3, Quantity (SDO DISC_D_LEVEL_3_QTY; Optional; precision 102)"},"discDLevel3Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 3, Rate (SDO DISC_D_LEVEL_3_RATE; Optional; precision 2)"},"discDLevel4Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 4, Quantity (SDO DISC_D_LEVEL_4_QTY; Optional; precision 102)"},"discDLevel4Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 4, Rate (SDO DISC_D_LEVEL_4_RATE; Optional; precision 2)"},"discDLevel5Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 5, Quantity (SDO DISC_D_LEVEL_5_QTY; Optional; precision 102)"},"discDLevel5Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 5, Rate (SDO DISC_D_LEVEL_5_RATE; Optional; precision 2)"},"discDLevel6Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 6, Quantity (SDO DISC_D_LEVEL_6_QTY; Optional; precision 102)"},"discDLevel6Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 6, Rate (SDO DISC_D_LEVEL_6_RATE; Optional; precision 2)"},"discDLevel7Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 7, Quantity (SDO DISC_D_LEVEL_7_QTY; Optional; precision 102)"},"discDLevel7Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 7, Rate (SDO DISC_D_LEVEL_7_RATE; Optional; precision 2)"},"discDLevel8Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 8, Quantity (SDO DISC_D_LEVEL_8_QTY; Optional; precision 102)"},"discDLevel8Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 8, Rate (SDO DISC_D_LEVEL_8_RATE; Optional; precision 2)"},"discDLevel9Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 9, Quantity (SDO DISC_D_LEVEL_9_QTY; Optional; precision 102)"},"discDLevel9Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 9, Rate (SDO DISC_D_LEVEL_9_RATE; Optional; precision 2)"},"discELevel10Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 10, Quantity (SDO DISC_E_LEVEL_10_QTY; Optional; precision 102)"},"discELevel10Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 10, Rate (SDO DISC_E_LEVEL_10_RATE; Optional; precision 2)"},"discELevel1Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 1, Quantity (SDO DISC_E_LEVEL_1_QTY; Optional; precision 102)"},"discELevel1Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 1, Rate (SDO DISC_E_LEVEL_1_RATE; Optional; precision 2)"},"discELevel2Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 2, Quantity (SDO DISC_E_LEVEL_2_QTY; Optional; precision 102)"},"discELevel2Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 2, Rate (SDO DISC_E_LEVEL_2_RATE; Optional; precision 2)"},"discELevel3Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 3, Quantity (SDO DISC_E_LEVEL_3_QTY; Optional; precision 102)"},"discELevel3Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 3, Rate (SDO DISC_E_LEVEL_3_RATE; Optional; precision 2)"},"discELevel4Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 4, Quantity (SDO DISC_E_LEVEL_4_QTY; Optional; precision 102)"},"discELevel4Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 4, Rate (SDO DISC_E_LEVEL_4_RATE; Optional; precision 2)"},"discELevel5Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 5, Quantity (SDO DISC_E_LEVEL_5_QTY; Optional; precision 102)"},"discELevel5Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 5, Rate (SDO DISC_E_LEVEL_5_RATE; Optional; precision 2)"},"discELevel6Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 6, Quantity (SDO DISC_E_LEVEL_6_QTY; Optional; precision 102)"},"discELevel6Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 6, Rate (SDO DISC_E_LEVEL_6_RATE; Optional; precision 2)"},"discELevel7Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 7, Quantity (SDO DISC_E_LEVEL_7_QTY; Optional; precision 102)"},"discELevel7Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 7, Rate (SDO DISC_E_LEVEL_7_RATE; Optional; precision 2)"},"discELevel8Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 8, Quantity (SDO DISC_E_LEVEL_8_QTY; Optional; precision 102)"},"discELevel8Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 8, Rate (SDO DISC_E_LEVEL_8_RATE; Optional; precision 2)"},"discELevel9Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 9, Quantity (SDO DISC_E_LEVEL_9_QTY; Optional; precision 102)"},"discELevel9Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 9, Rate (SDO DISC_E_LEVEL_9_RATE; Optional; precision 2)"},"externalUsage":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Number of External Usages (SDO EXTERNAL_USAGE; Optional; precision 0)"},"firstTran":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO FIRST_TRAN; Optional; precision 0)"},"ignoreStkLvlFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Ignore stock level flag (SDO IGNORE_STK_LVL_FLAG; Optional; precision 0)"},"inactiveFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Inactive Flag - Yes/No (SDO INACTIVE_FLAG; Optional; precision 0)"},"intrastatCommodityCode":{"type":"string","nullable":true,"maxLength":8,"description":"Intrastat Commodity code (SDO INTRASTAT_COMMODITY_CODE; Optional; precision 0)"},"intrastatImportDutyCode":{"type":"string","nullable":true,"maxLength":2,"description":"Intrastat Import Duty code (SDO INTRASTAT_IMPORT_DUTY_CODE; Optional; precision 0)"},"itemType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Item Type (SDO ITEM_TYPE; Optional; precision 0)"},"lastCostDiscount":{"type":"number","nullable":true,"description":"Last Cost Discounted (SDO LAST_COST_DISCOUNT; Optional; precision 101)"},"lastOrderQuantity":{"type":"number","nullable":true,"description":"Last Order Quantity (SDO LAST_ORDER_QUANTITY; Optional; precision 101)"},"lastPurchaseDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Last purchase date (SDO LAST_PURCHASE_DATE; Optional; precision 0)"},"lastPurchasePrice":{"type":"number","nullable":true,"description":"Last purchase price (SDO LAST_PURCHASE_PRICE; Optional; precision 101)"},"lastSaleDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Last sale date (SDO LAST_SALE_DATE; Optional; precision 0)"},"lastTran":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO LAST_TRAN; Optional; precision 0)"},"lastUpdated":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date of last update (SDO LAST_UPDATED; Optional; precision 0)"},"linkLevel":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Link level (SDO LINK_LEVEL; Optional; precision 0)"},"location":{"type":"string","nullable":true,"maxLength":16,"description":"Location (SDO LOCATION; Optional; precision 0)"},"noOfTran":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO NO_OF_TRAN; Optional; precision 0)"},"nominalCode":{"type":"string","nullable":true,"maxLength":8,"description":"Sales Nominal code (SDO NOMINAL_CODE; Optional; precision 0)"},"priorYrCostBf":{"type":"number","nullable":true,"description":"Prior year brought forward costs (SDO PRIOR_YR_COST_BF; Optional; precision 2)"},"priorYrCostFuture":{"type":"number","nullable":true,"description":"Prior year future costs (SDO PRIOR_YR_COST_FUTURE; Optional; precision 2)"},"priorYrCostMth1":{"type":"number","nullable":true,"description":"Prior year month 1 costs (SDO PRIOR_YR_COST_MTH1; Optional; precision 2)"},"priorYrCostMth10":{"type":"number","nullable":true,"description":"Prior year month 10 costs (SDO PRIOR_YR_COST_MTH10; Optional; precision 2)"},"priorYrCostMth11":{"type":"number","nullable":true,"description":"Prior year month 11 costs (SDO PRIOR_YR_COST_MTH11; Optional; precision 2)"},"priorYrCostMth12":{"type":"number","nullable":true,"description":"Prior year month 12 costs (SDO PRIOR_YR_COST_MTH12; Optional; precision 2)"},"priorYrCostMth2":{"type":"number","nullable":true,"description":"Prior year month 2 costs (SDO PRIOR_YR_COST_MTH2; Optional; precision 2)"},"priorYrCostMth3":{"type":"number","nullable":true,"description":"Prior year month 3 costs (SDO PRIOR_YR_COST_MTH3; Optional; precision 2)"},"priorYrCostMth4":{"type":"number","nullable":true,"description":"Prior year month 4 costs (SDO PRIOR_YR_COST_MTH4; Optional; precision 2)"},"priorYrCostMth5":{"type":"number","nullable":true,"description":"Prior year month 5 costs (SDO PRIOR_YR_COST_MTH5; Optional; precision 2)"},"priorYrCostMth6":{"type":"number","nullable":true,"description":"Prior year month 6 costs (SDO PRIOR_YR_COST_MTH6; Optional; precision 2)"},"priorYrCostMth7":{"type":"number","nullable":true,"description":"Prior year month 7 costs (SDO PRIOR_YR_COST_MTH7; Optional; precision 2)"},"priorYrCostMth8":{"type":"number","nullable":true,"description":"Prior year month 8 costs (SDO PRIOR_YR_COST_MTH8; Optional; precision 2)"},"priorYrCostMth9":{"type":"number","nullable":true,"description":"Prior year month 9 costs (SDO PRIOR_YR_COST_MTH9; Optional; precision 2)"},"priorYrQtySoldBf":{"type":"number","nullable":true,"description":"Prior year brought forward quantity sold (SDO PRIOR_YR_QTY_SOLD_BF; Optional; precision 102)"},"priorYrQtySoldFuture":{"type":"number","nullable":true,"description":"Prior year future quantity sold (SDO PRIOR_YR_QTY_SOLD_FUTURE; Optional; precision 102)"},"priorYrQtySoldMth1":{"type":"number","nullable":true,"description":"Prior year month 1 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH1; Optional; precision 102)"},"priorYrQtySoldMth10":{"type":"number","nullable":true,"description":"Prior year month 10 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH10; Optional; precision 102)"},"priorYrQtySoldMth11":{"type":"number","nullable":true,"description":"Prior year month 11 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH11; Optional; precision 102)"},"priorYrQtySoldMth12":{"type":"number","nullable":true,"description":"Prior year month 12 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH12; Optional; precision 102)"},"priorYrQtySoldMth2":{"type":"number","nullable":true,"description":"Prior year month 2 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH2; Optional; precision 102)"},"priorYrQtySoldMth3":{"type":"number","nullable":true,"description":"Prior year month 3 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH3; Optional; precision 102)"},"priorYrQtySoldMth4":{"type":"number","nullable":true,"description":"Prior year month 4 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH4; Optional; precision 102)"},"priorYrQtySoldMth5":{"type":"number","nullable":true,"description":"Prior year month 5 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH5; Optional; precision 102)"},"priorYrQtySoldMth6":{"type":"number","nullable":true,"description":"Prior year month 6 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH6; Optional; precision 102)"},"priorYrQtySoldMth7":{"type":"number","nullable":true,"description":"Prior year month 7 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH7; Optional; precision 102)"},"priorYrQtySoldMth8":{"type":"number","nullable":true,"description":"Prior year month 8 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH8; Optional; precision 102)"},"priorYrQtySoldMth9":{"type":"number","nullable":true,"description":"Prior year month 9 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH9; Optional; precision 102)"},"priorYrSalesBf":{"type":"number","nullable":true,"description":"Prior year brought forward sales (SDO PRIOR_YR_SALES_BF; Optional; precision 2)"},"priorYrSalesFuture":{"type":"number","nullable":true,"description":"Prior year future sales (SDO PRIOR_YR_SALES_FUTURE; Optional; precision 2)"},"priorYrSalesMth1":{"type":"number","nullable":true,"description":"Prior year month 1 sales (SDO PRIOR_YR_SALES_MTH1; Optional; precision 2)"},"priorYrSalesMth10":{"type":"number","nullable":true,"description":"Prior year month 10 sales (SDO PRIOR_YR_SALES_MTH10; Optional; precision 2)"},"priorYrSalesMth11":{"type":"number","nullable":true,"description":"Prior year month 11 sales (SDO PRIOR_YR_SALES_MTH11; Optional; precision 2)"},"priorYrSalesMth12":{"type":"number","nullable":true,"description":"Prior year month 12 sales (SDO PRIOR_YR_SALES_MTH12; Optional; precision 2)"},"priorYrSalesMth2":{"type":"number","nullable":true,"description":"Prior year month 2 sales (SDO PRIOR_YR_SALES_MTH2; Optional; precision 2)"},"priorYrSalesMth3":{"type":"number","nullable":true,"description":"Prior year month 3 sales (SDO PRIOR_YR_SALES_MTH3; Optional; precision 2)"},"priorYrSalesMth4":{"type":"number","nullable":true,"description":"Prior year month 4 sales (SDO PRIOR_YR_SALES_MTH4; Optional; precision 2)"},"priorYrSalesMth5":{"type":"number","nullable":true,"description":"Prior year month 5 sales (SDO PRIOR_YR_SALES_MTH5; Optional; precision 2)"},"priorYrSalesMth6":{"type":"number","nullable":true,"description":"Prior year month 6 sales (SDO PRIOR_YR_SALES_MTH6; Optional; precision 2)"},"priorYrSalesMth7":{"type":"number","nullable":true,"description":"Prior year month 7 sales (SDO PRIOR_YR_SALES_MTH7; Optional; precision 2)"},"priorYrSalesMth8":{"type":"number","nullable":true,"description":"Prior year month 8 sales (SDO PRIOR_YR_SALES_MTH8; Optional; precision 2)"},"priorYrSalesMth9":{"type":"number","nullable":true,"description":"Prior year month 9 sales (SDO PRIOR_YR_SALES_MTH9; Optional; precision 2)"},"productBarcode":{"type":"string","nullable":true,"maxLength":60,"description":"Barcode (SDO PRODUCT_BARCODE; Optional; precision 0)"},"purchaseNominalCode":{"type":"string","nullable":true,"maxLength":8,"description":"Purchase Nominal code (SDO PURCHASE_NOMINAL_CODE; Optional; precision 0)"},"purchaseRef":{"type":"string","nullable":true,"maxLength":8,"description":"Supplier's account reference (SDO PURCHASE_REF; Optional; precision 0)"},"qtyAllocated":{"type":"number","nullable":true,"description":"Quantity allocated (SDO QTY_ALLOCATED; Optional; precision 102)"},"qtyInStock":{"type":"number","nullable":true,"description":"Quantity in stock (SDO QTY_IN_STOCK; Optional; precision 102)"},"qtyLastOrder":{"type":"number","nullable":true,"description":"Last order quantity (SDO QTY_LAST_ORDER; Optional; precision 102)"},"qtyLastStockTake":{"type":"number","nullable":true,"description":"Last stock take quantity (SDO QTY_LAST_STOCK_TAKE; Optional; precision 102)"},"qtyOnOrder":{"type":"number","nullable":true,"description":"Quantity on order (SDO QTY_ON_ORDER; Optional; precision 102)"},"qtyReorder":{"type":"number","nullable":true,"description":"Reorder quantity (SDO QTY_REORDER; Optional; precision 102)"},"qtyReorderLevel":{"type":"number","nullable":true,"description":"Reorder level (SDO QTY_REORDER_LEVEL; Optional; precision 102)"},"qtySoldBf":{"type":"number","nullable":true,"description":"Brought forward quantity sold (SDO QTY_SOLD_BF; Optional; precision 102)"},"qtySoldFuture":{"type":"number","nullable":true,"description":"Future quantity sold (SDO QTY_SOLD_FUTURE; Optional; precision 102)"},"qtySoldMth1":{"type":"number","nullable":true,"description":"Month 1 quantity sold (SDO QTY_SOLD_MTH1; Optional; precision 102)"},"qtySoldMth10":{"type":"number","nullable":true,"description":"Month 10 quantity sold (SDO QTY_SOLD_MTH10; Optional; precision 102)"},"qtySoldMth11":{"type":"number","nullable":true,"description":"Month 11 quantity sold (SDO QTY_SOLD_MTH11; Optional; precision 102)"},"qtySoldMth12":{"type":"number","nullable":true,"description":"Month 12 quantity sold (SDO QTY_SOLD_MTH12; Optional; precision 102)"},"qtySoldMth2":{"type":"number","nullable":true,"description":"Month 2 quantity sold (SDO QTY_SOLD_MTH2; Optional; precision 102)"},"qtySoldMth3":{"type":"number","nullable":true,"description":"Month 3 quantity sold (SDO QTY_SOLD_MTH3; Optional; precision 102)"},"qtySoldMth4":{"type":"number","nullable":true,"description":"Month 4 quantity sold (SDO QTY_SOLD_MTH4; Optional; precision 102)"},"qtySoldMth5":{"type":"number","nullable":true,"description":"Month 5 quantity sold (SDO QTY_SOLD_MTH5; Optional; precision 102)"},"qtySoldMth6":{"type":"number","nullable":true,"description":"Month 6 quantity sold (SDO QTY_SOLD_MTH6; Optional; precision 102)"},"qtySoldMth7":{"type":"number","nullable":true,"description":"Month 7 quantity sold (SDO QTY_SOLD_MTH7; Optional; precision 102)"},"qtySoldMth8":{"type":"number","nullable":true,"description":"Month 8 quantity sold (SDO QTY_SOLD_MTH8; Optional; precision 102)"},"qtySoldMth9":{"type":"number","nullable":true,"description":"Month 9 quantity sold (SDO QTY_SOLD_MTH9; Optional; precision 102)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"salesBf":{"type":"number","nullable":true,"description":"Brought forward sales (SDO SALES_BF; Optional; precision 2)"},"salesFuture":{"type":"number","nullable":true,"description":"Future sales (SDO SALES_FUTURE; Optional; precision 2)"},"salesMth1":{"type":"number","nullable":true,"description":"Month 1 sales (SDO SALES_MTH1; Optional; precision 2)"},"salesMth10":{"type":"number","nullable":true,"description":"Month 10 sales (SDO SALES_MTH10; Optional; precision 2)"},"salesMth11":{"type":"number","nullable":true,"description":"Month 11 sales (SDO SALES_MTH11; Optional; precision 2)"},"salesMth12":{"type":"number","nullable":true,"description":"Month 12 sales (SDO SALES_MTH12; Optional; precision 2)"},"salesMth2":{"type":"number","nullable":true,"description":"Month 2 sales (SDO SALES_MTH2; Optional; precision 2)"},"salesMth3":{"type":"number","nullable":true,"description":"Month 3 sales (SDO SALES_MTH3; Optional; precision 2)"},"salesMth4":{"type":"number","nullable":true,"description":"Month 4 sales (SDO SALES_MTH4; Optional; precision 2)"},"salesMth5":{"type":"number","nullable":true,"description":"Month 5 sales (SDO SALES_MTH5; Optional; precision 2)"},"salesMth6":{"type":"number","nullable":true,"description":"Month 6 sales (SDO SALES_MTH6; Optional; precision 2)"},"salesMth7":{"type":"number","nullable":true,"description":"Month 7 sales (SDO SALES_MTH7; Optional; precision 2)"},"salesMth8":{"type":"number","nullable":true,"description":"Month 8 sales (SDO SALES_MTH8; Optional; precision 2)"},"salesMth9":{"type":"number","nullable":true,"description":"Month 9 sales (SDO SALES_MTH9; Optional; precision 2)"},"salesPrice":{"type":"number","nullable":true,"description":"Sale price (SDO SALES_PRICE; Optional; precision 101)"},"stockCat":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Stock category number (SDO STOCK_CAT; Optional; precision 0)"},"stockCode":{"type":"string","nullable":true,"maxLength":30,"description":"Product code (SDO STOCK_CODE; Required; precision 0)"},"stockTakeDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Stock take date (SDO STOCK_TAKE_DATE; Optional; precision 0)"},"suppUnitQty":{"type":"number","nullable":true,"description":"Supplementary Unit Quantity (SDO SUPP_UNIT_QTY; Optional; precision 0)"},"supplierPartNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Supplier's part number (SDO SUPPLIER_PART_NUMBER; Optional; precision 0)"},"taxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax code (0 to 99) (SDO TAX_CODE; Optional; precision 0)"},"unitOfSale":{"type":"string","nullable":true,"maxLength":8,"description":"Unit of sale (SDO UNIT_OF_SALE; Optional; precision 0)"},"unitWeight":{"type":"number","nullable":true,"description":"Unit weight (SDO UNIT_WEIGHT; Optional; precision 2)"},"webDescription":{"type":"string","nullable":true,"maxLength":255,"description":"Web Description (SDO WEB_DESCRIPTION; Optional; precision 0)"},"webImage":{"type":"string","nullable":true,"maxLength":60,"description":"Web Image Filename (SDO WEB_IMAGE; Optional; precision 0)"},"webLongdescription":{"type":"string","nullable":true,"maxLength":1023,"description":"Web Long Description (SDO WEB_LONGDESCRIPTION; Optional; precision 0)"},"webPublish":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Web Publish Flag (SDO WEB_PUBLISH; Optional; precision 0)"},"webSpecialOffer":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Web Special Offer (SDO WEB_SPECIAL_OFFER; Optional; precision 0)"},"id":{"type":"string"}},"required":["assemblyLevel","averageCostPrice","budgetQtySoldBf","budgetQtySoldFuture","budgetQtySoldMth1","budgetQtySoldMth10","budgetQtySoldMth11","budgetQtySoldMth12","budgetQtySoldMth2","budgetQtySoldMth3","budgetQtySoldMth4","budgetQtySoldMth5","budgetQtySoldMth6","budgetQtySoldMth7","budgetQtySoldMth8","budgetQtySoldMth9","budgetSalesBf","budgetSalesFuture","budgetSalesMth1","budgetSalesMth10","budgetSalesMth11","budgetSalesMth12","budgetSalesMth2","budgetSalesMth3","budgetSalesMth4","budgetSalesMth5","budgetSalesMth6","budgetSalesMth7","budgetSalesMth8","budgetSalesMth9","commodityCode","componentCode1","componentCode10","componentCode11","componentCode12","componentCode13","componentCode14","componentCode15","componentCode16","componentCode17","componentCode18","componentCode19","componentCode2","componentCode20","componentCode21","componentCode22","componentCode23","componentCode24","componentCode25","componentCode26","componentCode27","componentCode28","componentCode29","componentCode3","componentCode30","componentCode31","componentCode32","componentCode33","componentCode34","componentCode35","componentCode36","componentCode37","componentCode38","componentCode39","componentCode4","componentCode40","componentCode41","componentCode42","componentCode43","componentCode44","componentCode45","componentCode46","componentCode47","componentCode48","componentCode49","componentCode5","componentCode50","componentCode6","componentCode7","componentCode8","componentCode9","componentQty1","componentQty10","componentQty11","componentQty12","componentQty13","componentQty14","componentQty15","componentQty16","componentQty17","componentQty18","componentQty19","componentQty2","componentQty20","componentQty21","componentQty22","componentQty23","componentQty24","componentQty25","componentQty26","componentQty27","componentQty28","componentQty29","componentQty3","componentQty30","componentQty31","componentQty32","componentQty33","componentQty34","componentQty35","componentQty36","componentQty37","componentQty38","componentQty39","componentQty4","componentQty40","componentQty41","componentQty42","componentQty43","componentQty44","componentQty45","componentQty46","componentQty47","componentQty48","componentQty49","componentQty5","componentQty50","componentQty6","componentQty7","componentQty8","componentQty9","costBf","costFuture","costMth1","costMth10","costMth11","costMth12","costMth2","costMth3","costMth4","costMth5","costMth6","costMth7","costMth8","costMth9","countryCodeOfOrigin","custom1","custom2","custom3","deletedFlag","deptNumber","description","discALevel10Qty","discALevel10Rate","discALevel1Qty","discALevel1Rate","discALevel2Qty","discALevel2Rate","discALevel3Qty","discALevel3Rate","discALevel4Qty","discALevel4Rate","discALevel5Qty","discALevel5Rate","discALevel6Qty","discALevel6Rate","discALevel7Qty","discALevel7Rate","discALevel8Qty","discALevel8Rate","discALevel9Qty","discALevel9Rate","discBLevel10Qty","discBLevel10Rate","discBLevel1Qty","discBLevel1Rate","discBLevel2Qty","discBLevel2Rate","discBLevel3Qty","discBLevel3Rate","discBLevel4Qty","discBLevel4Rate","discBLevel5Qty","discBLevel5Rate","discBLevel6Qty","discBLevel6Rate","discBLevel7Qty","discBLevel7Rate","discBLevel8Qty","discBLevel8Rate","discBLevel9Qty","discBLevel9Rate","discCLevel10Qty","discCLevel10Rate","discCLevel1Qty","discCLevel1Rate","discCLevel2Qty","discCLevel2Rate","discCLevel3Qty","discCLevel3Rate","discCLevel4Qty","discCLevel4Rate","discCLevel5Qty","discCLevel5Rate","discCLevel6Qty","discCLevel6Rate","discCLevel7Qty","discCLevel7Rate","discCLevel8Qty","discCLevel8Rate","discCLevel9Qty","discCLevel9Rate","discDLevel10Qty","discDLevel10Rate","discDLevel1Qty","discDLevel1Rate","discDLevel2Qty","discDLevel2Rate","discDLevel3Qty","discDLevel3Rate","discDLevel4Qty","discDLevel4Rate","discDLevel5Qty","discDLevel5Rate","discDLevel6Qty","discDLevel6Rate","discDLevel7Qty","discDLevel7Rate","discDLevel8Qty","discDLevel8Rate","discDLevel9Qty","discDLevel9Rate","discELevel10Qty","discELevel10Rate","discELevel1Qty","discELevel1Rate","discELevel2Qty","discELevel2Rate","discELevel3Qty","discELevel3Rate","discELevel4Qty","discELevel4Rate","discELevel5Qty","discELevel5Rate","discELevel6Qty","discELevel6Rate","discELevel7Qty","discELevel7Rate","discELevel8Qty","discELevel8Rate","discELevel9Qty","discELevel9Rate","externalUsage","firstTran","ignoreStkLvlFlag","inactiveFlag","intrastatCommodityCode","intrastatImportDutyCode","itemType","lastCostDiscount","lastOrderQuantity","lastPurchaseDate","lastPurchasePrice","lastSaleDate","lastTran","lastUpdated","linkLevel","location","noOfTran","nominalCode","priorYrCostBf","priorYrCostFuture","priorYrCostMth1","priorYrCostMth10","priorYrCostMth11","priorYrCostMth12","priorYrCostMth2","priorYrCostMth3","priorYrCostMth4","priorYrCostMth5","priorYrCostMth6","priorYrCostMth7","priorYrCostMth8","priorYrCostMth9","priorYrQtySoldBf","priorYrQtySoldFuture","priorYrQtySoldMth1","priorYrQtySoldMth10","priorYrQtySoldMth11","priorYrQtySoldMth12","priorYrQtySoldMth2","priorYrQtySoldMth3","priorYrQtySoldMth4","priorYrQtySoldMth5","priorYrQtySoldMth6","priorYrQtySoldMth7","priorYrQtySoldMth8","priorYrQtySoldMth9","priorYrSalesBf","priorYrSalesFuture","priorYrSalesMth1","priorYrSalesMth10","priorYrSalesMth11","priorYrSalesMth12","priorYrSalesMth2","priorYrSalesMth3","priorYrSalesMth4","priorYrSalesMth5","priorYrSalesMth6","priorYrSalesMth7","priorYrSalesMth8","priorYrSalesMth9","productBarcode","purchaseNominalCode","purchaseRef","qtyAllocated","qtyInStock","qtyLastOrder","qtyLastStockTake","qtyOnOrder","qtyReorder","qtyReorderLevel","qtySoldBf","qtySoldFuture","qtySoldMth1","qtySoldMth10","qtySoldMth11","qtySoldMth12","qtySoldMth2","qtySoldMth3","qtySoldMth4","qtySoldMth5","qtySoldMth6","qtySoldMth7","qtySoldMth8","qtySoldMth9","recordCreateDate","recordDeleted","recordModifyDate","salesBf","salesFuture","salesMth1","salesMth10","salesMth11","salesMth12","salesMth2","salesMth3","salesMth4","salesMth5","salesMth6","salesMth7","salesMth8","salesMth9","salesPrice","stockCat","stockCode","stockTakeDate","suppUnitQty","supplierPartNumber","taxCode","unitOfSale","unitWeight","webDescription","webImage","webLongdescription","webPublish","webSpecialOffer","id"],"additionalProperties":false},"Uk30_1_items_get":{"type":"object","properties":{"assemblyLevel":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Assembly level (SDO ASSEMBLY_LEVEL; Optional; precision 0)"},"averageCostPrice":{"type":"number","nullable":true,"description":"Average cost price (SDO AVERAGE_COST_PRICE; Optional; precision 101)"},"budgetQtySoldBf":{"type":"number","nullable":true,"description":"Brought forward budget quantity sold (SDO BUDGET_QTY_SOLD_BF; Optional; precision 102)"},"budgetQtySoldFuture":{"type":"number","nullable":true,"description":"Future budget quantity sold (SDO BUDGET_QTY_SOLD_FUTURE; Optional; precision 102)"},"budgetQtySoldMth1":{"type":"number","nullable":true,"description":"Month 1 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH1; Optional; precision 102)"},"budgetQtySoldMth10":{"type":"number","nullable":true,"description":"Month 10 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH10; Optional; precision 102)"},"budgetQtySoldMth11":{"type":"number","nullable":true,"description":"Month 11 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH11; Optional; precision 102)"},"budgetQtySoldMth12":{"type":"number","nullable":true,"description":"Month 12 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH12; Optional; precision 102)"},"budgetQtySoldMth2":{"type":"number","nullable":true,"description":"Month 2 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH2; Optional; precision 102)"},"budgetQtySoldMth3":{"type":"number","nullable":true,"description":"Month 3 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH3; Optional; precision 102)"},"budgetQtySoldMth4":{"type":"number","nullable":true,"description":"Month 4 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH4; Optional; precision 102)"},"budgetQtySoldMth5":{"type":"number","nullable":true,"description":"Month 5 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH5; Optional; precision 102)"},"budgetQtySoldMth6":{"type":"number","nullable":true,"description":"Month 6 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH6; Optional; precision 102)"},"budgetQtySoldMth7":{"type":"number","nullable":true,"description":"Month 7 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH7; Optional; precision 102)"},"budgetQtySoldMth8":{"type":"number","nullable":true,"description":"Month 8 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH8; Optional; precision 102)"},"budgetQtySoldMth9":{"type":"number","nullable":true,"description":"Month 9 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH9; Optional; precision 102)"},"budgetSalesBf":{"type":"number","nullable":true,"description":"Brought forward budget sales (SDO BUDGET_SALES_BF; Optional; precision 2)"},"budgetSalesFuture":{"type":"number","nullable":true,"description":"Future budget sales (SDO BUDGET_SALES_FUTURE; Optional; precision 2)"},"budgetSalesMth1":{"type":"number","nullable":true,"description":"Month 1 budget sales (SDO BUDGET_SALES_MTH1; Optional; precision 2)"},"budgetSalesMth10":{"type":"number","nullable":true,"description":"Month 10 budget sales (SDO BUDGET_SALES_MTH10; Optional; precision 2)"},"budgetSalesMth11":{"type":"number","nullable":true,"description":"Month 11 budget sales (SDO BUDGET_SALES_MTH11; Optional; precision 2)"},"budgetSalesMth12":{"type":"number","nullable":true,"description":"Month 12 budget sales (SDO BUDGET_SALES_MTH12; Optional; precision 2)"},"budgetSalesMth2":{"type":"number","nullable":true,"description":"Month 2 budget sales (SDO BUDGET_SALES_MTH2; Optional; precision 2)"},"budgetSalesMth3":{"type":"number","nullable":true,"description":"Month 3 budget sales (SDO BUDGET_SALES_MTH3; Optional; precision 2)"},"budgetSalesMth4":{"type":"number","nullable":true,"description":"Month 4 budget sales (SDO BUDGET_SALES_MTH4; Optional; precision 2)"},"budgetSalesMth5":{"type":"number","nullable":true,"description":"Month 5 budget sales (SDO BUDGET_SALES_MTH5; Optional; precision 2)"},"budgetSalesMth6":{"type":"number","nullable":true,"description":"Month 6 budget sales (SDO BUDGET_SALES_MTH6; Optional; precision 2)"},"budgetSalesMth7":{"type":"number","nullable":true,"description":"Month 7 budget sales (SDO BUDGET_SALES_MTH7; Optional; precision 2)"},"budgetSalesMth8":{"type":"number","nullable":true,"description":"Month 8 budget sales (SDO BUDGET_SALES_MTH8; Optional; precision 2)"},"budgetSalesMth9":{"type":"number","nullable":true,"description":"Month 9 budget sales (SDO BUDGET_SALES_MTH9; Optional; precision 2)"},"commodityCode":{"type":"string","nullable":true,"maxLength":30,"description":"Commodity code description (SDO COMMODITY_CODE; Optional; precision 0)"},"componentCode1":{"type":"string","nullable":true,"maxLength":30,"description":"Component 1 stock code (SDO COMPONENT_CODE_1; Optional; precision 0)"},"componentCode10":{"type":"string","nullable":true,"maxLength":30,"description":"Component 10 stock code (SDO COMPONENT_CODE_10; Optional; precision 0)"},"componentCode11":{"type":"string","nullable":true,"maxLength":30,"description":"Component 11 stock code (SDO COMPONENT_Code_11; Optional; precision 0)"},"componentCode12":{"type":"string","nullable":true,"maxLength":30,"description":"Component 12 stock code (SDO COMPONENT_Code_12; Optional; precision 0)"},"componentCode13":{"type":"string","nullable":true,"maxLength":30,"description":"Component 13 stock code (SDO COMPONENT_Code_13; Optional; precision 0)"},"componentCode14":{"type":"string","nullable":true,"maxLength":30,"description":"Component 14 stock code (SDO COMPONENT_Code_14; Optional; precision 0)"},"componentCode15":{"type":"string","nullable":true,"maxLength":30,"description":"Component 15 stock code (SDO COMPONENT_Code_15; Optional; precision 0)"},"componentCode16":{"type":"string","nullable":true,"maxLength":30,"description":"Component 16 stock code (SDO COMPONENT_Code_16; Optional; precision 0)"},"componentCode17":{"type":"string","nullable":true,"maxLength":30,"description":"Component 17 stock code (SDO COMPONENT_Code_17; Optional; precision 0)"},"componentCode18":{"type":"string","nullable":true,"maxLength":30,"description":"Component 18 stock code (SDO COMPONENT_Code_18; Optional; precision 0)"},"componentCode19":{"type":"string","nullable":true,"maxLength":30,"description":"Component 19 stock code (SDO COMPONENT_Code_19; Optional; precision 0)"},"componentCode2":{"type":"string","nullable":true,"maxLength":30,"description":"Component 2 stock code (SDO COMPONENT_CODE_2; Optional; precision 0)"},"componentCode20":{"type":"string","nullable":true,"maxLength":30,"description":"Component 20 stock code (SDO COMPONENT_CODE_20; Optional; precision 0)"},"componentCode21":{"type":"string","nullable":true,"maxLength":30,"description":"Component 21 stock code (SDO COMPONENT_Code_21; Optional; precision 0)"},"componentCode22":{"type":"string","nullable":true,"maxLength":30,"description":"Component 22 stock code (SDO COMPONENT_Code_22; Optional; precision 0)"},"componentCode23":{"type":"string","nullable":true,"maxLength":30,"description":"Component 23 stock code (SDO COMPONENT_Code_23; Optional; precision 0)"},"componentCode24":{"type":"string","nullable":true,"maxLength":30,"description":"Component 24 stock code (SDO COMPONENT_Code_24; Optional; precision 0)"},"componentCode25":{"type":"string","nullable":true,"maxLength":30,"description":"Component 25 stock code (SDO COMPONENT_Code_25; Optional; precision 0)"},"componentCode26":{"type":"string","nullable":true,"maxLength":30,"description":"Component 26 stock code (SDO COMPONENT_Code_26; Optional; precision 0)"},"componentCode27":{"type":"string","nullable":true,"maxLength":30,"description":"Component 27 stock code (SDO COMPONENT_Code_27; Optional; precision 0)"},"componentCode28":{"type":"string","nullable":true,"maxLength":30,"description":"Component 28 stock code (SDO COMPONENT_Code_28; Optional; precision 0)"},"componentCode29":{"type":"string","nullable":true,"maxLength":30,"description":"Component 29 stock code (SDO COMPONENT_Code_29; Optional; precision 0)"},"componentCode3":{"type":"string","nullable":true,"maxLength":30,"description":"Component 3 stock code (SDO COMPONENT_CODE_3; Optional; precision 0)"},"componentCode30":{"type":"string","nullable":true,"maxLength":30,"description":"Component 30 stock code (SDO COMPONENT_CODE_30; Optional; precision 0)"},"componentCode31":{"type":"string","nullable":true,"maxLength":30,"description":"Component 31 stock code (SDO COMPONENT_Code_31; Optional; precision 0)"},"componentCode32":{"type":"string","nullable":true,"maxLength":30,"description":"Component 32 stock code (SDO COMPONENT_Code_32; Optional; precision 0)"},"componentCode33":{"type":"string","nullable":true,"maxLength":30,"description":"Component 33 stock code (SDO COMPONENT_Code_33; Optional; precision 0)"},"componentCode34":{"type":"string","nullable":true,"maxLength":30,"description":"Component 34 stock code (SDO COMPONENT_Code_34; Optional; precision 0)"},"componentCode35":{"type":"string","nullable":true,"maxLength":30,"description":"Component 35 stock code (SDO COMPONENT_Code_35; Optional; precision 0)"},"componentCode36":{"type":"string","nullable":true,"maxLength":30,"description":"Component 36 stock code (SDO COMPONENT_Code_36; Optional; precision 0)"},"componentCode37":{"type":"string","nullable":true,"maxLength":30,"description":"Component 37 stock code (SDO COMPONENT_Code_37; Optional; precision 0)"},"componentCode38":{"type":"string","nullable":true,"maxLength":30,"description":"Component 38 stock code (SDO COMPONENT_Code_38; Optional; precision 0)"},"componentCode39":{"type":"string","nullable":true,"maxLength":30,"description":"Component 39 stock code (SDO COMPONENT_Code_39; Optional; precision 0)"},"componentCode4":{"type":"string","nullable":true,"maxLength":30,"description":"Component 4 stock code (SDO COMPONENT_CODE_4; Optional; precision 0)"},"componentCode40":{"type":"string","nullable":true,"maxLength":30,"description":"Component 40 stock code (SDO COMPONENT_CODE_40; Optional; precision 0)"},"componentCode41":{"type":"string","nullable":true,"maxLength":30,"description":"Component 41 stock code (SDO COMPONENT_Code_41; Optional; precision 0)"},"componentCode42":{"type":"string","nullable":true,"maxLength":30,"description":"Component 42 stock code (SDO COMPONENT_Code_42; Optional; precision 0)"},"componentCode43":{"type":"string","nullable":true,"maxLength":30,"description":"Component 43 stock code (SDO COMPONENT_Code_43; Optional; precision 0)"},"componentCode44":{"type":"string","nullable":true,"maxLength":30,"description":"Component 44 stock code (SDO COMPONENT_Code_44; Optional; precision 0)"},"componentCode45":{"type":"string","nullable":true,"maxLength":30,"description":"Component 45 stock code (SDO COMPONENT_Code_45; Optional; precision 0)"},"componentCode46":{"type":"string","nullable":true,"maxLength":30,"description":"Component 46 stock code (SDO COMPONENT_Code_46; Optional; precision 0)"},"componentCode47":{"type":"string","nullable":true,"maxLength":30,"description":"Component 47 stock code (SDO COMPONENT_Code_47; Optional; precision 0)"},"componentCode48":{"type":"string","nullable":true,"maxLength":30,"description":"Component 48 stock code (SDO COMPONENT_Code_48; Optional; precision 0)"},"componentCode49":{"type":"string","nullable":true,"maxLength":30,"description":"Component 49 stock code (SDO COMPONENT_Code_49; Optional; precision 0)"},"componentCode5":{"type":"string","nullable":true,"maxLength":30,"description":"Component 5 stock code (SDO COMPONENT_CODE_5; Optional; precision 0)"},"componentCode50":{"type":"string","nullable":true,"maxLength":30,"description":"Component 50 stock code (SDO COMPONENT_Code_50; Optional; precision 0)"},"componentCode6":{"type":"string","nullable":true,"maxLength":30,"description":"Component 6 stock code (SDO COMPONENT_CODE_6; Optional; precision 0)"},"componentCode7":{"type":"string","nullable":true,"maxLength":30,"description":"Component 7 stock code (SDO COMPONENT_CODE_7; Optional; precision 0)"},"componentCode8":{"type":"string","nullable":true,"maxLength":30,"description":"Component 8 stock code (SDO COMPONENT_CODE_8; Optional; precision 0)"},"componentCode9":{"type":"string","nullable":true,"maxLength":30,"description":"Component 9 stock code (SDO COMPONENT_CODE_9; Optional; precision 0)"},"componentQty1":{"type":"number","nullable":true,"description":"Component 1 quantity (SDO COMPONENT_QTY_1; Optional; precision 102)"},"componentQty10":{"type":"number","nullable":true,"description":"Component 10 quantity (SDO COMPONENT_QTY_10; Optional; precision 102)"},"componentQty11":{"type":"number","nullable":true,"description":"Component 11 quantity (SDO COMPONENT_QTY_11; Optional; precision 102)"},"componentQty12":{"type":"number","nullable":true,"description":"Component 12 quantity (SDO COMPONENT_QTY_12; Optional; precision 102)"},"componentQty13":{"type":"number","nullable":true,"description":"Component 13 quantity (SDO COMPONENT_QTY_13; Optional; precision 102)"},"componentQty14":{"type":"number","nullable":true,"description":"Component 14 quantity (SDO COMPONENT_QTY_14; Optional; precision 102)"},"componentQty15":{"type":"number","nullable":true,"description":"Component 15 quantity (SDO COMPONENT_QTY_15; Optional; precision 102)"},"componentQty16":{"type":"number","nullable":true,"description":"Component 16 quantity (SDO COMPONENT_QTY_16; Optional; precision 102)"},"componentQty17":{"type":"number","nullable":true,"description":"Component 17 quantity (SDO COMPONENT_QTY_17; Optional; precision 102)"},"componentQty18":{"type":"number","nullable":true,"description":"Component 18 quantity (SDO COMPONENT_QTY_18; Optional; precision 102)"},"componentQty19":{"type":"number","nullable":true,"description":"Component 19 quantity (SDO COMPONENT_QTY_19; Optional; precision 102)"},"componentQty2":{"type":"number","nullable":true,"description":"Component 2 quantity (SDO COMPONENT_QTY_2; Optional; precision 102)"},"componentQty20":{"type":"number","nullable":true,"description":"Component 20 quantity (SDO COMPONENT_QTY_20; Optional; precision 102)"},"componentQty21":{"type":"number","nullable":true,"description":"Component 21 quantity (SDO COMPONENT_QTY_21; Optional; precision 102)"},"componentQty22":{"type":"number","nullable":true,"description":"Component 22 quantity (SDO COMPONENT_QTY_22; Optional; precision 102)"},"componentQty23":{"type":"number","nullable":true,"description":"Component 23 quantity (SDO COMPONENT_QTY_23; Optional; precision 102)"},"componentQty24":{"type":"number","nullable":true,"description":"Component 24 quantity (SDO COMPONENT_QTY_24; Optional; precision 102)"},"componentQty25":{"type":"number","nullable":true,"description":"Component 25 quantity (SDO COMPONENT_QTY_25; Optional; precision 102)"},"componentQty26":{"type":"number","nullable":true,"description":"Component 26 quantity (SDO COMPONENT_QTY_26; Optional; precision 102)"},"componentQty27":{"type":"number","nullable":true,"description":"Component 27 quantity (SDO COMPONENT_QTY_27; Optional; precision 102)"},"componentQty28":{"type":"number","nullable":true,"description":"Component 28 quantity (SDO COMPONENT_QTY_28; Optional; precision 102)"},"componentQty29":{"type":"number","nullable":true,"description":"Component 29 quantity (SDO COMPONENT_QTY_29; Optional; precision 102)"},"componentQty3":{"type":"number","nullable":true,"description":"Component 3 quantity (SDO COMPONENT_QTY_3; Optional; precision 102)"},"componentQty30":{"type":"number","nullable":true,"description":"Component 30 quantity (SDO COMPONENT_QTY_30; Optional; precision 102)"},"componentQty31":{"type":"number","nullable":true,"description":"Component 31 quantity (SDO COMPONENT_QTY_31; Optional; precision 102)"},"componentQty32":{"type":"number","nullable":true,"description":"Component 32 quantity (SDO COMPONENT_QTY_32; Optional; precision 102)"},"componentQty33":{"type":"number","nullable":true,"description":"Component 33 quantity (SDO COMPONENT_QTY_33; Optional; precision 102)"},"componentQty34":{"type":"number","nullable":true,"description":"Component 34 quantity (SDO COMPONENT_QTY_34; Optional; precision 102)"},"componentQty35":{"type":"number","nullable":true,"description":"Component 35 quantity (SDO COMPONENT_QTY_35; Optional; precision 102)"},"componentQty36":{"type":"number","nullable":true,"description":"Component 36 quantity (SDO COMPONENT_QTY_36; Optional; precision 102)"},"componentQty37":{"type":"number","nullable":true,"description":"Component 37 quantity (SDO COMPONENT_QTY_37; Optional; precision 102)"},"componentQty38":{"type":"number","nullable":true,"description":"Component 38 quantity (SDO COMPONENT_QTY_38; Optional; precision 102)"},"componentQty39":{"type":"number","nullable":true,"description":"Component 39 quantity (SDO COMPONENT_QTY_39; Optional; precision 102)"},"componentQty4":{"type":"number","nullable":true,"description":"Component 4 quantity (SDO COMPONENT_QTY_4; Optional; precision 102)"},"componentQty40":{"type":"number","nullable":true,"description":"Component 40 quantity (SDO COMPONENT_QTY_40; Optional; precision 102)"},"componentQty41":{"type":"number","nullable":true,"description":"Component 41 quantity (SDO COMPONENT_QTY_41; Optional; precision 102)"},"componentQty42":{"type":"number","nullable":true,"description":"Component 42 quantity (SDO COMPONENT_QTY_42; Optional; precision 102)"},"componentQty43":{"type":"number","nullable":true,"description":"Component 43 quantity (SDO COMPONENT_QTY_43; Optional; precision 102)"},"componentQty44":{"type":"number","nullable":true,"description":"Component 44 quantity (SDO COMPONENT_QTY_44; Optional; precision 102)"},"componentQty45":{"type":"number","nullable":true,"description":"Component 45 quantity (SDO COMPONENT_QTY_45; Optional; precision 102)"},"componentQty46":{"type":"number","nullable":true,"description":"Component 46 quantity (SDO COMPONENT_QTY_46; Optional; precision 102)"},"componentQty47":{"type":"number","nullable":true,"description":"Component 47 quantity (SDO COMPONENT_QTY_47; Optional; precision 102)"},"componentQty48":{"type":"number","nullable":true,"description":"Component 48 quantity (SDO COMPONENT_QTY_48; Optional; precision 102)"},"componentQty49":{"type":"number","nullable":true,"description":"Component 49 quantity (SDO COMPONENT_QTY_49; Optional; precision 102)"},"componentQty5":{"type":"number","nullable":true,"description":"Component 5 quantity (SDO COMPONENT_QTY_5; Optional; precision 102)"},"componentQty50":{"type":"number","nullable":true,"description":"Component 50 quantity (SDO COMPONENT_QTY_50; Optional; precision 102)"},"componentQty6":{"type":"number","nullable":true,"description":"Component 6 quantity (SDO COMPONENT_QTY_6; Optional; precision 102)"},"componentQty7":{"type":"number","nullable":true,"description":"Component 7 quantity (SDO COMPONENT_QTY_7; Optional; precision 102)"},"componentQty8":{"type":"number","nullable":true,"description":"Component 8 quantity (SDO COMPONENT_QTY_8; Optional; precision 102)"},"componentQty9":{"type":"number","nullable":true,"description":"Component 9 quantity (SDO COMPONENT_QTY_9; Optional; precision 102)"},"costBf":{"type":"number","nullable":true,"description":"Brought forward costs (SDO COST_BF; Optional; precision 2)"},"costFuture":{"type":"number","nullable":true,"description":"Future costs (SDO COST_FUTURE; Optional; precision 2)"},"costMth1":{"type":"number","nullable":true,"description":"Month 1 costs (SDO COST_MTH1; Optional; precision 2)"},"costMth10":{"type":"number","nullable":true,"description":"Month 10 costs (SDO COST_MTH10; Optional; precision 2)"},"costMth11":{"type":"number","nullable":true,"description":"Month 11 costs (SDO COST_MTH11; Optional; precision 2)"},"costMth12":{"type":"number","nullable":true,"description":"Month 12 costs (SDO COST_MTH12; Optional; precision 2)"},"costMth2":{"type":"number","nullable":true,"description":"Month 2 costs (SDO COST_MTH2; Optional; precision 2)"},"costMth3":{"type":"number","nullable":true,"description":"Month 3 costs (SDO COST_MTH3; Optional; precision 2)"},"costMth4":{"type":"number","nullable":true,"description":"Month 4 costs (SDO COST_MTH4; Optional; precision 2)"},"costMth5":{"type":"number","nullable":true,"description":"Month 5 costs (SDO COST_MTH5; Optional; precision 2)"},"costMth6":{"type":"number","nullable":true,"description":"Month 6 costs (SDO COST_MTH6; Optional; precision 2)"},"costMth7":{"type":"number","nullable":true,"description":"Month 7 costs (SDO COST_MTH7; Optional; precision 2)"},"costMth8":{"type":"number","nullable":true,"description":"Month 8 costs (SDO COST_MTH8; Optional; precision 2)"},"costMth9":{"type":"number","nullable":true,"description":"Month 9 costs (SDO COST_MTH9; Optional; precision 2)"},"countryCodeOfOrigin":{"type":"string","nullable":true,"maxLength":2,"description":"Country of Origin (SDO COUNTRY_CODE_OF_ORIGIN; Optional; precision 0)"},"custom1":{"type":"string","nullable":true,"maxLength":60,"description":"Custom Field 1 (SDO CUSTOM_1; Optional; precision 0)"},"custom2":{"type":"string","nullable":true,"maxLength":60,"description":"Custom Field 2 (SDO CUSTOM_2; Optional; precision 0)"},"custom3":{"type":"string","nullable":true,"maxLength":60,"description":"Custom Field 3 (SDO CUSTOM_3; Optional; precision 0)"},"deletedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Is Deleted (SDO DELETED_FLAG; Optional; precision 0)"},"deptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Department number (SDO DEPT_NUMBER; Optional; precision 0)"},"description":{"type":"string","nullable":true,"maxLength":120,"description":"Description (SDO DESCRIPTION; Optional; precision 0)"},"discALevel10Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 10, Quantity (SDO DISC_A_LEVEL_10_QTY; Optional; precision 102)"},"discALevel10Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 10, Rate (SDO DISC_A_LEVEL_10_RATE; Optional; precision 2)"},"discALevel1Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 1, Quantity (SDO DISC_A_LEVEL_1_QTY; Optional; precision 102)"},"discALevel1Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 1, Rate (SDO DISC_A_LEVEL_1_RATE; Optional; precision 2)"},"discALevel2Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 2, Quantity (SDO DISC_A_LEVEL_2_QTY; Optional; precision 102)"},"discALevel2Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 2, Rate (SDO DISC_A_LEVEL_2_RATE; Optional; precision 2)"},"discALevel3Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 3, Quantity (SDO DISC_A_LEVEL_3_QTY; Optional; precision 102)"},"discALevel3Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 3, Rate (SDO DISC_A_LEVEL_3_RATE; Optional; precision 2)"},"discALevel4Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 4, Quantity (SDO DISC_A_LEVEL_4_QTY; Optional; precision 102)"},"discALevel4Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 4, Rate (SDO DISC_A_LEVEL_4_RATE; Optional; precision 2)"},"discALevel5Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 5, Quantity (SDO DISC_A_LEVEL_5_QTY; Optional; precision 102)"},"discALevel5Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 5, Rate (SDO DISC_A_LEVEL_5_RATE; Optional; precision 2)"},"discALevel6Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 6, Quantity (SDO DISC_A_LEVEL_6_QTY; Optional; precision 102)"},"discALevel6Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 6, Rate (SDO DISC_A_LEVEL_6_RATE; Optional; precision 2)"},"discALevel7Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 7, Quantity (SDO DISC_A_LEVEL_7_QTY; Optional; precision 102)"},"discALevel7Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 7, Rate (SDO DISC_A_LEVEL_7_RATE; Optional; precision 2)"},"discALevel8Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 8, Quantity (SDO DISC_A_LEVEL_8_QTY; Optional; precision 102)"},"discALevel8Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 8, Rate (SDO DISC_A_LEVEL_8_RATE; Optional; precision 2)"},"discALevel9Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 9, Quantity (SDO DISC_A_LEVEL_9_QTY; Optional; precision 102)"},"discALevel9Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 9, Rate (SDO DISC_A_LEVEL_9_RATE; Optional; precision 2)"},"discBLevel10Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 10, Quantity (SDO DISC_B_LEVEL_10_QTY; Optional; precision 102)"},"discBLevel10Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 10, Rate (SDO DISC_B_LEVEL_10_RATE; Optional; precision 2)"},"discBLevel1Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 1, Quantity (SDO DISC_B_LEVEL_1_QTY; Optional; precision 102)"},"discBLevel1Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 1, Rate (SDO DISC_B_LEVEL_1_RATE; Optional; precision 2)"},"discBLevel2Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 2, Quantity (SDO DISC_B_LEVEL_2_QTY; Optional; precision 102)"},"discBLevel2Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 2, Rate (SDO DISC_B_LEVEL_2_RATE; Optional; precision 2)"},"discBLevel3Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 3, Quantity (SDO DISC_B_LEVEL_3_QTY; Optional; precision 102)"},"discBLevel3Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 3, Rate (SDO DISC_B_LEVEL_3_RATE; Optional; precision 2)"},"discBLevel4Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 4, Quantity (SDO DISC_B_LEVEL_4_QTY; Optional; precision 102)"},"discBLevel4Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 4, Rate (SDO DISC_B_LEVEL_4_RATE; Optional; precision 2)"},"discBLevel5Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 5, Quantity (SDO DISC_B_LEVEL_5_QTY; Optional; precision 102)"},"discBLevel5Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 5, Rate (SDO DISC_B_LEVEL_5_RATE; Optional; precision 2)"},"discBLevel6Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 6, Quantity (SDO DISC_B_LEVEL_6_QTY; Optional; precision 102)"},"discBLevel6Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 6, Rate (SDO DISC_B_LEVEL_6_RATE; Optional; precision 2)"},"discBLevel7Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 7, Quantity (SDO DISC_B_LEVEL_7_QTY; Optional; precision 102)"},"discBLevel7Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 7, Rate (SDO DISC_B_LEVEL_7_RATE; Optional; precision 2)"},"discBLevel8Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 8, Quantity (SDO DISC_B_LEVEL_8_QTY; Optional; precision 102)"},"discBLevel8Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 8, Rate (SDO DISC_B_LEVEL_8_RATE; Optional; precision 2)"},"discBLevel9Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 9, Quantity (SDO DISC_B_LEVEL_9_QTY; Optional; precision 102)"},"discBLevel9Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 9, Rate (SDO DISC_B_LEVEL_9_RATE; Optional; precision 2)"},"discCLevel10Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 10, Quantity (SDO DISC_C_LEVEL_10_QTY; Optional; precision 102)"},"discCLevel10Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 10, Rate (SDO DISC_C_LEVEL_10_RATE; Optional; precision 2)"},"discCLevel1Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 1, Quantity (SDO DISC_C_LEVEL_1_QTY; Optional; precision 102)"},"discCLevel1Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 1, Rate (SDO DISC_C_LEVEL_1_RATE; Optional; precision 2)"},"discCLevel2Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 2, Quantity (SDO DISC_C_LEVEL_2_QTY; Optional; precision 102)"},"discCLevel2Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 2, Rate (SDO DISC_C_LEVEL_2_RATE; Optional; precision 2)"},"discCLevel3Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 3, Quantity (SDO DISC_C_LEVEL_3_QTY; Optional; precision 102)"},"discCLevel3Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 3, Rate (SDO DISC_C_LEVEL_3_RATE; Optional; precision 2)"},"discCLevel4Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 4, Quantity (SDO DISC_C_LEVEL_4_QTY; Optional; precision 102)"},"discCLevel4Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 4, Rate (SDO DISC_C_LEVEL_4_RATE; Optional; precision 2)"},"discCLevel5Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 5, Quantity (SDO DISC_C_LEVEL_5_QTY; Optional; precision 102)"},"discCLevel5Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 5, Rate (SDO DISC_C_LEVEL_5_RATE; Optional; precision 2)"},"discCLevel6Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 6, Quantity (SDO DISC_C_LEVEL_6_QTY; Optional; precision 102)"},"discCLevel6Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 6, Rate (SDO DISC_C_LEVEL_6_RATE; Optional; precision 2)"},"discCLevel7Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 7, Quantity (SDO DISC_C_LEVEL_7_QTY; Optional; precision 102)"},"discCLevel7Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 7, Rate (SDO DISC_C_LEVEL_7_RATE; Optional; precision 2)"},"discCLevel8Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 8, Quantity (SDO DISC_C_LEVEL_8_QTY; Optional; precision 102)"},"discCLevel8Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 8, Rate (SDO DISC_C_LEVEL_8_RATE; Optional; precision 2)"},"discCLevel9Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 9, Quantity (SDO DISC_C_LEVEL_9_QTY; Optional; precision 102)"},"discCLevel9Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 9, Rate (SDO DISC_C_LEVEL_9_RATE; Optional; precision 2)"},"discDLevel10Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 10, Quantity (SDO DISC_D_LEVEL_10_QTY; Optional; precision 102)"},"discDLevel10Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 10, Rate (SDO DISC_D_LEVEL_10_RATE; Optional; precision 2)"},"discDLevel1Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 1, Quantity (SDO DISC_D_LEVEL_1_QTY; Optional; precision 102)"},"discDLevel1Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 1, Rate (SDO DISC_D_LEVEL_1_RATE; Optional; precision 2)"},"discDLevel2Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 2, Quantity (SDO DISC_D_LEVEL_2_QTY; Optional; precision 102)"},"discDLevel2Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 2, Rate (SDO DISC_D_LEVEL_2_RATE; Optional; precision 2)"},"discDLevel3Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 3, Quantity (SDO DISC_D_LEVEL_3_QTY; Optional; precision 102)"},"discDLevel3Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 3, Rate (SDO DISC_D_LEVEL_3_RATE; Optional; precision 2)"},"discDLevel4Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 4, Quantity (SDO DISC_D_LEVEL_4_QTY; Optional; precision 102)"},"discDLevel4Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 4, Rate (SDO DISC_D_LEVEL_4_RATE; Optional; precision 2)"},"discDLevel5Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 5, Quantity (SDO DISC_D_LEVEL_5_QTY; Optional; precision 102)"},"discDLevel5Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 5, Rate (SDO DISC_D_LEVEL_5_RATE; Optional; precision 2)"},"discDLevel6Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 6, Quantity (SDO DISC_D_LEVEL_6_QTY; Optional; precision 102)"},"discDLevel6Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 6, Rate (SDO DISC_D_LEVEL_6_RATE; Optional; precision 2)"},"discDLevel7Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 7, Quantity (SDO DISC_D_LEVEL_7_QTY; Optional; precision 102)"},"discDLevel7Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 7, Rate (SDO DISC_D_LEVEL_7_RATE; Optional; precision 2)"},"discDLevel8Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 8, Quantity (SDO DISC_D_LEVEL_8_QTY; Optional; precision 102)"},"discDLevel8Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 8, Rate (SDO DISC_D_LEVEL_8_RATE; Optional; precision 2)"},"discDLevel9Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 9, Quantity (SDO DISC_D_LEVEL_9_QTY; Optional; precision 102)"},"discDLevel9Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 9, Rate (SDO DISC_D_LEVEL_9_RATE; Optional; precision 2)"},"discELevel10Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 10, Quantity (SDO DISC_E_LEVEL_10_QTY; Optional; precision 102)"},"discELevel10Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 10, Rate (SDO DISC_E_LEVEL_10_RATE; Optional; precision 2)"},"discELevel1Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 1, Quantity (SDO DISC_E_LEVEL_1_QTY; Optional; precision 102)"},"discELevel1Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 1, Rate (SDO DISC_E_LEVEL_1_RATE; Optional; precision 2)"},"discELevel2Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 2, Quantity (SDO DISC_E_LEVEL_2_QTY; Optional; precision 102)"},"discELevel2Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 2, Rate (SDO DISC_E_LEVEL_2_RATE; Optional; precision 2)"},"discELevel3Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 3, Quantity (SDO DISC_E_LEVEL_3_QTY; Optional; precision 102)"},"discELevel3Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 3, Rate (SDO DISC_E_LEVEL_3_RATE; Optional; precision 2)"},"discELevel4Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 4, Quantity (SDO DISC_E_LEVEL_4_QTY; Optional; precision 102)"},"discELevel4Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 4, Rate (SDO DISC_E_LEVEL_4_RATE; Optional; precision 2)"},"discELevel5Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 5, Quantity (SDO DISC_E_LEVEL_5_QTY; Optional; precision 102)"},"discELevel5Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 5, Rate (SDO DISC_E_LEVEL_5_RATE; Optional; precision 2)"},"discELevel6Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 6, Quantity (SDO DISC_E_LEVEL_6_QTY; Optional; precision 102)"},"discELevel6Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 6, Rate (SDO DISC_E_LEVEL_6_RATE; Optional; precision 2)"},"discELevel7Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 7, Quantity (SDO DISC_E_LEVEL_7_QTY; Optional; precision 102)"},"discELevel7Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 7, Rate (SDO DISC_E_LEVEL_7_RATE; Optional; precision 2)"},"discELevel8Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 8, Quantity (SDO DISC_E_LEVEL_8_QTY; Optional; precision 102)"},"discELevel8Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 8, Rate (SDO DISC_E_LEVEL_8_RATE; Optional; precision 2)"},"discELevel9Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 9, Quantity (SDO DISC_E_LEVEL_9_QTY; Optional; precision 102)"},"discELevel9Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 9, Rate (SDO DISC_E_LEVEL_9_RATE; Optional; precision 2)"},"externalUsage":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Number of External Usages (SDO EXTERNAL_USAGE; Optional; precision 0)"},"firstTran":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO FIRST_TRAN; Optional; precision 0)"},"ignoreStkLvlFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Ignore stock level flag (SDO IGNORE_STK_LVL_FLAG; Optional; precision 0)"},"inactiveFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Inactive Flag - Yes/No (SDO INACTIVE_FLAG; Optional; precision 0)"},"intrastatCommodityCode":{"type":"string","nullable":true,"maxLength":8,"description":"Intrastat Commodity code (SDO INTRASTAT_COMMODITY_CODE; Optional; precision 0)"},"intrastatImportDutyCode":{"type":"string","nullable":true,"maxLength":2,"description":"Intrastat Import Duty code (SDO INTRASTAT_IMPORT_DUTY_CODE; Optional; precision 0)"},"itemType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Item Type (SDO ITEM_TYPE; Optional; precision 0)"},"lastCostDiscount":{"type":"number","nullable":true,"description":"Last Cost Discounted (SDO LAST_COST_DISCOUNT; Optional; precision 101)"},"lastOrderQuantity":{"type":"number","nullable":true,"description":"Last Order Quantity (SDO LAST_ORDER_QUANTITY; Optional; precision 101)"},"lastPurchaseDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Last purchase date (SDO LAST_PURCHASE_DATE; Optional; precision 0)"},"lastPurchasePrice":{"type":"number","nullable":true,"description":"Last purchase price (SDO LAST_PURCHASE_PRICE; Optional; precision 101)"},"lastSaleDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Last sale date (SDO LAST_SALE_DATE; Optional; precision 0)"},"lastTran":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO LAST_TRAN; Optional; precision 0)"},"lastUpdated":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date of last update (SDO LAST_UPDATED; Optional; precision 0)"},"linkLevel":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Link level (SDO LINK_LEVEL; Optional; precision 0)"},"location":{"type":"string","nullable":true,"maxLength":16,"description":"Location (SDO LOCATION; Optional; precision 0)"},"noOfTran":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO NO_OF_TRAN; Optional; precision 0)"},"nominalCode":{"type":"string","nullable":true,"maxLength":8,"description":"Sales Nominal code (SDO NOMINAL_CODE; Optional; precision 0)"},"priorYrCostBf":{"type":"number","nullable":true,"description":"Prior year brought forward costs (SDO PRIOR_YR_COST_BF; Optional; precision 2)"},"priorYrCostFuture":{"type":"number","nullable":true,"description":"Prior year future costs (SDO PRIOR_YR_COST_FUTURE; Optional; precision 2)"},"priorYrCostMth1":{"type":"number","nullable":true,"description":"Prior year month 1 costs (SDO PRIOR_YR_COST_MTH1; Optional; precision 2)"},"priorYrCostMth10":{"type":"number","nullable":true,"description":"Prior year month 10 costs (SDO PRIOR_YR_COST_MTH10; Optional; precision 2)"},"priorYrCostMth11":{"type":"number","nullable":true,"description":"Prior year month 11 costs (SDO PRIOR_YR_COST_MTH11; Optional; precision 2)"},"priorYrCostMth12":{"type":"number","nullable":true,"description":"Prior year month 12 costs (SDO PRIOR_YR_COST_MTH12; Optional; precision 2)"},"priorYrCostMth2":{"type":"number","nullable":true,"description":"Prior year month 2 costs (SDO PRIOR_YR_COST_MTH2; Optional; precision 2)"},"priorYrCostMth3":{"type":"number","nullable":true,"description":"Prior year month 3 costs (SDO PRIOR_YR_COST_MTH3; Optional; precision 2)"},"priorYrCostMth4":{"type":"number","nullable":true,"description":"Prior year month 4 costs (SDO PRIOR_YR_COST_MTH4; Optional; precision 2)"},"priorYrCostMth5":{"type":"number","nullable":true,"description":"Prior year month 5 costs (SDO PRIOR_YR_COST_MTH5; Optional; precision 2)"},"priorYrCostMth6":{"type":"number","nullable":true,"description":"Prior year month 6 costs (SDO PRIOR_YR_COST_MTH6; Optional; precision 2)"},"priorYrCostMth7":{"type":"number","nullable":true,"description":"Prior year month 7 costs (SDO PRIOR_YR_COST_MTH7; Optional; precision 2)"},"priorYrCostMth8":{"type":"number","nullable":true,"description":"Prior year month 8 costs (SDO PRIOR_YR_COST_MTH8; Optional; precision 2)"},"priorYrCostMth9":{"type":"number","nullable":true,"description":"Prior year month 9 costs (SDO PRIOR_YR_COST_MTH9; Optional; precision 2)"},"priorYrQtySoldBf":{"type":"number","nullable":true,"description":"Prior year brought forward quantity sold (SDO PRIOR_YR_QTY_SOLD_BF; Optional; precision 102)"},"priorYrQtySoldFuture":{"type":"number","nullable":true,"description":"Prior year future quantity sold (SDO PRIOR_YR_QTY_SOLD_FUTURE; Optional; precision 102)"},"priorYrQtySoldMth1":{"type":"number","nullable":true,"description":"Prior year month 1 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH1; Optional; precision 102)"},"priorYrQtySoldMth10":{"type":"number","nullable":true,"description":"Prior year month 10 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH10; Optional; precision 102)"},"priorYrQtySoldMth11":{"type":"number","nullable":true,"description":"Prior year month 11 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH11; Optional; precision 102)"},"priorYrQtySoldMth12":{"type":"number","nullable":true,"description":"Prior year month 12 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH12; Optional; precision 102)"},"priorYrQtySoldMth2":{"type":"number","nullable":true,"description":"Prior year month 2 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH2; Optional; precision 102)"},"priorYrQtySoldMth3":{"type":"number","nullable":true,"description":"Prior year month 3 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH3; Optional; precision 102)"},"priorYrQtySoldMth4":{"type":"number","nullable":true,"description":"Prior year month 4 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH4; Optional; precision 102)"},"priorYrQtySoldMth5":{"type":"number","nullable":true,"description":"Prior year month 5 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH5; Optional; precision 102)"},"priorYrQtySoldMth6":{"type":"number","nullable":true,"description":"Prior year month 6 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH6; Optional; precision 102)"},"priorYrQtySoldMth7":{"type":"number","nullable":true,"description":"Prior year month 7 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH7; Optional; precision 102)"},"priorYrQtySoldMth8":{"type":"number","nullable":true,"description":"Prior year month 8 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH8; Optional; precision 102)"},"priorYrQtySoldMth9":{"type":"number","nullable":true,"description":"Prior year month 9 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH9; Optional; precision 102)"},"priorYrSalesBf":{"type":"number","nullable":true,"description":"Prior year brought forward sales (SDO PRIOR_YR_SALES_BF; Optional; precision 2)"},"priorYrSalesFuture":{"type":"number","nullable":true,"description":"Prior year future sales (SDO PRIOR_YR_SALES_FUTURE; Optional; precision 2)"},"priorYrSalesMth1":{"type":"number","nullable":true,"description":"Prior year month 1 sales (SDO PRIOR_YR_SALES_MTH1; Optional; precision 2)"},"priorYrSalesMth10":{"type":"number","nullable":true,"description":"Prior year month 10 sales (SDO PRIOR_YR_SALES_MTH10; Optional; precision 2)"},"priorYrSalesMth11":{"type":"number","nullable":true,"description":"Prior year month 11 sales (SDO PRIOR_YR_SALES_MTH11; Optional; precision 2)"},"priorYrSalesMth12":{"type":"number","nullable":true,"description":"Prior year month 12 sales (SDO PRIOR_YR_SALES_MTH12; Optional; precision 2)"},"priorYrSalesMth2":{"type":"number","nullable":true,"description":"Prior year month 2 sales (SDO PRIOR_YR_SALES_MTH2; Optional; precision 2)"},"priorYrSalesMth3":{"type":"number","nullable":true,"description":"Prior year month 3 sales (SDO PRIOR_YR_SALES_MTH3; Optional; precision 2)"},"priorYrSalesMth4":{"type":"number","nullable":true,"description":"Prior year month 4 sales (SDO PRIOR_YR_SALES_MTH4; Optional; precision 2)"},"priorYrSalesMth5":{"type":"number","nullable":true,"description":"Prior year month 5 sales (SDO PRIOR_YR_SALES_MTH5; Optional; precision 2)"},"priorYrSalesMth6":{"type":"number","nullable":true,"description":"Prior year month 6 sales (SDO PRIOR_YR_SALES_MTH6; Optional; precision 2)"},"priorYrSalesMth7":{"type":"number","nullable":true,"description":"Prior year month 7 sales (SDO PRIOR_YR_SALES_MTH7; Optional; precision 2)"},"priorYrSalesMth8":{"type":"number","nullable":true,"description":"Prior year month 8 sales (SDO PRIOR_YR_SALES_MTH8; Optional; precision 2)"},"priorYrSalesMth9":{"type":"number","nullable":true,"description":"Prior year month 9 sales (SDO PRIOR_YR_SALES_MTH9; Optional; precision 2)"},"productBarcode":{"type":"string","nullable":true,"maxLength":60,"description":"Barcode (SDO PRODUCT_BARCODE; Optional; precision 0)"},"purchaseNominalCode":{"type":"string","nullable":true,"maxLength":8,"description":"Purchase Nominal code (SDO PURCHASE_NOMINAL_CODE; Optional; precision 0)"},"purchaseRef":{"type":"string","nullable":true,"maxLength":8,"description":"Supplier's account reference (SDO PURCHASE_REF; Optional; precision 0)"},"qtyAllocated":{"type":"number","nullable":true,"description":"Quantity allocated (SDO QTY_ALLOCATED; Optional; precision 102)"},"qtyInStock":{"type":"number","nullable":true,"description":"Quantity in stock (SDO QTY_IN_STOCK; Optional; precision 102)"},"qtyLastOrder":{"type":"number","nullable":true,"description":"Last order quantity (SDO QTY_LAST_ORDER; Optional; precision 102)"},"qtyLastStockTake":{"type":"number","nullable":true,"description":"Last stock take quantity (SDO QTY_LAST_STOCK_TAKE; Optional; precision 102)"},"qtyOnOrder":{"type":"number","nullable":true,"description":"Quantity on order (SDO QTY_ON_ORDER; Optional; precision 102)"},"qtyReorder":{"type":"number","nullable":true,"description":"Reorder quantity (SDO QTY_REORDER; Optional; precision 102)"},"qtyReorderLevel":{"type":"number","nullable":true,"description":"Reorder level (SDO QTY_REORDER_LEVEL; Optional; precision 102)"},"qtySoldBf":{"type":"number","nullable":true,"description":"Brought forward quantity sold (SDO QTY_SOLD_BF; Optional; precision 102)"},"qtySoldFuture":{"type":"number","nullable":true,"description":"Future quantity sold (SDO QTY_SOLD_FUTURE; Optional; precision 102)"},"qtySoldMth1":{"type":"number","nullable":true,"description":"Month 1 quantity sold (SDO QTY_SOLD_MTH1; Optional; precision 102)"},"qtySoldMth10":{"type":"number","nullable":true,"description":"Month 10 quantity sold (SDO QTY_SOLD_MTH10; Optional; precision 102)"},"qtySoldMth11":{"type":"number","nullable":true,"description":"Month 11 quantity sold (SDO QTY_SOLD_MTH11; Optional; precision 102)"},"qtySoldMth12":{"type":"number","nullable":true,"description":"Month 12 quantity sold (SDO QTY_SOLD_MTH12; Optional; precision 102)"},"qtySoldMth2":{"type":"number","nullable":true,"description":"Month 2 quantity sold (SDO QTY_SOLD_MTH2; Optional; precision 102)"},"qtySoldMth3":{"type":"number","nullable":true,"description":"Month 3 quantity sold (SDO QTY_SOLD_MTH3; Optional; precision 102)"},"qtySoldMth4":{"type":"number","nullable":true,"description":"Month 4 quantity sold (SDO QTY_SOLD_MTH4; Optional; precision 102)"},"qtySoldMth5":{"type":"number","nullable":true,"description":"Month 5 quantity sold (SDO QTY_SOLD_MTH5; Optional; precision 102)"},"qtySoldMth6":{"type":"number","nullable":true,"description":"Month 6 quantity sold (SDO QTY_SOLD_MTH6; Optional; precision 102)"},"qtySoldMth7":{"type":"number","nullable":true,"description":"Month 7 quantity sold (SDO QTY_SOLD_MTH7; Optional; precision 102)"},"qtySoldMth8":{"type":"number","nullable":true,"description":"Month 8 quantity sold (SDO QTY_SOLD_MTH8; Optional; precision 102)"},"qtySoldMth9":{"type":"number","nullable":true,"description":"Month 9 quantity sold (SDO QTY_SOLD_MTH9; Optional; precision 102)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"salesBf":{"type":"number","nullable":true,"description":"Brought forward sales (SDO SALES_BF; Optional; precision 2)"},"salesFuture":{"type":"number","nullable":true,"description":"Future sales (SDO SALES_FUTURE; Optional; precision 2)"},"salesMth1":{"type":"number","nullable":true,"description":"Month 1 sales (SDO SALES_MTH1; Optional; precision 2)"},"salesMth10":{"type":"number","nullable":true,"description":"Month 10 sales (SDO SALES_MTH10; Optional; precision 2)"},"salesMth11":{"type":"number","nullable":true,"description":"Month 11 sales (SDO SALES_MTH11; Optional; precision 2)"},"salesMth12":{"type":"number","nullable":true,"description":"Month 12 sales (SDO SALES_MTH12; Optional; precision 2)"},"salesMth2":{"type":"number","nullable":true,"description":"Month 2 sales (SDO SALES_MTH2; Optional; precision 2)"},"salesMth3":{"type":"number","nullable":true,"description":"Month 3 sales (SDO SALES_MTH3; Optional; precision 2)"},"salesMth4":{"type":"number","nullable":true,"description":"Month 4 sales (SDO SALES_MTH4; Optional; precision 2)"},"salesMth5":{"type":"number","nullable":true,"description":"Month 5 sales (SDO SALES_MTH5; Optional; precision 2)"},"salesMth6":{"type":"number","nullable":true,"description":"Month 6 sales (SDO SALES_MTH6; Optional; precision 2)"},"salesMth7":{"type":"number","nullable":true,"description":"Month 7 sales (SDO SALES_MTH7; Optional; precision 2)"},"salesMth8":{"type":"number","nullable":true,"description":"Month 8 sales (SDO SALES_MTH8; Optional; precision 2)"},"salesMth9":{"type":"number","nullable":true,"description":"Month 9 sales (SDO SALES_MTH9; Optional; precision 2)"},"salesPrice":{"type":"number","nullable":true,"description":"Sale price (SDO SALES_PRICE; Optional; precision 101)"},"stockCat":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Stock category number (SDO STOCK_CAT; Optional; precision 0)"},"stockCode":{"type":"string","nullable":true,"maxLength":30,"description":"Product code (SDO STOCK_CODE; Required; precision 0)"},"stockTakeDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Stock take date (SDO STOCK_TAKE_DATE; Optional; precision 0)"},"suppUnitQty":{"type":"number","nullable":true,"description":"Supplementary Unit Quantity (SDO SUPP_UNIT_QTY; Optional; precision 0)"},"supplierPartNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Supplier's part number (SDO SUPPLIER_PART_NUMBER; Optional; precision 0)"},"taxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax code (0 to 99) (SDO TAX_CODE; Optional; precision 0)"},"unitOfSale":{"type":"string","nullable":true,"maxLength":8,"description":"Unit of sale (SDO UNIT_OF_SALE; Optional; precision 0)"},"unitWeight":{"type":"number","nullable":true,"description":"Unit weight (SDO UNIT_WEIGHT; Optional; precision 2)"},"webDescription":{"type":"string","nullable":true,"maxLength":255,"description":"Web Description (SDO WEB_DESCRIPTION; Optional; precision 0)"},"webImage":{"type":"string","nullable":true,"maxLength":60,"description":"Web Image Filename (SDO WEB_IMAGE; Optional; precision 0)"},"webLongdescription":{"type":"string","nullable":true,"maxLength":1023,"description":"Web Long Description (SDO WEB_LONGDESCRIPTION; Optional; precision 0)"},"webPublish":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Web Publish Flag (SDO WEB_PUBLISH; Optional; precision 0)"},"webSpecialOffer":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Web Special Offer (SDO WEB_SPECIAL_OFFER; Optional; precision 0)"},"id":{"type":"string"}},"required":["assemblyLevel","averageCostPrice","budgetQtySoldBf","budgetQtySoldFuture","budgetQtySoldMth1","budgetQtySoldMth10","budgetQtySoldMth11","budgetQtySoldMth12","budgetQtySoldMth2","budgetQtySoldMth3","budgetQtySoldMth4","budgetQtySoldMth5","budgetQtySoldMth6","budgetQtySoldMth7","budgetQtySoldMth8","budgetQtySoldMth9","budgetSalesBf","budgetSalesFuture","budgetSalesMth1","budgetSalesMth10","budgetSalesMth11","budgetSalesMth12","budgetSalesMth2","budgetSalesMth3","budgetSalesMth4","budgetSalesMth5","budgetSalesMth6","budgetSalesMth7","budgetSalesMth8","budgetSalesMth9","commodityCode","componentCode1","componentCode10","componentCode11","componentCode12","componentCode13","componentCode14","componentCode15","componentCode16","componentCode17","componentCode18","componentCode19","componentCode2","componentCode20","componentCode21","componentCode22","componentCode23","componentCode24","componentCode25","componentCode26","componentCode27","componentCode28","componentCode29","componentCode3","componentCode30","componentCode31","componentCode32","componentCode33","componentCode34","componentCode35","componentCode36","componentCode37","componentCode38","componentCode39","componentCode4","componentCode40","componentCode41","componentCode42","componentCode43","componentCode44","componentCode45","componentCode46","componentCode47","componentCode48","componentCode49","componentCode5","componentCode50","componentCode6","componentCode7","componentCode8","componentCode9","componentQty1","componentQty10","componentQty11","componentQty12","componentQty13","componentQty14","componentQty15","componentQty16","componentQty17","componentQty18","componentQty19","componentQty2","componentQty20","componentQty21","componentQty22","componentQty23","componentQty24","componentQty25","componentQty26","componentQty27","componentQty28","componentQty29","componentQty3","componentQty30","componentQty31","componentQty32","componentQty33","componentQty34","componentQty35","componentQty36","componentQty37","componentQty38","componentQty39","componentQty4","componentQty40","componentQty41","componentQty42","componentQty43","componentQty44","componentQty45","componentQty46","componentQty47","componentQty48","componentQty49","componentQty5","componentQty50","componentQty6","componentQty7","componentQty8","componentQty9","costBf","costFuture","costMth1","costMth10","costMth11","costMth12","costMth2","costMth3","costMth4","costMth5","costMth6","costMth7","costMth8","costMth9","countryCodeOfOrigin","custom1","custom2","custom3","deletedFlag","deptNumber","description","discALevel10Qty","discALevel10Rate","discALevel1Qty","discALevel1Rate","discALevel2Qty","discALevel2Rate","discALevel3Qty","discALevel3Rate","discALevel4Qty","discALevel4Rate","discALevel5Qty","discALevel5Rate","discALevel6Qty","discALevel6Rate","discALevel7Qty","discALevel7Rate","discALevel8Qty","discALevel8Rate","discALevel9Qty","discALevel9Rate","discBLevel10Qty","discBLevel10Rate","discBLevel1Qty","discBLevel1Rate","discBLevel2Qty","discBLevel2Rate","discBLevel3Qty","discBLevel3Rate","discBLevel4Qty","discBLevel4Rate","discBLevel5Qty","discBLevel5Rate","discBLevel6Qty","discBLevel6Rate","discBLevel7Qty","discBLevel7Rate","discBLevel8Qty","discBLevel8Rate","discBLevel9Qty","discBLevel9Rate","discCLevel10Qty","discCLevel10Rate","discCLevel1Qty","discCLevel1Rate","discCLevel2Qty","discCLevel2Rate","discCLevel3Qty","discCLevel3Rate","discCLevel4Qty","discCLevel4Rate","discCLevel5Qty","discCLevel5Rate","discCLevel6Qty","discCLevel6Rate","discCLevel7Qty","discCLevel7Rate","discCLevel8Qty","discCLevel8Rate","discCLevel9Qty","discCLevel9Rate","discDLevel10Qty","discDLevel10Rate","discDLevel1Qty","discDLevel1Rate","discDLevel2Qty","discDLevel2Rate","discDLevel3Qty","discDLevel3Rate","discDLevel4Qty","discDLevel4Rate","discDLevel5Qty","discDLevel5Rate","discDLevel6Qty","discDLevel6Rate","discDLevel7Qty","discDLevel7Rate","discDLevel8Qty","discDLevel8Rate","discDLevel9Qty","discDLevel9Rate","discELevel10Qty","discELevel10Rate","discELevel1Qty","discELevel1Rate","discELevel2Qty","discELevel2Rate","discELevel3Qty","discELevel3Rate","discELevel4Qty","discELevel4Rate","discELevel5Qty","discELevel5Rate","discELevel6Qty","discELevel6Rate","discELevel7Qty","discELevel7Rate","discELevel8Qty","discELevel8Rate","discELevel9Qty","discELevel9Rate","externalUsage","firstTran","ignoreStkLvlFlag","inactiveFlag","intrastatCommodityCode","intrastatImportDutyCode","itemType","lastCostDiscount","lastOrderQuantity","lastPurchaseDate","lastPurchasePrice","lastSaleDate","lastTran","lastUpdated","linkLevel","location","noOfTran","nominalCode","priorYrCostBf","priorYrCostFuture","priorYrCostMth1","priorYrCostMth10","priorYrCostMth11","priorYrCostMth12","priorYrCostMth2","priorYrCostMth3","priorYrCostMth4","priorYrCostMth5","priorYrCostMth6","priorYrCostMth7","priorYrCostMth8","priorYrCostMth9","priorYrQtySoldBf","priorYrQtySoldFuture","priorYrQtySoldMth1","priorYrQtySoldMth10","priorYrQtySoldMth11","priorYrQtySoldMth12","priorYrQtySoldMth2","priorYrQtySoldMth3","priorYrQtySoldMth4","priorYrQtySoldMth5","priorYrQtySoldMth6","priorYrQtySoldMth7","priorYrQtySoldMth8","priorYrQtySoldMth9","priorYrSalesBf","priorYrSalesFuture","priorYrSalesMth1","priorYrSalesMth10","priorYrSalesMth11","priorYrSalesMth12","priorYrSalesMth2","priorYrSalesMth3","priorYrSalesMth4","priorYrSalesMth5","priorYrSalesMth6","priorYrSalesMth7","priorYrSalesMth8","priorYrSalesMth9","productBarcode","purchaseNominalCode","purchaseRef","qtyAllocated","qtyInStock","qtyLastOrder","qtyLastStockTake","qtyOnOrder","qtyReorder","qtyReorderLevel","qtySoldBf","qtySoldFuture","qtySoldMth1","qtySoldMth10","qtySoldMth11","qtySoldMth12","qtySoldMth2","qtySoldMth3","qtySoldMth4","qtySoldMth5","qtySoldMth6","qtySoldMth7","qtySoldMth8","qtySoldMth9","recordCreateDate","recordDeleted","recordModifyDate","salesBf","salesFuture","salesMth1","salesMth10","salesMth11","salesMth12","salesMth2","salesMth3","salesMth4","salesMth5","salesMth6","salesMth7","salesMth8","salesMth9","salesPrice","stockCat","stockCode","stockTakeDate","suppUnitQty","supplierPartNumber","taxCode","unitOfSale","unitWeight","webDescription","webImage","webLongdescription","webPublish","webSpecialOffer","id"],"additionalProperties":false},"Uk31_1_items_get":{"type":"object","properties":{"assemblyLevel":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Assembly level (SDO ASSEMBLY_LEVEL; Optional; precision 0)"},"averageCostPrice":{"type":"number","nullable":true,"description":"Average cost price (SDO AVERAGE_COST_PRICE; Optional; precision 101)"},"budgetQtySoldBf":{"type":"number","nullable":true,"description":"Brought forward budget quantity sold (SDO BUDGET_QTY_SOLD_BF; Optional; precision 102)"},"budgetQtySoldFuture":{"type":"number","nullable":true,"description":"Future budget quantity sold (SDO BUDGET_QTY_SOLD_FUTURE; Optional; precision 102)"},"budgetQtySoldMth1":{"type":"number","nullable":true,"description":"Month 1 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH1; Optional; precision 102)"},"budgetQtySoldMth10":{"type":"number","nullable":true,"description":"Month 10 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH10; Optional; precision 102)"},"budgetQtySoldMth11":{"type":"number","nullable":true,"description":"Month 11 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH11; Optional; precision 102)"},"budgetQtySoldMth12":{"type":"number","nullable":true,"description":"Month 12 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH12; Optional; precision 102)"},"budgetQtySoldMth2":{"type":"number","nullable":true,"description":"Month 2 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH2; Optional; precision 102)"},"budgetQtySoldMth3":{"type":"number","nullable":true,"description":"Month 3 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH3; Optional; precision 102)"},"budgetQtySoldMth4":{"type":"number","nullable":true,"description":"Month 4 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH4; Optional; precision 102)"},"budgetQtySoldMth5":{"type":"number","nullable":true,"description":"Month 5 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH5; Optional; precision 102)"},"budgetQtySoldMth6":{"type":"number","nullable":true,"description":"Month 6 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH6; Optional; precision 102)"},"budgetQtySoldMth7":{"type":"number","nullable":true,"description":"Month 7 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH7; Optional; precision 102)"},"budgetQtySoldMth8":{"type":"number","nullable":true,"description":"Month 8 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH8; Optional; precision 102)"},"budgetQtySoldMth9":{"type":"number","nullable":true,"description":"Month 9 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH9; Optional; precision 102)"},"budgetSalesBf":{"type":"number","nullable":true,"description":"Brought forward budget sales (SDO BUDGET_SALES_BF; Optional; precision 2)"},"budgetSalesFuture":{"type":"number","nullable":true,"description":"Future budget sales (SDO BUDGET_SALES_FUTURE; Optional; precision 2)"},"budgetSalesMth1":{"type":"number","nullable":true,"description":"Month 1 budget sales (SDO BUDGET_SALES_MTH1; Optional; precision 2)"},"budgetSalesMth10":{"type":"number","nullable":true,"description":"Month 10 budget sales (SDO BUDGET_SALES_MTH10; Optional; precision 2)"},"budgetSalesMth11":{"type":"number","nullable":true,"description":"Month 11 budget sales (SDO BUDGET_SALES_MTH11; Optional; precision 2)"},"budgetSalesMth12":{"type":"number","nullable":true,"description":"Month 12 budget sales (SDO BUDGET_SALES_MTH12; Optional; precision 2)"},"budgetSalesMth2":{"type":"number","nullable":true,"description":"Month 2 budget sales (SDO BUDGET_SALES_MTH2; Optional; precision 2)"},"budgetSalesMth3":{"type":"number","nullable":true,"description":"Month 3 budget sales (SDO BUDGET_SALES_MTH3; Optional; precision 2)"},"budgetSalesMth4":{"type":"number","nullable":true,"description":"Month 4 budget sales (SDO BUDGET_SALES_MTH4; Optional; precision 2)"},"budgetSalesMth5":{"type":"number","nullable":true,"description":"Month 5 budget sales (SDO BUDGET_SALES_MTH5; Optional; precision 2)"},"budgetSalesMth6":{"type":"number","nullable":true,"description":"Month 6 budget sales (SDO BUDGET_SALES_MTH6; Optional; precision 2)"},"budgetSalesMth7":{"type":"number","nullable":true,"description":"Month 7 budget sales (SDO BUDGET_SALES_MTH7; Optional; precision 2)"},"budgetSalesMth8":{"type":"number","nullable":true,"description":"Month 8 budget sales (SDO BUDGET_SALES_MTH8; Optional; precision 2)"},"budgetSalesMth9":{"type":"number","nullable":true,"description":"Month 9 budget sales (SDO BUDGET_SALES_MTH9; Optional; precision 2)"},"commodityCode":{"type":"string","nullable":true,"maxLength":30,"description":"Commodity code description (SDO COMMODITY_CODE; Optional; precision 0)"},"componentCode1":{"type":"string","nullable":true,"maxLength":30,"description":"Component 1 stock code (SDO COMPONENT_CODE_1; Optional; precision 0)"},"componentCode10":{"type":"string","nullable":true,"maxLength":30,"description":"Component 10 stock code (SDO COMPONENT_CODE_10; Optional; precision 0)"},"componentCode11":{"type":"string","nullable":true,"maxLength":30,"description":"Component 11 stock code (SDO COMPONENT_Code_11; Optional; precision 0)"},"componentCode12":{"type":"string","nullable":true,"maxLength":30,"description":"Component 12 stock code (SDO COMPONENT_Code_12; Optional; precision 0)"},"componentCode13":{"type":"string","nullable":true,"maxLength":30,"description":"Component 13 stock code (SDO COMPONENT_Code_13; Optional; precision 0)"},"componentCode14":{"type":"string","nullable":true,"maxLength":30,"description":"Component 14 stock code (SDO COMPONENT_Code_14; Optional; precision 0)"},"componentCode15":{"type":"string","nullable":true,"maxLength":30,"description":"Component 15 stock code (SDO COMPONENT_Code_15; Optional; precision 0)"},"componentCode16":{"type":"string","nullable":true,"maxLength":30,"description":"Component 16 stock code (SDO COMPONENT_Code_16; Optional; precision 0)"},"componentCode17":{"type":"string","nullable":true,"maxLength":30,"description":"Component 17 stock code (SDO COMPONENT_Code_17; Optional; precision 0)"},"componentCode18":{"type":"string","nullable":true,"maxLength":30,"description":"Component 18 stock code (SDO COMPONENT_Code_18; Optional; precision 0)"},"componentCode19":{"type":"string","nullable":true,"maxLength":30,"description":"Component 19 stock code (SDO COMPONENT_Code_19; Optional; precision 0)"},"componentCode2":{"type":"string","nullable":true,"maxLength":30,"description":"Component 2 stock code (SDO COMPONENT_CODE_2; Optional; precision 0)"},"componentCode20":{"type":"string","nullable":true,"maxLength":30,"description":"Component 20 stock code (SDO COMPONENT_CODE_20; Optional; precision 0)"},"componentCode21":{"type":"string","nullable":true,"maxLength":30,"description":"Component 21 stock code (SDO COMPONENT_Code_21; Optional; precision 0)"},"componentCode22":{"type":"string","nullable":true,"maxLength":30,"description":"Component 22 stock code (SDO COMPONENT_Code_22; Optional; precision 0)"},"componentCode23":{"type":"string","nullable":true,"maxLength":30,"description":"Component 23 stock code (SDO COMPONENT_Code_23; Optional; precision 0)"},"componentCode24":{"type":"string","nullable":true,"maxLength":30,"description":"Component 24 stock code (SDO COMPONENT_Code_24; Optional; precision 0)"},"componentCode25":{"type":"string","nullable":true,"maxLength":30,"description":"Component 25 stock code (SDO COMPONENT_Code_25; Optional; precision 0)"},"componentCode26":{"type":"string","nullable":true,"maxLength":30,"description":"Component 26 stock code (SDO COMPONENT_Code_26; Optional; precision 0)"},"componentCode27":{"type":"string","nullable":true,"maxLength":30,"description":"Component 27 stock code (SDO COMPONENT_Code_27; Optional; precision 0)"},"componentCode28":{"type":"string","nullable":true,"maxLength":30,"description":"Component 28 stock code (SDO COMPONENT_Code_28; Optional; precision 0)"},"componentCode29":{"type":"string","nullable":true,"maxLength":30,"description":"Component 29 stock code (SDO COMPONENT_Code_29; Optional; precision 0)"},"componentCode3":{"type":"string","nullable":true,"maxLength":30,"description":"Component 3 stock code (SDO COMPONENT_CODE_3; Optional; precision 0)"},"componentCode30":{"type":"string","nullable":true,"maxLength":30,"description":"Component 30 stock code (SDO COMPONENT_CODE_30; Optional; precision 0)"},"componentCode31":{"type":"string","nullable":true,"maxLength":30,"description":"Component 31 stock code (SDO COMPONENT_Code_31; Optional; precision 0)"},"componentCode32":{"type":"string","nullable":true,"maxLength":30,"description":"Component 32 stock code (SDO COMPONENT_Code_32; Optional; precision 0)"},"componentCode33":{"type":"string","nullable":true,"maxLength":30,"description":"Component 33 stock code (SDO COMPONENT_Code_33; Optional; precision 0)"},"componentCode34":{"type":"string","nullable":true,"maxLength":30,"description":"Component 34 stock code (SDO COMPONENT_Code_34; Optional; precision 0)"},"componentCode35":{"type":"string","nullable":true,"maxLength":30,"description":"Component 35 stock code (SDO COMPONENT_Code_35; Optional; precision 0)"},"componentCode36":{"type":"string","nullable":true,"maxLength":30,"description":"Component 36 stock code (SDO COMPONENT_Code_36; Optional; precision 0)"},"componentCode37":{"type":"string","nullable":true,"maxLength":30,"description":"Component 37 stock code (SDO COMPONENT_Code_37; Optional; precision 0)"},"componentCode38":{"type":"string","nullable":true,"maxLength":30,"description":"Component 38 stock code (SDO COMPONENT_Code_38; Optional; precision 0)"},"componentCode39":{"type":"string","nullable":true,"maxLength":30,"description":"Component 39 stock code (SDO COMPONENT_Code_39; Optional; precision 0)"},"componentCode4":{"type":"string","nullable":true,"maxLength":30,"description":"Component 4 stock code (SDO COMPONENT_CODE_4; Optional; precision 0)"},"componentCode40":{"type":"string","nullable":true,"maxLength":30,"description":"Component 40 stock code (SDO COMPONENT_CODE_40; Optional; precision 0)"},"componentCode41":{"type":"string","nullable":true,"maxLength":30,"description":"Component 41 stock code (SDO COMPONENT_Code_41; Optional; precision 0)"},"componentCode42":{"type":"string","nullable":true,"maxLength":30,"description":"Component 42 stock code (SDO COMPONENT_Code_42; Optional; precision 0)"},"componentCode43":{"type":"string","nullable":true,"maxLength":30,"description":"Component 43 stock code (SDO COMPONENT_Code_43; Optional; precision 0)"},"componentCode44":{"type":"string","nullable":true,"maxLength":30,"description":"Component 44 stock code (SDO COMPONENT_Code_44; Optional; precision 0)"},"componentCode45":{"type":"string","nullable":true,"maxLength":30,"description":"Component 45 stock code (SDO COMPONENT_Code_45; Optional; precision 0)"},"componentCode46":{"type":"string","nullable":true,"maxLength":30,"description":"Component 46 stock code (SDO COMPONENT_Code_46; Optional; precision 0)"},"componentCode47":{"type":"string","nullable":true,"maxLength":30,"description":"Component 47 stock code (SDO COMPONENT_Code_47; Optional; precision 0)"},"componentCode48":{"type":"string","nullable":true,"maxLength":30,"description":"Component 48 stock code (SDO COMPONENT_Code_48; Optional; precision 0)"},"componentCode49":{"type":"string","nullable":true,"maxLength":30,"description":"Component 49 stock code (SDO COMPONENT_Code_49; Optional; precision 0)"},"componentCode5":{"type":"string","nullable":true,"maxLength":30,"description":"Component 5 stock code (SDO COMPONENT_CODE_5; Optional; precision 0)"},"componentCode50":{"type":"string","nullable":true,"maxLength":30,"description":"Component 50 stock code (SDO COMPONENT_Code_50; Optional; precision 0)"},"componentCode6":{"type":"string","nullable":true,"maxLength":30,"description":"Component 6 stock code (SDO COMPONENT_CODE_6; Optional; precision 0)"},"componentCode7":{"type":"string","nullable":true,"maxLength":30,"description":"Component 7 stock code (SDO COMPONENT_CODE_7; Optional; precision 0)"},"componentCode8":{"type":"string","nullable":true,"maxLength":30,"description":"Component 8 stock code (SDO COMPONENT_CODE_8; Optional; precision 0)"},"componentCode9":{"type":"string","nullable":true,"maxLength":30,"description":"Component 9 stock code (SDO COMPONENT_CODE_9; Optional; precision 0)"},"componentQty1":{"type":"number","nullable":true,"description":"Component 1 quantity (SDO COMPONENT_QTY_1; Optional; precision 102)"},"componentQty10":{"type":"number","nullable":true,"description":"Component 10 quantity (SDO COMPONENT_QTY_10; Optional; precision 102)"},"componentQty11":{"type":"number","nullable":true,"description":"Component 11 quantity (SDO COMPONENT_QTY_11; Optional; precision 102)"},"componentQty12":{"type":"number","nullable":true,"description":"Component 12 quantity (SDO COMPONENT_QTY_12; Optional; precision 102)"},"componentQty13":{"type":"number","nullable":true,"description":"Component 13 quantity (SDO COMPONENT_QTY_13; Optional; precision 102)"},"componentQty14":{"type":"number","nullable":true,"description":"Component 14 quantity (SDO COMPONENT_QTY_14; Optional; precision 102)"},"componentQty15":{"type":"number","nullable":true,"description":"Component 15 quantity (SDO COMPONENT_QTY_15; Optional; precision 102)"},"componentQty16":{"type":"number","nullable":true,"description":"Component 16 quantity (SDO COMPONENT_QTY_16; Optional; precision 102)"},"componentQty17":{"type":"number","nullable":true,"description":"Component 17 quantity (SDO COMPONENT_QTY_17; Optional; precision 102)"},"componentQty18":{"type":"number","nullable":true,"description":"Component 18 quantity (SDO COMPONENT_QTY_18; Optional; precision 102)"},"componentQty19":{"type":"number","nullable":true,"description":"Component 19 quantity (SDO COMPONENT_QTY_19; Optional; precision 102)"},"componentQty2":{"type":"number","nullable":true,"description":"Component 2 quantity (SDO COMPONENT_QTY_2; Optional; precision 102)"},"componentQty20":{"type":"number","nullable":true,"description":"Component 20 quantity (SDO COMPONENT_QTY_20; Optional; precision 102)"},"componentQty21":{"type":"number","nullable":true,"description":"Component 21 quantity (SDO COMPONENT_QTY_21; Optional; precision 102)"},"componentQty22":{"type":"number","nullable":true,"description":"Component 22 quantity (SDO COMPONENT_QTY_22; Optional; precision 102)"},"componentQty23":{"type":"number","nullable":true,"description":"Component 23 quantity (SDO COMPONENT_QTY_23; Optional; precision 102)"},"componentQty24":{"type":"number","nullable":true,"description":"Component 24 quantity (SDO COMPONENT_QTY_24; Optional; precision 102)"},"componentQty25":{"type":"number","nullable":true,"description":"Component 25 quantity (SDO COMPONENT_QTY_25; Optional; precision 102)"},"componentQty26":{"type":"number","nullable":true,"description":"Component 26 quantity (SDO COMPONENT_QTY_26; Optional; precision 102)"},"componentQty27":{"type":"number","nullable":true,"description":"Component 27 quantity (SDO COMPONENT_QTY_27; Optional; precision 102)"},"componentQty28":{"type":"number","nullable":true,"description":"Component 28 quantity (SDO COMPONENT_QTY_28; Optional; precision 102)"},"componentQty29":{"type":"number","nullable":true,"description":"Component 29 quantity (SDO COMPONENT_QTY_29; Optional; precision 102)"},"componentQty3":{"type":"number","nullable":true,"description":"Component 3 quantity (SDO COMPONENT_QTY_3; Optional; precision 102)"},"componentQty30":{"type":"number","nullable":true,"description":"Component 30 quantity (SDO COMPONENT_QTY_30; Optional; precision 102)"},"componentQty31":{"type":"number","nullable":true,"description":"Component 31 quantity (SDO COMPONENT_QTY_31; Optional; precision 102)"},"componentQty32":{"type":"number","nullable":true,"description":"Component 32 quantity (SDO COMPONENT_QTY_32; Optional; precision 102)"},"componentQty33":{"type":"number","nullable":true,"description":"Component 33 quantity (SDO COMPONENT_QTY_33; Optional; precision 102)"},"componentQty34":{"type":"number","nullable":true,"description":"Component 34 quantity (SDO COMPONENT_QTY_34; Optional; precision 102)"},"componentQty35":{"type":"number","nullable":true,"description":"Component 35 quantity (SDO COMPONENT_QTY_35; Optional; precision 102)"},"componentQty36":{"type":"number","nullable":true,"description":"Component 36 quantity (SDO COMPONENT_QTY_36; Optional; precision 102)"},"componentQty37":{"type":"number","nullable":true,"description":"Component 37 quantity (SDO COMPONENT_QTY_37; Optional; precision 102)"},"componentQty38":{"type":"number","nullable":true,"description":"Component 38 quantity (SDO COMPONENT_QTY_38; Optional; precision 102)"},"componentQty39":{"type":"number","nullable":true,"description":"Component 39 quantity (SDO COMPONENT_QTY_39; Optional; precision 102)"},"componentQty4":{"type":"number","nullable":true,"description":"Component 4 quantity (SDO COMPONENT_QTY_4; Optional; precision 102)"},"componentQty40":{"type":"number","nullable":true,"description":"Component 40 quantity (SDO COMPONENT_QTY_40; Optional; precision 102)"},"componentQty41":{"type":"number","nullable":true,"description":"Component 41 quantity (SDO COMPONENT_QTY_41; Optional; precision 102)"},"componentQty42":{"type":"number","nullable":true,"description":"Component 42 quantity (SDO COMPONENT_QTY_42; Optional; precision 102)"},"componentQty43":{"type":"number","nullable":true,"description":"Component 43 quantity (SDO COMPONENT_QTY_43; Optional; precision 102)"},"componentQty44":{"type":"number","nullable":true,"description":"Component 44 quantity (SDO COMPONENT_QTY_44; Optional; precision 102)"},"componentQty45":{"type":"number","nullable":true,"description":"Component 45 quantity (SDO COMPONENT_QTY_45; Optional; precision 102)"},"componentQty46":{"type":"number","nullable":true,"description":"Component 46 quantity (SDO COMPONENT_QTY_46; Optional; precision 102)"},"componentQty47":{"type":"number","nullable":true,"description":"Component 47 quantity (SDO COMPONENT_QTY_47; Optional; precision 102)"},"componentQty48":{"type":"number","nullable":true,"description":"Component 48 quantity (SDO COMPONENT_QTY_48; Optional; precision 102)"},"componentQty49":{"type":"number","nullable":true,"description":"Component 49 quantity (SDO COMPONENT_QTY_49; Optional; precision 102)"},"componentQty5":{"type":"number","nullable":true,"description":"Component 5 quantity (SDO COMPONENT_QTY_5; Optional; precision 102)"},"componentQty50":{"type":"number","nullable":true,"description":"Component 50 quantity (SDO COMPONENT_QTY_50; Optional; precision 102)"},"componentQty6":{"type":"number","nullable":true,"description":"Component 6 quantity (SDO COMPONENT_QTY_6; Optional; precision 102)"},"componentQty7":{"type":"number","nullable":true,"description":"Component 7 quantity (SDO COMPONENT_QTY_7; Optional; precision 102)"},"componentQty8":{"type":"number","nullable":true,"description":"Component 8 quantity (SDO COMPONENT_QTY_8; Optional; precision 102)"},"componentQty9":{"type":"number","nullable":true,"description":"Component 9 quantity (SDO COMPONENT_QTY_9; Optional; precision 102)"},"costBf":{"type":"number","nullable":true,"description":"Brought forward costs (SDO COST_BF; Optional; precision 2)"},"costFuture":{"type":"number","nullable":true,"description":"Future costs (SDO COST_FUTURE; Optional; precision 2)"},"costMth1":{"type":"number","nullable":true,"description":"Month 1 costs (SDO COST_MTH1; Optional; precision 2)"},"costMth10":{"type":"number","nullable":true,"description":"Month 10 costs (SDO COST_MTH10; Optional; precision 2)"},"costMth11":{"type":"number","nullable":true,"description":"Month 11 costs (SDO COST_MTH11; Optional; precision 2)"},"costMth12":{"type":"number","nullable":true,"description":"Month 12 costs (SDO COST_MTH12; Optional; precision 2)"},"costMth2":{"type":"number","nullable":true,"description":"Month 2 costs (SDO COST_MTH2; Optional; precision 2)"},"costMth3":{"type":"number","nullable":true,"description":"Month 3 costs (SDO COST_MTH3; Optional; precision 2)"},"costMth4":{"type":"number","nullable":true,"description":"Month 4 costs (SDO COST_MTH4; Optional; precision 2)"},"costMth5":{"type":"number","nullable":true,"description":"Month 5 costs (SDO COST_MTH5; Optional; precision 2)"},"costMth6":{"type":"number","nullable":true,"description":"Month 6 costs (SDO COST_MTH6; Optional; precision 2)"},"costMth7":{"type":"number","nullable":true,"description":"Month 7 costs (SDO COST_MTH7; Optional; precision 2)"},"costMth8":{"type":"number","nullable":true,"description":"Month 8 costs (SDO COST_MTH8; Optional; precision 2)"},"costMth9":{"type":"number","nullable":true,"description":"Month 9 costs (SDO COST_MTH9; Optional; precision 2)"},"countryCodeOfOrigin":{"type":"string","nullable":true,"maxLength":2,"description":"Country of Origin (SDO COUNTRY_CODE_OF_ORIGIN; Optional; precision 0)"},"custom1":{"type":"string","nullable":true,"maxLength":60,"description":"Custom Field 1 (SDO CUSTOM_1; Optional; precision 0)"},"custom2":{"type":"string","nullable":true,"maxLength":60,"description":"Custom Field 2 (SDO CUSTOM_2; Optional; precision 0)"},"custom3":{"type":"string","nullable":true,"maxLength":60,"description":"Custom Field 3 (SDO CUSTOM_3; Optional; precision 0)"},"deletedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Is Deleted (SDO DELETED_FLAG; Optional; precision 0)"},"deptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Department number (SDO DEPT_NUMBER; Optional; precision 0)"},"description":{"type":"string","nullable":true,"maxLength":120,"description":"Description (SDO DESCRIPTION; Optional; precision 0)"},"discALevel10Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 10, Quantity (SDO DISC_A_LEVEL_10_QTY; Optional; precision 102)"},"discALevel10Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 10, Rate (SDO DISC_A_LEVEL_10_RATE; Optional; precision 2)"},"discALevel1Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 1, Quantity (SDO DISC_A_LEVEL_1_QTY; Optional; precision 102)"},"discALevel1Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 1, Rate (SDO DISC_A_LEVEL_1_RATE; Optional; precision 2)"},"discALevel2Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 2, Quantity (SDO DISC_A_LEVEL_2_QTY; Optional; precision 102)"},"discALevel2Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 2, Rate (SDO DISC_A_LEVEL_2_RATE; Optional; precision 2)"},"discALevel3Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 3, Quantity (SDO DISC_A_LEVEL_3_QTY; Optional; precision 102)"},"discALevel3Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 3, Rate (SDO DISC_A_LEVEL_3_RATE; Optional; precision 2)"},"discALevel4Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 4, Quantity (SDO DISC_A_LEVEL_4_QTY; Optional; precision 102)"},"discALevel4Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 4, Rate (SDO DISC_A_LEVEL_4_RATE; Optional; precision 2)"},"discALevel5Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 5, Quantity (SDO DISC_A_LEVEL_5_QTY; Optional; precision 102)"},"discALevel5Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 5, Rate (SDO DISC_A_LEVEL_5_RATE; Optional; precision 2)"},"discALevel6Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 6, Quantity (SDO DISC_A_LEVEL_6_QTY; Optional; precision 102)"},"discALevel6Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 6, Rate (SDO DISC_A_LEVEL_6_RATE; Optional; precision 2)"},"discALevel7Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 7, Quantity (SDO DISC_A_LEVEL_7_QTY; Optional; precision 102)"},"discALevel7Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 7, Rate (SDO DISC_A_LEVEL_7_RATE; Optional; precision 2)"},"discALevel8Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 8, Quantity (SDO DISC_A_LEVEL_8_QTY; Optional; precision 102)"},"discALevel8Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 8, Rate (SDO DISC_A_LEVEL_8_RATE; Optional; precision 2)"},"discALevel9Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 9, Quantity (SDO DISC_A_LEVEL_9_QTY; Optional; precision 102)"},"discALevel9Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 9, Rate (SDO DISC_A_LEVEL_9_RATE; Optional; precision 2)"},"discBLevel10Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 10, Quantity (SDO DISC_B_LEVEL_10_QTY; Optional; precision 102)"},"discBLevel10Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 10, Rate (SDO DISC_B_LEVEL_10_RATE; Optional; precision 2)"},"discBLevel1Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 1, Quantity (SDO DISC_B_LEVEL_1_QTY; Optional; precision 102)"},"discBLevel1Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 1, Rate (SDO DISC_B_LEVEL_1_RATE; Optional; precision 2)"},"discBLevel2Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 2, Quantity (SDO DISC_B_LEVEL_2_QTY; Optional; precision 102)"},"discBLevel2Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 2, Rate (SDO DISC_B_LEVEL_2_RATE; Optional; precision 2)"},"discBLevel3Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 3, Quantity (SDO DISC_B_LEVEL_3_QTY; Optional; precision 102)"},"discBLevel3Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 3, Rate (SDO DISC_B_LEVEL_3_RATE; Optional; precision 2)"},"discBLevel4Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 4, Quantity (SDO DISC_B_LEVEL_4_QTY; Optional; precision 102)"},"discBLevel4Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 4, Rate (SDO DISC_B_LEVEL_4_RATE; Optional; precision 2)"},"discBLevel5Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 5, Quantity (SDO DISC_B_LEVEL_5_QTY; Optional; precision 102)"},"discBLevel5Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 5, Rate (SDO DISC_B_LEVEL_5_RATE; Optional; precision 2)"},"discBLevel6Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 6, Quantity (SDO DISC_B_LEVEL_6_QTY; Optional; precision 102)"},"discBLevel6Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 6, Rate (SDO DISC_B_LEVEL_6_RATE; Optional; precision 2)"},"discBLevel7Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 7, Quantity (SDO DISC_B_LEVEL_7_QTY; Optional; precision 102)"},"discBLevel7Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 7, Rate (SDO DISC_B_LEVEL_7_RATE; Optional; precision 2)"},"discBLevel8Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 8, Quantity (SDO DISC_B_LEVEL_8_QTY; Optional; precision 102)"},"discBLevel8Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 8, Rate (SDO DISC_B_LEVEL_8_RATE; Optional; precision 2)"},"discBLevel9Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 9, Quantity (SDO DISC_B_LEVEL_9_QTY; Optional; precision 102)"},"discBLevel9Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 9, Rate (SDO DISC_B_LEVEL_9_RATE; Optional; precision 2)"},"discCLevel10Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 10, Quantity (SDO DISC_C_LEVEL_10_QTY; Optional; precision 102)"},"discCLevel10Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 10, Rate (SDO DISC_C_LEVEL_10_RATE; Optional; precision 2)"},"discCLevel1Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 1, Quantity (SDO DISC_C_LEVEL_1_QTY; Optional; precision 102)"},"discCLevel1Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 1, Rate (SDO DISC_C_LEVEL_1_RATE; Optional; precision 2)"},"discCLevel2Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 2, Quantity (SDO DISC_C_LEVEL_2_QTY; Optional; precision 102)"},"discCLevel2Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 2, Rate (SDO DISC_C_LEVEL_2_RATE; Optional; precision 2)"},"discCLevel3Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 3, Quantity (SDO DISC_C_LEVEL_3_QTY; Optional; precision 102)"},"discCLevel3Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 3, Rate (SDO DISC_C_LEVEL_3_RATE; Optional; precision 2)"},"discCLevel4Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 4, Quantity (SDO DISC_C_LEVEL_4_QTY; Optional; precision 102)"},"discCLevel4Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 4, Rate (SDO DISC_C_LEVEL_4_RATE; Optional; precision 2)"},"discCLevel5Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 5, Quantity (SDO DISC_C_LEVEL_5_QTY; Optional; precision 102)"},"discCLevel5Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 5, Rate (SDO DISC_C_LEVEL_5_RATE; Optional; precision 2)"},"discCLevel6Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 6, Quantity (SDO DISC_C_LEVEL_6_QTY; Optional; precision 102)"},"discCLevel6Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 6, Rate (SDO DISC_C_LEVEL_6_RATE; Optional; precision 2)"},"discCLevel7Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 7, Quantity (SDO DISC_C_LEVEL_7_QTY; Optional; precision 102)"},"discCLevel7Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 7, Rate (SDO DISC_C_LEVEL_7_RATE; Optional; precision 2)"},"discCLevel8Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 8, Quantity (SDO DISC_C_LEVEL_8_QTY; Optional; precision 102)"},"discCLevel8Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 8, Rate (SDO DISC_C_LEVEL_8_RATE; Optional; precision 2)"},"discCLevel9Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 9, Quantity (SDO DISC_C_LEVEL_9_QTY; Optional; precision 102)"},"discCLevel9Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 9, Rate (SDO DISC_C_LEVEL_9_RATE; Optional; precision 2)"},"discDLevel10Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 10, Quantity (SDO DISC_D_LEVEL_10_QTY; Optional; precision 102)"},"discDLevel10Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 10, Rate (SDO DISC_D_LEVEL_10_RATE; Optional; precision 2)"},"discDLevel1Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 1, Quantity (SDO DISC_D_LEVEL_1_QTY; Optional; precision 102)"},"discDLevel1Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 1, Rate (SDO DISC_D_LEVEL_1_RATE; Optional; precision 2)"},"discDLevel2Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 2, Quantity (SDO DISC_D_LEVEL_2_QTY; Optional; precision 102)"},"discDLevel2Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 2, Rate (SDO DISC_D_LEVEL_2_RATE; Optional; precision 2)"},"discDLevel3Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 3, Quantity (SDO DISC_D_LEVEL_3_QTY; Optional; precision 102)"},"discDLevel3Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 3, Rate (SDO DISC_D_LEVEL_3_RATE; Optional; precision 2)"},"discDLevel4Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 4, Quantity (SDO DISC_D_LEVEL_4_QTY; Optional; precision 102)"},"discDLevel4Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 4, Rate (SDO DISC_D_LEVEL_4_RATE; Optional; precision 2)"},"discDLevel5Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 5, Quantity (SDO DISC_D_LEVEL_5_QTY; Optional; precision 102)"},"discDLevel5Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 5, Rate (SDO DISC_D_LEVEL_5_RATE; Optional; precision 2)"},"discDLevel6Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 6, Quantity (SDO DISC_D_LEVEL_6_QTY; Optional; precision 102)"},"discDLevel6Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 6, Rate (SDO DISC_D_LEVEL_6_RATE; Optional; precision 2)"},"discDLevel7Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 7, Quantity (SDO DISC_D_LEVEL_7_QTY; Optional; precision 102)"},"discDLevel7Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 7, Rate (SDO DISC_D_LEVEL_7_RATE; Optional; precision 2)"},"discDLevel8Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 8, Quantity (SDO DISC_D_LEVEL_8_QTY; Optional; precision 102)"},"discDLevel8Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 8, Rate (SDO DISC_D_LEVEL_8_RATE; Optional; precision 2)"},"discDLevel9Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 9, Quantity (SDO DISC_D_LEVEL_9_QTY; Optional; precision 102)"},"discDLevel9Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 9, Rate (SDO DISC_D_LEVEL_9_RATE; Optional; precision 2)"},"discELevel10Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 10, Quantity (SDO DISC_E_LEVEL_10_QTY; Optional; precision 102)"},"discELevel10Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 10, Rate (SDO DISC_E_LEVEL_10_RATE; Optional; precision 2)"},"discELevel1Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 1, Quantity (SDO DISC_E_LEVEL_1_QTY; Optional; precision 102)"},"discELevel1Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 1, Rate (SDO DISC_E_LEVEL_1_RATE; Optional; precision 2)"},"discELevel2Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 2, Quantity (SDO DISC_E_LEVEL_2_QTY; Optional; precision 102)"},"discELevel2Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 2, Rate (SDO DISC_E_LEVEL_2_RATE; Optional; precision 2)"},"discELevel3Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 3, Quantity (SDO DISC_E_LEVEL_3_QTY; Optional; precision 102)"},"discELevel3Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 3, Rate (SDO DISC_E_LEVEL_3_RATE; Optional; precision 2)"},"discELevel4Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 4, Quantity (SDO DISC_E_LEVEL_4_QTY; Optional; precision 102)"},"discELevel4Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 4, Rate (SDO DISC_E_LEVEL_4_RATE; Optional; precision 2)"},"discELevel5Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 5, Quantity (SDO DISC_E_LEVEL_5_QTY; Optional; precision 102)"},"discELevel5Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 5, Rate (SDO DISC_E_LEVEL_5_RATE; Optional; precision 2)"},"discELevel6Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 6, Quantity (SDO DISC_E_LEVEL_6_QTY; Optional; precision 102)"},"discELevel6Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 6, Rate (SDO DISC_E_LEVEL_6_RATE; Optional; precision 2)"},"discELevel7Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 7, Quantity (SDO DISC_E_LEVEL_7_QTY; Optional; precision 102)"},"discELevel7Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 7, Rate (SDO DISC_E_LEVEL_7_RATE; Optional; precision 2)"},"discELevel8Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 8, Quantity (SDO DISC_E_LEVEL_8_QTY; Optional; precision 102)"},"discELevel8Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 8, Rate (SDO DISC_E_LEVEL_8_RATE; Optional; precision 2)"},"discELevel9Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 9, Quantity (SDO DISC_E_LEVEL_9_QTY; Optional; precision 102)"},"discELevel9Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 9, Rate (SDO DISC_E_LEVEL_9_RATE; Optional; precision 2)"},"externalUsage":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Number of External Usages (SDO EXTERNAL_USAGE; Optional; precision 0)"},"firstTran":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO FIRST_TRAN; Optional; precision 0)"},"ignoreStkLvlFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Ignore stock level flag (SDO IGNORE_STK_LVL_FLAG; Optional; precision 0)"},"inactiveFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Inactive Flag - Yes/No (SDO INACTIVE_FLAG; Optional; precision 0)"},"intrastatCommodityCode":{"type":"string","nullable":true,"maxLength":8,"description":"Intrastat Commodity code (SDO INTRASTAT_COMMODITY_CODE; Optional; precision 0)"},"intrastatImportDutyCode":{"type":"string","nullable":true,"maxLength":2,"description":"Intrastat Import Duty code (SDO INTRASTAT_IMPORT_DUTY_CODE; Optional; precision 0)"},"itemType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Item Type (SDO ITEM_TYPE; Optional; precision 0)"},"lastCostDiscount":{"type":"number","nullable":true,"description":"Last Cost Discounted (SDO LAST_COST_DISCOUNT; Optional; precision 101)"},"lastOrderQuantity":{"type":"number","nullable":true,"description":"Last Order Quantity (SDO LAST_ORDER_QUANTITY; Optional; precision 101)"},"lastPurchaseDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Last purchase date (SDO LAST_PURCHASE_DATE; Optional; precision 0)"},"lastPurchasePrice":{"type":"number","nullable":true,"description":"Last purchase price (SDO LAST_PURCHASE_PRICE; Optional; precision 101)"},"lastSaleDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Last sale date (SDO LAST_SALE_DATE; Optional; precision 0)"},"lastTran":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO LAST_TRAN; Optional; precision 0)"},"lastUpdated":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date of last update (SDO LAST_UPDATED; Optional; precision 0)"},"linkLevel":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Link level (SDO LINK_LEVEL; Optional; precision 0)"},"location":{"type":"string","nullable":true,"maxLength":16,"description":"Location (SDO LOCATION; Optional; precision 0)"},"noOfTran":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO NO_OF_TRAN; Optional; precision 0)"},"nominalCode":{"type":"string","nullable":true,"maxLength":8,"description":"Sales Nominal code (SDO NOMINAL_CODE; Optional; precision 0)"},"priorYrCostBf":{"type":"number","nullable":true,"description":"Prior year brought forward costs (SDO PRIOR_YR_COST_BF; Optional; precision 2)"},"priorYrCostFuture":{"type":"number","nullable":true,"description":"Prior year future costs (SDO PRIOR_YR_COST_FUTURE; Optional; precision 2)"},"priorYrCostMth1":{"type":"number","nullable":true,"description":"Prior year month 1 costs (SDO PRIOR_YR_COST_MTH1; Optional; precision 2)"},"priorYrCostMth10":{"type":"number","nullable":true,"description":"Prior year month 10 costs (SDO PRIOR_YR_COST_MTH10; Optional; precision 2)"},"priorYrCostMth11":{"type":"number","nullable":true,"description":"Prior year month 11 costs (SDO PRIOR_YR_COST_MTH11; Optional; precision 2)"},"priorYrCostMth12":{"type":"number","nullable":true,"description":"Prior year month 12 costs (SDO PRIOR_YR_COST_MTH12; Optional; precision 2)"},"priorYrCostMth2":{"type":"number","nullable":true,"description":"Prior year month 2 costs (SDO PRIOR_YR_COST_MTH2; Optional; precision 2)"},"priorYrCostMth3":{"type":"number","nullable":true,"description":"Prior year month 3 costs (SDO PRIOR_YR_COST_MTH3; Optional; precision 2)"},"priorYrCostMth4":{"type":"number","nullable":true,"description":"Prior year month 4 costs (SDO PRIOR_YR_COST_MTH4; Optional; precision 2)"},"priorYrCostMth5":{"type":"number","nullable":true,"description":"Prior year month 5 costs (SDO PRIOR_YR_COST_MTH5; Optional; precision 2)"},"priorYrCostMth6":{"type":"number","nullable":true,"description":"Prior year month 6 costs (SDO PRIOR_YR_COST_MTH6; Optional; precision 2)"},"priorYrCostMth7":{"type":"number","nullable":true,"description":"Prior year month 7 costs (SDO PRIOR_YR_COST_MTH7; Optional; precision 2)"},"priorYrCostMth8":{"type":"number","nullable":true,"description":"Prior year month 8 costs (SDO PRIOR_YR_COST_MTH8; Optional; precision 2)"},"priorYrCostMth9":{"type":"number","nullable":true,"description":"Prior year month 9 costs (SDO PRIOR_YR_COST_MTH9; Optional; precision 2)"},"priorYrQtySoldBf":{"type":"number","nullable":true,"description":"Prior year brought forward quantity sold (SDO PRIOR_YR_QTY_SOLD_BF; Optional; precision 102)"},"priorYrQtySoldFuture":{"type":"number","nullable":true,"description":"Prior year future quantity sold (SDO PRIOR_YR_QTY_SOLD_FUTURE; Optional; precision 102)"},"priorYrQtySoldMth1":{"type":"number","nullable":true,"description":"Prior year month 1 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH1; Optional; precision 102)"},"priorYrQtySoldMth10":{"type":"number","nullable":true,"description":"Prior year month 10 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH10; Optional; precision 102)"},"priorYrQtySoldMth11":{"type":"number","nullable":true,"description":"Prior year month 11 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH11; Optional; precision 102)"},"priorYrQtySoldMth12":{"type":"number","nullable":true,"description":"Prior year month 12 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH12; Optional; precision 102)"},"priorYrQtySoldMth2":{"type":"number","nullable":true,"description":"Prior year month 2 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH2; Optional; precision 102)"},"priorYrQtySoldMth3":{"type":"number","nullable":true,"description":"Prior year month 3 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH3; Optional; precision 102)"},"priorYrQtySoldMth4":{"type":"number","nullable":true,"description":"Prior year month 4 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH4; Optional; precision 102)"},"priorYrQtySoldMth5":{"type":"number","nullable":true,"description":"Prior year month 5 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH5; Optional; precision 102)"},"priorYrQtySoldMth6":{"type":"number","nullable":true,"description":"Prior year month 6 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH6; Optional; precision 102)"},"priorYrQtySoldMth7":{"type":"number","nullable":true,"description":"Prior year month 7 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH7; Optional; precision 102)"},"priorYrQtySoldMth8":{"type":"number","nullable":true,"description":"Prior year month 8 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH8; Optional; precision 102)"},"priorYrQtySoldMth9":{"type":"number","nullable":true,"description":"Prior year month 9 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH9; Optional; precision 102)"},"priorYrSalesBf":{"type":"number","nullable":true,"description":"Prior year brought forward sales (SDO PRIOR_YR_SALES_BF; Optional; precision 2)"},"priorYrSalesFuture":{"type":"number","nullable":true,"description":"Prior year future sales (SDO PRIOR_YR_SALES_FUTURE; Optional; precision 2)"},"priorYrSalesMth1":{"type":"number","nullable":true,"description":"Prior year month 1 sales (SDO PRIOR_YR_SALES_MTH1; Optional; precision 2)"},"priorYrSalesMth10":{"type":"number","nullable":true,"description":"Prior year month 10 sales (SDO PRIOR_YR_SALES_MTH10; Optional; precision 2)"},"priorYrSalesMth11":{"type":"number","nullable":true,"description":"Prior year month 11 sales (SDO PRIOR_YR_SALES_MTH11; Optional; precision 2)"},"priorYrSalesMth12":{"type":"number","nullable":true,"description":"Prior year month 12 sales (SDO PRIOR_YR_SALES_MTH12; Optional; precision 2)"},"priorYrSalesMth2":{"type":"number","nullable":true,"description":"Prior year month 2 sales (SDO PRIOR_YR_SALES_MTH2; Optional; precision 2)"},"priorYrSalesMth3":{"type":"number","nullable":true,"description":"Prior year month 3 sales (SDO PRIOR_YR_SALES_MTH3; Optional; precision 2)"},"priorYrSalesMth4":{"type":"number","nullable":true,"description":"Prior year month 4 sales (SDO PRIOR_YR_SALES_MTH4; Optional; precision 2)"},"priorYrSalesMth5":{"type":"number","nullable":true,"description":"Prior year month 5 sales (SDO PRIOR_YR_SALES_MTH5; Optional; precision 2)"},"priorYrSalesMth6":{"type":"number","nullable":true,"description":"Prior year month 6 sales (SDO PRIOR_YR_SALES_MTH6; Optional; precision 2)"},"priorYrSalesMth7":{"type":"number","nullable":true,"description":"Prior year month 7 sales (SDO PRIOR_YR_SALES_MTH7; Optional; precision 2)"},"priorYrSalesMth8":{"type":"number","nullable":true,"description":"Prior year month 8 sales (SDO PRIOR_YR_SALES_MTH8; Optional; precision 2)"},"priorYrSalesMth9":{"type":"number","nullable":true,"description":"Prior year month 9 sales (SDO PRIOR_YR_SALES_MTH9; Optional; precision 2)"},"productBarcode":{"type":"string","nullable":true,"maxLength":60,"description":"Barcode (SDO PRODUCT_BARCODE; Optional; precision 0)"},"purchaseNominalCode":{"type":"string","nullable":true,"maxLength":8,"description":"Purchase Nominal code (SDO PURCHASE_NOMINAL_CODE; Optional; precision 0)"},"purchaseRef":{"type":"string","nullable":true,"maxLength":8,"description":"Supplier's account reference (SDO PURCHASE_REF; Optional; precision 0)"},"qtyAllocated":{"type":"number","nullable":true,"description":"Quantity allocated (SDO QTY_ALLOCATED; Optional; precision 102)"},"qtyInStock":{"type":"number","nullable":true,"description":"Quantity in stock (SDO QTY_IN_STOCK; Optional; precision 102)"},"qtyLastOrder":{"type":"number","nullable":true,"description":"Last order quantity (SDO QTY_LAST_ORDER; Optional; precision 102)"},"qtyLastStockTake":{"type":"number","nullable":true,"description":"Last stock take quantity (SDO QTY_LAST_STOCK_TAKE; Optional; precision 102)"},"qtyOnOrder":{"type":"number","nullable":true,"description":"Quantity on order (SDO QTY_ON_ORDER; Optional; precision 102)"},"qtyReorder":{"type":"number","nullable":true,"description":"Reorder quantity (SDO QTY_REORDER; Optional; precision 102)"},"qtyReorderLevel":{"type":"number","nullable":true,"description":"Reorder level (SDO QTY_REORDER_LEVEL; Optional; precision 102)"},"qtySoldBf":{"type":"number","nullable":true,"description":"Brought forward quantity sold (SDO QTY_SOLD_BF; Optional; precision 102)"},"qtySoldFuture":{"type":"number","nullable":true,"description":"Future quantity sold (SDO QTY_SOLD_FUTURE; Optional; precision 102)"},"qtySoldMth1":{"type":"number","nullable":true,"description":"Month 1 quantity sold (SDO QTY_SOLD_MTH1; Optional; precision 102)"},"qtySoldMth10":{"type":"number","nullable":true,"description":"Month 10 quantity sold (SDO QTY_SOLD_MTH10; Optional; precision 102)"},"qtySoldMth11":{"type":"number","nullable":true,"description":"Month 11 quantity sold (SDO QTY_SOLD_MTH11; Optional; precision 102)"},"qtySoldMth12":{"type":"number","nullable":true,"description":"Month 12 quantity sold (SDO QTY_SOLD_MTH12; Optional; precision 102)"},"qtySoldMth2":{"type":"number","nullable":true,"description":"Month 2 quantity sold (SDO QTY_SOLD_MTH2; Optional; precision 102)"},"qtySoldMth3":{"type":"number","nullable":true,"description":"Month 3 quantity sold (SDO QTY_SOLD_MTH3; Optional; precision 102)"},"qtySoldMth4":{"type":"number","nullable":true,"description":"Month 4 quantity sold (SDO QTY_SOLD_MTH4; Optional; precision 102)"},"qtySoldMth5":{"type":"number","nullable":true,"description":"Month 5 quantity sold (SDO QTY_SOLD_MTH5; Optional; precision 102)"},"qtySoldMth6":{"type":"number","nullable":true,"description":"Month 6 quantity sold (SDO QTY_SOLD_MTH6; Optional; precision 102)"},"qtySoldMth7":{"type":"number","nullable":true,"description":"Month 7 quantity sold (SDO QTY_SOLD_MTH7; Optional; precision 102)"},"qtySoldMth8":{"type":"number","nullable":true,"description":"Month 8 quantity sold (SDO QTY_SOLD_MTH8; Optional; precision 102)"},"qtySoldMth9":{"type":"number","nullable":true,"description":"Month 9 quantity sold (SDO QTY_SOLD_MTH9; Optional; precision 102)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"salesBf":{"type":"number","nullable":true,"description":"Brought forward sales (SDO SALES_BF; Optional; precision 2)"},"salesFuture":{"type":"number","nullable":true,"description":"Future sales (SDO SALES_FUTURE; Optional; precision 2)"},"salesMth1":{"type":"number","nullable":true,"description":"Month 1 sales (SDO SALES_MTH1; Optional; precision 2)"},"salesMth10":{"type":"number","nullable":true,"description":"Month 10 sales (SDO SALES_MTH10; Optional; precision 2)"},"salesMth11":{"type":"number","nullable":true,"description":"Month 11 sales (SDO SALES_MTH11; Optional; precision 2)"},"salesMth12":{"type":"number","nullable":true,"description":"Month 12 sales (SDO SALES_MTH12; Optional; precision 2)"},"salesMth2":{"type":"number","nullable":true,"description":"Month 2 sales (SDO SALES_MTH2; Optional; precision 2)"},"salesMth3":{"type":"number","nullable":true,"description":"Month 3 sales (SDO SALES_MTH3; Optional; precision 2)"},"salesMth4":{"type":"number","nullable":true,"description":"Month 4 sales (SDO SALES_MTH4; Optional; precision 2)"},"salesMth5":{"type":"number","nullable":true,"description":"Month 5 sales (SDO SALES_MTH5; Optional; precision 2)"},"salesMth6":{"type":"number","nullable":true,"description":"Month 6 sales (SDO SALES_MTH6; Optional; precision 2)"},"salesMth7":{"type":"number","nullable":true,"description":"Month 7 sales (SDO SALES_MTH7; Optional; precision 2)"},"salesMth8":{"type":"number","nullable":true,"description":"Month 8 sales (SDO SALES_MTH8; Optional; precision 2)"},"salesMth9":{"type":"number","nullable":true,"description":"Month 9 sales (SDO SALES_MTH9; Optional; precision 2)"},"salesPrice":{"type":"number","nullable":true,"description":"Sale price (SDO SALES_PRICE; Optional; precision 101)"},"stockCat":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Stock category number (SDO STOCK_CAT; Optional; precision 0)"},"stockCode":{"type":"string","nullable":true,"maxLength":30,"description":"Product code (SDO STOCK_CODE; Required; precision 0)"},"stockTakeDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Stock take date (SDO STOCK_TAKE_DATE; Optional; precision 0)"},"suppUnitQty":{"type":"number","nullable":true,"description":"Supplementary Unit Quantity (SDO SUPP_UNIT_QTY; Optional; precision 0)"},"supplierPartNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Supplier's part number (SDO SUPPLIER_PART_NUMBER; Optional; precision 0)"},"taxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax code (0 to 99) (SDO TAX_CODE; Optional; precision 0)"},"unitOfSale":{"type":"string","nullable":true,"maxLength":8,"description":"Unit of sale (SDO UNIT_OF_SALE; Optional; precision 0)"},"unitWeight":{"type":"number","nullable":true,"description":"Unit weight (SDO UNIT_WEIGHT; Optional; precision 2)"},"webDescription":{"type":"string","nullable":true,"maxLength":255,"description":"Web Description (SDO WEB_DESCRIPTION; Optional; precision 0)"},"webImage":{"type":"string","nullable":true,"maxLength":60,"description":"Web Image Filename (SDO WEB_IMAGE; Optional; precision 0)"},"webLongdescription":{"type":"string","nullable":true,"maxLength":1023,"description":"Web Long Description (SDO WEB_LONGDESCRIPTION; Optional; precision 0)"},"webPublish":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Web Publish Flag (SDO WEB_PUBLISH; Optional; precision 0)"},"webSpecialOffer":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Web Special Offer (SDO WEB_SPECIAL_OFFER; Optional; precision 0)"},"id":{"type":"string"}},"required":["assemblyLevel","averageCostPrice","budgetQtySoldBf","budgetQtySoldFuture","budgetQtySoldMth1","budgetQtySoldMth10","budgetQtySoldMth11","budgetQtySoldMth12","budgetQtySoldMth2","budgetQtySoldMth3","budgetQtySoldMth4","budgetQtySoldMth5","budgetQtySoldMth6","budgetQtySoldMth7","budgetQtySoldMth8","budgetQtySoldMth9","budgetSalesBf","budgetSalesFuture","budgetSalesMth1","budgetSalesMth10","budgetSalesMth11","budgetSalesMth12","budgetSalesMth2","budgetSalesMth3","budgetSalesMth4","budgetSalesMth5","budgetSalesMth6","budgetSalesMth7","budgetSalesMth8","budgetSalesMth9","commodityCode","componentCode1","componentCode10","componentCode11","componentCode12","componentCode13","componentCode14","componentCode15","componentCode16","componentCode17","componentCode18","componentCode19","componentCode2","componentCode20","componentCode21","componentCode22","componentCode23","componentCode24","componentCode25","componentCode26","componentCode27","componentCode28","componentCode29","componentCode3","componentCode30","componentCode31","componentCode32","componentCode33","componentCode34","componentCode35","componentCode36","componentCode37","componentCode38","componentCode39","componentCode4","componentCode40","componentCode41","componentCode42","componentCode43","componentCode44","componentCode45","componentCode46","componentCode47","componentCode48","componentCode49","componentCode5","componentCode50","componentCode6","componentCode7","componentCode8","componentCode9","componentQty1","componentQty10","componentQty11","componentQty12","componentQty13","componentQty14","componentQty15","componentQty16","componentQty17","componentQty18","componentQty19","componentQty2","componentQty20","componentQty21","componentQty22","componentQty23","componentQty24","componentQty25","componentQty26","componentQty27","componentQty28","componentQty29","componentQty3","componentQty30","componentQty31","componentQty32","componentQty33","componentQty34","componentQty35","componentQty36","componentQty37","componentQty38","componentQty39","componentQty4","componentQty40","componentQty41","componentQty42","componentQty43","componentQty44","componentQty45","componentQty46","componentQty47","componentQty48","componentQty49","componentQty5","componentQty50","componentQty6","componentQty7","componentQty8","componentQty9","costBf","costFuture","costMth1","costMth10","costMth11","costMth12","costMth2","costMth3","costMth4","costMth5","costMth6","costMth7","costMth8","costMth9","countryCodeOfOrigin","custom1","custom2","custom3","deletedFlag","deptNumber","description","discALevel10Qty","discALevel10Rate","discALevel1Qty","discALevel1Rate","discALevel2Qty","discALevel2Rate","discALevel3Qty","discALevel3Rate","discALevel4Qty","discALevel4Rate","discALevel5Qty","discALevel5Rate","discALevel6Qty","discALevel6Rate","discALevel7Qty","discALevel7Rate","discALevel8Qty","discALevel8Rate","discALevel9Qty","discALevel9Rate","discBLevel10Qty","discBLevel10Rate","discBLevel1Qty","discBLevel1Rate","discBLevel2Qty","discBLevel2Rate","discBLevel3Qty","discBLevel3Rate","discBLevel4Qty","discBLevel4Rate","discBLevel5Qty","discBLevel5Rate","discBLevel6Qty","discBLevel6Rate","discBLevel7Qty","discBLevel7Rate","discBLevel8Qty","discBLevel8Rate","discBLevel9Qty","discBLevel9Rate","discCLevel10Qty","discCLevel10Rate","discCLevel1Qty","discCLevel1Rate","discCLevel2Qty","discCLevel2Rate","discCLevel3Qty","discCLevel3Rate","discCLevel4Qty","discCLevel4Rate","discCLevel5Qty","discCLevel5Rate","discCLevel6Qty","discCLevel6Rate","discCLevel7Qty","discCLevel7Rate","discCLevel8Qty","discCLevel8Rate","discCLevel9Qty","discCLevel9Rate","discDLevel10Qty","discDLevel10Rate","discDLevel1Qty","discDLevel1Rate","discDLevel2Qty","discDLevel2Rate","discDLevel3Qty","discDLevel3Rate","discDLevel4Qty","discDLevel4Rate","discDLevel5Qty","discDLevel5Rate","discDLevel6Qty","discDLevel6Rate","discDLevel7Qty","discDLevel7Rate","discDLevel8Qty","discDLevel8Rate","discDLevel9Qty","discDLevel9Rate","discELevel10Qty","discELevel10Rate","discELevel1Qty","discELevel1Rate","discELevel2Qty","discELevel2Rate","discELevel3Qty","discELevel3Rate","discELevel4Qty","discELevel4Rate","discELevel5Qty","discELevel5Rate","discELevel6Qty","discELevel6Rate","discELevel7Qty","discELevel7Rate","discELevel8Qty","discELevel8Rate","discELevel9Qty","discELevel9Rate","externalUsage","firstTran","ignoreStkLvlFlag","inactiveFlag","intrastatCommodityCode","intrastatImportDutyCode","itemType","lastCostDiscount","lastOrderQuantity","lastPurchaseDate","lastPurchasePrice","lastSaleDate","lastTran","lastUpdated","linkLevel","location","noOfTran","nominalCode","priorYrCostBf","priorYrCostFuture","priorYrCostMth1","priorYrCostMth10","priorYrCostMth11","priorYrCostMth12","priorYrCostMth2","priorYrCostMth3","priorYrCostMth4","priorYrCostMth5","priorYrCostMth6","priorYrCostMth7","priorYrCostMth8","priorYrCostMth9","priorYrQtySoldBf","priorYrQtySoldFuture","priorYrQtySoldMth1","priorYrQtySoldMth10","priorYrQtySoldMth11","priorYrQtySoldMth12","priorYrQtySoldMth2","priorYrQtySoldMth3","priorYrQtySoldMth4","priorYrQtySoldMth5","priorYrQtySoldMth6","priorYrQtySoldMth7","priorYrQtySoldMth8","priorYrQtySoldMth9","priorYrSalesBf","priorYrSalesFuture","priorYrSalesMth1","priorYrSalesMth10","priorYrSalesMth11","priorYrSalesMth12","priorYrSalesMth2","priorYrSalesMth3","priorYrSalesMth4","priorYrSalesMth5","priorYrSalesMth6","priorYrSalesMth7","priorYrSalesMth8","priorYrSalesMth9","productBarcode","purchaseNominalCode","purchaseRef","qtyAllocated","qtyInStock","qtyLastOrder","qtyLastStockTake","qtyOnOrder","qtyReorder","qtyReorderLevel","qtySoldBf","qtySoldFuture","qtySoldMth1","qtySoldMth10","qtySoldMth11","qtySoldMth12","qtySoldMth2","qtySoldMth3","qtySoldMth4","qtySoldMth5","qtySoldMth6","qtySoldMth7","qtySoldMth8","qtySoldMth9","recordCreateDate","recordDeleted","recordModifyDate","salesBf","salesFuture","salesMth1","salesMth10","salesMth11","salesMth12","salesMth2","salesMth3","salesMth4","salesMth5","salesMth6","salesMth7","salesMth8","salesMth9","salesPrice","stockCat","stockCode","stockTakeDate","suppUnitQty","supplierPartNumber","taxCode","unitOfSale","unitWeight","webDescription","webImage","webLongdescription","webPublish","webSpecialOffer","id"],"additionalProperties":false},"Uk32_1_items_get":{"type":"object","properties":{"assemblyLevel":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Assembly level (SDO ASSEMBLY_LEVEL; Optional; precision 0)"},"averageCostPrice":{"type":"number","nullable":true,"description":"Average cost price (SDO AVERAGE_COST_PRICE; Optional; precision 101)"},"budgetQtySoldBf":{"type":"number","nullable":true,"description":"Brought forward budget quantity sold (SDO BUDGET_QTY_SOLD_BF; Optional; precision 102)"},"budgetQtySoldFuture":{"type":"number","nullable":true,"description":"Future budget quantity sold (SDO BUDGET_QTY_SOLD_FUTURE; Optional; precision 102)"},"budgetQtySoldMth1":{"type":"number","nullable":true,"description":"Month 1 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH1; Optional; precision 102)"},"budgetQtySoldMth10":{"type":"number","nullable":true,"description":"Month 10 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH10; Optional; precision 102)"},"budgetQtySoldMth11":{"type":"number","nullable":true,"description":"Month 11 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH11; Optional; precision 102)"},"budgetQtySoldMth12":{"type":"number","nullable":true,"description":"Month 12 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH12; Optional; precision 102)"},"budgetQtySoldMth2":{"type":"number","nullable":true,"description":"Month 2 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH2; Optional; precision 102)"},"budgetQtySoldMth3":{"type":"number","nullable":true,"description":"Month 3 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH3; Optional; precision 102)"},"budgetQtySoldMth4":{"type":"number","nullable":true,"description":"Month 4 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH4; Optional; precision 102)"},"budgetQtySoldMth5":{"type":"number","nullable":true,"description":"Month 5 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH5; Optional; precision 102)"},"budgetQtySoldMth6":{"type":"number","nullable":true,"description":"Month 6 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH6; Optional; precision 102)"},"budgetQtySoldMth7":{"type":"number","nullable":true,"description":"Month 7 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH7; Optional; precision 102)"},"budgetQtySoldMth8":{"type":"number","nullable":true,"description":"Month 8 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH8; Optional; precision 102)"},"budgetQtySoldMth9":{"type":"number","nullable":true,"description":"Month 9 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH9; Optional; precision 102)"},"budgetSalesBf":{"type":"number","nullable":true,"description":"Brought forward budget sales (SDO BUDGET_SALES_BF; Optional; precision 2)"},"budgetSalesFuture":{"type":"number","nullable":true,"description":"Future budget sales (SDO BUDGET_SALES_FUTURE; Optional; precision 2)"},"budgetSalesMth1":{"type":"number","nullable":true,"description":"Month 1 budget sales (SDO BUDGET_SALES_MTH1; Optional; precision 2)"},"budgetSalesMth10":{"type":"number","nullable":true,"description":"Month 10 budget sales (SDO BUDGET_SALES_MTH10; Optional; precision 2)"},"budgetSalesMth11":{"type":"number","nullable":true,"description":"Month 11 budget sales (SDO BUDGET_SALES_MTH11; Optional; precision 2)"},"budgetSalesMth12":{"type":"number","nullable":true,"description":"Month 12 budget sales (SDO BUDGET_SALES_MTH12; Optional; precision 2)"},"budgetSalesMth2":{"type":"number","nullable":true,"description":"Month 2 budget sales (SDO BUDGET_SALES_MTH2; Optional; precision 2)"},"budgetSalesMth3":{"type":"number","nullable":true,"description":"Month 3 budget sales (SDO BUDGET_SALES_MTH3; Optional; precision 2)"},"budgetSalesMth4":{"type":"number","nullable":true,"description":"Month 4 budget sales (SDO BUDGET_SALES_MTH4; Optional; precision 2)"},"budgetSalesMth5":{"type":"number","nullable":true,"description":"Month 5 budget sales (SDO BUDGET_SALES_MTH5; Optional; precision 2)"},"budgetSalesMth6":{"type":"number","nullable":true,"description":"Month 6 budget sales (SDO BUDGET_SALES_MTH6; Optional; precision 2)"},"budgetSalesMth7":{"type":"number","nullable":true,"description":"Month 7 budget sales (SDO BUDGET_SALES_MTH7; Optional; precision 2)"},"budgetSalesMth8":{"type":"number","nullable":true,"description":"Month 8 budget sales (SDO BUDGET_SALES_MTH8; Optional; precision 2)"},"budgetSalesMth9":{"type":"number","nullable":true,"description":"Month 9 budget sales (SDO BUDGET_SALES_MTH9; Optional; precision 2)"},"commodityCode":{"type":"string","nullable":true,"maxLength":30,"description":"Commodity code description (SDO COMMODITY_CODE; Optional; precision 0)"},"componentCode1":{"type":"string","nullable":true,"maxLength":30,"description":"Component 1 stock code (SDO COMPONENT_CODE_1; Optional; precision 0)"},"componentCode10":{"type":"string","nullable":true,"maxLength":30,"description":"Component 10 stock code (SDO COMPONENT_CODE_10; Optional; precision 0)"},"componentCode11":{"type":"string","nullable":true,"maxLength":30,"description":"Component 11 stock code (SDO COMPONENT_Code_11; Optional; precision 0)"},"componentCode12":{"type":"string","nullable":true,"maxLength":30,"description":"Component 12 stock code (SDO COMPONENT_Code_12; Optional; precision 0)"},"componentCode13":{"type":"string","nullable":true,"maxLength":30,"description":"Component 13 stock code (SDO COMPONENT_Code_13; Optional; precision 0)"},"componentCode14":{"type":"string","nullable":true,"maxLength":30,"description":"Component 14 stock code (SDO COMPONENT_Code_14; Optional; precision 0)"},"componentCode15":{"type":"string","nullable":true,"maxLength":30,"description":"Component 15 stock code (SDO COMPONENT_Code_15; Optional; precision 0)"},"componentCode16":{"type":"string","nullable":true,"maxLength":30,"description":"Component 16 stock code (SDO COMPONENT_Code_16; Optional; precision 0)"},"componentCode17":{"type":"string","nullable":true,"maxLength":30,"description":"Component 17 stock code (SDO COMPONENT_Code_17; Optional; precision 0)"},"componentCode18":{"type":"string","nullable":true,"maxLength":30,"description":"Component 18 stock code (SDO COMPONENT_Code_18; Optional; precision 0)"},"componentCode19":{"type":"string","nullable":true,"maxLength":30,"description":"Component 19 stock code (SDO COMPONENT_Code_19; Optional; precision 0)"},"componentCode2":{"type":"string","nullable":true,"maxLength":30,"description":"Component 2 stock code (SDO COMPONENT_CODE_2; Optional; precision 0)"},"componentCode20":{"type":"string","nullable":true,"maxLength":30,"description":"Component 20 stock code (SDO COMPONENT_CODE_20; Optional; precision 0)"},"componentCode21":{"type":"string","nullable":true,"maxLength":30,"description":"Component 21 stock code (SDO COMPONENT_Code_21; Optional; precision 0)"},"componentCode22":{"type":"string","nullable":true,"maxLength":30,"description":"Component 22 stock code (SDO COMPONENT_Code_22; Optional; precision 0)"},"componentCode23":{"type":"string","nullable":true,"maxLength":30,"description":"Component 23 stock code (SDO COMPONENT_Code_23; Optional; precision 0)"},"componentCode24":{"type":"string","nullable":true,"maxLength":30,"description":"Component 24 stock code (SDO COMPONENT_Code_24; Optional; precision 0)"},"componentCode25":{"type":"string","nullable":true,"maxLength":30,"description":"Component 25 stock code (SDO COMPONENT_Code_25; Optional; precision 0)"},"componentCode26":{"type":"string","nullable":true,"maxLength":30,"description":"Component 26 stock code (SDO COMPONENT_Code_26; Optional; precision 0)"},"componentCode27":{"type":"string","nullable":true,"maxLength":30,"description":"Component 27 stock code (SDO COMPONENT_Code_27; Optional; precision 0)"},"componentCode28":{"type":"string","nullable":true,"maxLength":30,"description":"Component 28 stock code (SDO COMPONENT_Code_28; Optional; precision 0)"},"componentCode29":{"type":"string","nullable":true,"maxLength":30,"description":"Component 29 stock code (SDO COMPONENT_Code_29; Optional; precision 0)"},"componentCode3":{"type":"string","nullable":true,"maxLength":30,"description":"Component 3 stock code (SDO COMPONENT_CODE_3; Optional; precision 0)"},"componentCode30":{"type":"string","nullable":true,"maxLength":30,"description":"Component 30 stock code (SDO COMPONENT_CODE_30; Optional; precision 0)"},"componentCode31":{"type":"string","nullable":true,"maxLength":30,"description":"Component 31 stock code (SDO COMPONENT_Code_31; Optional; precision 0)"},"componentCode32":{"type":"string","nullable":true,"maxLength":30,"description":"Component 32 stock code (SDO COMPONENT_Code_32; Optional; precision 0)"},"componentCode33":{"type":"string","nullable":true,"maxLength":30,"description":"Component 33 stock code (SDO COMPONENT_Code_33; Optional; precision 0)"},"componentCode34":{"type":"string","nullable":true,"maxLength":30,"description":"Component 34 stock code (SDO COMPONENT_Code_34; Optional; precision 0)"},"componentCode35":{"type":"string","nullable":true,"maxLength":30,"description":"Component 35 stock code (SDO COMPONENT_Code_35; Optional; precision 0)"},"componentCode36":{"type":"string","nullable":true,"maxLength":30,"description":"Component 36 stock code (SDO COMPONENT_Code_36; Optional; precision 0)"},"componentCode37":{"type":"string","nullable":true,"maxLength":30,"description":"Component 37 stock code (SDO COMPONENT_Code_37; Optional; precision 0)"},"componentCode38":{"type":"string","nullable":true,"maxLength":30,"description":"Component 38 stock code (SDO COMPONENT_Code_38; Optional; precision 0)"},"componentCode39":{"type":"string","nullable":true,"maxLength":30,"description":"Component 39 stock code (SDO COMPONENT_Code_39; Optional; precision 0)"},"componentCode4":{"type":"string","nullable":true,"maxLength":30,"description":"Component 4 stock code (SDO COMPONENT_CODE_4; Optional; precision 0)"},"componentCode40":{"type":"string","nullable":true,"maxLength":30,"description":"Component 40 stock code (SDO COMPONENT_CODE_40; Optional; precision 0)"},"componentCode41":{"type":"string","nullable":true,"maxLength":30,"description":"Component 41 stock code (SDO COMPONENT_Code_41; Optional; precision 0)"},"componentCode42":{"type":"string","nullable":true,"maxLength":30,"description":"Component 42 stock code (SDO COMPONENT_Code_42; Optional; precision 0)"},"componentCode43":{"type":"string","nullable":true,"maxLength":30,"description":"Component 43 stock code (SDO COMPONENT_Code_43; Optional; precision 0)"},"componentCode44":{"type":"string","nullable":true,"maxLength":30,"description":"Component 44 stock code (SDO COMPONENT_Code_44; Optional; precision 0)"},"componentCode45":{"type":"string","nullable":true,"maxLength":30,"description":"Component 45 stock code (SDO COMPONENT_Code_45; Optional; precision 0)"},"componentCode46":{"type":"string","nullable":true,"maxLength":30,"description":"Component 46 stock code (SDO COMPONENT_Code_46; Optional; precision 0)"},"componentCode47":{"type":"string","nullable":true,"maxLength":30,"description":"Component 47 stock code (SDO COMPONENT_Code_47; Optional; precision 0)"},"componentCode48":{"type":"string","nullable":true,"maxLength":30,"description":"Component 48 stock code (SDO COMPONENT_Code_48; Optional; precision 0)"},"componentCode49":{"type":"string","nullable":true,"maxLength":30,"description":"Component 49 stock code (SDO COMPONENT_Code_49; Optional; precision 0)"},"componentCode5":{"type":"string","nullable":true,"maxLength":30,"description":"Component 5 stock code (SDO COMPONENT_CODE_5; Optional; precision 0)"},"componentCode50":{"type":"string","nullable":true,"maxLength":30,"description":"Component 50 stock code (SDO COMPONENT_Code_50; Optional; precision 0)"},"componentCode6":{"type":"string","nullable":true,"maxLength":30,"description":"Component 6 stock code (SDO COMPONENT_CODE_6; Optional; precision 0)"},"componentCode7":{"type":"string","nullable":true,"maxLength":30,"description":"Component 7 stock code (SDO COMPONENT_CODE_7; Optional; precision 0)"},"componentCode8":{"type":"string","nullable":true,"maxLength":30,"description":"Component 8 stock code (SDO COMPONENT_CODE_8; Optional; precision 0)"},"componentCode9":{"type":"string","nullable":true,"maxLength":30,"description":"Component 9 stock code (SDO COMPONENT_CODE_9; Optional; precision 0)"},"componentQty1":{"type":"number","nullable":true,"description":"Component 1 quantity (SDO COMPONENT_QTY_1; Optional; precision 102)"},"componentQty10":{"type":"number","nullable":true,"description":"Component 10 quantity (SDO COMPONENT_QTY_10; Optional; precision 102)"},"componentQty11":{"type":"number","nullable":true,"description":"Component 11 quantity (SDO COMPONENT_QTY_11; Optional; precision 102)"},"componentQty12":{"type":"number","nullable":true,"description":"Component 12 quantity (SDO COMPONENT_QTY_12; Optional; precision 102)"},"componentQty13":{"type":"number","nullable":true,"description":"Component 13 quantity (SDO COMPONENT_QTY_13; Optional; precision 102)"},"componentQty14":{"type":"number","nullable":true,"description":"Component 14 quantity (SDO COMPONENT_QTY_14; Optional; precision 102)"},"componentQty15":{"type":"number","nullable":true,"description":"Component 15 quantity (SDO COMPONENT_QTY_15; Optional; precision 102)"},"componentQty16":{"type":"number","nullable":true,"description":"Component 16 quantity (SDO COMPONENT_QTY_16; Optional; precision 102)"},"componentQty17":{"type":"number","nullable":true,"description":"Component 17 quantity (SDO COMPONENT_QTY_17; Optional; precision 102)"},"componentQty18":{"type":"number","nullable":true,"description":"Component 18 quantity (SDO COMPONENT_QTY_18; Optional; precision 102)"},"componentQty19":{"type":"number","nullable":true,"description":"Component 19 quantity (SDO COMPONENT_QTY_19; Optional; precision 102)"},"componentQty2":{"type":"number","nullable":true,"description":"Component 2 quantity (SDO COMPONENT_QTY_2; Optional; precision 102)"},"componentQty20":{"type":"number","nullable":true,"description":"Component 20 quantity (SDO COMPONENT_QTY_20; Optional; precision 102)"},"componentQty21":{"type":"number","nullable":true,"description":"Component 21 quantity (SDO COMPONENT_QTY_21; Optional; precision 102)"},"componentQty22":{"type":"number","nullable":true,"description":"Component 22 quantity (SDO COMPONENT_QTY_22; Optional; precision 102)"},"componentQty23":{"type":"number","nullable":true,"description":"Component 23 quantity (SDO COMPONENT_QTY_23; Optional; precision 102)"},"componentQty24":{"type":"number","nullable":true,"description":"Component 24 quantity (SDO COMPONENT_QTY_24; Optional; precision 102)"},"componentQty25":{"type":"number","nullable":true,"description":"Component 25 quantity (SDO COMPONENT_QTY_25; Optional; precision 102)"},"componentQty26":{"type":"number","nullable":true,"description":"Component 26 quantity (SDO COMPONENT_QTY_26; Optional; precision 102)"},"componentQty27":{"type":"number","nullable":true,"description":"Component 27 quantity (SDO COMPONENT_QTY_27; Optional; precision 102)"},"componentQty28":{"type":"number","nullable":true,"description":"Component 28 quantity (SDO COMPONENT_QTY_28; Optional; precision 102)"},"componentQty29":{"type":"number","nullable":true,"description":"Component 29 quantity (SDO COMPONENT_QTY_29; Optional; precision 102)"},"componentQty3":{"type":"number","nullable":true,"description":"Component 3 quantity (SDO COMPONENT_QTY_3; Optional; precision 102)"},"componentQty30":{"type":"number","nullable":true,"description":"Component 30 quantity (SDO COMPONENT_QTY_30; Optional; precision 102)"},"componentQty31":{"type":"number","nullable":true,"description":"Component 31 quantity (SDO COMPONENT_QTY_31; Optional; precision 102)"},"componentQty32":{"type":"number","nullable":true,"description":"Component 32 quantity (SDO COMPONENT_QTY_32; Optional; precision 102)"},"componentQty33":{"type":"number","nullable":true,"description":"Component 33 quantity (SDO COMPONENT_QTY_33; Optional; precision 102)"},"componentQty34":{"type":"number","nullable":true,"description":"Component 34 quantity (SDO COMPONENT_QTY_34; Optional; precision 102)"},"componentQty35":{"type":"number","nullable":true,"description":"Component 35 quantity (SDO COMPONENT_QTY_35; Optional; precision 102)"},"componentQty36":{"type":"number","nullable":true,"description":"Component 36 quantity (SDO COMPONENT_QTY_36; Optional; precision 102)"},"componentQty37":{"type":"number","nullable":true,"description":"Component 37 quantity (SDO COMPONENT_QTY_37; Optional; precision 102)"},"componentQty38":{"type":"number","nullable":true,"description":"Component 38 quantity (SDO COMPONENT_QTY_38; Optional; precision 102)"},"componentQty39":{"type":"number","nullable":true,"description":"Component 39 quantity (SDO COMPONENT_QTY_39; Optional; precision 102)"},"componentQty4":{"type":"number","nullable":true,"description":"Component 4 quantity (SDO COMPONENT_QTY_4; Optional; precision 102)"},"componentQty40":{"type":"number","nullable":true,"description":"Component 40 quantity (SDO COMPONENT_QTY_40; Optional; precision 102)"},"componentQty41":{"type":"number","nullable":true,"description":"Component 41 quantity (SDO COMPONENT_QTY_41; Optional; precision 102)"},"componentQty42":{"type":"number","nullable":true,"description":"Component 42 quantity (SDO COMPONENT_QTY_42; Optional; precision 102)"},"componentQty43":{"type":"number","nullable":true,"description":"Component 43 quantity (SDO COMPONENT_QTY_43; Optional; precision 102)"},"componentQty44":{"type":"number","nullable":true,"description":"Component 44 quantity (SDO COMPONENT_QTY_44; Optional; precision 102)"},"componentQty45":{"type":"number","nullable":true,"description":"Component 45 quantity (SDO COMPONENT_QTY_45; Optional; precision 102)"},"componentQty46":{"type":"number","nullable":true,"description":"Component 46 quantity (SDO COMPONENT_QTY_46; Optional; precision 102)"},"componentQty47":{"type":"number","nullable":true,"description":"Component 47 quantity (SDO COMPONENT_QTY_47; Optional; precision 102)"},"componentQty48":{"type":"number","nullable":true,"description":"Component 48 quantity (SDO COMPONENT_QTY_48; Optional; precision 102)"},"componentQty49":{"type":"number","nullable":true,"description":"Component 49 quantity (SDO COMPONENT_QTY_49; Optional; precision 102)"},"componentQty5":{"type":"number","nullable":true,"description":"Component 5 quantity (SDO COMPONENT_QTY_5; Optional; precision 102)"},"componentQty50":{"type":"number","nullable":true,"description":"Component 50 quantity (SDO COMPONENT_QTY_50; Optional; precision 102)"},"componentQty6":{"type":"number","nullable":true,"description":"Component 6 quantity (SDO COMPONENT_QTY_6; Optional; precision 102)"},"componentQty7":{"type":"number","nullable":true,"description":"Component 7 quantity (SDO COMPONENT_QTY_7; Optional; precision 102)"},"componentQty8":{"type":"number","nullable":true,"description":"Component 8 quantity (SDO COMPONENT_QTY_8; Optional; precision 102)"},"componentQty9":{"type":"number","nullable":true,"description":"Component 9 quantity (SDO COMPONENT_QTY_9; Optional; precision 102)"},"costBf":{"type":"number","nullable":true,"description":"Brought forward costs (SDO COST_BF; Optional; precision 2)"},"costFuture":{"type":"number","nullable":true,"description":"Future costs (SDO COST_FUTURE; Optional; precision 2)"},"costMth1":{"type":"number","nullable":true,"description":"Month 1 costs (SDO COST_MTH1; Optional; precision 2)"},"costMth10":{"type":"number","nullable":true,"description":"Month 10 costs (SDO COST_MTH10; Optional; precision 2)"},"costMth11":{"type":"number","nullable":true,"description":"Month 11 costs (SDO COST_MTH11; Optional; precision 2)"},"costMth12":{"type":"number","nullable":true,"description":"Month 12 costs (SDO COST_MTH12; Optional; precision 2)"},"costMth2":{"type":"number","nullable":true,"description":"Month 2 costs (SDO COST_MTH2; Optional; precision 2)"},"costMth3":{"type":"number","nullable":true,"description":"Month 3 costs (SDO COST_MTH3; Optional; precision 2)"},"costMth4":{"type":"number","nullable":true,"description":"Month 4 costs (SDO COST_MTH4; Optional; precision 2)"},"costMth5":{"type":"number","nullable":true,"description":"Month 5 costs (SDO COST_MTH5; Optional; precision 2)"},"costMth6":{"type":"number","nullable":true,"description":"Month 6 costs (SDO COST_MTH6; Optional; precision 2)"},"costMth7":{"type":"number","nullable":true,"description":"Month 7 costs (SDO COST_MTH7; Optional; precision 2)"},"costMth8":{"type":"number","nullable":true,"description":"Month 8 costs (SDO COST_MTH8; Optional; precision 2)"},"costMth9":{"type":"number","nullable":true,"description":"Month 9 costs (SDO COST_MTH9; Optional; precision 2)"},"countryCodeOfOrigin":{"type":"string","nullable":true,"maxLength":2,"description":"Country of Origin (SDO COUNTRY_CODE_OF_ORIGIN; Optional; precision 0)"},"custom1":{"type":"string","nullable":true,"maxLength":60,"description":"Custom Field 1 (SDO CUSTOM_1; Optional; precision 0)"},"custom2":{"type":"string","nullable":true,"maxLength":60,"description":"Custom Field 2 (SDO CUSTOM_2; Optional; precision 0)"},"custom3":{"type":"string","nullable":true,"maxLength":60,"description":"Custom Field 3 (SDO CUSTOM_3; Optional; precision 0)"},"deletedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Is Deleted (SDO DELETED_FLAG; Optional; precision 0)"},"deptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Department number (SDO DEPT_NUMBER; Optional; precision 0)"},"description":{"type":"string","nullable":true,"maxLength":120,"description":"Description (SDO DESCRIPTION; Optional; precision 0)"},"discALevel10Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 10, Quantity (SDO DISC_A_LEVEL_10_QTY; Optional; precision 102)"},"discALevel10Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 10, Rate (SDO DISC_A_LEVEL_10_RATE; Optional; precision 2)"},"discALevel1Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 1, Quantity (SDO DISC_A_LEVEL_1_QTY; Optional; precision 102)"},"discALevel1Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 1, Rate (SDO DISC_A_LEVEL_1_RATE; Optional; precision 2)"},"discALevel2Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 2, Quantity (SDO DISC_A_LEVEL_2_QTY; Optional; precision 102)"},"discALevel2Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 2, Rate (SDO DISC_A_LEVEL_2_RATE; Optional; precision 2)"},"discALevel3Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 3, Quantity (SDO DISC_A_LEVEL_3_QTY; Optional; precision 102)"},"discALevel3Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 3, Rate (SDO DISC_A_LEVEL_3_RATE; Optional; precision 2)"},"discALevel4Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 4, Quantity (SDO DISC_A_LEVEL_4_QTY; Optional; precision 102)"},"discALevel4Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 4, Rate (SDO DISC_A_LEVEL_4_RATE; Optional; precision 2)"},"discALevel5Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 5, Quantity (SDO DISC_A_LEVEL_5_QTY; Optional; precision 102)"},"discALevel5Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 5, Rate (SDO DISC_A_LEVEL_5_RATE; Optional; precision 2)"},"discALevel6Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 6, Quantity (SDO DISC_A_LEVEL_6_QTY; Optional; precision 102)"},"discALevel6Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 6, Rate (SDO DISC_A_LEVEL_6_RATE; Optional; precision 2)"},"discALevel7Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 7, Quantity (SDO DISC_A_LEVEL_7_QTY; Optional; precision 102)"},"discALevel7Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 7, Rate (SDO DISC_A_LEVEL_7_RATE; Optional; precision 2)"},"discALevel8Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 8, Quantity (SDO DISC_A_LEVEL_8_QTY; Optional; precision 102)"},"discALevel8Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 8, Rate (SDO DISC_A_LEVEL_8_RATE; Optional; precision 2)"},"discALevel9Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 9, Quantity (SDO DISC_A_LEVEL_9_QTY; Optional; precision 102)"},"discALevel9Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 9, Rate (SDO DISC_A_LEVEL_9_RATE; Optional; precision 2)"},"discBLevel10Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 10, Quantity (SDO DISC_B_LEVEL_10_QTY; Optional; precision 102)"},"discBLevel10Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 10, Rate (SDO DISC_B_LEVEL_10_RATE; Optional; precision 2)"},"discBLevel1Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 1, Quantity (SDO DISC_B_LEVEL_1_QTY; Optional; precision 102)"},"discBLevel1Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 1, Rate (SDO DISC_B_LEVEL_1_RATE; Optional; precision 2)"},"discBLevel2Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 2, Quantity (SDO DISC_B_LEVEL_2_QTY; Optional; precision 102)"},"discBLevel2Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 2, Rate (SDO DISC_B_LEVEL_2_RATE; Optional; precision 2)"},"discBLevel3Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 3, Quantity (SDO DISC_B_LEVEL_3_QTY; Optional; precision 102)"},"discBLevel3Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 3, Rate (SDO DISC_B_LEVEL_3_RATE; Optional; precision 2)"},"discBLevel4Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 4, Quantity (SDO DISC_B_LEVEL_4_QTY; Optional; precision 102)"},"discBLevel4Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 4, Rate (SDO DISC_B_LEVEL_4_RATE; Optional; precision 2)"},"discBLevel5Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 5, Quantity (SDO DISC_B_LEVEL_5_QTY; Optional; precision 102)"},"discBLevel5Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 5, Rate (SDO DISC_B_LEVEL_5_RATE; Optional; precision 2)"},"discBLevel6Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 6, Quantity (SDO DISC_B_LEVEL_6_QTY; Optional; precision 102)"},"discBLevel6Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 6, Rate (SDO DISC_B_LEVEL_6_RATE; Optional; precision 2)"},"discBLevel7Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 7, Quantity (SDO DISC_B_LEVEL_7_QTY; Optional; precision 102)"},"discBLevel7Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 7, Rate (SDO DISC_B_LEVEL_7_RATE; Optional; precision 2)"},"discBLevel8Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 8, Quantity (SDO DISC_B_LEVEL_8_QTY; Optional; precision 102)"},"discBLevel8Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 8, Rate (SDO DISC_B_LEVEL_8_RATE; Optional; precision 2)"},"discBLevel9Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 9, Quantity (SDO DISC_B_LEVEL_9_QTY; Optional; precision 102)"},"discBLevel9Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 9, Rate (SDO DISC_B_LEVEL_9_RATE; Optional; precision 2)"},"discCLevel10Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 10, Quantity (SDO DISC_C_LEVEL_10_QTY; Optional; precision 102)"},"discCLevel10Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 10, Rate (SDO DISC_C_LEVEL_10_RATE; Optional; precision 2)"},"discCLevel1Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 1, Quantity (SDO DISC_C_LEVEL_1_QTY; Optional; precision 102)"},"discCLevel1Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 1, Rate (SDO DISC_C_LEVEL_1_RATE; Optional; precision 2)"},"discCLevel2Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 2, Quantity (SDO DISC_C_LEVEL_2_QTY; Optional; precision 102)"},"discCLevel2Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 2, Rate (SDO DISC_C_LEVEL_2_RATE; Optional; precision 2)"},"discCLevel3Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 3, Quantity (SDO DISC_C_LEVEL_3_QTY; Optional; precision 102)"},"discCLevel3Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 3, Rate (SDO DISC_C_LEVEL_3_RATE; Optional; precision 2)"},"discCLevel4Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 4, Quantity (SDO DISC_C_LEVEL_4_QTY; Optional; precision 102)"},"discCLevel4Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 4, Rate (SDO DISC_C_LEVEL_4_RATE; Optional; precision 2)"},"discCLevel5Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 5, Quantity (SDO DISC_C_LEVEL_5_QTY; Optional; precision 102)"},"discCLevel5Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 5, Rate (SDO DISC_C_LEVEL_5_RATE; Optional; precision 2)"},"discCLevel6Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 6, Quantity (SDO DISC_C_LEVEL_6_QTY; Optional; precision 102)"},"discCLevel6Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 6, Rate (SDO DISC_C_LEVEL_6_RATE; Optional; precision 2)"},"discCLevel7Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 7, Quantity (SDO DISC_C_LEVEL_7_QTY; Optional; precision 102)"},"discCLevel7Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 7, Rate (SDO DISC_C_LEVEL_7_RATE; Optional; precision 2)"},"discCLevel8Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 8, Quantity (SDO DISC_C_LEVEL_8_QTY; Optional; precision 102)"},"discCLevel8Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 8, Rate (SDO DISC_C_LEVEL_8_RATE; Optional; precision 2)"},"discCLevel9Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 9, Quantity (SDO DISC_C_LEVEL_9_QTY; Optional; precision 102)"},"discCLevel9Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 9, Rate (SDO DISC_C_LEVEL_9_RATE; Optional; precision 2)"},"discDLevel10Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 10, Quantity (SDO DISC_D_LEVEL_10_QTY; Optional; precision 102)"},"discDLevel10Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 10, Rate (SDO DISC_D_LEVEL_10_RATE; Optional; precision 2)"},"discDLevel1Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 1, Quantity (SDO DISC_D_LEVEL_1_QTY; Optional; precision 102)"},"discDLevel1Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 1, Rate (SDO DISC_D_LEVEL_1_RATE; Optional; precision 2)"},"discDLevel2Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 2, Quantity (SDO DISC_D_LEVEL_2_QTY; Optional; precision 102)"},"discDLevel2Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 2, Rate (SDO DISC_D_LEVEL_2_RATE; Optional; precision 2)"},"discDLevel3Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 3, Quantity (SDO DISC_D_LEVEL_3_QTY; Optional; precision 102)"},"discDLevel3Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 3, Rate (SDO DISC_D_LEVEL_3_RATE; Optional; precision 2)"},"discDLevel4Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 4, Quantity (SDO DISC_D_LEVEL_4_QTY; Optional; precision 102)"},"discDLevel4Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 4, Rate (SDO DISC_D_LEVEL_4_RATE; Optional; precision 2)"},"discDLevel5Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 5, Quantity (SDO DISC_D_LEVEL_5_QTY; Optional; precision 102)"},"discDLevel5Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 5, Rate (SDO DISC_D_LEVEL_5_RATE; Optional; precision 2)"},"discDLevel6Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 6, Quantity (SDO DISC_D_LEVEL_6_QTY; Optional; precision 102)"},"discDLevel6Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 6, Rate (SDO DISC_D_LEVEL_6_RATE; Optional; precision 2)"},"discDLevel7Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 7, Quantity (SDO DISC_D_LEVEL_7_QTY; Optional; precision 102)"},"discDLevel7Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 7, Rate (SDO DISC_D_LEVEL_7_RATE; Optional; precision 2)"},"discDLevel8Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 8, Quantity (SDO DISC_D_LEVEL_8_QTY; Optional; precision 102)"},"discDLevel8Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 8, Rate (SDO DISC_D_LEVEL_8_RATE; Optional; precision 2)"},"discDLevel9Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 9, Quantity (SDO DISC_D_LEVEL_9_QTY; Optional; precision 102)"},"discDLevel9Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 9, Rate (SDO DISC_D_LEVEL_9_RATE; Optional; precision 2)"},"discELevel10Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 10, Quantity (SDO DISC_E_LEVEL_10_QTY; Optional; precision 102)"},"discELevel10Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 10, Rate (SDO DISC_E_LEVEL_10_RATE; Optional; precision 2)"},"discELevel1Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 1, Quantity (SDO DISC_E_LEVEL_1_QTY; Optional; precision 102)"},"discELevel1Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 1, Rate (SDO DISC_E_LEVEL_1_RATE; Optional; precision 2)"},"discELevel2Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 2, Quantity (SDO DISC_E_LEVEL_2_QTY; Optional; precision 102)"},"discELevel2Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 2, Rate (SDO DISC_E_LEVEL_2_RATE; Optional; precision 2)"},"discELevel3Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 3, Quantity (SDO DISC_E_LEVEL_3_QTY; Optional; precision 102)"},"discELevel3Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 3, Rate (SDO DISC_E_LEVEL_3_RATE; Optional; precision 2)"},"discELevel4Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 4, Quantity (SDO DISC_E_LEVEL_4_QTY; Optional; precision 102)"},"discELevel4Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 4, Rate (SDO DISC_E_LEVEL_4_RATE; Optional; precision 2)"},"discELevel5Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 5, Quantity (SDO DISC_E_LEVEL_5_QTY; Optional; precision 102)"},"discELevel5Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 5, Rate (SDO DISC_E_LEVEL_5_RATE; Optional; precision 2)"},"discELevel6Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 6, Quantity (SDO DISC_E_LEVEL_6_QTY; Optional; precision 102)"},"discELevel6Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 6, Rate (SDO DISC_E_LEVEL_6_RATE; Optional; precision 2)"},"discELevel7Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 7, Quantity (SDO DISC_E_LEVEL_7_QTY; Optional; precision 102)"},"discELevel7Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 7, Rate (SDO DISC_E_LEVEL_7_RATE; Optional; precision 2)"},"discELevel8Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 8, Quantity (SDO DISC_E_LEVEL_8_QTY; Optional; precision 102)"},"discELevel8Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 8, Rate (SDO DISC_E_LEVEL_8_RATE; Optional; precision 2)"},"discELevel9Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 9, Quantity (SDO DISC_E_LEVEL_9_QTY; Optional; precision 102)"},"discELevel9Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 9, Rate (SDO DISC_E_LEVEL_9_RATE; Optional; precision 2)"},"externalUsage":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Number of External Usages (SDO EXTERNAL_USAGE; Optional; precision 0)"},"firstTran":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO FIRST_TRAN; Optional; precision 0)"},"ignoreStkLvlFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Ignore stock level flag (SDO IGNORE_STK_LVL_FLAG; Optional; precision 0)"},"inactiveFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Inactive Flag - Yes/No (SDO INACTIVE_FLAG; Optional; precision 0)"},"intrastatCommodityCode":{"type":"string","nullable":true,"maxLength":8,"description":"Intrastat Commodity code (SDO INTRASTAT_COMMODITY_CODE; Optional; precision 0)"},"intrastatImportDutyCode":{"type":"string","nullable":true,"maxLength":2,"description":"Intrastat Import Duty code (SDO INTRASTAT_IMPORT_DUTY_CODE; Optional; precision 0)"},"itemType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Item Type (SDO ITEM_TYPE; Optional; precision 0)"},"lastCostDiscount":{"type":"number","nullable":true,"description":"Last Cost Discounted (SDO LAST_COST_DISCOUNT; Optional; precision 101)"},"lastOrderQuantity":{"type":"number","nullable":true,"description":"Last Order Quantity (SDO LAST_ORDER_QUANTITY; Optional; precision 101)"},"lastPurchaseDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Last purchase date (SDO LAST_PURCHASE_DATE; Optional; precision 0)"},"lastPurchasePrice":{"type":"number","nullable":true,"description":"Last purchase price (SDO LAST_PURCHASE_PRICE; Optional; precision 101)"},"lastSaleDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Last sale date (SDO LAST_SALE_DATE; Optional; precision 0)"},"lastTran":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO LAST_TRAN; Optional; precision 0)"},"lastUpdated":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date of last update (SDO LAST_UPDATED; Optional; precision 0)"},"linkLevel":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Link level (SDO LINK_LEVEL; Optional; precision 0)"},"location":{"type":"string","nullable":true,"maxLength":16,"description":"Location (SDO LOCATION; Optional; precision 0)"},"noOfTran":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO NO_OF_TRAN; Optional; precision 0)"},"nominalCode":{"type":"string","nullable":true,"maxLength":8,"description":"Sales Nominal code (SDO NOMINAL_CODE; Optional; precision 0)"},"priorYrCostBf":{"type":"number","nullable":true,"description":"Prior year brought forward costs (SDO PRIOR_YR_COST_BF; Optional; precision 2)"},"priorYrCostFuture":{"type":"number","nullable":true,"description":"Prior year future costs (SDO PRIOR_YR_COST_FUTURE; Optional; precision 2)"},"priorYrCostMth1":{"type":"number","nullable":true,"description":"Prior year month 1 costs (SDO PRIOR_YR_COST_MTH1; Optional; precision 2)"},"priorYrCostMth10":{"type":"number","nullable":true,"description":"Prior year month 10 costs (SDO PRIOR_YR_COST_MTH10; Optional; precision 2)"},"priorYrCostMth11":{"type":"number","nullable":true,"description":"Prior year month 11 costs (SDO PRIOR_YR_COST_MTH11; Optional; precision 2)"},"priorYrCostMth12":{"type":"number","nullable":true,"description":"Prior year month 12 costs (SDO PRIOR_YR_COST_MTH12; Optional; precision 2)"},"priorYrCostMth2":{"type":"number","nullable":true,"description":"Prior year month 2 costs (SDO PRIOR_YR_COST_MTH2; Optional; precision 2)"},"priorYrCostMth3":{"type":"number","nullable":true,"description":"Prior year month 3 costs (SDO PRIOR_YR_COST_MTH3; Optional; precision 2)"},"priorYrCostMth4":{"type":"number","nullable":true,"description":"Prior year month 4 costs (SDO PRIOR_YR_COST_MTH4; Optional; precision 2)"},"priorYrCostMth5":{"type":"number","nullable":true,"description":"Prior year month 5 costs (SDO PRIOR_YR_COST_MTH5; Optional; precision 2)"},"priorYrCostMth6":{"type":"number","nullable":true,"description":"Prior year month 6 costs (SDO PRIOR_YR_COST_MTH6; Optional; precision 2)"},"priorYrCostMth7":{"type":"number","nullable":true,"description":"Prior year month 7 costs (SDO PRIOR_YR_COST_MTH7; Optional; precision 2)"},"priorYrCostMth8":{"type":"number","nullable":true,"description":"Prior year month 8 costs (SDO PRIOR_YR_COST_MTH8; Optional; precision 2)"},"priorYrCostMth9":{"type":"number","nullable":true,"description":"Prior year month 9 costs (SDO PRIOR_YR_COST_MTH9; Optional; precision 2)"},"priorYrQtySoldBf":{"type":"number","nullable":true,"description":"Prior year brought forward quantity sold (SDO PRIOR_YR_QTY_SOLD_BF; Optional; precision 102)"},"priorYrQtySoldFuture":{"type":"number","nullable":true,"description":"Prior year future quantity sold (SDO PRIOR_YR_QTY_SOLD_FUTURE; Optional; precision 102)"},"priorYrQtySoldMth1":{"type":"number","nullable":true,"description":"Prior year month 1 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH1; Optional; precision 102)"},"priorYrQtySoldMth10":{"type":"number","nullable":true,"description":"Prior year month 10 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH10; Optional; precision 102)"},"priorYrQtySoldMth11":{"type":"number","nullable":true,"description":"Prior year month 11 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH11; Optional; precision 102)"},"priorYrQtySoldMth12":{"type":"number","nullable":true,"description":"Prior year month 12 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH12; Optional; precision 102)"},"priorYrQtySoldMth2":{"type":"number","nullable":true,"description":"Prior year month 2 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH2; Optional; precision 102)"},"priorYrQtySoldMth3":{"type":"number","nullable":true,"description":"Prior year month 3 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH3; Optional; precision 102)"},"priorYrQtySoldMth4":{"type":"number","nullable":true,"description":"Prior year month 4 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH4; Optional; precision 102)"},"priorYrQtySoldMth5":{"type":"number","nullable":true,"description":"Prior year month 5 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH5; Optional; precision 102)"},"priorYrQtySoldMth6":{"type":"number","nullable":true,"description":"Prior year month 6 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH6; Optional; precision 102)"},"priorYrQtySoldMth7":{"type":"number","nullable":true,"description":"Prior year month 7 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH7; Optional; precision 102)"},"priorYrQtySoldMth8":{"type":"number","nullable":true,"description":"Prior year month 8 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH8; Optional; precision 102)"},"priorYrQtySoldMth9":{"type":"number","nullable":true,"description":"Prior year month 9 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH9; Optional; precision 102)"},"priorYrSalesBf":{"type":"number","nullable":true,"description":"Prior year brought forward sales (SDO PRIOR_YR_SALES_BF; Optional; precision 2)"},"priorYrSalesFuture":{"type":"number","nullable":true,"description":"Prior year future sales (SDO PRIOR_YR_SALES_FUTURE; Optional; precision 2)"},"priorYrSalesMth1":{"type":"number","nullable":true,"description":"Prior year month 1 sales (SDO PRIOR_YR_SALES_MTH1; Optional; precision 2)"},"priorYrSalesMth10":{"type":"number","nullable":true,"description":"Prior year month 10 sales (SDO PRIOR_YR_SALES_MTH10; Optional; precision 2)"},"priorYrSalesMth11":{"type":"number","nullable":true,"description":"Prior year month 11 sales (SDO PRIOR_YR_SALES_MTH11; Optional; precision 2)"},"priorYrSalesMth12":{"type":"number","nullable":true,"description":"Prior year month 12 sales (SDO PRIOR_YR_SALES_MTH12; Optional; precision 2)"},"priorYrSalesMth2":{"type":"number","nullable":true,"description":"Prior year month 2 sales (SDO PRIOR_YR_SALES_MTH2; Optional; precision 2)"},"priorYrSalesMth3":{"type":"number","nullable":true,"description":"Prior year month 3 sales (SDO PRIOR_YR_SALES_MTH3; Optional; precision 2)"},"priorYrSalesMth4":{"type":"number","nullable":true,"description":"Prior year month 4 sales (SDO PRIOR_YR_SALES_MTH4; Optional; precision 2)"},"priorYrSalesMth5":{"type":"number","nullable":true,"description":"Prior year month 5 sales (SDO PRIOR_YR_SALES_MTH5; Optional; precision 2)"},"priorYrSalesMth6":{"type":"number","nullable":true,"description":"Prior year month 6 sales (SDO PRIOR_YR_SALES_MTH6; Optional; precision 2)"},"priorYrSalesMth7":{"type":"number","nullable":true,"description":"Prior year month 7 sales (SDO PRIOR_YR_SALES_MTH7; Optional; precision 2)"},"priorYrSalesMth8":{"type":"number","nullable":true,"description":"Prior year month 8 sales (SDO PRIOR_YR_SALES_MTH8; Optional; precision 2)"},"priorYrSalesMth9":{"type":"number","nullable":true,"description":"Prior year month 9 sales (SDO PRIOR_YR_SALES_MTH9; Optional; precision 2)"},"productBarcode":{"type":"string","nullable":true,"maxLength":60,"description":"Barcode (SDO PRODUCT_BARCODE; Optional; precision 0)"},"purchaseNominalCode":{"type":"string","nullable":true,"maxLength":8,"description":"Purchase Nominal code (SDO PURCHASE_NOMINAL_CODE; Optional; precision 0)"},"purchaseRef":{"type":"string","nullable":true,"maxLength":8,"description":"Supplier's account reference (SDO PURCHASE_REF; Optional; precision 0)"},"qtyAllocated":{"type":"number","nullable":true,"description":"Quantity allocated (SDO QTY_ALLOCATED; Optional; precision 102)"},"qtyInStock":{"type":"number","nullable":true,"description":"Quantity in stock (SDO QTY_IN_STOCK; Optional; precision 102)"},"qtyLastOrder":{"type":"number","nullable":true,"description":"Last order quantity (SDO QTY_LAST_ORDER; Optional; precision 102)"},"qtyLastStockTake":{"type":"number","nullable":true,"description":"Last stock take quantity (SDO QTY_LAST_STOCK_TAKE; Optional; precision 102)"},"qtyOnOrder":{"type":"number","nullable":true,"description":"Quantity on order (SDO QTY_ON_ORDER; Optional; precision 102)"},"qtyReorder":{"type":"number","nullable":true,"description":"Reorder quantity (SDO QTY_REORDER; Optional; precision 102)"},"qtyReorderLevel":{"type":"number","nullable":true,"description":"Reorder level (SDO QTY_REORDER_LEVEL; Optional; precision 102)"},"qtySoldBf":{"type":"number","nullable":true,"description":"Brought forward quantity sold (SDO QTY_SOLD_BF; Optional; precision 102)"},"qtySoldFuture":{"type":"number","nullable":true,"description":"Future quantity sold (SDO QTY_SOLD_FUTURE; Optional; precision 102)"},"qtySoldMth1":{"type":"number","nullable":true,"description":"Month 1 quantity sold (SDO QTY_SOLD_MTH1; Optional; precision 102)"},"qtySoldMth10":{"type":"number","nullable":true,"description":"Month 10 quantity sold (SDO QTY_SOLD_MTH10; Optional; precision 102)"},"qtySoldMth11":{"type":"number","nullable":true,"description":"Month 11 quantity sold (SDO QTY_SOLD_MTH11; Optional; precision 102)"},"qtySoldMth12":{"type":"number","nullable":true,"description":"Month 12 quantity sold (SDO QTY_SOLD_MTH12; Optional; precision 102)"},"qtySoldMth2":{"type":"number","nullable":true,"description":"Month 2 quantity sold (SDO QTY_SOLD_MTH2; Optional; precision 102)"},"qtySoldMth3":{"type":"number","nullable":true,"description":"Month 3 quantity sold (SDO QTY_SOLD_MTH3; Optional; precision 102)"},"qtySoldMth4":{"type":"number","nullable":true,"description":"Month 4 quantity sold (SDO QTY_SOLD_MTH4; Optional; precision 102)"},"qtySoldMth5":{"type":"number","nullable":true,"description":"Month 5 quantity sold (SDO QTY_SOLD_MTH5; Optional; precision 102)"},"qtySoldMth6":{"type":"number","nullable":true,"description":"Month 6 quantity sold (SDO QTY_SOLD_MTH6; Optional; precision 102)"},"qtySoldMth7":{"type":"number","nullable":true,"description":"Month 7 quantity sold (SDO QTY_SOLD_MTH7; Optional; precision 102)"},"qtySoldMth8":{"type":"number","nullable":true,"description":"Month 8 quantity sold (SDO QTY_SOLD_MTH8; Optional; precision 102)"},"qtySoldMth9":{"type":"number","nullable":true,"description":"Month 9 quantity sold (SDO QTY_SOLD_MTH9; Optional; precision 102)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"salesBf":{"type":"number","nullable":true,"description":"Brought forward sales (SDO SALES_BF; Optional; precision 2)"},"salesFuture":{"type":"number","nullable":true,"description":"Future sales (SDO SALES_FUTURE; Optional; precision 2)"},"salesMth1":{"type":"number","nullable":true,"description":"Month 1 sales (SDO SALES_MTH1; Optional; precision 2)"},"salesMth10":{"type":"number","nullable":true,"description":"Month 10 sales (SDO SALES_MTH10; Optional; precision 2)"},"salesMth11":{"type":"number","nullable":true,"description":"Month 11 sales (SDO SALES_MTH11; Optional; precision 2)"},"salesMth12":{"type":"number","nullable":true,"description":"Month 12 sales (SDO SALES_MTH12; Optional; precision 2)"},"salesMth2":{"type":"number","nullable":true,"description":"Month 2 sales (SDO SALES_MTH2; Optional; precision 2)"},"salesMth3":{"type":"number","nullable":true,"description":"Month 3 sales (SDO SALES_MTH3; Optional; precision 2)"},"salesMth4":{"type":"number","nullable":true,"description":"Month 4 sales (SDO SALES_MTH4; Optional; precision 2)"},"salesMth5":{"type":"number","nullable":true,"description":"Month 5 sales (SDO SALES_MTH5; Optional; precision 2)"},"salesMth6":{"type":"number","nullable":true,"description":"Month 6 sales (SDO SALES_MTH6; Optional; precision 2)"},"salesMth7":{"type":"number","nullable":true,"description":"Month 7 sales (SDO SALES_MTH7; Optional; precision 2)"},"salesMth8":{"type":"number","nullable":true,"description":"Month 8 sales (SDO SALES_MTH8; Optional; precision 2)"},"salesMth9":{"type":"number","nullable":true,"description":"Month 9 sales (SDO SALES_MTH9; Optional; precision 2)"},"salesPrice":{"type":"number","nullable":true,"description":"Sale price (SDO SALES_PRICE; Optional; precision 101)"},"stockCat":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Stock category number (SDO STOCK_CAT; Optional; precision 0)"},"stockCode":{"type":"string","nullable":true,"maxLength":30,"description":"Product code (SDO STOCK_CODE; Required; precision 0)"},"stockTakeDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Stock take date (SDO STOCK_TAKE_DATE; Optional; precision 0)"},"suppUnitQty":{"type":"number","nullable":true,"description":"Supplementary Unit Quantity (SDO SUPP_UNIT_QTY; Optional; precision 0)"},"supplierPartNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Supplier's part number (SDO SUPPLIER_PART_NUMBER; Optional; precision 0)"},"taxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax code (0 to 99) (SDO TAX_CODE; Optional; precision 0)"},"unitOfSale":{"type":"string","nullable":true,"maxLength":8,"description":"Unit of sale (SDO UNIT_OF_SALE; Optional; precision 0)"},"unitWeight":{"type":"number","nullable":true,"description":"Unit weight (SDO UNIT_WEIGHT; Optional; precision 2)"},"webDescription":{"type":"string","nullable":true,"maxLength":255,"description":"Web Description (SDO WEB_DESCRIPTION; Optional; precision 0)"},"webImage":{"type":"string","nullable":true,"maxLength":60,"description":"Web Image Filename (SDO WEB_IMAGE; Optional; precision 0)"},"webLongdescription":{"type":"string","nullable":true,"maxLength":1023,"description":"Web Long Description (SDO WEB_LONGDESCRIPTION; Optional; precision 0)"},"webPublish":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Web Publish Flag (SDO WEB_PUBLISH; Optional; precision 0)"},"webSpecialOffer":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Web Special Offer (SDO WEB_SPECIAL_OFFER; Optional; precision 0)"},"id":{"type":"string"}},"required":["assemblyLevel","averageCostPrice","budgetQtySoldBf","budgetQtySoldFuture","budgetQtySoldMth1","budgetQtySoldMth10","budgetQtySoldMth11","budgetQtySoldMth12","budgetQtySoldMth2","budgetQtySoldMth3","budgetQtySoldMth4","budgetQtySoldMth5","budgetQtySoldMth6","budgetQtySoldMth7","budgetQtySoldMth8","budgetQtySoldMth9","budgetSalesBf","budgetSalesFuture","budgetSalesMth1","budgetSalesMth10","budgetSalesMth11","budgetSalesMth12","budgetSalesMth2","budgetSalesMth3","budgetSalesMth4","budgetSalesMth5","budgetSalesMth6","budgetSalesMth7","budgetSalesMth8","budgetSalesMth9","commodityCode","componentCode1","componentCode10","componentCode11","componentCode12","componentCode13","componentCode14","componentCode15","componentCode16","componentCode17","componentCode18","componentCode19","componentCode2","componentCode20","componentCode21","componentCode22","componentCode23","componentCode24","componentCode25","componentCode26","componentCode27","componentCode28","componentCode29","componentCode3","componentCode30","componentCode31","componentCode32","componentCode33","componentCode34","componentCode35","componentCode36","componentCode37","componentCode38","componentCode39","componentCode4","componentCode40","componentCode41","componentCode42","componentCode43","componentCode44","componentCode45","componentCode46","componentCode47","componentCode48","componentCode49","componentCode5","componentCode50","componentCode6","componentCode7","componentCode8","componentCode9","componentQty1","componentQty10","componentQty11","componentQty12","componentQty13","componentQty14","componentQty15","componentQty16","componentQty17","componentQty18","componentQty19","componentQty2","componentQty20","componentQty21","componentQty22","componentQty23","componentQty24","componentQty25","componentQty26","componentQty27","componentQty28","componentQty29","componentQty3","componentQty30","componentQty31","componentQty32","componentQty33","componentQty34","componentQty35","componentQty36","componentQty37","componentQty38","componentQty39","componentQty4","componentQty40","componentQty41","componentQty42","componentQty43","componentQty44","componentQty45","componentQty46","componentQty47","componentQty48","componentQty49","componentQty5","componentQty50","componentQty6","componentQty7","componentQty8","componentQty9","costBf","costFuture","costMth1","costMth10","costMth11","costMth12","costMth2","costMth3","costMth4","costMth5","costMth6","costMth7","costMth8","costMth9","countryCodeOfOrigin","custom1","custom2","custom3","deletedFlag","deptNumber","description","discALevel10Qty","discALevel10Rate","discALevel1Qty","discALevel1Rate","discALevel2Qty","discALevel2Rate","discALevel3Qty","discALevel3Rate","discALevel4Qty","discALevel4Rate","discALevel5Qty","discALevel5Rate","discALevel6Qty","discALevel6Rate","discALevel7Qty","discALevel7Rate","discALevel8Qty","discALevel8Rate","discALevel9Qty","discALevel9Rate","discBLevel10Qty","discBLevel10Rate","discBLevel1Qty","discBLevel1Rate","discBLevel2Qty","discBLevel2Rate","discBLevel3Qty","discBLevel3Rate","discBLevel4Qty","discBLevel4Rate","discBLevel5Qty","discBLevel5Rate","discBLevel6Qty","discBLevel6Rate","discBLevel7Qty","discBLevel7Rate","discBLevel8Qty","discBLevel8Rate","discBLevel9Qty","discBLevel9Rate","discCLevel10Qty","discCLevel10Rate","discCLevel1Qty","discCLevel1Rate","discCLevel2Qty","discCLevel2Rate","discCLevel3Qty","discCLevel3Rate","discCLevel4Qty","discCLevel4Rate","discCLevel5Qty","discCLevel5Rate","discCLevel6Qty","discCLevel6Rate","discCLevel7Qty","discCLevel7Rate","discCLevel8Qty","discCLevel8Rate","discCLevel9Qty","discCLevel9Rate","discDLevel10Qty","discDLevel10Rate","discDLevel1Qty","discDLevel1Rate","discDLevel2Qty","discDLevel2Rate","discDLevel3Qty","discDLevel3Rate","discDLevel4Qty","discDLevel4Rate","discDLevel5Qty","discDLevel5Rate","discDLevel6Qty","discDLevel6Rate","discDLevel7Qty","discDLevel7Rate","discDLevel8Qty","discDLevel8Rate","discDLevel9Qty","discDLevel9Rate","discELevel10Qty","discELevel10Rate","discELevel1Qty","discELevel1Rate","discELevel2Qty","discELevel2Rate","discELevel3Qty","discELevel3Rate","discELevel4Qty","discELevel4Rate","discELevel5Qty","discELevel5Rate","discELevel6Qty","discELevel6Rate","discELevel7Qty","discELevel7Rate","discELevel8Qty","discELevel8Rate","discELevel9Qty","discELevel9Rate","externalUsage","firstTran","ignoreStkLvlFlag","inactiveFlag","intrastatCommodityCode","intrastatImportDutyCode","itemType","lastCostDiscount","lastOrderQuantity","lastPurchaseDate","lastPurchasePrice","lastSaleDate","lastTran","lastUpdated","linkLevel","location","noOfTran","nominalCode","priorYrCostBf","priorYrCostFuture","priorYrCostMth1","priorYrCostMth10","priorYrCostMth11","priorYrCostMth12","priorYrCostMth2","priorYrCostMth3","priorYrCostMth4","priorYrCostMth5","priorYrCostMth6","priorYrCostMth7","priorYrCostMth8","priorYrCostMth9","priorYrQtySoldBf","priorYrQtySoldFuture","priorYrQtySoldMth1","priorYrQtySoldMth10","priorYrQtySoldMth11","priorYrQtySoldMth12","priorYrQtySoldMth2","priorYrQtySoldMth3","priorYrQtySoldMth4","priorYrQtySoldMth5","priorYrQtySoldMth6","priorYrQtySoldMth7","priorYrQtySoldMth8","priorYrQtySoldMth9","priorYrSalesBf","priorYrSalesFuture","priorYrSalesMth1","priorYrSalesMth10","priorYrSalesMth11","priorYrSalesMth12","priorYrSalesMth2","priorYrSalesMth3","priorYrSalesMth4","priorYrSalesMth5","priorYrSalesMth6","priorYrSalesMth7","priorYrSalesMth8","priorYrSalesMth9","productBarcode","purchaseNominalCode","purchaseRef","qtyAllocated","qtyInStock","qtyLastOrder","qtyLastStockTake","qtyOnOrder","qtyReorder","qtyReorderLevel","qtySoldBf","qtySoldFuture","qtySoldMth1","qtySoldMth10","qtySoldMth11","qtySoldMth12","qtySoldMth2","qtySoldMth3","qtySoldMth4","qtySoldMth5","qtySoldMth6","qtySoldMth7","qtySoldMth8","qtySoldMth9","recordCreateDate","recordDeleted","recordModifyDate","salesBf","salesFuture","salesMth1","salesMth10","salesMth11","salesMth12","salesMth2","salesMth3","salesMth4","salesMth5","salesMth6","salesMth7","salesMth8","salesMth9","salesPrice","stockCat","stockCode","stockTakeDate","suppUnitQty","supplierPartNumber","taxCode","unitOfSale","unitWeight","webDescription","webImage","webLongdescription","webPublish","webSpecialOffer","id"],"additionalProperties":false},"Uk33_1_items_get":{"type":"object","properties":{"assemblyLevel":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Assembly level (SDO ASSEMBLY_LEVEL; Optional; precision 0)"},"averageCostPrice":{"type":"number","nullable":true,"description":"Average cost price (SDO AVERAGE_COST_PRICE; Optional; precision 101)"},"budgetQtySoldBf":{"type":"number","nullable":true,"description":"Brought forward budget quantity sold (SDO BUDGET_QTY_SOLD_BF; Optional; precision 102)"},"budgetQtySoldFuture":{"type":"number","nullable":true,"description":"Future budget quantity sold (SDO BUDGET_QTY_SOLD_FUTURE; Optional; precision 102)"},"budgetQtySoldMth1":{"type":"number","nullable":true,"description":"Month 1 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH1; Optional; precision 102)"},"budgetQtySoldMth10":{"type":"number","nullable":true,"description":"Month 10 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH10; Optional; precision 102)"},"budgetQtySoldMth11":{"type":"number","nullable":true,"description":"Month 11 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH11; Optional; precision 102)"},"budgetQtySoldMth12":{"type":"number","nullable":true,"description":"Month 12 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH12; Optional; precision 102)"},"budgetQtySoldMth2":{"type":"number","nullable":true,"description":"Month 2 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH2; Optional; precision 102)"},"budgetQtySoldMth3":{"type":"number","nullable":true,"description":"Month 3 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH3; Optional; precision 102)"},"budgetQtySoldMth4":{"type":"number","nullable":true,"description":"Month 4 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH4; Optional; precision 102)"},"budgetQtySoldMth5":{"type":"number","nullable":true,"description":"Month 5 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH5; Optional; precision 102)"},"budgetQtySoldMth6":{"type":"number","nullable":true,"description":"Month 6 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH6; Optional; precision 102)"},"budgetQtySoldMth7":{"type":"number","nullable":true,"description":"Month 7 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH7; Optional; precision 102)"},"budgetQtySoldMth8":{"type":"number","nullable":true,"description":"Month 8 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH8; Optional; precision 102)"},"budgetQtySoldMth9":{"type":"number","nullable":true,"description":"Month 9 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH9; Optional; precision 102)"},"budgetSalesBf":{"type":"number","nullable":true,"description":"Brought forward budget sales (SDO BUDGET_SALES_BF; Optional; precision 2)"},"budgetSalesFuture":{"type":"number","nullable":true,"description":"Future budget sales (SDO BUDGET_SALES_FUTURE; Optional; precision 2)"},"budgetSalesMth1":{"type":"number","nullable":true,"description":"Month 1 budget sales (SDO BUDGET_SALES_MTH1; Optional; precision 2)"},"budgetSalesMth10":{"type":"number","nullable":true,"description":"Month 10 budget sales (SDO BUDGET_SALES_MTH10; Optional; precision 2)"},"budgetSalesMth11":{"type":"number","nullable":true,"description":"Month 11 budget sales (SDO BUDGET_SALES_MTH11; Optional; precision 2)"},"budgetSalesMth12":{"type":"number","nullable":true,"description":"Month 12 budget sales (SDO BUDGET_SALES_MTH12; Optional; precision 2)"},"budgetSalesMth2":{"type":"number","nullable":true,"description":"Month 2 budget sales (SDO BUDGET_SALES_MTH2; Optional; precision 2)"},"budgetSalesMth3":{"type":"number","nullable":true,"description":"Month 3 budget sales (SDO BUDGET_SALES_MTH3; Optional; precision 2)"},"budgetSalesMth4":{"type":"number","nullable":true,"description":"Month 4 budget sales (SDO BUDGET_SALES_MTH4; Optional; precision 2)"},"budgetSalesMth5":{"type":"number","nullable":true,"description":"Month 5 budget sales (SDO BUDGET_SALES_MTH5; Optional; precision 2)"},"budgetSalesMth6":{"type":"number","nullable":true,"description":"Month 6 budget sales (SDO BUDGET_SALES_MTH6; Optional; precision 2)"},"budgetSalesMth7":{"type":"number","nullable":true,"description":"Month 7 budget sales (SDO BUDGET_SALES_MTH7; Optional; precision 2)"},"budgetSalesMth8":{"type":"number","nullable":true,"description":"Month 8 budget sales (SDO BUDGET_SALES_MTH8; Optional; precision 2)"},"budgetSalesMth9":{"type":"number","nullable":true,"description":"Month 9 budget sales (SDO BUDGET_SALES_MTH9; Optional; precision 2)"},"commodityCode":{"type":"string","nullable":true,"maxLength":30,"description":"Commodity code description (SDO COMMODITY_CODE; Optional; precision 0)"},"componentCode1":{"type":"string","nullable":true,"maxLength":30,"description":"Component 1 stock code (SDO COMPONENT_CODE_1; Optional; precision 0)"},"componentCode10":{"type":"string","nullable":true,"maxLength":30,"description":"Component 10 stock code (SDO COMPONENT_CODE_10; Optional; precision 0)"},"componentCode11":{"type":"string","nullable":true,"maxLength":30,"description":"Component 11 stock code (SDO COMPONENT_Code_11; Optional; precision 0)"},"componentCode12":{"type":"string","nullable":true,"maxLength":30,"description":"Component 12 stock code (SDO COMPONENT_Code_12; Optional; precision 0)"},"componentCode13":{"type":"string","nullable":true,"maxLength":30,"description":"Component 13 stock code (SDO COMPONENT_Code_13; Optional; precision 0)"},"componentCode14":{"type":"string","nullable":true,"maxLength":30,"description":"Component 14 stock code (SDO COMPONENT_Code_14; Optional; precision 0)"},"componentCode15":{"type":"string","nullable":true,"maxLength":30,"description":"Component 15 stock code (SDO COMPONENT_Code_15; Optional; precision 0)"},"componentCode16":{"type":"string","nullable":true,"maxLength":30,"description":"Component 16 stock code (SDO COMPONENT_Code_16; Optional; precision 0)"},"componentCode17":{"type":"string","nullable":true,"maxLength":30,"description":"Component 17 stock code (SDO COMPONENT_Code_17; Optional; precision 0)"},"componentCode18":{"type":"string","nullable":true,"maxLength":30,"description":"Component 18 stock code (SDO COMPONENT_Code_18; Optional; precision 0)"},"componentCode19":{"type":"string","nullable":true,"maxLength":30,"description":"Component 19 stock code (SDO COMPONENT_Code_19; Optional; precision 0)"},"componentCode2":{"type":"string","nullable":true,"maxLength":30,"description":"Component 2 stock code (SDO COMPONENT_CODE_2; Optional; precision 0)"},"componentCode20":{"type":"string","nullable":true,"maxLength":30,"description":"Component 20 stock code (SDO COMPONENT_CODE_20; Optional; precision 0)"},"componentCode21":{"type":"string","nullable":true,"maxLength":30,"description":"Component 21 stock code (SDO COMPONENT_Code_21; Optional; precision 0)"},"componentCode22":{"type":"string","nullable":true,"maxLength":30,"description":"Component 22 stock code (SDO COMPONENT_Code_22; Optional; precision 0)"},"componentCode23":{"type":"string","nullable":true,"maxLength":30,"description":"Component 23 stock code (SDO COMPONENT_Code_23; Optional; precision 0)"},"componentCode24":{"type":"string","nullable":true,"maxLength":30,"description":"Component 24 stock code (SDO COMPONENT_Code_24; Optional; precision 0)"},"componentCode25":{"type":"string","nullable":true,"maxLength":30,"description":"Component 25 stock code (SDO COMPONENT_Code_25; Optional; precision 0)"},"componentCode26":{"type":"string","nullable":true,"maxLength":30,"description":"Component 26 stock code (SDO COMPONENT_Code_26; Optional; precision 0)"},"componentCode27":{"type":"string","nullable":true,"maxLength":30,"description":"Component 27 stock code (SDO COMPONENT_Code_27; Optional; precision 0)"},"componentCode28":{"type":"string","nullable":true,"maxLength":30,"description":"Component 28 stock code (SDO COMPONENT_Code_28; Optional; precision 0)"},"componentCode29":{"type":"string","nullable":true,"maxLength":30,"description":"Component 29 stock code (SDO COMPONENT_Code_29; Optional; precision 0)"},"componentCode3":{"type":"string","nullable":true,"maxLength":30,"description":"Component 3 stock code (SDO COMPONENT_CODE_3; Optional; precision 0)"},"componentCode30":{"type":"string","nullable":true,"maxLength":30,"description":"Component 30 stock code (SDO COMPONENT_CODE_30; Optional; precision 0)"},"componentCode31":{"type":"string","nullable":true,"maxLength":30,"description":"Component 31 stock code (SDO COMPONENT_Code_31; Optional; precision 0)"},"componentCode32":{"type":"string","nullable":true,"maxLength":30,"description":"Component 32 stock code (SDO COMPONENT_Code_32; Optional; precision 0)"},"componentCode33":{"type":"string","nullable":true,"maxLength":30,"description":"Component 33 stock code (SDO COMPONENT_Code_33; Optional; precision 0)"},"componentCode34":{"type":"string","nullable":true,"maxLength":30,"description":"Component 34 stock code (SDO COMPONENT_Code_34; Optional; precision 0)"},"componentCode35":{"type":"string","nullable":true,"maxLength":30,"description":"Component 35 stock code (SDO COMPONENT_Code_35; Optional; precision 0)"},"componentCode36":{"type":"string","nullable":true,"maxLength":30,"description":"Component 36 stock code (SDO COMPONENT_Code_36; Optional; precision 0)"},"componentCode37":{"type":"string","nullable":true,"maxLength":30,"description":"Component 37 stock code (SDO COMPONENT_Code_37; Optional; precision 0)"},"componentCode38":{"type":"string","nullable":true,"maxLength":30,"description":"Component 38 stock code (SDO COMPONENT_Code_38; Optional; precision 0)"},"componentCode39":{"type":"string","nullable":true,"maxLength":30,"description":"Component 39 stock code (SDO COMPONENT_Code_39; Optional; precision 0)"},"componentCode4":{"type":"string","nullable":true,"maxLength":30,"description":"Component 4 stock code (SDO COMPONENT_CODE_4; Optional; precision 0)"},"componentCode40":{"type":"string","nullable":true,"maxLength":30,"description":"Component 40 stock code (SDO COMPONENT_CODE_40; Optional; precision 0)"},"componentCode41":{"type":"string","nullable":true,"maxLength":30,"description":"Component 41 stock code (SDO COMPONENT_Code_41; Optional; precision 0)"},"componentCode42":{"type":"string","nullable":true,"maxLength":30,"description":"Component 42 stock code (SDO COMPONENT_Code_42; Optional; precision 0)"},"componentCode43":{"type":"string","nullable":true,"maxLength":30,"description":"Component 43 stock code (SDO COMPONENT_Code_43; Optional; precision 0)"},"componentCode44":{"type":"string","nullable":true,"maxLength":30,"description":"Component 44 stock code (SDO COMPONENT_Code_44; Optional; precision 0)"},"componentCode45":{"type":"string","nullable":true,"maxLength":30,"description":"Component 45 stock code (SDO COMPONENT_Code_45; Optional; precision 0)"},"componentCode46":{"type":"string","nullable":true,"maxLength":30,"description":"Component 46 stock code (SDO COMPONENT_Code_46; Optional; precision 0)"},"componentCode47":{"type":"string","nullable":true,"maxLength":30,"description":"Component 47 stock code (SDO COMPONENT_Code_47; Optional; precision 0)"},"componentCode48":{"type":"string","nullable":true,"maxLength":30,"description":"Component 48 stock code (SDO COMPONENT_Code_48; Optional; precision 0)"},"componentCode49":{"type":"string","nullable":true,"maxLength":30,"description":"Component 49 stock code (SDO COMPONENT_Code_49; Optional; precision 0)"},"componentCode5":{"type":"string","nullable":true,"maxLength":30,"description":"Component 5 stock code (SDO COMPONENT_CODE_5; Optional; precision 0)"},"componentCode50":{"type":"string","nullable":true,"maxLength":30,"description":"Component 50 stock code (SDO COMPONENT_Code_50; Optional; precision 0)"},"componentCode6":{"type":"string","nullable":true,"maxLength":30,"description":"Component 6 stock code (SDO COMPONENT_CODE_6; Optional; precision 0)"},"componentCode7":{"type":"string","nullable":true,"maxLength":30,"description":"Component 7 stock code (SDO COMPONENT_CODE_7; Optional; precision 0)"},"componentCode8":{"type":"string","nullable":true,"maxLength":30,"description":"Component 8 stock code (SDO COMPONENT_CODE_8; Optional; precision 0)"},"componentCode9":{"type":"string","nullable":true,"maxLength":30,"description":"Component 9 stock code (SDO COMPONENT_CODE_9; Optional; precision 0)"},"componentQty1":{"type":"number","nullable":true,"description":"Component 1 quantity (SDO COMPONENT_QTY_1; Optional; precision 102)"},"componentQty10":{"type":"number","nullable":true,"description":"Component 10 quantity (SDO COMPONENT_QTY_10; Optional; precision 102)"},"componentQty11":{"type":"number","nullable":true,"description":"Component 11 quantity (SDO COMPONENT_QTY_11; Optional; precision 102)"},"componentQty12":{"type":"number","nullable":true,"description":"Component 12 quantity (SDO COMPONENT_QTY_12; Optional; precision 102)"},"componentQty13":{"type":"number","nullable":true,"description":"Component 13 quantity (SDO COMPONENT_QTY_13; Optional; precision 102)"},"componentQty14":{"type":"number","nullable":true,"description":"Component 14 quantity (SDO COMPONENT_QTY_14; Optional; precision 102)"},"componentQty15":{"type":"number","nullable":true,"description":"Component 15 quantity (SDO COMPONENT_QTY_15; Optional; precision 102)"},"componentQty16":{"type":"number","nullable":true,"description":"Component 16 quantity (SDO COMPONENT_QTY_16; Optional; precision 102)"},"componentQty17":{"type":"number","nullable":true,"description":"Component 17 quantity (SDO COMPONENT_QTY_17; Optional; precision 102)"},"componentQty18":{"type":"number","nullable":true,"description":"Component 18 quantity (SDO COMPONENT_QTY_18; Optional; precision 102)"},"componentQty19":{"type":"number","nullable":true,"description":"Component 19 quantity (SDO COMPONENT_QTY_19; Optional; precision 102)"},"componentQty2":{"type":"number","nullable":true,"description":"Component 2 quantity (SDO COMPONENT_QTY_2; Optional; precision 102)"},"componentQty20":{"type":"number","nullable":true,"description":"Component 20 quantity (SDO COMPONENT_QTY_20; Optional; precision 102)"},"componentQty21":{"type":"number","nullable":true,"description":"Component 21 quantity (SDO COMPONENT_QTY_21; Optional; precision 102)"},"componentQty22":{"type":"number","nullable":true,"description":"Component 22 quantity (SDO COMPONENT_QTY_22; Optional; precision 102)"},"componentQty23":{"type":"number","nullable":true,"description":"Component 23 quantity (SDO COMPONENT_QTY_23; Optional; precision 102)"},"componentQty24":{"type":"number","nullable":true,"description":"Component 24 quantity (SDO COMPONENT_QTY_24; Optional; precision 102)"},"componentQty25":{"type":"number","nullable":true,"description":"Component 25 quantity (SDO COMPONENT_QTY_25; Optional; precision 102)"},"componentQty26":{"type":"number","nullable":true,"description":"Component 26 quantity (SDO COMPONENT_QTY_26; Optional; precision 102)"},"componentQty27":{"type":"number","nullable":true,"description":"Component 27 quantity (SDO COMPONENT_QTY_27; Optional; precision 102)"},"componentQty28":{"type":"number","nullable":true,"description":"Component 28 quantity (SDO COMPONENT_QTY_28; Optional; precision 102)"},"componentQty29":{"type":"number","nullable":true,"description":"Component 29 quantity (SDO COMPONENT_QTY_29; Optional; precision 102)"},"componentQty3":{"type":"number","nullable":true,"description":"Component 3 quantity (SDO COMPONENT_QTY_3; Optional; precision 102)"},"componentQty30":{"type":"number","nullable":true,"description":"Component 30 quantity (SDO COMPONENT_QTY_30; Optional; precision 102)"},"componentQty31":{"type":"number","nullable":true,"description":"Component 31 quantity (SDO COMPONENT_QTY_31; Optional; precision 102)"},"componentQty32":{"type":"number","nullable":true,"description":"Component 32 quantity (SDO COMPONENT_QTY_32; Optional; precision 102)"},"componentQty33":{"type":"number","nullable":true,"description":"Component 33 quantity (SDO COMPONENT_QTY_33; Optional; precision 102)"},"componentQty34":{"type":"number","nullable":true,"description":"Component 34 quantity (SDO COMPONENT_QTY_34; Optional; precision 102)"},"componentQty35":{"type":"number","nullable":true,"description":"Component 35 quantity (SDO COMPONENT_QTY_35; Optional; precision 102)"},"componentQty36":{"type":"number","nullable":true,"description":"Component 36 quantity (SDO COMPONENT_QTY_36; Optional; precision 102)"},"componentQty37":{"type":"number","nullable":true,"description":"Component 37 quantity (SDO COMPONENT_QTY_37; Optional; precision 102)"},"componentQty38":{"type":"number","nullable":true,"description":"Component 38 quantity (SDO COMPONENT_QTY_38; Optional; precision 102)"},"componentQty39":{"type":"number","nullable":true,"description":"Component 39 quantity (SDO COMPONENT_QTY_39; Optional; precision 102)"},"componentQty4":{"type":"number","nullable":true,"description":"Component 4 quantity (SDO COMPONENT_QTY_4; Optional; precision 102)"},"componentQty40":{"type":"number","nullable":true,"description":"Component 40 quantity (SDO COMPONENT_QTY_40; Optional; precision 102)"},"componentQty41":{"type":"number","nullable":true,"description":"Component 41 quantity (SDO COMPONENT_QTY_41; Optional; precision 102)"},"componentQty42":{"type":"number","nullable":true,"description":"Component 42 quantity (SDO COMPONENT_QTY_42; Optional; precision 102)"},"componentQty43":{"type":"number","nullable":true,"description":"Component 43 quantity (SDO COMPONENT_QTY_43; Optional; precision 102)"},"componentQty44":{"type":"number","nullable":true,"description":"Component 44 quantity (SDO COMPONENT_QTY_44; Optional; precision 102)"},"componentQty45":{"type":"number","nullable":true,"description":"Component 45 quantity (SDO COMPONENT_QTY_45; Optional; precision 102)"},"componentQty46":{"type":"number","nullable":true,"description":"Component 46 quantity (SDO COMPONENT_QTY_46; Optional; precision 102)"},"componentQty47":{"type":"number","nullable":true,"description":"Component 47 quantity (SDO COMPONENT_QTY_47; Optional; precision 102)"},"componentQty48":{"type":"number","nullable":true,"description":"Component 48 quantity (SDO COMPONENT_QTY_48; Optional; precision 102)"},"componentQty49":{"type":"number","nullable":true,"description":"Component 49 quantity (SDO COMPONENT_QTY_49; Optional; precision 102)"},"componentQty5":{"type":"number","nullable":true,"description":"Component 5 quantity (SDO COMPONENT_QTY_5; Optional; precision 102)"},"componentQty50":{"type":"number","nullable":true,"description":"Component 50 quantity (SDO COMPONENT_QTY_50; Optional; precision 102)"},"componentQty6":{"type":"number","nullable":true,"description":"Component 6 quantity (SDO COMPONENT_QTY_6; Optional; precision 102)"},"componentQty7":{"type":"number","nullable":true,"description":"Component 7 quantity (SDO COMPONENT_QTY_7; Optional; precision 102)"},"componentQty8":{"type":"number","nullable":true,"description":"Component 8 quantity (SDO COMPONENT_QTY_8; Optional; precision 102)"},"componentQty9":{"type":"number","nullable":true,"description":"Component 9 quantity (SDO COMPONENT_QTY_9; Optional; precision 102)"},"costBf":{"type":"number","nullable":true,"description":"Brought forward costs (SDO COST_BF; Optional; precision 2)"},"costFuture":{"type":"number","nullable":true,"description":"Future costs (SDO COST_FUTURE; Optional; precision 2)"},"costMth1":{"type":"number","nullable":true,"description":"Month 1 costs (SDO COST_MTH1; Optional; precision 2)"},"costMth10":{"type":"number","nullable":true,"description":"Month 10 costs (SDO COST_MTH10; Optional; precision 2)"},"costMth11":{"type":"number","nullable":true,"description":"Month 11 costs (SDO COST_MTH11; Optional; precision 2)"},"costMth12":{"type":"number","nullable":true,"description":"Month 12 costs (SDO COST_MTH12; Optional; precision 2)"},"costMth2":{"type":"number","nullable":true,"description":"Month 2 costs (SDO COST_MTH2; Optional; precision 2)"},"costMth3":{"type":"number","nullable":true,"description":"Month 3 costs (SDO COST_MTH3; Optional; precision 2)"},"costMth4":{"type":"number","nullable":true,"description":"Month 4 costs (SDO COST_MTH4; Optional; precision 2)"},"costMth5":{"type":"number","nullable":true,"description":"Month 5 costs (SDO COST_MTH5; Optional; precision 2)"},"costMth6":{"type":"number","nullable":true,"description":"Month 6 costs (SDO COST_MTH6; Optional; precision 2)"},"costMth7":{"type":"number","nullable":true,"description":"Month 7 costs (SDO COST_MTH7; Optional; precision 2)"},"costMth8":{"type":"number","nullable":true,"description":"Month 8 costs (SDO COST_MTH8; Optional; precision 2)"},"costMth9":{"type":"number","nullable":true,"description":"Month 9 costs (SDO COST_MTH9; Optional; precision 2)"},"countryCodeOfOrigin":{"type":"string","nullable":true,"maxLength":2,"description":"Country of Origin (SDO COUNTRY_CODE_OF_ORIGIN; Optional; precision 0)"},"custom1":{"type":"string","nullable":true,"maxLength":60,"description":"Custom Field 1 (SDO CUSTOM_1; Optional; precision 0)"},"custom2":{"type":"string","nullable":true,"maxLength":60,"description":"Custom Field 2 (SDO CUSTOM_2; Optional; precision 0)"},"custom3":{"type":"string","nullable":true,"maxLength":60,"description":"Custom Field 3 (SDO CUSTOM_3; Optional; precision 0)"},"deletedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Is Deleted (SDO DELETED_FLAG; Optional; precision 0)"},"deptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Department number (SDO DEPT_NUMBER; Optional; precision 0)"},"description":{"type":"string","nullable":true,"maxLength":120,"description":"Description (SDO DESCRIPTION; Optional; precision 0)"},"discALevel10Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 10, Quantity (SDO DISC_A_LEVEL_10_QTY; Optional; precision 102)"},"discALevel10Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 10, Rate (SDO DISC_A_LEVEL_10_RATE; Optional; precision 2)"},"discALevel1Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 1, Quantity (SDO DISC_A_LEVEL_1_QTY; Optional; precision 102)"},"discALevel1Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 1, Rate (SDO DISC_A_LEVEL_1_RATE; Optional; precision 2)"},"discALevel2Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 2, Quantity (SDO DISC_A_LEVEL_2_QTY; Optional; precision 102)"},"discALevel2Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 2, Rate (SDO DISC_A_LEVEL_2_RATE; Optional; precision 2)"},"discALevel3Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 3, Quantity (SDO DISC_A_LEVEL_3_QTY; Optional; precision 102)"},"discALevel3Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 3, Rate (SDO DISC_A_LEVEL_3_RATE; Optional; precision 2)"},"discALevel4Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 4, Quantity (SDO DISC_A_LEVEL_4_QTY; Optional; precision 102)"},"discALevel4Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 4, Rate (SDO DISC_A_LEVEL_4_RATE; Optional; precision 2)"},"discALevel5Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 5, Quantity (SDO DISC_A_LEVEL_5_QTY; Optional; precision 102)"},"discALevel5Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 5, Rate (SDO DISC_A_LEVEL_5_RATE; Optional; precision 2)"},"discALevel6Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 6, Quantity (SDO DISC_A_LEVEL_6_QTY; Optional; precision 102)"},"discALevel6Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 6, Rate (SDO DISC_A_LEVEL_6_RATE; Optional; precision 2)"},"discALevel7Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 7, Quantity (SDO DISC_A_LEVEL_7_QTY; Optional; precision 102)"},"discALevel7Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 7, Rate (SDO DISC_A_LEVEL_7_RATE; Optional; precision 2)"},"discALevel8Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 8, Quantity (SDO DISC_A_LEVEL_8_QTY; Optional; precision 102)"},"discALevel8Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 8, Rate (SDO DISC_A_LEVEL_8_RATE; Optional; precision 2)"},"discALevel9Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 9, Quantity (SDO DISC_A_LEVEL_9_QTY; Optional; precision 102)"},"discALevel9Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 9, Rate (SDO DISC_A_LEVEL_9_RATE; Optional; precision 2)"},"discBLevel10Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 10, Quantity (SDO DISC_B_LEVEL_10_QTY; Optional; precision 102)"},"discBLevel10Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 10, Rate (SDO DISC_B_LEVEL_10_RATE; Optional; precision 2)"},"discBLevel1Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 1, Quantity (SDO DISC_B_LEVEL_1_QTY; Optional; precision 102)"},"discBLevel1Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 1, Rate (SDO DISC_B_LEVEL_1_RATE; Optional; precision 2)"},"discBLevel2Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 2, Quantity (SDO DISC_B_LEVEL_2_QTY; Optional; precision 102)"},"discBLevel2Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 2, Rate (SDO DISC_B_LEVEL_2_RATE; Optional; precision 2)"},"discBLevel3Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 3, Quantity (SDO DISC_B_LEVEL_3_QTY; Optional; precision 102)"},"discBLevel3Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 3, Rate (SDO DISC_B_LEVEL_3_RATE; Optional; precision 2)"},"discBLevel4Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 4, Quantity (SDO DISC_B_LEVEL_4_QTY; Optional; precision 102)"},"discBLevel4Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 4, Rate (SDO DISC_B_LEVEL_4_RATE; Optional; precision 2)"},"discBLevel5Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 5, Quantity (SDO DISC_B_LEVEL_5_QTY; Optional; precision 102)"},"discBLevel5Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 5, Rate (SDO DISC_B_LEVEL_5_RATE; Optional; precision 2)"},"discBLevel6Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 6, Quantity (SDO DISC_B_LEVEL_6_QTY; Optional; precision 102)"},"discBLevel6Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 6, Rate (SDO DISC_B_LEVEL_6_RATE; Optional; precision 2)"},"discBLevel7Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 7, Quantity (SDO DISC_B_LEVEL_7_QTY; Optional; precision 102)"},"discBLevel7Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 7, Rate (SDO DISC_B_LEVEL_7_RATE; Optional; precision 2)"},"discBLevel8Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 8, Quantity (SDO DISC_B_LEVEL_8_QTY; Optional; precision 102)"},"discBLevel8Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 8, Rate (SDO DISC_B_LEVEL_8_RATE; Optional; precision 2)"},"discBLevel9Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 9, Quantity (SDO DISC_B_LEVEL_9_QTY; Optional; precision 102)"},"discBLevel9Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 9, Rate (SDO DISC_B_LEVEL_9_RATE; Optional; precision 2)"},"discCLevel10Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 10, Quantity (SDO DISC_C_LEVEL_10_QTY; Optional; precision 102)"},"discCLevel10Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 10, Rate (SDO DISC_C_LEVEL_10_RATE; Optional; precision 2)"},"discCLevel1Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 1, Quantity (SDO DISC_C_LEVEL_1_QTY; Optional; precision 102)"},"discCLevel1Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 1, Rate (SDO DISC_C_LEVEL_1_RATE; Optional; precision 2)"},"discCLevel2Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 2, Quantity (SDO DISC_C_LEVEL_2_QTY; Optional; precision 102)"},"discCLevel2Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 2, Rate (SDO DISC_C_LEVEL_2_RATE; Optional; precision 2)"},"discCLevel3Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 3, Quantity (SDO DISC_C_LEVEL_3_QTY; Optional; precision 102)"},"discCLevel3Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 3, Rate (SDO DISC_C_LEVEL_3_RATE; Optional; precision 2)"},"discCLevel4Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 4, Quantity (SDO DISC_C_LEVEL_4_QTY; Optional; precision 102)"},"discCLevel4Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 4, Rate (SDO DISC_C_LEVEL_4_RATE; Optional; precision 2)"},"discCLevel5Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 5, Quantity (SDO DISC_C_LEVEL_5_QTY; Optional; precision 102)"},"discCLevel5Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 5, Rate (SDO DISC_C_LEVEL_5_RATE; Optional; precision 2)"},"discCLevel6Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 6, Quantity (SDO DISC_C_LEVEL_6_QTY; Optional; precision 102)"},"discCLevel6Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 6, Rate (SDO DISC_C_LEVEL_6_RATE; Optional; precision 2)"},"discCLevel7Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 7, Quantity (SDO DISC_C_LEVEL_7_QTY; Optional; precision 102)"},"discCLevel7Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 7, Rate (SDO DISC_C_LEVEL_7_RATE; Optional; precision 2)"},"discCLevel8Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 8, Quantity (SDO DISC_C_LEVEL_8_QTY; Optional; precision 102)"},"discCLevel8Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 8, Rate (SDO DISC_C_LEVEL_8_RATE; Optional; precision 2)"},"discCLevel9Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 9, Quantity (SDO DISC_C_LEVEL_9_QTY; Optional; precision 102)"},"discCLevel9Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 9, Rate (SDO DISC_C_LEVEL_9_RATE; Optional; precision 2)"},"discDLevel10Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 10, Quantity (SDO DISC_D_LEVEL_10_QTY; Optional; precision 102)"},"discDLevel10Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 10, Rate (SDO DISC_D_LEVEL_10_RATE; Optional; precision 2)"},"discDLevel1Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 1, Quantity (SDO DISC_D_LEVEL_1_QTY; Optional; precision 102)"},"discDLevel1Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 1, Rate (SDO DISC_D_LEVEL_1_RATE; Optional; precision 2)"},"discDLevel2Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 2, Quantity (SDO DISC_D_LEVEL_2_QTY; Optional; precision 102)"},"discDLevel2Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 2, Rate (SDO DISC_D_LEVEL_2_RATE; Optional; precision 2)"},"discDLevel3Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 3, Quantity (SDO DISC_D_LEVEL_3_QTY; Optional; precision 102)"},"discDLevel3Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 3, Rate (SDO DISC_D_LEVEL_3_RATE; Optional; precision 2)"},"discDLevel4Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 4, Quantity (SDO DISC_D_LEVEL_4_QTY; Optional; precision 102)"},"discDLevel4Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 4, Rate (SDO DISC_D_LEVEL_4_RATE; Optional; precision 2)"},"discDLevel5Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 5, Quantity (SDO DISC_D_LEVEL_5_QTY; Optional; precision 102)"},"discDLevel5Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 5, Rate (SDO DISC_D_LEVEL_5_RATE; Optional; precision 2)"},"discDLevel6Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 6, Quantity (SDO DISC_D_LEVEL_6_QTY; Optional; precision 102)"},"discDLevel6Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 6, Rate (SDO DISC_D_LEVEL_6_RATE; Optional; precision 2)"},"discDLevel7Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 7, Quantity (SDO DISC_D_LEVEL_7_QTY; Optional; precision 102)"},"discDLevel7Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 7, Rate (SDO DISC_D_LEVEL_7_RATE; Optional; precision 2)"},"discDLevel8Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 8, Quantity (SDO DISC_D_LEVEL_8_QTY; Optional; precision 102)"},"discDLevel8Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 8, Rate (SDO DISC_D_LEVEL_8_RATE; Optional; precision 2)"},"discDLevel9Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 9, Quantity (SDO DISC_D_LEVEL_9_QTY; Optional; precision 102)"},"discDLevel9Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 9, Rate (SDO DISC_D_LEVEL_9_RATE; Optional; precision 2)"},"discELevel10Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 10, Quantity (SDO DISC_E_LEVEL_10_QTY; Optional; precision 102)"},"discELevel10Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 10, Rate (SDO DISC_E_LEVEL_10_RATE; Optional; precision 2)"},"discELevel1Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 1, Quantity (SDO DISC_E_LEVEL_1_QTY; Optional; precision 102)"},"discELevel1Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 1, Rate (SDO DISC_E_LEVEL_1_RATE; Optional; precision 2)"},"discELevel2Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 2, Quantity (SDO DISC_E_LEVEL_2_QTY; Optional; precision 102)"},"discELevel2Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 2, Rate (SDO DISC_E_LEVEL_2_RATE; Optional; precision 2)"},"discELevel3Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 3, Quantity (SDO DISC_E_LEVEL_3_QTY; Optional; precision 102)"},"discELevel3Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 3, Rate (SDO DISC_E_LEVEL_3_RATE; Optional; precision 2)"},"discELevel4Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 4, Quantity (SDO DISC_E_LEVEL_4_QTY; Optional; precision 102)"},"discELevel4Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 4, Rate (SDO DISC_E_LEVEL_4_RATE; Optional; precision 2)"},"discELevel5Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 5, Quantity (SDO DISC_E_LEVEL_5_QTY; Optional; precision 102)"},"discELevel5Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 5, Rate (SDO DISC_E_LEVEL_5_RATE; Optional; precision 2)"},"discELevel6Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 6, Quantity (SDO DISC_E_LEVEL_6_QTY; Optional; precision 102)"},"discELevel6Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 6, Rate (SDO DISC_E_LEVEL_6_RATE; Optional; precision 2)"},"discELevel7Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 7, Quantity (SDO DISC_E_LEVEL_7_QTY; Optional; precision 102)"},"discELevel7Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 7, Rate (SDO DISC_E_LEVEL_7_RATE; Optional; precision 2)"},"discELevel8Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 8, Quantity (SDO DISC_E_LEVEL_8_QTY; Optional; precision 102)"},"discELevel8Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 8, Rate (SDO DISC_E_LEVEL_8_RATE; Optional; precision 2)"},"discELevel9Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 9, Quantity (SDO DISC_E_LEVEL_9_QTY; Optional; precision 102)"},"discELevel9Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 9, Rate (SDO DISC_E_LEVEL_9_RATE; Optional; precision 2)"},"externalUsage":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Number of External Usages (SDO EXTERNAL_USAGE; Optional; precision 0)"},"firstTran":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO FIRST_TRAN; Optional; precision 0)"},"ignoreStkLvlFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Ignore stock level flag (SDO IGNORE_STK_LVL_FLAG; Optional; precision 0)"},"inactiveFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Inactive Flag - Yes/No (SDO INACTIVE_FLAG; Optional; precision 0)"},"intrastatCommodityCode":{"type":"string","nullable":true,"maxLength":8,"description":"Intrastat Commodity code (SDO INTRASTAT_COMMODITY_CODE; Optional; precision 0)"},"intrastatImportDutyCode":{"type":"string","nullable":true,"maxLength":2,"description":"Intrastat Import Duty code (SDO INTRASTAT_IMPORT_DUTY_CODE; Optional; precision 0)"},"itemType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Item Type (SDO ITEM_TYPE; Optional; precision 0)"},"lastCostDiscount":{"type":"number","nullable":true,"description":"Last Cost Discounted (SDO LAST_COST_DISCOUNT; Optional; precision 101)"},"lastOrderQuantity":{"type":"number","nullable":true,"description":"Last Order Quantity (SDO LAST_ORDER_QUANTITY; Optional; precision 101)"},"lastPurchaseDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Last purchase date (SDO LAST_PURCHASE_DATE; Optional; precision 0)"},"lastPurchasePrice":{"type":"number","nullable":true,"description":"Last purchase price (SDO LAST_PURCHASE_PRICE; Optional; precision 101)"},"lastSaleDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Last sale date (SDO LAST_SALE_DATE; Optional; precision 0)"},"lastTran":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO LAST_TRAN; Optional; precision 0)"},"lastUpdated":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date of last update (SDO LAST_UPDATED; Optional; precision 0)"},"linkLevel":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Link level (SDO LINK_LEVEL; Optional; precision 0)"},"location":{"type":"string","nullable":true,"maxLength":16,"description":"Location (SDO LOCATION; Optional; precision 0)"},"noOfTran":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO NO_OF_TRAN; Optional; precision 0)"},"nominalCode":{"type":"string","nullable":true,"maxLength":8,"description":"Sales Nominal code (SDO NOMINAL_CODE; Optional; precision 0)"},"priorYrCostBf":{"type":"number","nullable":true,"description":"Prior year brought forward costs (SDO PRIOR_YR_COST_BF; Optional; precision 2)"},"priorYrCostFuture":{"type":"number","nullable":true,"description":"Prior year future costs (SDO PRIOR_YR_COST_FUTURE; Optional; precision 2)"},"priorYrCostMth1":{"type":"number","nullable":true,"description":"Prior year month 1 costs (SDO PRIOR_YR_COST_MTH1; Optional; precision 2)"},"priorYrCostMth10":{"type":"number","nullable":true,"description":"Prior year month 10 costs (SDO PRIOR_YR_COST_MTH10; Optional; precision 2)"},"priorYrCostMth11":{"type":"number","nullable":true,"description":"Prior year month 11 costs (SDO PRIOR_YR_COST_MTH11; Optional; precision 2)"},"priorYrCostMth12":{"type":"number","nullable":true,"description":"Prior year month 12 costs (SDO PRIOR_YR_COST_MTH12; Optional; precision 2)"},"priorYrCostMth2":{"type":"number","nullable":true,"description":"Prior year month 2 costs (SDO PRIOR_YR_COST_MTH2; Optional; precision 2)"},"priorYrCostMth3":{"type":"number","nullable":true,"description":"Prior year month 3 costs (SDO PRIOR_YR_COST_MTH3; Optional; precision 2)"},"priorYrCostMth4":{"type":"number","nullable":true,"description":"Prior year month 4 costs (SDO PRIOR_YR_COST_MTH4; Optional; precision 2)"},"priorYrCostMth5":{"type":"number","nullable":true,"description":"Prior year month 5 costs (SDO PRIOR_YR_COST_MTH5; Optional; precision 2)"},"priorYrCostMth6":{"type":"number","nullable":true,"description":"Prior year month 6 costs (SDO PRIOR_YR_COST_MTH6; Optional; precision 2)"},"priorYrCostMth7":{"type":"number","nullable":true,"description":"Prior year month 7 costs (SDO PRIOR_YR_COST_MTH7; Optional; precision 2)"},"priorYrCostMth8":{"type":"number","nullable":true,"description":"Prior year month 8 costs (SDO PRIOR_YR_COST_MTH8; Optional; precision 2)"},"priorYrCostMth9":{"type":"number","nullable":true,"description":"Prior year month 9 costs (SDO PRIOR_YR_COST_MTH9; Optional; precision 2)"},"priorYrQtySoldBf":{"type":"number","nullable":true,"description":"Prior year brought forward quantity sold (SDO PRIOR_YR_QTY_SOLD_BF; Optional; precision 102)"},"priorYrQtySoldFuture":{"type":"number","nullable":true,"description":"Prior year future quantity sold (SDO PRIOR_YR_QTY_SOLD_FUTURE; Optional; precision 102)"},"priorYrQtySoldMth1":{"type":"number","nullable":true,"description":"Prior year month 1 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH1; Optional; precision 102)"},"priorYrQtySoldMth10":{"type":"number","nullable":true,"description":"Prior year month 10 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH10; Optional; precision 102)"},"priorYrQtySoldMth11":{"type":"number","nullable":true,"description":"Prior year month 11 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH11; Optional; precision 102)"},"priorYrQtySoldMth12":{"type":"number","nullable":true,"description":"Prior year month 12 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH12; Optional; precision 102)"},"priorYrQtySoldMth2":{"type":"number","nullable":true,"description":"Prior year month 2 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH2; Optional; precision 102)"},"priorYrQtySoldMth3":{"type":"number","nullable":true,"description":"Prior year month 3 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH3; Optional; precision 102)"},"priorYrQtySoldMth4":{"type":"number","nullable":true,"description":"Prior year month 4 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH4; Optional; precision 102)"},"priorYrQtySoldMth5":{"type":"number","nullable":true,"description":"Prior year month 5 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH5; Optional; precision 102)"},"priorYrQtySoldMth6":{"type":"number","nullable":true,"description":"Prior year month 6 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH6; Optional; precision 102)"},"priorYrQtySoldMth7":{"type":"number","nullable":true,"description":"Prior year month 7 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH7; Optional; precision 102)"},"priorYrQtySoldMth8":{"type":"number","nullable":true,"description":"Prior year month 8 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH8; Optional; precision 102)"},"priorYrQtySoldMth9":{"type":"number","nullable":true,"description":"Prior year month 9 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH9; Optional; precision 102)"},"priorYrSalesBf":{"type":"number","nullable":true,"description":"Prior year brought forward sales (SDO PRIOR_YR_SALES_BF; Optional; precision 2)"},"priorYrSalesFuture":{"type":"number","nullable":true,"description":"Prior year future sales (SDO PRIOR_YR_SALES_FUTURE; Optional; precision 2)"},"priorYrSalesMth1":{"type":"number","nullable":true,"description":"Prior year month 1 sales (SDO PRIOR_YR_SALES_MTH1; Optional; precision 2)"},"priorYrSalesMth10":{"type":"number","nullable":true,"description":"Prior year month 10 sales (SDO PRIOR_YR_SALES_MTH10; Optional; precision 2)"},"priorYrSalesMth11":{"type":"number","nullable":true,"description":"Prior year month 11 sales (SDO PRIOR_YR_SALES_MTH11; Optional; precision 2)"},"priorYrSalesMth12":{"type":"number","nullable":true,"description":"Prior year month 12 sales (SDO PRIOR_YR_SALES_MTH12; Optional; precision 2)"},"priorYrSalesMth2":{"type":"number","nullable":true,"description":"Prior year month 2 sales (SDO PRIOR_YR_SALES_MTH2; Optional; precision 2)"},"priorYrSalesMth3":{"type":"number","nullable":true,"description":"Prior year month 3 sales (SDO PRIOR_YR_SALES_MTH3; Optional; precision 2)"},"priorYrSalesMth4":{"type":"number","nullable":true,"description":"Prior year month 4 sales (SDO PRIOR_YR_SALES_MTH4; Optional; precision 2)"},"priorYrSalesMth5":{"type":"number","nullable":true,"description":"Prior year month 5 sales (SDO PRIOR_YR_SALES_MTH5; Optional; precision 2)"},"priorYrSalesMth6":{"type":"number","nullable":true,"description":"Prior year month 6 sales (SDO PRIOR_YR_SALES_MTH6; Optional; precision 2)"},"priorYrSalesMth7":{"type":"number","nullable":true,"description":"Prior year month 7 sales (SDO PRIOR_YR_SALES_MTH7; Optional; precision 2)"},"priorYrSalesMth8":{"type":"number","nullable":true,"description":"Prior year month 8 sales (SDO PRIOR_YR_SALES_MTH8; Optional; precision 2)"},"priorYrSalesMth9":{"type":"number","nullable":true,"description":"Prior year month 9 sales (SDO PRIOR_YR_SALES_MTH9; Optional; precision 2)"},"productBarcode":{"type":"string","nullable":true,"maxLength":60,"description":"Barcode (SDO PRODUCT_BARCODE; Optional; precision 0)"},"purchaseNominalCode":{"type":"string","nullable":true,"maxLength":8,"description":"Purchase Nominal code (SDO PURCHASE_NOMINAL_CODE; Optional; precision 0)"},"purchaseRef":{"type":"string","nullable":true,"maxLength":8,"description":"Supplier's account reference (SDO PURCHASE_REF; Optional; precision 0)"},"qtyAllocated":{"type":"number","nullable":true,"description":"Quantity allocated (SDO QTY_ALLOCATED; Optional; precision 102)"},"qtyInStock":{"type":"number","nullable":true,"description":"Quantity in stock (SDO QTY_IN_STOCK; Optional; precision 102)"},"qtyLastOrder":{"type":"number","nullable":true,"description":"Last order quantity (SDO QTY_LAST_ORDER; Optional; precision 102)"},"qtyLastStockTake":{"type":"number","nullable":true,"description":"Last stock take quantity (SDO QTY_LAST_STOCK_TAKE; Optional; precision 102)"},"qtyOnOrder":{"type":"number","nullable":true,"description":"Quantity on order (SDO QTY_ON_ORDER; Optional; precision 102)"},"qtyReorder":{"type":"number","nullable":true,"description":"Reorder quantity (SDO QTY_REORDER; Optional; precision 102)"},"qtyReorderLevel":{"type":"number","nullable":true,"description":"Reorder level (SDO QTY_REORDER_LEVEL; Optional; precision 102)"},"qtySoldBf":{"type":"number","nullable":true,"description":"Brought forward quantity sold (SDO QTY_SOLD_BF; Optional; precision 102)"},"qtySoldFuture":{"type":"number","nullable":true,"description":"Future quantity sold (SDO QTY_SOLD_FUTURE; Optional; precision 102)"},"qtySoldMth1":{"type":"number","nullable":true,"description":"Month 1 quantity sold (SDO QTY_SOLD_MTH1; Optional; precision 102)"},"qtySoldMth10":{"type":"number","nullable":true,"description":"Month 10 quantity sold (SDO QTY_SOLD_MTH10; Optional; precision 102)"},"qtySoldMth11":{"type":"number","nullable":true,"description":"Month 11 quantity sold (SDO QTY_SOLD_MTH11; Optional; precision 102)"},"qtySoldMth12":{"type":"number","nullable":true,"description":"Month 12 quantity sold (SDO QTY_SOLD_MTH12; Optional; precision 102)"},"qtySoldMth2":{"type":"number","nullable":true,"description":"Month 2 quantity sold (SDO QTY_SOLD_MTH2; Optional; precision 102)"},"qtySoldMth3":{"type":"number","nullable":true,"description":"Month 3 quantity sold (SDO QTY_SOLD_MTH3; Optional; precision 102)"},"qtySoldMth4":{"type":"number","nullable":true,"description":"Month 4 quantity sold (SDO QTY_SOLD_MTH4; Optional; precision 102)"},"qtySoldMth5":{"type":"number","nullable":true,"description":"Month 5 quantity sold (SDO QTY_SOLD_MTH5; Optional; precision 102)"},"qtySoldMth6":{"type":"number","nullable":true,"description":"Month 6 quantity sold (SDO QTY_SOLD_MTH6; Optional; precision 102)"},"qtySoldMth7":{"type":"number","nullable":true,"description":"Month 7 quantity sold (SDO QTY_SOLD_MTH7; Optional; precision 102)"},"qtySoldMth8":{"type":"number","nullable":true,"description":"Month 8 quantity sold (SDO QTY_SOLD_MTH8; Optional; precision 102)"},"qtySoldMth9":{"type":"number","nullable":true,"description":"Month 9 quantity sold (SDO QTY_SOLD_MTH9; Optional; precision 102)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"salesBf":{"type":"number","nullable":true,"description":"Brought forward sales (SDO SALES_BF; Optional; precision 2)"},"salesFuture":{"type":"number","nullable":true,"description":"Future sales (SDO SALES_FUTURE; Optional; precision 2)"},"salesMth1":{"type":"number","nullable":true,"description":"Month 1 sales (SDO SALES_MTH1; Optional; precision 2)"},"salesMth10":{"type":"number","nullable":true,"description":"Month 10 sales (SDO SALES_MTH10; Optional; precision 2)"},"salesMth11":{"type":"number","nullable":true,"description":"Month 11 sales (SDO SALES_MTH11; Optional; precision 2)"},"salesMth12":{"type":"number","nullable":true,"description":"Month 12 sales (SDO SALES_MTH12; Optional; precision 2)"},"salesMth2":{"type":"number","nullable":true,"description":"Month 2 sales (SDO SALES_MTH2; Optional; precision 2)"},"salesMth3":{"type":"number","nullable":true,"description":"Month 3 sales (SDO SALES_MTH3; Optional; precision 2)"},"salesMth4":{"type":"number","nullable":true,"description":"Month 4 sales (SDO SALES_MTH4; Optional; precision 2)"},"salesMth5":{"type":"number","nullable":true,"description":"Month 5 sales (SDO SALES_MTH5; Optional; precision 2)"},"salesMth6":{"type":"number","nullable":true,"description":"Month 6 sales (SDO SALES_MTH6; Optional; precision 2)"},"salesMth7":{"type":"number","nullable":true,"description":"Month 7 sales (SDO SALES_MTH7; Optional; precision 2)"},"salesMth8":{"type":"number","nullable":true,"description":"Month 8 sales (SDO SALES_MTH8; Optional; precision 2)"},"salesMth9":{"type":"number","nullable":true,"description":"Month 9 sales (SDO SALES_MTH9; Optional; precision 2)"},"salesPrice":{"type":"number","nullable":true,"description":"Sale price (SDO SALES_PRICE; Optional; precision 101)"},"stockCat":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Stock category number (SDO STOCK_CAT; Optional; precision 0)"},"stockCode":{"type":"string","nullable":true,"maxLength":30,"description":"Product code (SDO STOCK_CODE; Required; precision 0)"},"stockTakeDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Stock take date (SDO STOCK_TAKE_DATE; Optional; precision 0)"},"suppUnitQty":{"type":"number","nullable":true,"description":"Supplementary Unit Quantity (SDO SUPP_UNIT_QTY; Optional; precision 0)"},"supplierPartNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Supplier's part number (SDO SUPPLIER_PART_NUMBER; Optional; precision 0)"},"taxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax code (0 to 99) (SDO TAX_CODE; Optional; precision 0)"},"unitOfSale":{"type":"string","nullable":true,"maxLength":8,"description":"Unit of sale (SDO UNIT_OF_SALE; Optional; precision 0)"},"unitWeight":{"type":"number","nullable":true,"description":"Unit weight (SDO UNIT_WEIGHT; Optional; precision 2)"},"webDescription":{"type":"string","nullable":true,"maxLength":255,"description":"Web Description (SDO WEB_DESCRIPTION; Optional; precision 0)"},"webImage":{"type":"string","nullable":true,"maxLength":60,"description":"Web Image Filename (SDO WEB_IMAGE; Optional; precision 0)"},"webLongdescription":{"type":"string","nullable":true,"maxLength":1023,"description":"Web Long Description (SDO WEB_LONGDESCRIPTION; Optional; precision 0)"},"webPublish":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Web Publish Flag (SDO WEB_PUBLISH; Optional; precision 0)"},"webSpecialOffer":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Web Special Offer (SDO WEB_SPECIAL_OFFER; Optional; precision 0)"},"id":{"type":"string"}},"required":["assemblyLevel","averageCostPrice","budgetQtySoldBf","budgetQtySoldFuture","budgetQtySoldMth1","budgetQtySoldMth10","budgetQtySoldMth11","budgetQtySoldMth12","budgetQtySoldMth2","budgetQtySoldMth3","budgetQtySoldMth4","budgetQtySoldMth5","budgetQtySoldMth6","budgetQtySoldMth7","budgetQtySoldMth8","budgetQtySoldMth9","budgetSalesBf","budgetSalesFuture","budgetSalesMth1","budgetSalesMth10","budgetSalesMth11","budgetSalesMth12","budgetSalesMth2","budgetSalesMth3","budgetSalesMth4","budgetSalesMth5","budgetSalesMth6","budgetSalesMth7","budgetSalesMth8","budgetSalesMth9","commodityCode","componentCode1","componentCode10","componentCode11","componentCode12","componentCode13","componentCode14","componentCode15","componentCode16","componentCode17","componentCode18","componentCode19","componentCode2","componentCode20","componentCode21","componentCode22","componentCode23","componentCode24","componentCode25","componentCode26","componentCode27","componentCode28","componentCode29","componentCode3","componentCode30","componentCode31","componentCode32","componentCode33","componentCode34","componentCode35","componentCode36","componentCode37","componentCode38","componentCode39","componentCode4","componentCode40","componentCode41","componentCode42","componentCode43","componentCode44","componentCode45","componentCode46","componentCode47","componentCode48","componentCode49","componentCode5","componentCode50","componentCode6","componentCode7","componentCode8","componentCode9","componentQty1","componentQty10","componentQty11","componentQty12","componentQty13","componentQty14","componentQty15","componentQty16","componentQty17","componentQty18","componentQty19","componentQty2","componentQty20","componentQty21","componentQty22","componentQty23","componentQty24","componentQty25","componentQty26","componentQty27","componentQty28","componentQty29","componentQty3","componentQty30","componentQty31","componentQty32","componentQty33","componentQty34","componentQty35","componentQty36","componentQty37","componentQty38","componentQty39","componentQty4","componentQty40","componentQty41","componentQty42","componentQty43","componentQty44","componentQty45","componentQty46","componentQty47","componentQty48","componentQty49","componentQty5","componentQty50","componentQty6","componentQty7","componentQty8","componentQty9","costBf","costFuture","costMth1","costMth10","costMth11","costMth12","costMth2","costMth3","costMth4","costMth5","costMth6","costMth7","costMth8","costMth9","countryCodeOfOrigin","custom1","custom2","custom3","deletedFlag","deptNumber","description","discALevel10Qty","discALevel10Rate","discALevel1Qty","discALevel1Rate","discALevel2Qty","discALevel2Rate","discALevel3Qty","discALevel3Rate","discALevel4Qty","discALevel4Rate","discALevel5Qty","discALevel5Rate","discALevel6Qty","discALevel6Rate","discALevel7Qty","discALevel7Rate","discALevel8Qty","discALevel8Rate","discALevel9Qty","discALevel9Rate","discBLevel10Qty","discBLevel10Rate","discBLevel1Qty","discBLevel1Rate","discBLevel2Qty","discBLevel2Rate","discBLevel3Qty","discBLevel3Rate","discBLevel4Qty","discBLevel4Rate","discBLevel5Qty","discBLevel5Rate","discBLevel6Qty","discBLevel6Rate","discBLevel7Qty","discBLevel7Rate","discBLevel8Qty","discBLevel8Rate","discBLevel9Qty","discBLevel9Rate","discCLevel10Qty","discCLevel10Rate","discCLevel1Qty","discCLevel1Rate","discCLevel2Qty","discCLevel2Rate","discCLevel3Qty","discCLevel3Rate","discCLevel4Qty","discCLevel4Rate","discCLevel5Qty","discCLevel5Rate","discCLevel6Qty","discCLevel6Rate","discCLevel7Qty","discCLevel7Rate","discCLevel8Qty","discCLevel8Rate","discCLevel9Qty","discCLevel9Rate","discDLevel10Qty","discDLevel10Rate","discDLevel1Qty","discDLevel1Rate","discDLevel2Qty","discDLevel2Rate","discDLevel3Qty","discDLevel3Rate","discDLevel4Qty","discDLevel4Rate","discDLevel5Qty","discDLevel5Rate","discDLevel6Qty","discDLevel6Rate","discDLevel7Qty","discDLevel7Rate","discDLevel8Qty","discDLevel8Rate","discDLevel9Qty","discDLevel9Rate","discELevel10Qty","discELevel10Rate","discELevel1Qty","discELevel1Rate","discELevel2Qty","discELevel2Rate","discELevel3Qty","discELevel3Rate","discELevel4Qty","discELevel4Rate","discELevel5Qty","discELevel5Rate","discELevel6Qty","discELevel6Rate","discELevel7Qty","discELevel7Rate","discELevel8Qty","discELevel8Rate","discELevel9Qty","discELevel9Rate","externalUsage","firstTran","ignoreStkLvlFlag","inactiveFlag","intrastatCommodityCode","intrastatImportDutyCode","itemType","lastCostDiscount","lastOrderQuantity","lastPurchaseDate","lastPurchasePrice","lastSaleDate","lastTran","lastUpdated","linkLevel","location","noOfTran","nominalCode","priorYrCostBf","priorYrCostFuture","priorYrCostMth1","priorYrCostMth10","priorYrCostMth11","priorYrCostMth12","priorYrCostMth2","priorYrCostMth3","priorYrCostMth4","priorYrCostMth5","priorYrCostMth6","priorYrCostMth7","priorYrCostMth8","priorYrCostMth9","priorYrQtySoldBf","priorYrQtySoldFuture","priorYrQtySoldMth1","priorYrQtySoldMth10","priorYrQtySoldMth11","priorYrQtySoldMth12","priorYrQtySoldMth2","priorYrQtySoldMth3","priorYrQtySoldMth4","priorYrQtySoldMth5","priorYrQtySoldMth6","priorYrQtySoldMth7","priorYrQtySoldMth8","priorYrQtySoldMth9","priorYrSalesBf","priorYrSalesFuture","priorYrSalesMth1","priorYrSalesMth10","priorYrSalesMth11","priorYrSalesMth12","priorYrSalesMth2","priorYrSalesMth3","priorYrSalesMth4","priorYrSalesMth5","priorYrSalesMth6","priorYrSalesMth7","priorYrSalesMth8","priorYrSalesMth9","productBarcode","purchaseNominalCode","purchaseRef","qtyAllocated","qtyInStock","qtyLastOrder","qtyLastStockTake","qtyOnOrder","qtyReorder","qtyReorderLevel","qtySoldBf","qtySoldFuture","qtySoldMth1","qtySoldMth10","qtySoldMth11","qtySoldMth12","qtySoldMth2","qtySoldMth3","qtySoldMth4","qtySoldMth5","qtySoldMth6","qtySoldMth7","qtySoldMth8","qtySoldMth9","recordCreateDate","recordDeleted","recordModifyDate","salesBf","salesFuture","salesMth1","salesMth10","salesMth11","salesMth12","salesMth2","salesMth3","salesMth4","salesMth5","salesMth6","salesMth7","salesMth8","salesMth9","salesPrice","stockCat","stockCode","stockTakeDate","suppUnitQty","supplierPartNumber","taxCode","unitOfSale","unitWeight","webDescription","webImage","webLongdescription","webPublish","webSpecialOffer","id"],"additionalProperties":false},"Uk34_1_items_get":{"type":"object","properties":{"assemblyLevel":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Assembly level (SDO ASSEMBLY_LEVEL; Optional; precision 0)"},"averageCostPrice":{"type":"number","nullable":true,"description":"Average cost price (SDO AVERAGE_COST_PRICE; Optional; precision 101)"},"budgetQtySoldBf":{"type":"number","nullable":true,"description":"Brought forward budget quantity sold (SDO BUDGET_QTY_SOLD_BF; Optional; precision 102)"},"budgetQtySoldFuture":{"type":"number","nullable":true,"description":"Future budget quantity sold (SDO BUDGET_QTY_SOLD_FUTURE; Optional; precision 102)"},"budgetQtySoldMth1":{"type":"number","nullable":true,"description":"Month 1 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH1; Optional; precision 102)"},"budgetQtySoldMth10":{"type":"number","nullable":true,"description":"Month 10 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH10; Optional; precision 102)"},"budgetQtySoldMth11":{"type":"number","nullable":true,"description":"Month 11 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH11; Optional; precision 102)"},"budgetQtySoldMth12":{"type":"number","nullable":true,"description":"Month 12 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH12; Optional; precision 102)"},"budgetQtySoldMth2":{"type":"number","nullable":true,"description":"Month 2 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH2; Optional; precision 102)"},"budgetQtySoldMth3":{"type":"number","nullable":true,"description":"Month 3 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH3; Optional; precision 102)"},"budgetQtySoldMth4":{"type":"number","nullable":true,"description":"Month 4 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH4; Optional; precision 102)"},"budgetQtySoldMth5":{"type":"number","nullable":true,"description":"Month 5 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH5; Optional; precision 102)"},"budgetQtySoldMth6":{"type":"number","nullable":true,"description":"Month 6 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH6; Optional; precision 102)"},"budgetQtySoldMth7":{"type":"number","nullable":true,"description":"Month 7 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH7; Optional; precision 102)"},"budgetQtySoldMth8":{"type":"number","nullable":true,"description":"Month 8 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH8; Optional; precision 102)"},"budgetQtySoldMth9":{"type":"number","nullable":true,"description":"Month 9 budget quantity sold (SDO BUDGET_QTY_SOLD_MTH9; Optional; precision 102)"},"budgetSalesBf":{"type":"number","nullable":true,"description":"Brought forward budget sales (SDO BUDGET_SALES_BF; Optional; precision 2)"},"budgetSalesFuture":{"type":"number","nullable":true,"description":"Future budget sales (SDO BUDGET_SALES_FUTURE; Optional; precision 2)"},"budgetSalesMth1":{"type":"number","nullable":true,"description":"Month 1 budget sales (SDO BUDGET_SALES_MTH1; Optional; precision 2)"},"budgetSalesMth10":{"type":"number","nullable":true,"description":"Month 10 budget sales (SDO BUDGET_SALES_MTH10; Optional; precision 2)"},"budgetSalesMth11":{"type":"number","nullable":true,"description":"Month 11 budget sales (SDO BUDGET_SALES_MTH11; Optional; precision 2)"},"budgetSalesMth12":{"type":"number","nullable":true,"description":"Month 12 budget sales (SDO BUDGET_SALES_MTH12; Optional; precision 2)"},"budgetSalesMth2":{"type":"number","nullable":true,"description":"Month 2 budget sales (SDO BUDGET_SALES_MTH2; Optional; precision 2)"},"budgetSalesMth3":{"type":"number","nullable":true,"description":"Month 3 budget sales (SDO BUDGET_SALES_MTH3; Optional; precision 2)"},"budgetSalesMth4":{"type":"number","nullable":true,"description":"Month 4 budget sales (SDO BUDGET_SALES_MTH4; Optional; precision 2)"},"budgetSalesMth5":{"type":"number","nullable":true,"description":"Month 5 budget sales (SDO BUDGET_SALES_MTH5; Optional; precision 2)"},"budgetSalesMth6":{"type":"number","nullable":true,"description":"Month 6 budget sales (SDO BUDGET_SALES_MTH6; Optional; precision 2)"},"budgetSalesMth7":{"type":"number","nullable":true,"description":"Month 7 budget sales (SDO BUDGET_SALES_MTH7; Optional; precision 2)"},"budgetSalesMth8":{"type":"number","nullable":true,"description":"Month 8 budget sales (SDO BUDGET_SALES_MTH8; Optional; precision 2)"},"budgetSalesMth9":{"type":"number","nullable":true,"description":"Month 9 budget sales (SDO BUDGET_SALES_MTH9; Optional; precision 2)"},"commodityCode":{"type":"string","nullable":true,"maxLength":30,"description":"Commodity code description (SDO COMMODITY_CODE; Optional; precision 0)"},"componentCode1":{"type":"string","nullable":true,"maxLength":30,"description":"Component 1 stock code (SDO COMPONENT_CODE_1; Optional; precision 0)"},"componentCode10":{"type":"string","nullable":true,"maxLength":30,"description":"Component 10 stock code (SDO COMPONENT_CODE_10; Optional; precision 0)"},"componentCode11":{"type":"string","nullable":true,"maxLength":30,"description":"Component 11 stock code (SDO COMPONENT_Code_11; Optional; precision 0)"},"componentCode12":{"type":"string","nullable":true,"maxLength":30,"description":"Component 12 stock code (SDO COMPONENT_Code_12; Optional; precision 0)"},"componentCode13":{"type":"string","nullable":true,"maxLength":30,"description":"Component 13 stock code (SDO COMPONENT_Code_13; Optional; precision 0)"},"componentCode14":{"type":"string","nullable":true,"maxLength":30,"description":"Component 14 stock code (SDO COMPONENT_Code_14; Optional; precision 0)"},"componentCode15":{"type":"string","nullable":true,"maxLength":30,"description":"Component 15 stock code (SDO COMPONENT_Code_15; Optional; precision 0)"},"componentCode16":{"type":"string","nullable":true,"maxLength":30,"description":"Component 16 stock code (SDO COMPONENT_Code_16; Optional; precision 0)"},"componentCode17":{"type":"string","nullable":true,"maxLength":30,"description":"Component 17 stock code (SDO COMPONENT_Code_17; Optional; precision 0)"},"componentCode18":{"type":"string","nullable":true,"maxLength":30,"description":"Component 18 stock code (SDO COMPONENT_Code_18; Optional; precision 0)"},"componentCode19":{"type":"string","nullable":true,"maxLength":30,"description":"Component 19 stock code (SDO COMPONENT_Code_19; Optional; precision 0)"},"componentCode2":{"type":"string","nullable":true,"maxLength":30,"description":"Component 2 stock code (SDO COMPONENT_CODE_2; Optional; precision 0)"},"componentCode20":{"type":"string","nullable":true,"maxLength":30,"description":"Component 20 stock code (SDO COMPONENT_CODE_20; Optional; precision 0)"},"componentCode21":{"type":"string","nullable":true,"maxLength":30,"description":"Component 21 stock code (SDO COMPONENT_Code_21; Optional; precision 0)"},"componentCode22":{"type":"string","nullable":true,"maxLength":30,"description":"Component 22 stock code (SDO COMPONENT_Code_22; Optional; precision 0)"},"componentCode23":{"type":"string","nullable":true,"maxLength":30,"description":"Component 23 stock code (SDO COMPONENT_Code_23; Optional; precision 0)"},"componentCode24":{"type":"string","nullable":true,"maxLength":30,"description":"Component 24 stock code (SDO COMPONENT_Code_24; Optional; precision 0)"},"componentCode25":{"type":"string","nullable":true,"maxLength":30,"description":"Component 25 stock code (SDO COMPONENT_Code_25; Optional; precision 0)"},"componentCode26":{"type":"string","nullable":true,"maxLength":30,"description":"Component 26 stock code (SDO COMPONENT_Code_26; Optional; precision 0)"},"componentCode27":{"type":"string","nullable":true,"maxLength":30,"description":"Component 27 stock code (SDO COMPONENT_Code_27; Optional; precision 0)"},"componentCode28":{"type":"string","nullable":true,"maxLength":30,"description":"Component 28 stock code (SDO COMPONENT_Code_28; Optional; precision 0)"},"componentCode29":{"type":"string","nullable":true,"maxLength":30,"description":"Component 29 stock code (SDO COMPONENT_Code_29; Optional; precision 0)"},"componentCode3":{"type":"string","nullable":true,"maxLength":30,"description":"Component 3 stock code (SDO COMPONENT_CODE_3; Optional; precision 0)"},"componentCode30":{"type":"string","nullable":true,"maxLength":30,"description":"Component 30 stock code (SDO COMPONENT_CODE_30; Optional; precision 0)"},"componentCode31":{"type":"string","nullable":true,"maxLength":30,"description":"Component 31 stock code (SDO COMPONENT_Code_31; Optional; precision 0)"},"componentCode32":{"type":"string","nullable":true,"maxLength":30,"description":"Component 32 stock code (SDO COMPONENT_Code_32; Optional; precision 0)"},"componentCode33":{"type":"string","nullable":true,"maxLength":30,"description":"Component 33 stock code (SDO COMPONENT_Code_33; Optional; precision 0)"},"componentCode34":{"type":"string","nullable":true,"maxLength":30,"description":"Component 34 stock code (SDO COMPONENT_Code_34; Optional; precision 0)"},"componentCode35":{"type":"string","nullable":true,"maxLength":30,"description":"Component 35 stock code (SDO COMPONENT_Code_35; Optional; precision 0)"},"componentCode36":{"type":"string","nullable":true,"maxLength":30,"description":"Component 36 stock code (SDO COMPONENT_Code_36; Optional; precision 0)"},"componentCode37":{"type":"string","nullable":true,"maxLength":30,"description":"Component 37 stock code (SDO COMPONENT_Code_37; Optional; precision 0)"},"componentCode38":{"type":"string","nullable":true,"maxLength":30,"description":"Component 38 stock code (SDO COMPONENT_Code_38; Optional; precision 0)"},"componentCode39":{"type":"string","nullable":true,"maxLength":30,"description":"Component 39 stock code (SDO COMPONENT_Code_39; Optional; precision 0)"},"componentCode4":{"type":"string","nullable":true,"maxLength":30,"description":"Component 4 stock code (SDO COMPONENT_CODE_4; Optional; precision 0)"},"componentCode40":{"type":"string","nullable":true,"maxLength":30,"description":"Component 40 stock code (SDO COMPONENT_CODE_40; Optional; precision 0)"},"componentCode41":{"type":"string","nullable":true,"maxLength":30,"description":"Component 41 stock code (SDO COMPONENT_Code_41; Optional; precision 0)"},"componentCode42":{"type":"string","nullable":true,"maxLength":30,"description":"Component 42 stock code (SDO COMPONENT_Code_42; Optional; precision 0)"},"componentCode43":{"type":"string","nullable":true,"maxLength":30,"description":"Component 43 stock code (SDO COMPONENT_Code_43; Optional; precision 0)"},"componentCode44":{"type":"string","nullable":true,"maxLength":30,"description":"Component 44 stock code (SDO COMPONENT_Code_44; Optional; precision 0)"},"componentCode45":{"type":"string","nullable":true,"maxLength":30,"description":"Component 45 stock code (SDO COMPONENT_Code_45; Optional; precision 0)"},"componentCode46":{"type":"string","nullable":true,"maxLength":30,"description":"Component 46 stock code (SDO COMPONENT_Code_46; Optional; precision 0)"},"componentCode47":{"type":"string","nullable":true,"maxLength":30,"description":"Component 47 stock code (SDO COMPONENT_Code_47; Optional; precision 0)"},"componentCode48":{"type":"string","nullable":true,"maxLength":30,"description":"Component 48 stock code (SDO COMPONENT_Code_48; Optional; precision 0)"},"componentCode49":{"type":"string","nullable":true,"maxLength":30,"description":"Component 49 stock code (SDO COMPONENT_Code_49; Optional; precision 0)"},"componentCode5":{"type":"string","nullable":true,"maxLength":30,"description":"Component 5 stock code (SDO COMPONENT_CODE_5; Optional; precision 0)"},"componentCode50":{"type":"string","nullable":true,"maxLength":30,"description":"Component 50 stock code (SDO COMPONENT_Code_50; Optional; precision 0)"},"componentCode6":{"type":"string","nullable":true,"maxLength":30,"description":"Component 6 stock code (SDO COMPONENT_CODE_6; Optional; precision 0)"},"componentCode7":{"type":"string","nullable":true,"maxLength":30,"description":"Component 7 stock code (SDO COMPONENT_CODE_7; Optional; precision 0)"},"componentCode8":{"type":"string","nullable":true,"maxLength":30,"description":"Component 8 stock code (SDO COMPONENT_CODE_8; Optional; precision 0)"},"componentCode9":{"type":"string","nullable":true,"maxLength":30,"description":"Component 9 stock code (SDO COMPONENT_CODE_9; Optional; precision 0)"},"componentQty1":{"type":"number","nullable":true,"description":"Component 1 quantity (SDO COMPONENT_QTY_1; Optional; precision 102)"},"componentQty10":{"type":"number","nullable":true,"description":"Component 10 quantity (SDO COMPONENT_QTY_10; Optional; precision 102)"},"componentQty11":{"type":"number","nullable":true,"description":"Component 11 quantity (SDO COMPONENT_QTY_11; Optional; precision 102)"},"componentQty12":{"type":"number","nullable":true,"description":"Component 12 quantity (SDO COMPONENT_QTY_12; Optional; precision 102)"},"componentQty13":{"type":"number","nullable":true,"description":"Component 13 quantity (SDO COMPONENT_QTY_13; Optional; precision 102)"},"componentQty14":{"type":"number","nullable":true,"description":"Component 14 quantity (SDO COMPONENT_QTY_14; Optional; precision 102)"},"componentQty15":{"type":"number","nullable":true,"description":"Component 15 quantity (SDO COMPONENT_QTY_15; Optional; precision 102)"},"componentQty16":{"type":"number","nullable":true,"description":"Component 16 quantity (SDO COMPONENT_QTY_16; Optional; precision 102)"},"componentQty17":{"type":"number","nullable":true,"description":"Component 17 quantity (SDO COMPONENT_QTY_17; Optional; precision 102)"},"componentQty18":{"type":"number","nullable":true,"description":"Component 18 quantity (SDO COMPONENT_QTY_18; Optional; precision 102)"},"componentQty19":{"type":"number","nullable":true,"description":"Component 19 quantity (SDO COMPONENT_QTY_19; Optional; precision 102)"},"componentQty2":{"type":"number","nullable":true,"description":"Component 2 quantity (SDO COMPONENT_QTY_2; Optional; precision 102)"},"componentQty20":{"type":"number","nullable":true,"description":"Component 20 quantity (SDO COMPONENT_QTY_20; Optional; precision 102)"},"componentQty21":{"type":"number","nullable":true,"description":"Component 21 quantity (SDO COMPONENT_QTY_21; Optional; precision 102)"},"componentQty22":{"type":"number","nullable":true,"description":"Component 22 quantity (SDO COMPONENT_QTY_22; Optional; precision 102)"},"componentQty23":{"type":"number","nullable":true,"description":"Component 23 quantity (SDO COMPONENT_QTY_23; Optional; precision 102)"},"componentQty24":{"type":"number","nullable":true,"description":"Component 24 quantity (SDO COMPONENT_QTY_24; Optional; precision 102)"},"componentQty25":{"type":"number","nullable":true,"description":"Component 25 quantity (SDO COMPONENT_QTY_25; Optional; precision 102)"},"componentQty26":{"type":"number","nullable":true,"description":"Component 26 quantity (SDO COMPONENT_QTY_26; Optional; precision 102)"},"componentQty27":{"type":"number","nullable":true,"description":"Component 27 quantity (SDO COMPONENT_QTY_27; Optional; precision 102)"},"componentQty28":{"type":"number","nullable":true,"description":"Component 28 quantity (SDO COMPONENT_QTY_28; Optional; precision 102)"},"componentQty29":{"type":"number","nullable":true,"description":"Component 29 quantity (SDO COMPONENT_QTY_29; Optional; precision 102)"},"componentQty3":{"type":"number","nullable":true,"description":"Component 3 quantity (SDO COMPONENT_QTY_3; Optional; precision 102)"},"componentQty30":{"type":"number","nullable":true,"description":"Component 30 quantity (SDO COMPONENT_QTY_30; Optional; precision 102)"},"componentQty31":{"type":"number","nullable":true,"description":"Component 31 quantity (SDO COMPONENT_QTY_31; Optional; precision 102)"},"componentQty32":{"type":"number","nullable":true,"description":"Component 32 quantity (SDO COMPONENT_QTY_32; Optional; precision 102)"},"componentQty33":{"type":"number","nullable":true,"description":"Component 33 quantity (SDO COMPONENT_QTY_33; Optional; precision 102)"},"componentQty34":{"type":"number","nullable":true,"description":"Component 34 quantity (SDO COMPONENT_QTY_34; Optional; precision 102)"},"componentQty35":{"type":"number","nullable":true,"description":"Component 35 quantity (SDO COMPONENT_QTY_35; Optional; precision 102)"},"componentQty36":{"type":"number","nullable":true,"description":"Component 36 quantity (SDO COMPONENT_QTY_36; Optional; precision 102)"},"componentQty37":{"type":"number","nullable":true,"description":"Component 37 quantity (SDO COMPONENT_QTY_37; Optional; precision 102)"},"componentQty38":{"type":"number","nullable":true,"description":"Component 38 quantity (SDO COMPONENT_QTY_38; Optional; precision 102)"},"componentQty39":{"type":"number","nullable":true,"description":"Component 39 quantity (SDO COMPONENT_QTY_39; Optional; precision 102)"},"componentQty4":{"type":"number","nullable":true,"description":"Component 4 quantity (SDO COMPONENT_QTY_4; Optional; precision 102)"},"componentQty40":{"type":"number","nullable":true,"description":"Component 40 quantity (SDO COMPONENT_QTY_40; Optional; precision 102)"},"componentQty41":{"type":"number","nullable":true,"description":"Component 41 quantity (SDO COMPONENT_QTY_41; Optional; precision 102)"},"componentQty42":{"type":"number","nullable":true,"description":"Component 42 quantity (SDO COMPONENT_QTY_42; Optional; precision 102)"},"componentQty43":{"type":"number","nullable":true,"description":"Component 43 quantity (SDO COMPONENT_QTY_43; Optional; precision 102)"},"componentQty44":{"type":"number","nullable":true,"description":"Component 44 quantity (SDO COMPONENT_QTY_44; Optional; precision 102)"},"componentQty45":{"type":"number","nullable":true,"description":"Component 45 quantity (SDO COMPONENT_QTY_45; Optional; precision 102)"},"componentQty46":{"type":"number","nullable":true,"description":"Component 46 quantity (SDO COMPONENT_QTY_46; Optional; precision 102)"},"componentQty47":{"type":"number","nullable":true,"description":"Component 47 quantity (SDO COMPONENT_QTY_47; Optional; precision 102)"},"componentQty48":{"type":"number","nullable":true,"description":"Component 48 quantity (SDO COMPONENT_QTY_48; Optional; precision 102)"},"componentQty49":{"type":"number","nullable":true,"description":"Component 49 quantity (SDO COMPONENT_QTY_49; Optional; precision 102)"},"componentQty5":{"type":"number","nullable":true,"description":"Component 5 quantity (SDO COMPONENT_QTY_5; Optional; precision 102)"},"componentQty50":{"type":"number","nullable":true,"description":"Component 50 quantity (SDO COMPONENT_QTY_50; Optional; precision 102)"},"componentQty6":{"type":"number","nullable":true,"description":"Component 6 quantity (SDO COMPONENT_QTY_6; Optional; precision 102)"},"componentQty7":{"type":"number","nullable":true,"description":"Component 7 quantity (SDO COMPONENT_QTY_7; Optional; precision 102)"},"componentQty8":{"type":"number","nullable":true,"description":"Component 8 quantity (SDO COMPONENT_QTY_8; Optional; precision 102)"},"componentQty9":{"type":"number","nullable":true,"description":"Component 9 quantity (SDO COMPONENT_QTY_9; Optional; precision 102)"},"costBf":{"type":"number","nullable":true,"description":"Brought forward costs (SDO COST_BF; Optional; precision 2)"},"costFuture":{"type":"number","nullable":true,"description":"Future costs (SDO COST_FUTURE; Optional; precision 2)"},"costMth1":{"type":"number","nullable":true,"description":"Month 1 costs (SDO COST_MTH1; Optional; precision 2)"},"costMth10":{"type":"number","nullable":true,"description":"Month 10 costs (SDO COST_MTH10; Optional; precision 2)"},"costMth11":{"type":"number","nullable":true,"description":"Month 11 costs (SDO COST_MTH11; Optional; precision 2)"},"costMth12":{"type":"number","nullable":true,"description":"Month 12 costs (SDO COST_MTH12; Optional; precision 2)"},"costMth2":{"type":"number","nullable":true,"description":"Month 2 costs (SDO COST_MTH2; Optional; precision 2)"},"costMth3":{"type":"number","nullable":true,"description":"Month 3 costs (SDO COST_MTH3; Optional; precision 2)"},"costMth4":{"type":"number","nullable":true,"description":"Month 4 costs (SDO COST_MTH4; Optional; precision 2)"},"costMth5":{"type":"number","nullable":true,"description":"Month 5 costs (SDO COST_MTH5; Optional; precision 2)"},"costMth6":{"type":"number","nullable":true,"description":"Month 6 costs (SDO COST_MTH6; Optional; precision 2)"},"costMth7":{"type":"number","nullable":true,"description":"Month 7 costs (SDO COST_MTH7; Optional; precision 2)"},"costMth8":{"type":"number","nullable":true,"description":"Month 8 costs (SDO COST_MTH8; Optional; precision 2)"},"costMth9":{"type":"number","nullable":true,"description":"Month 9 costs (SDO COST_MTH9; Optional; precision 2)"},"countryCodeOfOrigin":{"type":"string","nullable":true,"maxLength":2,"description":"Country of Origin (SDO COUNTRY_CODE_OF_ORIGIN; Optional; precision 0)"},"custom1":{"type":"string","nullable":true,"maxLength":60,"description":"Custom Field 1 (SDO CUSTOM_1; Optional; precision 0)"},"custom2":{"type":"string","nullable":true,"maxLength":60,"description":"Custom Field 2 (SDO CUSTOM_2; Optional; precision 0)"},"custom3":{"type":"string","nullable":true,"maxLength":60,"description":"Custom Field 3 (SDO CUSTOM_3; Optional; precision 0)"},"deletedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Is Deleted (SDO DELETED_FLAG; Optional; precision 0)"},"deptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Department number (SDO DEPT_NUMBER; Optional; precision 0)"},"description":{"type":"string","nullable":true,"maxLength":120,"description":"Description (SDO DESCRIPTION; Optional; precision 0)"},"discALevel10Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 10, Quantity (SDO DISC_A_LEVEL_10_QTY; Optional; precision 102)"},"discALevel10Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 10, Rate (SDO DISC_A_LEVEL_10_RATE; Optional; precision 2)"},"discALevel1Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 1, Quantity (SDO DISC_A_LEVEL_1_QTY; Optional; precision 102)"},"discALevel1Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 1, Rate (SDO DISC_A_LEVEL_1_RATE; Optional; precision 2)"},"discALevel2Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 2, Quantity (SDO DISC_A_LEVEL_2_QTY; Optional; precision 102)"},"discALevel2Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 2, Rate (SDO DISC_A_LEVEL_2_RATE; Optional; precision 2)"},"discALevel3Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 3, Quantity (SDO DISC_A_LEVEL_3_QTY; Optional; precision 102)"},"discALevel3Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 3, Rate (SDO DISC_A_LEVEL_3_RATE; Optional; precision 2)"},"discALevel4Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 4, Quantity (SDO DISC_A_LEVEL_4_QTY; Optional; precision 102)"},"discALevel4Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 4, Rate (SDO DISC_A_LEVEL_4_RATE; Optional; precision 2)"},"discALevel5Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 5, Quantity (SDO DISC_A_LEVEL_5_QTY; Optional; precision 102)"},"discALevel5Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 5, Rate (SDO DISC_A_LEVEL_5_RATE; Optional; precision 2)"},"discALevel6Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 6, Quantity (SDO DISC_A_LEVEL_6_QTY; Optional; precision 102)"},"discALevel6Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 6, Rate (SDO DISC_A_LEVEL_6_RATE; Optional; precision 2)"},"discALevel7Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 7, Quantity (SDO DISC_A_LEVEL_7_QTY; Optional; precision 102)"},"discALevel7Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 7, Rate (SDO DISC_A_LEVEL_7_RATE; Optional; precision 2)"},"discALevel8Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 8, Quantity (SDO DISC_A_LEVEL_8_QTY; Optional; precision 102)"},"discALevel8Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 8, Rate (SDO DISC_A_LEVEL_8_RATE; Optional; precision 2)"},"discALevel9Qty":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 9, Quantity (SDO DISC_A_LEVEL_9_QTY; Optional; precision 102)"},"discALevel9Rate":{"type":"number","nullable":true,"description":"Discount Table A, Break Level 9, Rate (SDO DISC_A_LEVEL_9_RATE; Optional; precision 2)"},"discBLevel10Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 10, Quantity (SDO DISC_B_LEVEL_10_QTY; Optional; precision 102)"},"discBLevel10Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 10, Rate (SDO DISC_B_LEVEL_10_RATE; Optional; precision 2)"},"discBLevel1Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 1, Quantity (SDO DISC_B_LEVEL_1_QTY; Optional; precision 102)"},"discBLevel1Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 1, Rate (SDO DISC_B_LEVEL_1_RATE; Optional; precision 2)"},"discBLevel2Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 2, Quantity (SDO DISC_B_LEVEL_2_QTY; Optional; precision 102)"},"discBLevel2Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 2, Rate (SDO DISC_B_LEVEL_2_RATE; Optional; precision 2)"},"discBLevel3Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 3, Quantity (SDO DISC_B_LEVEL_3_QTY; Optional; precision 102)"},"discBLevel3Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 3, Rate (SDO DISC_B_LEVEL_3_RATE; Optional; precision 2)"},"discBLevel4Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 4, Quantity (SDO DISC_B_LEVEL_4_QTY; Optional; precision 102)"},"discBLevel4Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 4, Rate (SDO DISC_B_LEVEL_4_RATE; Optional; precision 2)"},"discBLevel5Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 5, Quantity (SDO DISC_B_LEVEL_5_QTY; Optional; precision 102)"},"discBLevel5Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 5, Rate (SDO DISC_B_LEVEL_5_RATE; Optional; precision 2)"},"discBLevel6Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 6, Quantity (SDO DISC_B_LEVEL_6_QTY; Optional; precision 102)"},"discBLevel6Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 6, Rate (SDO DISC_B_LEVEL_6_RATE; Optional; precision 2)"},"discBLevel7Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 7, Quantity (SDO DISC_B_LEVEL_7_QTY; Optional; precision 102)"},"discBLevel7Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 7, Rate (SDO DISC_B_LEVEL_7_RATE; Optional; precision 2)"},"discBLevel8Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 8, Quantity (SDO DISC_B_LEVEL_8_QTY; Optional; precision 102)"},"discBLevel8Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 8, Rate (SDO DISC_B_LEVEL_8_RATE; Optional; precision 2)"},"discBLevel9Qty":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 9, Quantity (SDO DISC_B_LEVEL_9_QTY; Optional; precision 102)"},"discBLevel9Rate":{"type":"number","nullable":true,"description":"Discount Table B, Break Level 9, Rate (SDO DISC_B_LEVEL_9_RATE; Optional; precision 2)"},"discCLevel10Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 10, Quantity (SDO DISC_C_LEVEL_10_QTY; Optional; precision 102)"},"discCLevel10Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 10, Rate (SDO DISC_C_LEVEL_10_RATE; Optional; precision 2)"},"discCLevel1Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 1, Quantity (SDO DISC_C_LEVEL_1_QTY; Optional; precision 102)"},"discCLevel1Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 1, Rate (SDO DISC_C_LEVEL_1_RATE; Optional; precision 2)"},"discCLevel2Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 2, Quantity (SDO DISC_C_LEVEL_2_QTY; Optional; precision 102)"},"discCLevel2Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 2, Rate (SDO DISC_C_LEVEL_2_RATE; Optional; precision 2)"},"discCLevel3Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 3, Quantity (SDO DISC_C_LEVEL_3_QTY; Optional; precision 102)"},"discCLevel3Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 3, Rate (SDO DISC_C_LEVEL_3_RATE; Optional; precision 2)"},"discCLevel4Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 4, Quantity (SDO DISC_C_LEVEL_4_QTY; Optional; precision 102)"},"discCLevel4Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 4, Rate (SDO DISC_C_LEVEL_4_RATE; Optional; precision 2)"},"discCLevel5Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 5, Quantity (SDO DISC_C_LEVEL_5_QTY; Optional; precision 102)"},"discCLevel5Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 5, Rate (SDO DISC_C_LEVEL_5_RATE; Optional; precision 2)"},"discCLevel6Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 6, Quantity (SDO DISC_C_LEVEL_6_QTY; Optional; precision 102)"},"discCLevel6Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 6, Rate (SDO DISC_C_LEVEL_6_RATE; Optional; precision 2)"},"discCLevel7Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 7, Quantity (SDO DISC_C_LEVEL_7_QTY; Optional; precision 102)"},"discCLevel7Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 7, Rate (SDO DISC_C_LEVEL_7_RATE; Optional; precision 2)"},"discCLevel8Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 8, Quantity (SDO DISC_C_LEVEL_8_QTY; Optional; precision 102)"},"discCLevel8Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 8, Rate (SDO DISC_C_LEVEL_8_RATE; Optional; precision 2)"},"discCLevel9Qty":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 9, Quantity (SDO DISC_C_LEVEL_9_QTY; Optional; precision 102)"},"discCLevel9Rate":{"type":"number","nullable":true,"description":"Discount Table C, Break Level 9, Rate (SDO DISC_C_LEVEL_9_RATE; Optional; precision 2)"},"discDLevel10Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 10, Quantity (SDO DISC_D_LEVEL_10_QTY; Optional; precision 102)"},"discDLevel10Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 10, Rate (SDO DISC_D_LEVEL_10_RATE; Optional; precision 2)"},"discDLevel1Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 1, Quantity (SDO DISC_D_LEVEL_1_QTY; Optional; precision 102)"},"discDLevel1Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 1, Rate (SDO DISC_D_LEVEL_1_RATE; Optional; precision 2)"},"discDLevel2Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 2, Quantity (SDO DISC_D_LEVEL_2_QTY; Optional; precision 102)"},"discDLevel2Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 2, Rate (SDO DISC_D_LEVEL_2_RATE; Optional; precision 2)"},"discDLevel3Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 3, Quantity (SDO DISC_D_LEVEL_3_QTY; Optional; precision 102)"},"discDLevel3Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 3, Rate (SDO DISC_D_LEVEL_3_RATE; Optional; precision 2)"},"discDLevel4Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 4, Quantity (SDO DISC_D_LEVEL_4_QTY; Optional; precision 102)"},"discDLevel4Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 4, Rate (SDO DISC_D_LEVEL_4_RATE; Optional; precision 2)"},"discDLevel5Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 5, Quantity (SDO DISC_D_LEVEL_5_QTY; Optional; precision 102)"},"discDLevel5Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 5, Rate (SDO DISC_D_LEVEL_5_RATE; Optional; precision 2)"},"discDLevel6Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 6, Quantity (SDO DISC_D_LEVEL_6_QTY; Optional; precision 102)"},"discDLevel6Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 6, Rate (SDO DISC_D_LEVEL_6_RATE; Optional; precision 2)"},"discDLevel7Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 7, Quantity (SDO DISC_D_LEVEL_7_QTY; Optional; precision 102)"},"discDLevel7Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 7, Rate (SDO DISC_D_LEVEL_7_RATE; Optional; precision 2)"},"discDLevel8Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 8, Quantity (SDO DISC_D_LEVEL_8_QTY; Optional; precision 102)"},"discDLevel8Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 8, Rate (SDO DISC_D_LEVEL_8_RATE; Optional; precision 2)"},"discDLevel9Qty":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 9, Quantity (SDO DISC_D_LEVEL_9_QTY; Optional; precision 102)"},"discDLevel9Rate":{"type":"number","nullable":true,"description":"Discount Table D, Break Level 9, Rate (SDO DISC_D_LEVEL_9_RATE; Optional; precision 2)"},"discELevel10Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 10, Quantity (SDO DISC_E_LEVEL_10_QTY; Optional; precision 102)"},"discELevel10Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 10, Rate (SDO DISC_E_LEVEL_10_RATE; Optional; precision 2)"},"discELevel1Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 1, Quantity (SDO DISC_E_LEVEL_1_QTY; Optional; precision 102)"},"discELevel1Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 1, Rate (SDO DISC_E_LEVEL_1_RATE; Optional; precision 2)"},"discELevel2Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 2, Quantity (SDO DISC_E_LEVEL_2_QTY; Optional; precision 102)"},"discELevel2Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 2, Rate (SDO DISC_E_LEVEL_2_RATE; Optional; precision 2)"},"discELevel3Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 3, Quantity (SDO DISC_E_LEVEL_3_QTY; Optional; precision 102)"},"discELevel3Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 3, Rate (SDO DISC_E_LEVEL_3_RATE; Optional; precision 2)"},"discELevel4Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 4, Quantity (SDO DISC_E_LEVEL_4_QTY; Optional; precision 102)"},"discELevel4Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 4, Rate (SDO DISC_E_LEVEL_4_RATE; Optional; precision 2)"},"discELevel5Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 5, Quantity (SDO DISC_E_LEVEL_5_QTY; Optional; precision 102)"},"discELevel5Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 5, Rate (SDO DISC_E_LEVEL_5_RATE; Optional; precision 2)"},"discELevel6Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 6, Quantity (SDO DISC_E_LEVEL_6_QTY; Optional; precision 102)"},"discELevel6Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 6, Rate (SDO DISC_E_LEVEL_6_RATE; Optional; precision 2)"},"discELevel7Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 7, Quantity (SDO DISC_E_LEVEL_7_QTY; Optional; precision 102)"},"discELevel7Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 7, Rate (SDO DISC_E_LEVEL_7_RATE; Optional; precision 2)"},"discELevel8Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 8, Quantity (SDO DISC_E_LEVEL_8_QTY; Optional; precision 102)"},"discELevel8Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 8, Rate (SDO DISC_E_LEVEL_8_RATE; Optional; precision 2)"},"discELevel9Qty":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 9, Quantity (SDO DISC_E_LEVEL_9_QTY; Optional; precision 102)"},"discELevel9Rate":{"type":"number","nullable":true,"description":"Discount Table E, Break Level 9, Rate (SDO DISC_E_LEVEL_9_RATE; Optional; precision 2)"},"externalUsage":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Number of External Usages (SDO EXTERNAL_USAGE; Optional; precision 0)"},"firstTran":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO FIRST_TRAN; Optional; precision 0)"},"ignoreStkLvlFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Ignore stock level flag (SDO IGNORE_STK_LVL_FLAG; Optional; precision 0)"},"inactiveFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Inactive Flag - Yes/No (SDO INACTIVE_FLAG; Optional; precision 0)"},"intrastatCommodityCode":{"type":"string","nullable":true,"maxLength":8,"description":"Intrastat Commodity code (SDO INTRASTAT_COMMODITY_CODE; Optional; precision 0)"},"intrastatImportDutyCode":{"type":"string","nullable":true,"maxLength":2,"description":"Intrastat Import Duty code (SDO INTRASTAT_IMPORT_DUTY_CODE; Optional; precision 0)"},"itemType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Item Type (SDO ITEM_TYPE; Optional; precision 0)"},"lastCostDiscount":{"type":"number","nullable":true,"description":"Last Cost Discounted (SDO LAST_COST_DISCOUNT; Optional; precision 101)"},"lastOrderQuantity":{"type":"number","nullable":true,"description":"Last Order Quantity (SDO LAST_ORDER_QUANTITY; Optional; precision 101)"},"lastPurchaseDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Last purchase date (SDO LAST_PURCHASE_DATE; Optional; precision 0)"},"lastPurchasePrice":{"type":"number","nullable":true,"description":"Last purchase price (SDO LAST_PURCHASE_PRICE; Optional; precision 101)"},"lastSaleDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Last sale date (SDO LAST_SALE_DATE; Optional; precision 0)"},"lastTran":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO LAST_TRAN; Optional; precision 0)"},"lastUpdated":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date of last update (SDO LAST_UPDATED; Optional; precision 0)"},"linkLevel":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Link level (SDO LINK_LEVEL; Optional; precision 0)"},"location":{"type":"string","nullable":true,"maxLength":16,"description":"Location (SDO LOCATION; Optional; precision 0)"},"noOfTran":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO NO_OF_TRAN; Optional; precision 0)"},"nominalCode":{"type":"string","nullable":true,"maxLength":8,"description":"Sales Nominal code (SDO NOMINAL_CODE; Optional; precision 0)"},"priorYrCostBf":{"type":"number","nullable":true,"description":"Prior year brought forward costs (SDO PRIOR_YR_COST_BF; Optional; precision 2)"},"priorYrCostFuture":{"type":"number","nullable":true,"description":"Prior year future costs (SDO PRIOR_YR_COST_FUTURE; Optional; precision 2)"},"priorYrCostMth1":{"type":"number","nullable":true,"description":"Prior year month 1 costs (SDO PRIOR_YR_COST_MTH1; Optional; precision 2)"},"priorYrCostMth10":{"type":"number","nullable":true,"description":"Prior year month 10 costs (SDO PRIOR_YR_COST_MTH10; Optional; precision 2)"},"priorYrCostMth11":{"type":"number","nullable":true,"description":"Prior year month 11 costs (SDO PRIOR_YR_COST_MTH11; Optional; precision 2)"},"priorYrCostMth12":{"type":"number","nullable":true,"description":"Prior year month 12 costs (SDO PRIOR_YR_COST_MTH12; Optional; precision 2)"},"priorYrCostMth2":{"type":"number","nullable":true,"description":"Prior year month 2 costs (SDO PRIOR_YR_COST_MTH2; Optional; precision 2)"},"priorYrCostMth3":{"type":"number","nullable":true,"description":"Prior year month 3 costs (SDO PRIOR_YR_COST_MTH3; Optional; precision 2)"},"priorYrCostMth4":{"type":"number","nullable":true,"description":"Prior year month 4 costs (SDO PRIOR_YR_COST_MTH4; Optional; precision 2)"},"priorYrCostMth5":{"type":"number","nullable":true,"description":"Prior year month 5 costs (SDO PRIOR_YR_COST_MTH5; Optional; precision 2)"},"priorYrCostMth6":{"type":"number","nullable":true,"description":"Prior year month 6 costs (SDO PRIOR_YR_COST_MTH6; Optional; precision 2)"},"priorYrCostMth7":{"type":"number","nullable":true,"description":"Prior year month 7 costs (SDO PRIOR_YR_COST_MTH7; Optional; precision 2)"},"priorYrCostMth8":{"type":"number","nullable":true,"description":"Prior year month 8 costs (SDO PRIOR_YR_COST_MTH8; Optional; precision 2)"},"priorYrCostMth9":{"type":"number","nullable":true,"description":"Prior year month 9 costs (SDO PRIOR_YR_COST_MTH9; Optional; precision 2)"},"priorYrQtySoldBf":{"type":"number","nullable":true,"description":"Prior year brought forward quantity sold (SDO PRIOR_YR_QTY_SOLD_BF; Optional; precision 102)"},"priorYrQtySoldFuture":{"type":"number","nullable":true,"description":"Prior year future quantity sold (SDO PRIOR_YR_QTY_SOLD_FUTURE; Optional; precision 102)"},"priorYrQtySoldMth1":{"type":"number","nullable":true,"description":"Prior year month 1 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH1; Optional; precision 102)"},"priorYrQtySoldMth10":{"type":"number","nullable":true,"description":"Prior year month 10 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH10; Optional; precision 102)"},"priorYrQtySoldMth11":{"type":"number","nullable":true,"description":"Prior year month 11 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH11; Optional; precision 102)"},"priorYrQtySoldMth12":{"type":"number","nullable":true,"description":"Prior year month 12 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH12; Optional; precision 102)"},"priorYrQtySoldMth2":{"type":"number","nullable":true,"description":"Prior year month 2 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH2; Optional; precision 102)"},"priorYrQtySoldMth3":{"type":"number","nullable":true,"description":"Prior year month 3 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH3; Optional; precision 102)"},"priorYrQtySoldMth4":{"type":"number","nullable":true,"description":"Prior year month 4 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH4; Optional; precision 102)"},"priorYrQtySoldMth5":{"type":"number","nullable":true,"description":"Prior year month 5 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH5; Optional; precision 102)"},"priorYrQtySoldMth6":{"type":"number","nullable":true,"description":"Prior year month 6 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH6; Optional; precision 102)"},"priorYrQtySoldMth7":{"type":"number","nullable":true,"description":"Prior year month 7 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH7; Optional; precision 102)"},"priorYrQtySoldMth8":{"type":"number","nullable":true,"description":"Prior year month 8 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH8; Optional; precision 102)"},"priorYrQtySoldMth9":{"type":"number","nullable":true,"description":"Prior year month 9 quantity sold (SDO PRIOR_YR_QTY_SOLD_MTH9; Optional; precision 102)"},"priorYrSalesBf":{"type":"number","nullable":true,"description":"Prior year brought forward sales (SDO PRIOR_YR_SALES_BF; Optional; precision 2)"},"priorYrSalesFuture":{"type":"number","nullable":true,"description":"Prior year future sales (SDO PRIOR_YR_SALES_FUTURE; Optional; precision 2)"},"priorYrSalesMth1":{"type":"number","nullable":true,"description":"Prior year month 1 sales (SDO PRIOR_YR_SALES_MTH1; Optional; precision 2)"},"priorYrSalesMth10":{"type":"number","nullable":true,"description":"Prior year month 10 sales (SDO PRIOR_YR_SALES_MTH10; Optional; precision 2)"},"priorYrSalesMth11":{"type":"number","nullable":true,"description":"Prior year month 11 sales (SDO PRIOR_YR_SALES_MTH11; Optional; precision 2)"},"priorYrSalesMth12":{"type":"number","nullable":true,"description":"Prior year month 12 sales (SDO PRIOR_YR_SALES_MTH12; Optional; precision 2)"},"priorYrSalesMth2":{"type":"number","nullable":true,"description":"Prior year month 2 sales (SDO PRIOR_YR_SALES_MTH2; Optional; precision 2)"},"priorYrSalesMth3":{"type":"number","nullable":true,"description":"Prior year month 3 sales (SDO PRIOR_YR_SALES_MTH3; Optional; precision 2)"},"priorYrSalesMth4":{"type":"number","nullable":true,"description":"Prior year month 4 sales (SDO PRIOR_YR_SALES_MTH4; Optional; precision 2)"},"priorYrSalesMth5":{"type":"number","nullable":true,"description":"Prior year month 5 sales (SDO PRIOR_YR_SALES_MTH5; Optional; precision 2)"},"priorYrSalesMth6":{"type":"number","nullable":true,"description":"Prior year month 6 sales (SDO PRIOR_YR_SALES_MTH6; Optional; precision 2)"},"priorYrSalesMth7":{"type":"number","nullable":true,"description":"Prior year month 7 sales (SDO PRIOR_YR_SALES_MTH7; Optional; precision 2)"},"priorYrSalesMth8":{"type":"number","nullable":true,"description":"Prior year month 8 sales (SDO PRIOR_YR_SALES_MTH8; Optional; precision 2)"},"priorYrSalesMth9":{"type":"number","nullable":true,"description":"Prior year month 9 sales (SDO PRIOR_YR_SALES_MTH9; Optional; precision 2)"},"productBarcode":{"type":"string","nullable":true,"maxLength":60,"description":"Barcode (SDO PRODUCT_BARCODE; Optional; precision 0)"},"purchaseNominalCode":{"type":"string","nullable":true,"maxLength":8,"description":"Purchase Nominal code (SDO PURCHASE_NOMINAL_CODE; Optional; precision 0)"},"purchaseRef":{"type":"string","nullable":true,"maxLength":8,"description":"Supplier's account reference (SDO PURCHASE_REF; Optional; precision 0)"},"qtyAllocated":{"type":"number","nullable":true,"description":"Quantity allocated (SDO QTY_ALLOCATED; Optional; precision 102)"},"qtyInStock":{"type":"number","nullable":true,"description":"Quantity in stock (SDO QTY_IN_STOCK; Optional; precision 102)"},"qtyLastOrder":{"type":"number","nullable":true,"description":"Last order quantity (SDO QTY_LAST_ORDER; Optional; precision 102)"},"qtyLastStockTake":{"type":"number","nullable":true,"description":"Last stock take quantity (SDO QTY_LAST_STOCK_TAKE; Optional; precision 102)"},"qtyOnOrder":{"type":"number","nullable":true,"description":"Quantity on order (SDO QTY_ON_ORDER; Optional; precision 102)"},"qtyReorder":{"type":"number","nullable":true,"description":"Reorder quantity (SDO QTY_REORDER; Optional; precision 102)"},"qtyReorderLevel":{"type":"number","nullable":true,"description":"Reorder level (SDO QTY_REORDER_LEVEL; Optional; precision 102)"},"qtySoldBf":{"type":"number","nullable":true,"description":"Brought forward quantity sold (SDO QTY_SOLD_BF; Optional; precision 102)"},"qtySoldFuture":{"type":"number","nullable":true,"description":"Future quantity sold (SDO QTY_SOLD_FUTURE; Optional; precision 102)"},"qtySoldMth1":{"type":"number","nullable":true,"description":"Month 1 quantity sold (SDO QTY_SOLD_MTH1; Optional; precision 102)"},"qtySoldMth10":{"type":"number","nullable":true,"description":"Month 10 quantity sold (SDO QTY_SOLD_MTH10; Optional; precision 102)"},"qtySoldMth11":{"type":"number","nullable":true,"description":"Month 11 quantity sold (SDO QTY_SOLD_MTH11; Optional; precision 102)"},"qtySoldMth12":{"type":"number","nullable":true,"description":"Month 12 quantity sold (SDO QTY_SOLD_MTH12; Optional; precision 102)"},"qtySoldMth2":{"type":"number","nullable":true,"description":"Month 2 quantity sold (SDO QTY_SOLD_MTH2; Optional; precision 102)"},"qtySoldMth3":{"type":"number","nullable":true,"description":"Month 3 quantity sold (SDO QTY_SOLD_MTH3; Optional; precision 102)"},"qtySoldMth4":{"type":"number","nullable":true,"description":"Month 4 quantity sold (SDO QTY_SOLD_MTH4; Optional; precision 102)"},"qtySoldMth5":{"type":"number","nullable":true,"description":"Month 5 quantity sold (SDO QTY_SOLD_MTH5; Optional; precision 102)"},"qtySoldMth6":{"type":"number","nullable":true,"description":"Month 6 quantity sold (SDO QTY_SOLD_MTH6; Optional; precision 102)"},"qtySoldMth7":{"type":"number","nullable":true,"description":"Month 7 quantity sold (SDO QTY_SOLD_MTH7; Optional; precision 102)"},"qtySoldMth8":{"type":"number","nullable":true,"description":"Month 8 quantity sold (SDO QTY_SOLD_MTH8; Optional; precision 102)"},"qtySoldMth9":{"type":"number","nullable":true,"description":"Month 9 quantity sold (SDO QTY_SOLD_MTH9; Optional; precision 102)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"salesBf":{"type":"number","nullable":true,"description":"Brought forward sales (SDO SALES_BF; Optional; precision 2)"},"salesFuture":{"type":"number","nullable":true,"description":"Future sales (SDO SALES_FUTURE; Optional; precision 2)"},"salesMth1":{"type":"number","nullable":true,"description":"Month 1 sales (SDO SALES_MTH1; Optional; precision 2)"},"salesMth10":{"type":"number","nullable":true,"description":"Month 10 sales (SDO SALES_MTH10; Optional; precision 2)"},"salesMth11":{"type":"number","nullable":true,"description":"Month 11 sales (SDO SALES_MTH11; Optional; precision 2)"},"salesMth12":{"type":"number","nullable":true,"description":"Month 12 sales (SDO SALES_MTH12; Optional; precision 2)"},"salesMth2":{"type":"number","nullable":true,"description":"Month 2 sales (SDO SALES_MTH2; Optional; precision 2)"},"salesMth3":{"type":"number","nullable":true,"description":"Month 3 sales (SDO SALES_MTH3; Optional; precision 2)"},"salesMth4":{"type":"number","nullable":true,"description":"Month 4 sales (SDO SALES_MTH4; Optional; precision 2)"},"salesMth5":{"type":"number","nullable":true,"description":"Month 5 sales (SDO SALES_MTH5; Optional; precision 2)"},"salesMth6":{"type":"number","nullable":true,"description":"Month 6 sales (SDO SALES_MTH6; Optional; precision 2)"},"salesMth7":{"type":"number","nullable":true,"description":"Month 7 sales (SDO SALES_MTH7; Optional; precision 2)"},"salesMth8":{"type":"number","nullable":true,"description":"Month 8 sales (SDO SALES_MTH8; Optional; precision 2)"},"salesMth9":{"type":"number","nullable":true,"description":"Month 9 sales (SDO SALES_MTH9; Optional; precision 2)"},"salesPrice":{"type":"number","nullable":true,"description":"Sale price (SDO SALES_PRICE; Optional; precision 101)"},"stockCat":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Stock category number (SDO STOCK_CAT; Optional; precision 0)"},"stockCode":{"type":"string","nullable":true,"maxLength":30,"description":"Product code (SDO STOCK_CODE; Required; precision 0)"},"stockTakeDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Stock take date (SDO STOCK_TAKE_DATE; Optional; precision 0)"},"suppUnitQty":{"type":"number","nullable":true,"description":"Supplementary Unit Quantity (SDO SUPP_UNIT_QTY; Optional; precision 0)"},"supplierPartNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Supplier's part number (SDO SUPPLIER_PART_NUMBER; Optional; precision 0)"},"taxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax code (0 to 99) (SDO TAX_CODE; Optional; precision 0)"},"unitOfSale":{"type":"string","nullable":true,"maxLength":8,"description":"Unit of sale (SDO UNIT_OF_SALE; Optional; precision 0)"},"unitWeight":{"type":"number","nullable":true,"description":"Unit weight (SDO UNIT_WEIGHT; Optional; precision 2)"},"webDescription":{"type":"string","nullable":true,"maxLength":255,"description":"Web Description (SDO WEB_DESCRIPTION; Optional; precision 0)"},"webImage":{"type":"string","nullable":true,"maxLength":60,"description":"Web Image Filename (SDO WEB_IMAGE; Optional; precision 0)"},"webLongdescription":{"type":"string","nullable":true,"maxLength":1023,"description":"Web Long Description (SDO WEB_LONGDESCRIPTION; Optional; precision 0)"},"webPublish":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Web Publish Flag (SDO WEB_PUBLISH; Optional; precision 0)"},"webSpecialOffer":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Web Special Offer (SDO WEB_SPECIAL_OFFER; Optional; precision 0)"},"id":{"type":"string"}},"required":["assemblyLevel","averageCostPrice","budgetQtySoldBf","budgetQtySoldFuture","budgetQtySoldMth1","budgetQtySoldMth10","budgetQtySoldMth11","budgetQtySoldMth12","budgetQtySoldMth2","budgetQtySoldMth3","budgetQtySoldMth4","budgetQtySoldMth5","budgetQtySoldMth6","budgetQtySoldMth7","budgetQtySoldMth8","budgetQtySoldMth9","budgetSalesBf","budgetSalesFuture","budgetSalesMth1","budgetSalesMth10","budgetSalesMth11","budgetSalesMth12","budgetSalesMth2","budgetSalesMth3","budgetSalesMth4","budgetSalesMth5","budgetSalesMth6","budgetSalesMth7","budgetSalesMth8","budgetSalesMth9","commodityCode","componentCode1","componentCode10","componentCode11","componentCode12","componentCode13","componentCode14","componentCode15","componentCode16","componentCode17","componentCode18","componentCode19","componentCode2","componentCode20","componentCode21","componentCode22","componentCode23","componentCode24","componentCode25","componentCode26","componentCode27","componentCode28","componentCode29","componentCode3","componentCode30","componentCode31","componentCode32","componentCode33","componentCode34","componentCode35","componentCode36","componentCode37","componentCode38","componentCode39","componentCode4","componentCode40","componentCode41","componentCode42","componentCode43","componentCode44","componentCode45","componentCode46","componentCode47","componentCode48","componentCode49","componentCode5","componentCode50","componentCode6","componentCode7","componentCode8","componentCode9","componentQty1","componentQty10","componentQty11","componentQty12","componentQty13","componentQty14","componentQty15","componentQty16","componentQty17","componentQty18","componentQty19","componentQty2","componentQty20","componentQty21","componentQty22","componentQty23","componentQty24","componentQty25","componentQty26","componentQty27","componentQty28","componentQty29","componentQty3","componentQty30","componentQty31","componentQty32","componentQty33","componentQty34","componentQty35","componentQty36","componentQty37","componentQty38","componentQty39","componentQty4","componentQty40","componentQty41","componentQty42","componentQty43","componentQty44","componentQty45","componentQty46","componentQty47","componentQty48","componentQty49","componentQty5","componentQty50","componentQty6","componentQty7","componentQty8","componentQty9","costBf","costFuture","costMth1","costMth10","costMth11","costMth12","costMth2","costMth3","costMth4","costMth5","costMth6","costMth7","costMth8","costMth9","countryCodeOfOrigin","custom1","custom2","custom3","deletedFlag","deptNumber","description","discALevel10Qty","discALevel10Rate","discALevel1Qty","discALevel1Rate","discALevel2Qty","discALevel2Rate","discALevel3Qty","discALevel3Rate","discALevel4Qty","discALevel4Rate","discALevel5Qty","discALevel5Rate","discALevel6Qty","discALevel6Rate","discALevel7Qty","discALevel7Rate","discALevel8Qty","discALevel8Rate","discALevel9Qty","discALevel9Rate","discBLevel10Qty","discBLevel10Rate","discBLevel1Qty","discBLevel1Rate","discBLevel2Qty","discBLevel2Rate","discBLevel3Qty","discBLevel3Rate","discBLevel4Qty","discBLevel4Rate","discBLevel5Qty","discBLevel5Rate","discBLevel6Qty","discBLevel6Rate","discBLevel7Qty","discBLevel7Rate","discBLevel8Qty","discBLevel8Rate","discBLevel9Qty","discBLevel9Rate","discCLevel10Qty","discCLevel10Rate","discCLevel1Qty","discCLevel1Rate","discCLevel2Qty","discCLevel2Rate","discCLevel3Qty","discCLevel3Rate","discCLevel4Qty","discCLevel4Rate","discCLevel5Qty","discCLevel5Rate","discCLevel6Qty","discCLevel6Rate","discCLevel7Qty","discCLevel7Rate","discCLevel8Qty","discCLevel8Rate","discCLevel9Qty","discCLevel9Rate","discDLevel10Qty","discDLevel10Rate","discDLevel1Qty","discDLevel1Rate","discDLevel2Qty","discDLevel2Rate","discDLevel3Qty","discDLevel3Rate","discDLevel4Qty","discDLevel4Rate","discDLevel5Qty","discDLevel5Rate","discDLevel6Qty","discDLevel6Rate","discDLevel7Qty","discDLevel7Rate","discDLevel8Qty","discDLevel8Rate","discDLevel9Qty","discDLevel9Rate","discELevel10Qty","discELevel10Rate","discELevel1Qty","discELevel1Rate","discELevel2Qty","discELevel2Rate","discELevel3Qty","discELevel3Rate","discELevel4Qty","discELevel4Rate","discELevel5Qty","discELevel5Rate","discELevel6Qty","discELevel6Rate","discELevel7Qty","discELevel7Rate","discELevel8Qty","discELevel8Rate","discELevel9Qty","discELevel9Rate","externalUsage","firstTran","ignoreStkLvlFlag","inactiveFlag","intrastatCommodityCode","intrastatImportDutyCode","itemType","lastCostDiscount","lastOrderQuantity","lastPurchaseDate","lastPurchasePrice","lastSaleDate","lastTran","lastUpdated","linkLevel","location","noOfTran","nominalCode","priorYrCostBf","priorYrCostFuture","priorYrCostMth1","priorYrCostMth10","priorYrCostMth11","priorYrCostMth12","priorYrCostMth2","priorYrCostMth3","priorYrCostMth4","priorYrCostMth5","priorYrCostMth6","priorYrCostMth7","priorYrCostMth8","priorYrCostMth9","priorYrQtySoldBf","priorYrQtySoldFuture","priorYrQtySoldMth1","priorYrQtySoldMth10","priorYrQtySoldMth11","priorYrQtySoldMth12","priorYrQtySoldMth2","priorYrQtySoldMth3","priorYrQtySoldMth4","priorYrQtySoldMth5","priorYrQtySoldMth6","priorYrQtySoldMth7","priorYrQtySoldMth8","priorYrQtySoldMth9","priorYrSalesBf","priorYrSalesFuture","priorYrSalesMth1","priorYrSalesMth10","priorYrSalesMth11","priorYrSalesMth12","priorYrSalesMth2","priorYrSalesMth3","priorYrSalesMth4","priorYrSalesMth5","priorYrSalesMth6","priorYrSalesMth7","priorYrSalesMth8","priorYrSalesMth9","productBarcode","purchaseNominalCode","purchaseRef","qtyAllocated","qtyInStock","qtyLastOrder","qtyLastStockTake","qtyOnOrder","qtyReorder","qtyReorderLevel","qtySoldBf","qtySoldFuture","qtySoldMth1","qtySoldMth10","qtySoldMth11","qtySoldMth12","qtySoldMth2","qtySoldMth3","qtySoldMth4","qtySoldMth5","qtySoldMth6","qtySoldMth7","qtySoldMth8","qtySoldMth9","recordCreateDate","recordDeleted","recordModifyDate","salesBf","salesFuture","salesMth1","salesMth10","salesMth11","salesMth12","salesMth2","salesMth3","salesMth4","salesMth5","salesMth6","salesMth7","salesMth8","salesMth9","salesPrice","stockCat","stockCode","stockTakeDate","suppUnitQty","supplierPartNumber","taxCode","unitOfSale","unitWeight","webDescription","webImage","webLongdescription","webPublish","webSpecialOffer","id"],"additionalProperties":false},"Us2026_1_items_get":{"type":"object","properties":{"category":{"type":"string","nullable":true,"maxLength":100000},"classification":{"type":"integer","enum":[7,4,8,3,6,9,1,12,11,5,2,10]},"customFieldValues":{"type":"array","nullable":true,"items":{"type":"object","nullable":true,"properties":{"key":{"type":"string","nullable":true,"maxLength":100000},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"nullable":true},{"nullable":true}]}},"additionalProperties":false},"maxItems":10000},"description":{"type":"string","nullable":true,"maxLength":100000},"code":{"type":"string","nullable":true,"maxLength":100000},"isInactive":{"type":"boolean"},"isTaxable":{"type":"boolean"},"lastSavedAt":{"type":"string"},"note":{"type":"string","nullable":true,"maxLength":100000},"partNumber":{"type":"string","nullable":true,"maxLength":100000},"priceLevels":{"type":"array","nullable":true,"items":{"type":"object","nullable":true,"properties":{"enabled":{"type":"boolean"},"level":{"type":"integer","minimum":-32768,"maximum":32767},"name":{"type":"string","nullable":true,"maxLength":100000},"unitPrice":{"type":"number"}},"additionalProperties":false},"maxItems":10000},"salesTaxType":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"descriptionForSales":{"type":"string","nullable":true,"maxLength":100000},"location":{"type":"string","nullable":true,"maxLength":100000},"salesAccountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"stockingUnitOfMeasure":{"type":"string","nullable":true,"maxLength":100000},"subjectToCommission":{"type":"boolean"},"upc":{"type":"string","nullable":true,"maxLength":100000},"buyerReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"cogsAccountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"costingMethod":{"type":"integer","enum":[1,2,3,0,4]},"descriptionForPurchases":{"type":"string","nullable":true,"maxLength":100000},"inventoryAccountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"minimumStock":{"type":"number"},"reorderQuantity":{"type":"number"},"vendorReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"weight":{"type":"number"},"salaryAccountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"masterItemID":{"type":"string","nullable":true,"maxLength":100000},"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"Uk26_3_items_create":{"type":"object","properties":{"description":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Description (SDO DESCRIPTION; Optional; precision 0)"},"nominalCode":{"type":"string","maxLength":8,"pattern":"^[^\\0]*$","description":"Sales Nominal code (SDO NOMINAL_CODE; Optional; precision 0)"},"salesPrice":{"type":"number","description":"Sale price (SDO SALES_PRICE; Optional; precision 101)"},"stockCode":{"type":"string","minLength":1,"maxLength":30,"pattern":"^[^\\0]*$","description":"Product code (SDO STOCK_CODE; Required; precision 0)"},"supplierPartNumber":{"type":"string","maxLength":16,"pattern":"^[^\\0]*$","description":"Supplier's part number (SDO SUPPLIER_PART_NUMBER; Optional; precision 0)"},"taxCode":{"type":"integer","minimum":-32768,"maximum":32767,"description":"Tax code (0 to 99) (SDO TAX_CODE; Optional; precision 0)"},"unitOfSale":{"type":"string","maxLength":8,"pattern":"^[^\\0]*$","description":"Unit of sale (SDO UNIT_OF_SALE; Optional; precision 0)"},"webDescription":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"Web Description (SDO WEB_DESCRIPTION; Optional; precision 0)"}},"required":["stockCode"],"additionalProperties":false},"Uk27_2_items_create":{"type":"object","properties":{"description":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Description (SDO DESCRIPTION; Optional; precision 0)"},"nominalCode":{"type":"string","maxLength":8,"pattern":"^[^\\0]*$","description":"Sales Nominal code (SDO NOMINAL_CODE; Optional; precision 0)"},"salesPrice":{"type":"number","description":"Sale price (SDO SALES_PRICE; Optional; precision 101)"},"stockCode":{"type":"string","minLength":1,"maxLength":30,"pattern":"^[^\\0]*$","description":"Product code (SDO STOCK_CODE; Required; precision 0)"},"supplierPartNumber":{"type":"string","maxLength":16,"pattern":"^[^\\0]*$","description":"Supplier's part number (SDO SUPPLIER_PART_NUMBER; Optional; precision 0)"},"taxCode":{"type":"integer","minimum":-32768,"maximum":32767,"description":"Tax code (0 to 99) (SDO TAX_CODE; Optional; precision 0)"},"unitOfSale":{"type":"string","maxLength":8,"pattern":"^[^\\0]*$","description":"Unit of sale (SDO UNIT_OF_SALE; Optional; precision 0)"},"webDescription":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"Web Description (SDO WEB_DESCRIPTION; Optional; precision 0)"}},"required":["stockCode"],"additionalProperties":false},"Uk28_1_items_create":{"type":"object","properties":{"description":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Description (SDO DESCRIPTION; Optional; precision 0)"},"nominalCode":{"type":"string","maxLength":8,"pattern":"^[^\\0]*$","description":"Sales Nominal code (SDO NOMINAL_CODE; Optional; precision 0)"},"salesPrice":{"type":"number","description":"Sale price (SDO SALES_PRICE; Optional; precision 101)"},"stockCode":{"type":"string","minLength":1,"maxLength":30,"pattern":"^[^\\0]*$","description":"Product code (SDO STOCK_CODE; Required; precision 0)"},"supplierPartNumber":{"type":"string","maxLength":16,"pattern":"^[^\\0]*$","description":"Supplier's part number (SDO SUPPLIER_PART_NUMBER; Optional; precision 0)"},"taxCode":{"type":"integer","minimum":-32768,"maximum":32767,"description":"Tax code (0 to 99) (SDO TAX_CODE; Optional; precision 0)"},"unitOfSale":{"type":"string","maxLength":8,"pattern":"^[^\\0]*$","description":"Unit of sale (SDO UNIT_OF_SALE; Optional; precision 0)"},"webDescription":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"Web Description (SDO WEB_DESCRIPTION; Optional; precision 0)"}},"required":["stockCode"],"additionalProperties":false},"Uk29_2_items_create":{"type":"object","properties":{"description":{"type":"string","maxLength":120,"pattern":"^[^\\0]*$","description":"Description (SDO DESCRIPTION; Optional; precision 0)"},"nominalCode":{"type":"string","maxLength":8,"pattern":"^[^\\0]*$","description":"Sales Nominal code (SDO NOMINAL_CODE; Optional; precision 0)"},"salesPrice":{"type":"number","description":"Sale price (SDO SALES_PRICE; Optional; precision 101)"},"stockCode":{"type":"string","minLength":1,"maxLength":30,"pattern":"^[^\\0]*$","description":"Product code (SDO STOCK_CODE; Required; precision 0)"},"supplierPartNumber":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Supplier's part number (SDO SUPPLIER_PART_NUMBER; Optional; precision 0)"},"taxCode":{"type":"integer","minimum":-32768,"maximum":32767,"description":"Tax code (0 to 99) (SDO TAX_CODE; Optional; precision 0)"},"unitOfSale":{"type":"string","maxLength":8,"pattern":"^[^\\0]*$","description":"Unit of sale (SDO UNIT_OF_SALE; Optional; precision 0)"},"webDescription":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"Web Description (SDO WEB_DESCRIPTION; Optional; precision 0)"}},"required":["stockCode"],"additionalProperties":false},"Uk30_1_items_create":{"type":"object","properties":{"description":{"type":"string","maxLength":120,"pattern":"^[^\\0]*$","description":"Description (SDO DESCRIPTION; Optional; precision 0)"},"nominalCode":{"type":"string","maxLength":8,"pattern":"^[^\\0]*$","description":"Sales Nominal code (SDO NOMINAL_CODE; Optional; precision 0)"},"salesPrice":{"type":"number","description":"Sale price (SDO SALES_PRICE; Optional; precision 101)"},"stockCode":{"type":"string","minLength":1,"maxLength":30,"pattern":"^[^\\0]*$","description":"Product code (SDO STOCK_CODE; Required; precision 0)"},"supplierPartNumber":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Supplier's part number (SDO SUPPLIER_PART_NUMBER; Optional; precision 0)"},"taxCode":{"type":"integer","minimum":-32768,"maximum":32767,"description":"Tax code (0 to 99) (SDO TAX_CODE; Optional; precision 0)"},"unitOfSale":{"type":"string","maxLength":8,"pattern":"^[^\\0]*$","description":"Unit of sale (SDO UNIT_OF_SALE; Optional; precision 0)"},"webDescription":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"Web Description (SDO WEB_DESCRIPTION; Optional; precision 0)"}},"required":["stockCode"],"additionalProperties":false},"Uk31_1_items_create":{"type":"object","properties":{"description":{"type":"string","maxLength":120,"pattern":"^[^\\0]*$","description":"Description (SDO DESCRIPTION; Optional; precision 0)"},"nominalCode":{"type":"string","maxLength":8,"pattern":"^[^\\0]*$","description":"Sales Nominal code (SDO NOMINAL_CODE; Optional; precision 0)"},"salesPrice":{"type":"number","description":"Sale price (SDO SALES_PRICE; Optional; precision 101)"},"stockCode":{"type":"string","minLength":1,"maxLength":30,"pattern":"^[^\\0]*$","description":"Product code (SDO STOCK_CODE; Required; precision 0)"},"supplierPartNumber":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Supplier's part number (SDO SUPPLIER_PART_NUMBER; Optional; precision 0)"},"taxCode":{"type":"integer","minimum":-32768,"maximum":32767,"description":"Tax code (0 to 99) (SDO TAX_CODE; Optional; precision 0)"},"unitOfSale":{"type":"string","maxLength":8,"pattern":"^[^\\0]*$","description":"Unit of sale (SDO UNIT_OF_SALE; Optional; precision 0)"},"webDescription":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"Web Description (SDO WEB_DESCRIPTION; Optional; precision 0)"}},"required":["stockCode"],"additionalProperties":false},"Uk32_1_items_create":{"type":"object","properties":{"description":{"type":"string","maxLength":120,"pattern":"^[^\\0]*$","description":"Description (SDO DESCRIPTION; Optional; precision 0)"},"nominalCode":{"type":"string","maxLength":8,"pattern":"^[^\\0]*$","description":"Sales Nominal code (SDO NOMINAL_CODE; Optional; precision 0)"},"salesPrice":{"type":"number","description":"Sale price (SDO SALES_PRICE; Optional; precision 101)"},"stockCode":{"type":"string","minLength":1,"maxLength":30,"pattern":"^[^\\0]*$","description":"Product code (SDO STOCK_CODE; Required; precision 0)"},"supplierPartNumber":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Supplier's part number (SDO SUPPLIER_PART_NUMBER; Optional; precision 0)"},"taxCode":{"type":"integer","minimum":-32768,"maximum":32767,"description":"Tax code (0 to 99) (SDO TAX_CODE; Optional; precision 0)"},"unitOfSale":{"type":"string","maxLength":8,"pattern":"^[^\\0]*$","description":"Unit of sale (SDO UNIT_OF_SALE; Optional; precision 0)"},"webDescription":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"Web Description (SDO WEB_DESCRIPTION; Optional; precision 0)"}},"required":["stockCode"],"additionalProperties":false},"Uk33_1_items_create":{"type":"object","properties":{"description":{"type":"string","maxLength":120,"pattern":"^[^\\0]*$","description":"Description (SDO DESCRIPTION; Optional; precision 0)"},"nominalCode":{"type":"string","maxLength":8,"pattern":"^[^\\0]*$","description":"Sales Nominal code (SDO NOMINAL_CODE; Optional; precision 0)"},"salesPrice":{"type":"number","description":"Sale price (SDO SALES_PRICE; Optional; precision 101)"},"stockCode":{"type":"string","minLength":1,"maxLength":30,"pattern":"^[^\\0]*$","description":"Product code (SDO STOCK_CODE; Required; precision 0)"},"supplierPartNumber":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Supplier's part number (SDO SUPPLIER_PART_NUMBER; Optional; precision 0)"},"taxCode":{"type":"integer","minimum":-32768,"maximum":32767,"description":"Tax code (0 to 99) (SDO TAX_CODE; Optional; precision 0)"},"unitOfSale":{"type":"string","maxLength":8,"pattern":"^[^\\0]*$","description":"Unit of sale (SDO UNIT_OF_SALE; Optional; precision 0)"},"webDescription":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"Web Description (SDO WEB_DESCRIPTION; Optional; precision 0)"}},"required":["stockCode"],"additionalProperties":false},"Uk34_1_items_create":{"type":"object","properties":{"description":{"type":"string","maxLength":120,"pattern":"^[^\\0]*$","description":"Description (SDO DESCRIPTION; Optional; precision 0)"},"nominalCode":{"type":"string","maxLength":8,"pattern":"^[^\\0]*$","description":"Sales Nominal code (SDO NOMINAL_CODE; Optional; precision 0)"},"salesPrice":{"type":"number","description":"Sale price (SDO SALES_PRICE; Optional; precision 101)"},"stockCode":{"type":"string","minLength":1,"maxLength":30,"pattern":"^[^\\0]*$","description":"Product code (SDO STOCK_CODE; Required; precision 0)"},"supplierPartNumber":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Supplier's part number (SDO SUPPLIER_PART_NUMBER; Optional; precision 0)"},"taxCode":{"type":"integer","minimum":-32768,"maximum":32767,"description":"Tax code (0 to 99) (SDO TAX_CODE; Optional; precision 0)"},"unitOfSale":{"type":"string","maxLength":8,"pattern":"^[^\\0]*$","description":"Unit of sale (SDO UNIT_OF_SALE; Optional; precision 0)"},"webDescription":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"Web Description (SDO WEB_DESCRIPTION; Optional; precision 0)"}},"required":["stockCode"],"additionalProperties":false},"Uk26_3_items_update":{"type":"object","properties":{"description":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Description (SDO DESCRIPTION; Optional; precision 0)"},"nominalCode":{"type":"string","maxLength":8,"pattern":"^[^\\0]*$","description":"Sales Nominal code (SDO NOMINAL_CODE; Optional; precision 0)"},"salesPrice":{"type":"number","description":"Sale price (SDO SALES_PRICE; Optional; precision 101)"},"supplierPartNumber":{"type":"string","maxLength":16,"pattern":"^[^\\0]*$","description":"Supplier's part number (SDO SUPPLIER_PART_NUMBER; Optional; precision 0)"},"taxCode":{"type":"integer","minimum":-32768,"maximum":32767,"description":"Tax code (0 to 99) (SDO TAX_CODE; Optional; precision 0)"},"unitOfSale":{"type":"string","maxLength":8,"pattern":"^[^\\0]*$","description":"Unit of sale (SDO UNIT_OF_SALE; Optional; precision 0)"},"webDescription":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"Web Description (SDO WEB_DESCRIPTION; Optional; precision 0)"}},"additionalProperties":false,"minProperties":1},"Uk27_2_items_update":{"type":"object","properties":{"description":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Description (SDO DESCRIPTION; Optional; precision 0)"},"nominalCode":{"type":"string","maxLength":8,"pattern":"^[^\\0]*$","description":"Sales Nominal code (SDO NOMINAL_CODE; Optional; precision 0)"},"salesPrice":{"type":"number","description":"Sale price (SDO SALES_PRICE; Optional; precision 101)"},"supplierPartNumber":{"type":"string","maxLength":16,"pattern":"^[^\\0]*$","description":"Supplier's part number (SDO SUPPLIER_PART_NUMBER; Optional; precision 0)"},"taxCode":{"type":"integer","minimum":-32768,"maximum":32767,"description":"Tax code (0 to 99) (SDO TAX_CODE; Optional; precision 0)"},"unitOfSale":{"type":"string","maxLength":8,"pattern":"^[^\\0]*$","description":"Unit of sale (SDO UNIT_OF_SALE; Optional; precision 0)"},"webDescription":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"Web Description (SDO WEB_DESCRIPTION; Optional; precision 0)"}},"additionalProperties":false,"minProperties":1},"Uk28_1_items_update":{"type":"object","properties":{"description":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Description (SDO DESCRIPTION; Optional; precision 0)"},"nominalCode":{"type":"string","maxLength":8,"pattern":"^[^\\0]*$","description":"Sales Nominal code (SDO NOMINAL_CODE; Optional; precision 0)"},"salesPrice":{"type":"number","description":"Sale price (SDO SALES_PRICE; Optional; precision 101)"},"supplierPartNumber":{"type":"string","maxLength":16,"pattern":"^[^\\0]*$","description":"Supplier's part number (SDO SUPPLIER_PART_NUMBER; Optional; precision 0)"},"taxCode":{"type":"integer","minimum":-32768,"maximum":32767,"description":"Tax code (0 to 99) (SDO TAX_CODE; Optional; precision 0)"},"unitOfSale":{"type":"string","maxLength":8,"pattern":"^[^\\0]*$","description":"Unit of sale (SDO UNIT_OF_SALE; Optional; precision 0)"},"webDescription":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"Web Description (SDO WEB_DESCRIPTION; Optional; precision 0)"}},"additionalProperties":false,"minProperties":1},"Uk29_2_items_update":{"type":"object","properties":{"description":{"type":"string","maxLength":120,"pattern":"^[^\\0]*$","description":"Description (SDO DESCRIPTION; Optional; precision 0)"},"nominalCode":{"type":"string","maxLength":8,"pattern":"^[^\\0]*$","description":"Sales Nominal code (SDO NOMINAL_CODE; Optional; precision 0)"},"salesPrice":{"type":"number","description":"Sale price (SDO SALES_PRICE; Optional; precision 101)"},"supplierPartNumber":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Supplier's part number (SDO SUPPLIER_PART_NUMBER; Optional; precision 0)"},"taxCode":{"type":"integer","minimum":-32768,"maximum":32767,"description":"Tax code (0 to 99) (SDO TAX_CODE; Optional; precision 0)"},"unitOfSale":{"type":"string","maxLength":8,"pattern":"^[^\\0]*$","description":"Unit of sale (SDO UNIT_OF_SALE; Optional; precision 0)"},"webDescription":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"Web Description (SDO WEB_DESCRIPTION; Optional; precision 0)"}},"additionalProperties":false,"minProperties":1},"Uk30_1_items_update":{"type":"object","properties":{"description":{"type":"string","maxLength":120,"pattern":"^[^\\0]*$","description":"Description (SDO DESCRIPTION; Optional; precision 0)"},"nominalCode":{"type":"string","maxLength":8,"pattern":"^[^\\0]*$","description":"Sales Nominal code (SDO NOMINAL_CODE; Optional; precision 0)"},"salesPrice":{"type":"number","description":"Sale price (SDO SALES_PRICE; Optional; precision 101)"},"supplierPartNumber":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Supplier's part number (SDO SUPPLIER_PART_NUMBER; Optional; precision 0)"},"taxCode":{"type":"integer","minimum":-32768,"maximum":32767,"description":"Tax code (0 to 99) (SDO TAX_CODE; Optional; precision 0)"},"unitOfSale":{"type":"string","maxLength":8,"pattern":"^[^\\0]*$","description":"Unit of sale (SDO UNIT_OF_SALE; Optional; precision 0)"},"webDescription":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"Web Description (SDO WEB_DESCRIPTION; Optional; precision 0)"}},"additionalProperties":false,"minProperties":1},"Uk31_1_items_update":{"type":"object","properties":{"description":{"type":"string","maxLength":120,"pattern":"^[^\\0]*$","description":"Description (SDO DESCRIPTION; Optional; precision 0)"},"nominalCode":{"type":"string","maxLength":8,"pattern":"^[^\\0]*$","description":"Sales Nominal code (SDO NOMINAL_CODE; Optional; precision 0)"},"salesPrice":{"type":"number","description":"Sale price (SDO SALES_PRICE; Optional; precision 101)"},"supplierPartNumber":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Supplier's part number (SDO SUPPLIER_PART_NUMBER; Optional; precision 0)"},"taxCode":{"type":"integer","minimum":-32768,"maximum":32767,"description":"Tax code (0 to 99) (SDO TAX_CODE; Optional; precision 0)"},"unitOfSale":{"type":"string","maxLength":8,"pattern":"^[^\\0]*$","description":"Unit of sale (SDO UNIT_OF_SALE; Optional; precision 0)"},"webDescription":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"Web Description (SDO WEB_DESCRIPTION; Optional; precision 0)"}},"additionalProperties":false,"minProperties":1},"Uk32_1_items_update":{"type":"object","properties":{"description":{"type":"string","maxLength":120,"pattern":"^[^\\0]*$","description":"Description (SDO DESCRIPTION; Optional; precision 0)"},"nominalCode":{"type":"string","maxLength":8,"pattern":"^[^\\0]*$","description":"Sales Nominal code (SDO NOMINAL_CODE; Optional; precision 0)"},"salesPrice":{"type":"number","description":"Sale price (SDO SALES_PRICE; Optional; precision 101)"},"supplierPartNumber":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Supplier's part number (SDO SUPPLIER_PART_NUMBER; Optional; precision 0)"},"taxCode":{"type":"integer","minimum":-32768,"maximum":32767,"description":"Tax code (0 to 99) (SDO TAX_CODE; Optional; precision 0)"},"unitOfSale":{"type":"string","maxLength":8,"pattern":"^[^\\0]*$","description":"Unit of sale (SDO UNIT_OF_SALE; Optional; precision 0)"},"webDescription":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"Web Description (SDO WEB_DESCRIPTION; Optional; precision 0)"}},"additionalProperties":false,"minProperties":1},"Uk33_1_items_update":{"type":"object","properties":{"description":{"type":"string","maxLength":120,"pattern":"^[^\\0]*$","description":"Description (SDO DESCRIPTION; Optional; precision 0)"},"nominalCode":{"type":"string","maxLength":8,"pattern":"^[^\\0]*$","description":"Sales Nominal code (SDO NOMINAL_CODE; Optional; precision 0)"},"salesPrice":{"type":"number","description":"Sale price (SDO SALES_PRICE; Optional; precision 101)"},"supplierPartNumber":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Supplier's part number (SDO SUPPLIER_PART_NUMBER; Optional; precision 0)"},"taxCode":{"type":"integer","minimum":-32768,"maximum":32767,"description":"Tax code (0 to 99) (SDO TAX_CODE; Optional; precision 0)"},"unitOfSale":{"type":"string","maxLength":8,"pattern":"^[^\\0]*$","description":"Unit of sale (SDO UNIT_OF_SALE; Optional; precision 0)"},"webDescription":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"Web Description (SDO WEB_DESCRIPTION; Optional; precision 0)"}},"additionalProperties":false,"minProperties":1},"Uk34_1_items_update":{"type":"object","properties":{"description":{"type":"string","maxLength":120,"pattern":"^[^\\0]*$","description":"Description (SDO DESCRIPTION; Optional; precision 0)"},"nominalCode":{"type":"string","maxLength":8,"pattern":"^[^\\0]*$","description":"Sales Nominal code (SDO NOMINAL_CODE; Optional; precision 0)"},"salesPrice":{"type":"number","description":"Sale price (SDO SALES_PRICE; Optional; precision 101)"},"supplierPartNumber":{"type":"string","maxLength":60,"pattern":"^[^\\0]*$","description":"Supplier's part number (SDO SUPPLIER_PART_NUMBER; Optional; precision 0)"},"taxCode":{"type":"integer","minimum":-32768,"maximum":32767,"description":"Tax code (0 to 99) (SDO TAX_CODE; Optional; precision 0)"},"unitOfSale":{"type":"string","maxLength":8,"pattern":"^[^\\0]*$","description":"Unit of sale (SDO UNIT_OF_SALE; Optional; precision 0)"},"webDescription":{"type":"string","maxLength":255,"pattern":"^[^\\0]*$","description":"Web Description (SDO WEB_DESCRIPTION; Optional; precision 0)"}},"additionalProperties":false,"minProperties":1},"Uk26_3_accounts_get":{"type":"object","properties":{"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Account Code (SDO ACCOUNT_REF; Required; precision 0)"},"accountType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Account Type Code (SDO ACCOUNT_TYPE; Optional; precision 0)"},"auditRef":{"type":"string","nullable":true,"maxLength":20,"description":"Incomplete records reference (SDO AUDIT_REF; Optional; precision 0)"},"balance":{"type":"number","nullable":true,"description":"Balance (SDO BALANCE; Optional; precision 2)"},"balanceBf":{"type":"number","nullable":true,"description":"Balance Brought forward (SDO BALANCE_BF; Optional; precision 2)"},"balanceFuture":{"type":"number","nullable":true,"description":"Balance for Future (SDO BALANCE_FUTURE; Optional; precision 2)"},"balanceMth1":{"type":"number","nullable":true,"description":"Balance Month 1 (SDO BALANCE_MTH1; Optional; precision 2)"},"balanceMth10":{"type":"number","nullable":true,"description":"Balance Month 10 (SDO BALANCE_MTH10; Optional; precision 2)"},"balanceMth11":{"type":"number","nullable":true,"description":"Balance Month 11 (SDO BALANCE_MTH11; Optional; precision 2)"},"balanceMth12":{"type":"number","nullable":true,"description":"Balance Month 12 (SDO BALANCE_MTH12; Optional; precision 2)"},"balanceMth2":{"type":"number","nullable":true,"description":"Balance Month 2 (SDO BALANCE_MTH2; Optional; precision 2)"},"balanceMth3":{"type":"number","nullable":true,"description":"Balance Month 3 (SDO BALANCE_MTH3; Optional; precision 2)"},"balanceMth4":{"type":"number","nullable":true,"description":"Balance Month 4 (SDO BALANCE_MTH4; Optional; precision 2)"},"balanceMth5":{"type":"number","nullable":true,"description":"Balance Month 5 (SDO BALANCE_MTH5; Optional; precision 2)"},"balanceMth6":{"type":"number","nullable":true,"description":"Balance Month 6 (SDO BALANCE_MTH6; Optional; precision 2)"},"balanceMth7":{"type":"number","nullable":true,"description":"Balance Month 7 (SDO BALANCE_MTH7; Optional; precision 2)"},"balanceMth8":{"type":"number","nullable":true,"description":"Balance Month 8 (SDO BALANCE_MTH8; Optional; precision 2)"},"balanceMth9":{"type":"number","nullable":true,"description":"Balance Month 9 (SDO BALANCE_MTH9; Optional; precision 2)"},"budgetMth1":{"type":"number","nullable":true,"description":"Budget Month 1 (SDO BUDGET_MTH1; Optional; precision 2)"},"budgetMth10":{"type":"number","nullable":true,"description":"Budget Month 10 (SDO BUDGET_MTH10; Optional; precision 2)"},"budgetMth11":{"type":"number","nullable":true,"description":"Budget Month 11 (SDO BUDGET_MTH11; Optional; precision 2)"},"budgetMth12":{"type":"number","nullable":true,"description":"Budget Month 12 (SDO BUDGET_MTH12; Optional; precision 2)"},"budgetMth2":{"type":"number","nullable":true,"description":"Budget Month 2 (SDO BUDGET_MTH2; Optional; precision 2)"},"budgetMth3":{"type":"number","nullable":true,"description":"Budget Month 3 (SDO BUDGET_MTH3; Optional; precision 2)"},"budgetMth4":{"type":"number","nullable":true,"description":"Budget Month 4 (SDO BUDGET_MTH4; Optional; precision 2)"},"budgetMth5":{"type":"number","nullable":true,"description":"Budget Month 5 (SDO BUDGET_MTH5; Optional; precision 2)"},"budgetMth6":{"type":"number","nullable":true,"description":"Budget Month 6 (SDO BUDGET_MTH6; Optional; precision 2)"},"budgetMth7":{"type":"number","nullable":true,"description":"Budget Month 7 (SDO BUDGET_MTH7; Optional; precision 2)"},"budgetMth8":{"type":"number","nullable":true,"description":"Budget Month 8 (SDO BUDGET_MTH8; Optional; precision 2)"},"budgetMth9":{"type":"number","nullable":true,"description":"Budget Month 9 (SDO BUDGET_MTH9; Optional; precision 2)"},"creditBf":{"type":"number","nullable":true,"description":"Credit Brought Forward (SDO CREDIT_BF; Optional; precision 2)"},"creditFuture":{"type":"number","nullable":true,"description":"Credit for Future (SDO CREDIT_FUTURE; Optional; precision 2)"},"creditMth1":{"type":"number","nullable":true,"description":"Credit Month 1 (SDO CREDIT_MTH1; Optional; precision 2)"},"creditMth10":{"type":"number","nullable":true,"description":"Credit Month 10 (SDO CREDIT_MTH10; Optional; precision 2)"},"creditMth11":{"type":"number","nullable":true,"description":"Credit Month 11 (SDO CREDIT_MTH11; Optional; precision 2)"},"creditMth12":{"type":"number","nullable":true,"description":"Credit Month 12 (SDO CREDIT_MTH12; Optional; precision 2)"},"creditMth2":{"type":"number","nullable":true,"description":"Credit Month 2 (SDO CREDIT_MTH2; Optional; precision 2)"},"creditMth3":{"type":"number","nullable":true,"description":"Credit Month 3 (SDO CREDIT_MTH3; Optional; precision 2)"},"creditMth4":{"type":"number","nullable":true,"description":"Credit Month 4 (SDO CREDIT_MTH4; Optional; precision 2)"},"creditMth5":{"type":"number","nullable":true,"description":"Credit Month 5 (SDO CREDIT_MTH5; Optional; precision 2)"},"creditMth6":{"type":"number","nullable":true,"description":"Credit Month 6 (SDO CREDIT_MTH6; Optional; precision 2)"},"creditMth7":{"type":"number","nullable":true,"description":"Credit Month 7 (SDO CREDIT_MTH7; Optional; precision 2)"},"creditMth8":{"type":"number","nullable":true,"description":"Credit Month 8 (SDO CREDIT_MTH8; Optional; precision 2)"},"creditMth9":{"type":"number","nullable":true,"description":"Credit Month 9 (SDO CREDIT_MTH9; Optional; precision 2)"},"debitBf":{"type":"number","nullable":true,"description":"Debit Brought Forward (SDO DEBIT_BF; Optional; precision 2)"},"debitFuture":{"type":"number","nullable":true,"description":"Debit for Future (SDO DEBIT_FUTURE; Optional; precision 2)"},"debitMth1":{"type":"number","nullable":true,"description":"Debit Month 1 (SDO DEBIT_MTH1; Optional; precision 2)"},"debitMth10":{"type":"number","nullable":true,"description":"Debit Month 10 (SDO DEBIT_MTH10; Optional; precision 2)"},"debitMth11":{"type":"number","nullable":true,"description":"Debit Month 11 (SDO DEBIT_MTH11; Optional; precision 2)"},"debitMth12":{"type":"number","nullable":true,"description":"Debit Month 12 (SDO DEBIT_MTH12; Optional; precision 2)"},"debitMth2":{"type":"number","nullable":true,"description":"Debit Month 2 (SDO DEBIT_MTH2; Optional; precision 2)"},"debitMth3":{"type":"number","nullable":true,"description":"Debit Month 3 (SDO DEBIT_MTH3; Optional; precision 2)"},"debitMth4":{"type":"number","nullable":true,"description":"Debit Month 4 (SDO DEBIT_MTH4; Optional; precision 2)"},"debitMth5":{"type":"number","nullable":true,"description":"Debit Month 5 (SDO DEBIT_MTH5; Optional; precision 2)"},"debitMth6":{"type":"number","nullable":true,"description":"Debit Month 6 (SDO DEBIT_MTH6; Optional; precision 2)"},"debitMth7":{"type":"number","nullable":true,"description":"Debit Month 7 (SDO DEBIT_MTH7; Optional; precision 2)"},"debitMth8":{"type":"number","nullable":true,"description":"Debit Month 8 (SDO DEBIT_MTH8; Optional; precision 2)"},"debitMth9":{"type":"number","nullable":true,"description":"Debit Month 9 (SDO DEBIT_MTH9; Optional; precision 2)"},"deletedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Is Deleted (SDO DELETED_FLAG; Optional; precision 0)"},"externalUsage":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Number of External Usages (SDO EXTERNAL_USAGE; Optional; precision 0)"},"firstSplit":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"First (SDO FIRST_SPLIT; Optional; precision 0)"},"inactiveFlag":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Inactive Flag - Yes/No (SDO INACTIVE_FLAG; Optional; precision 0)"},"lastSplit":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Last (SDO LAST_SPLIT; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Name (SDO NAME; Optional; precision 0)"},"noOfSplit":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"No of splits (SDO NO_OF_SPLIT; Optional; precision 0)"},"priorYr2Mth1":{"type":"number","nullable":true,"description":"Prior Year 2 Month 1 (SDO PRIOR_YR2_MTH1; Optional; precision 2)"},"priorYr2Mth10":{"type":"number","nullable":true,"description":"Prior Year 2 Month 10 (SDO PRIOR_YR2_MTH10; Optional; precision 2)"},"priorYr2Mth11":{"type":"number","nullable":true,"description":"Prior Year 2 Month 11 (SDO PRIOR_YR2_MTH11; Optional; precision 2)"},"priorYr2Mth12":{"type":"number","nullable":true,"description":"Prior Year 2 Month 12 (SDO PRIOR_YR2_MTH12; Optional; precision 2)"},"priorYr2Mth2":{"type":"number","nullable":true,"description":"Prior Year 2 Month 2 (SDO PRIOR_YR2_MTH2; Optional; precision 2)"},"priorYr2Mth3":{"type":"number","nullable":true,"description":"Prior Year 2 Month 3 (SDO PRIOR_YR2_MTH3; Optional; precision 2)"},"priorYr2Mth4":{"type":"number","nullable":true,"description":"Prior Year 2 Month 4 (SDO PRIOR_YR2_MTH4; Optional; precision 2)"},"priorYr2Mth5":{"type":"number","nullable":true,"description":"Prior Year 2 Month 5 (SDO PRIOR_YR2_MTH5; Optional; precision 2)"},"priorYr2Mth6":{"type":"number","nullable":true,"description":"Prior Year 2 Month 6 (SDO PRIOR_YR2_MTH6; Optional; precision 2)"},"priorYr2Mth7":{"type":"number","nullable":true,"description":"Prior Year 2 Month 7 (SDO PRIOR_YR2_MTH7; Optional; precision 2)"},"priorYr2Mth8":{"type":"number","nullable":true,"description":"Prior Year 2 Month 8 (SDO PRIOR_YR2_MTH8; Optional; precision 2)"},"priorYr2Mth9":{"type":"number","nullable":true,"description":"Prior Year 2 Month 9 (SDO PRIOR_YR2_MTH9; Optional; precision 2)"},"priorYr3Mth1":{"type":"number","nullable":true,"description":"Prior Year 3 Month 1 (SDO PRIOR_YR3_MTH1; Optional; precision 2)"},"priorYr3Mth10":{"type":"number","nullable":true,"description":"Prior Year 3 Month 10 (SDO PRIOR_YR3_MTH10; Optional; precision 2)"},"priorYr3Mth11":{"type":"number","nullable":true,"description":"Prior Year 3 Month 11 (SDO PRIOR_YR3_MTH11; Optional; precision 2)"},"priorYr3Mth12":{"type":"number","nullable":true,"description":"Prior Year 3 Month 12 (SDO PRIOR_YR3_MTH12; Optional; precision 2)"},"priorYr3Mth2":{"type":"number","nullable":true,"description":"Prior Year 3 Month 2 (SDO PRIOR_YR3_MTH2; Optional; precision 2)"},"priorYr3Mth3":{"type":"number","nullable":true,"description":"Prior Year 3 Month 3 (SDO PRIOR_YR3_MTH3; Optional; precision 2)"},"priorYr3Mth4":{"type":"number","nullable":true,"description":"Prior Year 3 Month 4 (SDO PRIOR_YR3_MTH4; Optional; precision 2)"},"priorYr3Mth5":{"type":"number","nullable":true,"description":"Prior Year 3 Month 5 (SDO PRIOR_YR3_MTH5; Optional; precision 2)"},"priorYr3Mth6":{"type":"number","nullable":true,"description":"Prior Year 3 Month 6 (SDO PRIOR_YR3_MTH6; Optional; precision 2)"},"priorYr3Mth7":{"type":"number","nullable":true,"description":"Prior Year 3 Month 7 (SDO PRIOR_YR3_MTH7; Optional; precision 2)"},"priorYr3Mth8":{"type":"number","nullable":true,"description":"Prior Year 3 Month 8 (SDO PRIOR_YR3_MTH8; Optional; precision 2)"},"priorYr3Mth9":{"type":"number","nullable":true,"description":"Prior Year 3 Month 9 (SDO PRIOR_YR3_MTH9; Optional; precision 2)"},"priorYr4Mth1":{"type":"number","nullable":true,"description":"Prior Year 4 Month 1 (SDO PRIOR_YR4_MTH1; Optional; precision 2)"},"priorYr4Mth10":{"type":"number","nullable":true,"description":"Prior Year 4 Month 10 (SDO PRIOR_YR4_MTH10; Optional; precision 2)"},"priorYr4Mth11":{"type":"number","nullable":true,"description":"Prior Year 4 Month 11 (SDO PRIOR_YR4_MTH11; Optional; precision 2)"},"priorYr4Mth12":{"type":"number","nullable":true,"description":"Prior Year 4 Month 12 (SDO PRIOR_YR4_MTH12; Optional; precision 2)"},"priorYr4Mth2":{"type":"number","nullable":true,"description":"Prior Year 4 Month 2 (SDO PRIOR_YR4_MTH2; Optional; precision 2)"},"priorYr4Mth3":{"type":"number","nullable":true,"description":"Prior Year 4 Month 3 (SDO PRIOR_YR4_MTH3; Optional; precision 2)"},"priorYr4Mth4":{"type":"number","nullable":true,"description":"Prior Year 4 Month 4 (SDO PRIOR_YR4_MTH4; Optional; precision 2)"},"priorYr4Mth5":{"type":"number","nullable":true,"description":"Prior Year 4 Month 5 (SDO PRIOR_YR4_MTH5; Optional; precision 2)"},"priorYr4Mth6":{"type":"number","nullable":true,"description":"Prior Year 4 Month 6 (SDO PRIOR_YR4_MTH6; Optional; precision 2)"},"priorYr4Mth7":{"type":"number","nullable":true,"description":"Prior Year 4 Month 7 (SDO PRIOR_YR4_MTH7; Optional; precision 2)"},"priorYr4Mth8":{"type":"number","nullable":true,"description":"Prior Year 4 Month 8 (SDO PRIOR_YR4_MTH8; Optional; precision 2)"},"priorYr4Mth9":{"type":"number","nullable":true,"description":"Prior Year 4 Month 9 (SDO PRIOR_YR4_MTH9; Optional; precision 2)"},"priorYr5Mth1":{"type":"number","nullable":true,"description":"Prior Year 5 Month 1 (SDO PRIOR_YR5_MTH1; Optional; precision 2)"},"priorYr5Mth10":{"type":"number","nullable":true,"description":"Prior Year 5 Month 10 (SDO PRIOR_YR5_MTH10; Optional; precision 2)"},"priorYr5Mth11":{"type":"number","nullable":true,"description":"Prior Year 5 Month 11 (SDO PRIOR_YR5_MTH11; Optional; precision 2)"},"priorYr5Mth12":{"type":"number","nullable":true,"description":"Prior Year 5 Month 12 (SDO PRIOR_YR5_MTH12; Optional; precision 2)"},"priorYr5Mth2":{"type":"number","nullable":true,"description":"Prior Year 5 Month 2 (SDO PRIOR_YR5_MTH2; Optional; precision 2)"},"priorYr5Mth3":{"type":"number","nullable":true,"description":"Prior Year 5 Month 3 (SDO PRIOR_YR5_MTH3; Optional; precision 2)"},"priorYr5Mth4":{"type":"number","nullable":true,"description":"Prior Year 5 Month 4 (SDO PRIOR_YR5_MTH4; Optional; precision 2)"},"priorYr5Mth5":{"type":"number","nullable":true,"description":"Prior Year 5 Month 5 (SDO PRIOR_YR5_MTH5; Optional; precision 2)"},"priorYr5Mth6":{"type":"number","nullable":true,"description":"Prior Year 5 Month 6 (SDO PRIOR_YR5_MTH6; Optional; precision 2)"},"priorYr5Mth7":{"type":"number","nullable":true,"description":"Prior Year 5 Month 7 (SDO PRIOR_YR5_MTH7; Optional; precision 2)"},"priorYr5Mth8":{"type":"number","nullable":true,"description":"Prior Year 5 Month 8 (SDO PRIOR_YR5_MTH8; Optional; precision 2)"},"priorYr5Mth9":{"type":"number","nullable":true,"description":"Prior Year 5 Month 9 (SDO PRIOR_YR5_MTH9; Optional; precision 2)"},"priorYrMth1":{"type":"number","nullable":true,"description":"Prior Year 1 Month 1 (SDO PRIOR_YR_MTH1; Optional; precision 2)"},"priorYrMth10":{"type":"number","nullable":true,"description":"Prior Year 1 Month 10 (SDO PRIOR_YR_MTH10; Optional; precision 2)"},"priorYrMth11":{"type":"number","nullable":true,"description":"Prior Year 1 Month 11 (SDO PRIOR_YR_MTH11; Optional; precision 2)"},"priorYrMth12":{"type":"number","nullable":true,"description":"Prior Year 1 Month 12 (SDO PRIOR_YR_MTH12; Optional; precision 2)"},"priorYrMth2":{"type":"number","nullable":true,"description":"Prior Year 1 Month 2 (SDO PRIOR_YR_MTH2; Optional; precision 2)"},"priorYrMth3":{"type":"number","nullable":true,"description":"Prior Year 1 Month 3 (SDO PRIOR_YR_MTH3; Optional; precision 2)"},"priorYrMth4":{"type":"number","nullable":true,"description":"Prior Year 1 Month 4 (SDO PRIOR_YR_MTH4; Optional; precision 2)"},"priorYrMth5":{"type":"number","nullable":true,"description":"Prior Year 1 Month 5 (SDO PRIOR_YR_MTH5; Optional; precision 2)"},"priorYrMth6":{"type":"number","nullable":true,"description":"Prior Year 1 Month 6 (SDO PRIOR_YR_MTH6; Optional; precision 2)"},"priorYrMth7":{"type":"number","nullable":true,"description":"Prior Year 1 Month 7 (SDO PRIOR_YR_MTH7; Optional; precision 2)"},"priorYrMth8":{"type":"number","nullable":true,"description":"Prior Year 1 Month 8 (SDO PRIOR_YR_MTH8; Optional; precision 2)"},"priorYrMth9":{"type":"number","nullable":true,"description":"Prior Year 1 Month 9 (SDO PRIOR_YR_MTH9; Optional; precision 2)"},"quickRatioFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Quick ratio account flag (SDO QUICK_RATIO_FLAG; Optional; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"id":{"type":"string"}},"required":["accountRef","accountType","auditRef","balance","balanceBf","balanceFuture","balanceMth1","balanceMth10","balanceMth11","balanceMth12","balanceMth2","balanceMth3","balanceMth4","balanceMth5","balanceMth6","balanceMth7","balanceMth8","balanceMth9","budgetMth1","budgetMth10","budgetMth11","budgetMth12","budgetMth2","budgetMth3","budgetMth4","budgetMth5","budgetMth6","budgetMth7","budgetMth8","budgetMth9","creditBf","creditFuture","creditMth1","creditMth10","creditMth11","creditMth12","creditMth2","creditMth3","creditMth4","creditMth5","creditMth6","creditMth7","creditMth8","creditMth9","debitBf","debitFuture","debitMth1","debitMth10","debitMth11","debitMth12","debitMth2","debitMth3","debitMth4","debitMth5","debitMth6","debitMth7","debitMth8","debitMth9","deletedFlag","externalUsage","firstSplit","inactiveFlag","lastSplit","name","noOfSplit","priorYr2Mth1","priorYr2Mth10","priorYr2Mth11","priorYr2Mth12","priorYr2Mth2","priorYr2Mth3","priorYr2Mth4","priorYr2Mth5","priorYr2Mth6","priorYr2Mth7","priorYr2Mth8","priorYr2Mth9","priorYr3Mth1","priorYr3Mth10","priorYr3Mth11","priorYr3Mth12","priorYr3Mth2","priorYr3Mth3","priorYr3Mth4","priorYr3Mth5","priorYr3Mth6","priorYr3Mth7","priorYr3Mth8","priorYr3Mth9","priorYr4Mth1","priorYr4Mth10","priorYr4Mth11","priorYr4Mth12","priorYr4Mth2","priorYr4Mth3","priorYr4Mth4","priorYr4Mth5","priorYr4Mth6","priorYr4Mth7","priorYr4Mth8","priorYr4Mth9","priorYr5Mth1","priorYr5Mth10","priorYr5Mth11","priorYr5Mth12","priorYr5Mth2","priorYr5Mth3","priorYr5Mth4","priorYr5Mth5","priorYr5Mth6","priorYr5Mth7","priorYr5Mth8","priorYr5Mth9","priorYrMth1","priorYrMth10","priorYrMth11","priorYrMth12","priorYrMth2","priorYrMth3","priorYrMth4","priorYrMth5","priorYrMth6","priorYrMth7","priorYrMth8","priorYrMth9","quickRatioFlag","recordCreateDate","recordDeleted","recordModifyDate","id"],"additionalProperties":false},"Uk27_2_accounts_get":{"type":"object","properties":{"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Account Code (SDO ACCOUNT_REF; Required; precision 0)"},"accountType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Account Type Code (SDO ACCOUNT_TYPE; Optional; precision 0)"},"auditRef":{"type":"string","nullable":true,"maxLength":20,"description":"Incomplete records reference (SDO AUDIT_REF; Optional; precision 0)"},"balance":{"type":"number","nullable":true,"description":"Balance (SDO BALANCE; Optional; precision 2)"},"balanceBf":{"type":"number","nullable":true,"description":"Balance Brought forward (SDO BALANCE_BF; Optional; precision 2)"},"balanceFuture":{"type":"number","nullable":true,"description":"Balance for Future (SDO BALANCE_FUTURE; Optional; precision 2)"},"balanceMth1":{"type":"number","nullable":true,"description":"Balance Month 1 (SDO BALANCE_MTH1; Optional; precision 2)"},"balanceMth10":{"type":"number","nullable":true,"description":"Balance Month 10 (SDO BALANCE_MTH10; Optional; precision 2)"},"balanceMth11":{"type":"number","nullable":true,"description":"Balance Month 11 (SDO BALANCE_MTH11; Optional; precision 2)"},"balanceMth12":{"type":"number","nullable":true,"description":"Balance Month 12 (SDO BALANCE_MTH12; Optional; precision 2)"},"balanceMth2":{"type":"number","nullable":true,"description":"Balance Month 2 (SDO BALANCE_MTH2; Optional; precision 2)"},"balanceMth3":{"type":"number","nullable":true,"description":"Balance Month 3 (SDO BALANCE_MTH3; Optional; precision 2)"},"balanceMth4":{"type":"number","nullable":true,"description":"Balance Month 4 (SDO BALANCE_MTH4; Optional; precision 2)"},"balanceMth5":{"type":"number","nullable":true,"description":"Balance Month 5 (SDO BALANCE_MTH5; Optional; precision 2)"},"balanceMth6":{"type":"number","nullable":true,"description":"Balance Month 6 (SDO BALANCE_MTH6; Optional; precision 2)"},"balanceMth7":{"type":"number","nullable":true,"description":"Balance Month 7 (SDO BALANCE_MTH7; Optional; precision 2)"},"balanceMth8":{"type":"number","nullable":true,"description":"Balance Month 8 (SDO BALANCE_MTH8; Optional; precision 2)"},"balanceMth9":{"type":"number","nullable":true,"description":"Balance Month 9 (SDO BALANCE_MTH9; Optional; precision 2)"},"budgetMth1":{"type":"number","nullable":true,"description":"Budget Month 1 (SDO BUDGET_MTH1; Optional; precision 2)"},"budgetMth10":{"type":"number","nullable":true,"description":"Budget Month 10 (SDO BUDGET_MTH10; Optional; precision 2)"},"budgetMth11":{"type":"number","nullable":true,"description":"Budget Month 11 (SDO BUDGET_MTH11; Optional; precision 2)"},"budgetMth12":{"type":"number","nullable":true,"description":"Budget Month 12 (SDO BUDGET_MTH12; Optional; precision 2)"},"budgetMth2":{"type":"number","nullable":true,"description":"Budget Month 2 (SDO BUDGET_MTH2; Optional; precision 2)"},"budgetMth3":{"type":"number","nullable":true,"description":"Budget Month 3 (SDO BUDGET_MTH3; Optional; precision 2)"},"budgetMth4":{"type":"number","nullable":true,"description":"Budget Month 4 (SDO BUDGET_MTH4; Optional; precision 2)"},"budgetMth5":{"type":"number","nullable":true,"description":"Budget Month 5 (SDO BUDGET_MTH5; Optional; precision 2)"},"budgetMth6":{"type":"number","nullable":true,"description":"Budget Month 6 (SDO BUDGET_MTH6; Optional; precision 2)"},"budgetMth7":{"type":"number","nullable":true,"description":"Budget Month 7 (SDO BUDGET_MTH7; Optional; precision 2)"},"budgetMth8":{"type":"number","nullable":true,"description":"Budget Month 8 (SDO BUDGET_MTH8; Optional; precision 2)"},"budgetMth9":{"type":"number","nullable":true,"description":"Budget Month 9 (SDO BUDGET_MTH9; Optional; precision 2)"},"creditBf":{"type":"number","nullable":true,"description":"Credit Brought Forward (SDO CREDIT_BF; Optional; precision 2)"},"creditFuture":{"type":"number","nullable":true,"description":"Credit for Future (SDO CREDIT_FUTURE; Optional; precision 2)"},"creditMth1":{"type":"number","nullable":true,"description":"Credit Month 1 (SDO CREDIT_MTH1; Optional; precision 2)"},"creditMth10":{"type":"number","nullable":true,"description":"Credit Month 10 (SDO CREDIT_MTH10; Optional; precision 2)"},"creditMth11":{"type":"number","nullable":true,"description":"Credit Month 11 (SDO CREDIT_MTH11; Optional; precision 2)"},"creditMth12":{"type":"number","nullable":true,"description":"Credit Month 12 (SDO CREDIT_MTH12; Optional; precision 2)"},"creditMth2":{"type":"number","nullable":true,"description":"Credit Month 2 (SDO CREDIT_MTH2; Optional; precision 2)"},"creditMth3":{"type":"number","nullable":true,"description":"Credit Month 3 (SDO CREDIT_MTH3; Optional; precision 2)"},"creditMth4":{"type":"number","nullable":true,"description":"Credit Month 4 (SDO CREDIT_MTH4; Optional; precision 2)"},"creditMth5":{"type":"number","nullable":true,"description":"Credit Month 5 (SDO CREDIT_MTH5; Optional; precision 2)"},"creditMth6":{"type":"number","nullable":true,"description":"Credit Month 6 (SDO CREDIT_MTH6; Optional; precision 2)"},"creditMth7":{"type":"number","nullable":true,"description":"Credit Month 7 (SDO CREDIT_MTH7; Optional; precision 2)"},"creditMth8":{"type":"number","nullable":true,"description":"Credit Month 8 (SDO CREDIT_MTH8; Optional; precision 2)"},"creditMth9":{"type":"number","nullable":true,"description":"Credit Month 9 (SDO CREDIT_MTH9; Optional; precision 2)"},"debitBf":{"type":"number","nullable":true,"description":"Debit Brought Forward (SDO DEBIT_BF; Optional; precision 2)"},"debitFuture":{"type":"number","nullable":true,"description":"Debit for Future (SDO DEBIT_FUTURE; Optional; precision 2)"},"debitMth1":{"type":"number","nullable":true,"description":"Debit Month 1 (SDO DEBIT_MTH1; Optional; precision 2)"},"debitMth10":{"type":"number","nullable":true,"description":"Debit Month 10 (SDO DEBIT_MTH10; Optional; precision 2)"},"debitMth11":{"type":"number","nullable":true,"description":"Debit Month 11 (SDO DEBIT_MTH11; Optional; precision 2)"},"debitMth12":{"type":"number","nullable":true,"description":"Debit Month 12 (SDO DEBIT_MTH12; Optional; precision 2)"},"debitMth2":{"type":"number","nullable":true,"description":"Debit Month 2 (SDO DEBIT_MTH2; Optional; precision 2)"},"debitMth3":{"type":"number","nullable":true,"description":"Debit Month 3 (SDO DEBIT_MTH3; Optional; precision 2)"},"debitMth4":{"type":"number","nullable":true,"description":"Debit Month 4 (SDO DEBIT_MTH4; Optional; precision 2)"},"debitMth5":{"type":"number","nullable":true,"description":"Debit Month 5 (SDO DEBIT_MTH5; Optional; precision 2)"},"debitMth6":{"type":"number","nullable":true,"description":"Debit Month 6 (SDO DEBIT_MTH6; Optional; precision 2)"},"debitMth7":{"type":"number","nullable":true,"description":"Debit Month 7 (SDO DEBIT_MTH7; Optional; precision 2)"},"debitMth8":{"type":"number","nullable":true,"description":"Debit Month 8 (SDO DEBIT_MTH8; Optional; precision 2)"},"debitMth9":{"type":"number","nullable":true,"description":"Debit Month 9 (SDO DEBIT_MTH9; Optional; precision 2)"},"deletedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Is Deleted (SDO DELETED_FLAG; Optional; precision 0)"},"externalUsage":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Number of External Usages (SDO EXTERNAL_USAGE; Optional; precision 0)"},"firstSplit":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"First (SDO FIRST_SPLIT; Optional; precision 0)"},"inactiveFlag":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Inactive Flag - Yes/No (SDO INACTIVE_FLAG; Optional; precision 0)"},"lastSplit":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Last (SDO LAST_SPLIT; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Name (SDO NAME; Optional; precision 0)"},"noOfSplit":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"No of splits (SDO NO_OF_SPLIT; Optional; precision 0)"},"priorYr2Mth1":{"type":"number","nullable":true,"description":"Prior Year 2 Month 1 (SDO PRIOR_YR2_MTH1; Optional; precision 2)"},"priorYr2Mth10":{"type":"number","nullable":true,"description":"Prior Year 2 Month 10 (SDO PRIOR_YR2_MTH10; Optional; precision 2)"},"priorYr2Mth11":{"type":"number","nullable":true,"description":"Prior Year 2 Month 11 (SDO PRIOR_YR2_MTH11; Optional; precision 2)"},"priorYr2Mth12":{"type":"number","nullable":true,"description":"Prior Year 2 Month 12 (SDO PRIOR_YR2_MTH12; Optional; precision 2)"},"priorYr2Mth2":{"type":"number","nullable":true,"description":"Prior Year 2 Month 2 (SDO PRIOR_YR2_MTH2; Optional; precision 2)"},"priorYr2Mth3":{"type":"number","nullable":true,"description":"Prior Year 2 Month 3 (SDO PRIOR_YR2_MTH3; Optional; precision 2)"},"priorYr2Mth4":{"type":"number","nullable":true,"description":"Prior Year 2 Month 4 (SDO PRIOR_YR2_MTH4; Optional; precision 2)"},"priorYr2Mth5":{"type":"number","nullable":true,"description":"Prior Year 2 Month 5 (SDO PRIOR_YR2_MTH5; Optional; precision 2)"},"priorYr2Mth6":{"type":"number","nullable":true,"description":"Prior Year 2 Month 6 (SDO PRIOR_YR2_MTH6; Optional; precision 2)"},"priorYr2Mth7":{"type":"number","nullable":true,"description":"Prior Year 2 Month 7 (SDO PRIOR_YR2_MTH7; Optional; precision 2)"},"priorYr2Mth8":{"type":"number","nullable":true,"description":"Prior Year 2 Month 8 (SDO PRIOR_YR2_MTH8; Optional; precision 2)"},"priorYr2Mth9":{"type":"number","nullable":true,"description":"Prior Year 2 Month 9 (SDO PRIOR_YR2_MTH9; Optional; precision 2)"},"priorYr3Mth1":{"type":"number","nullable":true,"description":"Prior Year 3 Month 1 (SDO PRIOR_YR3_MTH1; Optional; precision 2)"},"priorYr3Mth10":{"type":"number","nullable":true,"description":"Prior Year 3 Month 10 (SDO PRIOR_YR3_MTH10; Optional; precision 2)"},"priorYr3Mth11":{"type":"number","nullable":true,"description":"Prior Year 3 Month 11 (SDO PRIOR_YR3_MTH11; Optional; precision 2)"},"priorYr3Mth12":{"type":"number","nullable":true,"description":"Prior Year 3 Month 12 (SDO PRIOR_YR3_MTH12; Optional; precision 2)"},"priorYr3Mth2":{"type":"number","nullable":true,"description":"Prior Year 3 Month 2 (SDO PRIOR_YR3_MTH2; Optional; precision 2)"},"priorYr3Mth3":{"type":"number","nullable":true,"description":"Prior Year 3 Month 3 (SDO PRIOR_YR3_MTH3; Optional; precision 2)"},"priorYr3Mth4":{"type":"number","nullable":true,"description":"Prior Year 3 Month 4 (SDO PRIOR_YR3_MTH4; Optional; precision 2)"},"priorYr3Mth5":{"type":"number","nullable":true,"description":"Prior Year 3 Month 5 (SDO PRIOR_YR3_MTH5; Optional; precision 2)"},"priorYr3Mth6":{"type":"number","nullable":true,"description":"Prior Year 3 Month 6 (SDO PRIOR_YR3_MTH6; Optional; precision 2)"},"priorYr3Mth7":{"type":"number","nullable":true,"description":"Prior Year 3 Month 7 (SDO PRIOR_YR3_MTH7; Optional; precision 2)"},"priorYr3Mth8":{"type":"number","nullable":true,"description":"Prior Year 3 Month 8 (SDO PRIOR_YR3_MTH8; Optional; precision 2)"},"priorYr3Mth9":{"type":"number","nullable":true,"description":"Prior Year 3 Month 9 (SDO PRIOR_YR3_MTH9; Optional; precision 2)"},"priorYr4Mth1":{"type":"number","nullable":true,"description":"Prior Year 4 Month 1 (SDO PRIOR_YR4_MTH1; Optional; precision 2)"},"priorYr4Mth10":{"type":"number","nullable":true,"description":"Prior Year 4 Month 10 (SDO PRIOR_YR4_MTH10; Optional; precision 2)"},"priorYr4Mth11":{"type":"number","nullable":true,"description":"Prior Year 4 Month 11 (SDO PRIOR_YR4_MTH11; Optional; precision 2)"},"priorYr4Mth12":{"type":"number","nullable":true,"description":"Prior Year 4 Month 12 (SDO PRIOR_YR4_MTH12; Optional; precision 2)"},"priorYr4Mth2":{"type":"number","nullable":true,"description":"Prior Year 4 Month 2 (SDO PRIOR_YR4_MTH2; Optional; precision 2)"},"priorYr4Mth3":{"type":"number","nullable":true,"description":"Prior Year 4 Month 3 (SDO PRIOR_YR4_MTH3; Optional; precision 2)"},"priorYr4Mth4":{"type":"number","nullable":true,"description":"Prior Year 4 Month 4 (SDO PRIOR_YR4_MTH4; Optional; precision 2)"},"priorYr4Mth5":{"type":"number","nullable":true,"description":"Prior Year 4 Month 5 (SDO PRIOR_YR4_MTH5; Optional; precision 2)"},"priorYr4Mth6":{"type":"number","nullable":true,"description":"Prior Year 4 Month 6 (SDO PRIOR_YR4_MTH6; Optional; precision 2)"},"priorYr4Mth7":{"type":"number","nullable":true,"description":"Prior Year 4 Month 7 (SDO PRIOR_YR4_MTH7; Optional; precision 2)"},"priorYr4Mth8":{"type":"number","nullable":true,"description":"Prior Year 4 Month 8 (SDO PRIOR_YR4_MTH8; Optional; precision 2)"},"priorYr4Mth9":{"type":"number","nullable":true,"description":"Prior Year 4 Month 9 (SDO PRIOR_YR4_MTH9; Optional; precision 2)"},"priorYr5Mth1":{"type":"number","nullable":true,"description":"Prior Year 5 Month 1 (SDO PRIOR_YR5_MTH1; Optional; precision 2)"},"priorYr5Mth10":{"type":"number","nullable":true,"description":"Prior Year 5 Month 10 (SDO PRIOR_YR5_MTH10; Optional; precision 2)"},"priorYr5Mth11":{"type":"number","nullable":true,"description":"Prior Year 5 Month 11 (SDO PRIOR_YR5_MTH11; Optional; precision 2)"},"priorYr5Mth12":{"type":"number","nullable":true,"description":"Prior Year 5 Month 12 (SDO PRIOR_YR5_MTH12; Optional; precision 2)"},"priorYr5Mth2":{"type":"number","nullable":true,"description":"Prior Year 5 Month 2 (SDO PRIOR_YR5_MTH2; Optional; precision 2)"},"priorYr5Mth3":{"type":"number","nullable":true,"description":"Prior Year 5 Month 3 (SDO PRIOR_YR5_MTH3; Optional; precision 2)"},"priorYr5Mth4":{"type":"number","nullable":true,"description":"Prior Year 5 Month 4 (SDO PRIOR_YR5_MTH4; Optional; precision 2)"},"priorYr5Mth5":{"type":"number","nullable":true,"description":"Prior Year 5 Month 5 (SDO PRIOR_YR5_MTH5; Optional; precision 2)"},"priorYr5Mth6":{"type":"number","nullable":true,"description":"Prior Year 5 Month 6 (SDO PRIOR_YR5_MTH6; Optional; precision 2)"},"priorYr5Mth7":{"type":"number","nullable":true,"description":"Prior Year 5 Month 7 (SDO PRIOR_YR5_MTH7; Optional; precision 2)"},"priorYr5Mth8":{"type":"number","nullable":true,"description":"Prior Year 5 Month 8 (SDO PRIOR_YR5_MTH8; Optional; precision 2)"},"priorYr5Mth9":{"type":"number","nullable":true,"description":"Prior Year 5 Month 9 (SDO PRIOR_YR5_MTH9; Optional; precision 2)"},"priorYrMth1":{"type":"number","nullable":true,"description":"Prior Year 1 Month 1 (SDO PRIOR_YR_MTH1; Optional; precision 2)"},"priorYrMth10":{"type":"number","nullable":true,"description":"Prior Year 1 Month 10 (SDO PRIOR_YR_MTH10; Optional; precision 2)"},"priorYrMth11":{"type":"number","nullable":true,"description":"Prior Year 1 Month 11 (SDO PRIOR_YR_MTH11; Optional; precision 2)"},"priorYrMth12":{"type":"number","nullable":true,"description":"Prior Year 1 Month 12 (SDO PRIOR_YR_MTH12; Optional; precision 2)"},"priorYrMth2":{"type":"number","nullable":true,"description":"Prior Year 1 Month 2 (SDO PRIOR_YR_MTH2; Optional; precision 2)"},"priorYrMth3":{"type":"number","nullable":true,"description":"Prior Year 1 Month 3 (SDO PRIOR_YR_MTH3; Optional; precision 2)"},"priorYrMth4":{"type":"number","nullable":true,"description":"Prior Year 1 Month 4 (SDO PRIOR_YR_MTH4; Optional; precision 2)"},"priorYrMth5":{"type":"number","nullable":true,"description":"Prior Year 1 Month 5 (SDO PRIOR_YR_MTH5; Optional; precision 2)"},"priorYrMth6":{"type":"number","nullable":true,"description":"Prior Year 1 Month 6 (SDO PRIOR_YR_MTH6; Optional; precision 2)"},"priorYrMth7":{"type":"number","nullable":true,"description":"Prior Year 1 Month 7 (SDO PRIOR_YR_MTH7; Optional; precision 2)"},"priorYrMth8":{"type":"number","nullable":true,"description":"Prior Year 1 Month 8 (SDO PRIOR_YR_MTH8; Optional; precision 2)"},"priorYrMth9":{"type":"number","nullable":true,"description":"Prior Year 1 Month 9 (SDO PRIOR_YR_MTH9; Optional; precision 2)"},"quickRatioFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Quick ratio account flag (SDO QUICK_RATIO_FLAG; Optional; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"id":{"type":"string"}},"required":["accountRef","accountType","auditRef","balance","balanceBf","balanceFuture","balanceMth1","balanceMth10","balanceMth11","balanceMth12","balanceMth2","balanceMth3","balanceMth4","balanceMth5","balanceMth6","balanceMth7","balanceMth8","balanceMth9","budgetMth1","budgetMth10","budgetMth11","budgetMth12","budgetMth2","budgetMth3","budgetMth4","budgetMth5","budgetMth6","budgetMth7","budgetMth8","budgetMth9","creditBf","creditFuture","creditMth1","creditMth10","creditMth11","creditMth12","creditMth2","creditMth3","creditMth4","creditMth5","creditMth6","creditMth7","creditMth8","creditMth9","debitBf","debitFuture","debitMth1","debitMth10","debitMth11","debitMth12","debitMth2","debitMth3","debitMth4","debitMth5","debitMth6","debitMth7","debitMth8","debitMth9","deletedFlag","externalUsage","firstSplit","inactiveFlag","lastSplit","name","noOfSplit","priorYr2Mth1","priorYr2Mth10","priorYr2Mth11","priorYr2Mth12","priorYr2Mth2","priorYr2Mth3","priorYr2Mth4","priorYr2Mth5","priorYr2Mth6","priorYr2Mth7","priorYr2Mth8","priorYr2Mth9","priorYr3Mth1","priorYr3Mth10","priorYr3Mth11","priorYr3Mth12","priorYr3Mth2","priorYr3Mth3","priorYr3Mth4","priorYr3Mth5","priorYr3Mth6","priorYr3Mth7","priorYr3Mth8","priorYr3Mth9","priorYr4Mth1","priorYr4Mth10","priorYr4Mth11","priorYr4Mth12","priorYr4Mth2","priorYr4Mth3","priorYr4Mth4","priorYr4Mth5","priorYr4Mth6","priorYr4Mth7","priorYr4Mth8","priorYr4Mth9","priorYr5Mth1","priorYr5Mth10","priorYr5Mth11","priorYr5Mth12","priorYr5Mth2","priorYr5Mth3","priorYr5Mth4","priorYr5Mth5","priorYr5Mth6","priorYr5Mth7","priorYr5Mth8","priorYr5Mth9","priorYrMth1","priorYrMth10","priorYrMth11","priorYrMth12","priorYrMth2","priorYrMth3","priorYrMth4","priorYrMth5","priorYrMth6","priorYrMth7","priorYrMth8","priorYrMth9","quickRatioFlag","recordCreateDate","recordDeleted","recordModifyDate","id"],"additionalProperties":false},"Uk28_1_accounts_get":{"type":"object","properties":{"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Account Code (SDO ACCOUNT_REF; Required; precision 0)"},"accountType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Account Type Code (SDO ACCOUNT_TYPE; Optional; precision 0)"},"auditRef":{"type":"string","nullable":true,"maxLength":20,"description":"Incomplete records reference (SDO AUDIT_REF; Optional; precision 0)"},"balance":{"type":"number","nullable":true,"description":"Balance (SDO BALANCE; Optional; precision 2)"},"balanceBf":{"type":"number","nullable":true,"description":"Balance Brought forward (SDO BALANCE_BF; Optional; precision 2)"},"balanceFuture":{"type":"number","nullable":true,"description":"Balance for Future (SDO BALANCE_FUTURE; Optional; precision 2)"},"balanceMth1":{"type":"number","nullable":true,"description":"Balance Month 1 (SDO BALANCE_MTH1; Optional; precision 2)"},"balanceMth10":{"type":"number","nullable":true,"description":"Balance Month 10 (SDO BALANCE_MTH10; Optional; precision 2)"},"balanceMth11":{"type":"number","nullable":true,"description":"Balance Month 11 (SDO BALANCE_MTH11; Optional; precision 2)"},"balanceMth12":{"type":"number","nullable":true,"description":"Balance Month 12 (SDO BALANCE_MTH12; Optional; precision 2)"},"balanceMth2":{"type":"number","nullable":true,"description":"Balance Month 2 (SDO BALANCE_MTH2; Optional; precision 2)"},"balanceMth3":{"type":"number","nullable":true,"description":"Balance Month 3 (SDO BALANCE_MTH3; Optional; precision 2)"},"balanceMth4":{"type":"number","nullable":true,"description":"Balance Month 4 (SDO BALANCE_MTH4; Optional; precision 2)"},"balanceMth5":{"type":"number","nullable":true,"description":"Balance Month 5 (SDO BALANCE_MTH5; Optional; precision 2)"},"balanceMth6":{"type":"number","nullable":true,"description":"Balance Month 6 (SDO BALANCE_MTH6; Optional; precision 2)"},"balanceMth7":{"type":"number","nullable":true,"description":"Balance Month 7 (SDO BALANCE_MTH7; Optional; precision 2)"},"balanceMth8":{"type":"number","nullable":true,"description":"Balance Month 8 (SDO BALANCE_MTH8; Optional; precision 2)"},"balanceMth9":{"type":"number","nullable":true,"description":"Balance Month 9 (SDO BALANCE_MTH9; Optional; precision 2)"},"budgetMth1":{"type":"number","nullable":true,"description":"Budget Month 1 (SDO BUDGET_MTH1; Optional; precision 2)"},"budgetMth10":{"type":"number","nullable":true,"description":"Budget Month 10 (SDO BUDGET_MTH10; Optional; precision 2)"},"budgetMth11":{"type":"number","nullable":true,"description":"Budget Month 11 (SDO BUDGET_MTH11; Optional; precision 2)"},"budgetMth12":{"type":"number","nullable":true,"description":"Budget Month 12 (SDO BUDGET_MTH12; Optional; precision 2)"},"budgetMth2":{"type":"number","nullable":true,"description":"Budget Month 2 (SDO BUDGET_MTH2; Optional; precision 2)"},"budgetMth3":{"type":"number","nullable":true,"description":"Budget Month 3 (SDO BUDGET_MTH3; Optional; precision 2)"},"budgetMth4":{"type":"number","nullable":true,"description":"Budget Month 4 (SDO BUDGET_MTH4; Optional; precision 2)"},"budgetMth5":{"type":"number","nullable":true,"description":"Budget Month 5 (SDO BUDGET_MTH5; Optional; precision 2)"},"budgetMth6":{"type":"number","nullable":true,"description":"Budget Month 6 (SDO BUDGET_MTH6; Optional; precision 2)"},"budgetMth7":{"type":"number","nullable":true,"description":"Budget Month 7 (SDO BUDGET_MTH7; Optional; precision 2)"},"budgetMth8":{"type":"number","nullable":true,"description":"Budget Month 8 (SDO BUDGET_MTH8; Optional; precision 2)"},"budgetMth9":{"type":"number","nullable":true,"description":"Budget Month 9 (SDO BUDGET_MTH9; Optional; precision 2)"},"creditBf":{"type":"number","nullable":true,"description":"Credit Brought Forward (SDO CREDIT_BF; Optional; precision 2)"},"creditFuture":{"type":"number","nullable":true,"description":"Credit for Future (SDO CREDIT_FUTURE; Optional; precision 2)"},"creditMth1":{"type":"number","nullable":true,"description":"Credit Month 1 (SDO CREDIT_MTH1; Optional; precision 2)"},"creditMth10":{"type":"number","nullable":true,"description":"Credit Month 10 (SDO CREDIT_MTH10; Optional; precision 2)"},"creditMth11":{"type":"number","nullable":true,"description":"Credit Month 11 (SDO CREDIT_MTH11; Optional; precision 2)"},"creditMth12":{"type":"number","nullable":true,"description":"Credit Month 12 (SDO CREDIT_MTH12; Optional; precision 2)"},"creditMth2":{"type":"number","nullable":true,"description":"Credit Month 2 (SDO CREDIT_MTH2; Optional; precision 2)"},"creditMth3":{"type":"number","nullable":true,"description":"Credit Month 3 (SDO CREDIT_MTH3; Optional; precision 2)"},"creditMth4":{"type":"number","nullable":true,"description":"Credit Month 4 (SDO CREDIT_MTH4; Optional; precision 2)"},"creditMth5":{"type":"number","nullable":true,"description":"Credit Month 5 (SDO CREDIT_MTH5; Optional; precision 2)"},"creditMth6":{"type":"number","nullable":true,"description":"Credit Month 6 (SDO CREDIT_MTH6; Optional; precision 2)"},"creditMth7":{"type":"number","nullable":true,"description":"Credit Month 7 (SDO CREDIT_MTH7; Optional; precision 2)"},"creditMth8":{"type":"number","nullable":true,"description":"Credit Month 8 (SDO CREDIT_MTH8; Optional; precision 2)"},"creditMth9":{"type":"number","nullable":true,"description":"Credit Month 9 (SDO CREDIT_MTH9; Optional; precision 2)"},"debitBf":{"type":"number","nullable":true,"description":"Debit Brought Forward (SDO DEBIT_BF; Optional; precision 2)"},"debitFuture":{"type":"number","nullable":true,"description":"Debit for Future (SDO DEBIT_FUTURE; Optional; precision 2)"},"debitMth1":{"type":"number","nullable":true,"description":"Debit Month 1 (SDO DEBIT_MTH1; Optional; precision 2)"},"debitMth10":{"type":"number","nullable":true,"description":"Debit Month 10 (SDO DEBIT_MTH10; Optional; precision 2)"},"debitMth11":{"type":"number","nullable":true,"description":"Debit Month 11 (SDO DEBIT_MTH11; Optional; precision 2)"},"debitMth12":{"type":"number","nullable":true,"description":"Debit Month 12 (SDO DEBIT_MTH12; Optional; precision 2)"},"debitMth2":{"type":"number","nullable":true,"description":"Debit Month 2 (SDO DEBIT_MTH2; Optional; precision 2)"},"debitMth3":{"type":"number","nullable":true,"description":"Debit Month 3 (SDO DEBIT_MTH3; Optional; precision 2)"},"debitMth4":{"type":"number","nullable":true,"description":"Debit Month 4 (SDO DEBIT_MTH4; Optional; precision 2)"},"debitMth5":{"type":"number","nullable":true,"description":"Debit Month 5 (SDO DEBIT_MTH5; Optional; precision 2)"},"debitMth6":{"type":"number","nullable":true,"description":"Debit Month 6 (SDO DEBIT_MTH6; Optional; precision 2)"},"debitMth7":{"type":"number","nullable":true,"description":"Debit Month 7 (SDO DEBIT_MTH7; Optional; precision 2)"},"debitMth8":{"type":"number","nullable":true,"description":"Debit Month 8 (SDO DEBIT_MTH8; Optional; precision 2)"},"debitMth9":{"type":"number","nullable":true,"description":"Debit Month 9 (SDO DEBIT_MTH9; Optional; precision 2)"},"deletedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Is Deleted (SDO DELETED_FLAG; Optional; precision 0)"},"externalUsage":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Number of External Usages (SDO EXTERNAL_USAGE; Optional; precision 0)"},"firstSplit":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"First (SDO FIRST_SPLIT; Optional; precision 0)"},"inactiveFlag":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Inactive Flag - Yes/No (SDO INACTIVE_FLAG; Optional; precision 0)"},"lastSplit":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Last (SDO LAST_SPLIT; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Name (SDO NAME; Optional; precision 0)"},"noOfSplit":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"No of splits (SDO NO_OF_SPLIT; Optional; precision 0)"},"priorYr2Mth1":{"type":"number","nullable":true,"description":"Prior Year 2 Month 1 (SDO PRIOR_YR2_MTH1; Optional; precision 2)"},"priorYr2Mth10":{"type":"number","nullable":true,"description":"Prior Year 2 Month 10 (SDO PRIOR_YR2_MTH10; Optional; precision 2)"},"priorYr2Mth11":{"type":"number","nullable":true,"description":"Prior Year 2 Month 11 (SDO PRIOR_YR2_MTH11; Optional; precision 2)"},"priorYr2Mth12":{"type":"number","nullable":true,"description":"Prior Year 2 Month 12 (SDO PRIOR_YR2_MTH12; Optional; precision 2)"},"priorYr2Mth2":{"type":"number","nullable":true,"description":"Prior Year 2 Month 2 (SDO PRIOR_YR2_MTH2; Optional; precision 2)"},"priorYr2Mth3":{"type":"number","nullable":true,"description":"Prior Year 2 Month 3 (SDO PRIOR_YR2_MTH3; Optional; precision 2)"},"priorYr2Mth4":{"type":"number","nullable":true,"description":"Prior Year 2 Month 4 (SDO PRIOR_YR2_MTH4; Optional; precision 2)"},"priorYr2Mth5":{"type":"number","nullable":true,"description":"Prior Year 2 Month 5 (SDO PRIOR_YR2_MTH5; Optional; precision 2)"},"priorYr2Mth6":{"type":"number","nullable":true,"description":"Prior Year 2 Month 6 (SDO PRIOR_YR2_MTH6; Optional; precision 2)"},"priorYr2Mth7":{"type":"number","nullable":true,"description":"Prior Year 2 Month 7 (SDO PRIOR_YR2_MTH7; Optional; precision 2)"},"priorYr2Mth8":{"type":"number","nullable":true,"description":"Prior Year 2 Month 8 (SDO PRIOR_YR2_MTH8; Optional; precision 2)"},"priorYr2Mth9":{"type":"number","nullable":true,"description":"Prior Year 2 Month 9 (SDO PRIOR_YR2_MTH9; Optional; precision 2)"},"priorYr3Mth1":{"type":"number","nullable":true,"description":"Prior Year 3 Month 1 (SDO PRIOR_YR3_MTH1; Optional; precision 2)"},"priorYr3Mth10":{"type":"number","nullable":true,"description":"Prior Year 3 Month 10 (SDO PRIOR_YR3_MTH10; Optional; precision 2)"},"priorYr3Mth11":{"type":"number","nullable":true,"description":"Prior Year 3 Month 11 (SDO PRIOR_YR3_MTH11; Optional; precision 2)"},"priorYr3Mth12":{"type":"number","nullable":true,"description":"Prior Year 3 Month 12 (SDO PRIOR_YR3_MTH12; Optional; precision 2)"},"priorYr3Mth2":{"type":"number","nullable":true,"description":"Prior Year 3 Month 2 (SDO PRIOR_YR3_MTH2; Optional; precision 2)"},"priorYr3Mth3":{"type":"number","nullable":true,"description":"Prior Year 3 Month 3 (SDO PRIOR_YR3_MTH3; Optional; precision 2)"},"priorYr3Mth4":{"type":"number","nullable":true,"description":"Prior Year 3 Month 4 (SDO PRIOR_YR3_MTH4; Optional; precision 2)"},"priorYr3Mth5":{"type":"number","nullable":true,"description":"Prior Year 3 Month 5 (SDO PRIOR_YR3_MTH5; Optional; precision 2)"},"priorYr3Mth6":{"type":"number","nullable":true,"description":"Prior Year 3 Month 6 (SDO PRIOR_YR3_MTH6; Optional; precision 2)"},"priorYr3Mth7":{"type":"number","nullable":true,"description":"Prior Year 3 Month 7 (SDO PRIOR_YR3_MTH7; Optional; precision 2)"},"priorYr3Mth8":{"type":"number","nullable":true,"description":"Prior Year 3 Month 8 (SDO PRIOR_YR3_MTH8; Optional; precision 2)"},"priorYr3Mth9":{"type":"number","nullable":true,"description":"Prior Year 3 Month 9 (SDO PRIOR_YR3_MTH9; Optional; precision 2)"},"priorYr4Mth1":{"type":"number","nullable":true,"description":"Prior Year 4 Month 1 (SDO PRIOR_YR4_MTH1; Optional; precision 2)"},"priorYr4Mth10":{"type":"number","nullable":true,"description":"Prior Year 4 Month 10 (SDO PRIOR_YR4_MTH10; Optional; precision 2)"},"priorYr4Mth11":{"type":"number","nullable":true,"description":"Prior Year 4 Month 11 (SDO PRIOR_YR4_MTH11; Optional; precision 2)"},"priorYr4Mth12":{"type":"number","nullable":true,"description":"Prior Year 4 Month 12 (SDO PRIOR_YR4_MTH12; Optional; precision 2)"},"priorYr4Mth2":{"type":"number","nullable":true,"description":"Prior Year 4 Month 2 (SDO PRIOR_YR4_MTH2; Optional; precision 2)"},"priorYr4Mth3":{"type":"number","nullable":true,"description":"Prior Year 4 Month 3 (SDO PRIOR_YR4_MTH3; Optional; precision 2)"},"priorYr4Mth4":{"type":"number","nullable":true,"description":"Prior Year 4 Month 4 (SDO PRIOR_YR4_MTH4; Optional; precision 2)"},"priorYr4Mth5":{"type":"number","nullable":true,"description":"Prior Year 4 Month 5 (SDO PRIOR_YR4_MTH5; Optional; precision 2)"},"priorYr4Mth6":{"type":"number","nullable":true,"description":"Prior Year 4 Month 6 (SDO PRIOR_YR4_MTH6; Optional; precision 2)"},"priorYr4Mth7":{"type":"number","nullable":true,"description":"Prior Year 4 Month 7 (SDO PRIOR_YR4_MTH7; Optional; precision 2)"},"priorYr4Mth8":{"type":"number","nullable":true,"description":"Prior Year 4 Month 8 (SDO PRIOR_YR4_MTH8; Optional; precision 2)"},"priorYr4Mth9":{"type":"number","nullable":true,"description":"Prior Year 4 Month 9 (SDO PRIOR_YR4_MTH9; Optional; precision 2)"},"priorYr5Mth1":{"type":"number","nullable":true,"description":"Prior Year 5 Month 1 (SDO PRIOR_YR5_MTH1; Optional; precision 2)"},"priorYr5Mth10":{"type":"number","nullable":true,"description":"Prior Year 5 Month 10 (SDO PRIOR_YR5_MTH10; Optional; precision 2)"},"priorYr5Mth11":{"type":"number","nullable":true,"description":"Prior Year 5 Month 11 (SDO PRIOR_YR5_MTH11; Optional; precision 2)"},"priorYr5Mth12":{"type":"number","nullable":true,"description":"Prior Year 5 Month 12 (SDO PRIOR_YR5_MTH12; Optional; precision 2)"},"priorYr5Mth2":{"type":"number","nullable":true,"description":"Prior Year 5 Month 2 (SDO PRIOR_YR5_MTH2; Optional; precision 2)"},"priorYr5Mth3":{"type":"number","nullable":true,"description":"Prior Year 5 Month 3 (SDO PRIOR_YR5_MTH3; Optional; precision 2)"},"priorYr5Mth4":{"type":"number","nullable":true,"description":"Prior Year 5 Month 4 (SDO PRIOR_YR5_MTH4; Optional; precision 2)"},"priorYr5Mth5":{"type":"number","nullable":true,"description":"Prior Year 5 Month 5 (SDO PRIOR_YR5_MTH5; Optional; precision 2)"},"priorYr5Mth6":{"type":"number","nullable":true,"description":"Prior Year 5 Month 6 (SDO PRIOR_YR5_MTH6; Optional; precision 2)"},"priorYr5Mth7":{"type":"number","nullable":true,"description":"Prior Year 5 Month 7 (SDO PRIOR_YR5_MTH7; Optional; precision 2)"},"priorYr5Mth8":{"type":"number","nullable":true,"description":"Prior Year 5 Month 8 (SDO PRIOR_YR5_MTH8; Optional; precision 2)"},"priorYr5Mth9":{"type":"number","nullable":true,"description":"Prior Year 5 Month 9 (SDO PRIOR_YR5_MTH9; Optional; precision 2)"},"priorYrMth1":{"type":"number","nullable":true,"description":"Prior Year 1 Month 1 (SDO PRIOR_YR_MTH1; Optional; precision 2)"},"priorYrMth10":{"type":"number","nullable":true,"description":"Prior Year 1 Month 10 (SDO PRIOR_YR_MTH10; Optional; precision 2)"},"priorYrMth11":{"type":"number","nullable":true,"description":"Prior Year 1 Month 11 (SDO PRIOR_YR_MTH11; Optional; precision 2)"},"priorYrMth12":{"type":"number","nullable":true,"description":"Prior Year 1 Month 12 (SDO PRIOR_YR_MTH12; Optional; precision 2)"},"priorYrMth2":{"type":"number","nullable":true,"description":"Prior Year 1 Month 2 (SDO PRIOR_YR_MTH2; Optional; precision 2)"},"priorYrMth3":{"type":"number","nullable":true,"description":"Prior Year 1 Month 3 (SDO PRIOR_YR_MTH3; Optional; precision 2)"},"priorYrMth4":{"type":"number","nullable":true,"description":"Prior Year 1 Month 4 (SDO PRIOR_YR_MTH4; Optional; precision 2)"},"priorYrMth5":{"type":"number","nullable":true,"description":"Prior Year 1 Month 5 (SDO PRIOR_YR_MTH5; Optional; precision 2)"},"priorYrMth6":{"type":"number","nullable":true,"description":"Prior Year 1 Month 6 (SDO PRIOR_YR_MTH6; Optional; precision 2)"},"priorYrMth7":{"type":"number","nullable":true,"description":"Prior Year 1 Month 7 (SDO PRIOR_YR_MTH7; Optional; precision 2)"},"priorYrMth8":{"type":"number","nullable":true,"description":"Prior Year 1 Month 8 (SDO PRIOR_YR_MTH8; Optional; precision 2)"},"priorYrMth9":{"type":"number","nullable":true,"description":"Prior Year 1 Month 9 (SDO PRIOR_YR_MTH9; Optional; precision 2)"},"quickRatioFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Quick ratio account flag (SDO QUICK_RATIO_FLAG; Optional; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"id":{"type":"string"}},"required":["accountRef","accountType","auditRef","balance","balanceBf","balanceFuture","balanceMth1","balanceMth10","balanceMth11","balanceMth12","balanceMth2","balanceMth3","balanceMth4","balanceMth5","balanceMth6","balanceMth7","balanceMth8","balanceMth9","budgetMth1","budgetMth10","budgetMth11","budgetMth12","budgetMth2","budgetMth3","budgetMth4","budgetMth5","budgetMth6","budgetMth7","budgetMth8","budgetMth9","creditBf","creditFuture","creditMth1","creditMth10","creditMth11","creditMth12","creditMth2","creditMth3","creditMth4","creditMth5","creditMth6","creditMth7","creditMth8","creditMth9","debitBf","debitFuture","debitMth1","debitMth10","debitMth11","debitMth12","debitMth2","debitMth3","debitMth4","debitMth5","debitMth6","debitMth7","debitMth8","debitMth9","deletedFlag","externalUsage","firstSplit","inactiveFlag","lastSplit","name","noOfSplit","priorYr2Mth1","priorYr2Mth10","priorYr2Mth11","priorYr2Mth12","priorYr2Mth2","priorYr2Mth3","priorYr2Mth4","priorYr2Mth5","priorYr2Mth6","priorYr2Mth7","priorYr2Mth8","priorYr2Mth9","priorYr3Mth1","priorYr3Mth10","priorYr3Mth11","priorYr3Mth12","priorYr3Mth2","priorYr3Mth3","priorYr3Mth4","priorYr3Mth5","priorYr3Mth6","priorYr3Mth7","priorYr3Mth8","priorYr3Mth9","priorYr4Mth1","priorYr4Mth10","priorYr4Mth11","priorYr4Mth12","priorYr4Mth2","priorYr4Mth3","priorYr4Mth4","priorYr4Mth5","priorYr4Mth6","priorYr4Mth7","priorYr4Mth8","priorYr4Mth9","priorYr5Mth1","priorYr5Mth10","priorYr5Mth11","priorYr5Mth12","priorYr5Mth2","priorYr5Mth3","priorYr5Mth4","priorYr5Mth5","priorYr5Mth6","priorYr5Mth7","priorYr5Mth8","priorYr5Mth9","priorYrMth1","priorYrMth10","priorYrMth11","priorYrMth12","priorYrMth2","priorYrMth3","priorYrMth4","priorYrMth5","priorYrMth6","priorYrMth7","priorYrMth8","priorYrMth9","quickRatioFlag","recordCreateDate","recordDeleted","recordModifyDate","id"],"additionalProperties":false},"Uk29_2_accounts_get":{"type":"object","properties":{"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Account Code (SDO ACCOUNT_REF; Required; precision 0)"},"accountType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Account Type Code (SDO ACCOUNT_TYPE; Optional; precision 0)"},"auditRef":{"type":"string","nullable":true,"maxLength":20,"description":"Incomplete records reference (SDO AUDIT_REF; Optional; precision 0)"},"balance":{"type":"number","nullable":true,"description":"Balance (SDO BALANCE; Optional; precision 2)"},"balanceBf":{"type":"number","nullable":true,"description":"Balance Brought forward (SDO BALANCE_BF; Optional; precision 2)"},"balanceFuture":{"type":"number","nullable":true,"description":"Balance for Future (SDO BALANCE_FUTURE; Optional; precision 2)"},"balanceMth1":{"type":"number","nullable":true,"description":"Balance Month 1 (SDO BALANCE_MTH1; Optional; precision 2)"},"balanceMth10":{"type":"number","nullable":true,"description":"Balance Month 10 (SDO BALANCE_MTH10; Optional; precision 2)"},"balanceMth11":{"type":"number","nullable":true,"description":"Balance Month 11 (SDO BALANCE_MTH11; Optional; precision 2)"},"balanceMth12":{"type":"number","nullable":true,"description":"Balance Month 12 (SDO BALANCE_MTH12; Optional; precision 2)"},"balanceMth2":{"type":"number","nullable":true,"description":"Balance Month 2 (SDO BALANCE_MTH2; Optional; precision 2)"},"balanceMth3":{"type":"number","nullable":true,"description":"Balance Month 3 (SDO BALANCE_MTH3; Optional; precision 2)"},"balanceMth4":{"type":"number","nullable":true,"description":"Balance Month 4 (SDO BALANCE_MTH4; Optional; precision 2)"},"balanceMth5":{"type":"number","nullable":true,"description":"Balance Month 5 (SDO BALANCE_MTH5; Optional; precision 2)"},"balanceMth6":{"type":"number","nullable":true,"description":"Balance Month 6 (SDO BALANCE_MTH6; Optional; precision 2)"},"balanceMth7":{"type":"number","nullable":true,"description":"Balance Month 7 (SDO BALANCE_MTH7; Optional; precision 2)"},"balanceMth8":{"type":"number","nullable":true,"description":"Balance Month 8 (SDO BALANCE_MTH8; Optional; precision 2)"},"balanceMth9":{"type":"number","nullable":true,"description":"Balance Month 9 (SDO BALANCE_MTH9; Optional; precision 2)"},"budgetMth1":{"type":"number","nullable":true,"description":"Budget Month 1 (SDO BUDGET_MTH1; Optional; precision 2)"},"budgetMth10":{"type":"number","nullable":true,"description":"Budget Month 10 (SDO BUDGET_MTH10; Optional; precision 2)"},"budgetMth11":{"type":"number","nullable":true,"description":"Budget Month 11 (SDO BUDGET_MTH11; Optional; precision 2)"},"budgetMth12":{"type":"number","nullable":true,"description":"Budget Month 12 (SDO BUDGET_MTH12; Optional; precision 2)"},"budgetMth2":{"type":"number","nullable":true,"description":"Budget Month 2 (SDO BUDGET_MTH2; Optional; precision 2)"},"budgetMth3":{"type":"number","nullable":true,"description":"Budget Month 3 (SDO BUDGET_MTH3; Optional; precision 2)"},"budgetMth4":{"type":"number","nullable":true,"description":"Budget Month 4 (SDO BUDGET_MTH4; Optional; precision 2)"},"budgetMth5":{"type":"number","nullable":true,"description":"Budget Month 5 (SDO BUDGET_MTH5; Optional; precision 2)"},"budgetMth6":{"type":"number","nullable":true,"description":"Budget Month 6 (SDO BUDGET_MTH6; Optional; precision 2)"},"budgetMth7":{"type":"number","nullable":true,"description":"Budget Month 7 (SDO BUDGET_MTH7; Optional; precision 2)"},"budgetMth8":{"type":"number","nullable":true,"description":"Budget Month 8 (SDO BUDGET_MTH8; Optional; precision 2)"},"budgetMth9":{"type":"number","nullable":true,"description":"Budget Month 9 (SDO BUDGET_MTH9; Optional; precision 2)"},"creditBf":{"type":"number","nullable":true,"description":"Credit Brought Forward (SDO CREDIT_BF; Optional; precision 2)"},"creditFuture":{"type":"number","nullable":true,"description":"Credit for Future (SDO CREDIT_FUTURE; Optional; precision 2)"},"creditMth1":{"type":"number","nullable":true,"description":"Credit Month 1 (SDO CREDIT_MTH1; Optional; precision 2)"},"creditMth10":{"type":"number","nullable":true,"description":"Credit Month 10 (SDO CREDIT_MTH10; Optional; precision 2)"},"creditMth11":{"type":"number","nullable":true,"description":"Credit Month 11 (SDO CREDIT_MTH11; Optional; precision 2)"},"creditMth12":{"type":"number","nullable":true,"description":"Credit Month 12 (SDO CREDIT_MTH12; Optional; precision 2)"},"creditMth2":{"type":"number","nullable":true,"description":"Credit Month 2 (SDO CREDIT_MTH2; Optional; precision 2)"},"creditMth3":{"type":"number","nullable":true,"description":"Credit Month 3 (SDO CREDIT_MTH3; Optional; precision 2)"},"creditMth4":{"type":"number","nullable":true,"description":"Credit Month 4 (SDO CREDIT_MTH4; Optional; precision 2)"},"creditMth5":{"type":"number","nullable":true,"description":"Credit Month 5 (SDO CREDIT_MTH5; Optional; precision 2)"},"creditMth6":{"type":"number","nullable":true,"description":"Credit Month 6 (SDO CREDIT_MTH6; Optional; precision 2)"},"creditMth7":{"type":"number","nullable":true,"description":"Credit Month 7 (SDO CREDIT_MTH7; Optional; precision 2)"},"creditMth8":{"type":"number","nullable":true,"description":"Credit Month 8 (SDO CREDIT_MTH8; Optional; precision 2)"},"creditMth9":{"type":"number","nullable":true,"description":"Credit Month 9 (SDO CREDIT_MTH9; Optional; precision 2)"},"debitBf":{"type":"number","nullable":true,"description":"Debit Brought Forward (SDO DEBIT_BF; Optional; precision 2)"},"debitFuture":{"type":"number","nullable":true,"description":"Debit for Future (SDO DEBIT_FUTURE; Optional; precision 2)"},"debitMth1":{"type":"number","nullable":true,"description":"Debit Month 1 (SDO DEBIT_MTH1; Optional; precision 2)"},"debitMth10":{"type":"number","nullable":true,"description":"Debit Month 10 (SDO DEBIT_MTH10; Optional; precision 2)"},"debitMth11":{"type":"number","nullable":true,"description":"Debit Month 11 (SDO DEBIT_MTH11; Optional; precision 2)"},"debitMth12":{"type":"number","nullable":true,"description":"Debit Month 12 (SDO DEBIT_MTH12; Optional; precision 2)"},"debitMth2":{"type":"number","nullable":true,"description":"Debit Month 2 (SDO DEBIT_MTH2; Optional; precision 2)"},"debitMth3":{"type":"number","nullable":true,"description":"Debit Month 3 (SDO DEBIT_MTH3; Optional; precision 2)"},"debitMth4":{"type":"number","nullable":true,"description":"Debit Month 4 (SDO DEBIT_MTH4; Optional; precision 2)"},"debitMth5":{"type":"number","nullable":true,"description":"Debit Month 5 (SDO DEBIT_MTH5; Optional; precision 2)"},"debitMth6":{"type":"number","nullable":true,"description":"Debit Month 6 (SDO DEBIT_MTH6; Optional; precision 2)"},"debitMth7":{"type":"number","nullable":true,"description":"Debit Month 7 (SDO DEBIT_MTH7; Optional; precision 2)"},"debitMth8":{"type":"number","nullable":true,"description":"Debit Month 8 (SDO DEBIT_MTH8; Optional; precision 2)"},"debitMth9":{"type":"number","nullable":true,"description":"Debit Month 9 (SDO DEBIT_MTH9; Optional; precision 2)"},"deletedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Is Deleted (SDO DELETED_FLAG; Optional; precision 0)"},"externalUsage":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Number of External Usages (SDO EXTERNAL_USAGE; Optional; precision 0)"},"firstSplit":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"First (SDO FIRST_SPLIT; Optional; precision 0)"},"inactiveFlag":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Inactive Flag - Yes/No (SDO INACTIVE_FLAG; Optional; precision 0)"},"lastSplit":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Last (SDO LAST_SPLIT; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Name (SDO NAME; Optional; precision 0)"},"noOfSplit":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"No of splits (SDO NO_OF_SPLIT; Optional; precision 0)"},"priorYr2Mth1":{"type":"number","nullable":true,"description":"Prior Year 2 Month 1 (SDO PRIOR_YR2_MTH1; Optional; precision 2)"},"priorYr2Mth10":{"type":"number","nullable":true,"description":"Prior Year 2 Month 10 (SDO PRIOR_YR2_MTH10; Optional; precision 2)"},"priorYr2Mth11":{"type":"number","nullable":true,"description":"Prior Year 2 Month 11 (SDO PRIOR_YR2_MTH11; Optional; precision 2)"},"priorYr2Mth12":{"type":"number","nullable":true,"description":"Prior Year 2 Month 12 (SDO PRIOR_YR2_MTH12; Optional; precision 2)"},"priorYr2Mth2":{"type":"number","nullable":true,"description":"Prior Year 2 Month 2 (SDO PRIOR_YR2_MTH2; Optional; precision 2)"},"priorYr2Mth3":{"type":"number","nullable":true,"description":"Prior Year 2 Month 3 (SDO PRIOR_YR2_MTH3; Optional; precision 2)"},"priorYr2Mth4":{"type":"number","nullable":true,"description":"Prior Year 2 Month 4 (SDO PRIOR_YR2_MTH4; Optional; precision 2)"},"priorYr2Mth5":{"type":"number","nullable":true,"description":"Prior Year 2 Month 5 (SDO PRIOR_YR2_MTH5; Optional; precision 2)"},"priorYr2Mth6":{"type":"number","nullable":true,"description":"Prior Year 2 Month 6 (SDO PRIOR_YR2_MTH6; Optional; precision 2)"},"priorYr2Mth7":{"type":"number","nullable":true,"description":"Prior Year 2 Month 7 (SDO PRIOR_YR2_MTH7; Optional; precision 2)"},"priorYr2Mth8":{"type":"number","nullable":true,"description":"Prior Year 2 Month 8 (SDO PRIOR_YR2_MTH8; Optional; precision 2)"},"priorYr2Mth9":{"type":"number","nullable":true,"description":"Prior Year 2 Month 9 (SDO PRIOR_YR2_MTH9; Optional; precision 2)"},"priorYr3Mth1":{"type":"number","nullable":true,"description":"Prior Year 3 Month 1 (SDO PRIOR_YR3_MTH1; Optional; precision 2)"},"priorYr3Mth10":{"type":"number","nullable":true,"description":"Prior Year 3 Month 10 (SDO PRIOR_YR3_MTH10; Optional; precision 2)"},"priorYr3Mth11":{"type":"number","nullable":true,"description":"Prior Year 3 Month 11 (SDO PRIOR_YR3_MTH11; Optional; precision 2)"},"priorYr3Mth12":{"type":"number","nullable":true,"description":"Prior Year 3 Month 12 (SDO PRIOR_YR3_MTH12; Optional; precision 2)"},"priorYr3Mth2":{"type":"number","nullable":true,"description":"Prior Year 3 Month 2 (SDO PRIOR_YR3_MTH2; Optional; precision 2)"},"priorYr3Mth3":{"type":"number","nullable":true,"description":"Prior Year 3 Month 3 (SDO PRIOR_YR3_MTH3; Optional; precision 2)"},"priorYr3Mth4":{"type":"number","nullable":true,"description":"Prior Year 3 Month 4 (SDO PRIOR_YR3_MTH4; Optional; precision 2)"},"priorYr3Mth5":{"type":"number","nullable":true,"description":"Prior Year 3 Month 5 (SDO PRIOR_YR3_MTH5; Optional; precision 2)"},"priorYr3Mth6":{"type":"number","nullable":true,"description":"Prior Year 3 Month 6 (SDO PRIOR_YR3_MTH6; Optional; precision 2)"},"priorYr3Mth7":{"type":"number","nullable":true,"description":"Prior Year 3 Month 7 (SDO PRIOR_YR3_MTH7; Optional; precision 2)"},"priorYr3Mth8":{"type":"number","nullable":true,"description":"Prior Year 3 Month 8 (SDO PRIOR_YR3_MTH8; Optional; precision 2)"},"priorYr3Mth9":{"type":"number","nullable":true,"description":"Prior Year 3 Month 9 (SDO PRIOR_YR3_MTH9; Optional; precision 2)"},"priorYr4Mth1":{"type":"number","nullable":true,"description":"Prior Year 4 Month 1 (SDO PRIOR_YR4_MTH1; Optional; precision 2)"},"priorYr4Mth10":{"type":"number","nullable":true,"description":"Prior Year 4 Month 10 (SDO PRIOR_YR4_MTH10; Optional; precision 2)"},"priorYr4Mth11":{"type":"number","nullable":true,"description":"Prior Year 4 Month 11 (SDO PRIOR_YR4_MTH11; Optional; precision 2)"},"priorYr4Mth12":{"type":"number","nullable":true,"description":"Prior Year 4 Month 12 (SDO PRIOR_YR4_MTH12; Optional; precision 2)"},"priorYr4Mth2":{"type":"number","nullable":true,"description":"Prior Year 4 Month 2 (SDO PRIOR_YR4_MTH2; Optional; precision 2)"},"priorYr4Mth3":{"type":"number","nullable":true,"description":"Prior Year 4 Month 3 (SDO PRIOR_YR4_MTH3; Optional; precision 2)"},"priorYr4Mth4":{"type":"number","nullable":true,"description":"Prior Year 4 Month 4 (SDO PRIOR_YR4_MTH4; Optional; precision 2)"},"priorYr4Mth5":{"type":"number","nullable":true,"description":"Prior Year 4 Month 5 (SDO PRIOR_YR4_MTH5; Optional; precision 2)"},"priorYr4Mth6":{"type":"number","nullable":true,"description":"Prior Year 4 Month 6 (SDO PRIOR_YR4_MTH6; Optional; precision 2)"},"priorYr4Mth7":{"type":"number","nullable":true,"description":"Prior Year 4 Month 7 (SDO PRIOR_YR4_MTH7; Optional; precision 2)"},"priorYr4Mth8":{"type":"number","nullable":true,"description":"Prior Year 4 Month 8 (SDO PRIOR_YR4_MTH8; Optional; precision 2)"},"priorYr4Mth9":{"type":"number","nullable":true,"description":"Prior Year 4 Month 9 (SDO PRIOR_YR4_MTH9; Optional; precision 2)"},"priorYr5Mth1":{"type":"number","nullable":true,"description":"Prior Year 5 Month 1 (SDO PRIOR_YR5_MTH1; Optional; precision 2)"},"priorYr5Mth10":{"type":"number","nullable":true,"description":"Prior Year 5 Month 10 (SDO PRIOR_YR5_MTH10; Optional; precision 2)"},"priorYr5Mth11":{"type":"number","nullable":true,"description":"Prior Year 5 Month 11 (SDO PRIOR_YR5_MTH11; Optional; precision 2)"},"priorYr5Mth12":{"type":"number","nullable":true,"description":"Prior Year 5 Month 12 (SDO PRIOR_YR5_MTH12; Optional; precision 2)"},"priorYr5Mth2":{"type":"number","nullable":true,"description":"Prior Year 5 Month 2 (SDO PRIOR_YR5_MTH2; Optional; precision 2)"},"priorYr5Mth3":{"type":"number","nullable":true,"description":"Prior Year 5 Month 3 (SDO PRIOR_YR5_MTH3; Optional; precision 2)"},"priorYr5Mth4":{"type":"number","nullable":true,"description":"Prior Year 5 Month 4 (SDO PRIOR_YR5_MTH4; Optional; precision 2)"},"priorYr5Mth5":{"type":"number","nullable":true,"description":"Prior Year 5 Month 5 (SDO PRIOR_YR5_MTH5; Optional; precision 2)"},"priorYr5Mth6":{"type":"number","nullable":true,"description":"Prior Year 5 Month 6 (SDO PRIOR_YR5_MTH6; Optional; precision 2)"},"priorYr5Mth7":{"type":"number","nullable":true,"description":"Prior Year 5 Month 7 (SDO PRIOR_YR5_MTH7; Optional; precision 2)"},"priorYr5Mth8":{"type":"number","nullable":true,"description":"Prior Year 5 Month 8 (SDO PRIOR_YR5_MTH8; Optional; precision 2)"},"priorYr5Mth9":{"type":"number","nullable":true,"description":"Prior Year 5 Month 9 (SDO PRIOR_YR5_MTH9; Optional; precision 2)"},"priorYrMth1":{"type":"number","nullable":true,"description":"Prior Year 1 Month 1 (SDO PRIOR_YR_MTH1; Optional; precision 2)"},"priorYrMth10":{"type":"number","nullable":true,"description":"Prior Year 1 Month 10 (SDO PRIOR_YR_MTH10; Optional; precision 2)"},"priorYrMth11":{"type":"number","nullable":true,"description":"Prior Year 1 Month 11 (SDO PRIOR_YR_MTH11; Optional; precision 2)"},"priorYrMth12":{"type":"number","nullable":true,"description":"Prior Year 1 Month 12 (SDO PRIOR_YR_MTH12; Optional; precision 2)"},"priorYrMth2":{"type":"number","nullable":true,"description":"Prior Year 1 Month 2 (SDO PRIOR_YR_MTH2; Optional; precision 2)"},"priorYrMth3":{"type":"number","nullable":true,"description":"Prior Year 1 Month 3 (SDO PRIOR_YR_MTH3; Optional; precision 2)"},"priorYrMth4":{"type":"number","nullable":true,"description":"Prior Year 1 Month 4 (SDO PRIOR_YR_MTH4; Optional; precision 2)"},"priorYrMth5":{"type":"number","nullable":true,"description":"Prior Year 1 Month 5 (SDO PRIOR_YR_MTH5; Optional; precision 2)"},"priorYrMth6":{"type":"number","nullable":true,"description":"Prior Year 1 Month 6 (SDO PRIOR_YR_MTH6; Optional; precision 2)"},"priorYrMth7":{"type":"number","nullable":true,"description":"Prior Year 1 Month 7 (SDO PRIOR_YR_MTH7; Optional; precision 2)"},"priorYrMth8":{"type":"number","nullable":true,"description":"Prior Year 1 Month 8 (SDO PRIOR_YR_MTH8; Optional; precision 2)"},"priorYrMth9":{"type":"number","nullable":true,"description":"Prior Year 1 Month 9 (SDO PRIOR_YR_MTH9; Optional; precision 2)"},"quickRatioFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Quick ratio account flag (SDO QUICK_RATIO_FLAG; Optional; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"id":{"type":"string"}},"required":["accountRef","accountType","auditRef","balance","balanceBf","balanceFuture","balanceMth1","balanceMth10","balanceMth11","balanceMth12","balanceMth2","balanceMth3","balanceMth4","balanceMth5","balanceMth6","balanceMth7","balanceMth8","balanceMth9","budgetMth1","budgetMth10","budgetMth11","budgetMth12","budgetMth2","budgetMth3","budgetMth4","budgetMth5","budgetMth6","budgetMth7","budgetMth8","budgetMth9","creditBf","creditFuture","creditMth1","creditMth10","creditMth11","creditMth12","creditMth2","creditMth3","creditMth4","creditMth5","creditMth6","creditMth7","creditMth8","creditMth9","debitBf","debitFuture","debitMth1","debitMth10","debitMth11","debitMth12","debitMth2","debitMth3","debitMth4","debitMth5","debitMth6","debitMth7","debitMth8","debitMth9","deletedFlag","externalUsage","firstSplit","inactiveFlag","lastSplit","name","noOfSplit","priorYr2Mth1","priorYr2Mth10","priorYr2Mth11","priorYr2Mth12","priorYr2Mth2","priorYr2Mth3","priorYr2Mth4","priorYr2Mth5","priorYr2Mth6","priorYr2Mth7","priorYr2Mth8","priorYr2Mth9","priorYr3Mth1","priorYr3Mth10","priorYr3Mth11","priorYr3Mth12","priorYr3Mth2","priorYr3Mth3","priorYr3Mth4","priorYr3Mth5","priorYr3Mth6","priorYr3Mth7","priorYr3Mth8","priorYr3Mth9","priorYr4Mth1","priorYr4Mth10","priorYr4Mth11","priorYr4Mth12","priorYr4Mth2","priorYr4Mth3","priorYr4Mth4","priorYr4Mth5","priorYr4Mth6","priorYr4Mth7","priorYr4Mth8","priorYr4Mth9","priorYr5Mth1","priorYr5Mth10","priorYr5Mth11","priorYr5Mth12","priorYr5Mth2","priorYr5Mth3","priorYr5Mth4","priorYr5Mth5","priorYr5Mth6","priorYr5Mth7","priorYr5Mth8","priorYr5Mth9","priorYrMth1","priorYrMth10","priorYrMth11","priorYrMth12","priorYrMth2","priorYrMth3","priorYrMth4","priorYrMth5","priorYrMth6","priorYrMth7","priorYrMth8","priorYrMth9","quickRatioFlag","recordCreateDate","recordDeleted","recordModifyDate","id"],"additionalProperties":false},"Uk30_1_accounts_get":{"type":"object","properties":{"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Account Code (SDO ACCOUNT_REF; Required; precision 0)"},"accountType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Account Type Code (SDO ACCOUNT_TYPE; Optional; precision 0)"},"auditRef":{"type":"string","nullable":true,"maxLength":20,"description":"Incomplete records reference (SDO AUDIT_REF; Optional; precision 0)"},"balance":{"type":"number","nullable":true,"description":"Balance (SDO BALANCE; Optional; precision 2)"},"balanceBf":{"type":"number","nullable":true,"description":"Balance Brought forward (SDO BALANCE_BF; Optional; precision 2)"},"balanceFuture":{"type":"number","nullable":true,"description":"Balance for Future (SDO BALANCE_FUTURE; Optional; precision 2)"},"balanceMth1":{"type":"number","nullable":true,"description":"Balance Month 1 (SDO BALANCE_MTH1; Optional; precision 2)"},"balanceMth10":{"type":"number","nullable":true,"description":"Balance Month 10 (SDO BALANCE_MTH10; Optional; precision 2)"},"balanceMth11":{"type":"number","nullable":true,"description":"Balance Month 11 (SDO BALANCE_MTH11; Optional; precision 2)"},"balanceMth12":{"type":"number","nullable":true,"description":"Balance Month 12 (SDO BALANCE_MTH12; Optional; precision 2)"},"balanceMth2":{"type":"number","nullable":true,"description":"Balance Month 2 (SDO BALANCE_MTH2; Optional; precision 2)"},"balanceMth3":{"type":"number","nullable":true,"description":"Balance Month 3 (SDO BALANCE_MTH3; Optional; precision 2)"},"balanceMth4":{"type":"number","nullable":true,"description":"Balance Month 4 (SDO BALANCE_MTH4; Optional; precision 2)"},"balanceMth5":{"type":"number","nullable":true,"description":"Balance Month 5 (SDO BALANCE_MTH5; Optional; precision 2)"},"balanceMth6":{"type":"number","nullable":true,"description":"Balance Month 6 (SDO BALANCE_MTH6; Optional; precision 2)"},"balanceMth7":{"type":"number","nullable":true,"description":"Balance Month 7 (SDO BALANCE_MTH7; Optional; precision 2)"},"balanceMth8":{"type":"number","nullable":true,"description":"Balance Month 8 (SDO BALANCE_MTH8; Optional; precision 2)"},"balanceMth9":{"type":"number","nullable":true,"description":"Balance Month 9 (SDO BALANCE_MTH9; Optional; precision 2)"},"budgetMth1":{"type":"number","nullable":true,"description":"Budget Month 1 (SDO BUDGET_MTH1; Optional; precision 2)"},"budgetMth10":{"type":"number","nullable":true,"description":"Budget Month 10 (SDO BUDGET_MTH10; Optional; precision 2)"},"budgetMth11":{"type":"number","nullable":true,"description":"Budget Month 11 (SDO BUDGET_MTH11; Optional; precision 2)"},"budgetMth12":{"type":"number","nullable":true,"description":"Budget Month 12 (SDO BUDGET_MTH12; Optional; precision 2)"},"budgetMth2":{"type":"number","nullable":true,"description":"Budget Month 2 (SDO BUDGET_MTH2; Optional; precision 2)"},"budgetMth3":{"type":"number","nullable":true,"description":"Budget Month 3 (SDO BUDGET_MTH3; Optional; precision 2)"},"budgetMth4":{"type":"number","nullable":true,"description":"Budget Month 4 (SDO BUDGET_MTH4; Optional; precision 2)"},"budgetMth5":{"type":"number","nullable":true,"description":"Budget Month 5 (SDO BUDGET_MTH5; Optional; precision 2)"},"budgetMth6":{"type":"number","nullable":true,"description":"Budget Month 6 (SDO BUDGET_MTH6; Optional; precision 2)"},"budgetMth7":{"type":"number","nullable":true,"description":"Budget Month 7 (SDO BUDGET_MTH7; Optional; precision 2)"},"budgetMth8":{"type":"number","nullable":true,"description":"Budget Month 8 (SDO BUDGET_MTH8; Optional; precision 2)"},"budgetMth9":{"type":"number","nullable":true,"description":"Budget Month 9 (SDO BUDGET_MTH9; Optional; precision 2)"},"creditBf":{"type":"number","nullable":true,"description":"Credit Brought Forward (SDO CREDIT_BF; Optional; precision 2)"},"creditFuture":{"type":"number","nullable":true,"description":"Credit for Future (SDO CREDIT_FUTURE; Optional; precision 2)"},"creditMth1":{"type":"number","nullable":true,"description":"Credit Month 1 (SDO CREDIT_MTH1; Optional; precision 2)"},"creditMth10":{"type":"number","nullable":true,"description":"Credit Month 10 (SDO CREDIT_MTH10; Optional; precision 2)"},"creditMth11":{"type":"number","nullable":true,"description":"Credit Month 11 (SDO CREDIT_MTH11; Optional; precision 2)"},"creditMth12":{"type":"number","nullable":true,"description":"Credit Month 12 (SDO CREDIT_MTH12; Optional; precision 2)"},"creditMth2":{"type":"number","nullable":true,"description":"Credit Month 2 (SDO CREDIT_MTH2; Optional; precision 2)"},"creditMth3":{"type":"number","nullable":true,"description":"Credit Month 3 (SDO CREDIT_MTH3; Optional; precision 2)"},"creditMth4":{"type":"number","nullable":true,"description":"Credit Month 4 (SDO CREDIT_MTH4; Optional; precision 2)"},"creditMth5":{"type":"number","nullable":true,"description":"Credit Month 5 (SDO CREDIT_MTH5; Optional; precision 2)"},"creditMth6":{"type":"number","nullable":true,"description":"Credit Month 6 (SDO CREDIT_MTH6; Optional; precision 2)"},"creditMth7":{"type":"number","nullable":true,"description":"Credit Month 7 (SDO CREDIT_MTH7; Optional; precision 2)"},"creditMth8":{"type":"number","nullable":true,"description":"Credit Month 8 (SDO CREDIT_MTH8; Optional; precision 2)"},"creditMth9":{"type":"number","nullable":true,"description":"Credit Month 9 (SDO CREDIT_MTH9; Optional; precision 2)"},"debitBf":{"type":"number","nullable":true,"description":"Debit Brought Forward (SDO DEBIT_BF; Optional; precision 2)"},"debitFuture":{"type":"number","nullable":true,"description":"Debit for Future (SDO DEBIT_FUTURE; Optional; precision 2)"},"debitMth1":{"type":"number","nullable":true,"description":"Debit Month 1 (SDO DEBIT_MTH1; Optional; precision 2)"},"debitMth10":{"type":"number","nullable":true,"description":"Debit Month 10 (SDO DEBIT_MTH10; Optional; precision 2)"},"debitMth11":{"type":"number","nullable":true,"description":"Debit Month 11 (SDO DEBIT_MTH11; Optional; precision 2)"},"debitMth12":{"type":"number","nullable":true,"description":"Debit Month 12 (SDO DEBIT_MTH12; Optional; precision 2)"},"debitMth2":{"type":"number","nullable":true,"description":"Debit Month 2 (SDO DEBIT_MTH2; Optional; precision 2)"},"debitMth3":{"type":"number","nullable":true,"description":"Debit Month 3 (SDO DEBIT_MTH3; Optional; precision 2)"},"debitMth4":{"type":"number","nullable":true,"description":"Debit Month 4 (SDO DEBIT_MTH4; Optional; precision 2)"},"debitMth5":{"type":"number","nullable":true,"description":"Debit Month 5 (SDO DEBIT_MTH5; Optional; precision 2)"},"debitMth6":{"type":"number","nullable":true,"description":"Debit Month 6 (SDO DEBIT_MTH6; Optional; precision 2)"},"debitMth7":{"type":"number","nullable":true,"description":"Debit Month 7 (SDO DEBIT_MTH7; Optional; precision 2)"},"debitMth8":{"type":"number","nullable":true,"description":"Debit Month 8 (SDO DEBIT_MTH8; Optional; precision 2)"},"debitMth9":{"type":"number","nullable":true,"description":"Debit Month 9 (SDO DEBIT_MTH9; Optional; precision 2)"},"deletedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Is Deleted (SDO DELETED_FLAG; Optional; precision 0)"},"externalUsage":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Number of External Usages (SDO EXTERNAL_USAGE; Optional; precision 0)"},"firstSplit":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"First (SDO FIRST_SPLIT; Optional; precision 0)"},"inactiveFlag":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Inactive Flag - Yes/No (SDO INACTIVE_FLAG; Optional; precision 0)"},"lastSplit":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Last (SDO LAST_SPLIT; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Name (SDO NAME; Optional; precision 0)"},"noOfSplit":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"No of splits (SDO NO_OF_SPLIT; Optional; precision 0)"},"priorYr2Mth1":{"type":"number","nullable":true,"description":"Prior Year 2 Month 1 (SDO PRIOR_YR2_MTH1; Optional; precision 2)"},"priorYr2Mth10":{"type":"number","nullable":true,"description":"Prior Year 2 Month 10 (SDO PRIOR_YR2_MTH10; Optional; precision 2)"},"priorYr2Mth11":{"type":"number","nullable":true,"description":"Prior Year 2 Month 11 (SDO PRIOR_YR2_MTH11; Optional; precision 2)"},"priorYr2Mth12":{"type":"number","nullable":true,"description":"Prior Year 2 Month 12 (SDO PRIOR_YR2_MTH12; Optional; precision 2)"},"priorYr2Mth2":{"type":"number","nullable":true,"description":"Prior Year 2 Month 2 (SDO PRIOR_YR2_MTH2; Optional; precision 2)"},"priorYr2Mth3":{"type":"number","nullable":true,"description":"Prior Year 2 Month 3 (SDO PRIOR_YR2_MTH3; Optional; precision 2)"},"priorYr2Mth4":{"type":"number","nullable":true,"description":"Prior Year 2 Month 4 (SDO PRIOR_YR2_MTH4; Optional; precision 2)"},"priorYr2Mth5":{"type":"number","nullable":true,"description":"Prior Year 2 Month 5 (SDO PRIOR_YR2_MTH5; Optional; precision 2)"},"priorYr2Mth6":{"type":"number","nullable":true,"description":"Prior Year 2 Month 6 (SDO PRIOR_YR2_MTH6; Optional; precision 2)"},"priorYr2Mth7":{"type":"number","nullable":true,"description":"Prior Year 2 Month 7 (SDO PRIOR_YR2_MTH7; Optional; precision 2)"},"priorYr2Mth8":{"type":"number","nullable":true,"description":"Prior Year 2 Month 8 (SDO PRIOR_YR2_MTH8; Optional; precision 2)"},"priorYr2Mth9":{"type":"number","nullable":true,"description":"Prior Year 2 Month 9 (SDO PRIOR_YR2_MTH9; Optional; precision 2)"},"priorYr3Mth1":{"type":"number","nullable":true,"description":"Prior Year 3 Month 1 (SDO PRIOR_YR3_MTH1; Optional; precision 2)"},"priorYr3Mth10":{"type":"number","nullable":true,"description":"Prior Year 3 Month 10 (SDO PRIOR_YR3_MTH10; Optional; precision 2)"},"priorYr3Mth11":{"type":"number","nullable":true,"description":"Prior Year 3 Month 11 (SDO PRIOR_YR3_MTH11; Optional; precision 2)"},"priorYr3Mth12":{"type":"number","nullable":true,"description":"Prior Year 3 Month 12 (SDO PRIOR_YR3_MTH12; Optional; precision 2)"},"priorYr3Mth2":{"type":"number","nullable":true,"description":"Prior Year 3 Month 2 (SDO PRIOR_YR3_MTH2; Optional; precision 2)"},"priorYr3Mth3":{"type":"number","nullable":true,"description":"Prior Year 3 Month 3 (SDO PRIOR_YR3_MTH3; Optional; precision 2)"},"priorYr3Mth4":{"type":"number","nullable":true,"description":"Prior Year 3 Month 4 (SDO PRIOR_YR3_MTH4; Optional; precision 2)"},"priorYr3Mth5":{"type":"number","nullable":true,"description":"Prior Year 3 Month 5 (SDO PRIOR_YR3_MTH5; Optional; precision 2)"},"priorYr3Mth6":{"type":"number","nullable":true,"description":"Prior Year 3 Month 6 (SDO PRIOR_YR3_MTH6; Optional; precision 2)"},"priorYr3Mth7":{"type":"number","nullable":true,"description":"Prior Year 3 Month 7 (SDO PRIOR_YR3_MTH7; Optional; precision 2)"},"priorYr3Mth8":{"type":"number","nullable":true,"description":"Prior Year 3 Month 8 (SDO PRIOR_YR3_MTH8; Optional; precision 2)"},"priorYr3Mth9":{"type":"number","nullable":true,"description":"Prior Year 3 Month 9 (SDO PRIOR_YR3_MTH9; Optional; precision 2)"},"priorYr4Mth1":{"type":"number","nullable":true,"description":"Prior Year 4 Month 1 (SDO PRIOR_YR4_MTH1; Optional; precision 2)"},"priorYr4Mth10":{"type":"number","nullable":true,"description":"Prior Year 4 Month 10 (SDO PRIOR_YR4_MTH10; Optional; precision 2)"},"priorYr4Mth11":{"type":"number","nullable":true,"description":"Prior Year 4 Month 11 (SDO PRIOR_YR4_MTH11; Optional; precision 2)"},"priorYr4Mth12":{"type":"number","nullable":true,"description":"Prior Year 4 Month 12 (SDO PRIOR_YR4_MTH12; Optional; precision 2)"},"priorYr4Mth2":{"type":"number","nullable":true,"description":"Prior Year 4 Month 2 (SDO PRIOR_YR4_MTH2; Optional; precision 2)"},"priorYr4Mth3":{"type":"number","nullable":true,"description":"Prior Year 4 Month 3 (SDO PRIOR_YR4_MTH3; Optional; precision 2)"},"priorYr4Mth4":{"type":"number","nullable":true,"description":"Prior Year 4 Month 4 (SDO PRIOR_YR4_MTH4; Optional; precision 2)"},"priorYr4Mth5":{"type":"number","nullable":true,"description":"Prior Year 4 Month 5 (SDO PRIOR_YR4_MTH5; Optional; precision 2)"},"priorYr4Mth6":{"type":"number","nullable":true,"description":"Prior Year 4 Month 6 (SDO PRIOR_YR4_MTH6; Optional; precision 2)"},"priorYr4Mth7":{"type":"number","nullable":true,"description":"Prior Year 4 Month 7 (SDO PRIOR_YR4_MTH7; Optional; precision 2)"},"priorYr4Mth8":{"type":"number","nullable":true,"description":"Prior Year 4 Month 8 (SDO PRIOR_YR4_MTH8; Optional; precision 2)"},"priorYr4Mth9":{"type":"number","nullable":true,"description":"Prior Year 4 Month 9 (SDO PRIOR_YR4_MTH9; Optional; precision 2)"},"priorYr5Mth1":{"type":"number","nullable":true,"description":"Prior Year 5 Month 1 (SDO PRIOR_YR5_MTH1; Optional; precision 2)"},"priorYr5Mth10":{"type":"number","nullable":true,"description":"Prior Year 5 Month 10 (SDO PRIOR_YR5_MTH10; Optional; precision 2)"},"priorYr5Mth11":{"type":"number","nullable":true,"description":"Prior Year 5 Month 11 (SDO PRIOR_YR5_MTH11; Optional; precision 2)"},"priorYr5Mth12":{"type":"number","nullable":true,"description":"Prior Year 5 Month 12 (SDO PRIOR_YR5_MTH12; Optional; precision 2)"},"priorYr5Mth2":{"type":"number","nullable":true,"description":"Prior Year 5 Month 2 (SDO PRIOR_YR5_MTH2; Optional; precision 2)"},"priorYr5Mth3":{"type":"number","nullable":true,"description":"Prior Year 5 Month 3 (SDO PRIOR_YR5_MTH3; Optional; precision 2)"},"priorYr5Mth4":{"type":"number","nullable":true,"description":"Prior Year 5 Month 4 (SDO PRIOR_YR5_MTH4; Optional; precision 2)"},"priorYr5Mth5":{"type":"number","nullable":true,"description":"Prior Year 5 Month 5 (SDO PRIOR_YR5_MTH5; Optional; precision 2)"},"priorYr5Mth6":{"type":"number","nullable":true,"description":"Prior Year 5 Month 6 (SDO PRIOR_YR5_MTH6; Optional; precision 2)"},"priorYr5Mth7":{"type":"number","nullable":true,"description":"Prior Year 5 Month 7 (SDO PRIOR_YR5_MTH7; Optional; precision 2)"},"priorYr5Mth8":{"type":"number","nullable":true,"description":"Prior Year 5 Month 8 (SDO PRIOR_YR5_MTH8; Optional; precision 2)"},"priorYr5Mth9":{"type":"number","nullable":true,"description":"Prior Year 5 Month 9 (SDO PRIOR_YR5_MTH9; Optional; precision 2)"},"priorYrMth1":{"type":"number","nullable":true,"description":"Prior Year 1 Month 1 (SDO PRIOR_YR_MTH1; Optional; precision 2)"},"priorYrMth10":{"type":"number","nullable":true,"description":"Prior Year 1 Month 10 (SDO PRIOR_YR_MTH10; Optional; precision 2)"},"priorYrMth11":{"type":"number","nullable":true,"description":"Prior Year 1 Month 11 (SDO PRIOR_YR_MTH11; Optional; precision 2)"},"priorYrMth12":{"type":"number","nullable":true,"description":"Prior Year 1 Month 12 (SDO PRIOR_YR_MTH12; Optional; precision 2)"},"priorYrMth2":{"type":"number","nullable":true,"description":"Prior Year 1 Month 2 (SDO PRIOR_YR_MTH2; Optional; precision 2)"},"priorYrMth3":{"type":"number","nullable":true,"description":"Prior Year 1 Month 3 (SDO PRIOR_YR_MTH3; Optional; precision 2)"},"priorYrMth4":{"type":"number","nullable":true,"description":"Prior Year 1 Month 4 (SDO PRIOR_YR_MTH4; Optional; precision 2)"},"priorYrMth5":{"type":"number","nullable":true,"description":"Prior Year 1 Month 5 (SDO PRIOR_YR_MTH5; Optional; precision 2)"},"priorYrMth6":{"type":"number","nullable":true,"description":"Prior Year 1 Month 6 (SDO PRIOR_YR_MTH6; Optional; precision 2)"},"priorYrMth7":{"type":"number","nullable":true,"description":"Prior Year 1 Month 7 (SDO PRIOR_YR_MTH7; Optional; precision 2)"},"priorYrMth8":{"type":"number","nullable":true,"description":"Prior Year 1 Month 8 (SDO PRIOR_YR_MTH8; Optional; precision 2)"},"priorYrMth9":{"type":"number","nullable":true,"description":"Prior Year 1 Month 9 (SDO PRIOR_YR_MTH9; Optional; precision 2)"},"quickRatioFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Quick ratio account flag (SDO QUICK_RATIO_FLAG; Optional; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"id":{"type":"string"}},"required":["accountRef","accountType","auditRef","balance","balanceBf","balanceFuture","balanceMth1","balanceMth10","balanceMth11","balanceMth12","balanceMth2","balanceMth3","balanceMth4","balanceMth5","balanceMth6","balanceMth7","balanceMth8","balanceMth9","budgetMth1","budgetMth10","budgetMth11","budgetMth12","budgetMth2","budgetMth3","budgetMth4","budgetMth5","budgetMth6","budgetMth7","budgetMth8","budgetMth9","creditBf","creditFuture","creditMth1","creditMth10","creditMth11","creditMth12","creditMth2","creditMth3","creditMth4","creditMth5","creditMth6","creditMth7","creditMth8","creditMth9","debitBf","debitFuture","debitMth1","debitMth10","debitMth11","debitMth12","debitMth2","debitMth3","debitMth4","debitMth5","debitMth6","debitMth7","debitMth8","debitMth9","deletedFlag","externalUsage","firstSplit","inactiveFlag","lastSplit","name","noOfSplit","priorYr2Mth1","priorYr2Mth10","priorYr2Mth11","priorYr2Mth12","priorYr2Mth2","priorYr2Mth3","priorYr2Mth4","priorYr2Mth5","priorYr2Mth6","priorYr2Mth7","priorYr2Mth8","priorYr2Mth9","priorYr3Mth1","priorYr3Mth10","priorYr3Mth11","priorYr3Mth12","priorYr3Mth2","priorYr3Mth3","priorYr3Mth4","priorYr3Mth5","priorYr3Mth6","priorYr3Mth7","priorYr3Mth8","priorYr3Mth9","priorYr4Mth1","priorYr4Mth10","priorYr4Mth11","priorYr4Mth12","priorYr4Mth2","priorYr4Mth3","priorYr4Mth4","priorYr4Mth5","priorYr4Mth6","priorYr4Mth7","priorYr4Mth8","priorYr4Mth9","priorYr5Mth1","priorYr5Mth10","priorYr5Mth11","priorYr5Mth12","priorYr5Mth2","priorYr5Mth3","priorYr5Mth4","priorYr5Mth5","priorYr5Mth6","priorYr5Mth7","priorYr5Mth8","priorYr5Mth9","priorYrMth1","priorYrMth10","priorYrMth11","priorYrMth12","priorYrMth2","priorYrMth3","priorYrMth4","priorYrMth5","priorYrMth6","priorYrMth7","priorYrMth8","priorYrMth9","quickRatioFlag","recordCreateDate","recordDeleted","recordModifyDate","id"],"additionalProperties":false},"Uk31_1_accounts_get":{"type":"object","properties":{"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Account Code (SDO ACCOUNT_REF; Required; precision 0)"},"accountType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Account Type Code (SDO ACCOUNT_TYPE; Optional; precision 0)"},"auditRef":{"type":"string","nullable":true,"maxLength":20,"description":"Incomplete records reference (SDO AUDIT_REF; Optional; precision 0)"},"balance":{"type":"number","nullable":true,"description":"Balance (SDO BALANCE; Optional; precision 2)"},"balanceBf":{"type":"number","nullable":true,"description":"Balance Brought forward (SDO BALANCE_BF; Optional; precision 2)"},"balanceFuture":{"type":"number","nullable":true,"description":"Balance for Future (SDO BALANCE_FUTURE; Optional; precision 2)"},"balanceMth1":{"type":"number","nullable":true,"description":"Balance Month 1 (SDO BALANCE_MTH1; Optional; precision 2)"},"balanceMth10":{"type":"number","nullable":true,"description":"Balance Month 10 (SDO BALANCE_MTH10; Optional; precision 2)"},"balanceMth11":{"type":"number","nullable":true,"description":"Balance Month 11 (SDO BALANCE_MTH11; Optional; precision 2)"},"balanceMth12":{"type":"number","nullable":true,"description":"Balance Month 12 (SDO BALANCE_MTH12; Optional; precision 2)"},"balanceMth2":{"type":"number","nullable":true,"description":"Balance Month 2 (SDO BALANCE_MTH2; Optional; precision 2)"},"balanceMth3":{"type":"number","nullable":true,"description":"Balance Month 3 (SDO BALANCE_MTH3; Optional; precision 2)"},"balanceMth4":{"type":"number","nullable":true,"description":"Balance Month 4 (SDO BALANCE_MTH4; Optional; precision 2)"},"balanceMth5":{"type":"number","nullable":true,"description":"Balance Month 5 (SDO BALANCE_MTH5; Optional; precision 2)"},"balanceMth6":{"type":"number","nullable":true,"description":"Balance Month 6 (SDO BALANCE_MTH6; Optional; precision 2)"},"balanceMth7":{"type":"number","nullable":true,"description":"Balance Month 7 (SDO BALANCE_MTH7; Optional; precision 2)"},"balanceMth8":{"type":"number","nullable":true,"description":"Balance Month 8 (SDO BALANCE_MTH8; Optional; precision 2)"},"balanceMth9":{"type":"number","nullable":true,"description":"Balance Month 9 (SDO BALANCE_MTH9; Optional; precision 2)"},"budgetMth1":{"type":"number","nullable":true,"description":"Budget Month 1 (SDO BUDGET_MTH1; Optional; precision 2)"},"budgetMth10":{"type":"number","nullable":true,"description":"Budget Month 10 (SDO BUDGET_MTH10; Optional; precision 2)"},"budgetMth11":{"type":"number","nullable":true,"description":"Budget Month 11 (SDO BUDGET_MTH11; Optional; precision 2)"},"budgetMth12":{"type":"number","nullable":true,"description":"Budget Month 12 (SDO BUDGET_MTH12; Optional; precision 2)"},"budgetMth2":{"type":"number","nullable":true,"description":"Budget Month 2 (SDO BUDGET_MTH2; Optional; precision 2)"},"budgetMth3":{"type":"number","nullable":true,"description":"Budget Month 3 (SDO BUDGET_MTH3; Optional; precision 2)"},"budgetMth4":{"type":"number","nullable":true,"description":"Budget Month 4 (SDO BUDGET_MTH4; Optional; precision 2)"},"budgetMth5":{"type":"number","nullable":true,"description":"Budget Month 5 (SDO BUDGET_MTH5; Optional; precision 2)"},"budgetMth6":{"type":"number","nullable":true,"description":"Budget Month 6 (SDO BUDGET_MTH6; Optional; precision 2)"},"budgetMth7":{"type":"number","nullable":true,"description":"Budget Month 7 (SDO BUDGET_MTH7; Optional; precision 2)"},"budgetMth8":{"type":"number","nullable":true,"description":"Budget Month 8 (SDO BUDGET_MTH8; Optional; precision 2)"},"budgetMth9":{"type":"number","nullable":true,"description":"Budget Month 9 (SDO BUDGET_MTH9; Optional; precision 2)"},"creditBf":{"type":"number","nullable":true,"description":"Credit Brought Forward (SDO CREDIT_BF; Optional; precision 2)"},"creditFuture":{"type":"number","nullable":true,"description":"Credit for Future (SDO CREDIT_FUTURE; Optional; precision 2)"},"creditMth1":{"type":"number","nullable":true,"description":"Credit Month 1 (SDO CREDIT_MTH1; Optional; precision 2)"},"creditMth10":{"type":"number","nullable":true,"description":"Credit Month 10 (SDO CREDIT_MTH10; Optional; precision 2)"},"creditMth11":{"type":"number","nullable":true,"description":"Credit Month 11 (SDO CREDIT_MTH11; Optional; precision 2)"},"creditMth12":{"type":"number","nullable":true,"description":"Credit Month 12 (SDO CREDIT_MTH12; Optional; precision 2)"},"creditMth2":{"type":"number","nullable":true,"description":"Credit Month 2 (SDO CREDIT_MTH2; Optional; precision 2)"},"creditMth3":{"type":"number","nullable":true,"description":"Credit Month 3 (SDO CREDIT_MTH3; Optional; precision 2)"},"creditMth4":{"type":"number","nullable":true,"description":"Credit Month 4 (SDO CREDIT_MTH4; Optional; precision 2)"},"creditMth5":{"type":"number","nullable":true,"description":"Credit Month 5 (SDO CREDIT_MTH5; Optional; precision 2)"},"creditMth6":{"type":"number","nullable":true,"description":"Credit Month 6 (SDO CREDIT_MTH6; Optional; precision 2)"},"creditMth7":{"type":"number","nullable":true,"description":"Credit Month 7 (SDO CREDIT_MTH7; Optional; precision 2)"},"creditMth8":{"type":"number","nullable":true,"description":"Credit Month 8 (SDO CREDIT_MTH8; Optional; precision 2)"},"creditMth9":{"type":"number","nullable":true,"description":"Credit Month 9 (SDO CREDIT_MTH9; Optional; precision 2)"},"debitBf":{"type":"number","nullable":true,"description":"Debit Brought Forward (SDO DEBIT_BF; Optional; precision 2)"},"debitFuture":{"type":"number","nullable":true,"description":"Debit for Future (SDO DEBIT_FUTURE; Optional; precision 2)"},"debitMth1":{"type":"number","nullable":true,"description":"Debit Month 1 (SDO DEBIT_MTH1; Optional; precision 2)"},"debitMth10":{"type":"number","nullable":true,"description":"Debit Month 10 (SDO DEBIT_MTH10; Optional; precision 2)"},"debitMth11":{"type":"number","nullable":true,"description":"Debit Month 11 (SDO DEBIT_MTH11; Optional; precision 2)"},"debitMth12":{"type":"number","nullable":true,"description":"Debit Month 12 (SDO DEBIT_MTH12; Optional; precision 2)"},"debitMth2":{"type":"number","nullable":true,"description":"Debit Month 2 (SDO DEBIT_MTH2; Optional; precision 2)"},"debitMth3":{"type":"number","nullable":true,"description":"Debit Month 3 (SDO DEBIT_MTH3; Optional; precision 2)"},"debitMth4":{"type":"number","nullable":true,"description":"Debit Month 4 (SDO DEBIT_MTH4; Optional; precision 2)"},"debitMth5":{"type":"number","nullable":true,"description":"Debit Month 5 (SDO DEBIT_MTH5; Optional; precision 2)"},"debitMth6":{"type":"number","nullable":true,"description":"Debit Month 6 (SDO DEBIT_MTH6; Optional; precision 2)"},"debitMth7":{"type":"number","nullable":true,"description":"Debit Month 7 (SDO DEBIT_MTH7; Optional; precision 2)"},"debitMth8":{"type":"number","nullable":true,"description":"Debit Month 8 (SDO DEBIT_MTH8; Optional; precision 2)"},"debitMth9":{"type":"number","nullable":true,"description":"Debit Month 9 (SDO DEBIT_MTH9; Optional; precision 2)"},"deletedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Is Deleted (SDO DELETED_FLAG; Optional; precision 0)"},"externalUsage":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Number of External Usages (SDO EXTERNAL_USAGE; Optional; precision 0)"},"firstSplit":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"First (SDO FIRST_SPLIT; Optional; precision 0)"},"inactiveFlag":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Inactive Flag - Yes/No (SDO INACTIVE_FLAG; Optional; precision 0)"},"lastSplit":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Last (SDO LAST_SPLIT; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Name (SDO NAME; Optional; precision 0)"},"noOfSplit":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"No of splits (SDO NO_OF_SPLIT; Optional; precision 0)"},"priorYr2Mth1":{"type":"number","nullable":true,"description":"Prior Year 2 Month 1 (SDO PRIOR_YR2_MTH1; Optional; precision 2)"},"priorYr2Mth10":{"type":"number","nullable":true,"description":"Prior Year 2 Month 10 (SDO PRIOR_YR2_MTH10; Optional; precision 2)"},"priorYr2Mth11":{"type":"number","nullable":true,"description":"Prior Year 2 Month 11 (SDO PRIOR_YR2_MTH11; Optional; precision 2)"},"priorYr2Mth12":{"type":"number","nullable":true,"description":"Prior Year 2 Month 12 (SDO PRIOR_YR2_MTH12; Optional; precision 2)"},"priorYr2Mth2":{"type":"number","nullable":true,"description":"Prior Year 2 Month 2 (SDO PRIOR_YR2_MTH2; Optional; precision 2)"},"priorYr2Mth3":{"type":"number","nullable":true,"description":"Prior Year 2 Month 3 (SDO PRIOR_YR2_MTH3; Optional; precision 2)"},"priorYr2Mth4":{"type":"number","nullable":true,"description":"Prior Year 2 Month 4 (SDO PRIOR_YR2_MTH4; Optional; precision 2)"},"priorYr2Mth5":{"type":"number","nullable":true,"description":"Prior Year 2 Month 5 (SDO PRIOR_YR2_MTH5; Optional; precision 2)"},"priorYr2Mth6":{"type":"number","nullable":true,"description":"Prior Year 2 Month 6 (SDO PRIOR_YR2_MTH6; Optional; precision 2)"},"priorYr2Mth7":{"type":"number","nullable":true,"description":"Prior Year 2 Month 7 (SDO PRIOR_YR2_MTH7; Optional; precision 2)"},"priorYr2Mth8":{"type":"number","nullable":true,"description":"Prior Year 2 Month 8 (SDO PRIOR_YR2_MTH8; Optional; precision 2)"},"priorYr2Mth9":{"type":"number","nullable":true,"description":"Prior Year 2 Month 9 (SDO PRIOR_YR2_MTH9; Optional; precision 2)"},"priorYr3Mth1":{"type":"number","nullable":true,"description":"Prior Year 3 Month 1 (SDO PRIOR_YR3_MTH1; Optional; precision 2)"},"priorYr3Mth10":{"type":"number","nullable":true,"description":"Prior Year 3 Month 10 (SDO PRIOR_YR3_MTH10; Optional; precision 2)"},"priorYr3Mth11":{"type":"number","nullable":true,"description":"Prior Year 3 Month 11 (SDO PRIOR_YR3_MTH11; Optional; precision 2)"},"priorYr3Mth12":{"type":"number","nullable":true,"description":"Prior Year 3 Month 12 (SDO PRIOR_YR3_MTH12; Optional; precision 2)"},"priorYr3Mth2":{"type":"number","nullable":true,"description":"Prior Year 3 Month 2 (SDO PRIOR_YR3_MTH2; Optional; precision 2)"},"priorYr3Mth3":{"type":"number","nullable":true,"description":"Prior Year 3 Month 3 (SDO PRIOR_YR3_MTH3; Optional; precision 2)"},"priorYr3Mth4":{"type":"number","nullable":true,"description":"Prior Year 3 Month 4 (SDO PRIOR_YR3_MTH4; Optional; precision 2)"},"priorYr3Mth5":{"type":"number","nullable":true,"description":"Prior Year 3 Month 5 (SDO PRIOR_YR3_MTH5; Optional; precision 2)"},"priorYr3Mth6":{"type":"number","nullable":true,"description":"Prior Year 3 Month 6 (SDO PRIOR_YR3_MTH6; Optional; precision 2)"},"priorYr3Mth7":{"type":"number","nullable":true,"description":"Prior Year 3 Month 7 (SDO PRIOR_YR3_MTH7; Optional; precision 2)"},"priorYr3Mth8":{"type":"number","nullable":true,"description":"Prior Year 3 Month 8 (SDO PRIOR_YR3_MTH8; Optional; precision 2)"},"priorYr3Mth9":{"type":"number","nullable":true,"description":"Prior Year 3 Month 9 (SDO PRIOR_YR3_MTH9; Optional; precision 2)"},"priorYr4Mth1":{"type":"number","nullable":true,"description":"Prior Year 4 Month 1 (SDO PRIOR_YR4_MTH1; Optional; precision 2)"},"priorYr4Mth10":{"type":"number","nullable":true,"description":"Prior Year 4 Month 10 (SDO PRIOR_YR4_MTH10; Optional; precision 2)"},"priorYr4Mth11":{"type":"number","nullable":true,"description":"Prior Year 4 Month 11 (SDO PRIOR_YR4_MTH11; Optional; precision 2)"},"priorYr4Mth12":{"type":"number","nullable":true,"description":"Prior Year 4 Month 12 (SDO PRIOR_YR4_MTH12; Optional; precision 2)"},"priorYr4Mth2":{"type":"number","nullable":true,"description":"Prior Year 4 Month 2 (SDO PRIOR_YR4_MTH2; Optional; precision 2)"},"priorYr4Mth3":{"type":"number","nullable":true,"description":"Prior Year 4 Month 3 (SDO PRIOR_YR4_MTH3; Optional; precision 2)"},"priorYr4Mth4":{"type":"number","nullable":true,"description":"Prior Year 4 Month 4 (SDO PRIOR_YR4_MTH4; Optional; precision 2)"},"priorYr4Mth5":{"type":"number","nullable":true,"description":"Prior Year 4 Month 5 (SDO PRIOR_YR4_MTH5; Optional; precision 2)"},"priorYr4Mth6":{"type":"number","nullable":true,"description":"Prior Year 4 Month 6 (SDO PRIOR_YR4_MTH6; Optional; precision 2)"},"priorYr4Mth7":{"type":"number","nullable":true,"description":"Prior Year 4 Month 7 (SDO PRIOR_YR4_MTH7; Optional; precision 2)"},"priorYr4Mth8":{"type":"number","nullable":true,"description":"Prior Year 4 Month 8 (SDO PRIOR_YR4_MTH8; Optional; precision 2)"},"priorYr4Mth9":{"type":"number","nullable":true,"description":"Prior Year 4 Month 9 (SDO PRIOR_YR4_MTH9; Optional; precision 2)"},"priorYr5Mth1":{"type":"number","nullable":true,"description":"Prior Year 5 Month 1 (SDO PRIOR_YR5_MTH1; Optional; precision 2)"},"priorYr5Mth10":{"type":"number","nullable":true,"description":"Prior Year 5 Month 10 (SDO PRIOR_YR5_MTH10; Optional; precision 2)"},"priorYr5Mth11":{"type":"number","nullable":true,"description":"Prior Year 5 Month 11 (SDO PRIOR_YR5_MTH11; Optional; precision 2)"},"priorYr5Mth12":{"type":"number","nullable":true,"description":"Prior Year 5 Month 12 (SDO PRIOR_YR5_MTH12; Optional; precision 2)"},"priorYr5Mth2":{"type":"number","nullable":true,"description":"Prior Year 5 Month 2 (SDO PRIOR_YR5_MTH2; Optional; precision 2)"},"priorYr5Mth3":{"type":"number","nullable":true,"description":"Prior Year 5 Month 3 (SDO PRIOR_YR5_MTH3; Optional; precision 2)"},"priorYr5Mth4":{"type":"number","nullable":true,"description":"Prior Year 5 Month 4 (SDO PRIOR_YR5_MTH4; Optional; precision 2)"},"priorYr5Mth5":{"type":"number","nullable":true,"description":"Prior Year 5 Month 5 (SDO PRIOR_YR5_MTH5; Optional; precision 2)"},"priorYr5Mth6":{"type":"number","nullable":true,"description":"Prior Year 5 Month 6 (SDO PRIOR_YR5_MTH6; Optional; precision 2)"},"priorYr5Mth7":{"type":"number","nullable":true,"description":"Prior Year 5 Month 7 (SDO PRIOR_YR5_MTH7; Optional; precision 2)"},"priorYr5Mth8":{"type":"number","nullable":true,"description":"Prior Year 5 Month 8 (SDO PRIOR_YR5_MTH8; Optional; precision 2)"},"priorYr5Mth9":{"type":"number","nullable":true,"description":"Prior Year 5 Month 9 (SDO PRIOR_YR5_MTH9; Optional; precision 2)"},"priorYrMth1":{"type":"number","nullable":true,"description":"Prior Year 1 Month 1 (SDO PRIOR_YR_MTH1; Optional; precision 2)"},"priorYrMth10":{"type":"number","nullable":true,"description":"Prior Year 1 Month 10 (SDO PRIOR_YR_MTH10; Optional; precision 2)"},"priorYrMth11":{"type":"number","nullable":true,"description":"Prior Year 1 Month 11 (SDO PRIOR_YR_MTH11; Optional; precision 2)"},"priorYrMth12":{"type":"number","nullable":true,"description":"Prior Year 1 Month 12 (SDO PRIOR_YR_MTH12; Optional; precision 2)"},"priorYrMth2":{"type":"number","nullable":true,"description":"Prior Year 1 Month 2 (SDO PRIOR_YR_MTH2; Optional; precision 2)"},"priorYrMth3":{"type":"number","nullable":true,"description":"Prior Year 1 Month 3 (SDO PRIOR_YR_MTH3; Optional; precision 2)"},"priorYrMth4":{"type":"number","nullable":true,"description":"Prior Year 1 Month 4 (SDO PRIOR_YR_MTH4; Optional; precision 2)"},"priorYrMth5":{"type":"number","nullable":true,"description":"Prior Year 1 Month 5 (SDO PRIOR_YR_MTH5; Optional; precision 2)"},"priorYrMth6":{"type":"number","nullable":true,"description":"Prior Year 1 Month 6 (SDO PRIOR_YR_MTH6; Optional; precision 2)"},"priorYrMth7":{"type":"number","nullable":true,"description":"Prior Year 1 Month 7 (SDO PRIOR_YR_MTH7; Optional; precision 2)"},"priorYrMth8":{"type":"number","nullable":true,"description":"Prior Year 1 Month 8 (SDO PRIOR_YR_MTH8; Optional; precision 2)"},"priorYrMth9":{"type":"number","nullable":true,"description":"Prior Year 1 Month 9 (SDO PRIOR_YR_MTH9; Optional; precision 2)"},"quickRatioFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Quick ratio account flag (SDO QUICK_RATIO_FLAG; Optional; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"id":{"type":"string"}},"required":["accountRef","accountType","auditRef","balance","balanceBf","balanceFuture","balanceMth1","balanceMth10","balanceMth11","balanceMth12","balanceMth2","balanceMth3","balanceMth4","balanceMth5","balanceMth6","balanceMth7","balanceMth8","balanceMth9","budgetMth1","budgetMth10","budgetMth11","budgetMth12","budgetMth2","budgetMth3","budgetMth4","budgetMth5","budgetMth6","budgetMth7","budgetMth8","budgetMth9","creditBf","creditFuture","creditMth1","creditMth10","creditMth11","creditMth12","creditMth2","creditMth3","creditMth4","creditMth5","creditMth6","creditMth7","creditMth8","creditMth9","debitBf","debitFuture","debitMth1","debitMth10","debitMth11","debitMth12","debitMth2","debitMth3","debitMth4","debitMth5","debitMth6","debitMth7","debitMth8","debitMth9","deletedFlag","externalUsage","firstSplit","inactiveFlag","lastSplit","name","noOfSplit","priorYr2Mth1","priorYr2Mth10","priorYr2Mth11","priorYr2Mth12","priorYr2Mth2","priorYr2Mth3","priorYr2Mth4","priorYr2Mth5","priorYr2Mth6","priorYr2Mth7","priorYr2Mth8","priorYr2Mth9","priorYr3Mth1","priorYr3Mth10","priorYr3Mth11","priorYr3Mth12","priorYr3Mth2","priorYr3Mth3","priorYr3Mth4","priorYr3Mth5","priorYr3Mth6","priorYr3Mth7","priorYr3Mth8","priorYr3Mth9","priorYr4Mth1","priorYr4Mth10","priorYr4Mth11","priorYr4Mth12","priorYr4Mth2","priorYr4Mth3","priorYr4Mth4","priorYr4Mth5","priorYr4Mth6","priorYr4Mth7","priorYr4Mth8","priorYr4Mth9","priorYr5Mth1","priorYr5Mth10","priorYr5Mth11","priorYr5Mth12","priorYr5Mth2","priorYr5Mth3","priorYr5Mth4","priorYr5Mth5","priorYr5Mth6","priorYr5Mth7","priorYr5Mth8","priorYr5Mth9","priorYrMth1","priorYrMth10","priorYrMth11","priorYrMth12","priorYrMth2","priorYrMth3","priorYrMth4","priorYrMth5","priorYrMth6","priorYrMth7","priorYrMth8","priorYrMth9","quickRatioFlag","recordCreateDate","recordDeleted","recordModifyDate","id"],"additionalProperties":false},"Uk32_1_accounts_get":{"type":"object","properties":{"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Account Code (SDO ACCOUNT_REF; Required; precision 0)"},"accountType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Account Type Code (SDO ACCOUNT_TYPE; Optional; precision 0)"},"auditRef":{"type":"string","nullable":true,"maxLength":20,"description":"Incomplete records reference (SDO AUDIT_REF; Optional; precision 0)"},"balance":{"type":"number","nullable":true,"description":"Balance (SDO BALANCE; Optional; precision 2)"},"balanceBf":{"type":"number","nullable":true,"description":"Balance Brought forward (SDO BALANCE_BF; Optional; precision 2)"},"balanceFuture":{"type":"number","nullable":true,"description":"Balance for Future (SDO BALANCE_FUTURE; Optional; precision 2)"},"balanceMth1":{"type":"number","nullable":true,"description":"Balance Month 1 (SDO BALANCE_MTH1; Optional; precision 2)"},"balanceMth10":{"type":"number","nullable":true,"description":"Balance Month 10 (SDO BALANCE_MTH10; Optional; precision 2)"},"balanceMth11":{"type":"number","nullable":true,"description":"Balance Month 11 (SDO BALANCE_MTH11; Optional; precision 2)"},"balanceMth12":{"type":"number","nullable":true,"description":"Balance Month 12 (SDO BALANCE_MTH12; Optional; precision 2)"},"balanceMth2":{"type":"number","nullable":true,"description":"Balance Month 2 (SDO BALANCE_MTH2; Optional; precision 2)"},"balanceMth3":{"type":"number","nullable":true,"description":"Balance Month 3 (SDO BALANCE_MTH3; Optional; precision 2)"},"balanceMth4":{"type":"number","nullable":true,"description":"Balance Month 4 (SDO BALANCE_MTH4; Optional; precision 2)"},"balanceMth5":{"type":"number","nullable":true,"description":"Balance Month 5 (SDO BALANCE_MTH5; Optional; precision 2)"},"balanceMth6":{"type":"number","nullable":true,"description":"Balance Month 6 (SDO BALANCE_MTH6; Optional; precision 2)"},"balanceMth7":{"type":"number","nullable":true,"description":"Balance Month 7 (SDO BALANCE_MTH7; Optional; precision 2)"},"balanceMth8":{"type":"number","nullable":true,"description":"Balance Month 8 (SDO BALANCE_MTH8; Optional; precision 2)"},"balanceMth9":{"type":"number","nullable":true,"description":"Balance Month 9 (SDO BALANCE_MTH9; Optional; precision 2)"},"budgetMth1":{"type":"number","nullable":true,"description":"Budget Month 1 (SDO BUDGET_MTH1; Optional; precision 2)"},"budgetMth10":{"type":"number","nullable":true,"description":"Budget Month 10 (SDO BUDGET_MTH10; Optional; precision 2)"},"budgetMth11":{"type":"number","nullable":true,"description":"Budget Month 11 (SDO BUDGET_MTH11; Optional; precision 2)"},"budgetMth12":{"type":"number","nullable":true,"description":"Budget Month 12 (SDO BUDGET_MTH12; Optional; precision 2)"},"budgetMth2":{"type":"number","nullable":true,"description":"Budget Month 2 (SDO BUDGET_MTH2; Optional; precision 2)"},"budgetMth3":{"type":"number","nullable":true,"description":"Budget Month 3 (SDO BUDGET_MTH3; Optional; precision 2)"},"budgetMth4":{"type":"number","nullable":true,"description":"Budget Month 4 (SDO BUDGET_MTH4; Optional; precision 2)"},"budgetMth5":{"type":"number","nullable":true,"description":"Budget Month 5 (SDO BUDGET_MTH5; Optional; precision 2)"},"budgetMth6":{"type":"number","nullable":true,"description":"Budget Month 6 (SDO BUDGET_MTH6; Optional; precision 2)"},"budgetMth7":{"type":"number","nullable":true,"description":"Budget Month 7 (SDO BUDGET_MTH7; Optional; precision 2)"},"budgetMth8":{"type":"number","nullable":true,"description":"Budget Month 8 (SDO BUDGET_MTH8; Optional; precision 2)"},"budgetMth9":{"type":"number","nullable":true,"description":"Budget Month 9 (SDO BUDGET_MTH9; Optional; precision 2)"},"creditBf":{"type":"number","nullable":true,"description":"Credit Brought Forward (SDO CREDIT_BF; Optional; precision 2)"},"creditFuture":{"type":"number","nullable":true,"description":"Credit for Future (SDO CREDIT_FUTURE; Optional; precision 2)"},"creditMth1":{"type":"number","nullable":true,"description":"Credit Month 1 (SDO CREDIT_MTH1; Optional; precision 2)"},"creditMth10":{"type":"number","nullable":true,"description":"Credit Month 10 (SDO CREDIT_MTH10; Optional; precision 2)"},"creditMth11":{"type":"number","nullable":true,"description":"Credit Month 11 (SDO CREDIT_MTH11; Optional; precision 2)"},"creditMth12":{"type":"number","nullable":true,"description":"Credit Month 12 (SDO CREDIT_MTH12; Optional; precision 2)"},"creditMth2":{"type":"number","nullable":true,"description":"Credit Month 2 (SDO CREDIT_MTH2; Optional; precision 2)"},"creditMth3":{"type":"number","nullable":true,"description":"Credit Month 3 (SDO CREDIT_MTH3; Optional; precision 2)"},"creditMth4":{"type":"number","nullable":true,"description":"Credit Month 4 (SDO CREDIT_MTH4; Optional; precision 2)"},"creditMth5":{"type":"number","nullable":true,"description":"Credit Month 5 (SDO CREDIT_MTH5; Optional; precision 2)"},"creditMth6":{"type":"number","nullable":true,"description":"Credit Month 6 (SDO CREDIT_MTH6; Optional; precision 2)"},"creditMth7":{"type":"number","nullable":true,"description":"Credit Month 7 (SDO CREDIT_MTH7; Optional; precision 2)"},"creditMth8":{"type":"number","nullable":true,"description":"Credit Month 8 (SDO CREDIT_MTH8; Optional; precision 2)"},"creditMth9":{"type":"number","nullable":true,"description":"Credit Month 9 (SDO CREDIT_MTH9; Optional; precision 2)"},"debitBf":{"type":"number","nullable":true,"description":"Debit Brought Forward (SDO DEBIT_BF; Optional; precision 2)"},"debitFuture":{"type":"number","nullable":true,"description":"Debit for Future (SDO DEBIT_FUTURE; Optional; precision 2)"},"debitMth1":{"type":"number","nullable":true,"description":"Debit Month 1 (SDO DEBIT_MTH1; Optional; precision 2)"},"debitMth10":{"type":"number","nullable":true,"description":"Debit Month 10 (SDO DEBIT_MTH10; Optional; precision 2)"},"debitMth11":{"type":"number","nullable":true,"description":"Debit Month 11 (SDO DEBIT_MTH11; Optional; precision 2)"},"debitMth12":{"type":"number","nullable":true,"description":"Debit Month 12 (SDO DEBIT_MTH12; Optional; precision 2)"},"debitMth2":{"type":"number","nullable":true,"description":"Debit Month 2 (SDO DEBIT_MTH2; Optional; precision 2)"},"debitMth3":{"type":"number","nullable":true,"description":"Debit Month 3 (SDO DEBIT_MTH3; Optional; precision 2)"},"debitMth4":{"type":"number","nullable":true,"description":"Debit Month 4 (SDO DEBIT_MTH4; Optional; precision 2)"},"debitMth5":{"type":"number","nullable":true,"description":"Debit Month 5 (SDO DEBIT_MTH5; Optional; precision 2)"},"debitMth6":{"type":"number","nullable":true,"description":"Debit Month 6 (SDO DEBIT_MTH6; Optional; precision 2)"},"debitMth7":{"type":"number","nullable":true,"description":"Debit Month 7 (SDO DEBIT_MTH7; Optional; precision 2)"},"debitMth8":{"type":"number","nullable":true,"description":"Debit Month 8 (SDO DEBIT_MTH8; Optional; precision 2)"},"debitMth9":{"type":"number","nullable":true,"description":"Debit Month 9 (SDO DEBIT_MTH9; Optional; precision 2)"},"deletedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Is Deleted (SDO DELETED_FLAG; Optional; precision 0)"},"externalUsage":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Number of External Usages (SDO EXTERNAL_USAGE; Optional; precision 0)"},"firstSplit":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"First (SDO FIRST_SPLIT; Optional; precision 0)"},"inactiveFlag":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Inactive Flag - Yes/No (SDO INACTIVE_FLAG; Optional; precision 0)"},"lastSplit":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Last (SDO LAST_SPLIT; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Name (SDO NAME; Optional; precision 0)"},"noOfSplit":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"No of splits (SDO NO_OF_SPLIT; Optional; precision 0)"},"priorYr2Mth1":{"type":"number","nullable":true,"description":"Prior Year 2 Month 1 (SDO PRIOR_YR2_MTH1; Optional; precision 2)"},"priorYr2Mth10":{"type":"number","nullable":true,"description":"Prior Year 2 Month 10 (SDO PRIOR_YR2_MTH10; Optional; precision 2)"},"priorYr2Mth11":{"type":"number","nullable":true,"description":"Prior Year 2 Month 11 (SDO PRIOR_YR2_MTH11; Optional; precision 2)"},"priorYr2Mth12":{"type":"number","nullable":true,"description":"Prior Year 2 Month 12 (SDO PRIOR_YR2_MTH12; Optional; precision 2)"},"priorYr2Mth2":{"type":"number","nullable":true,"description":"Prior Year 2 Month 2 (SDO PRIOR_YR2_MTH2; Optional; precision 2)"},"priorYr2Mth3":{"type":"number","nullable":true,"description":"Prior Year 2 Month 3 (SDO PRIOR_YR2_MTH3; Optional; precision 2)"},"priorYr2Mth4":{"type":"number","nullable":true,"description":"Prior Year 2 Month 4 (SDO PRIOR_YR2_MTH4; Optional; precision 2)"},"priorYr2Mth5":{"type":"number","nullable":true,"description":"Prior Year 2 Month 5 (SDO PRIOR_YR2_MTH5; Optional; precision 2)"},"priorYr2Mth6":{"type":"number","nullable":true,"description":"Prior Year 2 Month 6 (SDO PRIOR_YR2_MTH6; Optional; precision 2)"},"priorYr2Mth7":{"type":"number","nullable":true,"description":"Prior Year 2 Month 7 (SDO PRIOR_YR2_MTH7; Optional; precision 2)"},"priorYr2Mth8":{"type":"number","nullable":true,"description":"Prior Year 2 Month 8 (SDO PRIOR_YR2_MTH8; Optional; precision 2)"},"priorYr2Mth9":{"type":"number","nullable":true,"description":"Prior Year 2 Month 9 (SDO PRIOR_YR2_MTH9; Optional; precision 2)"},"priorYr3Mth1":{"type":"number","nullable":true,"description":"Prior Year 3 Month 1 (SDO PRIOR_YR3_MTH1; Optional; precision 2)"},"priorYr3Mth10":{"type":"number","nullable":true,"description":"Prior Year 3 Month 10 (SDO PRIOR_YR3_MTH10; Optional; precision 2)"},"priorYr3Mth11":{"type":"number","nullable":true,"description":"Prior Year 3 Month 11 (SDO PRIOR_YR3_MTH11; Optional; precision 2)"},"priorYr3Mth12":{"type":"number","nullable":true,"description":"Prior Year 3 Month 12 (SDO PRIOR_YR3_MTH12; Optional; precision 2)"},"priorYr3Mth2":{"type":"number","nullable":true,"description":"Prior Year 3 Month 2 (SDO PRIOR_YR3_MTH2; Optional; precision 2)"},"priorYr3Mth3":{"type":"number","nullable":true,"description":"Prior Year 3 Month 3 (SDO PRIOR_YR3_MTH3; Optional; precision 2)"},"priorYr3Mth4":{"type":"number","nullable":true,"description":"Prior Year 3 Month 4 (SDO PRIOR_YR3_MTH4; Optional; precision 2)"},"priorYr3Mth5":{"type":"number","nullable":true,"description":"Prior Year 3 Month 5 (SDO PRIOR_YR3_MTH5; Optional; precision 2)"},"priorYr3Mth6":{"type":"number","nullable":true,"description":"Prior Year 3 Month 6 (SDO PRIOR_YR3_MTH6; Optional; precision 2)"},"priorYr3Mth7":{"type":"number","nullable":true,"description":"Prior Year 3 Month 7 (SDO PRIOR_YR3_MTH7; Optional; precision 2)"},"priorYr3Mth8":{"type":"number","nullable":true,"description":"Prior Year 3 Month 8 (SDO PRIOR_YR3_MTH8; Optional; precision 2)"},"priorYr3Mth9":{"type":"number","nullable":true,"description":"Prior Year 3 Month 9 (SDO PRIOR_YR3_MTH9; Optional; precision 2)"},"priorYr4Mth1":{"type":"number","nullable":true,"description":"Prior Year 4 Month 1 (SDO PRIOR_YR4_MTH1; Optional; precision 2)"},"priorYr4Mth10":{"type":"number","nullable":true,"description":"Prior Year 4 Month 10 (SDO PRIOR_YR4_MTH10; Optional; precision 2)"},"priorYr4Mth11":{"type":"number","nullable":true,"description":"Prior Year 4 Month 11 (SDO PRIOR_YR4_MTH11; Optional; precision 2)"},"priorYr4Mth12":{"type":"number","nullable":true,"description":"Prior Year 4 Month 12 (SDO PRIOR_YR4_MTH12; Optional; precision 2)"},"priorYr4Mth2":{"type":"number","nullable":true,"description":"Prior Year 4 Month 2 (SDO PRIOR_YR4_MTH2; Optional; precision 2)"},"priorYr4Mth3":{"type":"number","nullable":true,"description":"Prior Year 4 Month 3 (SDO PRIOR_YR4_MTH3; Optional; precision 2)"},"priorYr4Mth4":{"type":"number","nullable":true,"description":"Prior Year 4 Month 4 (SDO PRIOR_YR4_MTH4; Optional; precision 2)"},"priorYr4Mth5":{"type":"number","nullable":true,"description":"Prior Year 4 Month 5 (SDO PRIOR_YR4_MTH5; Optional; precision 2)"},"priorYr4Mth6":{"type":"number","nullable":true,"description":"Prior Year 4 Month 6 (SDO PRIOR_YR4_MTH6; Optional; precision 2)"},"priorYr4Mth7":{"type":"number","nullable":true,"description":"Prior Year 4 Month 7 (SDO PRIOR_YR4_MTH7; Optional; precision 2)"},"priorYr4Mth8":{"type":"number","nullable":true,"description":"Prior Year 4 Month 8 (SDO PRIOR_YR4_MTH8; Optional; precision 2)"},"priorYr4Mth9":{"type":"number","nullable":true,"description":"Prior Year 4 Month 9 (SDO PRIOR_YR4_MTH9; Optional; precision 2)"},"priorYr5Mth1":{"type":"number","nullable":true,"description":"Prior Year 5 Month 1 (SDO PRIOR_YR5_MTH1; Optional; precision 2)"},"priorYr5Mth10":{"type":"number","nullable":true,"description":"Prior Year 5 Month 10 (SDO PRIOR_YR5_MTH10; Optional; precision 2)"},"priorYr5Mth11":{"type":"number","nullable":true,"description":"Prior Year 5 Month 11 (SDO PRIOR_YR5_MTH11; Optional; precision 2)"},"priorYr5Mth12":{"type":"number","nullable":true,"description":"Prior Year 5 Month 12 (SDO PRIOR_YR5_MTH12; Optional; precision 2)"},"priorYr5Mth2":{"type":"number","nullable":true,"description":"Prior Year 5 Month 2 (SDO PRIOR_YR5_MTH2; Optional; precision 2)"},"priorYr5Mth3":{"type":"number","nullable":true,"description":"Prior Year 5 Month 3 (SDO PRIOR_YR5_MTH3; Optional; precision 2)"},"priorYr5Mth4":{"type":"number","nullable":true,"description":"Prior Year 5 Month 4 (SDO PRIOR_YR5_MTH4; Optional; precision 2)"},"priorYr5Mth5":{"type":"number","nullable":true,"description":"Prior Year 5 Month 5 (SDO PRIOR_YR5_MTH5; Optional; precision 2)"},"priorYr5Mth6":{"type":"number","nullable":true,"description":"Prior Year 5 Month 6 (SDO PRIOR_YR5_MTH6; Optional; precision 2)"},"priorYr5Mth7":{"type":"number","nullable":true,"description":"Prior Year 5 Month 7 (SDO PRIOR_YR5_MTH7; Optional; precision 2)"},"priorYr5Mth8":{"type":"number","nullable":true,"description":"Prior Year 5 Month 8 (SDO PRIOR_YR5_MTH8; Optional; precision 2)"},"priorYr5Mth9":{"type":"number","nullable":true,"description":"Prior Year 5 Month 9 (SDO PRIOR_YR5_MTH9; Optional; precision 2)"},"priorYrMth1":{"type":"number","nullable":true,"description":"Prior Year 1 Month 1 (SDO PRIOR_YR_MTH1; Optional; precision 2)"},"priorYrMth10":{"type":"number","nullable":true,"description":"Prior Year 1 Month 10 (SDO PRIOR_YR_MTH10; Optional; precision 2)"},"priorYrMth11":{"type":"number","nullable":true,"description":"Prior Year 1 Month 11 (SDO PRIOR_YR_MTH11; Optional; precision 2)"},"priorYrMth12":{"type":"number","nullable":true,"description":"Prior Year 1 Month 12 (SDO PRIOR_YR_MTH12; Optional; precision 2)"},"priorYrMth2":{"type":"number","nullable":true,"description":"Prior Year 1 Month 2 (SDO PRIOR_YR_MTH2; Optional; precision 2)"},"priorYrMth3":{"type":"number","nullable":true,"description":"Prior Year 1 Month 3 (SDO PRIOR_YR_MTH3; Optional; precision 2)"},"priorYrMth4":{"type":"number","nullable":true,"description":"Prior Year 1 Month 4 (SDO PRIOR_YR_MTH4; Optional; precision 2)"},"priorYrMth5":{"type":"number","nullable":true,"description":"Prior Year 1 Month 5 (SDO PRIOR_YR_MTH5; Optional; precision 2)"},"priorYrMth6":{"type":"number","nullable":true,"description":"Prior Year 1 Month 6 (SDO PRIOR_YR_MTH6; Optional; precision 2)"},"priorYrMth7":{"type":"number","nullable":true,"description":"Prior Year 1 Month 7 (SDO PRIOR_YR_MTH7; Optional; precision 2)"},"priorYrMth8":{"type":"number","nullable":true,"description":"Prior Year 1 Month 8 (SDO PRIOR_YR_MTH8; Optional; precision 2)"},"priorYrMth9":{"type":"number","nullable":true,"description":"Prior Year 1 Month 9 (SDO PRIOR_YR_MTH9; Optional; precision 2)"},"quickRatioFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Quick ratio account flag (SDO QUICK_RATIO_FLAG; Optional; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"id":{"type":"string"}},"required":["accountRef","accountType","auditRef","balance","balanceBf","balanceFuture","balanceMth1","balanceMth10","balanceMth11","balanceMth12","balanceMth2","balanceMth3","balanceMth4","balanceMth5","balanceMth6","balanceMth7","balanceMth8","balanceMth9","budgetMth1","budgetMth10","budgetMth11","budgetMth12","budgetMth2","budgetMth3","budgetMth4","budgetMth5","budgetMth6","budgetMth7","budgetMth8","budgetMth9","creditBf","creditFuture","creditMth1","creditMth10","creditMth11","creditMth12","creditMth2","creditMth3","creditMth4","creditMth5","creditMth6","creditMth7","creditMth8","creditMth9","debitBf","debitFuture","debitMth1","debitMth10","debitMth11","debitMth12","debitMth2","debitMth3","debitMth4","debitMth5","debitMth6","debitMth7","debitMth8","debitMth9","deletedFlag","externalUsage","firstSplit","inactiveFlag","lastSplit","name","noOfSplit","priorYr2Mth1","priorYr2Mth10","priorYr2Mth11","priorYr2Mth12","priorYr2Mth2","priorYr2Mth3","priorYr2Mth4","priorYr2Mth5","priorYr2Mth6","priorYr2Mth7","priorYr2Mth8","priorYr2Mth9","priorYr3Mth1","priorYr3Mth10","priorYr3Mth11","priorYr3Mth12","priorYr3Mth2","priorYr3Mth3","priorYr3Mth4","priorYr3Mth5","priorYr3Mth6","priorYr3Mth7","priorYr3Mth8","priorYr3Mth9","priorYr4Mth1","priorYr4Mth10","priorYr4Mth11","priorYr4Mth12","priorYr4Mth2","priorYr4Mth3","priorYr4Mth4","priorYr4Mth5","priorYr4Mth6","priorYr4Mth7","priorYr4Mth8","priorYr4Mth9","priorYr5Mth1","priorYr5Mth10","priorYr5Mth11","priorYr5Mth12","priorYr5Mth2","priorYr5Mth3","priorYr5Mth4","priorYr5Mth5","priorYr5Mth6","priorYr5Mth7","priorYr5Mth8","priorYr5Mth9","priorYrMth1","priorYrMth10","priorYrMth11","priorYrMth12","priorYrMth2","priorYrMth3","priorYrMth4","priorYrMth5","priorYrMth6","priorYrMth7","priorYrMth8","priorYrMth9","quickRatioFlag","recordCreateDate","recordDeleted","recordModifyDate","id"],"additionalProperties":false},"Uk33_1_accounts_get":{"type":"object","properties":{"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Account Code (SDO ACCOUNT_REF; Required; precision 0)"},"accountType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Account Type Code (SDO ACCOUNT_TYPE; Optional; precision 0)"},"auditRef":{"type":"string","nullable":true,"maxLength":20,"description":"Incomplete records reference (SDO AUDIT_REF; Optional; precision 0)"},"balance":{"type":"number","nullable":true,"description":"Balance (SDO BALANCE; Optional; precision 2)"},"balanceBf":{"type":"number","nullable":true,"description":"Balance Brought forward (SDO BALANCE_BF; Optional; precision 2)"},"balanceFuture":{"type":"number","nullable":true,"description":"Balance for Future (SDO BALANCE_FUTURE; Optional; precision 2)"},"balanceMth1":{"type":"number","nullable":true,"description":"Balance Month 1 (SDO BALANCE_MTH1; Optional; precision 2)"},"balanceMth10":{"type":"number","nullable":true,"description":"Balance Month 10 (SDO BALANCE_MTH10; Optional; precision 2)"},"balanceMth11":{"type":"number","nullable":true,"description":"Balance Month 11 (SDO BALANCE_MTH11; Optional; precision 2)"},"balanceMth12":{"type":"number","nullable":true,"description":"Balance Month 12 (SDO BALANCE_MTH12; Optional; precision 2)"},"balanceMth2":{"type":"number","nullable":true,"description":"Balance Month 2 (SDO BALANCE_MTH2; Optional; precision 2)"},"balanceMth3":{"type":"number","nullable":true,"description":"Balance Month 3 (SDO BALANCE_MTH3; Optional; precision 2)"},"balanceMth4":{"type":"number","nullable":true,"description":"Balance Month 4 (SDO BALANCE_MTH4; Optional; precision 2)"},"balanceMth5":{"type":"number","nullable":true,"description":"Balance Month 5 (SDO BALANCE_MTH5; Optional; precision 2)"},"balanceMth6":{"type":"number","nullable":true,"description":"Balance Month 6 (SDO BALANCE_MTH6; Optional; precision 2)"},"balanceMth7":{"type":"number","nullable":true,"description":"Balance Month 7 (SDO BALANCE_MTH7; Optional; precision 2)"},"balanceMth8":{"type":"number","nullable":true,"description":"Balance Month 8 (SDO BALANCE_MTH8; Optional; precision 2)"},"balanceMth9":{"type":"number","nullable":true,"description":"Balance Month 9 (SDO BALANCE_MTH9; Optional; precision 2)"},"budgetMth1":{"type":"number","nullable":true,"description":"Budget Month 1 (SDO BUDGET_MTH1; Optional; precision 2)"},"budgetMth10":{"type":"number","nullable":true,"description":"Budget Month 10 (SDO BUDGET_MTH10; Optional; precision 2)"},"budgetMth11":{"type":"number","nullable":true,"description":"Budget Month 11 (SDO BUDGET_MTH11; Optional; precision 2)"},"budgetMth12":{"type":"number","nullable":true,"description":"Budget Month 12 (SDO BUDGET_MTH12; Optional; precision 2)"},"budgetMth2":{"type":"number","nullable":true,"description":"Budget Month 2 (SDO BUDGET_MTH2; Optional; precision 2)"},"budgetMth3":{"type":"number","nullable":true,"description":"Budget Month 3 (SDO BUDGET_MTH3; Optional; precision 2)"},"budgetMth4":{"type":"number","nullable":true,"description":"Budget Month 4 (SDO BUDGET_MTH4; Optional; precision 2)"},"budgetMth5":{"type":"number","nullable":true,"description":"Budget Month 5 (SDO BUDGET_MTH5; Optional; precision 2)"},"budgetMth6":{"type":"number","nullable":true,"description":"Budget Month 6 (SDO BUDGET_MTH6; Optional; precision 2)"},"budgetMth7":{"type":"number","nullable":true,"description":"Budget Month 7 (SDO BUDGET_MTH7; Optional; precision 2)"},"budgetMth8":{"type":"number","nullable":true,"description":"Budget Month 8 (SDO BUDGET_MTH8; Optional; precision 2)"},"budgetMth9":{"type":"number","nullable":true,"description":"Budget Month 9 (SDO BUDGET_MTH9; Optional; precision 2)"},"creditBf":{"type":"number","nullable":true,"description":"Credit Brought Forward (SDO CREDIT_BF; Optional; precision 2)"},"creditFuture":{"type":"number","nullable":true,"description":"Credit for Future (SDO CREDIT_FUTURE; Optional; precision 2)"},"creditMth1":{"type":"number","nullable":true,"description":"Credit Month 1 (SDO CREDIT_MTH1; Optional; precision 2)"},"creditMth10":{"type":"number","nullable":true,"description":"Credit Month 10 (SDO CREDIT_MTH10; Optional; precision 2)"},"creditMth11":{"type":"number","nullable":true,"description":"Credit Month 11 (SDO CREDIT_MTH11; Optional; precision 2)"},"creditMth12":{"type":"number","nullable":true,"description":"Credit Month 12 (SDO CREDIT_MTH12; Optional; precision 2)"},"creditMth2":{"type":"number","nullable":true,"description":"Credit Month 2 (SDO CREDIT_MTH2; Optional; precision 2)"},"creditMth3":{"type":"number","nullable":true,"description":"Credit Month 3 (SDO CREDIT_MTH3; Optional; precision 2)"},"creditMth4":{"type":"number","nullable":true,"description":"Credit Month 4 (SDO CREDIT_MTH4; Optional; precision 2)"},"creditMth5":{"type":"number","nullable":true,"description":"Credit Month 5 (SDO CREDIT_MTH5; Optional; precision 2)"},"creditMth6":{"type":"number","nullable":true,"description":"Credit Month 6 (SDO CREDIT_MTH6; Optional; precision 2)"},"creditMth7":{"type":"number","nullable":true,"description":"Credit Month 7 (SDO CREDIT_MTH7; Optional; precision 2)"},"creditMth8":{"type":"number","nullable":true,"description":"Credit Month 8 (SDO CREDIT_MTH8; Optional; precision 2)"},"creditMth9":{"type":"number","nullable":true,"description":"Credit Month 9 (SDO CREDIT_MTH9; Optional; precision 2)"},"debitBf":{"type":"number","nullable":true,"description":"Debit Brought Forward (SDO DEBIT_BF; Optional; precision 2)"},"debitFuture":{"type":"number","nullable":true,"description":"Debit for Future (SDO DEBIT_FUTURE; Optional; precision 2)"},"debitMth1":{"type":"number","nullable":true,"description":"Debit Month 1 (SDO DEBIT_MTH1; Optional; precision 2)"},"debitMth10":{"type":"number","nullable":true,"description":"Debit Month 10 (SDO DEBIT_MTH10; Optional; precision 2)"},"debitMth11":{"type":"number","nullable":true,"description":"Debit Month 11 (SDO DEBIT_MTH11; Optional; precision 2)"},"debitMth12":{"type":"number","nullable":true,"description":"Debit Month 12 (SDO DEBIT_MTH12; Optional; precision 2)"},"debitMth2":{"type":"number","nullable":true,"description":"Debit Month 2 (SDO DEBIT_MTH2; Optional; precision 2)"},"debitMth3":{"type":"number","nullable":true,"description":"Debit Month 3 (SDO DEBIT_MTH3; Optional; precision 2)"},"debitMth4":{"type":"number","nullable":true,"description":"Debit Month 4 (SDO DEBIT_MTH4; Optional; precision 2)"},"debitMth5":{"type":"number","nullable":true,"description":"Debit Month 5 (SDO DEBIT_MTH5; Optional; precision 2)"},"debitMth6":{"type":"number","nullable":true,"description":"Debit Month 6 (SDO DEBIT_MTH6; Optional; precision 2)"},"debitMth7":{"type":"number","nullable":true,"description":"Debit Month 7 (SDO DEBIT_MTH7; Optional; precision 2)"},"debitMth8":{"type":"number","nullable":true,"description":"Debit Month 8 (SDO DEBIT_MTH8; Optional; precision 2)"},"debitMth9":{"type":"number","nullable":true,"description":"Debit Month 9 (SDO DEBIT_MTH9; Optional; precision 2)"},"deletedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Is Deleted (SDO DELETED_FLAG; Optional; precision 0)"},"externalUsage":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Number of External Usages (SDO EXTERNAL_USAGE; Optional; precision 0)"},"firstSplit":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"First (SDO FIRST_SPLIT; Optional; precision 0)"},"inactiveFlag":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Inactive Flag - Yes/No (SDO INACTIVE_FLAG; Optional; precision 0)"},"lastSplit":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Last (SDO LAST_SPLIT; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Name (SDO NAME; Optional; precision 0)"},"noOfSplit":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"No of splits (SDO NO_OF_SPLIT; Optional; precision 0)"},"priorYr2Mth1":{"type":"number","nullable":true,"description":"Prior Year 2 Month 1 (SDO PRIOR_YR2_MTH1; Optional; precision 2)"},"priorYr2Mth10":{"type":"number","nullable":true,"description":"Prior Year 2 Month 10 (SDO PRIOR_YR2_MTH10; Optional; precision 2)"},"priorYr2Mth11":{"type":"number","nullable":true,"description":"Prior Year 2 Month 11 (SDO PRIOR_YR2_MTH11; Optional; precision 2)"},"priorYr2Mth12":{"type":"number","nullable":true,"description":"Prior Year 2 Month 12 (SDO PRIOR_YR2_MTH12; Optional; precision 2)"},"priorYr2Mth2":{"type":"number","nullable":true,"description":"Prior Year 2 Month 2 (SDO PRIOR_YR2_MTH2; Optional; precision 2)"},"priorYr2Mth3":{"type":"number","nullable":true,"description":"Prior Year 2 Month 3 (SDO PRIOR_YR2_MTH3; Optional; precision 2)"},"priorYr2Mth4":{"type":"number","nullable":true,"description":"Prior Year 2 Month 4 (SDO PRIOR_YR2_MTH4; Optional; precision 2)"},"priorYr2Mth5":{"type":"number","nullable":true,"description":"Prior Year 2 Month 5 (SDO PRIOR_YR2_MTH5; Optional; precision 2)"},"priorYr2Mth6":{"type":"number","nullable":true,"description":"Prior Year 2 Month 6 (SDO PRIOR_YR2_MTH6; Optional; precision 2)"},"priorYr2Mth7":{"type":"number","nullable":true,"description":"Prior Year 2 Month 7 (SDO PRIOR_YR2_MTH7; Optional; precision 2)"},"priorYr2Mth8":{"type":"number","nullable":true,"description":"Prior Year 2 Month 8 (SDO PRIOR_YR2_MTH8; Optional; precision 2)"},"priorYr2Mth9":{"type":"number","nullable":true,"description":"Prior Year 2 Month 9 (SDO PRIOR_YR2_MTH9; Optional; precision 2)"},"priorYr3Mth1":{"type":"number","nullable":true,"description":"Prior Year 3 Month 1 (SDO PRIOR_YR3_MTH1; Optional; precision 2)"},"priorYr3Mth10":{"type":"number","nullable":true,"description":"Prior Year 3 Month 10 (SDO PRIOR_YR3_MTH10; Optional; precision 2)"},"priorYr3Mth11":{"type":"number","nullable":true,"description":"Prior Year 3 Month 11 (SDO PRIOR_YR3_MTH11; Optional; precision 2)"},"priorYr3Mth12":{"type":"number","nullable":true,"description":"Prior Year 3 Month 12 (SDO PRIOR_YR3_MTH12; Optional; precision 2)"},"priorYr3Mth2":{"type":"number","nullable":true,"description":"Prior Year 3 Month 2 (SDO PRIOR_YR3_MTH2; Optional; precision 2)"},"priorYr3Mth3":{"type":"number","nullable":true,"description":"Prior Year 3 Month 3 (SDO PRIOR_YR3_MTH3; Optional; precision 2)"},"priorYr3Mth4":{"type":"number","nullable":true,"description":"Prior Year 3 Month 4 (SDO PRIOR_YR3_MTH4; Optional; precision 2)"},"priorYr3Mth5":{"type":"number","nullable":true,"description":"Prior Year 3 Month 5 (SDO PRIOR_YR3_MTH5; Optional; precision 2)"},"priorYr3Mth6":{"type":"number","nullable":true,"description":"Prior Year 3 Month 6 (SDO PRIOR_YR3_MTH6; Optional; precision 2)"},"priorYr3Mth7":{"type":"number","nullable":true,"description":"Prior Year 3 Month 7 (SDO PRIOR_YR3_MTH7; Optional; precision 2)"},"priorYr3Mth8":{"type":"number","nullable":true,"description":"Prior Year 3 Month 8 (SDO PRIOR_YR3_MTH8; Optional; precision 2)"},"priorYr3Mth9":{"type":"number","nullable":true,"description":"Prior Year 3 Month 9 (SDO PRIOR_YR3_MTH9; Optional; precision 2)"},"priorYr4Mth1":{"type":"number","nullable":true,"description":"Prior Year 4 Month 1 (SDO PRIOR_YR4_MTH1; Optional; precision 2)"},"priorYr4Mth10":{"type":"number","nullable":true,"description":"Prior Year 4 Month 10 (SDO PRIOR_YR4_MTH10; Optional; precision 2)"},"priorYr4Mth11":{"type":"number","nullable":true,"description":"Prior Year 4 Month 11 (SDO PRIOR_YR4_MTH11; Optional; precision 2)"},"priorYr4Mth12":{"type":"number","nullable":true,"description":"Prior Year 4 Month 12 (SDO PRIOR_YR4_MTH12; Optional; precision 2)"},"priorYr4Mth2":{"type":"number","nullable":true,"description":"Prior Year 4 Month 2 (SDO PRIOR_YR4_MTH2; Optional; precision 2)"},"priorYr4Mth3":{"type":"number","nullable":true,"description":"Prior Year 4 Month 3 (SDO PRIOR_YR4_MTH3; Optional; precision 2)"},"priorYr4Mth4":{"type":"number","nullable":true,"description":"Prior Year 4 Month 4 (SDO PRIOR_YR4_MTH4; Optional; precision 2)"},"priorYr4Mth5":{"type":"number","nullable":true,"description":"Prior Year 4 Month 5 (SDO PRIOR_YR4_MTH5; Optional; precision 2)"},"priorYr4Mth6":{"type":"number","nullable":true,"description":"Prior Year 4 Month 6 (SDO PRIOR_YR4_MTH6; Optional; precision 2)"},"priorYr4Mth7":{"type":"number","nullable":true,"description":"Prior Year 4 Month 7 (SDO PRIOR_YR4_MTH7; Optional; precision 2)"},"priorYr4Mth8":{"type":"number","nullable":true,"description":"Prior Year 4 Month 8 (SDO PRIOR_YR4_MTH8; Optional; precision 2)"},"priorYr4Mth9":{"type":"number","nullable":true,"description":"Prior Year 4 Month 9 (SDO PRIOR_YR4_MTH9; Optional; precision 2)"},"priorYr5Mth1":{"type":"number","nullable":true,"description":"Prior Year 5 Month 1 (SDO PRIOR_YR5_MTH1; Optional; precision 2)"},"priorYr5Mth10":{"type":"number","nullable":true,"description":"Prior Year 5 Month 10 (SDO PRIOR_YR5_MTH10; Optional; precision 2)"},"priorYr5Mth11":{"type":"number","nullable":true,"description":"Prior Year 5 Month 11 (SDO PRIOR_YR5_MTH11; Optional; precision 2)"},"priorYr5Mth12":{"type":"number","nullable":true,"description":"Prior Year 5 Month 12 (SDO PRIOR_YR5_MTH12; Optional; precision 2)"},"priorYr5Mth2":{"type":"number","nullable":true,"description":"Prior Year 5 Month 2 (SDO PRIOR_YR5_MTH2; Optional; precision 2)"},"priorYr5Mth3":{"type":"number","nullable":true,"description":"Prior Year 5 Month 3 (SDO PRIOR_YR5_MTH3; Optional; precision 2)"},"priorYr5Mth4":{"type":"number","nullable":true,"description":"Prior Year 5 Month 4 (SDO PRIOR_YR5_MTH4; Optional; precision 2)"},"priorYr5Mth5":{"type":"number","nullable":true,"description":"Prior Year 5 Month 5 (SDO PRIOR_YR5_MTH5; Optional; precision 2)"},"priorYr5Mth6":{"type":"number","nullable":true,"description":"Prior Year 5 Month 6 (SDO PRIOR_YR5_MTH6; Optional; precision 2)"},"priorYr5Mth7":{"type":"number","nullable":true,"description":"Prior Year 5 Month 7 (SDO PRIOR_YR5_MTH7; Optional; precision 2)"},"priorYr5Mth8":{"type":"number","nullable":true,"description":"Prior Year 5 Month 8 (SDO PRIOR_YR5_MTH8; Optional; precision 2)"},"priorYr5Mth9":{"type":"number","nullable":true,"description":"Prior Year 5 Month 9 (SDO PRIOR_YR5_MTH9; Optional; precision 2)"},"priorYrMth1":{"type":"number","nullable":true,"description":"Prior Year 1 Month 1 (SDO PRIOR_YR_MTH1; Optional; precision 2)"},"priorYrMth10":{"type":"number","nullable":true,"description":"Prior Year 1 Month 10 (SDO PRIOR_YR_MTH10; Optional; precision 2)"},"priorYrMth11":{"type":"number","nullable":true,"description":"Prior Year 1 Month 11 (SDO PRIOR_YR_MTH11; Optional; precision 2)"},"priorYrMth12":{"type":"number","nullable":true,"description":"Prior Year 1 Month 12 (SDO PRIOR_YR_MTH12; Optional; precision 2)"},"priorYrMth2":{"type":"number","nullable":true,"description":"Prior Year 1 Month 2 (SDO PRIOR_YR_MTH2; Optional; precision 2)"},"priorYrMth3":{"type":"number","nullable":true,"description":"Prior Year 1 Month 3 (SDO PRIOR_YR_MTH3; Optional; precision 2)"},"priorYrMth4":{"type":"number","nullable":true,"description":"Prior Year 1 Month 4 (SDO PRIOR_YR_MTH4; Optional; precision 2)"},"priorYrMth5":{"type":"number","nullable":true,"description":"Prior Year 1 Month 5 (SDO PRIOR_YR_MTH5; Optional; precision 2)"},"priorYrMth6":{"type":"number","nullable":true,"description":"Prior Year 1 Month 6 (SDO PRIOR_YR_MTH6; Optional; precision 2)"},"priorYrMth7":{"type":"number","nullable":true,"description":"Prior Year 1 Month 7 (SDO PRIOR_YR_MTH7; Optional; precision 2)"},"priorYrMth8":{"type":"number","nullable":true,"description":"Prior Year 1 Month 8 (SDO PRIOR_YR_MTH8; Optional; precision 2)"},"priorYrMth9":{"type":"number","nullable":true,"description":"Prior Year 1 Month 9 (SDO PRIOR_YR_MTH9; Optional; precision 2)"},"quickRatioFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Quick ratio account flag (SDO QUICK_RATIO_FLAG; Optional; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"id":{"type":"string"}},"required":["accountRef","accountType","auditRef","balance","balanceBf","balanceFuture","balanceMth1","balanceMth10","balanceMth11","balanceMth12","balanceMth2","balanceMth3","balanceMth4","balanceMth5","balanceMth6","balanceMth7","balanceMth8","balanceMth9","budgetMth1","budgetMth10","budgetMth11","budgetMth12","budgetMth2","budgetMth3","budgetMth4","budgetMth5","budgetMth6","budgetMth7","budgetMth8","budgetMth9","creditBf","creditFuture","creditMth1","creditMth10","creditMth11","creditMth12","creditMth2","creditMth3","creditMth4","creditMth5","creditMth6","creditMth7","creditMth8","creditMth9","debitBf","debitFuture","debitMth1","debitMth10","debitMth11","debitMth12","debitMth2","debitMth3","debitMth4","debitMth5","debitMth6","debitMth7","debitMth8","debitMth9","deletedFlag","externalUsage","firstSplit","inactiveFlag","lastSplit","name","noOfSplit","priorYr2Mth1","priorYr2Mth10","priorYr2Mth11","priorYr2Mth12","priorYr2Mth2","priorYr2Mth3","priorYr2Mth4","priorYr2Mth5","priorYr2Mth6","priorYr2Mth7","priorYr2Mth8","priorYr2Mth9","priorYr3Mth1","priorYr3Mth10","priorYr3Mth11","priorYr3Mth12","priorYr3Mth2","priorYr3Mth3","priorYr3Mth4","priorYr3Mth5","priorYr3Mth6","priorYr3Mth7","priorYr3Mth8","priorYr3Mth9","priorYr4Mth1","priorYr4Mth10","priorYr4Mth11","priorYr4Mth12","priorYr4Mth2","priorYr4Mth3","priorYr4Mth4","priorYr4Mth5","priorYr4Mth6","priorYr4Mth7","priorYr4Mth8","priorYr4Mth9","priorYr5Mth1","priorYr5Mth10","priorYr5Mth11","priorYr5Mth12","priorYr5Mth2","priorYr5Mth3","priorYr5Mth4","priorYr5Mth5","priorYr5Mth6","priorYr5Mth7","priorYr5Mth8","priorYr5Mth9","priorYrMth1","priorYrMth10","priorYrMth11","priorYrMth12","priorYrMth2","priorYrMth3","priorYrMth4","priorYrMth5","priorYrMth6","priorYrMth7","priorYrMth8","priorYrMth9","quickRatioFlag","recordCreateDate","recordDeleted","recordModifyDate","id"],"additionalProperties":false},"Uk34_1_accounts_get":{"type":"object","properties":{"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Account Code (SDO ACCOUNT_REF; Required; precision 0)"},"accountType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Account Type Code (SDO ACCOUNT_TYPE; Optional; precision 0)"},"auditRef":{"type":"string","nullable":true,"maxLength":20,"description":"Incomplete records reference (SDO AUDIT_REF; Optional; precision 0)"},"balance":{"type":"number","nullable":true,"description":"Balance (SDO BALANCE; Optional; precision 2)"},"balanceBf":{"type":"number","nullable":true,"description":"Balance Brought forward (SDO BALANCE_BF; Optional; precision 2)"},"balanceFuture":{"type":"number","nullable":true,"description":"Balance for Future (SDO BALANCE_FUTURE; Optional; precision 2)"},"balanceMth1":{"type":"number","nullable":true,"description":"Balance Month 1 (SDO BALANCE_MTH1; Optional; precision 2)"},"balanceMth10":{"type":"number","nullable":true,"description":"Balance Month 10 (SDO BALANCE_MTH10; Optional; precision 2)"},"balanceMth11":{"type":"number","nullable":true,"description":"Balance Month 11 (SDO BALANCE_MTH11; Optional; precision 2)"},"balanceMth12":{"type":"number","nullable":true,"description":"Balance Month 12 (SDO BALANCE_MTH12; Optional; precision 2)"},"balanceMth2":{"type":"number","nullable":true,"description":"Balance Month 2 (SDO BALANCE_MTH2; Optional; precision 2)"},"balanceMth3":{"type":"number","nullable":true,"description":"Balance Month 3 (SDO BALANCE_MTH3; Optional; precision 2)"},"balanceMth4":{"type":"number","nullable":true,"description":"Balance Month 4 (SDO BALANCE_MTH4; Optional; precision 2)"},"balanceMth5":{"type":"number","nullable":true,"description":"Balance Month 5 (SDO BALANCE_MTH5; Optional; precision 2)"},"balanceMth6":{"type":"number","nullable":true,"description":"Balance Month 6 (SDO BALANCE_MTH6; Optional; precision 2)"},"balanceMth7":{"type":"number","nullable":true,"description":"Balance Month 7 (SDO BALANCE_MTH7; Optional; precision 2)"},"balanceMth8":{"type":"number","nullable":true,"description":"Balance Month 8 (SDO BALANCE_MTH8; Optional; precision 2)"},"balanceMth9":{"type":"number","nullable":true,"description":"Balance Month 9 (SDO BALANCE_MTH9; Optional; precision 2)"},"budgetMth1":{"type":"number","nullable":true,"description":"Budget Month 1 (SDO BUDGET_MTH1; Optional; precision 2)"},"budgetMth10":{"type":"number","nullable":true,"description":"Budget Month 10 (SDO BUDGET_MTH10; Optional; precision 2)"},"budgetMth11":{"type":"number","nullable":true,"description":"Budget Month 11 (SDO BUDGET_MTH11; Optional; precision 2)"},"budgetMth12":{"type":"number","nullable":true,"description":"Budget Month 12 (SDO BUDGET_MTH12; Optional; precision 2)"},"budgetMth2":{"type":"number","nullable":true,"description":"Budget Month 2 (SDO BUDGET_MTH2; Optional; precision 2)"},"budgetMth3":{"type":"number","nullable":true,"description":"Budget Month 3 (SDO BUDGET_MTH3; Optional; precision 2)"},"budgetMth4":{"type":"number","nullable":true,"description":"Budget Month 4 (SDO BUDGET_MTH4; Optional; precision 2)"},"budgetMth5":{"type":"number","nullable":true,"description":"Budget Month 5 (SDO BUDGET_MTH5; Optional; precision 2)"},"budgetMth6":{"type":"number","nullable":true,"description":"Budget Month 6 (SDO BUDGET_MTH6; Optional; precision 2)"},"budgetMth7":{"type":"number","nullable":true,"description":"Budget Month 7 (SDO BUDGET_MTH7; Optional; precision 2)"},"budgetMth8":{"type":"number","nullable":true,"description":"Budget Month 8 (SDO BUDGET_MTH8; Optional; precision 2)"},"budgetMth9":{"type":"number","nullable":true,"description":"Budget Month 9 (SDO BUDGET_MTH9; Optional; precision 2)"},"creditBf":{"type":"number","nullable":true,"description":"Credit Brought Forward (SDO CREDIT_BF; Optional; precision 2)"},"creditFuture":{"type":"number","nullable":true,"description":"Credit for Future (SDO CREDIT_FUTURE; Optional; precision 2)"},"creditMth1":{"type":"number","nullable":true,"description":"Credit Month 1 (SDO CREDIT_MTH1; Optional; precision 2)"},"creditMth10":{"type":"number","nullable":true,"description":"Credit Month 10 (SDO CREDIT_MTH10; Optional; precision 2)"},"creditMth11":{"type":"number","nullable":true,"description":"Credit Month 11 (SDO CREDIT_MTH11; Optional; precision 2)"},"creditMth12":{"type":"number","nullable":true,"description":"Credit Month 12 (SDO CREDIT_MTH12; Optional; precision 2)"},"creditMth2":{"type":"number","nullable":true,"description":"Credit Month 2 (SDO CREDIT_MTH2; Optional; precision 2)"},"creditMth3":{"type":"number","nullable":true,"description":"Credit Month 3 (SDO CREDIT_MTH3; Optional; precision 2)"},"creditMth4":{"type":"number","nullable":true,"description":"Credit Month 4 (SDO CREDIT_MTH4; Optional; precision 2)"},"creditMth5":{"type":"number","nullable":true,"description":"Credit Month 5 (SDO CREDIT_MTH5; Optional; precision 2)"},"creditMth6":{"type":"number","nullable":true,"description":"Credit Month 6 (SDO CREDIT_MTH6; Optional; precision 2)"},"creditMth7":{"type":"number","nullable":true,"description":"Credit Month 7 (SDO CREDIT_MTH7; Optional; precision 2)"},"creditMth8":{"type":"number","nullable":true,"description":"Credit Month 8 (SDO CREDIT_MTH8; Optional; precision 2)"},"creditMth9":{"type":"number","nullable":true,"description":"Credit Month 9 (SDO CREDIT_MTH9; Optional; precision 2)"},"debitBf":{"type":"number","nullable":true,"description":"Debit Brought Forward (SDO DEBIT_BF; Optional; precision 2)"},"debitFuture":{"type":"number","nullable":true,"description":"Debit for Future (SDO DEBIT_FUTURE; Optional; precision 2)"},"debitMth1":{"type":"number","nullable":true,"description":"Debit Month 1 (SDO DEBIT_MTH1; Optional; precision 2)"},"debitMth10":{"type":"number","nullable":true,"description":"Debit Month 10 (SDO DEBIT_MTH10; Optional; precision 2)"},"debitMth11":{"type":"number","nullable":true,"description":"Debit Month 11 (SDO DEBIT_MTH11; Optional; precision 2)"},"debitMth12":{"type":"number","nullable":true,"description":"Debit Month 12 (SDO DEBIT_MTH12; Optional; precision 2)"},"debitMth2":{"type":"number","nullable":true,"description":"Debit Month 2 (SDO DEBIT_MTH2; Optional; precision 2)"},"debitMth3":{"type":"number","nullable":true,"description":"Debit Month 3 (SDO DEBIT_MTH3; Optional; precision 2)"},"debitMth4":{"type":"number","nullable":true,"description":"Debit Month 4 (SDO DEBIT_MTH4; Optional; precision 2)"},"debitMth5":{"type":"number","nullable":true,"description":"Debit Month 5 (SDO DEBIT_MTH5; Optional; precision 2)"},"debitMth6":{"type":"number","nullable":true,"description":"Debit Month 6 (SDO DEBIT_MTH6; Optional; precision 2)"},"debitMth7":{"type":"number","nullable":true,"description":"Debit Month 7 (SDO DEBIT_MTH7; Optional; precision 2)"},"debitMth8":{"type":"number","nullable":true,"description":"Debit Month 8 (SDO DEBIT_MTH8; Optional; precision 2)"},"debitMth9":{"type":"number","nullable":true,"description":"Debit Month 9 (SDO DEBIT_MTH9; Optional; precision 2)"},"deletedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Is Deleted (SDO DELETED_FLAG; Optional; precision 0)"},"externalUsage":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Number of External Usages (SDO EXTERNAL_USAGE; Optional; precision 0)"},"firstSplit":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"First (SDO FIRST_SPLIT; Optional; precision 0)"},"inactiveFlag":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Inactive Flag - Yes/No (SDO INACTIVE_FLAG; Optional; precision 0)"},"lastSplit":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Last (SDO LAST_SPLIT; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Name (SDO NAME; Optional; precision 0)"},"noOfSplit":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"No of splits (SDO NO_OF_SPLIT; Optional; precision 0)"},"priorYr2Mth1":{"type":"number","nullable":true,"description":"Prior Year 2 Month 1 (SDO PRIOR_YR2_MTH1; Optional; precision 2)"},"priorYr2Mth10":{"type":"number","nullable":true,"description":"Prior Year 2 Month 10 (SDO PRIOR_YR2_MTH10; Optional; precision 2)"},"priorYr2Mth11":{"type":"number","nullable":true,"description":"Prior Year 2 Month 11 (SDO PRIOR_YR2_MTH11; Optional; precision 2)"},"priorYr2Mth12":{"type":"number","nullable":true,"description":"Prior Year 2 Month 12 (SDO PRIOR_YR2_MTH12; Optional; precision 2)"},"priorYr2Mth2":{"type":"number","nullable":true,"description":"Prior Year 2 Month 2 (SDO PRIOR_YR2_MTH2; Optional; precision 2)"},"priorYr2Mth3":{"type":"number","nullable":true,"description":"Prior Year 2 Month 3 (SDO PRIOR_YR2_MTH3; Optional; precision 2)"},"priorYr2Mth4":{"type":"number","nullable":true,"description":"Prior Year 2 Month 4 (SDO PRIOR_YR2_MTH4; Optional; precision 2)"},"priorYr2Mth5":{"type":"number","nullable":true,"description":"Prior Year 2 Month 5 (SDO PRIOR_YR2_MTH5; Optional; precision 2)"},"priorYr2Mth6":{"type":"number","nullable":true,"description":"Prior Year 2 Month 6 (SDO PRIOR_YR2_MTH6; Optional; precision 2)"},"priorYr2Mth7":{"type":"number","nullable":true,"description":"Prior Year 2 Month 7 (SDO PRIOR_YR2_MTH7; Optional; precision 2)"},"priorYr2Mth8":{"type":"number","nullable":true,"description":"Prior Year 2 Month 8 (SDO PRIOR_YR2_MTH8; Optional; precision 2)"},"priorYr2Mth9":{"type":"number","nullable":true,"description":"Prior Year 2 Month 9 (SDO PRIOR_YR2_MTH9; Optional; precision 2)"},"priorYr3Mth1":{"type":"number","nullable":true,"description":"Prior Year 3 Month 1 (SDO PRIOR_YR3_MTH1; Optional; precision 2)"},"priorYr3Mth10":{"type":"number","nullable":true,"description":"Prior Year 3 Month 10 (SDO PRIOR_YR3_MTH10; Optional; precision 2)"},"priorYr3Mth11":{"type":"number","nullable":true,"description":"Prior Year 3 Month 11 (SDO PRIOR_YR3_MTH11; Optional; precision 2)"},"priorYr3Mth12":{"type":"number","nullable":true,"description":"Prior Year 3 Month 12 (SDO PRIOR_YR3_MTH12; Optional; precision 2)"},"priorYr3Mth2":{"type":"number","nullable":true,"description":"Prior Year 3 Month 2 (SDO PRIOR_YR3_MTH2; Optional; precision 2)"},"priorYr3Mth3":{"type":"number","nullable":true,"description":"Prior Year 3 Month 3 (SDO PRIOR_YR3_MTH3; Optional; precision 2)"},"priorYr3Mth4":{"type":"number","nullable":true,"description":"Prior Year 3 Month 4 (SDO PRIOR_YR3_MTH4; Optional; precision 2)"},"priorYr3Mth5":{"type":"number","nullable":true,"description":"Prior Year 3 Month 5 (SDO PRIOR_YR3_MTH5; Optional; precision 2)"},"priorYr3Mth6":{"type":"number","nullable":true,"description":"Prior Year 3 Month 6 (SDO PRIOR_YR3_MTH6; Optional; precision 2)"},"priorYr3Mth7":{"type":"number","nullable":true,"description":"Prior Year 3 Month 7 (SDO PRIOR_YR3_MTH7; Optional; precision 2)"},"priorYr3Mth8":{"type":"number","nullable":true,"description":"Prior Year 3 Month 8 (SDO PRIOR_YR3_MTH8; Optional; precision 2)"},"priorYr3Mth9":{"type":"number","nullable":true,"description":"Prior Year 3 Month 9 (SDO PRIOR_YR3_MTH9; Optional; precision 2)"},"priorYr4Mth1":{"type":"number","nullable":true,"description":"Prior Year 4 Month 1 (SDO PRIOR_YR4_MTH1; Optional; precision 2)"},"priorYr4Mth10":{"type":"number","nullable":true,"description":"Prior Year 4 Month 10 (SDO PRIOR_YR4_MTH10; Optional; precision 2)"},"priorYr4Mth11":{"type":"number","nullable":true,"description":"Prior Year 4 Month 11 (SDO PRIOR_YR4_MTH11; Optional; precision 2)"},"priorYr4Mth12":{"type":"number","nullable":true,"description":"Prior Year 4 Month 12 (SDO PRIOR_YR4_MTH12; Optional; precision 2)"},"priorYr4Mth2":{"type":"number","nullable":true,"description":"Prior Year 4 Month 2 (SDO PRIOR_YR4_MTH2; Optional; precision 2)"},"priorYr4Mth3":{"type":"number","nullable":true,"description":"Prior Year 4 Month 3 (SDO PRIOR_YR4_MTH3; Optional; precision 2)"},"priorYr4Mth4":{"type":"number","nullable":true,"description":"Prior Year 4 Month 4 (SDO PRIOR_YR4_MTH4; Optional; precision 2)"},"priorYr4Mth5":{"type":"number","nullable":true,"description":"Prior Year 4 Month 5 (SDO PRIOR_YR4_MTH5; Optional; precision 2)"},"priorYr4Mth6":{"type":"number","nullable":true,"description":"Prior Year 4 Month 6 (SDO PRIOR_YR4_MTH6; Optional; precision 2)"},"priorYr4Mth7":{"type":"number","nullable":true,"description":"Prior Year 4 Month 7 (SDO PRIOR_YR4_MTH7; Optional; precision 2)"},"priorYr4Mth8":{"type":"number","nullable":true,"description":"Prior Year 4 Month 8 (SDO PRIOR_YR4_MTH8; Optional; precision 2)"},"priorYr4Mth9":{"type":"number","nullable":true,"description":"Prior Year 4 Month 9 (SDO PRIOR_YR4_MTH9; Optional; precision 2)"},"priorYr5Mth1":{"type":"number","nullable":true,"description":"Prior Year 5 Month 1 (SDO PRIOR_YR5_MTH1; Optional; precision 2)"},"priorYr5Mth10":{"type":"number","nullable":true,"description":"Prior Year 5 Month 10 (SDO PRIOR_YR5_MTH10; Optional; precision 2)"},"priorYr5Mth11":{"type":"number","nullable":true,"description":"Prior Year 5 Month 11 (SDO PRIOR_YR5_MTH11; Optional; precision 2)"},"priorYr5Mth12":{"type":"number","nullable":true,"description":"Prior Year 5 Month 12 (SDO PRIOR_YR5_MTH12; Optional; precision 2)"},"priorYr5Mth2":{"type":"number","nullable":true,"description":"Prior Year 5 Month 2 (SDO PRIOR_YR5_MTH2; Optional; precision 2)"},"priorYr5Mth3":{"type":"number","nullable":true,"description":"Prior Year 5 Month 3 (SDO PRIOR_YR5_MTH3; Optional; precision 2)"},"priorYr5Mth4":{"type":"number","nullable":true,"description":"Prior Year 5 Month 4 (SDO PRIOR_YR5_MTH4; Optional; precision 2)"},"priorYr5Mth5":{"type":"number","nullable":true,"description":"Prior Year 5 Month 5 (SDO PRIOR_YR5_MTH5; Optional; precision 2)"},"priorYr5Mth6":{"type":"number","nullable":true,"description":"Prior Year 5 Month 6 (SDO PRIOR_YR5_MTH6; Optional; precision 2)"},"priorYr5Mth7":{"type":"number","nullable":true,"description":"Prior Year 5 Month 7 (SDO PRIOR_YR5_MTH7; Optional; precision 2)"},"priorYr5Mth8":{"type":"number","nullable":true,"description":"Prior Year 5 Month 8 (SDO PRIOR_YR5_MTH8; Optional; precision 2)"},"priorYr5Mth9":{"type":"number","nullable":true,"description":"Prior Year 5 Month 9 (SDO PRIOR_YR5_MTH9; Optional; precision 2)"},"priorYrMth1":{"type":"number","nullable":true,"description":"Prior Year 1 Month 1 (SDO PRIOR_YR_MTH1; Optional; precision 2)"},"priorYrMth10":{"type":"number","nullable":true,"description":"Prior Year 1 Month 10 (SDO PRIOR_YR_MTH10; Optional; precision 2)"},"priorYrMth11":{"type":"number","nullable":true,"description":"Prior Year 1 Month 11 (SDO PRIOR_YR_MTH11; Optional; precision 2)"},"priorYrMth12":{"type":"number","nullable":true,"description":"Prior Year 1 Month 12 (SDO PRIOR_YR_MTH12; Optional; precision 2)"},"priorYrMth2":{"type":"number","nullable":true,"description":"Prior Year 1 Month 2 (SDO PRIOR_YR_MTH2; Optional; precision 2)"},"priorYrMth3":{"type":"number","nullable":true,"description":"Prior Year 1 Month 3 (SDO PRIOR_YR_MTH3; Optional; precision 2)"},"priorYrMth4":{"type":"number","nullable":true,"description":"Prior Year 1 Month 4 (SDO PRIOR_YR_MTH4; Optional; precision 2)"},"priorYrMth5":{"type":"number","nullable":true,"description":"Prior Year 1 Month 5 (SDO PRIOR_YR_MTH5; Optional; precision 2)"},"priorYrMth6":{"type":"number","nullable":true,"description":"Prior Year 1 Month 6 (SDO PRIOR_YR_MTH6; Optional; precision 2)"},"priorYrMth7":{"type":"number","nullable":true,"description":"Prior Year 1 Month 7 (SDO PRIOR_YR_MTH7; Optional; precision 2)"},"priorYrMth8":{"type":"number","nullable":true,"description":"Prior Year 1 Month 8 (SDO PRIOR_YR_MTH8; Optional; precision 2)"},"priorYrMth9":{"type":"number","nullable":true,"description":"Prior Year 1 Month 9 (SDO PRIOR_YR_MTH9; Optional; precision 2)"},"quickRatioFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Quick ratio account flag (SDO QUICK_RATIO_FLAG; Optional; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"id":{"type":"string"}},"required":["accountRef","accountType","auditRef","balance","balanceBf","balanceFuture","balanceMth1","balanceMth10","balanceMth11","balanceMth12","balanceMth2","balanceMth3","balanceMth4","balanceMth5","balanceMth6","balanceMth7","balanceMth8","balanceMth9","budgetMth1","budgetMth10","budgetMth11","budgetMth12","budgetMth2","budgetMth3","budgetMth4","budgetMth5","budgetMth6","budgetMth7","budgetMth8","budgetMth9","creditBf","creditFuture","creditMth1","creditMth10","creditMth11","creditMth12","creditMth2","creditMth3","creditMth4","creditMth5","creditMth6","creditMth7","creditMth8","creditMth9","debitBf","debitFuture","debitMth1","debitMth10","debitMth11","debitMth12","debitMth2","debitMth3","debitMth4","debitMth5","debitMth6","debitMth7","debitMth8","debitMth9","deletedFlag","externalUsage","firstSplit","inactiveFlag","lastSplit","name","noOfSplit","priorYr2Mth1","priorYr2Mth10","priorYr2Mth11","priorYr2Mth12","priorYr2Mth2","priorYr2Mth3","priorYr2Mth4","priorYr2Mth5","priorYr2Mth6","priorYr2Mth7","priorYr2Mth8","priorYr2Mth9","priorYr3Mth1","priorYr3Mth10","priorYr3Mth11","priorYr3Mth12","priorYr3Mth2","priorYr3Mth3","priorYr3Mth4","priorYr3Mth5","priorYr3Mth6","priorYr3Mth7","priorYr3Mth8","priorYr3Mth9","priorYr4Mth1","priorYr4Mth10","priorYr4Mth11","priorYr4Mth12","priorYr4Mth2","priorYr4Mth3","priorYr4Mth4","priorYr4Mth5","priorYr4Mth6","priorYr4Mth7","priorYr4Mth8","priorYr4Mth9","priorYr5Mth1","priorYr5Mth10","priorYr5Mth11","priorYr5Mth12","priorYr5Mth2","priorYr5Mth3","priorYr5Mth4","priorYr5Mth5","priorYr5Mth6","priorYr5Mth7","priorYr5Mth8","priorYr5Mth9","priorYrMth1","priorYrMth10","priorYrMth11","priorYrMth12","priorYrMth2","priorYrMth3","priorYrMth4","priorYrMth5","priorYrMth6","priorYrMth7","priorYrMth8","priorYrMth9","quickRatioFlag","recordCreateDate","recordDeleted","recordModifyDate","id"],"additionalProperties":false},"Us2026_1_accounts_get":{"type":"object","properties":{"classification":{"type":"integer","enum":[6,0,16,14,12,17,5,15,2,7,4,10,11,8,9,1,3,13]},"description":{"type":"string","nullable":true,"maxLength":100000},"code":{"type":"string","nullable":true,"maxLength":100000},"isInactive":{"type":"boolean"},"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"Us2026_1_accounts_create":{"type":"object","properties":{"classification":{"type":"integer","enum":[6,0,16,14,12,17,5,15,2,7,4,10,11,8,9,1,3,13]},"description":{"type":"string","minLength":1,"maxLength":100000},"code":{"type":"string","minLength":1,"maxLength":100000},"isInactive":{"type":"boolean"}},"required":["classification","description","code"],"additionalProperties":false},"Us2026_1_accounts_update":{"type":"object","properties":{"classification":{"type":"integer","enum":[6,0,16,14,12,17,5,15,2,7,4,10,11,8,9,1,3,13]},"description":{"type":"string","nullable":true,"maxLength":100000},"isInactive":{"type":"boolean"}},"additionalProperties":false,"minProperties":1},"Uk26_3_bank_accounts_get":{"type":"object","properties":{"accountName":{"type":"string","nullable":true,"maxLength":60,"description":"Bank account name (SDO ACCOUNT_NAME; Optional; precision 0)"},"accountNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Bank account number (SDO ACCOUNT_NUMBER; Optional; precision 0)"},"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Account reference (SDO ACCOUNT_REF; Required; precision 0)"},"accountType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Account type (SDO ACCOUNT_TYPE; Optional; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Address line 1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Address line 2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Address line 3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Address line 4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Address line 5 (SDO ADDRESS_5; Optional; precision 0)"},"bacsReference":{"type":"string","nullable":true,"maxLength":60,"description":"Bank BACS Ref (SDO BACS_REFERENCE; Optional; precision 0)"},"bankBicswift":{"type":"string","nullable":true,"maxLength":60,"description":"Bank BIC/Swift Number (SDO BANK_BICSWIFT; Optional; precision 0)"},"bankChargesDefaultBankRef":{"type":"string","nullable":true,"maxLength":8,"description":"The default bank account for bank charges (SDO BANK_CHARGES_DEFAULT_BANK_REF; Optional; precision 0)"},"bankChargesDefaultDepartment":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"The default department for bank charges (SDO BANK_CHARGES_DEFAULT_DEPARTMENT; Optional; precision 0)"},"bankChargesDefaultNominalCode":{"type":"string","nullable":true,"maxLength":8,"description":"The default nominal code for bank charges (SDO BANK_CHARGES_DEFAULT_NOMINAL_CODE; Optional; precision 0)"},"bankChargesDefaultTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"The default tax code for bank charges (SDO BANK_CHARGES_DEFAULT_TAX_CODE; Optional; precision 0)"},"bankFeedsAccessToAccountantGranted":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Access To Accountant Granted (SDO BANK_FEEDS_ACCESS_TO_ACCOUNTANT_GRANTED; Optional; precision 0)"},"bankFeedsAccountId":{"type":"string","nullable":true,"maxLength":37,"description":"Bank Feeds Bank Account ID (SDO BANK_FEEDS_ACCOUNT_ID; Optional; precision 0)"},"bankFeedsEnabled":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Bank Feeds Enabled (SDO BANK_FEEDS_ENABLED; Optional; precision 0)"},"bankFeedsHasFailedRules":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Bank Feed has had failed rules (remote site notification) (SDO BANK_FEEDS_HAS_FAILED_RULES; Optional; precision 0)"},"bankFeedsLastTranId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Bank Last Transaction ID (SDO BANK_FEEDS_LAST_TRAN_ID; Optional; precision 0)"},"bankFeedsProviderType":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Bank Feeds Provider Type (SDO BANK_FEEDS_PROVIDER_TYPE; Optional; precision 0)"},"bankFeedsTransactionsAreReconciled":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Bank Transactions Are Posted Reconciled (SDO BANK_FEEDS_TRANSACTIONS_ARE_RECONCILED; Optional; precision 0)"},"bankIban":{"type":"string","nullable":true,"maxLength":60,"description":"Bank IBAN Number (SDO BANK_IBAN; Optional; precision 0)"},"bankRef":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Bank Reference Number (SDO BANK_REF; Optional; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Bank Contact Name (SDO CONTACT_NAME; Optional; precision 0)"},"currency":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency code (SDO CURRENCY; Optional; precision 0)"},"deletedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Is Deleted (SDO DELETED_FLAG; Optional; precision 0)"},"eMail":{"type":"string","nullable":true,"maxLength":255,"description":"Bank EMail Address (SDO E_MAIL; Optional; precision 0)"},"elecTrans":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Bank Accepts Electronic Transactions (SDO ELEC_TRANS; Optional; precision 0)"},"expiryDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Card expiry date (SDO EXPIRY_DATE; Optional; precision 0)"},"externalUsage":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Number of External Usages (SDO EXTERNAL_USAGE; Optional; precision 0)"},"fax":{"type":"string","nullable":true,"maxLength":30,"description":"Bank Fax Number (SDO FAX; Optional; precision 0)"},"firstSplit":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"First tran (SDO FIRST_SPLIT; Optional; precision 0)"},"foreignBalance":{"type":"number","nullable":true,"description":"Foreign Balance (SDO FOREIGN_BALANCE; Optional; precision 2)"},"inactiveFlag":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Inactive Flag - Yes/No (SDO INACTIVE_FLAG; Optional; precision 0)"},"lastRecBalance":{"type":"number","nullable":true,"description":"Balance at last reconciliation (SDO LAST_REC_BALANCE; Optional; precision 2)"},"lastRecDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date of last reconciliation (SDO LAST_REC_DATE; Optional; precision 0)"},"lastSplit":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Last tran (SDO LAST_SPLIT; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Name (SDO NAME; Optional; precision 0)"},"nextChqNo":{"type":"string","nullable":true,"maxLength":10,"description":"Next chq number (SDO NEXT_CHQ_NO; Optional; precision 0)"},"nextDepNo":{"type":"string","nullable":true,"maxLength":6,"description":"Deposit No (SDO NEXT_DEP_NO; Optional; precision 0)"},"nextWithdrawalNo":{"type":"string","nullable":true,"maxLength":6,"description":"Withdrawal No (SDO NEXT_WITHDRAWAL_NO; Optional; precision 0)"},"noOfSplit":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"No of splits (SDO NO_OF_SPLIT; Optional; precision 0)"},"noOfTran":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"No of trans (SDO NO_OF_TRAN; Optional; precision 0)"},"noOfUnreconciledItems":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"No of unreconciled items (SDO NO_OF_UNRECONCILED_ITEMS; Optional; precision 0)"},"noReconciliationFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Ignore reconciliation (SDO NO_RECONCILIATION_FLAG; Optional; precision 0)"},"overdraftLimit":{"type":"number","nullable":true,"description":"Overdraft limit (SDO OVERDRAFT_LIMIT; Optional; precision 2)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"sortCode":{"type":"string","nullable":true,"maxLength":10,"description":"Bank sort code (SDO SORT_CODE; Optional; precision 0)"},"telephone":{"type":"string","nullable":true,"maxLength":30,"description":"Bank Telephone Number (SDO TELEPHONE; Optional; precision 0)"},"www":{"type":"string","nullable":true,"maxLength":255,"description":"Bank Web Site (SDO WWW; Optional; precision 0)"},"id":{"type":"string"}},"required":["accountName","accountNumber","accountRef","accountType","address1","address2","address3","address4","address5","bacsReference","bankBicswift","bankChargesDefaultBankRef","bankChargesDefaultDepartment","bankChargesDefaultNominalCode","bankChargesDefaultTaxCode","bankFeedsAccessToAccountantGranted","bankFeedsAccountId","bankFeedsEnabled","bankFeedsHasFailedRules","bankFeedsLastTranId","bankFeedsProviderType","bankFeedsTransactionsAreReconciled","bankIban","bankRef","contactName","currency","deletedFlag","eMail","elecTrans","expiryDate","externalUsage","fax","firstSplit","foreignBalance","inactiveFlag","lastRecBalance","lastRecDate","lastSplit","name","nextChqNo","nextDepNo","nextWithdrawalNo","noOfSplit","noOfTran","noOfUnreconciledItems","noReconciliationFlag","overdraftLimit","recordCreateDate","recordDeleted","recordModifyDate","sortCode","telephone","www","id"],"additionalProperties":false},"Uk27_2_bank_accounts_get":{"type":"object","properties":{"accountName":{"type":"string","nullable":true,"maxLength":60,"description":"Bank account name (SDO ACCOUNT_NAME; Optional; precision 0)"},"accountNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Bank account number (SDO ACCOUNT_NUMBER; Optional; precision 0)"},"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Account reference (SDO ACCOUNT_REF; Required; precision 0)"},"accountType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Account type (SDO ACCOUNT_TYPE; Optional; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Address line 1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Address line 2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Address line 3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Address line 4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Address line 5 (SDO ADDRESS_5; Optional; precision 0)"},"bacsReference":{"type":"string","nullable":true,"maxLength":60,"description":"Bank BACS Ref (SDO BACS_REFERENCE; Optional; precision 0)"},"bankBicswift":{"type":"string","nullable":true,"maxLength":60,"description":"Bank BIC/Swift Number (SDO BANK_BICSWIFT; Optional; precision 0)"},"bankChargesDefaultBankRef":{"type":"string","nullable":true,"maxLength":8,"description":"The default bank account for bank charges (SDO BANK_CHARGES_DEFAULT_BANK_REF; Optional; precision 0)"},"bankChargesDefaultDepartment":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"The default department for bank charges (SDO BANK_CHARGES_DEFAULT_DEPARTMENT; Optional; precision 0)"},"bankChargesDefaultNominalCode":{"type":"string","nullable":true,"maxLength":8,"description":"The default nominal code for bank charges (SDO BANK_CHARGES_DEFAULT_NOMINAL_CODE; Optional; precision 0)"},"bankChargesDefaultTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"The default tax code for bank charges (SDO BANK_CHARGES_DEFAULT_TAX_CODE; Optional; precision 0)"},"bankFeedsAccessToAccountantGranted":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Access To Accountant Granted (SDO BANK_FEEDS_ACCESS_TO_ACCOUNTANT_GRANTED; Optional; precision 0)"},"bankFeedsAccountId":{"type":"string","nullable":true,"maxLength":37,"description":"Bank Feeds Bank Account ID (SDO BANK_FEEDS_ACCOUNT_ID; Optional; precision 0)"},"bankFeedsEnabled":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Bank Feeds Enabled (SDO BANK_FEEDS_ENABLED; Optional; precision 0)"},"bankFeedsHasFailedRules":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Bank Feed has had failed rules (remote site notification) (SDO BANK_FEEDS_HAS_FAILED_RULES; Optional; precision 0)"},"bankFeedsLastTranId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Bank Last Transaction ID (SDO BANK_FEEDS_LAST_TRAN_ID; Optional; precision 0)"},"bankFeedsProviderType":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Bank Feeds Provider Type (SDO BANK_FEEDS_PROVIDER_TYPE; Optional; precision 0)"},"bankFeedsTransactionsAreReconciled":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Bank Transactions Are Posted Reconciled (SDO BANK_FEEDS_TRANSACTIONS_ARE_RECONCILED; Optional; precision 0)"},"bankIban":{"type":"string","nullable":true,"maxLength":60,"description":"Bank IBAN Number (SDO BANK_IBAN; Optional; precision 0)"},"bankRef":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Bank Reference Number (SDO BANK_REF; Optional; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Bank Contact Name (SDO CONTACT_NAME; Optional; precision 0)"},"currency":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency code (SDO CURRENCY; Optional; precision 0)"},"deletedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Is Deleted (SDO DELETED_FLAG; Optional; precision 0)"},"eMail":{"type":"string","nullable":true,"maxLength":255,"description":"Bank EMail Address (SDO E_MAIL; Optional; precision 0)"},"elecTrans":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Bank Accepts Electronic Transactions (SDO ELEC_TRANS; Optional; precision 0)"},"expiryDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Card expiry date (SDO EXPIRY_DATE; Optional; precision 0)"},"externalUsage":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Number of External Usages (SDO EXTERNAL_USAGE; Optional; precision 0)"},"fax":{"type":"string","nullable":true,"maxLength":30,"description":"Bank Fax Number (SDO FAX; Optional; precision 0)"},"firstSplit":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"First tran (SDO FIRST_SPLIT; Optional; precision 0)"},"foreignBalance":{"type":"number","nullable":true,"description":"Foreign Balance (SDO FOREIGN_BALANCE; Optional; precision 2)"},"inactiveFlag":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Inactive Flag - Yes/No (SDO INACTIVE_FLAG; Optional; precision 0)"},"lastRecBalance":{"type":"number","nullable":true,"description":"Balance at last reconciliation (SDO LAST_REC_BALANCE; Optional; precision 2)"},"lastRecDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date of last reconciliation (SDO LAST_REC_DATE; Optional; precision 0)"},"lastSplit":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Last tran (SDO LAST_SPLIT; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Name (SDO NAME; Optional; precision 0)"},"nextChqNo":{"type":"string","nullable":true,"maxLength":10,"description":"Next chq number (SDO NEXT_CHQ_NO; Optional; precision 0)"},"nextDepNo":{"type":"string","nullable":true,"maxLength":6,"description":"Deposit No (SDO NEXT_DEP_NO; Optional; precision 0)"},"nextWithdrawalNo":{"type":"string","nullable":true,"maxLength":6,"description":"Withdrawal No (SDO NEXT_WITHDRAWAL_NO; Optional; precision 0)"},"noOfSplit":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"No of splits (SDO NO_OF_SPLIT; Optional; precision 0)"},"noOfTran":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"No of trans (SDO NO_OF_TRAN; Optional; precision 0)"},"noOfUnreconciledItems":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"No of unreconciled items (SDO NO_OF_UNRECONCILED_ITEMS; Optional; precision 0)"},"noReconciliationFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Ignore reconciliation (SDO NO_RECONCILIATION_FLAG; Optional; precision 0)"},"overdraftLimit":{"type":"number","nullable":true,"description":"Overdraft limit (SDO OVERDRAFT_LIMIT; Optional; precision 2)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"sortCode":{"type":"string","nullable":true,"maxLength":10,"description":"Bank sort code (SDO SORT_CODE; Optional; precision 0)"},"telephone":{"type":"string","nullable":true,"maxLength":30,"description":"Bank Telephone Number (SDO TELEPHONE; Optional; precision 0)"},"www":{"type":"string","nullable":true,"maxLength":255,"description":"Bank Web Site (SDO WWW; Optional; precision 0)"},"id":{"type":"string"}},"required":["accountName","accountNumber","accountRef","accountType","address1","address2","address3","address4","address5","bacsReference","bankBicswift","bankChargesDefaultBankRef","bankChargesDefaultDepartment","bankChargesDefaultNominalCode","bankChargesDefaultTaxCode","bankFeedsAccessToAccountantGranted","bankFeedsAccountId","bankFeedsEnabled","bankFeedsHasFailedRules","bankFeedsLastTranId","bankFeedsProviderType","bankFeedsTransactionsAreReconciled","bankIban","bankRef","contactName","currency","deletedFlag","eMail","elecTrans","expiryDate","externalUsage","fax","firstSplit","foreignBalance","inactiveFlag","lastRecBalance","lastRecDate","lastSplit","name","nextChqNo","nextDepNo","nextWithdrawalNo","noOfSplit","noOfTran","noOfUnreconciledItems","noReconciliationFlag","overdraftLimit","recordCreateDate","recordDeleted","recordModifyDate","sortCode","telephone","www","id"],"additionalProperties":false},"Uk28_1_bank_accounts_get":{"type":"object","properties":{"accountName":{"type":"string","nullable":true,"maxLength":60,"description":"Bank account name (SDO ACCOUNT_NAME; Optional; precision 0)"},"accountNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Bank account number (SDO ACCOUNT_NUMBER; Optional; precision 0)"},"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Account reference (SDO ACCOUNT_REF; Required; precision 0)"},"accountType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Account type (SDO ACCOUNT_TYPE; Optional; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Address line 1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Address line 2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Address line 3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Address line 4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Address line 5 (SDO ADDRESS_5; Optional; precision 0)"},"bacsReference":{"type":"string","nullable":true,"maxLength":60,"description":"Bank BACS Ref (SDO BACS_REFERENCE; Optional; precision 0)"},"bankBicswift":{"type":"string","nullable":true,"maxLength":60,"description":"Bank BIC/Swift Number (SDO BANK_BICSWIFT; Optional; precision 0)"},"bankChargesDefaultBankRef":{"type":"string","nullable":true,"maxLength":8,"description":"The default bank account for bank charges (SDO BANK_CHARGES_DEFAULT_BANK_REF; Optional; precision 0)"},"bankChargesDefaultDepartment":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"The default department for bank charges (SDO BANK_CHARGES_DEFAULT_DEPARTMENT; Optional; precision 0)"},"bankChargesDefaultNominalCode":{"type":"string","nullable":true,"maxLength":8,"description":"The default nominal code for bank charges (SDO BANK_CHARGES_DEFAULT_NOMINAL_CODE; Optional; precision 0)"},"bankChargesDefaultTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"The default tax code for bank charges (SDO BANK_CHARGES_DEFAULT_TAX_CODE; Optional; precision 0)"},"bankFeedsAccessToAccountantGranted":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Access To Accountant Granted (SDO BANK_FEEDS_ACCESS_TO_ACCOUNTANT_GRANTED; Optional; precision 0)"},"bankFeedsAccountId":{"type":"string","nullable":true,"maxLength":37,"description":"Bank Feeds Bank Account ID (SDO BANK_FEEDS_ACCOUNT_ID; Optional; precision 0)"},"bankFeedsEnabled":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Bank Feeds Enabled (SDO BANK_FEEDS_ENABLED; Optional; precision 0)"},"bankFeedsHasFailedRules":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Bank Feed has had failed rules (remote site notification) (SDO BANK_FEEDS_HAS_FAILED_RULES; Optional; precision 0)"},"bankFeedsLastTranId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Bank Last Transaction ID (SDO BANK_FEEDS_LAST_TRAN_ID; Optional; precision 0)"},"bankFeedsProviderType":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Bank Feeds Provider Type (SDO BANK_FEEDS_PROVIDER_TYPE; Optional; precision 0)"},"bankFeedsTransactionsAreReconciled":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Bank Transactions Are Posted Reconciled (SDO BANK_FEEDS_TRANSACTIONS_ARE_RECONCILED; Optional; precision 0)"},"bankIban":{"type":"string","nullable":true,"maxLength":60,"description":"Bank IBAN Number (SDO BANK_IBAN; Optional; precision 0)"},"bankRef":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Bank Reference Number (SDO BANK_REF; Optional; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Bank Contact Name (SDO CONTACT_NAME; Optional; precision 0)"},"currency":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency code (SDO CURRENCY; Optional; precision 0)"},"deletedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Is Deleted (SDO DELETED_FLAG; Optional; precision 0)"},"eMail":{"type":"string","nullable":true,"maxLength":255,"description":"Bank EMail Address (SDO E_MAIL; Optional; precision 0)"},"elecTrans":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Bank Accepts Electronic Transactions (SDO ELEC_TRANS; Optional; precision 0)"},"expiryDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Card expiry date (SDO EXPIRY_DATE; Optional; precision 0)"},"externalUsage":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Number of External Usages (SDO EXTERNAL_USAGE; Optional; precision 0)"},"fax":{"type":"string","nullable":true,"maxLength":30,"description":"Bank Fax Number (SDO FAX; Optional; precision 0)"},"firstSplit":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"First tran (SDO FIRST_SPLIT; Optional; precision 0)"},"foreignBalance":{"type":"number","nullable":true,"description":"Foreign Balance (SDO FOREIGN_BALANCE; Optional; precision 2)"},"inactiveFlag":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Inactive Flag - Yes/No (SDO INACTIVE_FLAG; Optional; precision 0)"},"lastRecBalance":{"type":"number","nullable":true,"description":"Balance at last reconciliation (SDO LAST_REC_BALANCE; Optional; precision 2)"},"lastRecDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date of last reconciliation (SDO LAST_REC_DATE; Optional; precision 0)"},"lastSplit":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Last tran (SDO LAST_SPLIT; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Name (SDO NAME; Optional; precision 0)"},"nextChqNo":{"type":"string","nullable":true,"maxLength":10,"description":"Next chq number (SDO NEXT_CHQ_NO; Optional; precision 0)"},"nextDepNo":{"type":"string","nullable":true,"maxLength":6,"description":"Deposit No (SDO NEXT_DEP_NO; Optional; precision 0)"},"nextWithdrawalNo":{"type":"string","nullable":true,"maxLength":6,"description":"Withdrawal No (SDO NEXT_WITHDRAWAL_NO; Optional; precision 0)"},"noOfSplit":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"No of splits (SDO NO_OF_SPLIT; Optional; precision 0)"},"noOfTran":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"No of trans (SDO NO_OF_TRAN; Optional; precision 0)"},"noOfUnreconciledItems":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"No of unreconciled items (SDO NO_OF_UNRECONCILED_ITEMS; Optional; precision 0)"},"noReconciliationFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Ignore reconciliation (SDO NO_RECONCILIATION_FLAG; Optional; precision 0)"},"overdraftLimit":{"type":"number","nullable":true,"description":"Overdraft limit (SDO OVERDRAFT_LIMIT; Optional; precision 2)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"sortCode":{"type":"string","nullable":true,"maxLength":10,"description":"Bank sort code (SDO SORT_CODE; Optional; precision 0)"},"telephone":{"type":"string","nullable":true,"maxLength":30,"description":"Bank Telephone Number (SDO TELEPHONE; Optional; precision 0)"},"www":{"type":"string","nullable":true,"maxLength":255,"description":"Bank Web Site (SDO WWW; Optional; precision 0)"},"id":{"type":"string"}},"required":["accountName","accountNumber","accountRef","accountType","address1","address2","address3","address4","address5","bacsReference","bankBicswift","bankChargesDefaultBankRef","bankChargesDefaultDepartment","bankChargesDefaultNominalCode","bankChargesDefaultTaxCode","bankFeedsAccessToAccountantGranted","bankFeedsAccountId","bankFeedsEnabled","bankFeedsHasFailedRules","bankFeedsLastTranId","bankFeedsProviderType","bankFeedsTransactionsAreReconciled","bankIban","bankRef","contactName","currency","deletedFlag","eMail","elecTrans","expiryDate","externalUsage","fax","firstSplit","foreignBalance","inactiveFlag","lastRecBalance","lastRecDate","lastSplit","name","nextChqNo","nextDepNo","nextWithdrawalNo","noOfSplit","noOfTran","noOfUnreconciledItems","noReconciliationFlag","overdraftLimit","recordCreateDate","recordDeleted","recordModifyDate","sortCode","telephone","www","id"],"additionalProperties":false},"Uk29_2_bank_accounts_get":{"type":"object","properties":{"accountName":{"type":"string","nullable":true,"maxLength":60,"description":"Bank account name (SDO ACCOUNT_NAME; Optional; precision 0)"},"accountNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Bank account number (SDO ACCOUNT_NUMBER; Optional; precision 0)"},"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Account reference (SDO ACCOUNT_REF; Required; precision 0)"},"accountType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Account type (SDO ACCOUNT_TYPE; Optional; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Address line 1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Address line 2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Address line 3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Address line 4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Address line 5 (SDO ADDRESS_5; Optional; precision 0)"},"bacsReference":{"type":"string","nullable":true,"maxLength":60,"description":"Bank BACS Ref (SDO BACS_REFERENCE; Optional; precision 0)"},"bankBicswift":{"type":"string","nullable":true,"maxLength":60,"description":"Bank BIC/Swift Number (SDO BANK_BICSWIFT; Optional; precision 0)"},"bankChargesDefaultBankRef":{"type":"string","nullable":true,"maxLength":8,"description":"The default bank account for bank charges (SDO BANK_CHARGES_DEFAULT_BANK_REF; Optional; precision 0)"},"bankChargesDefaultDepartment":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"The default department for bank charges (SDO BANK_CHARGES_DEFAULT_DEPARTMENT; Optional; precision 0)"},"bankChargesDefaultNominalCode":{"type":"string","nullable":true,"maxLength":8,"description":"The default nominal code for bank charges (SDO BANK_CHARGES_DEFAULT_NOMINAL_CODE; Optional; precision 0)"},"bankChargesDefaultTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"The default tax code for bank charges (SDO BANK_CHARGES_DEFAULT_TAX_CODE; Optional; precision 0)"},"bankFeedsAccessToAccountantGranted":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Access To Accountant Granted (SDO BANK_FEEDS_ACCESS_TO_ACCOUNTANT_GRANTED; Optional; precision 0)"},"bankFeedsAccountId":{"type":"string","nullable":true,"maxLength":37,"description":"Bank feeds Bank Account ID (SDO BANK_FEEDS_ACCOUNT_ID; Optional; precision 0)"},"bankFeedsEnabled":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Bank feeds Enabled (SDO BANK_FEEDS_ENABLED; Optional; precision 0)"},"bankFeedsHasFailedRules":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Bank Feed has had failed rules (remote site notification) (SDO BANK_FEEDS_HAS_FAILED_RULES; Optional; precision 0)"},"bankFeedsLastTranId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Bank Last Transaction ID (SDO BANK_FEEDS_LAST_TRAN_ID; Optional; precision 0)"},"bankFeedsProviderType":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Bank feeds Provider Type (SDO BANK_FEEDS_PROVIDER_TYPE; Optional; precision 0)"},"bankFeedsTransactionsAreReconciled":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Bank Transactions Are Posted Reconciled (SDO BANK_FEEDS_TRANSACTIONS_ARE_RECONCILED; Optional; precision 0)"},"bankIban":{"type":"string","nullable":true,"maxLength":60,"description":"Bank IBAN Number (SDO BANK_IBAN; Optional; precision 0)"},"bankRef":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Bank Reference Number (SDO BANK_REF; Optional; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Bank Contact Name (SDO CONTACT_NAME; Optional; precision 0)"},"currency":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency code (SDO CURRENCY; Optional; precision 0)"},"deletedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Is Deleted (SDO DELETED_FLAG; Optional; precision 0)"},"eMail":{"type":"string","nullable":true,"maxLength":255,"description":"Bank EMail Address (SDO E_MAIL; Optional; precision 0)"},"elecTrans":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Bank Accepts Electronic Transactions (SDO ELEC_TRANS; Optional; precision 0)"},"expiryDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Card expiry date (SDO EXPIRY_DATE; Optional; precision 0)"},"externalUsage":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Number of External Usages (SDO EXTERNAL_USAGE; Optional; precision 0)"},"fax":{"type":"string","nullable":true,"maxLength":30,"description":"Bank Fax Number (SDO FAX; Optional; precision 0)"},"firstSplit":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"First tran (SDO FIRST_SPLIT; Optional; precision 0)"},"foreignBalance":{"type":"number","nullable":true,"description":"Foreign Balance (SDO FOREIGN_BALANCE; Optional; precision 2)"},"inactiveFlag":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Inactive Flag - Yes/No (SDO INACTIVE_FLAG; Optional; precision 0)"},"lastRecBalance":{"type":"number","nullable":true,"description":"Balance at last reconciliation (SDO LAST_REC_BALANCE; Optional; precision 2)"},"lastRecDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date of last reconciliation (SDO LAST_REC_DATE; Optional; precision 0)"},"lastSplit":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Last tran (SDO LAST_SPLIT; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Name (SDO NAME; Optional; precision 0)"},"nextChqNo":{"type":"string","nullable":true,"maxLength":10,"description":"Next chq number (SDO NEXT_CHQ_NO; Optional; precision 0)"},"nextDepNo":{"type":"string","nullable":true,"maxLength":6,"description":"Deposit No (SDO NEXT_DEP_NO; Optional; precision 0)"},"nextWithdrawalNo":{"type":"string","nullable":true,"maxLength":6,"description":"Withdrawal No (SDO NEXT_WITHDRAWAL_NO; Optional; precision 0)"},"noOfSplit":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"No of splits (SDO NO_OF_SPLIT; Optional; precision 0)"},"noOfTran":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"No of trans (SDO NO_OF_TRAN; Optional; precision 0)"},"noOfUnreconciledItems":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"No of unreconciled items (SDO NO_OF_UNRECONCILED_ITEMS; Optional; precision 0)"},"noReconciliationFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Ignore reconciliation (SDO NO_RECONCILIATION_FLAG; Optional; precision 0)"},"overdraftLimit":{"type":"number","nullable":true,"description":"Overdraft limit (SDO OVERDRAFT_LIMIT; Optional; precision 2)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"sortCode":{"type":"string","nullable":true,"maxLength":10,"description":"Bank sort code (SDO SORT_CODE; Optional; precision 0)"},"telephone":{"type":"string","nullable":true,"maxLength":30,"description":"Bank Telephone Number (SDO TELEPHONE; Optional; precision 0)"},"www":{"type":"string","nullable":true,"maxLength":255,"description":"Bank Web Site (SDO WWW; Optional; precision 0)"},"id":{"type":"string"}},"required":["accountName","accountNumber","accountRef","accountType","address1","address2","address3","address4","address5","bacsReference","bankBicswift","bankChargesDefaultBankRef","bankChargesDefaultDepartment","bankChargesDefaultNominalCode","bankChargesDefaultTaxCode","bankFeedsAccessToAccountantGranted","bankFeedsAccountId","bankFeedsEnabled","bankFeedsHasFailedRules","bankFeedsLastTranId","bankFeedsProviderType","bankFeedsTransactionsAreReconciled","bankIban","bankRef","contactName","currency","deletedFlag","eMail","elecTrans","expiryDate","externalUsage","fax","firstSplit","foreignBalance","inactiveFlag","lastRecBalance","lastRecDate","lastSplit","name","nextChqNo","nextDepNo","nextWithdrawalNo","noOfSplit","noOfTran","noOfUnreconciledItems","noReconciliationFlag","overdraftLimit","recordCreateDate","recordDeleted","recordModifyDate","sortCode","telephone","www","id"],"additionalProperties":false},"Uk30_1_bank_accounts_get":{"type":"object","properties":{"accountName":{"type":"string","nullable":true,"maxLength":60,"description":"Bank account name (SDO ACCOUNT_NAME; Optional; precision 0)"},"accountNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Bank account number (SDO ACCOUNT_NUMBER; Optional; precision 0)"},"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Account reference (SDO ACCOUNT_REF; Required; precision 0)"},"accountType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Account type (SDO ACCOUNT_TYPE; Optional; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Address line 1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Address line 2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Address line 3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Address line 4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Address line 5 (SDO ADDRESS_5; Optional; precision 0)"},"bacsReference":{"type":"string","nullable":true,"maxLength":60,"description":"Bank BACS Ref (SDO BACS_REFERENCE; Optional; precision 0)"},"bankBicswift":{"type":"string","nullable":true,"maxLength":60,"description":"Bank BIC/Swift Number (SDO BANK_BICSWIFT; Optional; precision 0)"},"bankChargesDefaultBankRef":{"type":"string","nullable":true,"maxLength":8,"description":"The default bank account for bank charges (SDO BANK_CHARGES_DEFAULT_BANK_REF; Optional; precision 0)"},"bankChargesDefaultDepartment":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"The default department for bank charges (SDO BANK_CHARGES_DEFAULT_DEPARTMENT; Optional; precision 0)"},"bankChargesDefaultNominalCode":{"type":"string","nullable":true,"maxLength":8,"description":"The default nominal code for bank charges (SDO BANK_CHARGES_DEFAULT_NOMINAL_CODE; Optional; precision 0)"},"bankChargesDefaultTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"The default tax code for bank charges (SDO BANK_CHARGES_DEFAULT_TAX_CODE; Optional; precision 0)"},"bankFeedsAccessToAccountantGranted":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Access To Accountant Granted (SDO BANK_FEEDS_ACCESS_TO_ACCOUNTANT_GRANTED; Optional; precision 0)"},"bankFeedsAccountId":{"type":"string","nullable":true,"maxLength":37,"description":"Bank feeds Bank Account ID (SDO BANK_FEEDS_ACCOUNT_ID; Optional; precision 0)"},"bankFeedsEnabled":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Bank feeds Enabled (SDO BANK_FEEDS_ENABLED; Optional; precision 0)"},"bankFeedsHasFailedRules":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Bank Feed has had failed rules (remote site notification) (SDO BANK_FEEDS_HAS_FAILED_RULES; Optional; precision 0)"},"bankFeedsLastTranId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Bank Last Transaction ID (SDO BANK_FEEDS_LAST_TRAN_ID; Optional; precision 0)"},"bankFeedsProviderType":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Bank feeds Provider Type (SDO BANK_FEEDS_PROVIDER_TYPE; Optional; precision 0)"},"bankFeedsTransactionsAreReconciled":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Bank Transactions Are Posted Reconciled (SDO BANK_FEEDS_TRANSACTIONS_ARE_RECONCILED; Optional; precision 0)"},"bankIban":{"type":"string","nullable":true,"maxLength":60,"description":"Bank IBAN Number (SDO BANK_IBAN; Optional; precision 0)"},"bankRef":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Bank Reference Number (SDO BANK_REF; Optional; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Bank Contact Name (SDO CONTACT_NAME; Optional; precision 0)"},"currency":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency code (SDO CURRENCY; Optional; precision 0)"},"deletedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Is Deleted (SDO DELETED_FLAG; Optional; precision 0)"},"eMail":{"type":"string","nullable":true,"maxLength":255,"description":"Bank EMail Address (SDO E_MAIL; Optional; precision 0)"},"elecTrans":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Bank Accepts Electronic Transactions (SDO ELEC_TRANS; Optional; precision 0)"},"expiryDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Card expiry date (SDO EXPIRY_DATE; Optional; precision 0)"},"externalUsage":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Number of External Usages (SDO EXTERNAL_USAGE; Optional; precision 0)"},"fax":{"type":"string","nullable":true,"maxLength":30,"description":"Bank Fax Number (SDO FAX; Optional; precision 0)"},"firstSplit":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"First tran (SDO FIRST_SPLIT; Optional; precision 0)"},"foreignBalance":{"type":"number","nullable":true,"description":"Foreign Balance (SDO FOREIGN_BALANCE; Optional; precision 2)"},"inactiveFlag":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Inactive Flag - Yes/No (SDO INACTIVE_FLAG; Optional; precision 0)"},"lastRecBalance":{"type":"number","nullable":true,"description":"Balance at last reconciliation (SDO LAST_REC_BALANCE; Optional; precision 2)"},"lastRecDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date of last reconciliation (SDO LAST_REC_DATE; Optional; precision 0)"},"lastSplit":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Last tran (SDO LAST_SPLIT; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Name (SDO NAME; Optional; precision 0)"},"nextChqNo":{"type":"string","nullable":true,"maxLength":10,"description":"Next chq number (SDO NEXT_CHQ_NO; Optional; precision 0)"},"nextDepNo":{"type":"string","nullable":true,"maxLength":6,"description":"Deposit No (SDO NEXT_DEP_NO; Optional; precision 0)"},"nextWithdrawalNo":{"type":"string","nullable":true,"maxLength":6,"description":"Withdrawal No (SDO NEXT_WITHDRAWAL_NO; Optional; precision 0)"},"noOfSplit":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"No of splits (SDO NO_OF_SPLIT; Optional; precision 0)"},"noOfTran":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"No of trans (SDO NO_OF_TRAN; Optional; precision 0)"},"noOfUnreconciledItems":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"No of unreconciled items (SDO NO_OF_UNRECONCILED_ITEMS; Optional; precision 0)"},"noReconciliationFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Ignore reconciliation (SDO NO_RECONCILIATION_FLAG; Optional; precision 0)"},"overdraftLimit":{"type":"number","nullable":true,"description":"Overdraft limit (SDO OVERDRAFT_LIMIT; Optional; precision 2)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"sortCode":{"type":"string","nullable":true,"maxLength":10,"description":"Bank sort code (SDO SORT_CODE; Optional; precision 0)"},"telephone":{"type":"string","nullable":true,"maxLength":30,"description":"Bank Telephone Number (SDO TELEPHONE; Optional; precision 0)"},"www":{"type":"string","nullable":true,"maxLength":255,"description":"Bank Web Site (SDO WWW; Optional; precision 0)"},"id":{"type":"string"}},"required":["accountName","accountNumber","accountRef","accountType","address1","address2","address3","address4","address5","bacsReference","bankBicswift","bankChargesDefaultBankRef","bankChargesDefaultDepartment","bankChargesDefaultNominalCode","bankChargesDefaultTaxCode","bankFeedsAccessToAccountantGranted","bankFeedsAccountId","bankFeedsEnabled","bankFeedsHasFailedRules","bankFeedsLastTranId","bankFeedsProviderType","bankFeedsTransactionsAreReconciled","bankIban","bankRef","contactName","currency","deletedFlag","eMail","elecTrans","expiryDate","externalUsage","fax","firstSplit","foreignBalance","inactiveFlag","lastRecBalance","lastRecDate","lastSplit","name","nextChqNo","nextDepNo","nextWithdrawalNo","noOfSplit","noOfTran","noOfUnreconciledItems","noReconciliationFlag","overdraftLimit","recordCreateDate","recordDeleted","recordModifyDate","sortCode","telephone","www","id"],"additionalProperties":false},"Uk31_1_bank_accounts_get":{"type":"object","properties":{"accountName":{"type":"string","nullable":true,"maxLength":60,"description":"Bank account name (SDO ACCOUNT_NAME; Optional; precision 0)"},"accountNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Bank account number (SDO ACCOUNT_NUMBER; Optional; precision 0)"},"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Account reference (SDO ACCOUNT_REF; Required; precision 0)"},"accountType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Account type (SDO ACCOUNT_TYPE; Optional; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Address line 1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Address line 2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Address line 3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Address line 4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Address line 5 (SDO ADDRESS_5; Optional; precision 0)"},"bacsReference":{"type":"string","nullable":true,"maxLength":60,"description":"Bank BACS Ref (SDO BACS_REFERENCE; Optional; precision 0)"},"bankBicswift":{"type":"string","nullable":true,"maxLength":60,"description":"Bank BIC/Swift Number (SDO BANK_BICSWIFT; Optional; precision 0)"},"bankChargesDefaultBankRef":{"type":"string","nullable":true,"maxLength":8,"description":"The default bank account for bank charges (SDO BANK_CHARGES_DEFAULT_BANK_REF; Optional; precision 0)"},"bankChargesDefaultDepartment":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"The default department for bank charges (SDO BANK_CHARGES_DEFAULT_DEPARTMENT; Optional; precision 0)"},"bankChargesDefaultNominalCode":{"type":"string","nullable":true,"maxLength":8,"description":"The default nominal code for bank charges (SDO BANK_CHARGES_DEFAULT_NOMINAL_CODE; Optional; precision 0)"},"bankChargesDefaultTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"The default tax code for bank charges (SDO BANK_CHARGES_DEFAULT_TAX_CODE; Optional; precision 0)"},"bankFeedsAccessToAccountantGranted":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Access To Accountant Granted (SDO BANK_FEEDS_ACCESS_TO_ACCOUNTANT_GRANTED; Optional; precision 0)"},"bankFeedsAccountId":{"type":"string","nullable":true,"maxLength":37,"description":"Bank feeds Bank Account ID (SDO BANK_FEEDS_ACCOUNT_ID; Optional; precision 0)"},"bankFeedsEnabled":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Bank feeds Enabled (SDO BANK_FEEDS_ENABLED; Optional; precision 0)"},"bankFeedsHasFailedRules":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Bank Feed has had failed rules (remote site notification) (SDO BANK_FEEDS_HAS_FAILED_RULES; Optional; precision 0)"},"bankFeedsLastTranId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Bank Last Transaction ID (SDO BANK_FEEDS_LAST_TRAN_ID; Optional; precision 0)"},"bankFeedsProviderType":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Bank feeds Provider Type (SDO BANK_FEEDS_PROVIDER_TYPE; Optional; precision 0)"},"bankFeedsTransactionsAreReconciled":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Bank Transactions Are Posted Reconciled (SDO BANK_FEEDS_TRANSACTIONS_ARE_RECONCILED; Optional; precision 0)"},"bankIban":{"type":"string","nullable":true,"maxLength":60,"description":"Bank IBAN Number (SDO BANK_IBAN; Optional; precision 0)"},"bankRef":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Bank Reference Number (SDO BANK_REF; Optional; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Bank Contact Name (SDO CONTACT_NAME; Optional; precision 0)"},"currency":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency code (SDO CURRENCY; Optional; precision 0)"},"deletedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Is Deleted (SDO DELETED_FLAG; Optional; precision 0)"},"eMail":{"type":"string","nullable":true,"maxLength":255,"description":"Bank EMail Address (SDO E_MAIL; Optional; precision 0)"},"elecTrans":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Bank Accepts Electronic Transactions (SDO ELEC_TRANS; Optional; precision 0)"},"expiryDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Card expiry date (SDO EXPIRY_DATE; Optional; precision 0)"},"externalUsage":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Number of External Usages (SDO EXTERNAL_USAGE; Optional; precision 0)"},"fax":{"type":"string","nullable":true,"maxLength":30,"description":"Bank Fax Number (SDO FAX; Optional; precision 0)"},"firstSplit":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"First tran (SDO FIRST_SPLIT; Optional; precision 0)"},"foreignBalance":{"type":"number","nullable":true,"description":"Foreign Balance (SDO FOREIGN_BALANCE; Optional; precision 2)"},"inactiveFlag":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Inactive Flag - Yes/No (SDO INACTIVE_FLAG; Optional; precision 0)"},"lastRecBalance":{"type":"number","nullable":true,"description":"Balance at last reconciliation (SDO LAST_REC_BALANCE; Optional; precision 2)"},"lastRecDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date of last reconciliation (SDO LAST_REC_DATE; Optional; precision 0)"},"lastSplit":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Last tran (SDO LAST_SPLIT; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Name (SDO NAME; Optional; precision 0)"},"nextChqNo":{"type":"string","nullable":true,"maxLength":10,"description":"Next chq number (SDO NEXT_CHQ_NO; Optional; precision 0)"},"nextDepNo":{"type":"string","nullable":true,"maxLength":6,"description":"Deposit No (SDO NEXT_DEP_NO; Optional; precision 0)"},"nextWithdrawalNo":{"type":"string","nullable":true,"maxLength":6,"description":"Withdrawal No (SDO NEXT_WITHDRAWAL_NO; Optional; precision 0)"},"noOfSplit":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"No of splits (SDO NO_OF_SPLIT; Optional; precision 0)"},"noOfTran":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"No of trans (SDO NO_OF_TRAN; Optional; precision 0)"},"noOfUnreconciledItems":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"No of unreconciled items (SDO NO_OF_UNRECONCILED_ITEMS; Optional; precision 0)"},"noReconciliationFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Ignore reconciliation (SDO NO_RECONCILIATION_FLAG; Optional; precision 0)"},"overdraftLimit":{"type":"number","nullable":true,"description":"Overdraft limit (SDO OVERDRAFT_LIMIT; Optional; precision 2)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"sortCode":{"type":"string","nullable":true,"maxLength":10,"description":"Bank sort code (SDO SORT_CODE; Optional; precision 0)"},"telephone":{"type":"string","nullable":true,"maxLength":30,"description":"Bank Telephone Number (SDO TELEPHONE; Optional; precision 0)"},"www":{"type":"string","nullable":true,"maxLength":255,"description":"Bank Web Site (SDO WWW; Optional; precision 0)"},"id":{"type":"string"}},"required":["accountName","accountNumber","accountRef","accountType","address1","address2","address3","address4","address5","bacsReference","bankBicswift","bankChargesDefaultBankRef","bankChargesDefaultDepartment","bankChargesDefaultNominalCode","bankChargesDefaultTaxCode","bankFeedsAccessToAccountantGranted","bankFeedsAccountId","bankFeedsEnabled","bankFeedsHasFailedRules","bankFeedsLastTranId","bankFeedsProviderType","bankFeedsTransactionsAreReconciled","bankIban","bankRef","contactName","currency","deletedFlag","eMail","elecTrans","expiryDate","externalUsage","fax","firstSplit","foreignBalance","inactiveFlag","lastRecBalance","lastRecDate","lastSplit","name","nextChqNo","nextDepNo","nextWithdrawalNo","noOfSplit","noOfTran","noOfUnreconciledItems","noReconciliationFlag","overdraftLimit","recordCreateDate","recordDeleted","recordModifyDate","sortCode","telephone","www","id"],"additionalProperties":false},"Uk32_1_bank_accounts_get":{"type":"object","properties":{"accountName":{"type":"string","nullable":true,"maxLength":60,"description":"Bank account name (SDO ACCOUNT_NAME; Optional; precision 0)"},"accountNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Bank account number (SDO ACCOUNT_NUMBER; Optional; precision 0)"},"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Account reference (SDO ACCOUNT_REF; Required; precision 0)"},"accountType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Account type (SDO ACCOUNT_TYPE; Optional; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Address line 1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Address line 2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Address line 3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Address line 4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Address line 5 (SDO ADDRESS_5; Optional; precision 0)"},"bacsReference":{"type":"string","nullable":true,"maxLength":60,"description":"Bank BACS Ref (SDO BACS_REFERENCE; Optional; precision 0)"},"bankBicswift":{"type":"string","nullable":true,"maxLength":60,"description":"Bank BIC/Swift Number (SDO BANK_BICSWIFT; Optional; precision 0)"},"bankChargesDefaultBankRef":{"type":"string","nullable":true,"maxLength":8,"description":"The default bank account for bank charges (SDO BANK_CHARGES_DEFAULT_BANK_REF; Optional; precision 0)"},"bankChargesDefaultDepartment":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"The default department for bank charges (SDO BANK_CHARGES_DEFAULT_DEPARTMENT; Optional; precision 0)"},"bankChargesDefaultNominalCode":{"type":"string","nullable":true,"maxLength":8,"description":"The default nominal code for bank charges (SDO BANK_CHARGES_DEFAULT_NOMINAL_CODE; Optional; precision 0)"},"bankChargesDefaultTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"The default tax code for bank charges (SDO BANK_CHARGES_DEFAULT_TAX_CODE; Optional; precision 0)"},"bankFeedsAccessToAccountantGranted":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Access To Accountant Granted (SDO BANK_FEEDS_ACCESS_TO_ACCOUNTANT_GRANTED; Optional; precision 0)"},"bankFeedsAccountId":{"type":"string","nullable":true,"maxLength":37,"description":"Bank feeds Bank Account ID (SDO BANK_FEEDS_ACCOUNT_ID; Optional; precision 0)"},"bankFeedsEnabled":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Bank feeds Enabled (SDO BANK_FEEDS_ENABLED; Optional; precision 0)"},"bankFeedsHasFailedRules":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Bank Feed has had failed rules (remote site notification) (SDO BANK_FEEDS_HAS_FAILED_RULES; Optional; precision 0)"},"bankFeedsLastTranId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Bank Last Transaction ID (SDO BANK_FEEDS_LAST_TRAN_ID; Optional; precision 0)"},"bankFeedsProviderType":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Bank feeds Provider Type (SDO BANK_FEEDS_PROVIDER_TYPE; Optional; precision 0)"},"bankFeedsTransactionsAreReconciled":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Bank Transactions Are Posted Reconciled (SDO BANK_FEEDS_TRANSACTIONS_ARE_RECONCILED; Optional; precision 0)"},"bankIban":{"type":"string","nullable":true,"maxLength":60,"description":"Bank IBAN Number (SDO BANK_IBAN; Optional; precision 0)"},"bankRef":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Bank Reference Number (SDO BANK_REF; Optional; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Bank Contact Name (SDO CONTACT_NAME; Optional; precision 0)"},"currency":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency code (SDO CURRENCY; Optional; precision 0)"},"deletedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Is Deleted (SDO DELETED_FLAG; Optional; precision 0)"},"eMail":{"type":"string","nullable":true,"maxLength":255,"description":"Bank EMail Address (SDO E_MAIL; Optional; precision 0)"},"elecTrans":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Bank Accepts Electronic Transactions (SDO ELEC_TRANS; Optional; precision 0)"},"expiryDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Card expiry date (SDO EXPIRY_DATE; Optional; precision 0)"},"externalUsage":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Number of External Usages (SDO EXTERNAL_USAGE; Optional; precision 0)"},"fax":{"type":"string","nullable":true,"maxLength":30,"description":"Bank Fax Number (SDO FAX; Optional; precision 0)"},"firstSplit":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"First tran (SDO FIRST_SPLIT; Optional; precision 0)"},"foreignBalance":{"type":"number","nullable":true,"description":"Foreign Balance (SDO FOREIGN_BALANCE; Optional; precision 2)"},"inactiveFlag":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Inactive Flag - Yes/No (SDO INACTIVE_FLAG; Optional; precision 0)"},"lastRecBalance":{"type":"number","nullable":true,"description":"Balance at last reconciliation (SDO LAST_REC_BALANCE; Optional; precision 2)"},"lastRecDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date of last reconciliation (SDO LAST_REC_DATE; Optional; precision 0)"},"lastSplit":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Last tran (SDO LAST_SPLIT; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Name (SDO NAME; Optional; precision 0)"},"nextChqNo":{"type":"string","nullable":true,"maxLength":10,"description":"Next chq number (SDO NEXT_CHQ_NO; Optional; precision 0)"},"nextDepNo":{"type":"string","nullable":true,"maxLength":6,"description":"Deposit No (SDO NEXT_DEP_NO; Optional; precision 0)"},"nextWithdrawalNo":{"type":"string","nullable":true,"maxLength":6,"description":"Withdrawal No (SDO NEXT_WITHDRAWAL_NO; Optional; precision 0)"},"noOfSplit":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"No of splits (SDO NO_OF_SPLIT; Optional; precision 0)"},"noOfTran":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"No of trans (SDO NO_OF_TRAN; Optional; precision 0)"},"noOfUnreconciledItems":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"No of unreconciled items (SDO NO_OF_UNRECONCILED_ITEMS; Optional; precision 0)"},"noReconciliationFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Ignore reconciliation (SDO NO_RECONCILIATION_FLAG; Optional; precision 0)"},"overdraftLimit":{"type":"number","nullable":true,"description":"Overdraft limit (SDO OVERDRAFT_LIMIT; Optional; precision 2)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"sortCode":{"type":"string","nullable":true,"maxLength":10,"description":"Bank sort code (SDO SORT_CODE; Optional; precision 0)"},"telephone":{"type":"string","nullable":true,"maxLength":30,"description":"Bank Telephone Number (SDO TELEPHONE; Optional; precision 0)"},"www":{"type":"string","nullable":true,"maxLength":255,"description":"Bank Web Site (SDO WWW; Optional; precision 0)"},"id":{"type":"string"}},"required":["accountName","accountNumber","accountRef","accountType","address1","address2","address3","address4","address5","bacsReference","bankBicswift","bankChargesDefaultBankRef","bankChargesDefaultDepartment","bankChargesDefaultNominalCode","bankChargesDefaultTaxCode","bankFeedsAccessToAccountantGranted","bankFeedsAccountId","bankFeedsEnabled","bankFeedsHasFailedRules","bankFeedsLastTranId","bankFeedsProviderType","bankFeedsTransactionsAreReconciled","bankIban","bankRef","contactName","currency","deletedFlag","eMail","elecTrans","expiryDate","externalUsage","fax","firstSplit","foreignBalance","inactiveFlag","lastRecBalance","lastRecDate","lastSplit","name","nextChqNo","nextDepNo","nextWithdrawalNo","noOfSplit","noOfTran","noOfUnreconciledItems","noReconciliationFlag","overdraftLimit","recordCreateDate","recordDeleted","recordModifyDate","sortCode","telephone","www","id"],"additionalProperties":false},"Uk33_1_bank_accounts_get":{"type":"object","properties":{"accountName":{"type":"string","nullable":true,"maxLength":60,"description":"Bank account name (SDO ACCOUNT_NAME; Optional; precision 0)"},"accountNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Bank account number (SDO ACCOUNT_NUMBER; Optional; precision 0)"},"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Account reference (SDO ACCOUNT_REF; Required; precision 0)"},"accountType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Account type (SDO ACCOUNT_TYPE; Optional; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Address line 1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Address line 2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Address line 3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Address line 4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Address line 5 (SDO ADDRESS_5; Optional; precision 0)"},"bacsReference":{"type":"string","nullable":true,"maxLength":60,"description":"Bank BACS Ref (SDO BACS_REFERENCE; Optional; precision 0)"},"bankBicswift":{"type":"string","nullable":true,"maxLength":60,"description":"Bank BIC/Swift Number (SDO BANK_BICSWIFT; Optional; precision 0)"},"bankChargesDefaultBankRef":{"type":"string","nullable":true,"maxLength":8,"description":"The default bank account for bank charges (SDO BANK_CHARGES_DEFAULT_BANK_REF; Optional; precision 0)"},"bankChargesDefaultDepartment":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"The default department for bank charges (SDO BANK_CHARGES_DEFAULT_DEPARTMENT; Optional; precision 0)"},"bankChargesDefaultNominalCode":{"type":"string","nullable":true,"maxLength":8,"description":"The default nominal code for bank charges (SDO BANK_CHARGES_DEFAULT_NOMINAL_CODE; Optional; precision 0)"},"bankChargesDefaultTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"The default tax code for bank charges (SDO BANK_CHARGES_DEFAULT_TAX_CODE; Optional; precision 0)"},"bankFeedsAccessToAccountantGranted":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Access To Accountant Granted (SDO BANK_FEEDS_ACCESS_TO_ACCOUNTANT_GRANTED; Optional; precision 0)"},"bankFeedsAccountId":{"type":"string","nullable":true,"maxLength":37,"description":"Bank feeds Bank Account ID (SDO BANK_FEEDS_ACCOUNT_ID; Optional; precision 0)"},"bankFeedsEnabled":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Bank feeds Enabled (SDO BANK_FEEDS_ENABLED; Optional; precision 0)"},"bankFeedsHasFailedRules":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Bank Feed has had failed rules (remote site notification) (SDO BANK_FEEDS_HAS_FAILED_RULES; Optional; precision 0)"},"bankFeedsLastTranId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Bank Last Transaction ID (SDO BANK_FEEDS_LAST_TRAN_ID; Optional; precision 0)"},"bankFeedsProviderType":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Bank feeds Provider Type (SDO BANK_FEEDS_PROVIDER_TYPE; Optional; precision 0)"},"bankFeedsTransactionsAreReconciled":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Bank Transactions Are Posted Reconciled (SDO BANK_FEEDS_TRANSACTIONS_ARE_RECONCILED; Optional; precision 0)"},"bankIban":{"type":"string","nullable":true,"maxLength":60,"description":"Bank IBAN Number (SDO BANK_IBAN; Optional; precision 0)"},"bankRef":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Bank Reference Number (SDO BANK_REF; Optional; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Bank Contact Name (SDO CONTACT_NAME; Optional; precision 0)"},"currency":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency code (SDO CURRENCY; Optional; precision 0)"},"deletedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Is Deleted (SDO DELETED_FLAG; Optional; precision 0)"},"eMail":{"type":"string","nullable":true,"maxLength":255,"description":"Bank EMail Address (SDO E_MAIL; Optional; precision 0)"},"elecTrans":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Bank Accepts Electronic Transactions (SDO ELEC_TRANS; Optional; precision 0)"},"expiryDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Card expiry date (SDO EXPIRY_DATE; Optional; precision 0)"},"externalUsage":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Number of External Usages (SDO EXTERNAL_USAGE; Optional; precision 0)"},"fax":{"type":"string","nullable":true,"maxLength":30,"description":"Bank Fax Number (SDO FAX; Optional; precision 0)"},"firstSplit":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"First tran (SDO FIRST_SPLIT; Optional; precision 0)"},"foreignBalance":{"type":"number","nullable":true,"description":"Foreign Balance (SDO FOREIGN_BALANCE; Optional; precision 2)"},"inactiveFlag":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Inactive Flag - Yes/No (SDO INACTIVE_FLAG; Optional; precision 0)"},"lastRecBalance":{"type":"number","nullable":true,"description":"Balance at last reconciliation (SDO LAST_REC_BALANCE; Optional; precision 2)"},"lastRecDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date of last reconciliation (SDO LAST_REC_DATE; Optional; precision 0)"},"lastSplit":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Last tran (SDO LAST_SPLIT; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Name (SDO NAME; Optional; precision 0)"},"nextChqNo":{"type":"string","nullable":true,"maxLength":10,"description":"Next chq number (SDO NEXT_CHQ_NO; Optional; precision 0)"},"nextDepNo":{"type":"string","nullable":true,"maxLength":6,"description":"Deposit No (SDO NEXT_DEP_NO; Optional; precision 0)"},"nextWithdrawalNo":{"type":"string","nullable":true,"maxLength":6,"description":"Withdrawal No (SDO NEXT_WITHDRAWAL_NO; Optional; precision 0)"},"noOfSplit":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"No of splits (SDO NO_OF_SPLIT; Optional; precision 0)"},"noOfTran":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"No of trans (SDO NO_OF_TRAN; Optional; precision 0)"},"noOfUnreconciledItems":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"No of unreconciled items (SDO NO_OF_UNRECONCILED_ITEMS; Optional; precision 0)"},"noReconciliationFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Ignore reconciliation (SDO NO_RECONCILIATION_FLAG; Optional; precision 0)"},"overdraftLimit":{"type":"number","nullable":true,"description":"Overdraft limit (SDO OVERDRAFT_LIMIT; Optional; precision 2)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"sortCode":{"type":"string","nullable":true,"maxLength":10,"description":"Bank sort code (SDO SORT_CODE; Optional; precision 0)"},"telephone":{"type":"string","nullable":true,"maxLength":30,"description":"Bank Telephone Number (SDO TELEPHONE; Optional; precision 0)"},"www":{"type":"string","nullable":true,"maxLength":255,"description":"Bank Web Site (SDO WWW; Optional; precision 0)"},"id":{"type":"string"}},"required":["accountName","accountNumber","accountRef","accountType","address1","address2","address3","address4","address5","bacsReference","bankBicswift","bankChargesDefaultBankRef","bankChargesDefaultDepartment","bankChargesDefaultNominalCode","bankChargesDefaultTaxCode","bankFeedsAccessToAccountantGranted","bankFeedsAccountId","bankFeedsEnabled","bankFeedsHasFailedRules","bankFeedsLastTranId","bankFeedsProviderType","bankFeedsTransactionsAreReconciled","bankIban","bankRef","contactName","currency","deletedFlag","eMail","elecTrans","expiryDate","externalUsage","fax","firstSplit","foreignBalance","inactiveFlag","lastRecBalance","lastRecDate","lastSplit","name","nextChqNo","nextDepNo","nextWithdrawalNo","noOfSplit","noOfTran","noOfUnreconciledItems","noReconciliationFlag","overdraftLimit","recordCreateDate","recordDeleted","recordModifyDate","sortCode","telephone","www","id"],"additionalProperties":false},"Uk34_1_bank_accounts_get":{"type":"object","properties":{"accountName":{"type":"string","nullable":true,"maxLength":60,"description":"Bank account name (SDO ACCOUNT_NAME; Optional; precision 0)"},"accountNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Bank account number (SDO ACCOUNT_NUMBER; Optional; precision 0)"},"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Account reference (SDO ACCOUNT_REF; Required; precision 0)"},"accountType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Account type (SDO ACCOUNT_TYPE; Optional; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Address line 1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Address line 2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Address line 3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Address line 4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Address line 5 (SDO ADDRESS_5; Optional; precision 0)"},"bacsReference":{"type":"string","nullable":true,"maxLength":60,"description":"Bank BACS Ref (SDO BACS_REFERENCE; Optional; precision 0)"},"bankBicswift":{"type":"string","nullable":true,"maxLength":60,"description":"Bank BIC/Swift Number (SDO BANK_BICSWIFT; Optional; precision 0)"},"bankChargesDefaultBankRef":{"type":"string","nullable":true,"maxLength":8,"description":"The default bank account for bank charges (SDO BANK_CHARGES_DEFAULT_BANK_REF; Optional; precision 0)"},"bankChargesDefaultDepartment":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"The default department for bank charges (SDO BANK_CHARGES_DEFAULT_DEPARTMENT; Optional; precision 0)"},"bankChargesDefaultNominalCode":{"type":"string","nullable":true,"maxLength":8,"description":"The default nominal code for bank charges (SDO BANK_CHARGES_DEFAULT_NOMINAL_CODE; Optional; precision 0)"},"bankChargesDefaultTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"The default tax code for bank charges (SDO BANK_CHARGES_DEFAULT_TAX_CODE; Optional; precision 0)"},"bankFeedsAccessToAccountantGranted":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Access To Accountant Granted (SDO BANK_FEEDS_ACCESS_TO_ACCOUNTANT_GRANTED; Optional; precision 0)"},"bankFeedsAccountId":{"type":"string","nullable":true,"maxLength":37,"description":"Bank feeds Bank Account ID (SDO BANK_FEEDS_ACCOUNT_ID; Optional; precision 0)"},"bankFeedsEnabled":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Bank feeds Enabled (SDO BANK_FEEDS_ENABLED; Optional; precision 0)"},"bankFeedsHasFailedRules":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Bank Feed has had failed rules (remote site notification) (SDO BANK_FEEDS_HAS_FAILED_RULES; Optional; precision 0)"},"bankFeedsLastTranId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Bank Last Transaction ID (SDO BANK_FEEDS_LAST_TRAN_ID; Optional; precision 0)"},"bankFeedsProviderType":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Bank feeds Provider Type (SDO BANK_FEEDS_PROVIDER_TYPE; Optional; precision 0)"},"bankFeedsTransactionsAreReconciled":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Bank Transactions Are Posted Reconciled (SDO BANK_FEEDS_TRANSACTIONS_ARE_RECONCILED; Optional; precision 0)"},"bankIban":{"type":"string","nullable":true,"maxLength":60,"description":"Bank IBAN Number (SDO BANK_IBAN; Optional; precision 0)"},"bankRef":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Bank Reference Number (SDO BANK_REF; Optional; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Bank Contact Name (SDO CONTACT_NAME; Optional; precision 0)"},"currency":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency code (SDO CURRENCY; Optional; precision 0)"},"deletedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Is Deleted (SDO DELETED_FLAG; Optional; precision 0)"},"eMail":{"type":"string","nullable":true,"maxLength":255,"description":"Bank EMail Address (SDO E_MAIL; Optional; precision 0)"},"elecTrans":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Bank Accepts Electronic Transactions (SDO ELEC_TRANS; Optional; precision 0)"},"expiryDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Card expiry date (SDO EXPIRY_DATE; Optional; precision 0)"},"externalUsage":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Number of External Usages (SDO EXTERNAL_USAGE; Optional; precision 0)"},"fax":{"type":"string","nullable":true,"maxLength":30,"description":"Bank Fax Number (SDO FAX; Optional; precision 0)"},"firstSplit":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"First tran (SDO FIRST_SPLIT; Optional; precision 0)"},"foreignBalance":{"type":"number","nullable":true,"description":"Foreign Balance (SDO FOREIGN_BALANCE; Optional; precision 2)"},"inactiveFlag":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Inactive Flag - Yes/No (SDO INACTIVE_FLAG; Optional; precision 0)"},"lastRecBalance":{"type":"number","nullable":true,"description":"Balance at last reconciliation (SDO LAST_REC_BALANCE; Optional; precision 2)"},"lastRecDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date of last reconciliation (SDO LAST_REC_DATE; Optional; precision 0)"},"lastSplit":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Last tran (SDO LAST_SPLIT; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Name (SDO NAME; Optional; precision 0)"},"nextChqNo":{"type":"string","nullable":true,"maxLength":10,"description":"Next chq number (SDO NEXT_CHQ_NO; Optional; precision 0)"},"nextDepNo":{"type":"string","nullable":true,"maxLength":6,"description":"Deposit No (SDO NEXT_DEP_NO; Optional; precision 0)"},"nextWithdrawalNo":{"type":"string","nullable":true,"maxLength":6,"description":"Withdrawal No (SDO NEXT_WITHDRAWAL_NO; Optional; precision 0)"},"noOfSplit":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"No of splits (SDO NO_OF_SPLIT; Optional; precision 0)"},"noOfTran":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"No of trans (SDO NO_OF_TRAN; Optional; precision 0)"},"noOfUnreconciledItems":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"No of unreconciled items (SDO NO_OF_UNRECONCILED_ITEMS; Optional; precision 0)"},"noReconciliationFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Ignore reconciliation (SDO NO_RECONCILIATION_FLAG; Optional; precision 0)"},"overdraftLimit":{"type":"number","nullable":true,"description":"Overdraft limit (SDO OVERDRAFT_LIMIT; Optional; precision 2)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"sortCode":{"type":"string","nullable":true,"maxLength":10,"description":"Bank sort code (SDO SORT_CODE; Optional; precision 0)"},"telephone":{"type":"string","nullable":true,"maxLength":30,"description":"Bank Telephone Number (SDO TELEPHONE; Optional; precision 0)"},"www":{"type":"string","nullable":true,"maxLength":255,"description":"Bank Web Site (SDO WWW; Optional; precision 0)"},"id":{"type":"string"}},"required":["accountName","accountNumber","accountRef","accountType","address1","address2","address3","address4","address5","bacsReference","bankBicswift","bankChargesDefaultBankRef","bankChargesDefaultDepartment","bankChargesDefaultNominalCode","bankChargesDefaultTaxCode","bankFeedsAccessToAccountantGranted","bankFeedsAccountId","bankFeedsEnabled","bankFeedsHasFailedRules","bankFeedsLastTranId","bankFeedsProviderType","bankFeedsTransactionsAreReconciled","bankIban","bankRef","contactName","currency","deletedFlag","eMail","elecTrans","expiryDate","externalUsage","fax","firstSplit","foreignBalance","inactiveFlag","lastRecBalance","lastRecDate","lastSplit","name","nextChqNo","nextDepNo","nextWithdrawalNo","noOfSplit","noOfTran","noOfUnreconciledItems","noReconciliationFlag","overdraftLimit","recordCreateDate","recordDeleted","recordModifyDate","sortCode","telephone","www","id"],"additionalProperties":false},"Uk26_3_invoices_get":{"type":"object","properties":{"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Account reference (SDO ACCOUNT_REF; Required; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 5 (SDO ADDRESS_5; Optional; precision 0)"},"amountPrepaid":{"type":"number","nullable":true,"description":"Amount prepaid (SDO AMOUNT_PREPAID; Optional; precision 2)"},"analysis1":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"bankCode":{"type":"string","nullable":true,"maxLength":8,"description":"Bank posting code (SDO BANK_CODE; Optional; precision 0)"},"baseAmountPaid":{"type":"number","nullable":true,"description":"Base Amount prepaid (SDO BASE_AMOUNT_PAID; Optional; precision 2)"},"baseCarrNet":{"type":"number","nullable":true,"description":"Base Carriage net amount (SDO BASE_CARR_NET; Optional; precision 2)"},"baseCarrTax":{"type":"number","nullable":true,"description":"Base Carriage tax amount (SDO BASE_CARR_TAX; Optional; precision 2)"},"baseNetvalueDiscount":{"type":"number","nullable":true,"description":"Net Value Discount Amount in Base Currency (SDO BASE_NETVALUE_DISCOUNT; Optional; precision 2)"},"baseSettDiscRate":{"type":"number","nullable":true,"description":"Base Settlement discount % rate (SDO BASE_SETT_DISC_RATE; Optional; precision 2)"},"baseTotNet":{"type":"number","nullable":true,"description":"Base Net amount (goods but not carriage) (SDO BASE_TOT_NET; Optional; precision 2)"},"baseTotTax":{"type":"number","nullable":true,"description":"Base Tax amount (goods but not carriage) (SDO BASE_TOT_TAX; Optional; precision 2)"},"carrDeptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Carriage department number (SDO CARR_DEPT_NUMBER; Optional; precision 0)"},"carrNet":{"type":"number","nullable":true,"description":"Carriage net amount (SDO CARR_NET; Optional; precision 2)"},"carrNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Carriage nominal code (SDO CARR_NOM_CODE; Optional; precision 0)"},"carrTax":{"type":"number","nullable":true,"description":"Carriage tax amount (SDO CARR_TAX; Optional; precision 2)"},"carrTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Carriage tax code (SDO CARR_TAX_CODE; Optional; precision 0)"},"consignmentRef":{"type":"string","nullable":true,"maxLength":30,"description":"Consignment Reference (SDO CONSIGNMENT_REF; Optional; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Customer Contact name (SDO CONTACT_NAME; Optional; precision 0)"},"countryCode":{"type":"string","nullable":true,"maxLength":2,"description":"Customer Country code (SDO COUNTRY_CODE; Optional; precision 0)"},"courier":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Courier Number (SDO COURIER; Optional; precision 0)"},"currency":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency (SDO CURRENCY; Optional; precision 0)"},"currencyUsed":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency Used (SDO CURRENCY_USED; Optional; precision 0)"},"custDiscRate":{"type":"number","nullable":true,"description":"Customer Discount (SDO CUST_DISC_RATE; Optional; precision 2)"},"custOrderNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Customer's order number (SDO CUST_ORDER_NUMBER; Optional; precision 0)"},"custTelNumber":{"type":"string","nullable":true,"maxLength":30,"description":"Customer's telephone number (SDO CUST_TEL_NUMBER; Optional; precision 0)"},"defTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Default tax code (SDO DEF_TAX_CODE; Optional; precision 0)"},"delAddress1":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 1 (SDO DEL_ADDRESS_1; Optional; precision 0)"},"delAddress2":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 2 (SDO DEL_ADDRESS_2; Optional; precision 0)"},"delAddress3":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 3 (SDO DEL_ADDRESS_3; Optional; precision 0)"},"delAddress4":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 4 (SDO DEL_ADDRESS_4; Optional; precision 0)"},"delAddress5":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 5 (SDO DEL_ADDRESS_5; Optional; precision 0)"},"deletedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Is Deleted (SDO DELETED_FLAG; Optional; precision 0)"},"deliveryName":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address name (SDO DELIVERY_NAME; Optional; precision 0)"},"discountComment1":{"type":"string","nullable":true,"maxLength":60,"description":"Discount Commment 1 (SDO DISCOUNT_COMMENT1; Optional; precision 0)"},"discountComment2":{"type":"string","nullable":true,"maxLength":60,"description":"Discount Commment 2 (SDO DISCOUNT_COMMENT2; Optional; precision 0)"},"discountType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Discount Type (SDO DISCOUNT_TYPE; Optional; precision 0)"},"dunsNumber":{"type":"string","nullable":true,"maxLength":9,"description":"DUNS credit Reference Number (SDO DUNS_NUMBER; Optional; precision 0)"},"emailed":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Emailed flag - Yes/No (SDO EMAILED; Optional; precision 0)"},"euroGross":{"type":"number","nullable":true,"description":"euro Gross Amount (SDO EURO_GROSS; Optional; precision 6)"},"euroRate":{"type":"number","nullable":true,"description":"euro Rate (SDO EURO_RATE; Optional; precision 6)"},"externalUsage":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Number of External Usages (SDO EXTERNAL_USAGE; Optional; precision 0)"},"firstItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO FIRST_ITEM; Optional; precision 0)"},"foreignGross":{"type":"number","nullable":true,"description":"Foreign Gross Amount (SDO FOREIGN_GROSS; Optional; precision 6)"},"foreignRate":{"type":"number","nullable":true,"description":"Foreign Rate for euro currency (SDO FOREIGN_RATE; Optional; precision 6)"},"gdnNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"GDN Reference (SDO GDN_NUMBER; Optional; precision 0)"},"globalDeptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Global department number (SDO GLOBAL_DEPT_NUMBER; Optional; precision 0)"},"globalDetails":{"type":"string","nullable":true,"maxLength":60,"description":"Global details (SDO GLOBAL_DETAILS; Optional; precision 0)"},"globalNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Global nominal code (SDO GLOBAL_NOM_CODE; Optional; precision 0)"},"globalTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Global tax code (SDO GLOBAL_TAX_CODE; Optional; precision 0)"},"hasExternalLink":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Has External Link (SDO HAS_EXTERNAL_LINK; Optional; precision 0)"},"invoiceDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Invoice Date (SDO INVOICE_DATE; Required; precision 0)"},"invoiceForeignBalance":{"type":"number","nullable":true,"description":"Foreign Balance (SDO INVOICE_FOREIGN_BALANCE; Optional; precision 6)"},"invoiceNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Invoice number (SDO INVOICE_NUMBER; Required; precision 0)"},"invoicePaymentId":{"type":"string","nullable":true,"maxLength":37,"description":"Payment Cloud Identifier (SDO INVOICE_PAYMENT_ID; Optional; precision 0)"},"invoiceTypeCode":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Invoice type code (SDO INVOICE_TYPE_CODE; Required; precision 0)"},"itemsNet":{"type":"number","nullable":true,"description":"Net amount (goods but not carriage) (SDO ITEMS_NET; Optional; precision 2)"},"itemsTax":{"type":"number","nullable":true,"description":"Tax amount (goods but not carriage) (SDO ITEMS_TAX; Optional; precision 2)"},"lastNetvalueDiscount":{"type":"number","nullable":true,"description":"Last Net Value Discount Amount (SDO LAST_NETVALUE_DISCOUNT; Optional; precision 2)"},"lastUpdated":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date of last update (SDO LAST_UPDATED; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Account Name (SDO NAME; Optional; precision 0)"},"netvalueDescription":{"type":"string","nullable":true,"maxLength":60,"description":"Net Value Discount Description (SDO NETVALUE_DESCRIPTION; Optional; precision 0)"},"netvalueDiscount":{"type":"number","nullable":true,"description":"Net Value Discount Amount (SDO NETVALUE_DISCOUNT; Optional; precision 2)"},"netvalueDiscountPercent":{"type":"number","nullable":true,"description":"Net Value Discount Percentage (SDO NETVALUE_DISCOUNT_PERCENT; Optional; precision 2)"},"notes1":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 1 (SDO NOTES_1; Optional; precision 0)"},"notes2":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 2 (SDO NOTES_2; Optional; precision 0)"},"notes3":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 3 (SDO NOTES_3; Optional; precision 0)"},"orderNumber":{"type":"string","nullable":true,"maxLength":7,"description":"Corresponding order number (SDO ORDER_NUMBER; Required; precision 0)"},"paymentDueDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Invoice Payment Due Date (SDO PAYMENT_DUE_DATE; Optional; precision 0)"},"paymentRef":{"type":"string","nullable":true,"maxLength":30,"description":"Payment reference (SDO PAYMENT_REF; Optional; precision 0)"},"paymentTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Payment tax code (SDO PAYMENT_TAX_CODE; Optional; precision 0)"},"paymentType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Payment Type (SR/SA) (SDO PAYMENT_TYPE; Optional; precision 0)"},"postedCode":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Posted flag - Yes/No (SDO POSTED_CODE; Optional; precision 0)"},"practiceSolutionsRefn":{"type":"string","nullable":true,"maxLength":60,"description":"Sage Practice Solutions Reference (SDO PRACTICE_SOLUTIONS_REFN; Optional; precision 0)"},"printedCode":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Printed flag - Yes/No (SDO PRINTED_CODE; Optional; precision 0)"},"quoteExpiry":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Quote Expiry (SDO QUOTE_EXPIRY; Optional; precision 0)"},"quoteStatus":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Quote Status (SDO QUOTE_STATUS; Optional; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"recurringReference":{"type":"string","nullable":true,"maxLength":11,"description":"Recurring Reference (SDO RECURRING_REFERENCE; Optional; precision 0)"},"resubmitInvoicePaymentRequired":{"type":"string","nullable":true,"maxLength":0,"description":"Payment Cloud Identifier (SDO RESUBMIT_INVOICE_PAYMENT_REQUIRED; Optional; precision 0)"},"sendViaEmail":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Sent via TMail - Yes/No (SDO SEND_VIA_EMAIL; Optional; precision 0)"},"settlementDiscRate":{"type":"number","nullable":true,"description":"Settlement discount % rate (SDO SETTLEMENT_DISC_RATE; Optional; precision 2)"},"settlementDueDays":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Settlement days (SDO SETTLEMENT_DUE_DAYS; Optional; precision 0)"},"status":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Order status code (SDO STATUS; Optional; precision 0)"},"takenBy":{"type":"string","nullable":true,"maxLength":60,"description":"Order taken by (SDO TAKEN_BY; Optional; precision 0)"},"totalBytes":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO TOTAL_BYTES; Optional; precision 0)"},"unallocatedNetvalueDiscount":{"type":"number","nullable":true,"description":"Unallocated Net Value Discount Amount (SDO UNALLOCATED_NETVALUE_DISCOUNT; Optional; precision 2)"},"id":{"type":"string"},"lines":{"type":"array","items":{"type":"object","properties":{"addDiscRate":{"type":"number","nullable":true,"description":"Additional discount percentage rate (SDO ADD_DISC_RATE; Optional; precision 2)"},"baseFullNet":{"type":"number","nullable":true,"description":"Full net value in Base Currency (SDO BASE_FULL_NET; Optional; precision 2)"},"baseNet":{"type":"number","nullable":true,"description":"Net value in Base Currency (SDO BASE_NET; Optional; precision 2)"},"baseNetvalueDiscount":{"type":"number","nullable":true,"description":"Net Value Discount Amount in Base Currency (SDO BASE_NETVALUE_DISCOUNT; Optional; precision 2)"},"baseTax":{"type":"number","nullable":true,"description":"Tax value in Base Currency (SDO BASE_TAX; Optional; precision 2)"},"comment1":{"type":"string","nullable":true,"maxLength":60,"description":"Comment 1 (SDO COMMENT_1; Optional; precision 0)"},"comment2":{"type":"string","nullable":true,"maxLength":60,"description":"Comment 2 (SDO COMMENT_2; Optional; precision 0)"},"costCodeId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Project Cost Code ID (SDO COST_CODE_ID; Optional; precision 0)"},"deliveryDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Delivery date (SDO DELIVERY_DATE; Optional; precision 0)"},"deptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Department number (SDO DEPT_NUMBER; Optional; precision 0)"},"description":{"type":"string","nullable":true,"maxLength":60,"description":"Description (SDO DESCRIPTION; Optional; precision 0)"},"discountAmount":{"type":"number","nullable":true,"description":"Discount amount (SDO DISCOUNT_AMOUNT; Optional; precision 2)"},"discountRate":{"type":"number","nullable":true,"description":"Discount percentage rate (SDO DISCOUNT_RATE; Optional; precision 2)"},"extOrderLineRef":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"External Line Reference for SOP to INV link (SDO EXT_ORDER_LINE_REF; Optional; precision 0)"},"extOrderRef":{"type":"string","nullable":true,"maxLength":30,"description":"External Reference for SOP to INV link (SDO EXT_ORDER_REF; Optional; precision 0)"},"fullNetAmount":{"type":"number","nullable":true,"description":"Full net amount (before discount) (SDO FULL_NET_AMOUNT; Optional; precision 2)"},"fundNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Fund number (SDO FUND_NUMBER; Optional; precision 0)"},"invoiceNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Invoice Number (SDO INVOICE_NUMBER; Optional; precision 0)"},"isNegativeLine":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the invoice item line is a negative line. (SDO IS_NEGATIVE_LINE; Optional; precision 0)"},"itemNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Item Number (SDO ITEM_NUMBER; Optional; precision 0)"},"itemid":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Unique ID (SDO ITEMID; Optional; precision 0)"},"jobReference":{"type":"string","nullable":true,"maxLength":60,"description":"Job Reference (SDO JOB_REFERENCE; Optional; precision 0)"},"netAmount":{"type":"number","nullable":true,"description":"Net amount (after discount) (SDO NET_AMOUNT; Optional; precision 2)"},"netvalueDiscount":{"type":"number","nullable":true,"description":"Net Value Discount Amount (SDO NETVALUE_DISCOUNT; Optional; precision 2)"},"nextItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO NEXT_ITEM; Optional; precision 0)"},"nominalCode":{"type":"string","nullable":true,"maxLength":8,"description":"Nominal code (SDO NOMINAL_CODE; Optional; precision 0)"},"offset":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Offset of Service Text (SDO OFFSET; Optional; precision 0)"},"prevItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO PREV_ITEM; Optional; precision 0)"},"projectId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Project ID (SDO PROJECT_ID; Optional; precision 0)"},"qtyAllocated":{"type":"number","nullable":true,"description":"Quantity allocated for this order (SDO QTY_ALLOCATED; Optional; precision 102)"},"qtyDelivered":{"type":"number","nullable":true,"description":"Quantity previously delivered for this order (SDO QTY_DELIVERED; Optional; precision 102)"},"qtyDespatch":{"type":"number","nullable":true,"description":"Quantity to despatch/despatched on this delivery (SDO QTY_DESPATCH; Optional; precision 102)"},"qtyIntrastatConfirmed":{"type":"number","nullable":true,"description":"Quantity Intrastat Confirmed (SDO QTY_INTRASTAT_CONFIRMED; Optional; precision 102)"},"qtyOrder":{"type":"number","nullable":true,"description":"Quantity ordered (SDO QTY_ORDER; Optional; precision 102)"},"serviceFile":{"type":"string","nullable":true,"maxLength":60,"description":"Redundant - Do not use (SDO SERVICE_FILE; Optional; precision 0)"},"serviceFileSize":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Redundant - Do not use (SDO SERVICE_FILE_SIZE; Optional; precision 0)"},"serviceFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Item Type Flag (SDO SERVICE_FLAG; Optional; precision 0)"},"serviceItemLines":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Redundant - Do not use (SDO SERVICE_ITEM_LINES; Optional; precision 0)"},"stockCode":{"type":"string","nullable":true,"maxLength":30,"description":"Stock code (SDO STOCK_CODE; Required; precision 0)"},"taxAmount":{"type":"number","nullable":true,"description":"Tax amount (SDO TAX_AMOUNT; Optional; precision 2)"},"taxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax code (SDO TAX_CODE; Optional; precision 0)"},"taxFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":" (SDO TAX_FLAG; Optional; precision 0)"},"taxRate":{"type":"number","nullable":true,"description":"Tax rate (SDO TAX_RATE; Optional; precision 2)"},"text":{"type":"string","nullable":true,"maxLength":60,"description":"Service invoice/credit text (SDO TEXT; Optional; precision 0)"},"unitOfSale":{"type":"string","nullable":true,"maxLength":8,"description":"Unit of sale (SDO UNIT_OF_SALE; Optional; precision 0)"},"unitPrice":{"type":"number","nullable":true,"description":"Unit price (SDO UNIT_PRICE; Optional; precision 101)"}},"required":["addDiscRate","baseFullNet","baseNet","baseNetvalueDiscount","baseTax","comment1","comment2","costCodeId","deliveryDate","deptNumber","description","discountAmount","discountRate","extOrderLineRef","extOrderRef","fullNetAmount","fundNumber","invoiceNumber","isNegativeLine","itemNumber","itemid","jobReference","netAmount","netvalueDiscount","nextItem","nominalCode","offset","prevItem","projectId","qtyAllocated","qtyDelivered","qtyDespatch","qtyIntrastatConfirmed","qtyOrder","serviceFile","serviceFileSize","serviceFlag","serviceItemLines","stockCode","taxAmount","taxCode","taxFlag","taxRate","text","unitOfSale","unitPrice"],"additionalProperties":false}}},"required":["accountRef","address1","address2","address3","address4","address5","amountPrepaid","analysis1","analysis2","analysis3","bankCode","baseAmountPaid","baseCarrNet","baseCarrTax","baseNetvalueDiscount","baseSettDiscRate","baseTotNet","baseTotTax","carrDeptNumber","carrNet","carrNomCode","carrTax","carrTaxCode","consignmentRef","contactName","countryCode","courier","currency","currencyUsed","custDiscRate","custOrderNumber","custTelNumber","defTaxCode","delAddress1","delAddress2","delAddress3","delAddress4","delAddress5","deletedFlag","deliveryName","discountComment1","discountComment2","discountType","dunsNumber","emailed","euroGross","euroRate","externalUsage","firstItem","foreignGross","foreignRate","gdnNumber","globalDeptNumber","globalDetails","globalNomCode","globalTaxCode","hasExternalLink","invoiceDate","invoiceForeignBalance","invoiceNumber","invoicePaymentId","invoiceTypeCode","itemsNet","itemsTax","lastNetvalueDiscount","lastUpdated","name","netvalueDescription","netvalueDiscount","netvalueDiscountPercent","notes1","notes2","notes3","orderNumber","paymentDueDate","paymentRef","paymentTaxCode","paymentType","postedCode","practiceSolutionsRefn","printedCode","quoteExpiry","quoteStatus","recordCreateDate","recordDeleted","recordModifyDate","recurringReference","resubmitInvoicePaymentRequired","sendViaEmail","settlementDiscRate","settlementDueDays","status","takenBy","totalBytes","unallocatedNetvalueDiscount","id","lines"],"additionalProperties":false},"Uk27_2_invoices_get":{"type":"object","properties":{"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Account reference (SDO ACCOUNT_REF; Required; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 5 (SDO ADDRESS_5; Optional; precision 0)"},"amountPrepaid":{"type":"number","nullable":true,"description":"Amount prepaid (SDO AMOUNT_PREPAID; Optional; precision 2)"},"analysis1":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"bankCode":{"type":"string","nullable":true,"maxLength":8,"description":"Bank posting code (SDO BANK_CODE; Optional; precision 0)"},"baseAmountPaid":{"type":"number","nullable":true,"description":"Base Amount prepaid (SDO BASE_AMOUNT_PAID; Optional; precision 2)"},"baseCarrNet":{"type":"number","nullable":true,"description":"Base Carriage net amount (SDO BASE_CARR_NET; Optional; precision 2)"},"baseCarrTax":{"type":"number","nullable":true,"description":"Base Carriage tax amount (SDO BASE_CARR_TAX; Optional; precision 2)"},"baseNetvalueDiscount":{"type":"number","nullable":true,"description":"Net Value Discount Amount in Base Currency (SDO BASE_NETVALUE_DISCOUNT; Optional; precision 2)"},"baseSettDiscRate":{"type":"number","nullable":true,"description":"Base Settlement discount % rate (SDO BASE_SETT_DISC_RATE; Optional; precision 2)"},"baseTotNet":{"type":"number","nullable":true,"description":"Base Net amount (goods but not carriage) (SDO BASE_TOT_NET; Optional; precision 2)"},"baseTotTax":{"type":"number","nullable":true,"description":"Base Tax amount (goods but not carriage) (SDO BASE_TOT_TAX; Optional; precision 2)"},"carrDeptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Carriage department number (SDO CARR_DEPT_NUMBER; Optional; precision 0)"},"carrNet":{"type":"number","nullable":true,"description":"Carriage net amount (SDO CARR_NET; Optional; precision 2)"},"carrNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Carriage nominal code (SDO CARR_NOM_CODE; Optional; precision 0)"},"carrTax":{"type":"number","nullable":true,"description":"Carriage tax amount (SDO CARR_TAX; Optional; precision 2)"},"carrTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Carriage tax code (SDO CARR_TAX_CODE; Optional; precision 0)"},"consignmentRef":{"type":"string","nullable":true,"maxLength":30,"description":"Consignment Reference (SDO CONSIGNMENT_REF; Optional; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Customer Contact name (SDO CONTACT_NAME; Optional; precision 0)"},"countryCode":{"type":"string","nullable":true,"maxLength":2,"description":"Customer Country code (SDO COUNTRY_CODE; Optional; precision 0)"},"courier":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Courier Number (SDO COURIER; Optional; precision 0)"},"currency":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency (SDO CURRENCY; Optional; precision 0)"},"currencyUsed":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency Used (SDO CURRENCY_USED; Optional; precision 0)"},"custDiscRate":{"type":"number","nullable":true,"description":"Customer Discount (SDO CUST_DISC_RATE; Optional; precision 2)"},"custOrderNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Customer's order number (SDO CUST_ORDER_NUMBER; Optional; precision 0)"},"custTelNumber":{"type":"string","nullable":true,"maxLength":30,"description":"Customer's telephone number (SDO CUST_TEL_NUMBER; Optional; precision 0)"},"defTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Default tax code (SDO DEF_TAX_CODE; Optional; precision 0)"},"delAddress1":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 1 (SDO DEL_ADDRESS_1; Optional; precision 0)"},"delAddress2":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 2 (SDO DEL_ADDRESS_2; Optional; precision 0)"},"delAddress3":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 3 (SDO DEL_ADDRESS_3; Optional; precision 0)"},"delAddress4":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 4 (SDO DEL_ADDRESS_4; Optional; precision 0)"},"delAddress5":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 5 (SDO DEL_ADDRESS_5; Optional; precision 0)"},"deletedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Is Deleted (SDO DELETED_FLAG; Optional; precision 0)"},"deliveryName":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address name (SDO DELIVERY_NAME; Optional; precision 0)"},"discountComment1":{"type":"string","nullable":true,"maxLength":60,"description":"Discount Commment 1 (SDO DISCOUNT_COMMENT1; Optional; precision 0)"},"discountComment2":{"type":"string","nullable":true,"maxLength":60,"description":"Discount Commment 2 (SDO DISCOUNT_COMMENT2; Optional; precision 0)"},"discountType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Discount Type (SDO DISCOUNT_TYPE; Optional; precision 0)"},"dunsNumber":{"type":"string","nullable":true,"maxLength":9,"description":"DUNS credit Reference Number (SDO DUNS_NUMBER; Optional; precision 0)"},"emailed":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Emailed flag - Yes/No (SDO EMAILED; Optional; precision 0)"},"euroGross":{"type":"number","nullable":true,"description":"euro Gross Amount (SDO EURO_GROSS; Optional; precision 6)"},"euroRate":{"type":"number","nullable":true,"description":"euro Rate (SDO EURO_RATE; Optional; precision 6)"},"externalUsage":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Number of External Usages (SDO EXTERNAL_USAGE; Optional; precision 0)"},"firstItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO FIRST_ITEM; Optional; precision 0)"},"foreignGross":{"type":"number","nullable":true,"description":"Foreign Gross Amount (SDO FOREIGN_GROSS; Optional; precision 6)"},"foreignRate":{"type":"number","nullable":true,"description":"Foreign Rate for euro currency (SDO FOREIGN_RATE; Optional; precision 6)"},"gdnNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"GDN Reference (SDO GDN_NUMBER; Optional; precision 0)"},"globalDeptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Global department number (SDO GLOBAL_DEPT_NUMBER; Optional; precision 0)"},"globalDetails":{"type":"string","nullable":true,"maxLength":60,"description":"Global details (SDO GLOBAL_DETAILS; Optional; precision 0)"},"globalNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Global nominal code (SDO GLOBAL_NOM_CODE; Optional; precision 0)"},"globalTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Global tax code (SDO GLOBAL_TAX_CODE; Optional; precision 0)"},"hasExternalLink":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Has External Link (SDO HAS_EXTERNAL_LINK; Optional; precision 0)"},"incoterms":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Incoterms (SDO INCOTERMS; Optional; precision 0)"},"invoiceDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Invoice Date (SDO INVOICE_DATE; Required; precision 0)"},"invoiceForeignBalance":{"type":"number","nullable":true,"description":"Foreign Balance (SDO INVOICE_FOREIGN_BALANCE; Optional; precision 6)"},"invoiceNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Invoice number (SDO INVOICE_NUMBER; Required; precision 0)"},"invoicePaymentId":{"type":"string","nullable":true,"maxLength":37,"description":"Payment Cloud Identifier (SDO INVOICE_PAYMENT_ID; Optional; precision 0)"},"invoiceTypeCode":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Invoice type code (SDO INVOICE_TYPE_CODE; Required; precision 0)"},"itemsNet":{"type":"number","nullable":true,"description":"Net amount (goods but not carriage) (SDO ITEMS_NET; Optional; precision 2)"},"itemsTax":{"type":"number","nullable":true,"description":"Tax amount (goods but not carriage) (SDO ITEMS_TAX; Optional; precision 2)"},"lastNetvalueDiscount":{"type":"number","nullable":true,"description":"Last Net Value Discount Amount (SDO LAST_NETVALUE_DISCOUNT; Optional; precision 2)"},"lastUpdated":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date of last update (SDO LAST_UPDATED; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Account Name (SDO NAME; Optional; precision 0)"},"netvalueDescription":{"type":"string","nullable":true,"maxLength":60,"description":"Net Value Discount Description (SDO NETVALUE_DESCRIPTION; Optional; precision 0)"},"netvalueDiscount":{"type":"number","nullable":true,"description":"Net Value Discount Amount (SDO NETVALUE_DISCOUNT; Optional; precision 2)"},"netvalueDiscountPercent":{"type":"number","nullable":true,"description":"Net Value Discount Percentage (SDO NETVALUE_DISCOUNT_PERCENT; Optional; precision 2)"},"notes1":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 1 (SDO NOTES_1; Optional; precision 0)"},"notes2":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 2 (SDO NOTES_2; Optional; precision 0)"},"notes3":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 3 (SDO NOTES_3; Optional; precision 0)"},"orderNumber":{"type":"string","nullable":true,"maxLength":7,"description":"Corresponding order number (SDO ORDER_NUMBER; Required; precision 0)"},"ossCountryOfVat":{"type":"string","nullable":true,"maxLength":2,"description":"Country of VAT (SDO OSS_COUNTRY_OF_VAT; Optional; precision 0)"},"ossReportingType":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Report type (SDO OSS_REPORTING_TYPE; Optional; precision 0)"},"paymentDueDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Invoice Payment Due Date (SDO PAYMENT_DUE_DATE; Optional; precision 0)"},"paymentOssCountryOfVat":{"type":"string","nullable":true,"maxLength":2,"description":"Payment Country of VAT (SDO PAYMENT_OSS_COUNTRY_OF_VAT; Optional; precision 0)"},"paymentOssReportingType":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Payment Report type (SDO PAYMENT_OSS_REPORTING_TYPE; Optional; precision 0)"},"paymentRef":{"type":"string","nullable":true,"maxLength":30,"description":"Payment reference (SDO PAYMENT_REF; Optional; precision 0)"},"paymentTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Payment tax code (SDO PAYMENT_TAX_CODE; Optional; precision 0)"},"paymentType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Payment Type (SR/SA) (SDO PAYMENT_TYPE; Optional; precision 0)"},"postedCode":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Posted flag - Yes/No (SDO POSTED_CODE; Optional; precision 0)"},"practiceSolutionsRefn":{"type":"string","nullable":true,"maxLength":60,"description":"Sage Practice Solutions Reference (SDO PRACTICE_SOLUTIONS_REFN; Optional; precision 0)"},"printedCode":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Printed flag - Yes/No (SDO PRINTED_CODE; Optional; precision 0)"},"quoteExpiry":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Quote Expiry (SDO QUOTE_EXPIRY; Optional; precision 0)"},"quoteStatus":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Quote Status (SDO QUOTE_STATUS; Optional; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"recurringReference":{"type":"string","nullable":true,"maxLength":11,"description":"Recurring Reference (SDO RECURRING_REFERENCE; Optional; precision 0)"},"resubmitInvoicePaymentRequired":{"type":"string","nullable":true,"maxLength":0,"description":"Payment Cloud Identifier (SDO RESUBMIT_INVOICE_PAYMENT_REQUIRED; Optional; precision 0)"},"sendViaEmail":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Sent via TMail - Yes/No (SDO SEND_VIA_EMAIL; Optional; precision 0)"},"settlementDiscRate":{"type":"number","nullable":true,"description":"Settlement discount % rate (SDO SETTLEMENT_DISC_RATE; Optional; precision 2)"},"settlementDueDays":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Settlement days (SDO SETTLEMENT_DUE_DAYS; Optional; precision 0)"},"status":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Order status code (SDO STATUS; Optional; precision 0)"},"takenBy":{"type":"string","nullable":true,"maxLength":60,"description":"Order taken by (SDO TAKEN_BY; Optional; precision 0)"},"totalBytes":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO TOTAL_BYTES; Optional; precision 0)"},"unallocatedNetvalueDiscount":{"type":"number","nullable":true,"description":"Unallocated Net Value Discount Amount (SDO UNALLOCATED_NETVALUE_DISCOUNT; Optional; precision 2)"},"vatRegNumber":{"type":"string","nullable":true,"maxLength":20,"description":"VAT Number (SDO VAT_REG_NUMBER; Optional; precision 0)"},"id":{"type":"string"},"lines":{"type":"array","items":{"type":"object","properties":{"addDiscRate":{"type":"number","nullable":true,"description":"Additional discount percentage rate (SDO ADD_DISC_RATE; Optional; precision 2)"},"baseFullNet":{"type":"number","nullable":true,"description":"Full net value in Base Currency (SDO BASE_FULL_NET; Optional; precision 2)"},"baseNet":{"type":"number","nullable":true,"description":"Net value in Base Currency (SDO BASE_NET; Optional; precision 2)"},"baseNetvalueDiscount":{"type":"number","nullable":true,"description":"Net Value Discount Amount in Base Currency (SDO BASE_NETVALUE_DISCOUNT; Optional; precision 2)"},"baseTax":{"type":"number","nullable":true,"description":"Tax value in Base Currency (SDO BASE_TAX; Optional; precision 2)"},"comment1":{"type":"string","nullable":true,"maxLength":60,"description":"Comment 1 (SDO COMMENT_1; Optional; precision 0)"},"comment2":{"type":"string","nullable":true,"maxLength":60,"description":"Comment 2 (SDO COMMENT_2; Optional; precision 0)"},"costCodeId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Project Cost Code ID (SDO COST_CODE_ID; Optional; precision 0)"},"deliveryDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Delivery date (SDO DELIVERY_DATE; Optional; precision 0)"},"deptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Department number (SDO DEPT_NUMBER; Optional; precision 0)"},"description":{"type":"string","nullable":true,"maxLength":60,"description":"Description (SDO DESCRIPTION; Optional; precision 0)"},"discountAmount":{"type":"number","nullable":true,"description":"Discount amount (SDO DISCOUNT_AMOUNT; Optional; precision 2)"},"discountRate":{"type":"number","nullable":true,"description":"Discount percentage rate (SDO DISCOUNT_RATE; Optional; precision 2)"},"extOrderLineRef":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"External Line Reference for SOP to INV link (SDO EXT_ORDER_LINE_REF; Optional; precision 0)"},"extOrderRef":{"type":"string","nullable":true,"maxLength":30,"description":"External Reference for SOP to INV link (SDO EXT_ORDER_REF; Optional; precision 0)"},"fullNetAmount":{"type":"number","nullable":true,"description":"Full net amount (before discount) (SDO FULL_NET_AMOUNT; Optional; precision 2)"},"fundNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Fund number (SDO FUND_NUMBER; Optional; precision 0)"},"invoiceNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Invoice Number (SDO INVOICE_NUMBER; Optional; precision 0)"},"isNegativeLine":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the invoice item line is a negative line. (SDO IS_NEGATIVE_LINE; Optional; precision 0)"},"itemNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Item Number (SDO ITEM_NUMBER; Optional; precision 0)"},"itemid":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Unique ID (SDO ITEMID; Optional; precision 0)"},"jobReference":{"type":"string","nullable":true,"maxLength":60,"description":"Job Reference (SDO JOB_REFERENCE; Optional; precision 0)"},"netAmount":{"type":"number","nullable":true,"description":"Net amount (after discount) (SDO NET_AMOUNT; Optional; precision 2)"},"netvalueDiscount":{"type":"number","nullable":true,"description":"Net Value Discount Amount (SDO NETVALUE_DISCOUNT; Optional; precision 2)"},"nextItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO NEXT_ITEM; Optional; precision 0)"},"nominalCode":{"type":"string","nullable":true,"maxLength":8,"description":"Nominal code (SDO NOMINAL_CODE; Optional; precision 0)"},"offset":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Offset of Service Text (SDO OFFSET; Optional; precision 0)"},"prevItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO PREV_ITEM; Optional; precision 0)"},"projectId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Project ID (SDO PROJECT_ID; Optional; precision 0)"},"qtyAllocated":{"type":"number","nullable":true,"description":"Quantity allocated for this order (SDO QTY_ALLOCATED; Optional; precision 102)"},"qtyDelivered":{"type":"number","nullable":true,"description":"Quantity previously delivered for this order (SDO QTY_DELIVERED; Optional; precision 102)"},"qtyDespatch":{"type":"number","nullable":true,"description":"Quantity to despatch/despatched on this delivery (SDO QTY_DESPATCH; Optional; precision 102)"},"qtyIntrastatConfirmed":{"type":"number","nullable":true,"description":"Quantity Intrastat Confirmed (SDO QTY_INTRASTAT_CONFIRMED; Optional; precision 102)"},"qtyOrder":{"type":"number","nullable":true,"description":"Quantity ordered (SDO QTY_ORDER; Optional; precision 102)"},"serviceFile":{"type":"string","nullable":true,"maxLength":60,"description":"Redundant - Do not use (SDO SERVICE_FILE; Optional; precision 0)"},"serviceFileSize":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Redundant - Do not use (SDO SERVICE_FILE_SIZE; Optional; precision 0)"},"serviceFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Item Type Flag (SDO SERVICE_FLAG; Optional; precision 0)"},"serviceItemLines":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Redundant - Do not use (SDO SERVICE_ITEM_LINES; Optional; precision 0)"},"stockCode":{"type":"string","nullable":true,"maxLength":30,"description":"Stock code (SDO STOCK_CODE; Required; precision 0)"},"taxAmount":{"type":"number","nullable":true,"description":"Tax amount (SDO TAX_AMOUNT; Optional; precision 2)"},"taxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax code (SDO TAX_CODE; Optional; precision 0)"},"taxFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":" (SDO TAX_FLAG; Optional; precision 0)"},"taxRate":{"type":"number","nullable":true,"description":"Tax rate (SDO TAX_RATE; Optional; precision 2)"},"text":{"type":"string","nullable":true,"maxLength":60,"description":"Service invoice/credit text (SDO TEXT; Optional; precision 0)"},"unitOfSale":{"type":"string","nullable":true,"maxLength":8,"description":"Unit of sale (SDO UNIT_OF_SALE; Optional; precision 0)"},"unitPrice":{"type":"number","nullable":true,"description":"Unit price (SDO UNIT_PRICE; Optional; precision 101)"}},"required":["addDiscRate","baseFullNet","baseNet","baseNetvalueDiscount","baseTax","comment1","comment2","costCodeId","deliveryDate","deptNumber","description","discountAmount","discountRate","extOrderLineRef","extOrderRef","fullNetAmount","fundNumber","invoiceNumber","isNegativeLine","itemNumber","itemid","jobReference","netAmount","netvalueDiscount","nextItem","nominalCode","offset","prevItem","projectId","qtyAllocated","qtyDelivered","qtyDespatch","qtyIntrastatConfirmed","qtyOrder","serviceFile","serviceFileSize","serviceFlag","serviceItemLines","stockCode","taxAmount","taxCode","taxFlag","taxRate","text","unitOfSale","unitPrice"],"additionalProperties":false}}},"required":["accountRef","address1","address2","address3","address4","address5","amountPrepaid","analysis1","analysis2","analysis3","bankCode","baseAmountPaid","baseCarrNet","baseCarrTax","baseNetvalueDiscount","baseSettDiscRate","baseTotNet","baseTotTax","carrDeptNumber","carrNet","carrNomCode","carrTax","carrTaxCode","consignmentRef","contactName","countryCode","courier","currency","currencyUsed","custDiscRate","custOrderNumber","custTelNumber","defTaxCode","delAddress1","delAddress2","delAddress3","delAddress4","delAddress5","deletedFlag","deliveryName","discountComment1","discountComment2","discountType","dunsNumber","emailed","euroGross","euroRate","externalUsage","firstItem","foreignGross","foreignRate","gdnNumber","globalDeptNumber","globalDetails","globalNomCode","globalTaxCode","hasExternalLink","incoterms","invoiceDate","invoiceForeignBalance","invoiceNumber","invoicePaymentId","invoiceTypeCode","itemsNet","itemsTax","lastNetvalueDiscount","lastUpdated","name","netvalueDescription","netvalueDiscount","netvalueDiscountPercent","notes1","notes2","notes3","orderNumber","ossCountryOfVat","ossReportingType","paymentDueDate","paymentOssCountryOfVat","paymentOssReportingType","paymentRef","paymentTaxCode","paymentType","postedCode","practiceSolutionsRefn","printedCode","quoteExpiry","quoteStatus","recordCreateDate","recordDeleted","recordModifyDate","recurringReference","resubmitInvoicePaymentRequired","sendViaEmail","settlementDiscRate","settlementDueDays","status","takenBy","totalBytes","unallocatedNetvalueDiscount","vatRegNumber","id","lines"],"additionalProperties":false},"Uk28_1_invoices_get":{"type":"object","properties":{"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Account reference (SDO ACCOUNT_REF; Required; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 5 (SDO ADDRESS_5; Optional; precision 0)"},"amountPrepaid":{"type":"number","nullable":true,"description":"Amount prepaid (SDO AMOUNT_PREPAID; Optional; precision 2)"},"analysis1":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"bankCode":{"type":"string","nullable":true,"maxLength":8,"description":"Bank posting code (SDO BANK_CODE; Optional; precision 0)"},"baseAmountPaid":{"type":"number","nullable":true,"description":"Base Amount prepaid (SDO BASE_AMOUNT_PAID; Optional; precision 2)"},"baseCarrNet":{"type":"number","nullable":true,"description":"Base Carriage net amount (SDO BASE_CARR_NET; Optional; precision 2)"},"baseCarrTax":{"type":"number","nullable":true,"description":"Base Carriage tax amount (SDO BASE_CARR_TAX; Optional; precision 2)"},"baseNetvalueDiscount":{"type":"number","nullable":true,"description":"Net Value Discount Amount in Base Currency (SDO BASE_NETVALUE_DISCOUNT; Optional; precision 2)"},"baseSettDiscRate":{"type":"number","nullable":true,"description":"Base Settlement discount % rate (SDO BASE_SETT_DISC_RATE; Optional; precision 2)"},"baseTotNet":{"type":"number","nullable":true,"description":"Base Net amount (goods but not carriage) (SDO BASE_TOT_NET; Optional; precision 2)"},"baseTotTax":{"type":"number","nullable":true,"description":"Base Tax amount (goods but not carriage) (SDO BASE_TOT_TAX; Optional; precision 2)"},"carrDeptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Carriage department number (SDO CARR_DEPT_NUMBER; Optional; precision 0)"},"carrNet":{"type":"number","nullable":true,"description":"Carriage net amount (SDO CARR_NET; Optional; precision 2)"},"carrNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Carriage nominal code (SDO CARR_NOM_CODE; Optional; precision 0)"},"carrTax":{"type":"number","nullable":true,"description":"Carriage tax amount (SDO CARR_TAX; Optional; precision 2)"},"carrTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Carriage tax code (SDO CARR_TAX_CODE; Optional; precision 0)"},"consignmentRef":{"type":"string","nullable":true,"maxLength":30,"description":"Consignment Reference (SDO CONSIGNMENT_REF; Optional; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Customer Contact name (SDO CONTACT_NAME; Optional; precision 0)"},"countryCode":{"type":"string","nullable":true,"maxLength":2,"description":"Customer Country code (SDO COUNTRY_CODE; Optional; precision 0)"},"courier":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Courier Number (SDO COURIER; Optional; precision 0)"},"currency":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency (SDO CURRENCY; Optional; precision 0)"},"currencyUsed":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency Used (SDO CURRENCY_USED; Optional; precision 0)"},"custDiscRate":{"type":"number","nullable":true,"description":"Customer Discount (SDO CUST_DISC_RATE; Optional; precision 2)"},"custOrderNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Customer's order number (SDO CUST_ORDER_NUMBER; Optional; precision 0)"},"custTelNumber":{"type":"string","nullable":true,"maxLength":30,"description":"Customer's telephone number (SDO CUST_TEL_NUMBER; Optional; precision 0)"},"defTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Default tax code (SDO DEF_TAX_CODE; Optional; precision 0)"},"delAddress1":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 1 (SDO DEL_ADDRESS_1; Optional; precision 0)"},"delAddress2":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 2 (SDO DEL_ADDRESS_2; Optional; precision 0)"},"delAddress3":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 3 (SDO DEL_ADDRESS_3; Optional; precision 0)"},"delAddress4":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 4 (SDO DEL_ADDRESS_4; Optional; precision 0)"},"delAddress5":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 5 (SDO DEL_ADDRESS_5; Optional; precision 0)"},"deletedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Is Deleted (SDO DELETED_FLAG; Optional; precision 0)"},"deliveryName":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address name (SDO DELIVERY_NAME; Optional; precision 0)"},"discountComment1":{"type":"string","nullable":true,"maxLength":60,"description":"Discount Commment 1 (SDO DISCOUNT_COMMENT1; Optional; precision 0)"},"discountComment2":{"type":"string","nullable":true,"maxLength":60,"description":"Discount Commment 2 (SDO DISCOUNT_COMMENT2; Optional; precision 0)"},"discountType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Discount Type (SDO DISCOUNT_TYPE; Optional; precision 0)"},"dunsNumber":{"type":"string","nullable":true,"maxLength":9,"description":"DUNS credit Reference Number (SDO DUNS_NUMBER; Optional; precision 0)"},"emailed":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Emailed flag - Yes/No (SDO EMAILED; Optional; precision 0)"},"euroGross":{"type":"number","nullable":true,"description":"euro Gross Amount (SDO EURO_GROSS; Optional; precision 6)"},"euroRate":{"type":"number","nullable":true,"description":"euro Rate (SDO EURO_RATE; Optional; precision 6)"},"externalUsage":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Number of External Usages (SDO EXTERNAL_USAGE; Optional; precision 0)"},"firstItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO FIRST_ITEM; Optional; precision 0)"},"foreignGross":{"type":"number","nullable":true,"description":"Foreign Gross Amount (SDO FOREIGN_GROSS; Optional; precision 6)"},"foreignRate":{"type":"number","nullable":true,"description":"Foreign Rate for euro currency (SDO FOREIGN_RATE; Optional; precision 6)"},"gdnNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"GDN Reference (SDO GDN_NUMBER; Optional; precision 0)"},"globalDeptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Global department number (SDO GLOBAL_DEPT_NUMBER; Optional; precision 0)"},"globalDetails":{"type":"string","nullable":true,"maxLength":60,"description":"Global details (SDO GLOBAL_DETAILS; Optional; precision 0)"},"globalNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Global nominal code (SDO GLOBAL_NOM_CODE; Optional; precision 0)"},"globalTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Global tax code (SDO GLOBAL_TAX_CODE; Optional; precision 0)"},"hasExternalLink":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Has External Link (SDO HAS_EXTERNAL_LINK; Optional; precision 0)"},"incoterms":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Incoterms (SDO INCOTERMS; Optional; precision 0)"},"invoiceDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Invoice Date (SDO INVOICE_DATE; Required; precision 0)"},"invoiceForeignBalance":{"type":"number","nullable":true,"description":"Foreign Balance (SDO INVOICE_FOREIGN_BALANCE; Optional; precision 6)"},"invoiceNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Invoice number (SDO INVOICE_NUMBER; Required; precision 0)"},"invoicePaymentId":{"type":"string","nullable":true,"maxLength":37,"description":"Payment Cloud Identifier (SDO INVOICE_PAYMENT_ID; Optional; precision 0)"},"invoiceTypeCode":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Invoice type code (SDO INVOICE_TYPE_CODE; Required; precision 0)"},"itemsNet":{"type":"number","nullable":true,"description":"Net amount (goods but not carriage) (SDO ITEMS_NET; Optional; precision 2)"},"itemsTax":{"type":"number","nullable":true,"description":"Tax amount (goods but not carriage) (SDO ITEMS_TAX; Optional; precision 2)"},"lastNetvalueDiscount":{"type":"number","nullable":true,"description":"Last Net Value Discount Amount (SDO LAST_NETVALUE_DISCOUNT; Optional; precision 2)"},"lastUpdated":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date of last update (SDO LAST_UPDATED; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Account Name (SDO NAME; Optional; precision 0)"},"netvalueDescription":{"type":"string","nullable":true,"maxLength":60,"description":"Net Value Discount Description (SDO NETVALUE_DESCRIPTION; Optional; precision 0)"},"netvalueDiscount":{"type":"number","nullable":true,"description":"Net Value Discount Amount (SDO NETVALUE_DISCOUNT; Optional; precision 2)"},"netvalueDiscountPercent":{"type":"number","nullable":true,"description":"Net Value Discount Percentage (SDO NETVALUE_DISCOUNT_PERCENT; Optional; precision 2)"},"notes1":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 1 (SDO NOTES_1; Optional; precision 0)"},"notes2":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 2 (SDO NOTES_2; Optional; precision 0)"},"notes3":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 3 (SDO NOTES_3; Optional; precision 0)"},"orderNumber":{"type":"string","nullable":true,"maxLength":7,"description":"Corresponding order number (SDO ORDER_NUMBER; Required; precision 0)"},"ossCountryOfVat":{"type":"string","nullable":true,"maxLength":2,"description":"Country of VAT (SDO OSS_COUNTRY_OF_VAT; Optional; precision 0)"},"ossReportingType":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Report type (SDO OSS_REPORTING_TYPE; Optional; precision 0)"},"paymentDueDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Invoice Payment Due Date (SDO PAYMENT_DUE_DATE; Optional; precision 0)"},"paymentOssCountryOfVat":{"type":"string","nullable":true,"maxLength":2,"description":"Payment Country of VAT (SDO PAYMENT_OSS_COUNTRY_OF_VAT; Optional; precision 0)"},"paymentOssReportingType":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Payment Report type (SDO PAYMENT_OSS_REPORTING_TYPE; Optional; precision 0)"},"paymentRef":{"type":"string","nullable":true,"maxLength":30,"description":"Payment reference (SDO PAYMENT_REF; Optional; precision 0)"},"paymentTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Payment tax code (SDO PAYMENT_TAX_CODE; Optional; precision 0)"},"paymentType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Payment Type (SR/SA) (SDO PAYMENT_TYPE; Optional; precision 0)"},"postedCode":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Posted flag - Yes/No (SDO POSTED_CODE; Optional; precision 0)"},"practiceSolutionsRefn":{"type":"string","nullable":true,"maxLength":60,"description":"Sage Practice Solutions Reference (SDO PRACTICE_SOLUTIONS_REFN; Optional; precision 0)"},"printedCode":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Printed flag - Yes/No (SDO PRINTED_CODE; Optional; precision 0)"},"quoteExpiry":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Quote Expiry (SDO QUOTE_EXPIRY; Optional; precision 0)"},"quoteStatus":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Quote Status (SDO QUOTE_STATUS; Optional; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"recurringReference":{"type":"string","nullable":true,"maxLength":11,"description":"Recurring Reference (SDO RECURRING_REFERENCE; Optional; precision 0)"},"resubmitInvoicePaymentRequired":{"type":"string","nullable":true,"maxLength":0,"description":"Payment Cloud Identifier (SDO RESUBMIT_INVOICE_PAYMENT_REQUIRED; Optional; precision 0)"},"sendViaEmail":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Sent via TMail - Yes/No (SDO SEND_VIA_EMAIL; Optional; precision 0)"},"settlementDiscRate":{"type":"number","nullable":true,"description":"Settlement discount % rate (SDO SETTLEMENT_DISC_RATE; Optional; precision 2)"},"settlementDueDays":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Settlement days (SDO SETTLEMENT_DUE_DAYS; Optional; precision 0)"},"status":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Order status code (SDO STATUS; Optional; precision 0)"},"takenBy":{"type":"string","nullable":true,"maxLength":60,"description":"Order taken by (SDO TAKEN_BY; Optional; precision 0)"},"totalBytes":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO TOTAL_BYTES; Optional; precision 0)"},"unallocatedNetvalueDiscount":{"type":"number","nullable":true,"description":"Unallocated Net Value Discount Amount (SDO UNALLOCATED_NETVALUE_DISCOUNT; Optional; precision 2)"},"vatRegNumber":{"type":"string","nullable":true,"maxLength":20,"description":"VAT Number (SDO VAT_REG_NUMBER; Optional; precision 0)"},"id":{"type":"string"},"lines":{"type":"array","items":{"type":"object","properties":{"addDiscRate":{"type":"number","nullable":true,"description":"Additional discount percentage rate (SDO ADD_DISC_RATE; Optional; precision 2)"},"baseFullNet":{"type":"number","nullable":true,"description":"Full net value in Base Currency (SDO BASE_FULL_NET; Optional; precision 2)"},"baseNet":{"type":"number","nullable":true,"description":"Net value in Base Currency (SDO BASE_NET; Optional; precision 2)"},"baseNetvalueDiscount":{"type":"number","nullable":true,"description":"Net Value Discount Amount in Base Currency (SDO BASE_NETVALUE_DISCOUNT; Optional; precision 2)"},"baseTax":{"type":"number","nullable":true,"description":"Tax value in Base Currency (SDO BASE_TAX; Optional; precision 2)"},"comment1":{"type":"string","nullable":true,"maxLength":60,"description":"Comment 1 (SDO COMMENT_1; Optional; precision 0)"},"comment2":{"type":"string","nullable":true,"maxLength":60,"description":"Comment 2 (SDO COMMENT_2; Optional; precision 0)"},"costCodeId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Project Cost Code ID (SDO COST_CODE_ID; Optional; precision 0)"},"deliveryDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Delivery date (SDO DELIVERY_DATE; Optional; precision 0)"},"deptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Department number (SDO DEPT_NUMBER; Optional; precision 0)"},"description":{"type":"string","nullable":true,"maxLength":60,"description":"Description (SDO DESCRIPTION; Optional; precision 0)"},"discountAmount":{"type":"number","nullable":true,"description":"Discount amount (SDO DISCOUNT_AMOUNT; Optional; precision 2)"},"discountRate":{"type":"number","nullable":true,"description":"Discount percentage rate (SDO DISCOUNT_RATE; Optional; precision 2)"},"extOrderLineRef":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"External Line Reference for SOP to INV link (SDO EXT_ORDER_LINE_REF; Optional; precision 0)"},"extOrderRef":{"type":"string","nullable":true,"maxLength":30,"description":"External Reference for SOP to INV link (SDO EXT_ORDER_REF; Optional; precision 0)"},"fullNetAmount":{"type":"number","nullable":true,"description":"Full net amount (before discount) (SDO FULL_NET_AMOUNT; Optional; precision 2)"},"fundNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Fund number (SDO FUND_NUMBER; Optional; precision 0)"},"invoiceNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Invoice Number (SDO INVOICE_NUMBER; Optional; precision 0)"},"isNegativeLine":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the invoice item line is a negative line. (SDO IS_NEGATIVE_LINE; Optional; precision 0)"},"itemNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Item Number (SDO ITEM_NUMBER; Optional; precision 0)"},"itemid":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Unique ID (SDO ITEMID; Optional; precision 0)"},"jobReference":{"type":"string","nullable":true,"maxLength":60,"description":"Job Reference (SDO JOB_REFERENCE; Optional; precision 0)"},"netAmount":{"type":"number","nullable":true,"description":"Net amount (after discount) (SDO NET_AMOUNT; Optional; precision 2)"},"netvalueDiscount":{"type":"number","nullable":true,"description":"Net Value Discount Amount (SDO NETVALUE_DISCOUNT; Optional; precision 2)"},"nextItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO NEXT_ITEM; Optional; precision 0)"},"nominalCode":{"type":"string","nullable":true,"maxLength":8,"description":"Nominal code (SDO NOMINAL_CODE; Optional; precision 0)"},"offset":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Offset of Service Text (SDO OFFSET; Optional; precision 0)"},"prevItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO PREV_ITEM; Optional; precision 0)"},"projectId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Project ID (SDO PROJECT_ID; Optional; precision 0)"},"qtyAllocated":{"type":"number","nullable":true,"description":"Quantity allocated for this order (SDO QTY_ALLOCATED; Optional; precision 102)"},"qtyDelivered":{"type":"number","nullable":true,"description":"Quantity previously delivered for this order (SDO QTY_DELIVERED; Optional; precision 102)"},"qtyDespatch":{"type":"number","nullable":true,"description":"Quantity to despatch/despatched on this delivery (SDO QTY_DESPATCH; Optional; precision 102)"},"qtyIntrastatConfirmed":{"type":"number","nullable":true,"description":"Quantity Intrastat Confirmed (SDO QTY_INTRASTAT_CONFIRMED; Optional; precision 102)"},"qtyOrder":{"type":"number","nullable":true,"description":"Quantity ordered (SDO QTY_ORDER; Optional; precision 102)"},"serviceFile":{"type":"string","nullable":true,"maxLength":60,"description":"Redundant - Do not use (SDO SERVICE_FILE; Optional; precision 0)"},"serviceFileSize":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Redundant - Do not use (SDO SERVICE_FILE_SIZE; Optional; precision 0)"},"serviceFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Item Type Flag (SDO SERVICE_FLAG; Optional; precision 0)"},"serviceItemLines":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Redundant - Do not use (SDO SERVICE_ITEM_LINES; Optional; precision 0)"},"stockCode":{"type":"string","nullable":true,"maxLength":30,"description":"Stock code (SDO STOCK_CODE; Required; precision 0)"},"taxAmount":{"type":"number","nullable":true,"description":"Tax amount (SDO TAX_AMOUNT; Optional; precision 2)"},"taxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax code (SDO TAX_CODE; Optional; precision 0)"},"taxFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":" (SDO TAX_FLAG; Optional; precision 0)"},"taxRate":{"type":"number","nullable":true,"description":"Tax rate (SDO TAX_RATE; Optional; precision 2)"},"text":{"type":"string","nullable":true,"maxLength":60,"description":"Service invoice/credit text (SDO TEXT; Optional; precision 0)"},"unitOfSale":{"type":"string","nullable":true,"maxLength":8,"description":"Unit of sale (SDO UNIT_OF_SALE; Optional; precision 0)"},"unitPrice":{"type":"number","nullable":true,"description":"Unit price (SDO UNIT_PRICE; Optional; precision 101)"}},"required":["addDiscRate","baseFullNet","baseNet","baseNetvalueDiscount","baseTax","comment1","comment2","costCodeId","deliveryDate","deptNumber","description","discountAmount","discountRate","extOrderLineRef","extOrderRef","fullNetAmount","fundNumber","invoiceNumber","isNegativeLine","itemNumber","itemid","jobReference","netAmount","netvalueDiscount","nextItem","nominalCode","offset","prevItem","projectId","qtyAllocated","qtyDelivered","qtyDespatch","qtyIntrastatConfirmed","qtyOrder","serviceFile","serviceFileSize","serviceFlag","serviceItemLines","stockCode","taxAmount","taxCode","taxFlag","taxRate","text","unitOfSale","unitPrice"],"additionalProperties":false}}},"required":["accountRef","address1","address2","address3","address4","address5","amountPrepaid","analysis1","analysis2","analysis3","bankCode","baseAmountPaid","baseCarrNet","baseCarrTax","baseNetvalueDiscount","baseSettDiscRate","baseTotNet","baseTotTax","carrDeptNumber","carrNet","carrNomCode","carrTax","carrTaxCode","consignmentRef","contactName","countryCode","courier","currency","currencyUsed","custDiscRate","custOrderNumber","custTelNumber","defTaxCode","delAddress1","delAddress2","delAddress3","delAddress4","delAddress5","deletedFlag","deliveryName","discountComment1","discountComment2","discountType","dunsNumber","emailed","euroGross","euroRate","externalUsage","firstItem","foreignGross","foreignRate","gdnNumber","globalDeptNumber","globalDetails","globalNomCode","globalTaxCode","hasExternalLink","incoterms","invoiceDate","invoiceForeignBalance","invoiceNumber","invoicePaymentId","invoiceTypeCode","itemsNet","itemsTax","lastNetvalueDiscount","lastUpdated","name","netvalueDescription","netvalueDiscount","netvalueDiscountPercent","notes1","notes2","notes3","orderNumber","ossCountryOfVat","ossReportingType","paymentDueDate","paymentOssCountryOfVat","paymentOssReportingType","paymentRef","paymentTaxCode","paymentType","postedCode","practiceSolutionsRefn","printedCode","quoteExpiry","quoteStatus","recordCreateDate","recordDeleted","recordModifyDate","recurringReference","resubmitInvoicePaymentRequired","sendViaEmail","settlementDiscRate","settlementDueDays","status","takenBy","totalBytes","unallocatedNetvalueDiscount","vatRegNumber","id","lines"],"additionalProperties":false},"Uk29_2_invoices_get":{"type":"object","properties":{"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Account reference (SDO ACCOUNT_REF; Required; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 5 (SDO ADDRESS_5; Optional; precision 0)"},"amountPrepaid":{"type":"number","nullable":true,"description":"Amount prepaid (SDO AMOUNT_PREPAID; Optional; precision 2)"},"analysis1":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"bankCode":{"type":"string","nullable":true,"maxLength":8,"description":"Bank posting code (SDO BANK_CODE; Optional; precision 0)"},"baseAmountPaid":{"type":"number","nullable":true,"description":"Base Amount prepaid (SDO BASE_AMOUNT_PAID; Optional; precision 2)"},"baseCarrNet":{"type":"number","nullable":true,"description":"Base Carriage net amount (SDO BASE_CARR_NET; Optional; precision 2)"},"baseCarrTax":{"type":"number","nullable":true,"description":"Base Carriage tax amount (SDO BASE_CARR_TAX; Optional; precision 2)"},"baseNetvalueDiscount":{"type":"number","nullable":true,"description":"Net Value Discount Amount in Base Currency (SDO BASE_NETVALUE_DISCOUNT; Optional; precision 2)"},"baseSettDiscRate":{"type":"number","nullable":true,"description":"Base Settlement discount % rate (SDO BASE_SETT_DISC_RATE; Optional; precision 2)"},"baseTotNet":{"type":"number","nullable":true,"description":"Base Net amount (goods but not carriage) (SDO BASE_TOT_NET; Optional; precision 2)"},"baseTotTax":{"type":"number","nullable":true,"description":"Base Tax amount (goods but not carriage) (SDO BASE_TOT_TAX; Optional; precision 2)"},"carrDeptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Carriage department number (SDO CARR_DEPT_NUMBER; Optional; precision 0)"},"carrNet":{"type":"number","nullable":true,"description":"Carriage net amount (SDO CARR_NET; Optional; precision 2)"},"carrNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Carriage nominal code (SDO CARR_NOM_CODE; Optional; precision 0)"},"carrTax":{"type":"number","nullable":true,"description":"Carriage tax amount (SDO CARR_TAX; Optional; precision 2)"},"carrTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Carriage tax code (SDO CARR_TAX_CODE; Optional; precision 0)"},"consignmentRef":{"type":"string","nullable":true,"maxLength":30,"description":"Consignment Reference (SDO CONSIGNMENT_REF; Optional; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Customer Contact name (SDO CONTACT_NAME; Optional; precision 0)"},"countryCode":{"type":"string","nullable":true,"maxLength":2,"description":"Customer Country code (SDO COUNTRY_CODE; Optional; precision 0)"},"courier":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Courier Number (SDO COURIER; Optional; precision 0)"},"currency":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency (SDO CURRENCY; Optional; precision 0)"},"currencyUsed":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency Used (SDO CURRENCY_USED; Optional; precision 0)"},"custDiscRate":{"type":"number","nullable":true,"description":"Customer Discount (SDO CUST_DISC_RATE; Optional; precision 2)"},"custOrderNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Customer's order number (SDO CUST_ORDER_NUMBER; Optional; precision 0)"},"custTelNumber":{"type":"string","nullable":true,"maxLength":30,"description":"Customer's telephone number (SDO CUST_TEL_NUMBER; Optional; precision 0)"},"defTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Default tax code (SDO DEF_TAX_CODE; Optional; precision 0)"},"delAddress1":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 1 (SDO DEL_ADDRESS_1; Optional; precision 0)"},"delAddress2":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 2 (SDO DEL_ADDRESS_2; Optional; precision 0)"},"delAddress3":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 3 (SDO DEL_ADDRESS_3; Optional; precision 0)"},"delAddress4":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 4 (SDO DEL_ADDRESS_4; Optional; precision 0)"},"delAddress5":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 5 (SDO DEL_ADDRESS_5; Optional; precision 0)"},"deletedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Is Deleted (SDO DELETED_FLAG; Optional; precision 0)"},"deliveryName":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address name (SDO DELIVERY_NAME; Optional; precision 0)"},"discountComment1":{"type":"string","nullable":true,"maxLength":60,"description":"Discount Commment 1 (SDO DISCOUNT_COMMENT1; Optional; precision 0)"},"discountComment2":{"type":"string","nullable":true,"maxLength":60,"description":"Discount Commment 2 (SDO DISCOUNT_COMMENT2; Optional; precision 0)"},"discountType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Discount Type (SDO DISCOUNT_TYPE; Optional; precision 0)"},"dunsNumber":{"type":"string","nullable":true,"maxLength":9,"description":"DUNS credit Reference Number (SDO DUNS_NUMBER; Optional; precision 0)"},"emailed":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Emailed flag - Yes/No (SDO EMAILED; Optional; precision 0)"},"eoriNumber":{"type":"string","nullable":true,"maxLength":17,"description":"Delivery address EORI Number (SDO EORI_NUMBER; Optional; precision 0)"},"euroGross":{"type":"number","nullable":true,"description":"euro Gross Amount (SDO EURO_GROSS; Optional; precision 6)"},"euroRate":{"type":"number","nullable":true,"description":"euro Rate (SDO EURO_RATE; Optional; precision 6)"},"externalUsage":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Number of External Usages (SDO EXTERNAL_USAGE; Optional; precision 0)"},"firstItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO FIRST_ITEM; Optional; precision 0)"},"foreignGross":{"type":"number","nullable":true,"description":"Foreign Gross Amount (SDO FOREIGN_GROSS; Optional; precision 6)"},"foreignRate":{"type":"number","nullable":true,"description":"Foreign Rate for euro currency (SDO FOREIGN_RATE; Optional; precision 6)"},"gdnNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"GDN Reference (SDO GDN_NUMBER; Optional; precision 0)"},"globalDeptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Global department number (SDO GLOBAL_DEPT_NUMBER; Optional; precision 0)"},"globalDetails":{"type":"string","nullable":true,"maxLength":60,"description":"Global details (SDO GLOBAL_DETAILS; Optional; precision 0)"},"globalNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Global nominal code (SDO GLOBAL_NOM_CODE; Optional; precision 0)"},"globalTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Global tax code (SDO GLOBAL_TAX_CODE; Optional; precision 0)"},"hasExternalLink":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Has External Link (SDO HAS_EXTERNAL_LINK; Optional; precision 0)"},"incoterms":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Incoterms (SDO INCOTERMS; Optional; precision 0)"},"invoiceDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Invoice Date (SDO INVOICE_DATE; Required; precision 0)"},"invoiceForeignBalance":{"type":"number","nullable":true,"description":"Foreign Balance (SDO INVOICE_FOREIGN_BALANCE; Optional; precision 6)"},"invoiceNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Invoice number (SDO INVOICE_NUMBER; Required; precision 0)"},"invoicePaymentId":{"type":"string","nullable":true,"maxLength":37,"description":"Payment Cloud Identifier (SDO INVOICE_PAYMENT_ID; Optional; precision 0)"},"invoiceTypeCode":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Invoice type code (SDO INVOICE_TYPE_CODE; Required; precision 0)"},"itemsNet":{"type":"number","nullable":true,"description":"Net amount (goods but not carriage) (SDO ITEMS_NET; Optional; precision 2)"},"itemsTax":{"type":"number","nullable":true,"description":"Tax amount (goods but not carriage) (SDO ITEMS_TAX; Optional; precision 2)"},"lastNetvalueDiscount":{"type":"number","nullable":true,"description":"Last Net Value Discount Amount (SDO LAST_NETVALUE_DISCOUNT; Optional; precision 2)"},"lastUpdated":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date of last update (SDO LAST_UPDATED; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Account Name (SDO NAME; Optional; precision 0)"},"netvalueDescription":{"type":"string","nullable":true,"maxLength":60,"description":"Net Value Discount Description (SDO NETVALUE_DESCRIPTION; Optional; precision 0)"},"netvalueDiscount":{"type":"number","nullable":true,"description":"Net Value Discount Amount (SDO NETVALUE_DISCOUNT; Optional; precision 2)"},"netvalueDiscountPercent":{"type":"number","nullable":true,"description":"Net Value Discount Percentage (SDO NETVALUE_DISCOUNT_PERCENT; Optional; precision 2)"},"notes1":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 1 (SDO NOTES_1; Optional; precision 0)"},"notes2":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 2 (SDO NOTES_2; Optional; precision 0)"},"notes3":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 3 (SDO NOTES_3; Optional; precision 0)"},"orderNumber":{"type":"string","nullable":true,"maxLength":7,"description":"Corresponding order number (SDO ORDER_NUMBER; Required; precision 0)"},"ossCountryOfVat":{"type":"string","nullable":true,"maxLength":2,"description":"Country of VAT (SDO OSS_COUNTRY_OF_VAT; Optional; precision 0)"},"ossReportingType":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Report type (SDO OSS_REPORTING_TYPE; Optional; precision 0)"},"paymentDueDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Invoice Payment Due Date (SDO PAYMENT_DUE_DATE; Optional; precision 0)"},"paymentOssCountryOfVat":{"type":"string","nullable":true,"maxLength":2,"description":"Payment Country of VAT (SDO PAYMENT_OSS_COUNTRY_OF_VAT; Optional; precision 0)"},"paymentOssReportingType":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Payment Report type (SDO PAYMENT_OSS_REPORTING_TYPE; Optional; precision 0)"},"paymentRef":{"type":"string","nullable":true,"maxLength":30,"description":"Payment reference (SDO PAYMENT_REF; Optional; precision 0)"},"paymentTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Payment tax code (SDO PAYMENT_TAX_CODE; Optional; precision 0)"},"paymentType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Payment Type (SR/SA) (SDO PAYMENT_TYPE; Optional; precision 0)"},"postedCode":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Posted flag - Yes/No (SDO POSTED_CODE; Optional; precision 0)"},"practiceSolutionsRefn":{"type":"string","nullable":true,"maxLength":60,"description":"Sage Practice Solutions Reference (SDO PRACTICE_SOLUTIONS_REFN; Optional; precision 0)"},"printedCode":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Printed flag - Yes/No (SDO PRINTED_CODE; Optional; precision 0)"},"quoteExpiry":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Quote Expiry (SDO QUOTE_EXPIRY; Optional; precision 0)"},"quoteStatus":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Quote Status (SDO QUOTE_STATUS; Optional; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"recurringReference":{"type":"string","nullable":true,"maxLength":11,"description":"Recurring Reference (SDO RECURRING_REFERENCE; Optional; precision 0)"},"resubmitInvoicePaymentRequired":{"type":"string","nullable":true,"maxLength":0,"description":"Payment Cloud Identifier (SDO RESUBMIT_INVOICE_PAYMENT_REQUIRED; Optional; precision 0)"},"sendViaEmail":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Sent via TMail - Yes/No (SDO SEND_VIA_EMAIL; Optional; precision 0)"},"settlementDiscRate":{"type":"number","nullable":true,"description":"Settlement discount % rate (SDO SETTLEMENT_DISC_RATE; Optional; precision 2)"},"settlementDueDays":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Settlement days (SDO SETTLEMENT_DUE_DAYS; Optional; precision 0)"},"status":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Order status code (SDO STATUS; Optional; precision 0)"},"takenBy":{"type":"string","nullable":true,"maxLength":60,"description":"Order taken by (SDO TAKEN_BY; Optional; precision 0)"},"totalBytes":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO TOTAL_BYTES; Optional; precision 0)"},"unallocatedNetvalueDiscount":{"type":"number","nullable":true,"description":"Unallocated Net Value Discount Amount (SDO UNALLOCATED_NETVALUE_DISCOUNT; Optional; precision 2)"},"vatRegNumber":{"type":"string","nullable":true,"maxLength":20,"description":"VAT Number (SDO VAT_REG_NUMBER; Optional; precision 0)"},"id":{"type":"string"},"lines":{"type":"array","items":{"type":"object","properties":{"addDiscRate":{"type":"number","nullable":true,"description":"Additional discount percentage rate (SDO ADD_DISC_RATE; Optional; precision 2)"},"baseFullNet":{"type":"number","nullable":true,"description":"Full net value in Base Currency (SDO BASE_FULL_NET; Optional; precision 2)"},"baseNet":{"type":"number","nullable":true,"description":"Net value in Base Currency (SDO BASE_NET; Optional; precision 2)"},"baseNetvalueDiscount":{"type":"number","nullable":true,"description":"Net Value Discount Amount in Base Currency (SDO BASE_NETVALUE_DISCOUNT; Optional; precision 2)"},"baseTax":{"type":"number","nullable":true,"description":"Tax value in Base Currency (SDO BASE_TAX; Optional; precision 2)"},"comment1":{"type":"string","nullable":true,"maxLength":60,"description":"Comment 1 (SDO COMMENT_1; Optional; precision 0)"},"comment2":{"type":"string","nullable":true,"maxLength":60,"description":"Comment 2 (SDO COMMENT_2; Optional; precision 0)"},"costCodeId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Project Cost Code ID (SDO COST_CODE_ID; Optional; precision 0)"},"deliveryDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Delivery date (SDO DELIVERY_DATE; Optional; precision 0)"},"deptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Department number (SDO DEPT_NUMBER; Optional; precision 0)"},"description":{"type":"string","nullable":true,"maxLength":120,"description":"Description (SDO DESCRIPTION; Optional; precision 0)"},"discountAmount":{"type":"number","nullable":true,"description":"Discount amount (SDO DISCOUNT_AMOUNT; Optional; precision 2)"},"discountRate":{"type":"number","nullable":true,"description":"Discount percentage rate (SDO DISCOUNT_RATE; Optional; precision 2)"},"extOrderLineRef":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"External Line Reference for SOP to INV link (SDO EXT_ORDER_LINE_REF; Optional; precision 0)"},"extOrderRef":{"type":"string","nullable":true,"maxLength":30,"description":"External Reference for SOP to INV link (SDO EXT_ORDER_REF; Optional; precision 0)"},"fullNetAmount":{"type":"number","nullable":true,"description":"Full net amount (before discount) (SDO FULL_NET_AMOUNT; Optional; precision 2)"},"fundNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Fund number (SDO FUND_NUMBER; Optional; precision 0)"},"invoiceNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Invoice Number (SDO INVOICE_NUMBER; Optional; precision 0)"},"isNegativeLine":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the invoice item line is a negative line. (SDO IS_NEGATIVE_LINE; Optional; precision 0)"},"itemNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Item Number (SDO ITEM_NUMBER; Optional; precision 0)"},"itemid":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Unique ID (SDO ITEMID; Optional; precision 0)"},"jobReference":{"type":"string","nullable":true,"maxLength":60,"description":"Job Reference (SDO JOB_REFERENCE; Optional; precision 0)"},"netAmount":{"type":"number","nullable":true,"description":"Net amount (after discount) (SDO NET_AMOUNT; Optional; precision 2)"},"netvalueDiscount":{"type":"number","nullable":true,"description":"Net Value Discount Amount (SDO NETVALUE_DISCOUNT; Optional; precision 2)"},"nextItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO NEXT_ITEM; Optional; precision 0)"},"nominalCode":{"type":"string","nullable":true,"maxLength":8,"description":"Nominal code (SDO NOMINAL_CODE; Optional; precision 0)"},"offset":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Offset of Service Text (SDO OFFSET; Optional; precision 0)"},"prevItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO PREV_ITEM; Optional; precision 0)"},"projectId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Project ID (SDO PROJECT_ID; Optional; precision 0)"},"qtyAllocated":{"type":"number","nullable":true,"description":"Quantity allocated for this order (SDO QTY_ALLOCATED; Optional; precision 102)"},"qtyDelivered":{"type":"number","nullable":true,"description":"Quantity previously delivered for this order (SDO QTY_DELIVERED; Optional; precision 102)"},"qtyDespatch":{"type":"number","nullable":true,"description":"Quantity to despatch/despatched on this delivery (SDO QTY_DESPATCH; Optional; precision 102)"},"qtyIntrastatConfirmed":{"type":"number","nullable":true,"description":"Quantity Intrastat Confirmed (SDO QTY_INTRASTAT_CONFIRMED; Optional; precision 102)"},"qtyOrder":{"type":"number","nullable":true,"description":"Quantity ordered (SDO QTY_ORDER; Optional; precision 102)"},"serviceFile":{"type":"string","nullable":true,"maxLength":120,"description":"Redundant - Do not use (SDO SERVICE_FILE; Optional; precision 0)"},"serviceFileSize":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Redundant - Do not use (SDO SERVICE_FILE_SIZE; Optional; precision 0)"},"serviceFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Item Type Flag (SDO SERVICE_FLAG; Optional; precision 0)"},"serviceItemLines":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Redundant - Do not use (SDO SERVICE_ITEM_LINES; Optional; precision 0)"},"stockCode":{"type":"string","nullable":true,"maxLength":30,"description":"Stock code (SDO STOCK_CODE; Required; precision 0)"},"taxAmount":{"type":"number","nullable":true,"description":"Tax amount (SDO TAX_AMOUNT; Optional; precision 2)"},"taxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax code (SDO TAX_CODE; Optional; precision 0)"},"taxFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":" (SDO TAX_FLAG; Optional; precision 0)"},"taxRate":{"type":"number","nullable":true,"description":"Tax rate (SDO TAX_RATE; Optional; precision 2)"},"text":{"type":"string","nullable":true,"maxLength":120,"description":"Service invoice/credit text (SDO TEXT; Optional; precision 0)"},"unitOfSale":{"type":"string","nullable":true,"maxLength":8,"description":"Unit of sale (SDO UNIT_OF_SALE; Optional; precision 0)"},"unitPrice":{"type":"number","nullable":true,"description":"Unit price (SDO UNIT_PRICE; Optional; precision 101)"}},"required":["addDiscRate","baseFullNet","baseNet","baseNetvalueDiscount","baseTax","comment1","comment2","costCodeId","deliveryDate","deptNumber","description","discountAmount","discountRate","extOrderLineRef","extOrderRef","fullNetAmount","fundNumber","invoiceNumber","isNegativeLine","itemNumber","itemid","jobReference","netAmount","netvalueDiscount","nextItem","nominalCode","offset","prevItem","projectId","qtyAllocated","qtyDelivered","qtyDespatch","qtyIntrastatConfirmed","qtyOrder","serviceFile","serviceFileSize","serviceFlag","serviceItemLines","stockCode","taxAmount","taxCode","taxFlag","taxRate","text","unitOfSale","unitPrice"],"additionalProperties":false}}},"required":["accountRef","address1","address2","address3","address4","address5","amountPrepaid","analysis1","analysis2","analysis3","bankCode","baseAmountPaid","baseCarrNet","baseCarrTax","baseNetvalueDiscount","baseSettDiscRate","baseTotNet","baseTotTax","carrDeptNumber","carrNet","carrNomCode","carrTax","carrTaxCode","consignmentRef","contactName","countryCode","courier","currency","currencyUsed","custDiscRate","custOrderNumber","custTelNumber","defTaxCode","delAddress1","delAddress2","delAddress3","delAddress4","delAddress5","deletedFlag","deliveryName","discountComment1","discountComment2","discountType","dunsNumber","emailed","eoriNumber","euroGross","euroRate","externalUsage","firstItem","foreignGross","foreignRate","gdnNumber","globalDeptNumber","globalDetails","globalNomCode","globalTaxCode","hasExternalLink","incoterms","invoiceDate","invoiceForeignBalance","invoiceNumber","invoicePaymentId","invoiceTypeCode","itemsNet","itemsTax","lastNetvalueDiscount","lastUpdated","name","netvalueDescription","netvalueDiscount","netvalueDiscountPercent","notes1","notes2","notes3","orderNumber","ossCountryOfVat","ossReportingType","paymentDueDate","paymentOssCountryOfVat","paymentOssReportingType","paymentRef","paymentTaxCode","paymentType","postedCode","practiceSolutionsRefn","printedCode","quoteExpiry","quoteStatus","recordCreateDate","recordDeleted","recordModifyDate","recurringReference","resubmitInvoicePaymentRequired","sendViaEmail","settlementDiscRate","settlementDueDays","status","takenBy","totalBytes","unallocatedNetvalueDiscount","vatRegNumber","id","lines"],"additionalProperties":false},"Uk30_1_invoices_get":{"type":"object","properties":{"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Account reference (SDO ACCOUNT_REF; Required; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 5 (SDO ADDRESS_5; Optional; precision 0)"},"amountPrepaid":{"type":"number","nullable":true,"description":"Amount prepaid (SDO AMOUNT_PREPAID; Optional; precision 2)"},"analysis1":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"bankCode":{"type":"string","nullable":true,"maxLength":8,"description":"Bank posting code (SDO BANK_CODE; Optional; precision 0)"},"baseAmountPaid":{"type":"number","nullable":true,"description":"Base Amount prepaid (SDO BASE_AMOUNT_PAID; Optional; precision 2)"},"baseCarrNet":{"type":"number","nullable":true,"description":"Base Carriage net amount (SDO BASE_CARR_NET; Optional; precision 2)"},"baseCarrTax":{"type":"number","nullable":true,"description":"Base Carriage tax amount (SDO BASE_CARR_TAX; Optional; precision 2)"},"baseNetvalueDiscount":{"type":"number","nullable":true,"description":"Net Value Discount Amount in Base Currency (SDO BASE_NETVALUE_DISCOUNT; Optional; precision 2)"},"baseSettDiscRate":{"type":"number","nullable":true,"description":"Base Settlement discount % rate (SDO BASE_SETT_DISC_RATE; Optional; precision 2)"},"baseTotNet":{"type":"number","nullable":true,"description":"Base Net amount (goods but not carriage) (SDO BASE_TOT_NET; Optional; precision 2)"},"baseTotTax":{"type":"number","nullable":true,"description":"Base Tax amount (goods but not carriage) (SDO BASE_TOT_TAX; Optional; precision 2)"},"carrDeptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Carriage department number (SDO CARR_DEPT_NUMBER; Optional; precision 0)"},"carrNet":{"type":"number","nullable":true,"description":"Carriage net amount (SDO CARR_NET; Optional; precision 2)"},"carrNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Carriage nominal code (SDO CARR_NOM_CODE; Optional; precision 0)"},"carrTax":{"type":"number","nullable":true,"description":"Carriage tax amount (SDO CARR_TAX; Optional; precision 2)"},"carrTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Carriage tax code (SDO CARR_TAX_CODE; Optional; precision 0)"},"consignmentRef":{"type":"string","nullable":true,"maxLength":30,"description":"Consignment Reference (SDO CONSIGNMENT_REF; Optional; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Customer Contact name (SDO CONTACT_NAME; Optional; precision 0)"},"countryCode":{"type":"string","nullable":true,"maxLength":2,"description":"Customer Country code (SDO COUNTRY_CODE; Optional; precision 0)"},"courier":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Courier Number (SDO COURIER; Optional; precision 0)"},"currency":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency (SDO CURRENCY; Optional; precision 0)"},"currencyUsed":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency Used (SDO CURRENCY_USED; Optional; precision 0)"},"custDiscRate":{"type":"number","nullable":true,"description":"Customer Discount (SDO CUST_DISC_RATE; Optional; precision 2)"},"custOrderNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Customer's order number (SDO CUST_ORDER_NUMBER; Optional; precision 0)"},"custTelNumber":{"type":"string","nullable":true,"maxLength":30,"description":"Customer's telephone number (SDO CUST_TEL_NUMBER; Optional; precision 0)"},"defTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Default tax code (SDO DEF_TAX_CODE; Optional; precision 0)"},"delAddress1":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 1 (SDO DEL_ADDRESS_1; Optional; precision 0)"},"delAddress2":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 2 (SDO DEL_ADDRESS_2; Optional; precision 0)"},"delAddress3":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 3 (SDO DEL_ADDRESS_3; Optional; precision 0)"},"delAddress4":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 4 (SDO DEL_ADDRESS_4; Optional; precision 0)"},"delAddress5":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 5 (SDO DEL_ADDRESS_5; Optional; precision 0)"},"deletedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Is Deleted (SDO DELETED_FLAG; Optional; precision 0)"},"deliveryName":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address name (SDO DELIVERY_NAME; Optional; precision 0)"},"discountComment1":{"type":"string","nullable":true,"maxLength":60,"description":"Discount Commment 1 (SDO DISCOUNT_COMMENT1; Optional; precision 0)"},"discountComment2":{"type":"string","nullable":true,"maxLength":60,"description":"Discount Commment 2 (SDO DISCOUNT_COMMENT2; Optional; precision 0)"},"discountType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Discount Type (SDO DISCOUNT_TYPE; Optional; precision 0)"},"dunsNumber":{"type":"string","nullable":true,"maxLength":9,"description":"DUNS credit Reference Number (SDO DUNS_NUMBER; Optional; precision 0)"},"emailed":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Emailed flag - Yes/No (SDO EMAILED; Optional; precision 0)"},"eoriNumber":{"type":"string","nullable":true,"maxLength":17,"description":"Delivery address EORI Number (SDO EORI_NUMBER; Optional; precision 0)"},"euroGross":{"type":"number","nullable":true,"description":"euro Gross Amount (SDO EURO_GROSS; Optional; precision 6)"},"euroRate":{"type":"number","nullable":true,"description":"euro Rate (SDO EURO_RATE; Optional; precision 6)"},"externalUsage":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Number of External Usages (SDO EXTERNAL_USAGE; Optional; precision 0)"},"firstItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO FIRST_ITEM; Optional; precision 0)"},"foreignGross":{"type":"number","nullable":true,"description":"Foreign Gross Amount (SDO FOREIGN_GROSS; Optional; precision 6)"},"foreignRate":{"type":"number","nullable":true,"description":"Foreign Rate for euro currency (SDO FOREIGN_RATE; Optional; precision 6)"},"gdnNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"GDN Reference (SDO GDN_NUMBER; Optional; precision 0)"},"globalDeptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Global department number (SDO GLOBAL_DEPT_NUMBER; Optional; precision 0)"},"globalDetails":{"type":"string","nullable":true,"maxLength":60,"description":"Global details (SDO GLOBAL_DETAILS; Optional; precision 0)"},"globalNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Global nominal code (SDO GLOBAL_NOM_CODE; Optional; precision 0)"},"globalTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Global tax code (SDO GLOBAL_TAX_CODE; Optional; precision 0)"},"hasExternalLink":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Has External Link (SDO HAS_EXTERNAL_LINK; Optional; precision 0)"},"incoterms":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Incoterms (SDO INCOTERMS; Optional; precision 0)"},"invoiceDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Invoice Date (SDO INVOICE_DATE; Required; precision 0)"},"invoiceForeignBalance":{"type":"number","nullable":true,"description":"Foreign Balance (SDO INVOICE_FOREIGN_BALANCE; Optional; precision 6)"},"invoiceNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Invoice number (SDO INVOICE_NUMBER; Required; precision 0)"},"invoicePaymentId":{"type":"string","nullable":true,"maxLength":37,"description":"Payment Cloud Identifier (SDO INVOICE_PAYMENT_ID; Optional; precision 0)"},"invoiceTypeCode":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Invoice type code (SDO INVOICE_TYPE_CODE; Required; precision 0)"},"itemsNet":{"type":"number","nullable":true,"description":"Net amount (goods but not carriage) (SDO ITEMS_NET; Optional; precision 2)"},"itemsTax":{"type":"number","nullable":true,"description":"Tax amount (goods but not carriage) (SDO ITEMS_TAX; Optional; precision 2)"},"lastNetvalueDiscount":{"type":"number","nullable":true,"description":"Last Net Value Discount Amount (SDO LAST_NETVALUE_DISCOUNT; Optional; precision 2)"},"lastUpdated":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date of last update (SDO LAST_UPDATED; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Account Name (SDO NAME; Optional; precision 0)"},"netvalueDescription":{"type":"string","nullable":true,"maxLength":60,"description":"Net Value Discount Description (SDO NETVALUE_DESCRIPTION; Optional; precision 0)"},"netvalueDiscount":{"type":"number","nullable":true,"description":"Net Value Discount Amount (SDO NETVALUE_DISCOUNT; Optional; precision 2)"},"netvalueDiscountPercent":{"type":"number","nullable":true,"description":"Net Value Discount Percentage (SDO NETVALUE_DISCOUNT_PERCENT; Optional; precision 2)"},"notes1":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 1 (SDO NOTES_1; Optional; precision 0)"},"notes2":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 2 (SDO NOTES_2; Optional; precision 0)"},"notes3":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 3 (SDO NOTES_3; Optional; precision 0)"},"orderNumber":{"type":"string","nullable":true,"maxLength":7,"description":"Corresponding order number (SDO ORDER_NUMBER; Required; precision 0)"},"ossCountryOfVat":{"type":"string","nullable":true,"maxLength":2,"description":"Country of VAT (SDO OSS_COUNTRY_OF_VAT; Optional; precision 0)"},"ossReportingType":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Report type (SDO OSS_REPORTING_TYPE; Optional; precision 0)"},"paymentDueDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Invoice Payment Due Date (SDO PAYMENT_DUE_DATE; Optional; precision 0)"},"paymentOssCountryOfVat":{"type":"string","nullable":true,"maxLength":2,"description":"Payment Country of VAT (SDO PAYMENT_OSS_COUNTRY_OF_VAT; Optional; precision 0)"},"paymentOssReportingType":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Payment Report type (SDO PAYMENT_OSS_REPORTING_TYPE; Optional; precision 0)"},"paymentRef":{"type":"string","nullable":true,"maxLength":30,"description":"Payment reference (SDO PAYMENT_REF; Optional; precision 0)"},"paymentTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Payment tax code (SDO PAYMENT_TAX_CODE; Optional; precision 0)"},"paymentType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Payment Type (SR/SA) (SDO PAYMENT_TYPE; Optional; precision 0)"},"postedCode":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Posted flag - Yes/No (SDO POSTED_CODE; Optional; precision 0)"},"practiceSolutionsRefn":{"type":"string","nullable":true,"maxLength":60,"description":"Sage Practice Solutions Reference (SDO PRACTICE_SOLUTIONS_REFN; Optional; precision 0)"},"printedCode":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Printed flag - Yes/No (SDO PRINTED_CODE; Optional; precision 0)"},"quoteExpiry":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Quote Expiry (SDO QUOTE_EXPIRY; Optional; precision 0)"},"quoteStatus":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Quote Status (SDO QUOTE_STATUS; Optional; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"recurringReference":{"type":"string","nullable":true,"maxLength":11,"description":"Recurring Reference (SDO RECURRING_REFERENCE; Optional; precision 0)"},"resubmitInvoicePaymentRequired":{"type":"string","nullable":true,"maxLength":0,"description":"Payment Cloud Identifier (SDO RESUBMIT_INVOICE_PAYMENT_REQUIRED; Optional; precision 0)"},"sendViaEmail":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Sent via TMail - Yes/No (SDO SEND_VIA_EMAIL; Optional; precision 0)"},"settlementDiscRate":{"type":"number","nullable":true,"description":"Settlement discount % rate (SDO SETTLEMENT_DISC_RATE; Optional; precision 2)"},"settlementDueDays":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Settlement days (SDO SETTLEMENT_DUE_DAYS; Optional; precision 0)"},"status":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Order status code (SDO STATUS; Optional; precision 0)"},"takenBy":{"type":"string","nullable":true,"maxLength":60,"description":"Order taken by (SDO TAKEN_BY; Optional; precision 0)"},"totalBytes":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO TOTAL_BYTES; Optional; precision 0)"},"unallocatedNetvalueDiscount":{"type":"number","nullable":true,"description":"Unallocated Net Value Discount Amount (SDO UNALLOCATED_NETVALUE_DISCOUNT; Optional; precision 2)"},"vatRegNumber":{"type":"string","nullable":true,"maxLength":20,"description":"VAT Number (SDO VAT_REG_NUMBER; Optional; precision 0)"},"id":{"type":"string"},"lines":{"type":"array","items":{"type":"object","properties":{"addDiscRate":{"type":"number","nullable":true,"description":"Additional discount percentage rate (SDO ADD_DISC_RATE; Optional; precision 2)"},"baseFullNet":{"type":"number","nullable":true,"description":"Full net value in Base Currency (SDO BASE_FULL_NET; Optional; precision 2)"},"baseNet":{"type":"number","nullable":true,"description":"Net value in Base Currency (SDO BASE_NET; Optional; precision 2)"},"baseNetvalueDiscount":{"type":"number","nullable":true,"description":"Net Value Discount Amount in Base Currency (SDO BASE_NETVALUE_DISCOUNT; Optional; precision 2)"},"baseTax":{"type":"number","nullable":true,"description":"Tax value in Base Currency (SDO BASE_TAX; Optional; precision 2)"},"comment1":{"type":"string","nullable":true,"maxLength":60,"description":"Comment 1 (SDO COMMENT_1; Optional; precision 0)"},"comment2":{"type":"string","nullable":true,"maxLength":60,"description":"Comment 2 (SDO COMMENT_2; Optional; precision 0)"},"costCodeId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Project Cost Code ID (SDO COST_CODE_ID; Optional; precision 0)"},"deliveryDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Delivery date (SDO DELIVERY_DATE; Optional; precision 0)"},"deptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Department number (SDO DEPT_NUMBER; Optional; precision 0)"},"description":{"type":"string","nullable":true,"maxLength":120,"description":"Description (SDO DESCRIPTION; Optional; precision 0)"},"discountAmount":{"type":"number","nullable":true,"description":"Discount amount (SDO DISCOUNT_AMOUNT; Optional; precision 2)"},"discountRate":{"type":"number","nullable":true,"description":"Discount percentage rate (SDO DISCOUNT_RATE; Optional; precision 2)"},"extOrderLineRef":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"External Line Reference for SOP to INV link (SDO EXT_ORDER_LINE_REF; Optional; precision 0)"},"extOrderRef":{"type":"string","nullable":true,"maxLength":30,"description":"External Reference for SOP to INV link (SDO EXT_ORDER_REF; Optional; precision 0)"},"fullNetAmount":{"type":"number","nullable":true,"description":"Full net amount (before discount) (SDO FULL_NET_AMOUNT; Optional; precision 2)"},"fundNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Fund number (SDO FUND_NUMBER; Optional; precision 0)"},"invoiceNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Invoice Number (SDO INVOICE_NUMBER; Optional; precision 0)"},"isNegativeLine":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the invoice item line is a negative line. (SDO IS_NEGATIVE_LINE; Optional; precision 0)"},"itemNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Item Number (SDO ITEM_NUMBER; Optional; precision 0)"},"itemid":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Unique ID (SDO ITEMID; Optional; precision 0)"},"jobReference":{"type":"string","nullable":true,"maxLength":60,"description":"Job Reference (SDO JOB_REFERENCE; Optional; precision 0)"},"netAmount":{"type":"number","nullable":true,"description":"Net amount (after discount) (SDO NET_AMOUNT; Optional; precision 2)"},"netvalueDiscount":{"type":"number","nullable":true,"description":"Net Value Discount Amount (SDO NETVALUE_DISCOUNT; Optional; precision 2)"},"nextItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO NEXT_ITEM; Optional; precision 0)"},"nominalCode":{"type":"string","nullable":true,"maxLength":8,"description":"Nominal code (SDO NOMINAL_CODE; Optional; precision 0)"},"offset":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Offset of Service Text (SDO OFFSET; Optional; precision 0)"},"prevItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO PREV_ITEM; Optional; precision 0)"},"projectId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Project ID (SDO PROJECT_ID; Optional; precision 0)"},"qtyAllocated":{"type":"number","nullable":true,"description":"Quantity allocated for this order (SDO QTY_ALLOCATED; Optional; precision 102)"},"qtyDelivered":{"type":"number","nullable":true,"description":"Quantity previously delivered for this order (SDO QTY_DELIVERED; Optional; precision 102)"},"qtyDespatch":{"type":"number","nullable":true,"description":"Quantity to despatch/despatched on this delivery (SDO QTY_DESPATCH; Optional; precision 102)"},"qtyIntrastatConfirmed":{"type":"number","nullable":true,"description":"Quantity Intrastat Confirmed (SDO QTY_INTRASTAT_CONFIRMED; Optional; precision 102)"},"qtyOrder":{"type":"number","nullable":true,"description":"Quantity ordered (SDO QTY_ORDER; Optional; precision 102)"},"serviceFile":{"type":"string","nullable":true,"maxLength":120,"description":"Redundant - Do not use (SDO SERVICE_FILE; Optional; precision 0)"},"serviceFileSize":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Redundant - Do not use (SDO SERVICE_FILE_SIZE; Optional; precision 0)"},"serviceFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Item Type Flag (SDO SERVICE_FLAG; Optional; precision 0)"},"serviceItemLines":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Redundant - Do not use (SDO SERVICE_ITEM_LINES; Optional; precision 0)"},"stockCode":{"type":"string","nullable":true,"maxLength":30,"description":"Stock code (SDO STOCK_CODE; Required; precision 0)"},"taxAmount":{"type":"number","nullable":true,"description":"Tax amount (SDO TAX_AMOUNT; Optional; precision 2)"},"taxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax code (SDO TAX_CODE; Optional; precision 0)"},"taxFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":" (SDO TAX_FLAG; Optional; precision 0)"},"taxRate":{"type":"number","nullable":true,"description":"Tax rate (SDO TAX_RATE; Optional; precision 2)"},"text":{"type":"string","nullable":true,"maxLength":120,"description":"Service invoice/credit text (SDO TEXT; Optional; precision 0)"},"unitOfSale":{"type":"string","nullable":true,"maxLength":8,"description":"Unit of sale (SDO UNIT_OF_SALE; Optional; precision 0)"},"unitPrice":{"type":"number","nullable":true,"description":"Unit price (SDO UNIT_PRICE; Optional; precision 101)"}},"required":["addDiscRate","baseFullNet","baseNet","baseNetvalueDiscount","baseTax","comment1","comment2","costCodeId","deliveryDate","deptNumber","description","discountAmount","discountRate","extOrderLineRef","extOrderRef","fullNetAmount","fundNumber","invoiceNumber","isNegativeLine","itemNumber","itemid","jobReference","netAmount","netvalueDiscount","nextItem","nominalCode","offset","prevItem","projectId","qtyAllocated","qtyDelivered","qtyDespatch","qtyIntrastatConfirmed","qtyOrder","serviceFile","serviceFileSize","serviceFlag","serviceItemLines","stockCode","taxAmount","taxCode","taxFlag","taxRate","text","unitOfSale","unitPrice"],"additionalProperties":false}}},"required":["accountRef","address1","address2","address3","address4","address5","amountPrepaid","analysis1","analysis2","analysis3","bankCode","baseAmountPaid","baseCarrNet","baseCarrTax","baseNetvalueDiscount","baseSettDiscRate","baseTotNet","baseTotTax","carrDeptNumber","carrNet","carrNomCode","carrTax","carrTaxCode","consignmentRef","contactName","countryCode","courier","currency","currencyUsed","custDiscRate","custOrderNumber","custTelNumber","defTaxCode","delAddress1","delAddress2","delAddress3","delAddress4","delAddress5","deletedFlag","deliveryName","discountComment1","discountComment2","discountType","dunsNumber","emailed","eoriNumber","euroGross","euroRate","externalUsage","firstItem","foreignGross","foreignRate","gdnNumber","globalDeptNumber","globalDetails","globalNomCode","globalTaxCode","hasExternalLink","incoterms","invoiceDate","invoiceForeignBalance","invoiceNumber","invoicePaymentId","invoiceTypeCode","itemsNet","itemsTax","lastNetvalueDiscount","lastUpdated","name","netvalueDescription","netvalueDiscount","netvalueDiscountPercent","notes1","notes2","notes3","orderNumber","ossCountryOfVat","ossReportingType","paymentDueDate","paymentOssCountryOfVat","paymentOssReportingType","paymentRef","paymentTaxCode","paymentType","postedCode","practiceSolutionsRefn","printedCode","quoteExpiry","quoteStatus","recordCreateDate","recordDeleted","recordModifyDate","recurringReference","resubmitInvoicePaymentRequired","sendViaEmail","settlementDiscRate","settlementDueDays","status","takenBy","totalBytes","unallocatedNetvalueDiscount","vatRegNumber","id","lines"],"additionalProperties":false},"Uk31_1_invoices_get":{"type":"object","properties":{"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Account reference (SDO ACCOUNT_REF; Required; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 5 (SDO ADDRESS_5; Optional; precision 0)"},"amountPrepaid":{"type":"number","nullable":true,"description":"Amount prepaid (SDO AMOUNT_PREPAID; Optional; precision 2)"},"analysis1":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"bankCode":{"type":"string","nullable":true,"maxLength":8,"description":"Bank posting code (SDO BANK_CODE; Optional; precision 0)"},"baseAmountPaid":{"type":"number","nullable":true,"description":"Base Amount prepaid (SDO BASE_AMOUNT_PAID; Optional; precision 2)"},"baseCarrNet":{"type":"number","nullable":true,"description":"Base Carriage net amount (SDO BASE_CARR_NET; Optional; precision 2)"},"baseCarrTax":{"type":"number","nullable":true,"description":"Base Carriage tax amount (SDO BASE_CARR_TAX; Optional; precision 2)"},"baseNetvalueDiscount":{"type":"number","nullable":true,"description":"Net Value Discount Amount in Base Currency (SDO BASE_NETVALUE_DISCOUNT; Optional; precision 2)"},"baseSettDiscRate":{"type":"number","nullable":true,"description":"Base Settlement discount % rate (SDO BASE_SETT_DISC_RATE; Optional; precision 2)"},"baseTotNet":{"type":"number","nullable":true,"description":"Base Net amount (goods but not carriage) (SDO BASE_TOT_NET; Optional; precision 2)"},"baseTotTax":{"type":"number","nullable":true,"description":"Base Tax amount (goods but not carriage) (SDO BASE_TOT_TAX; Optional; precision 2)"},"carrDeptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Carriage department number (SDO CARR_DEPT_NUMBER; Optional; precision 0)"},"carrNet":{"type":"number","nullable":true,"description":"Carriage net amount (SDO CARR_NET; Optional; precision 2)"},"carrNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Carriage nominal code (SDO CARR_NOM_CODE; Optional; precision 0)"},"carrTax":{"type":"number","nullable":true,"description":"Carriage tax amount (SDO CARR_TAX; Optional; precision 2)"},"carrTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Carriage tax code (SDO CARR_TAX_CODE; Optional; precision 0)"},"consignmentRef":{"type":"string","nullable":true,"maxLength":30,"description":"Consignment Reference (SDO CONSIGNMENT_REF; Optional; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Customer Contact name (SDO CONTACT_NAME; Optional; precision 0)"},"countryCode":{"type":"string","nullable":true,"maxLength":2,"description":"Customer Country code (SDO COUNTRY_CODE; Optional; precision 0)"},"courier":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Courier Number (SDO COURIER; Optional; precision 0)"},"currency":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency (SDO CURRENCY; Optional; precision 0)"},"currencyUsed":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency Used (SDO CURRENCY_USED; Optional; precision 0)"},"custDiscRate":{"type":"number","nullable":true,"description":"Customer Discount (SDO CUST_DISC_RATE; Optional; precision 2)"},"custOrderNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Customer's order number (SDO CUST_ORDER_NUMBER; Optional; precision 0)"},"custTelNumber":{"type":"string","nullable":true,"maxLength":30,"description":"Customer's telephone number (SDO CUST_TEL_NUMBER; Optional; precision 0)"},"defTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Default tax code (SDO DEF_TAX_CODE; Optional; precision 0)"},"delAddress1":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 1 (SDO DEL_ADDRESS_1; Optional; precision 0)"},"delAddress2":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 2 (SDO DEL_ADDRESS_2; Optional; precision 0)"},"delAddress3":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 3 (SDO DEL_ADDRESS_3; Optional; precision 0)"},"delAddress4":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 4 (SDO DEL_ADDRESS_4; Optional; precision 0)"},"delAddress5":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 5 (SDO DEL_ADDRESS_5; Optional; precision 0)"},"deletedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Is Deleted (SDO DELETED_FLAG; Optional; precision 0)"},"deliveryName":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address name (SDO DELIVERY_NAME; Optional; precision 0)"},"discountComment1":{"type":"string","nullable":true,"maxLength":60,"description":"Discount Commment 1 (SDO DISCOUNT_COMMENT1; Optional; precision 0)"},"discountComment2":{"type":"string","nullable":true,"maxLength":60,"description":"Discount Commment 2 (SDO DISCOUNT_COMMENT2; Optional; precision 0)"},"discountType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Discount Type (SDO DISCOUNT_TYPE; Optional; precision 0)"},"dunsNumber":{"type":"string","nullable":true,"maxLength":9,"description":"DUNS credit Reference Number (SDO DUNS_NUMBER; Optional; precision 0)"},"emailed":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Emailed flag - Yes/No (SDO EMAILED; Optional; precision 0)"},"eoriNumber":{"type":"string","nullable":true,"maxLength":17,"description":"Delivery address EORI Number (SDO EORI_NUMBER; Optional; precision 0)"},"euroGross":{"type":"number","nullable":true,"description":"euro Gross Amount (SDO EURO_GROSS; Optional; precision 6)"},"euroRate":{"type":"number","nullable":true,"description":"euro Rate (SDO EURO_RATE; Optional; precision 6)"},"externalUsage":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Number of External Usages (SDO EXTERNAL_USAGE; Optional; precision 0)"},"firstItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO FIRST_ITEM; Optional; precision 0)"},"foreignGross":{"type":"number","nullable":true,"description":"Foreign Gross Amount (SDO FOREIGN_GROSS; Optional; precision 6)"},"foreignRate":{"type":"number","nullable":true,"description":"Foreign Rate for euro currency (SDO FOREIGN_RATE; Optional; precision 6)"},"gdnNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"GDN Reference (SDO GDN_NUMBER; Optional; precision 0)"},"globalDeptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Global department number (SDO GLOBAL_DEPT_NUMBER; Optional; precision 0)"},"globalDetails":{"type":"string","nullable":true,"maxLength":60,"description":"Global details (SDO GLOBAL_DETAILS; Optional; precision 0)"},"globalNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Global nominal code (SDO GLOBAL_NOM_CODE; Optional; precision 0)"},"globalTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Global tax code (SDO GLOBAL_TAX_CODE; Optional; precision 0)"},"hasExternalLink":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Has External Link (SDO HAS_EXTERNAL_LINK; Optional; precision 0)"},"incoterms":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Incoterms (SDO INCOTERMS; Optional; precision 0)"},"invoiceDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Invoice Date (SDO INVOICE_DATE; Required; precision 0)"},"invoiceForeignBalance":{"type":"number","nullable":true,"description":"Foreign Balance (SDO INVOICE_FOREIGN_BALANCE; Optional; precision 6)"},"invoiceNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Invoice number (SDO INVOICE_NUMBER; Required; precision 0)"},"invoicePaymentId":{"type":"string","nullable":true,"maxLength":37,"description":"Payment Cloud Identifier (SDO INVOICE_PAYMENT_ID; Optional; precision 0)"},"invoiceTypeCode":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Invoice type code (SDO INVOICE_TYPE_CODE; Required; precision 0)"},"itemsNet":{"type":"number","nullable":true,"description":"Net amount (goods but not carriage) (SDO ITEMS_NET; Optional; precision 2)"},"itemsTax":{"type":"number","nullable":true,"description":"Tax amount (goods but not carriage) (SDO ITEMS_TAX; Optional; precision 2)"},"lastNetvalueDiscount":{"type":"number","nullable":true,"description":"Last Net Value Discount Amount (SDO LAST_NETVALUE_DISCOUNT; Optional; precision 2)"},"lastUpdated":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date of last update (SDO LAST_UPDATED; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Account Name (SDO NAME; Optional; precision 0)"},"netvalueDescription":{"type":"string","nullable":true,"maxLength":60,"description":"Net Value Discount Description (SDO NETVALUE_DESCRIPTION; Optional; precision 0)"},"netvalueDiscount":{"type":"number","nullable":true,"description":"Net Value Discount Amount (SDO NETVALUE_DISCOUNT; Optional; precision 2)"},"netvalueDiscountPercent":{"type":"number","nullable":true,"description":"Net Value Discount Percentage (SDO NETVALUE_DISCOUNT_PERCENT; Optional; precision 2)"},"notes1":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 1 (SDO NOTES_1; Optional; precision 0)"},"notes2":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 2 (SDO NOTES_2; Optional; precision 0)"},"notes3":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 3 (SDO NOTES_3; Optional; precision 0)"},"orderNumber":{"type":"string","nullable":true,"maxLength":7,"description":"Corresponding order number (SDO ORDER_NUMBER; Required; precision 0)"},"ossCountryOfVat":{"type":"string","nullable":true,"maxLength":2,"description":"Country of VAT (SDO OSS_COUNTRY_OF_VAT; Optional; precision 0)"},"ossReportingType":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Report type (SDO OSS_REPORTING_TYPE; Optional; precision 0)"},"paymentDueDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Invoice Payment Due Date (SDO PAYMENT_DUE_DATE; Optional; precision 0)"},"paymentOssCountryOfVat":{"type":"string","nullable":true,"maxLength":2,"description":"Payment Country of VAT (SDO PAYMENT_OSS_COUNTRY_OF_VAT; Optional; precision 0)"},"paymentOssReportingType":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Payment Report type (SDO PAYMENT_OSS_REPORTING_TYPE; Optional; precision 0)"},"paymentRef":{"type":"string","nullable":true,"maxLength":30,"description":"Payment reference (SDO PAYMENT_REF; Optional; precision 0)"},"paymentTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Payment tax code (SDO PAYMENT_TAX_CODE; Optional; precision 0)"},"paymentType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Payment Type (SR/SA) (SDO PAYMENT_TYPE; Optional; precision 0)"},"postedCode":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Posted flag - Yes/No (SDO POSTED_CODE; Optional; precision 0)"},"practiceSolutionsRefn":{"type":"string","nullable":true,"maxLength":60,"description":"Sage Practice Solutions Reference (SDO PRACTICE_SOLUTIONS_REFN; Optional; precision 0)"},"printedCode":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Printed flag - Yes/No (SDO PRINTED_CODE; Optional; precision 0)"},"quoteExpiry":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Quote Expiry (SDO QUOTE_EXPIRY; Optional; precision 0)"},"quoteStatus":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Quote Status (SDO QUOTE_STATUS; Optional; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"recurringReference":{"type":"string","nullable":true,"maxLength":11,"description":"Recurring Reference (SDO RECURRING_REFERENCE; Optional; precision 0)"},"resubmitInvoicePaymentRequired":{"type":"string","nullable":true,"maxLength":0,"description":"Payment Cloud Identifier (SDO RESUBMIT_INVOICE_PAYMENT_REQUIRED; Optional; precision 0)"},"sendViaEmail":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Sent via TMail - Yes/No (SDO SEND_VIA_EMAIL; Optional; precision 0)"},"settlementDiscRate":{"type":"number","nullable":true,"description":"Settlement discount % rate (SDO SETTLEMENT_DISC_RATE; Optional; precision 2)"},"settlementDueDays":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Settlement days (SDO SETTLEMENT_DUE_DAYS; Optional; precision 0)"},"status":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Order status code (SDO STATUS; Optional; precision 0)"},"takenBy":{"type":"string","nullable":true,"maxLength":60,"description":"Order taken by (SDO TAKEN_BY; Optional; precision 0)"},"totalBytes":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO TOTAL_BYTES; Optional; precision 0)"},"unallocatedNetvalueDiscount":{"type":"number","nullable":true,"description":"Unallocated Net Value Discount Amount (SDO UNALLOCATED_NETVALUE_DISCOUNT; Optional; precision 2)"},"vatRegNumber":{"type":"string","nullable":true,"maxLength":20,"description":"VAT Number (SDO VAT_REG_NUMBER; Optional; precision 0)"},"id":{"type":"string"},"lines":{"type":"array","items":{"type":"object","properties":{"addDiscRate":{"type":"number","nullable":true,"description":"Additional discount percentage rate (SDO ADD_DISC_RATE; Optional; precision 2)"},"baseFullNet":{"type":"number","nullable":true,"description":"Full net value in Base Currency (SDO BASE_FULL_NET; Optional; precision 2)"},"baseNet":{"type":"number","nullable":true,"description":"Net value in Base Currency (SDO BASE_NET; Optional; precision 2)"},"baseNetvalueDiscount":{"type":"number","nullable":true,"description":"Net Value Discount Amount in Base Currency (SDO BASE_NETVALUE_DISCOUNT; Optional; precision 2)"},"baseTax":{"type":"number","nullable":true,"description":"Tax value in Base Currency (SDO BASE_TAX; Optional; precision 2)"},"comment1":{"type":"string","nullable":true,"maxLength":60,"description":"Comment 1 (SDO COMMENT_1; Optional; precision 0)"},"comment2":{"type":"string","nullable":true,"maxLength":60,"description":"Comment 2 (SDO COMMENT_2; Optional; precision 0)"},"costCodeId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Project Cost Code ID (SDO COST_CODE_ID; Optional; precision 0)"},"deliveryDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Delivery date (SDO DELIVERY_DATE; Optional; precision 0)"},"deptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Department number (SDO DEPT_NUMBER; Optional; precision 0)"},"description":{"type":"string","nullable":true,"maxLength":120,"description":"Description (SDO DESCRIPTION; Optional; precision 0)"},"discountAmount":{"type":"number","nullable":true,"description":"Discount amount (SDO DISCOUNT_AMOUNT; Optional; precision 2)"},"discountRate":{"type":"number","nullable":true,"description":"Discount percentage rate (SDO DISCOUNT_RATE; Optional; precision 2)"},"extOrderLineRef":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"External Line Reference for SOP to INV link (SDO EXT_ORDER_LINE_REF; Optional; precision 0)"},"extOrderRef":{"type":"string","nullable":true,"maxLength":30,"description":"External Reference for SOP to INV link (SDO EXT_ORDER_REF; Optional; precision 0)"},"fullNetAmount":{"type":"number","nullable":true,"description":"Full net amount (before discount) (SDO FULL_NET_AMOUNT; Optional; precision 2)"},"fundNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Fund number (SDO FUND_NUMBER; Optional; precision 0)"},"invoiceNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Invoice Number (SDO INVOICE_NUMBER; Optional; precision 0)"},"isNegativeLine":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the invoice item line is a negative line. (SDO IS_NEGATIVE_LINE; Optional; precision 0)"},"itemNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Item Number (SDO ITEM_NUMBER; Optional; precision 0)"},"itemid":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Unique ID (SDO ITEMID; Optional; precision 0)"},"jobReference":{"type":"string","nullable":true,"maxLength":60,"description":"Job Reference (SDO JOB_REFERENCE; Optional; precision 0)"},"netAmount":{"type":"number","nullable":true,"description":"Net amount (after discount) (SDO NET_AMOUNT; Optional; precision 2)"},"netvalueDiscount":{"type":"number","nullable":true,"description":"Net Value Discount Amount (SDO NETVALUE_DISCOUNT; Optional; precision 2)"},"nextItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO NEXT_ITEM; Optional; precision 0)"},"nominalCode":{"type":"string","nullable":true,"maxLength":8,"description":"Nominal code (SDO NOMINAL_CODE; Optional; precision 0)"},"offset":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Offset of Service Text (SDO OFFSET; Optional; precision 0)"},"prevItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO PREV_ITEM; Optional; precision 0)"},"projectId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Project ID (SDO PROJECT_ID; Optional; precision 0)"},"qtyAllocated":{"type":"number","nullable":true,"description":"Quantity allocated for this order (SDO QTY_ALLOCATED; Optional; precision 102)"},"qtyDelivered":{"type":"number","nullable":true,"description":"Quantity previously delivered for this order (SDO QTY_DELIVERED; Optional; precision 102)"},"qtyDespatch":{"type":"number","nullable":true,"description":"Quantity to despatch/despatched on this delivery (SDO QTY_DESPATCH; Optional; precision 102)"},"qtyIntrastatConfirmed":{"type":"number","nullable":true,"description":"Quantity Intrastat Confirmed (SDO QTY_INTRASTAT_CONFIRMED; Optional; precision 102)"},"qtyOrder":{"type":"number","nullable":true,"description":"Quantity ordered (SDO QTY_ORDER; Optional; precision 102)"},"serviceFile":{"type":"string","nullable":true,"maxLength":120,"description":"Redundant - Do not use (SDO SERVICE_FILE; Optional; precision 0)"},"serviceFileSize":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Redundant - Do not use (SDO SERVICE_FILE_SIZE; Optional; precision 0)"},"serviceFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Item Type Flag (SDO SERVICE_FLAG; Optional; precision 0)"},"serviceItemLines":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Redundant - Do not use (SDO SERVICE_ITEM_LINES; Optional; precision 0)"},"stockCode":{"type":"string","nullable":true,"maxLength":30,"description":"Stock code (SDO STOCK_CODE; Required; precision 0)"},"taxAmount":{"type":"number","nullable":true,"description":"Tax amount (SDO TAX_AMOUNT; Optional; precision 2)"},"taxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax code (SDO TAX_CODE; Optional; precision 0)"},"taxFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":" (SDO TAX_FLAG; Optional; precision 0)"},"taxRate":{"type":"number","nullable":true,"description":"Tax rate (SDO TAX_RATE; Optional; precision 2)"},"text":{"type":"string","nullable":true,"maxLength":120,"description":"Service invoice/credit text (SDO TEXT; Optional; precision 0)"},"unitOfSale":{"type":"string","nullable":true,"maxLength":8,"description":"Unit of sale (SDO UNIT_OF_SALE; Optional; precision 0)"},"unitPrice":{"type":"number","nullable":true,"description":"Unit price (SDO UNIT_PRICE; Optional; precision 101)"}},"required":["addDiscRate","baseFullNet","baseNet","baseNetvalueDiscount","baseTax","comment1","comment2","costCodeId","deliveryDate","deptNumber","description","discountAmount","discountRate","extOrderLineRef","extOrderRef","fullNetAmount","fundNumber","invoiceNumber","isNegativeLine","itemNumber","itemid","jobReference","netAmount","netvalueDiscount","nextItem","nominalCode","offset","prevItem","projectId","qtyAllocated","qtyDelivered","qtyDespatch","qtyIntrastatConfirmed","qtyOrder","serviceFile","serviceFileSize","serviceFlag","serviceItemLines","stockCode","taxAmount","taxCode","taxFlag","taxRate","text","unitOfSale","unitPrice"],"additionalProperties":false}}},"required":["accountRef","address1","address2","address3","address4","address5","amountPrepaid","analysis1","analysis2","analysis3","bankCode","baseAmountPaid","baseCarrNet","baseCarrTax","baseNetvalueDiscount","baseSettDiscRate","baseTotNet","baseTotTax","carrDeptNumber","carrNet","carrNomCode","carrTax","carrTaxCode","consignmentRef","contactName","countryCode","courier","currency","currencyUsed","custDiscRate","custOrderNumber","custTelNumber","defTaxCode","delAddress1","delAddress2","delAddress3","delAddress4","delAddress5","deletedFlag","deliveryName","discountComment1","discountComment2","discountType","dunsNumber","emailed","eoriNumber","euroGross","euroRate","externalUsage","firstItem","foreignGross","foreignRate","gdnNumber","globalDeptNumber","globalDetails","globalNomCode","globalTaxCode","hasExternalLink","incoterms","invoiceDate","invoiceForeignBalance","invoiceNumber","invoicePaymentId","invoiceTypeCode","itemsNet","itemsTax","lastNetvalueDiscount","lastUpdated","name","netvalueDescription","netvalueDiscount","netvalueDiscountPercent","notes1","notes2","notes3","orderNumber","ossCountryOfVat","ossReportingType","paymentDueDate","paymentOssCountryOfVat","paymentOssReportingType","paymentRef","paymentTaxCode","paymentType","postedCode","practiceSolutionsRefn","printedCode","quoteExpiry","quoteStatus","recordCreateDate","recordDeleted","recordModifyDate","recurringReference","resubmitInvoicePaymentRequired","sendViaEmail","settlementDiscRate","settlementDueDays","status","takenBy","totalBytes","unallocatedNetvalueDiscount","vatRegNumber","id","lines"],"additionalProperties":false},"Uk32_1_invoices_get":{"type":"object","properties":{"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Account reference (SDO ACCOUNT_REF; Required; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 5 (SDO ADDRESS_5; Optional; precision 0)"},"amountPrepaid":{"type":"number","nullable":true,"description":"Amount prepaid (SDO AMOUNT_PREPAID; Optional; precision 2)"},"analysis1":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"bankCode":{"type":"string","nullable":true,"maxLength":8,"description":"Bank posting code (SDO BANK_CODE; Optional; precision 0)"},"baseAmountPaid":{"type":"number","nullable":true,"description":"Base Amount prepaid (SDO BASE_AMOUNT_PAID; Optional; precision 2)"},"baseCarrNet":{"type":"number","nullable":true,"description":"Base Carriage net amount (SDO BASE_CARR_NET; Optional; precision 2)"},"baseCarrTax":{"type":"number","nullable":true,"description":"Base Carriage tax amount (SDO BASE_CARR_TAX; Optional; precision 2)"},"baseNetvalueDiscount":{"type":"number","nullable":true,"description":"Net Value Discount Amount in Base Currency (SDO BASE_NETVALUE_DISCOUNT; Optional; precision 2)"},"baseSettDiscRate":{"type":"number","nullable":true,"description":"Base Settlement discount % rate (SDO BASE_SETT_DISC_RATE; Optional; precision 2)"},"baseTotNet":{"type":"number","nullable":true,"description":"Base Net amount (goods but not carriage) (SDO BASE_TOT_NET; Optional; precision 2)"},"baseTotTax":{"type":"number","nullable":true,"description":"Base Tax amount (goods but not carriage) (SDO BASE_TOT_TAX; Optional; precision 2)"},"carrDeptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Carriage department number (SDO CARR_DEPT_NUMBER; Optional; precision 0)"},"carrNet":{"type":"number","nullable":true,"description":"Carriage net amount (SDO CARR_NET; Optional; precision 2)"},"carrNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Carriage nominal code (SDO CARR_NOM_CODE; Optional; precision 0)"},"carrTax":{"type":"number","nullable":true,"description":"Carriage tax amount (SDO CARR_TAX; Optional; precision 2)"},"carrTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Carriage tax code (SDO CARR_TAX_CODE; Optional; precision 0)"},"consignmentRef":{"type":"string","nullable":true,"maxLength":30,"description":"Consignment Reference (SDO CONSIGNMENT_REF; Optional; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Customer Contact name (SDO CONTACT_NAME; Optional; precision 0)"},"countryCode":{"type":"string","nullable":true,"maxLength":2,"description":"Customer Country code (SDO COUNTRY_CODE; Optional; precision 0)"},"courier":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Courier Number (SDO COURIER; Optional; precision 0)"},"currency":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency (SDO CURRENCY; Optional; precision 0)"},"currencyUsed":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency Used (SDO CURRENCY_USED; Optional; precision 0)"},"custDiscRate":{"type":"number","nullable":true,"description":"Customer Discount (SDO CUST_DISC_RATE; Optional; precision 2)"},"custOrderNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Customer's order number (SDO CUST_ORDER_NUMBER; Optional; precision 0)"},"custTelNumber":{"type":"string","nullable":true,"maxLength":30,"description":"Customer's telephone number (SDO CUST_TEL_NUMBER; Optional; precision 0)"},"defTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Default tax code (SDO DEF_TAX_CODE; Optional; precision 0)"},"delAddress1":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 1 (SDO DEL_ADDRESS_1; Optional; precision 0)"},"delAddress2":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 2 (SDO DEL_ADDRESS_2; Optional; precision 0)"},"delAddress3":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 3 (SDO DEL_ADDRESS_3; Optional; precision 0)"},"delAddress4":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 4 (SDO DEL_ADDRESS_4; Optional; precision 0)"},"delAddress5":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 5 (SDO DEL_ADDRESS_5; Optional; precision 0)"},"deletedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Is Deleted (SDO DELETED_FLAG; Optional; precision 0)"},"deliveryName":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address name (SDO DELIVERY_NAME; Optional; precision 0)"},"discountComment1":{"type":"string","nullable":true,"maxLength":60,"description":"Discount Commment 1 (SDO DISCOUNT_COMMENT1; Optional; precision 0)"},"discountComment2":{"type":"string","nullable":true,"maxLength":60,"description":"Discount Commment 2 (SDO DISCOUNT_COMMENT2; Optional; precision 0)"},"discountType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Discount Type (SDO DISCOUNT_TYPE; Optional; precision 0)"},"dunsNumber":{"type":"string","nullable":true,"maxLength":9,"description":"DUNS credit Reference Number (SDO DUNS_NUMBER; Optional; precision 0)"},"emailed":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Emailed flag - Yes/No (SDO EMAILED; Optional; precision 0)"},"eoriNumber":{"type":"string","nullable":true,"maxLength":17,"description":"Delivery address EORI Number (SDO EORI_NUMBER; Optional; precision 0)"},"euroGross":{"type":"number","nullable":true,"description":"euro Gross Amount (SDO EURO_GROSS; Optional; precision 6)"},"euroRate":{"type":"number","nullable":true,"description":"euro Rate (SDO EURO_RATE; Optional; precision 6)"},"externalUsage":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Number of External Usages (SDO EXTERNAL_USAGE; Optional; precision 0)"},"firstItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO FIRST_ITEM; Optional; precision 0)"},"foreignGross":{"type":"number","nullable":true,"description":"Foreign Gross Amount (SDO FOREIGN_GROSS; Optional; precision 6)"},"foreignRate":{"type":"number","nullable":true,"description":"Foreign Rate for euro currency (SDO FOREIGN_RATE; Optional; precision 6)"},"gdnNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"GDN Reference (SDO GDN_NUMBER; Optional; precision 0)"},"globalDeptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Global department number (SDO GLOBAL_DEPT_NUMBER; Optional; precision 0)"},"globalDetails":{"type":"string","nullable":true,"maxLength":60,"description":"Global details (SDO GLOBAL_DETAILS; Optional; precision 0)"},"globalNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Global nominal code (SDO GLOBAL_NOM_CODE; Optional; precision 0)"},"globalTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Global tax code (SDO GLOBAL_TAX_CODE; Optional; precision 0)"},"hasExternalLink":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Has External Link (SDO HAS_EXTERNAL_LINK; Optional; precision 0)"},"incoterms":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Incoterms (SDO INCOTERMS; Optional; precision 0)"},"invoiceDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Invoice Date (SDO INVOICE_DATE; Required; precision 0)"},"invoiceForeignBalance":{"type":"number","nullable":true,"description":"Foreign Balance (SDO INVOICE_FOREIGN_BALANCE; Optional; precision 6)"},"invoiceNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Invoice number (SDO INVOICE_NUMBER; Required; precision 0)"},"invoicePaymentId":{"type":"string","nullable":true,"maxLength":37,"description":"Payment Cloud Identifier (SDO INVOICE_PAYMENT_ID; Optional; precision 0)"},"invoiceTypeCode":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Invoice type code (SDO INVOICE_TYPE_CODE; Required; precision 0)"},"itemsNet":{"type":"number","nullable":true,"description":"Net amount (goods but not carriage) (SDO ITEMS_NET; Optional; precision 2)"},"itemsTax":{"type":"number","nullable":true,"description":"Tax amount (goods but not carriage) (SDO ITEMS_TAX; Optional; precision 2)"},"lastNetvalueDiscount":{"type":"number","nullable":true,"description":"Last Net Value Discount Amount (SDO LAST_NETVALUE_DISCOUNT; Optional; precision 2)"},"lastUpdated":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date of last update (SDO LAST_UPDATED; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Account Name (SDO NAME; Optional; precision 0)"},"netvalueDescription":{"type":"string","nullable":true,"maxLength":60,"description":"Net Value Discount Description (SDO NETVALUE_DESCRIPTION; Optional; precision 0)"},"netvalueDiscount":{"type":"number","nullable":true,"description":"Net Value Discount Amount (SDO NETVALUE_DISCOUNT; Optional; precision 2)"},"netvalueDiscountPercent":{"type":"number","nullable":true,"description":"Net Value Discount Percentage (SDO NETVALUE_DISCOUNT_PERCENT; Optional; precision 2)"},"notes1":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 1 (SDO NOTES_1; Optional; precision 0)"},"notes2":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 2 (SDO NOTES_2; Optional; precision 0)"},"notes3":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 3 (SDO NOTES_3; Optional; precision 0)"},"orderNumber":{"type":"string","nullable":true,"maxLength":7,"description":"Corresponding order number (SDO ORDER_NUMBER; Required; precision 0)"},"ossCountryOfVat":{"type":"string","nullable":true,"maxLength":2,"description":"Country of VAT (SDO OSS_COUNTRY_OF_VAT; Optional; precision 0)"},"ossReportingType":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Report type (SDO OSS_REPORTING_TYPE; Optional; precision 0)"},"paymentDueDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Invoice Payment Due Date (SDO PAYMENT_DUE_DATE; Optional; precision 0)"},"paymentOssCountryOfVat":{"type":"string","nullable":true,"maxLength":2,"description":"Payment Country of VAT (SDO PAYMENT_OSS_COUNTRY_OF_VAT; Optional; precision 0)"},"paymentOssReportingType":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Payment Report type (SDO PAYMENT_OSS_REPORTING_TYPE; Optional; precision 0)"},"paymentRef":{"type":"string","nullable":true,"maxLength":30,"description":"Payment reference (SDO PAYMENT_REF; Optional; precision 0)"},"paymentTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Payment tax code (SDO PAYMENT_TAX_CODE; Optional; precision 0)"},"paymentType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Payment Type (SR/SA) (SDO PAYMENT_TYPE; Optional; precision 0)"},"postedCode":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Posted flag - Yes/No (SDO POSTED_CODE; Optional; precision 0)"},"practiceSolutionsRefn":{"type":"string","nullable":true,"maxLength":60,"description":"Sage Practice Solutions Reference (SDO PRACTICE_SOLUTIONS_REFN; Optional; precision 0)"},"printedCode":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Printed flag - Yes/No (SDO PRINTED_CODE; Optional; precision 0)"},"quoteExpiry":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Quote Expiry (SDO QUOTE_EXPIRY; Optional; precision 0)"},"quoteStatus":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Quote Status (SDO QUOTE_STATUS; Optional; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"recurringReference":{"type":"string","nullable":true,"maxLength":11,"description":"Recurring Reference (SDO RECURRING_REFERENCE; Optional; precision 0)"},"resubmitInvoicePaymentRequired":{"type":"string","nullable":true,"maxLength":0,"description":"Payment Cloud Identifier (SDO RESUBMIT_INVOICE_PAYMENT_REQUIRED; Optional; precision 0)"},"sendViaEmail":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Sent via TMail - Yes/No (SDO SEND_VIA_EMAIL; Optional; precision 0)"},"settlementDiscRate":{"type":"number","nullable":true,"description":"Settlement discount % rate (SDO SETTLEMENT_DISC_RATE; Optional; precision 2)"},"settlementDueDays":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Settlement days (SDO SETTLEMENT_DUE_DAYS; Optional; precision 0)"},"status":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Order status code (SDO STATUS; Optional; precision 0)"},"takenBy":{"type":"string","nullable":true,"maxLength":60,"description":"Order taken by (SDO TAKEN_BY; Optional; precision 0)"},"totalBytes":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO TOTAL_BYTES; Optional; precision 0)"},"unallocatedNetvalueDiscount":{"type":"number","nullable":true,"description":"Unallocated Net Value Discount Amount (SDO UNALLOCATED_NETVALUE_DISCOUNT; Optional; precision 2)"},"vatRegNumber":{"type":"string","nullable":true,"maxLength":20,"description":"VAT Number (SDO VAT_REG_NUMBER; Optional; precision 0)"},"id":{"type":"string"},"lines":{"type":"array","items":{"type":"object","properties":{"addDiscRate":{"type":"number","nullable":true,"description":"Additional discount percentage rate (SDO ADD_DISC_RATE; Optional; precision 2)"},"baseFullNet":{"type":"number","nullable":true,"description":"Full net value in Base Currency (SDO BASE_FULL_NET; Optional; precision 2)"},"baseNet":{"type":"number","nullable":true,"description":"Net value in Base Currency (SDO BASE_NET; Optional; precision 2)"},"baseNetvalueDiscount":{"type":"number","nullable":true,"description":"Net Value Discount Amount in Base Currency (SDO BASE_NETVALUE_DISCOUNT; Optional; precision 2)"},"baseTax":{"type":"number","nullable":true,"description":"Tax value in Base Currency (SDO BASE_TAX; Optional; precision 2)"},"comment1":{"type":"string","nullable":true,"maxLength":60,"description":"Comment 1 (SDO COMMENT_1; Optional; precision 0)"},"comment2":{"type":"string","nullable":true,"maxLength":60,"description":"Comment 2 (SDO COMMENT_2; Optional; precision 0)"},"costCodeId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Project Cost Code ID (SDO COST_CODE_ID; Optional; precision 0)"},"deliveryDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Delivery date (SDO DELIVERY_DATE; Optional; precision 0)"},"deptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Department number (SDO DEPT_NUMBER; Optional; precision 0)"},"description":{"type":"string","nullable":true,"maxLength":120,"description":"Description (SDO DESCRIPTION; Optional; precision 0)"},"discountAmount":{"type":"number","nullable":true,"description":"Discount amount (SDO DISCOUNT_AMOUNT; Optional; precision 2)"},"discountRate":{"type":"number","nullable":true,"description":"Discount percentage rate (SDO DISCOUNT_RATE; Optional; precision 2)"},"extOrderLineRef":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"External Line Reference for SOP to INV link (SDO EXT_ORDER_LINE_REF; Optional; precision 0)"},"extOrderRef":{"type":"string","nullable":true,"maxLength":30,"description":"External Reference for SOP to INV link (SDO EXT_ORDER_REF; Optional; precision 0)"},"fullNetAmount":{"type":"number","nullable":true,"description":"Full net amount (before discount) (SDO FULL_NET_AMOUNT; Optional; precision 2)"},"fundNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Fund number (SDO FUND_NUMBER; Optional; precision 0)"},"invoiceNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Invoice Number (SDO INVOICE_NUMBER; Optional; precision 0)"},"isNegativeLine":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the invoice item line is a negative line. (SDO IS_NEGATIVE_LINE; Optional; precision 0)"},"itemNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Item Number (SDO ITEM_NUMBER; Optional; precision 0)"},"itemid":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Unique ID (SDO ITEMID; Optional; precision 0)"},"jobReference":{"type":"string","nullable":true,"maxLength":60,"description":"Job Reference (SDO JOB_REFERENCE; Optional; precision 0)"},"netAmount":{"type":"number","nullable":true,"description":"Net amount (after discount) (SDO NET_AMOUNT; Optional; precision 2)"},"netvalueDiscount":{"type":"number","nullable":true,"description":"Net Value Discount Amount (SDO NETVALUE_DISCOUNT; Optional; precision 2)"},"nextItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO NEXT_ITEM; Optional; precision 0)"},"nominalCode":{"type":"string","nullable":true,"maxLength":8,"description":"Nominal code (SDO NOMINAL_CODE; Optional; precision 0)"},"offset":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Offset of Service Text (SDO OFFSET; Optional; precision 0)"},"prevItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO PREV_ITEM; Optional; precision 0)"},"projectId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Project ID (SDO PROJECT_ID; Optional; precision 0)"},"qtyAllocated":{"type":"number","nullable":true,"description":"Quantity allocated for this order (SDO QTY_ALLOCATED; Optional; precision 102)"},"qtyDelivered":{"type":"number","nullable":true,"description":"Quantity previously delivered for this order (SDO QTY_DELIVERED; Optional; precision 102)"},"qtyDespatch":{"type":"number","nullable":true,"description":"Quantity to despatch/despatched on this delivery (SDO QTY_DESPATCH; Optional; precision 102)"},"qtyIntrastatConfirmed":{"type":"number","nullable":true,"description":"Quantity Intrastat Confirmed (SDO QTY_INTRASTAT_CONFIRMED; Optional; precision 102)"},"qtyOrder":{"type":"number","nullable":true,"description":"Quantity ordered (SDO QTY_ORDER; Optional; precision 102)"},"serviceFile":{"type":"string","nullable":true,"maxLength":120,"description":"Redundant - Do not use (SDO SERVICE_FILE; Optional; precision 0)"},"serviceFileSize":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Redundant - Do not use (SDO SERVICE_FILE_SIZE; Optional; precision 0)"},"serviceFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Item Type Flag (SDO SERVICE_FLAG; Optional; precision 0)"},"serviceItemLines":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Redundant - Do not use (SDO SERVICE_ITEM_LINES; Optional; precision 0)"},"stockCode":{"type":"string","nullable":true,"maxLength":30,"description":"Stock code (SDO STOCK_CODE; Required; precision 0)"},"taxAmount":{"type":"number","nullable":true,"description":"Tax amount (SDO TAX_AMOUNT; Optional; precision 2)"},"taxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax code (SDO TAX_CODE; Optional; precision 0)"},"taxFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":" (SDO TAX_FLAG; Optional; precision 0)"},"taxRate":{"type":"number","nullable":true,"description":"Tax rate (SDO TAX_RATE; Optional; precision 2)"},"text":{"type":"string","nullable":true,"maxLength":120,"description":"Service invoice/credit text (SDO TEXT; Optional; precision 0)"},"unitOfSale":{"type":"string","nullable":true,"maxLength":8,"description":"Unit of sale (SDO UNIT_OF_SALE; Optional; precision 0)"},"unitPrice":{"type":"number","nullable":true,"description":"Unit price (SDO UNIT_PRICE; Optional; precision 101)"}},"required":["addDiscRate","baseFullNet","baseNet","baseNetvalueDiscount","baseTax","comment1","comment2","costCodeId","deliveryDate","deptNumber","description","discountAmount","discountRate","extOrderLineRef","extOrderRef","fullNetAmount","fundNumber","invoiceNumber","isNegativeLine","itemNumber","itemid","jobReference","netAmount","netvalueDiscount","nextItem","nominalCode","offset","prevItem","projectId","qtyAllocated","qtyDelivered","qtyDespatch","qtyIntrastatConfirmed","qtyOrder","serviceFile","serviceFileSize","serviceFlag","serviceItemLines","stockCode","taxAmount","taxCode","taxFlag","taxRate","text","unitOfSale","unitPrice"],"additionalProperties":false}}},"required":["accountRef","address1","address2","address3","address4","address5","amountPrepaid","analysis1","analysis2","analysis3","bankCode","baseAmountPaid","baseCarrNet","baseCarrTax","baseNetvalueDiscount","baseSettDiscRate","baseTotNet","baseTotTax","carrDeptNumber","carrNet","carrNomCode","carrTax","carrTaxCode","consignmentRef","contactName","countryCode","courier","currency","currencyUsed","custDiscRate","custOrderNumber","custTelNumber","defTaxCode","delAddress1","delAddress2","delAddress3","delAddress4","delAddress5","deletedFlag","deliveryName","discountComment1","discountComment2","discountType","dunsNumber","emailed","eoriNumber","euroGross","euroRate","externalUsage","firstItem","foreignGross","foreignRate","gdnNumber","globalDeptNumber","globalDetails","globalNomCode","globalTaxCode","hasExternalLink","incoterms","invoiceDate","invoiceForeignBalance","invoiceNumber","invoicePaymentId","invoiceTypeCode","itemsNet","itemsTax","lastNetvalueDiscount","lastUpdated","name","netvalueDescription","netvalueDiscount","netvalueDiscountPercent","notes1","notes2","notes3","orderNumber","ossCountryOfVat","ossReportingType","paymentDueDate","paymentOssCountryOfVat","paymentOssReportingType","paymentRef","paymentTaxCode","paymentType","postedCode","practiceSolutionsRefn","printedCode","quoteExpiry","quoteStatus","recordCreateDate","recordDeleted","recordModifyDate","recurringReference","resubmitInvoicePaymentRequired","sendViaEmail","settlementDiscRate","settlementDueDays","status","takenBy","totalBytes","unallocatedNetvalueDiscount","vatRegNumber","id","lines"],"additionalProperties":false},"Uk33_1_invoices_get":{"type":"object","properties":{"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Account reference (SDO ACCOUNT_REF; Required; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 5 (SDO ADDRESS_5; Optional; precision 0)"},"amountPrepaid":{"type":"number","nullable":true,"description":"Amount prepaid (SDO AMOUNT_PREPAID; Optional; precision 2)"},"analysis1":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"bankCode":{"type":"string","nullable":true,"maxLength":8,"description":"Bank posting code (SDO BANK_CODE; Optional; precision 0)"},"baseAmountPaid":{"type":"number","nullable":true,"description":"Base Amount prepaid (SDO BASE_AMOUNT_PAID; Optional; precision 2)"},"baseCarrNet":{"type":"number","nullable":true,"description":"Base Carriage net amount (SDO BASE_CARR_NET; Optional; precision 2)"},"baseCarrTax":{"type":"number","nullable":true,"description":"Base Carriage tax amount (SDO BASE_CARR_TAX; Optional; precision 2)"},"baseNetvalueDiscount":{"type":"number","nullable":true,"description":"Net Value Discount Amount in Base Currency (SDO BASE_NETVALUE_DISCOUNT; Optional; precision 2)"},"baseSettDiscRate":{"type":"number","nullable":true,"description":"Base Settlement discount % rate (SDO BASE_SETT_DISC_RATE; Optional; precision 2)"},"baseTotNet":{"type":"number","nullable":true,"description":"Base Net amount (goods but not carriage) (SDO BASE_TOT_NET; Optional; precision 2)"},"baseTotTax":{"type":"number","nullable":true,"description":"Base Tax amount (goods but not carriage) (SDO BASE_TOT_TAX; Optional; precision 2)"},"carrDeptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Carriage department number (SDO CARR_DEPT_NUMBER; Optional; precision 0)"},"carrNet":{"type":"number","nullable":true,"description":"Carriage net amount (SDO CARR_NET; Optional; precision 2)"},"carrNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Carriage nominal code (SDO CARR_NOM_CODE; Optional; precision 0)"},"carrTax":{"type":"number","nullable":true,"description":"Carriage tax amount (SDO CARR_TAX; Optional; precision 2)"},"carrTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Carriage tax code (SDO CARR_TAX_CODE; Optional; precision 0)"},"consignmentRef":{"type":"string","nullable":true,"maxLength":30,"description":"Consignment Reference (SDO CONSIGNMENT_REF; Optional; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Customer Contact name (SDO CONTACT_NAME; Optional; precision 0)"},"countryCode":{"type":"string","nullable":true,"maxLength":2,"description":"Customer Country code (SDO COUNTRY_CODE; Optional; precision 0)"},"courier":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Courier Number (SDO COURIER; Optional; precision 0)"},"currency":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency (SDO CURRENCY; Optional; precision 0)"},"currencyUsed":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency Used (SDO CURRENCY_USED; Optional; precision 0)"},"custDiscRate":{"type":"number","nullable":true,"description":"Customer Discount (SDO CUST_DISC_RATE; Optional; precision 2)"},"custOrderNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Customer's order number (SDO CUST_ORDER_NUMBER; Optional; precision 0)"},"custTelNumber":{"type":"string","nullable":true,"maxLength":30,"description":"Customer's telephone number (SDO CUST_TEL_NUMBER; Optional; precision 0)"},"defTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Default tax code (SDO DEF_TAX_CODE; Optional; precision 0)"},"delAddress1":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 1 (SDO DEL_ADDRESS_1; Optional; precision 0)"},"delAddress2":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 2 (SDO DEL_ADDRESS_2; Optional; precision 0)"},"delAddress3":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 3 (SDO DEL_ADDRESS_3; Optional; precision 0)"},"delAddress4":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 4 (SDO DEL_ADDRESS_4; Optional; precision 0)"},"delAddress5":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 5 (SDO DEL_ADDRESS_5; Optional; precision 0)"},"deletedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Is Deleted (SDO DELETED_FLAG; Optional; precision 0)"},"deliveryName":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address name (SDO DELIVERY_NAME; Optional; precision 0)"},"discountComment1":{"type":"string","nullable":true,"maxLength":60,"description":"Discount Commment 1 (SDO DISCOUNT_COMMENT1; Optional; precision 0)"},"discountComment2":{"type":"string","nullable":true,"maxLength":60,"description":"Discount Commment 2 (SDO DISCOUNT_COMMENT2; Optional; precision 0)"},"discountType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Discount Type (SDO DISCOUNT_TYPE; Optional; precision 0)"},"dunsNumber":{"type":"string","nullable":true,"maxLength":9,"description":"DUNS credit Reference Number (SDO DUNS_NUMBER; Optional; precision 0)"},"emailed":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Emailed flag - Yes/No (SDO EMAILED; Optional; precision 0)"},"eoriNumber":{"type":"string","nullable":true,"maxLength":17,"description":"Delivery address EORI Number (SDO EORI_NUMBER; Optional; precision 0)"},"euroGross":{"type":"number","nullable":true,"description":"euro Gross Amount (SDO EURO_GROSS; Optional; precision 6)"},"euroRate":{"type":"number","nullable":true,"description":"euro Rate (SDO EURO_RATE; Optional; precision 6)"},"externalUsage":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Number of External Usages (SDO EXTERNAL_USAGE; Optional; precision 0)"},"firstItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO FIRST_ITEM; Optional; precision 0)"},"foreignGross":{"type":"number","nullable":true,"description":"Foreign Gross Amount (SDO FOREIGN_GROSS; Optional; precision 6)"},"foreignRate":{"type":"number","nullable":true,"description":"Foreign Rate for euro currency (SDO FOREIGN_RATE; Optional; precision 6)"},"gdnNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"GDN Reference (SDO GDN_NUMBER; Optional; precision 0)"},"globalDeptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Global department number (SDO GLOBAL_DEPT_NUMBER; Optional; precision 0)"},"globalDetails":{"type":"string","nullable":true,"maxLength":60,"description":"Global details (SDO GLOBAL_DETAILS; Optional; precision 0)"},"globalNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Global nominal code (SDO GLOBAL_NOM_CODE; Optional; precision 0)"},"globalTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Global tax code (SDO GLOBAL_TAX_CODE; Optional; precision 0)"},"hasExternalLink":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Has External Link (SDO HAS_EXTERNAL_LINK; Optional; precision 0)"},"incoterms":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Incoterms (SDO INCOTERMS; Optional; precision 0)"},"invoiceDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Invoice Date (SDO INVOICE_DATE; Required; precision 0)"},"invoiceForeignBalance":{"type":"number","nullable":true,"description":"Foreign Balance (SDO INVOICE_FOREIGN_BALANCE; Optional; precision 6)"},"invoiceNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Invoice number (SDO INVOICE_NUMBER; Required; precision 0)"},"invoicePaymentId":{"type":"string","nullable":true,"maxLength":37,"description":"Payment Cloud Identifier (SDO INVOICE_PAYMENT_ID; Optional; precision 0)"},"invoiceTypeCode":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Invoice type code (SDO INVOICE_TYPE_CODE; Required; precision 0)"},"itemsNet":{"type":"number","nullable":true,"description":"Net amount (goods but not carriage) (SDO ITEMS_NET; Optional; precision 2)"},"itemsTax":{"type":"number","nullable":true,"description":"Tax amount (goods but not carriage) (SDO ITEMS_TAX; Optional; precision 2)"},"lastNetvalueDiscount":{"type":"number","nullable":true,"description":"Last Net Value Discount Amount (SDO LAST_NETVALUE_DISCOUNT; Optional; precision 2)"},"lastUpdated":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date of last update (SDO LAST_UPDATED; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Account Name (SDO NAME; Optional; precision 0)"},"netvalueDescription":{"type":"string","nullable":true,"maxLength":60,"description":"Net Value Discount Description (SDO NETVALUE_DESCRIPTION; Optional; precision 0)"},"netvalueDiscount":{"type":"number","nullable":true,"description":"Net Value Discount Amount (SDO NETVALUE_DISCOUNT; Optional; precision 2)"},"netvalueDiscountPercent":{"type":"number","nullable":true,"description":"Net Value Discount Percentage (SDO NETVALUE_DISCOUNT_PERCENT; Optional; precision 2)"},"notes1":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 1 (SDO NOTES_1; Optional; precision 0)"},"notes2":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 2 (SDO NOTES_2; Optional; precision 0)"},"notes3":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 3 (SDO NOTES_3; Optional; precision 0)"},"orderNumber":{"type":"string","nullable":true,"maxLength":7,"description":"Corresponding order number (SDO ORDER_NUMBER; Required; precision 0)"},"ossCountryOfVat":{"type":"string","nullable":true,"maxLength":2,"description":"Country of VAT (SDO OSS_COUNTRY_OF_VAT; Optional; precision 0)"},"ossReportingType":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Report type (SDO OSS_REPORTING_TYPE; Optional; precision 0)"},"paymentDueDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Invoice Payment Due Date (SDO PAYMENT_DUE_DATE; Optional; precision 0)"},"paymentOssCountryOfVat":{"type":"string","nullable":true,"maxLength":2,"description":"Payment Country of VAT (SDO PAYMENT_OSS_COUNTRY_OF_VAT; Optional; precision 0)"},"paymentOssReportingType":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Payment Report type (SDO PAYMENT_OSS_REPORTING_TYPE; Optional; precision 0)"},"paymentRef":{"type":"string","nullable":true,"maxLength":30,"description":"Payment reference (SDO PAYMENT_REF; Optional; precision 0)"},"paymentTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Payment tax code (SDO PAYMENT_TAX_CODE; Optional; precision 0)"},"paymentType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Payment Type (SR/SA) (SDO PAYMENT_TYPE; Optional; precision 0)"},"postedCode":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Posted flag - Yes/No (SDO POSTED_CODE; Optional; precision 0)"},"practiceSolutionsRefn":{"type":"string","nullable":true,"maxLength":60,"description":"Sage Practice Solutions Reference (SDO PRACTICE_SOLUTIONS_REFN; Optional; precision 0)"},"printedCode":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Printed flag - Yes/No (SDO PRINTED_CODE; Optional; precision 0)"},"quoteExpiry":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Quote Expiry (SDO QUOTE_EXPIRY; Optional; precision 0)"},"quoteStatus":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Quote Status (SDO QUOTE_STATUS; Optional; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"recurringReference":{"type":"string","nullable":true,"maxLength":11,"description":"Recurring Reference (SDO RECURRING_REFERENCE; Optional; precision 0)"},"resubmitInvoicePaymentRequired":{"type":"string","nullable":true,"maxLength":0,"description":"Payment Cloud Identifier (SDO RESUBMIT_INVOICE_PAYMENT_REQUIRED; Optional; precision 0)"},"sendViaEmail":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Sent via TMail - Yes/No (SDO SEND_VIA_EMAIL; Optional; precision 0)"},"settlementDiscRate":{"type":"number","nullable":true,"description":"Settlement discount % rate (SDO SETTLEMENT_DISC_RATE; Optional; precision 2)"},"settlementDueDays":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Settlement days (SDO SETTLEMENT_DUE_DAYS; Optional; precision 0)"},"status":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Order status code (SDO STATUS; Optional; precision 0)"},"takenBy":{"type":"string","nullable":true,"maxLength":60,"description":"Order taken by (SDO TAKEN_BY; Optional; precision 0)"},"totalBytes":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO TOTAL_BYTES; Optional; precision 0)"},"unallocatedNetvalueDiscount":{"type":"number","nullable":true,"description":"Unallocated Net Value Discount Amount (SDO UNALLOCATED_NETVALUE_DISCOUNT; Optional; precision 2)"},"vatRegNumber":{"type":"string","nullable":true,"maxLength":20,"description":"VAT Number (SDO VAT_REG_NUMBER; Optional; precision 0)"},"id":{"type":"string"},"lines":{"type":"array","items":{"type":"object","properties":{"addDiscRate":{"type":"number","nullable":true,"description":"Additional discount percentage rate (SDO ADD_DISC_RATE; Optional; precision 2)"},"baseFullNet":{"type":"number","nullable":true,"description":"Full net value in Base Currency (SDO BASE_FULL_NET; Optional; precision 2)"},"baseNet":{"type":"number","nullable":true,"description":"Net value in Base Currency (SDO BASE_NET; Optional; precision 2)"},"baseNetvalueDiscount":{"type":"number","nullable":true,"description":"Net Value Discount Amount in Base Currency (SDO BASE_NETVALUE_DISCOUNT; Optional; precision 2)"},"baseTax":{"type":"number","nullable":true,"description":"Tax value in Base Currency (SDO BASE_TAX; Optional; precision 2)"},"comment1":{"type":"string","nullable":true,"maxLength":60,"description":"Comment 1 (SDO COMMENT_1; Optional; precision 0)"},"comment2":{"type":"string","nullable":true,"maxLength":60,"description":"Comment 2 (SDO COMMENT_2; Optional; precision 0)"},"costCodeId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Project Cost Code ID (SDO COST_CODE_ID; Optional; precision 0)"},"deliveryDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Delivery date (SDO DELIVERY_DATE; Optional; precision 0)"},"deptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Department number (SDO DEPT_NUMBER; Optional; precision 0)"},"description":{"type":"string","nullable":true,"maxLength":120,"description":"Description (SDO DESCRIPTION; Optional; precision 0)"},"discountAmount":{"type":"number","nullable":true,"description":"Discount amount (SDO DISCOUNT_AMOUNT; Optional; precision 2)"},"discountRate":{"type":"number","nullable":true,"description":"Discount percentage rate (SDO DISCOUNT_RATE; Optional; precision 2)"},"extOrderLineRef":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"External Line Reference for SOP to INV link (SDO EXT_ORDER_LINE_REF; Optional; precision 0)"},"extOrderRef":{"type":"string","nullable":true,"maxLength":30,"description":"External Reference for SOP to INV link (SDO EXT_ORDER_REF; Optional; precision 0)"},"fullNetAmount":{"type":"number","nullable":true,"description":"Full net amount (before discount) (SDO FULL_NET_AMOUNT; Optional; precision 2)"},"fundNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Fund number (SDO FUND_NUMBER; Optional; precision 0)"},"invoiceNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Invoice Number (SDO INVOICE_NUMBER; Optional; precision 0)"},"isNegativeLine":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the invoice item line is a negative line. (SDO IS_NEGATIVE_LINE; Optional; precision 0)"},"itemNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Item Number (SDO ITEM_NUMBER; Optional; precision 0)"},"itemid":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Unique ID (SDO ITEMID; Optional; precision 0)"},"jobReference":{"type":"string","nullable":true,"maxLength":60,"description":"Job Reference (SDO JOB_REFERENCE; Optional; precision 0)"},"netAmount":{"type":"number","nullable":true,"description":"Net amount (after discount) (SDO NET_AMOUNT; Optional; precision 2)"},"netvalueDiscount":{"type":"number","nullable":true,"description":"Net Value Discount Amount (SDO NETVALUE_DISCOUNT; Optional; precision 2)"},"nextItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO NEXT_ITEM; Optional; precision 0)"},"nominalCode":{"type":"string","nullable":true,"maxLength":8,"description":"Nominal code (SDO NOMINAL_CODE; Optional; precision 0)"},"offset":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Offset of Service Text (SDO OFFSET; Optional; precision 0)"},"prevItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO PREV_ITEM; Optional; precision 0)"},"projectId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Project ID (SDO PROJECT_ID; Optional; precision 0)"},"qtyAllocated":{"type":"number","nullable":true,"description":"Quantity allocated for this order (SDO QTY_ALLOCATED; Optional; precision 102)"},"qtyDelivered":{"type":"number","nullable":true,"description":"Quantity previously delivered for this order (SDO QTY_DELIVERED; Optional; precision 102)"},"qtyDespatch":{"type":"number","nullable":true,"description":"Quantity to despatch/despatched on this delivery (SDO QTY_DESPATCH; Optional; precision 102)"},"qtyIntrastatConfirmed":{"type":"number","nullable":true,"description":"Quantity Intrastat Confirmed (SDO QTY_INTRASTAT_CONFIRMED; Optional; precision 102)"},"qtyOrder":{"type":"number","nullable":true,"description":"Quantity ordered (SDO QTY_ORDER; Optional; precision 102)"},"serviceFile":{"type":"string","nullable":true,"maxLength":120,"description":"Redundant - Do not use (SDO SERVICE_FILE; Optional; precision 0)"},"serviceFileSize":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Redundant - Do not use (SDO SERVICE_FILE_SIZE; Optional; precision 0)"},"serviceFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Item Type Flag (SDO SERVICE_FLAG; Optional; precision 0)"},"serviceItemLines":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Redundant - Do not use (SDO SERVICE_ITEM_LINES; Optional; precision 0)"},"stockCode":{"type":"string","nullable":true,"maxLength":30,"description":"Stock code (SDO STOCK_CODE; Required; precision 0)"},"taxAmount":{"type":"number","nullable":true,"description":"Tax amount (SDO TAX_AMOUNT; Optional; precision 2)"},"taxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax code (SDO TAX_CODE; Optional; precision 0)"},"taxFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":" (SDO TAX_FLAG; Optional; precision 0)"},"taxRate":{"type":"number","nullable":true,"description":"Tax rate (SDO TAX_RATE; Optional; precision 2)"},"text":{"type":"string","nullable":true,"maxLength":120,"description":"Service invoice/credit text (SDO TEXT; Optional; precision 0)"},"unitOfSale":{"type":"string","nullable":true,"maxLength":8,"description":"Unit of sale (SDO UNIT_OF_SALE; Optional; precision 0)"},"unitPrice":{"type":"number","nullable":true,"description":"Unit price (SDO UNIT_PRICE; Optional; precision 101)"}},"required":["addDiscRate","baseFullNet","baseNet","baseNetvalueDiscount","baseTax","comment1","comment2","costCodeId","deliveryDate","deptNumber","description","discountAmount","discountRate","extOrderLineRef","extOrderRef","fullNetAmount","fundNumber","invoiceNumber","isNegativeLine","itemNumber","itemid","jobReference","netAmount","netvalueDiscount","nextItem","nominalCode","offset","prevItem","projectId","qtyAllocated","qtyDelivered","qtyDespatch","qtyIntrastatConfirmed","qtyOrder","serviceFile","serviceFileSize","serviceFlag","serviceItemLines","stockCode","taxAmount","taxCode","taxFlag","taxRate","text","unitOfSale","unitPrice"],"additionalProperties":false}}},"required":["accountRef","address1","address2","address3","address4","address5","amountPrepaid","analysis1","analysis2","analysis3","bankCode","baseAmountPaid","baseCarrNet","baseCarrTax","baseNetvalueDiscount","baseSettDiscRate","baseTotNet","baseTotTax","carrDeptNumber","carrNet","carrNomCode","carrTax","carrTaxCode","consignmentRef","contactName","countryCode","courier","currency","currencyUsed","custDiscRate","custOrderNumber","custTelNumber","defTaxCode","delAddress1","delAddress2","delAddress3","delAddress4","delAddress5","deletedFlag","deliveryName","discountComment1","discountComment2","discountType","dunsNumber","emailed","eoriNumber","euroGross","euroRate","externalUsage","firstItem","foreignGross","foreignRate","gdnNumber","globalDeptNumber","globalDetails","globalNomCode","globalTaxCode","hasExternalLink","incoterms","invoiceDate","invoiceForeignBalance","invoiceNumber","invoicePaymentId","invoiceTypeCode","itemsNet","itemsTax","lastNetvalueDiscount","lastUpdated","name","netvalueDescription","netvalueDiscount","netvalueDiscountPercent","notes1","notes2","notes3","orderNumber","ossCountryOfVat","ossReportingType","paymentDueDate","paymentOssCountryOfVat","paymentOssReportingType","paymentRef","paymentTaxCode","paymentType","postedCode","practiceSolutionsRefn","printedCode","quoteExpiry","quoteStatus","recordCreateDate","recordDeleted","recordModifyDate","recurringReference","resubmitInvoicePaymentRequired","sendViaEmail","settlementDiscRate","settlementDueDays","status","takenBy","totalBytes","unallocatedNetvalueDiscount","vatRegNumber","id","lines"],"additionalProperties":false},"Uk34_1_invoices_get":{"type":"object","properties":{"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Account reference (SDO ACCOUNT_REF; Required; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 5 (SDO ADDRESS_5; Optional; precision 0)"},"amountPrepaid":{"type":"number","nullable":true,"description":"Amount prepaid (SDO AMOUNT_PREPAID; Optional; precision 2)"},"analysis1":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"bankCode":{"type":"string","nullable":true,"maxLength":8,"description":"Bank posting code (SDO BANK_CODE; Optional; precision 0)"},"baseAmountPaid":{"type":"number","nullable":true,"description":"Base Amount prepaid (SDO BASE_AMOUNT_PAID; Optional; precision 2)"},"baseCarrNet":{"type":"number","nullable":true,"description":"Base Carriage net amount (SDO BASE_CARR_NET; Optional; precision 2)"},"baseCarrTax":{"type":"number","nullable":true,"description":"Base Carriage tax amount (SDO BASE_CARR_TAX; Optional; precision 2)"},"baseNetvalueDiscount":{"type":"number","nullable":true,"description":"Net Value Discount Amount in Base Currency (SDO BASE_NETVALUE_DISCOUNT; Optional; precision 2)"},"baseSettDiscRate":{"type":"number","nullable":true,"description":"Base Settlement discount % rate (SDO BASE_SETT_DISC_RATE; Optional; precision 2)"},"baseTotNet":{"type":"number","nullable":true,"description":"Base Net amount (goods but not carriage) (SDO BASE_TOT_NET; Optional; precision 2)"},"baseTotTax":{"type":"number","nullable":true,"description":"Base Tax amount (goods but not carriage) (SDO BASE_TOT_TAX; Optional; precision 2)"},"carrDeptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Carriage department number (SDO CARR_DEPT_NUMBER; Optional; precision 0)"},"carrNet":{"type":"number","nullable":true,"description":"Carriage net amount (SDO CARR_NET; Optional; precision 2)"},"carrNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Carriage nominal code (SDO CARR_NOM_CODE; Optional; precision 0)"},"carrTax":{"type":"number","nullable":true,"description":"Carriage tax amount (SDO CARR_TAX; Optional; precision 2)"},"carrTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Carriage tax code (SDO CARR_TAX_CODE; Optional; precision 0)"},"consignmentRef":{"type":"string","nullable":true,"maxLength":30,"description":"Consignment Reference (SDO CONSIGNMENT_REF; Optional; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Customer Contact name (SDO CONTACT_NAME; Optional; precision 0)"},"countryCode":{"type":"string","nullable":true,"maxLength":2,"description":"Customer Country code (SDO COUNTRY_CODE; Optional; precision 0)"},"courier":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Courier Number (SDO COURIER; Optional; precision 0)"},"currency":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency (SDO CURRENCY; Optional; precision 0)"},"currencyUsed":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency Used (SDO CURRENCY_USED; Optional; precision 0)"},"custDiscRate":{"type":"number","nullable":true,"description":"Customer Discount (SDO CUST_DISC_RATE; Optional; precision 2)"},"custOrderNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Customer's order number (SDO CUST_ORDER_NUMBER; Optional; precision 0)"},"custTelNumber":{"type":"string","nullable":true,"maxLength":30,"description":"Customer's telephone number (SDO CUST_TEL_NUMBER; Optional; precision 0)"},"defTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Default tax code (SDO DEF_TAX_CODE; Optional; precision 0)"},"delAddress1":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 1 (SDO DEL_ADDRESS_1; Optional; precision 0)"},"delAddress2":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 2 (SDO DEL_ADDRESS_2; Optional; precision 0)"},"delAddress3":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 3 (SDO DEL_ADDRESS_3; Optional; precision 0)"},"delAddress4":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 4 (SDO DEL_ADDRESS_4; Optional; precision 0)"},"delAddress5":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 5 (SDO DEL_ADDRESS_5; Optional; precision 0)"},"deletedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Is Deleted (SDO DELETED_FLAG; Optional; precision 0)"},"deliveryName":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address name (SDO DELIVERY_NAME; Optional; precision 0)"},"discountComment1":{"type":"string","nullable":true,"maxLength":60,"description":"Discount Commment 1 (SDO DISCOUNT_COMMENT1; Optional; precision 0)"},"discountComment2":{"type":"string","nullable":true,"maxLength":60,"description":"Discount Commment 2 (SDO DISCOUNT_COMMENT2; Optional; precision 0)"},"discountType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Discount Type (SDO DISCOUNT_TYPE; Optional; precision 0)"},"dunsNumber":{"type":"string","nullable":true,"maxLength":9,"description":"DUNS credit Reference Number (SDO DUNS_NUMBER; Optional; precision 0)"},"emailed":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Emailed flag - Yes/No (SDO EMAILED; Optional; precision 0)"},"eoriNumber":{"type":"string","nullable":true,"maxLength":17,"description":"Delivery address EORI Number (SDO EORI_NUMBER; Optional; precision 0)"},"euroGross":{"type":"number","nullable":true,"description":"euro Gross Amount (SDO EURO_GROSS; Optional; precision 6)"},"euroRate":{"type":"number","nullable":true,"description":"euro Rate (SDO EURO_RATE; Optional; precision 6)"},"externalUsage":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Number of External Usages (SDO EXTERNAL_USAGE; Optional; precision 0)"},"firstItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO FIRST_ITEM; Optional; precision 0)"},"foreignGross":{"type":"number","nullable":true,"description":"Foreign Gross Amount (SDO FOREIGN_GROSS; Optional; precision 6)"},"foreignRate":{"type":"number","nullable":true,"description":"Foreign Rate for euro currency (SDO FOREIGN_RATE; Optional; precision 6)"},"gdnNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"GDN Reference (SDO GDN_NUMBER; Optional; precision 0)"},"globalDeptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Global department number (SDO GLOBAL_DEPT_NUMBER; Optional; precision 0)"},"globalDetails":{"type":"string","nullable":true,"maxLength":60,"description":"Global details (SDO GLOBAL_DETAILS; Optional; precision 0)"},"globalNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Global nominal code (SDO GLOBAL_NOM_CODE; Optional; precision 0)"},"globalTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Global tax code (SDO GLOBAL_TAX_CODE; Optional; precision 0)"},"hasExternalLink":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Has External Link (SDO HAS_EXTERNAL_LINK; Optional; precision 0)"},"incoterms":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Incoterms (SDO INCOTERMS; Optional; precision 0)"},"invoiceDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Invoice Date (SDO INVOICE_DATE; Required; precision 0)"},"invoiceForeignBalance":{"type":"number","nullable":true,"description":"Foreign Balance (SDO INVOICE_FOREIGN_BALANCE; Optional; precision 6)"},"invoiceNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Invoice number (SDO INVOICE_NUMBER; Required; precision 0)"},"invoicePaymentId":{"type":"string","nullable":true,"maxLength":37,"description":"Payment Cloud Identifier (SDO INVOICE_PAYMENT_ID; Optional; precision 0)"},"invoiceTypeCode":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Invoice type code (SDO INVOICE_TYPE_CODE; Required; precision 0)"},"itemsNet":{"type":"number","nullable":true,"description":"Net amount (goods but not carriage) (SDO ITEMS_NET; Optional; precision 2)"},"itemsTax":{"type":"number","nullable":true,"description":"Tax amount (goods but not carriage) (SDO ITEMS_TAX; Optional; precision 2)"},"lastNetvalueDiscount":{"type":"number","nullable":true,"description":"Last Net Value Discount Amount (SDO LAST_NETVALUE_DISCOUNT; Optional; precision 2)"},"lastUpdated":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date of last update (SDO LAST_UPDATED; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Account Name (SDO NAME; Optional; precision 0)"},"netvalueDescription":{"type":"string","nullable":true,"maxLength":60,"description":"Net Value Discount Description (SDO NETVALUE_DESCRIPTION; Optional; precision 0)"},"netvalueDiscount":{"type":"number","nullable":true,"description":"Net Value Discount Amount (SDO NETVALUE_DISCOUNT; Optional; precision 2)"},"netvalueDiscountPercent":{"type":"number","nullable":true,"description":"Net Value Discount Percentage (SDO NETVALUE_DISCOUNT_PERCENT; Optional; precision 2)"},"notes1":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 1 (SDO NOTES_1; Optional; precision 0)"},"notes2":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 2 (SDO NOTES_2; Optional; precision 0)"},"notes3":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 3 (SDO NOTES_3; Optional; precision 0)"},"orderNumber":{"type":"string","nullable":true,"maxLength":7,"description":"Corresponding order number (SDO ORDER_NUMBER; Required; precision 0)"},"ossCountryOfVat":{"type":"string","nullable":true,"maxLength":2,"description":"Country of VAT (SDO OSS_COUNTRY_OF_VAT; Optional; precision 0)"},"ossReportingType":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Report type (SDO OSS_REPORTING_TYPE; Optional; precision 0)"},"paymentDueDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Invoice Payment Due Date (SDO PAYMENT_DUE_DATE; Optional; precision 0)"},"paymentOssCountryOfVat":{"type":"string","nullable":true,"maxLength":2,"description":"Payment Country of VAT (SDO PAYMENT_OSS_COUNTRY_OF_VAT; Optional; precision 0)"},"paymentOssReportingType":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Payment Report type (SDO PAYMENT_OSS_REPORTING_TYPE; Optional; precision 0)"},"paymentRef":{"type":"string","nullable":true,"maxLength":30,"description":"Payment reference (SDO PAYMENT_REF; Optional; precision 0)"},"paymentTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Payment tax code (SDO PAYMENT_TAX_CODE; Optional; precision 0)"},"paymentType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Payment Type (SR/SA) (SDO PAYMENT_TYPE; Optional; precision 0)"},"postedCode":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Posted flag - Yes/No (SDO POSTED_CODE; Optional; precision 0)"},"practiceSolutionsRefn":{"type":"string","nullable":true,"maxLength":60,"description":"Sage Practice Solutions Reference (SDO PRACTICE_SOLUTIONS_REFN; Optional; precision 0)"},"printedCode":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Printed flag - Yes/No (SDO PRINTED_CODE; Optional; precision 0)"},"quoteExpiry":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Quote Expiry (SDO QUOTE_EXPIRY; Optional; precision 0)"},"quoteStatus":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Quote Status (SDO QUOTE_STATUS; Optional; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"recurringReference":{"type":"string","nullable":true,"maxLength":11,"description":"Recurring Reference (SDO RECURRING_REFERENCE; Optional; precision 0)"},"resubmitInvoicePaymentRequired":{"type":"string","nullable":true,"maxLength":0,"description":"Payment Cloud Identifier (SDO RESUBMIT_INVOICE_PAYMENT_REQUIRED; Optional; precision 0)"},"sendViaEmail":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Sent via TMail - Yes/No (SDO SEND_VIA_EMAIL; Optional; precision 0)"},"settlementDiscRate":{"type":"number","nullable":true,"description":"Settlement discount % rate (SDO SETTLEMENT_DISC_RATE; Optional; precision 2)"},"settlementDueDays":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Settlement days (SDO SETTLEMENT_DUE_DAYS; Optional; precision 0)"},"status":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Order status code (SDO STATUS; Optional; precision 0)"},"takenBy":{"type":"string","nullable":true,"maxLength":60,"description":"Order taken by (SDO TAKEN_BY; Optional; precision 0)"},"totalBytes":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO TOTAL_BYTES; Optional; precision 0)"},"unallocatedNetvalueDiscount":{"type":"number","nullable":true,"description":"Unallocated Net Value Discount Amount (SDO UNALLOCATED_NETVALUE_DISCOUNT; Optional; precision 2)"},"vatRegNumber":{"type":"string","nullable":true,"maxLength":20,"description":"VAT Number (SDO VAT_REG_NUMBER; Optional; precision 0)"},"id":{"type":"string"},"lines":{"type":"array","items":{"type":"object","properties":{"addDiscRate":{"type":"number","nullable":true,"description":"Additional discount percentage rate (SDO ADD_DISC_RATE; Optional; precision 2)"},"baseFullNet":{"type":"number","nullable":true,"description":"Full net value in Base Currency (SDO BASE_FULL_NET; Optional; precision 2)"},"baseNet":{"type":"number","nullable":true,"description":"Net value in Base Currency (SDO BASE_NET; Optional; precision 2)"},"baseNetvalueDiscount":{"type":"number","nullable":true,"description":"Net Value Discount Amount in Base Currency (SDO BASE_NETVALUE_DISCOUNT; Optional; precision 2)"},"baseTax":{"type":"number","nullable":true,"description":"Tax value in Base Currency (SDO BASE_TAX; Optional; precision 2)"},"comment1":{"type":"string","nullable":true,"maxLength":60,"description":"Comment 1 (SDO COMMENT_1; Optional; precision 0)"},"comment2":{"type":"string","nullable":true,"maxLength":60,"description":"Comment 2 (SDO COMMENT_2; Optional; precision 0)"},"costCodeId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Project Cost Code ID (SDO COST_CODE_ID; Optional; precision 0)"},"deliveryDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Delivery date (SDO DELIVERY_DATE; Optional; precision 0)"},"deptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Department number (SDO DEPT_NUMBER; Optional; precision 0)"},"description":{"type":"string","nullable":true,"maxLength":120,"description":"Description (SDO DESCRIPTION; Optional; precision 0)"},"discountAmount":{"type":"number","nullable":true,"description":"Discount amount (SDO DISCOUNT_AMOUNT; Optional; precision 2)"},"discountRate":{"type":"number","nullable":true,"description":"Discount percentage rate (SDO DISCOUNT_RATE; Optional; precision 2)"},"extOrderLineRef":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"External Line Reference for SOP to INV link (SDO EXT_ORDER_LINE_REF; Optional; precision 0)"},"extOrderRef":{"type":"string","nullable":true,"maxLength":30,"description":"External Reference for SOP to INV link (SDO EXT_ORDER_REF; Optional; precision 0)"},"fullNetAmount":{"type":"number","nullable":true,"description":"Full net amount (before discount) (SDO FULL_NET_AMOUNT; Optional; precision 2)"},"fundNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Fund number (SDO FUND_NUMBER; Optional; precision 0)"},"invoiceNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Invoice Number (SDO INVOICE_NUMBER; Optional; precision 0)"},"isNegativeLine":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the invoice item line is a negative line. (SDO IS_NEGATIVE_LINE; Optional; precision 0)"},"itemNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Item Number (SDO ITEM_NUMBER; Optional; precision 0)"},"itemid":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Unique ID (SDO ITEMID; Optional; precision 0)"},"jobReference":{"type":"string","nullable":true,"maxLength":60,"description":"Job Reference (SDO JOB_REFERENCE; Optional; precision 0)"},"netAmount":{"type":"number","nullable":true,"description":"Net amount (after discount) (SDO NET_AMOUNT; Optional; precision 2)"},"netvalueDiscount":{"type":"number","nullable":true,"description":"Net Value Discount Amount (SDO NETVALUE_DISCOUNT; Optional; precision 2)"},"nextItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO NEXT_ITEM; Optional; precision 0)"},"nominalCode":{"type":"string","nullable":true,"maxLength":8,"description":"Nominal code (SDO NOMINAL_CODE; Optional; precision 0)"},"offset":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Offset of Service Text (SDO OFFSET; Optional; precision 0)"},"prevItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO PREV_ITEM; Optional; precision 0)"},"projectId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Project ID (SDO PROJECT_ID; Optional; precision 0)"},"qtyAllocated":{"type":"number","nullable":true,"description":"Quantity allocated for this order (SDO QTY_ALLOCATED; Optional; precision 102)"},"qtyDelivered":{"type":"number","nullable":true,"description":"Quantity previously delivered for this order (SDO QTY_DELIVERED; Optional; precision 102)"},"qtyDespatch":{"type":"number","nullable":true,"description":"Quantity to despatch/despatched on this delivery (SDO QTY_DESPATCH; Optional; precision 102)"},"qtyIntrastatConfirmed":{"type":"number","nullable":true,"description":"Quantity Intrastat Confirmed (SDO QTY_INTRASTAT_CONFIRMED; Optional; precision 102)"},"qtyOrder":{"type":"number","nullable":true,"description":"Quantity ordered (SDO QTY_ORDER; Optional; precision 102)"},"serviceFile":{"type":"string","nullable":true,"maxLength":120,"description":"Redundant - Do not use (SDO SERVICE_FILE; Optional; precision 0)"},"serviceFileSize":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Redundant - Do not use (SDO SERVICE_FILE_SIZE; Optional; precision 0)"},"serviceFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Item Type Flag (SDO SERVICE_FLAG; Optional; precision 0)"},"serviceItemLines":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Redundant - Do not use (SDO SERVICE_ITEM_LINES; Optional; precision 0)"},"stockCode":{"type":"string","nullable":true,"maxLength":30,"description":"Stock code (SDO STOCK_CODE; Required; precision 0)"},"taxAmount":{"type":"number","nullable":true,"description":"Tax amount (SDO TAX_AMOUNT; Optional; precision 2)"},"taxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax code (SDO TAX_CODE; Optional; precision 0)"},"taxFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":" (SDO TAX_FLAG; Optional; precision 0)"},"taxRate":{"type":"number","nullable":true,"description":"Tax rate (SDO TAX_RATE; Optional; precision 2)"},"text":{"type":"string","nullable":true,"maxLength":120,"description":"Service invoice/credit text (SDO TEXT; Optional; precision 0)"},"unitOfSale":{"type":"string","nullable":true,"maxLength":8,"description":"Unit of sale (SDO UNIT_OF_SALE; Optional; precision 0)"},"unitPrice":{"type":"number","nullable":true,"description":"Unit price (SDO UNIT_PRICE; Optional; precision 101)"}},"required":["addDiscRate","baseFullNet","baseNet","baseNetvalueDiscount","baseTax","comment1","comment2","costCodeId","deliveryDate","deptNumber","description","discountAmount","discountRate","extOrderLineRef","extOrderRef","fullNetAmount","fundNumber","invoiceNumber","isNegativeLine","itemNumber","itemid","jobReference","netAmount","netvalueDiscount","nextItem","nominalCode","offset","prevItem","projectId","qtyAllocated","qtyDelivered","qtyDespatch","qtyIntrastatConfirmed","qtyOrder","serviceFile","serviceFileSize","serviceFlag","serviceItemLines","stockCode","taxAmount","taxCode","taxFlag","taxRate","text","unitOfSale","unitPrice"],"additionalProperties":false}}},"required":["accountRef","address1","address2","address3","address4","address5","amountPrepaid","analysis1","analysis2","analysis3","bankCode","baseAmountPaid","baseCarrNet","baseCarrTax","baseNetvalueDiscount","baseSettDiscRate","baseTotNet","baseTotTax","carrDeptNumber","carrNet","carrNomCode","carrTax","carrTaxCode","consignmentRef","contactName","countryCode","courier","currency","currencyUsed","custDiscRate","custOrderNumber","custTelNumber","defTaxCode","delAddress1","delAddress2","delAddress3","delAddress4","delAddress5","deletedFlag","deliveryName","discountComment1","discountComment2","discountType","dunsNumber","emailed","eoriNumber","euroGross","euroRate","externalUsage","firstItem","foreignGross","foreignRate","gdnNumber","globalDeptNumber","globalDetails","globalNomCode","globalTaxCode","hasExternalLink","incoterms","invoiceDate","invoiceForeignBalance","invoiceNumber","invoicePaymentId","invoiceTypeCode","itemsNet","itemsTax","lastNetvalueDiscount","lastUpdated","name","netvalueDescription","netvalueDiscount","netvalueDiscountPercent","notes1","notes2","notes3","orderNumber","ossCountryOfVat","ossReportingType","paymentDueDate","paymentOssCountryOfVat","paymentOssReportingType","paymentRef","paymentTaxCode","paymentType","postedCode","practiceSolutionsRefn","printedCode","quoteExpiry","quoteStatus","recordCreateDate","recordDeleted","recordModifyDate","recurringReference","resubmitInvoicePaymentRequired","sendViaEmail","settlementDiscRate","settlementDueDays","status","takenBy","totalBytes","unallocatedNetvalueDiscount","vatRegNumber","id","lines"],"additionalProperties":false},"Us2026_1_invoices_get":{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"amount":{"type":"number"},"date":{"type":"string"},"isPosted":{"type":"boolean"},"lastSavedAt":{"type":"string"},"referenceNumber":{"type":"string","nullable":true,"maxLength":100000},"amountDue":{"type":"number"},"applyToProposalLines":{"type":"array","nullable":true,"items":{"type":"object","nullable":true,"properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"amount":{"type":"number"},"description":{"type":"string","nullable":true,"maxLength":100000},"isUsed":{"type":"boolean"},"inventoryItemReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"jobReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"parentTransactionReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"proposalLineReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"quantity":{"type":"number"},"salesTaxType":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"unitPrice":{"type":"number"},"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"maxItems":10000},"applyToSalesLines":{"type":"array","nullable":true,"items":{"type":"object","nullable":true,"properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"amount":{"type":"number"},"description":{"type":"string","nullable":true,"maxLength":100000},"isUsed":{"type":"boolean"},"inventoryItemReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"jobReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"parentTransactionReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"quantity":{"type":"number"},"salesTaxType":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"unitPrice":{"type":"number"},"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"maxItems":10000},"applyToSalesOrderLines":{"type":"array","nullable":true,"items":{"type":"object","nullable":true,"properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"amount":{"type":"number"},"description":{"type":"string","nullable":true,"maxLength":100000},"isUsed":{"type":"boolean"},"inventoryItemReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"jobReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"parentTransactionReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"quantity":{"type":"number"},"salesOrderLineReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"salesTaxType":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"unitPrice":{"type":"number"},"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"maxItems":10000},"customerNote":{"type":"string","nullable":true,"maxLength":100000},"customerPurchaseOrderNumber":{"type":"string","nullable":true,"maxLength":100000},"customerReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"dateDue":{"type":"string","nullable":true},"discountAmount":{"type":"number"},"discountDate":{"type":"string","nullable":true},"dropShip":{"type":"boolean"},"freightAccountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"freightAmount":{"type":"number"},"internalNote":{"type":"string","nullable":true,"maxLength":100000},"printCustomerNoteAfterLineItems":{"type":"boolean"},"salesRepresentativeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"salesTaxAmount":{"type":"number"},"salesTaxCodeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"shipDate":{"type":"string","nullable":true},"shipToAddress":{"type":"object","nullable":true,"properties":{"address":{"type":"object","nullable":true,"properties":{"address1":{"type":"string","nullable":true,"maxLength":100000},"address2":{"type":"string","nullable":true,"maxLength":100000},"city":{"type":"string","nullable":true,"maxLength":100000},"country":{"type":"string","nullable":true,"maxLength":100000},"salesTaxCode":{"type":"string","nullable":true,"maxLength":100000},"state":{"type":"string","nullable":true,"maxLength":100000},"zip":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"name":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"shipVia":{"type":"string","nullable":true,"maxLength":100000},"statementNote":{"type":"string","nullable":true,"maxLength":100000},"termsDescription":{"type":"string","nullable":true,"maxLength":100000},"withholdRetainageLines":{"type":"array","nullable":true,"items":{"type":"object","nullable":true,"properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"amount":{"type":"number"},"description":{"type":"string","nullable":true,"maxLength":100000},"isUsed":{"type":"boolean"},"jobReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"parentTransactionReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"retainagePercent":{"type":"number"},"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"maxItems":10000},"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"Us2026_1_invoices_create":{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"referenceNumber":{"type":"string","minLength":1,"maxLength":100000},"customerNote":{"type":"string","nullable":true,"maxLength":100000},"customerPurchaseOrderNumber":{"type":"string","nullable":true,"maxLength":100000},"customerReference":{"type":"object","properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"dateDue":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"discountAmount":{"type":"number"},"discountDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"dropShip":{"type":"boolean"},"freightAccountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"freightAmount":{"type":"number"},"internalNote":{"type":"string","nullable":true,"maxLength":100000},"printCustomerNoteAfterLineItems":{"type":"boolean"},"salesRepresentativeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"salesTaxCodeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"shipDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"shipVia":{"type":"string","nullable":true,"maxLength":100000},"statementNote":{"type":"string","nullable":true,"maxLength":100000},"termsDescription":{"type":"string","nullable":true,"maxLength":100000},"lines":{"type":"array","items":{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"amount":{"type":"number"},"description":{"type":"string","nullable":true,"maxLength":100000},"inventoryItemReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"jobReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"quantity":{"type":"number"},"salesTaxType":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"unitPrice":{"type":"number"}},"additionalProperties":false},"minItems":1,"maxItems":1000}},"required":["date","referenceNumber","customerReference","lines"],"additionalProperties":false},"Us2026_1_invoices_update":{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"referenceNumber":{"type":"string","nullable":true,"maxLength":100000},"customerNote":{"type":"string","nullable":true,"maxLength":100000},"customerPurchaseOrderNumber":{"type":"string","nullable":true,"maxLength":100000},"customerReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"dateDue":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"discountAmount":{"type":"number"},"discountDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"dropShip":{"type":"boolean"},"freightAccountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"freightAmount":{"type":"number"},"internalNote":{"type":"string","nullable":true,"maxLength":100000},"printCustomerNoteAfterLineItems":{"type":"boolean"},"salesRepresentativeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"salesTaxCodeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"shipDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"shipVia":{"type":"string","nullable":true,"maxLength":100000},"statementNote":{"type":"string","nullable":true,"maxLength":100000},"termsDescription":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false,"minProperties":1},"Uk26_3_sales_orders_get":{"type":"object","properties":{"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Account reference (SDO ACCOUNT_REF; Required; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 5 (SDO ADDRESS_5; Optional; precision 0)"},"amountPrepaid":{"type":"number","nullable":true,"description":"Amount prepaid (SDO AMOUNT_PREPAID; Optional; precision 2)"},"analysis1":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"bankCode":{"type":"string","nullable":true,"maxLength":8,"description":"Bank posting code (SDO BANK_CODE; Optional; precision 0)"},"baseAmountPaid":{"type":"number","nullable":true,"description":"Base Amount prepaid (SDO BASE_AMOUNT_PAID; Optional; precision 2)"},"baseCarrNet":{"type":"number","nullable":true,"description":"Base Carriage net amount (SDO BASE_CARR_NET; Optional; precision 2)"},"baseCarrTax":{"type":"number","nullable":true,"description":"Base Carriage tax amount (SDO BASE_CARR_TAX; Optional; precision 2)"},"baseNetvalueDiscount":{"type":"number","nullable":true,"description":"Net Value Discount Amount in Base Currency (SDO BASE_NETVALUE_DISCOUNT; Optional; precision 2)"},"baseSettDiscRate":{"type":"number","nullable":true,"description":"Base Settlement discount % rate (SDO BASE_SETT_DISC_RATE; Optional; precision 2)"},"baseTotNet":{"type":"number","nullable":true,"description":"Base Net amount (goods but not carriage) (SDO BASE_TOT_NET; Optional; precision 2)"},"baseTotTax":{"type":"number","nullable":true,"description":"Base Tax amount (goods but not carriage) (SDO BASE_TOT_TAX; Optional; precision 2)"},"carrDeptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Carriage department number (SDO CARR_DEPT_NUMBER; Optional; precision 0)"},"carrNet":{"type":"number","nullable":true,"description":"Carriage net amount (SDO CARR_NET; Optional; precision 2)"},"carrNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Carriage nominal code (SDO CARR_NOM_CODE; Optional; precision 0)"},"carrTax":{"type":"number","nullable":true,"description":"Carriage tax amount (SDO CARR_TAX; Optional; precision 2)"},"carrTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Carriage tax code (SDO CARR_TAX_CODE; Optional; precision 0)"},"consignmentRef":{"type":"string","nullable":true,"maxLength":30,"description":"Consignment Reference (SDO CONSIGNMENT_REF; Optional; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Customer Contact name (SDO CONTACT_NAME; Optional; precision 0)"},"countryCode":{"type":"string","nullable":true,"maxLength":2,"description":"Customer Country code (SDO COUNTRY_CODE; Optional; precision 0)"},"courier":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Courier Number (SDO COURIER; Optional; precision 0)"},"currency":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency (SDO CURRENCY; Optional; precision 0)"},"currencyUsed":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency Used (SDO CURRENCY_USED; Optional; precision 0)"},"custDiscRate":{"type":"number","nullable":true,"description":"Customer Discount (SDO CUST_DISC_RATE; Optional; precision 2)"},"custOrderNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Customer's order number (SDO CUST_ORDER_NUMBER; Optional; precision 0)"},"custTelNumber":{"type":"string","nullable":true,"maxLength":30,"description":"Customer's telephone number (SDO CUST_TEL_NUMBER; Optional; precision 0)"},"defTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Default tax code (SDO DEF_TAX_CODE; Optional; precision 0)"},"delAddress1":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 1 (SDO DEL_ADDRESS_1; Optional; precision 0)"},"delAddress2":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 2 (SDO DEL_ADDRESS_2; Optional; precision 0)"},"delAddress3":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 3 (SDO DEL_ADDRESS_3; Optional; precision 0)"},"delAddress4":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 4 (SDO DEL_ADDRESS_4; Optional; precision 0)"},"delAddress5":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 5 (SDO DEL_ADDRESS_5; Optional; precision 0)"},"deletedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Is Deleted (SDO DELETED_FLAG; Optional; precision 0)"},"deliveryName":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address name (SDO DELIVERY_NAME; Optional; precision 0)"},"despatchDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Despatch date (SDO DESPATCH_DATE; Optional; precision 0)"},"discountComment1":{"type":"string","nullable":true,"maxLength":60,"description":"Discount Commment 1 (SDO DISCOUNT_COMMENT1; Optional; precision 0)"},"discountComment2":{"type":"string","nullable":true,"maxLength":60,"description":"Discount Commment 2 (SDO DISCOUNT_COMMENT2; Optional; precision 0)"},"discountType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Discount Type (SDO DISCOUNT_TYPE; Optional; precision 0)"},"dunsNumber":{"type":"string","nullable":true,"maxLength":9,"description":"DUNS credit Reference Number (SDO DUNS_NUMBER; Optional; precision 0)"},"emailed":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Emailed flag - Yes/No (SDO EMAILED; Optional; precision 0)"},"euroGross":{"type":"number","nullable":true,"description":"euro Gross Amount (SDO EURO_GROSS; Optional; precision 6)"},"euroRate":{"type":"number","nullable":true,"description":"euro Rate (SDO EURO_RATE; Optional; precision 6)"},"externalUsage":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Number of External Usages (SDO EXTERNAL_USAGE; Optional; precision 0)"},"firstItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO FIRST_ITEM; Optional; precision 0)"},"foreignGross":{"type":"number","nullable":true,"description":"Foreign Gross Amount (SDO FOREIGN_GROSS; Optional; precision 6)"},"foreignRate":{"type":"number","nullable":true,"description":"Foreign Rate for euro currency (SDO FOREIGN_RATE; Optional; precision 6)"},"gdnNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"GDN Reference (SDO GDN_NUMBER; Optional; precision 0)"},"globalDeptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Global department number (SDO GLOBAL_DEPT_NUMBER; Optional; precision 0)"},"globalDetails":{"type":"string","nullable":true,"maxLength":60,"description":"Global details (SDO GLOBAL_DETAILS; Optional; precision 0)"},"globalNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Global nominal code (SDO GLOBAL_NOM_CODE; Optional; precision 0)"},"globalTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Global tax code (SDO GLOBAL_TAX_CODE; Optional; precision 0)"},"hasExternalLink":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Has External Link (SDO HAS_EXTERNAL_LINK; Optional; precision 0)"},"intrastatStatus":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Intrastat Reconciled Status (SDO INTRASTAT_STATUS; Optional; precision 0)"},"invoiceForeignBalance":{"type":"number","nullable":true,"description":"Foreign Balance (SDO INVOICE_FOREIGN_BALANCE; Optional; precision 6)"},"invoiceNumber":{"type":"string","nullable":true,"maxLength":7,"description":"Corresponding invoice number (SDO INVOICE_NUMBER; Required; precision 0)"},"itemsNet":{"type":"number","nullable":true,"description":"Net amount (goods but not carriage) (SDO ITEMS_NET; Optional; precision 2)"},"itemsTax":{"type":"number","nullable":true,"description":"Tax amount (goods but not carriage) (SDO ITEMS_TAX; Optional; precision 2)"},"lastNetvalueDiscount":{"type":"number","nullable":true,"description":"Last Net Value Discount Amount (SDO LAST_NETVALUE_DISCOUNT; Optional; precision 2)"},"lastUpdated":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date of last update (SDO LAST_UPDATED; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Account Name (SDO NAME; Optional; precision 0)"},"netvalueDescription":{"type":"string","nullable":true,"maxLength":60,"description":"Net Value Discount Description (SDO NETVALUE_DESCRIPTION; Optional; precision 0)"},"netvalueDiscount":{"type":"number","nullable":true,"description":"Net Value Discount Amount (SDO NETVALUE_DISCOUNT; Optional; precision 2)"},"netvalueDiscountPercent":{"type":"number","nullable":true,"description":"Net Value Discount Percentage (SDO NETVALUE_DISCOUNT_PERCENT; Optional; precision 2)"},"notes1":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 1 (SDO NOTES_1; Optional; precision 0)"},"notes2":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 2 (SDO NOTES_2; Optional; precision 0)"},"notes3":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 3 (SDO NOTES_3; Optional; precision 0)"},"orderDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Order Date (SDO ORDER_DATE; Required; precision 0)"},"orderNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Order number (SDO ORDER_NUMBER; Required; precision 0)"},"orderType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Order type code (SDO ORDER_TYPE; Required; precision 0)"},"paymentRef":{"type":"string","nullable":true,"maxLength":30,"description":"Payment reference (SDO PAYMENT_REF; Optional; precision 0)"},"paymentTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Payment tax code (SDO PAYMENT_TAX_CODE; Optional; precision 0)"},"paymentType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Payment Type (SR/SA) (SDO PAYMENT_TYPE; Optional; precision 0)"},"practiceSolutionsRefn":{"type":"string","nullable":true,"maxLength":60,"description":"Sage Practice Solutions Reference (SDO PRACTICE_SOLUTIONS_REFN; Optional; precision 0)"},"printedCode":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Printed flag - Yes/No (SDO PRINTED_CODE; Optional; precision 0)"},"quoteExpiry":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Quote Expiry (SDO QUOTE_EXPIRY; Optional; precision 0)"},"quoteStatus":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Quote Status (SDO QUOTE_STATUS; Optional; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"recurringReference":{"type":"string","nullable":true,"maxLength":11,"description":"Recurring Reference (SDO RECURRING_REFERENCE; Optional; precision 0)"},"sendViaEmail":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Sent via TMail - Yes/No (SDO SEND_VIA_EMAIL; Optional; precision 0)"},"settlementDiscRate":{"type":"number","nullable":true,"description":"Settlement discount % rate (SDO SETTLEMENT_DISC_RATE; Optional; precision 2)"},"settlementDueDays":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Settlement days (SDO SETTLEMENT_DUE_DAYS; Optional; precision 0)"},"status":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Order status code (SDO STATUS; Optional; precision 0)"},"takenBy":{"type":"string","nullable":true,"maxLength":60,"description":"Order taken by (SDO TAKEN_BY; Optional; precision 0)"},"totalBytes":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO TOTAL_BYTES; Optional; precision 0)"},"unallocatedNetvalueDiscount":{"type":"number","nullable":true,"description":"Unallocated Net Value Discount Amount (SDO UNALLOCATED_NETVALUE_DISCOUNT; Optional; precision 2)"},"id":{"type":"string"},"lines":{"type":"array","items":{"type":"object","properties":{"addDiscRate":{"type":"number","nullable":true,"description":"Additional discount percentage rate (SDO ADD_DISC_RATE; Optional; precision 2)"},"baseFullNet":{"type":"number","nullable":true,"description":"Full net value in Base Currency (SDO BASE_FULL_NET; Optional; precision 2)"},"baseNet":{"type":"number","nullable":true,"description":"Net value in Base Currency (SDO BASE_NET; Optional; precision 2)"},"baseNetvalueDiscount":{"type":"number","nullable":true,"description":"Net Value Discount Amount in Base Currency (SDO BASE_NETVALUE_DISCOUNT; Optional; precision 2)"},"baseTax":{"type":"number","nullable":true,"description":"Tax value in Base Currency (SDO BASE_TAX; Optional; precision 2)"},"comment1":{"type":"string","nullable":true,"maxLength":60,"description":"Comment 1 (SDO COMMENT_1; Optional; precision 0)"},"comment2":{"type":"string","nullable":true,"maxLength":60,"description":"Comment 2 (SDO COMMENT_2; Optional; precision 0)"},"costCodeId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Project Cost Code ID (SDO COST_CODE_ID; Optional; precision 0)"},"deliveryDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Delivery date (SDO DELIVERY_DATE; Optional; precision 0)"},"deptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Department number (SDO DEPT_NUMBER; Optional; precision 0)"},"description":{"type":"string","nullable":true,"maxLength":60,"description":"Description (SDO DESCRIPTION; Optional; precision 0)"},"discountAmount":{"type":"number","nullable":true,"description":"Discount amount (SDO DISCOUNT_AMOUNT; Optional; precision 2)"},"discountRate":{"type":"number","nullable":true,"description":"Discount percentage rate (SDO DISCOUNT_RATE; Optional; precision 2)"},"dueDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Due Date (SDO DUE_DATE; Optional; precision 0)"},"extOrderLineRef":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"External Line Reference for SOP to INV link (SDO EXT_ORDER_LINE_REF; Optional; precision 0)"},"extOrderRef":{"type":"string","nullable":true,"maxLength":30,"description":"External Reference for SOP to INV link (SDO EXT_ORDER_REF; Optional; precision 0)"},"fullNetAmount":{"type":"number","nullable":true,"description":"Full net amount (before discount) (SDO FULL_NET_AMOUNT; Optional; precision 2)"},"fundNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Fund number (SDO FUND_NUMBER; Optional; precision 0)"},"invoiceNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Invoice Number (SDO INVOICE_NUMBER; Optional; precision 0)"},"itemNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Item Number (SDO ITEM_NUMBER; Optional; precision 0)"},"itemid":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Unique ID (SDO ITEMID; Optional; precision 0)"},"jobReference":{"type":"string","nullable":true,"maxLength":60,"description":"Job Reference (SDO JOB_REFERENCE; Optional; precision 0)"},"netAmount":{"type":"number","nullable":true,"description":"Net amount (after discount) (SDO NET_AMOUNT; Optional; precision 2)"},"netvalueDiscount":{"type":"number","nullable":true,"description":"Net Value Discount Amount (SDO NETVALUE_DISCOUNT; Optional; precision 2)"},"netvalueDiscountAllocated":{"type":"number","nullable":true,"description":"Negotiaion Discount allocated on a sop (in foreign) (SDO NETVALUE_DISCOUNT_ALLOCATED; Optional; precision 2)"},"nextItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO NEXT_ITEM; Optional; precision 0)"},"nominalCode":{"type":"string","nullable":true,"maxLength":8,"description":"Nominal code (SDO NOMINAL_CODE; Optional; precision 0)"},"offset":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Offset of Service Text (SDO OFFSET; Optional; precision 0)"},"prevItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO PREV_ITEM; Optional; precision 0)"},"projectId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Project ID (SDO PROJECT_ID; Optional; precision 0)"},"qtyAllocated":{"type":"number","nullable":true,"description":"Quantity allocated for this order (SDO QTY_ALLOCATED; Optional; precision 102)"},"qtyDelivered":{"type":"number","nullable":true,"description":"Quantity previously delivered for this order (SDO QTY_DELIVERED; Optional; precision 102)"},"qtyDespatch":{"type":"number","nullable":true,"description":"Quantity to despatch/despatched on this delivery (SDO QTY_DESPATCH; Optional; precision 102)"},"qtyIntrastatConfirmed":{"type":"number","nullable":true,"description":"Quantity Intrastat Confirmed (SDO QTY_INTRASTAT_CONFIRMED; Optional; precision 102)"},"qtyOrder":{"type":"number","nullable":true,"description":"Quantity ordered (SDO QTY_ORDER; Optional; precision 102)"},"serviceFile":{"type":"string","nullable":true,"maxLength":60,"description":"Redundant - Do not use (SDO SERVICE_FILE; Optional; precision 0)"},"serviceFileSize":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Redundant - Do not use (SDO SERVICE_FILE_SIZE; Optional; precision 0)"},"serviceFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Item Type Flag (SDO SERVICE_FLAG; Optional; precision 0)"},"serviceItemLines":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Redundant - Do not use (SDO SERVICE_ITEM_LINES; Optional; precision 0)"},"stockCode":{"type":"string","nullable":true,"maxLength":30,"description":"Stock code (SDO STOCK_CODE; Required; precision 0)"},"taxAmount":{"type":"number","nullable":true,"description":"Tax amount (SDO TAX_AMOUNT; Optional; precision 2)"},"taxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax code (SDO TAX_CODE; Optional; precision 0)"},"taxFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":" (SDO TAX_FLAG; Optional; precision 0)"},"taxRate":{"type":"number","nullable":true,"description":"Tax rate (SDO TAX_RATE; Optional; precision 2)"},"text":{"type":"string","nullable":true,"maxLength":60,"description":"Service invoice/credit text (SDO TEXT; Optional; precision 0)"},"unitOfSale":{"type":"string","nullable":true,"maxLength":8,"description":"Unit of sale (SDO UNIT_OF_SALE; Optional; precision 0)"},"unitPrice":{"type":"number","nullable":true,"description":"Unit price (SDO UNIT_PRICE; Optional; precision 101)"}},"required":["addDiscRate","baseFullNet","baseNet","baseNetvalueDiscount","baseTax","comment1","comment2","costCodeId","deliveryDate","deptNumber","description","discountAmount","discountRate","dueDate","extOrderLineRef","extOrderRef","fullNetAmount","fundNumber","invoiceNumber","itemNumber","itemid","jobReference","netAmount","netvalueDiscount","netvalueDiscountAllocated","nextItem","nominalCode","offset","prevItem","projectId","qtyAllocated","qtyDelivered","qtyDespatch","qtyIntrastatConfirmed","qtyOrder","serviceFile","serviceFileSize","serviceFlag","serviceItemLines","stockCode","taxAmount","taxCode","taxFlag","taxRate","text","unitOfSale","unitPrice"],"additionalProperties":false}}},"required":["accountRef","address1","address2","address3","address4","address5","amountPrepaid","analysis1","analysis2","analysis3","bankCode","baseAmountPaid","baseCarrNet","baseCarrTax","baseNetvalueDiscount","baseSettDiscRate","baseTotNet","baseTotTax","carrDeptNumber","carrNet","carrNomCode","carrTax","carrTaxCode","consignmentRef","contactName","countryCode","courier","currency","currencyUsed","custDiscRate","custOrderNumber","custTelNumber","defTaxCode","delAddress1","delAddress2","delAddress3","delAddress4","delAddress5","deletedFlag","deliveryName","despatchDate","discountComment1","discountComment2","discountType","dunsNumber","emailed","euroGross","euroRate","externalUsage","firstItem","foreignGross","foreignRate","gdnNumber","globalDeptNumber","globalDetails","globalNomCode","globalTaxCode","hasExternalLink","intrastatStatus","invoiceForeignBalance","invoiceNumber","itemsNet","itemsTax","lastNetvalueDiscount","lastUpdated","name","netvalueDescription","netvalueDiscount","netvalueDiscountPercent","notes1","notes2","notes3","orderDate","orderNumber","orderType","paymentRef","paymentTaxCode","paymentType","practiceSolutionsRefn","printedCode","quoteExpiry","quoteStatus","recordCreateDate","recordDeleted","recordModifyDate","recurringReference","sendViaEmail","settlementDiscRate","settlementDueDays","status","takenBy","totalBytes","unallocatedNetvalueDiscount","id","lines"],"additionalProperties":false},"Uk27_2_sales_orders_get":{"type":"object","properties":{"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Account reference (SDO ACCOUNT_REF; Required; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 5 (SDO ADDRESS_5; Optional; precision 0)"},"amountPrepaid":{"type":"number","nullable":true,"description":"Amount prepaid (SDO AMOUNT_PREPAID; Optional; precision 2)"},"analysis1":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"bankCode":{"type":"string","nullable":true,"maxLength":8,"description":"Bank posting code (SDO BANK_CODE; Optional; precision 0)"},"baseAmountPaid":{"type":"number","nullable":true,"description":"Base Amount prepaid (SDO BASE_AMOUNT_PAID; Optional; precision 2)"},"baseCarrNet":{"type":"number","nullable":true,"description":"Base Carriage net amount (SDO BASE_CARR_NET; Optional; precision 2)"},"baseCarrTax":{"type":"number","nullable":true,"description":"Base Carriage tax amount (SDO BASE_CARR_TAX; Optional; precision 2)"},"baseNetvalueDiscount":{"type":"number","nullable":true,"description":"Net Value Discount Amount in Base Currency (SDO BASE_NETVALUE_DISCOUNT; Optional; precision 2)"},"baseSettDiscRate":{"type":"number","nullable":true,"description":"Base Settlement discount % rate (SDO BASE_SETT_DISC_RATE; Optional; precision 2)"},"baseTotNet":{"type":"number","nullable":true,"description":"Base Net amount (goods but not carriage) (SDO BASE_TOT_NET; Optional; precision 2)"},"baseTotTax":{"type":"number","nullable":true,"description":"Base Tax amount (goods but not carriage) (SDO BASE_TOT_TAX; Optional; precision 2)"},"carrDeptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Carriage department number (SDO CARR_DEPT_NUMBER; Optional; precision 0)"},"carrNet":{"type":"number","nullable":true,"description":"Carriage net amount (SDO CARR_NET; Optional; precision 2)"},"carrNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Carriage nominal code (SDO CARR_NOM_CODE; Optional; precision 0)"},"carrTax":{"type":"number","nullable":true,"description":"Carriage tax amount (SDO CARR_TAX; Optional; precision 2)"},"carrTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Carriage tax code (SDO CARR_TAX_CODE; Optional; precision 0)"},"consignmentRef":{"type":"string","nullable":true,"maxLength":30,"description":"Consignment Reference (SDO CONSIGNMENT_REF; Optional; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Customer Contact name (SDO CONTACT_NAME; Optional; precision 0)"},"countryCode":{"type":"string","nullable":true,"maxLength":2,"description":"Customer Country code (SDO COUNTRY_CODE; Optional; precision 0)"},"courier":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Courier Number (SDO COURIER; Optional; precision 0)"},"currency":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency (SDO CURRENCY; Optional; precision 0)"},"currencyUsed":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency Used (SDO CURRENCY_USED; Optional; precision 0)"},"custDiscRate":{"type":"number","nullable":true,"description":"Customer Discount (SDO CUST_DISC_RATE; Optional; precision 2)"},"custOrderNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Customer's order number (SDO CUST_ORDER_NUMBER; Optional; precision 0)"},"custTelNumber":{"type":"string","nullable":true,"maxLength":30,"description":"Customer's telephone number (SDO CUST_TEL_NUMBER; Optional; precision 0)"},"defTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Default tax code (SDO DEF_TAX_CODE; Optional; precision 0)"},"delAddress1":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 1 (SDO DEL_ADDRESS_1; Optional; precision 0)"},"delAddress2":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 2 (SDO DEL_ADDRESS_2; Optional; precision 0)"},"delAddress3":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 3 (SDO DEL_ADDRESS_3; Optional; precision 0)"},"delAddress4":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 4 (SDO DEL_ADDRESS_4; Optional; precision 0)"},"delAddress5":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 5 (SDO DEL_ADDRESS_5; Optional; precision 0)"},"deletedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Is Deleted (SDO DELETED_FLAG; Optional; precision 0)"},"deliveryName":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address name (SDO DELIVERY_NAME; Optional; precision 0)"},"despatchDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Despatch date (SDO DESPATCH_DATE; Optional; precision 0)"},"discountComment1":{"type":"string","nullable":true,"maxLength":60,"description":"Discount Commment 1 (SDO DISCOUNT_COMMENT1; Optional; precision 0)"},"discountComment2":{"type":"string","nullable":true,"maxLength":60,"description":"Discount Commment 2 (SDO DISCOUNT_COMMENT2; Optional; precision 0)"},"discountType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Discount Type (SDO DISCOUNT_TYPE; Optional; precision 0)"},"dunsNumber":{"type":"string","nullable":true,"maxLength":9,"description":"DUNS credit Reference Number (SDO DUNS_NUMBER; Optional; precision 0)"},"emailed":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Emailed flag - Yes/No (SDO EMAILED; Optional; precision 0)"},"euroGross":{"type":"number","nullable":true,"description":"euro Gross Amount (SDO EURO_GROSS; Optional; precision 6)"},"euroRate":{"type":"number","nullable":true,"description":"euro Rate (SDO EURO_RATE; Optional; precision 6)"},"externalUsage":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Number of External Usages (SDO EXTERNAL_USAGE; Optional; precision 0)"},"firstItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO FIRST_ITEM; Optional; precision 0)"},"foreignGross":{"type":"number","nullable":true,"description":"Foreign Gross Amount (SDO FOREIGN_GROSS; Optional; precision 6)"},"foreignRate":{"type":"number","nullable":true,"description":"Foreign Rate for euro currency (SDO FOREIGN_RATE; Optional; precision 6)"},"gdnNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"GDN Reference (SDO GDN_NUMBER; Optional; precision 0)"},"globalDeptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Global department number (SDO GLOBAL_DEPT_NUMBER; Optional; precision 0)"},"globalDetails":{"type":"string","nullable":true,"maxLength":60,"description":"Global details (SDO GLOBAL_DETAILS; Optional; precision 0)"},"globalNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Global nominal code (SDO GLOBAL_NOM_CODE; Optional; precision 0)"},"globalTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Global tax code (SDO GLOBAL_TAX_CODE; Optional; precision 0)"},"hasExternalLink":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Has External Link (SDO HAS_EXTERNAL_LINK; Optional; precision 0)"},"incoterms":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Incoterms (SDO INCOTERMS; Optional; precision 0)"},"intrastatStatus":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Intrastat Reconciled Status (SDO INTRASTAT_STATUS; Optional; precision 0)"},"invoiceForeignBalance":{"type":"number","nullable":true,"description":"Foreign Balance (SDO INVOICE_FOREIGN_BALANCE; Optional; precision 6)"},"invoiceNumber":{"type":"string","nullable":true,"maxLength":7,"description":"Corresponding invoice number (SDO INVOICE_NUMBER; Required; precision 0)"},"itemsNet":{"type":"number","nullable":true,"description":"Net amount (goods but not carriage) (SDO ITEMS_NET; Optional; precision 2)"},"itemsTax":{"type":"number","nullable":true,"description":"Tax amount (goods but not carriage) (SDO ITEMS_TAX; Optional; precision 2)"},"lastNetvalueDiscount":{"type":"number","nullable":true,"description":"Last Net Value Discount Amount (SDO LAST_NETVALUE_DISCOUNT; Optional; precision 2)"},"lastUpdated":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date of last update (SDO LAST_UPDATED; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Account Name (SDO NAME; Optional; precision 0)"},"netvalueDescription":{"type":"string","nullable":true,"maxLength":60,"description":"Net Value Discount Description (SDO NETVALUE_DESCRIPTION; Optional; precision 0)"},"netvalueDiscount":{"type":"number","nullable":true,"description":"Net Value Discount Amount (SDO NETVALUE_DISCOUNT; Optional; precision 2)"},"netvalueDiscountPercent":{"type":"number","nullable":true,"description":"Net Value Discount Percentage (SDO NETVALUE_DISCOUNT_PERCENT; Optional; precision 2)"},"notes1":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 1 (SDO NOTES_1; Optional; precision 0)"},"notes2":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 2 (SDO NOTES_2; Optional; precision 0)"},"notes3":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 3 (SDO NOTES_3; Optional; precision 0)"},"orderDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Order Date (SDO ORDER_DATE; Required; precision 0)"},"orderNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Order number (SDO ORDER_NUMBER; Required; precision 0)"},"orderType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Order type code (SDO ORDER_TYPE; Required; precision 0)"},"ossCountryOfVat":{"type":"string","nullable":true,"maxLength":2,"description":"Country of VAT (SDO OSS_COUNTRY_OF_VAT; Optional; precision 0)"},"ossReportingType":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Report type (SDO OSS_REPORTING_TYPE; Optional; precision 0)"},"paymentOssCountryOfVat":{"type":"string","nullable":true,"maxLength":2,"description":"Payment Country of VAT (SDO PAYMENT_OSS_COUNTRY_OF_VAT; Optional; precision 0)"},"paymentOssReportingType":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Payment Report type (SDO PAYMENT_OSS_REPORTING_TYPE; Optional; precision 0)"},"paymentRef":{"type":"string","nullable":true,"maxLength":30,"description":"Payment reference (SDO PAYMENT_REF; Optional; precision 0)"},"paymentTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Payment tax code (SDO PAYMENT_TAX_CODE; Optional; precision 0)"},"paymentType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Payment Type (SR/SA) (SDO PAYMENT_TYPE; Optional; precision 0)"},"practiceSolutionsRefn":{"type":"string","nullable":true,"maxLength":60,"description":"Sage Practice Solutions Reference (SDO PRACTICE_SOLUTIONS_REFN; Optional; precision 0)"},"printedCode":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Printed flag - Yes/No (SDO PRINTED_CODE; Optional; precision 0)"},"quoteExpiry":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Quote Expiry (SDO QUOTE_EXPIRY; Optional; precision 0)"},"quoteStatus":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Quote Status (SDO QUOTE_STATUS; Optional; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"recurringReference":{"type":"string","nullable":true,"maxLength":11,"description":"Recurring Reference (SDO RECURRING_REFERENCE; Optional; precision 0)"},"sendViaEmail":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Sent via TMail - Yes/No (SDO SEND_VIA_EMAIL; Optional; precision 0)"},"settlementDiscRate":{"type":"number","nullable":true,"description":"Settlement discount % rate (SDO SETTLEMENT_DISC_RATE; Optional; precision 2)"},"settlementDueDays":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Settlement days (SDO SETTLEMENT_DUE_DAYS; Optional; precision 0)"},"status":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Order status code (SDO STATUS; Optional; precision 0)"},"takenBy":{"type":"string","nullable":true,"maxLength":60,"description":"Order taken by (SDO TAKEN_BY; Optional; precision 0)"},"totalBytes":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO TOTAL_BYTES; Optional; precision 0)"},"unallocatedNetvalueDiscount":{"type":"number","nullable":true,"description":"Unallocated Net Value Discount Amount (SDO UNALLOCATED_NETVALUE_DISCOUNT; Optional; precision 2)"},"vatRegNumber":{"type":"string","nullable":true,"maxLength":20,"description":"VAT Number (SDO VAT_REG_NUMBER; Optional; precision 0)"},"id":{"type":"string"},"lines":{"type":"array","items":{"type":"object","properties":{"addDiscRate":{"type":"number","nullable":true,"description":"Additional discount percentage rate (SDO ADD_DISC_RATE; Optional; precision 2)"},"baseFullNet":{"type":"number","nullable":true,"description":"Full net value in Base Currency (SDO BASE_FULL_NET; Optional; precision 2)"},"baseNet":{"type":"number","nullable":true,"description":"Net value in Base Currency (SDO BASE_NET; Optional; precision 2)"},"baseNetvalueDiscount":{"type":"number","nullable":true,"description":"Net Value Discount Amount in Base Currency (SDO BASE_NETVALUE_DISCOUNT; Optional; precision 2)"},"baseTax":{"type":"number","nullable":true,"description":"Tax value in Base Currency (SDO BASE_TAX; Optional; precision 2)"},"comment1":{"type":"string","nullable":true,"maxLength":60,"description":"Comment 1 (SDO COMMENT_1; Optional; precision 0)"},"comment2":{"type":"string","nullable":true,"maxLength":60,"description":"Comment 2 (SDO COMMENT_2; Optional; precision 0)"},"costCodeId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Project Cost Code ID (SDO COST_CODE_ID; Optional; precision 0)"},"deliveryDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Delivery date (SDO DELIVERY_DATE; Optional; precision 0)"},"deptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Department number (SDO DEPT_NUMBER; Optional; precision 0)"},"description":{"type":"string","nullable":true,"maxLength":60,"description":"Description (SDO DESCRIPTION; Optional; precision 0)"},"discountAmount":{"type":"number","nullable":true,"description":"Discount amount (SDO DISCOUNT_AMOUNT; Optional; precision 2)"},"discountRate":{"type":"number","nullable":true,"description":"Discount percentage rate (SDO DISCOUNT_RATE; Optional; precision 2)"},"dueDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Due Date (SDO DUE_DATE; Optional; precision 0)"},"extOrderLineRef":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"External Line Reference for SOP to INV link (SDO EXT_ORDER_LINE_REF; Optional; precision 0)"},"extOrderRef":{"type":"string","nullable":true,"maxLength":30,"description":"External Reference for SOP to INV link (SDO EXT_ORDER_REF; Optional; precision 0)"},"fullNetAmount":{"type":"number","nullable":true,"description":"Full net amount (before discount) (SDO FULL_NET_AMOUNT; Optional; precision 2)"},"fundNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Fund number (SDO FUND_NUMBER; Optional; precision 0)"},"invoiceNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Invoice Number (SDO INVOICE_NUMBER; Optional; precision 0)"},"itemNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Item Number (SDO ITEM_NUMBER; Optional; precision 0)"},"itemid":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Unique ID (SDO ITEMID; Optional; precision 0)"},"jobReference":{"type":"string","nullable":true,"maxLength":60,"description":"Job Reference (SDO JOB_REFERENCE; Optional; precision 0)"},"netAmount":{"type":"number","nullable":true,"description":"Net amount (after discount) (SDO NET_AMOUNT; Optional; precision 2)"},"netvalueDiscount":{"type":"number","nullable":true,"description":"Net Value Discount Amount (SDO NETVALUE_DISCOUNT; Optional; precision 2)"},"netvalueDiscountAllocated":{"type":"number","nullable":true,"description":"Negotiation Discount allocated on a sop (in foreign) (SDO NETVALUE_DISCOUNT_ALLOCATED; Optional; precision 2)"},"nextItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO NEXT_ITEM; Optional; precision 0)"},"nominalCode":{"type":"string","nullable":true,"maxLength":8,"description":"Nominal code (SDO NOMINAL_CODE; Optional; precision 0)"},"offset":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Offset of Service Text (SDO OFFSET; Optional; precision 0)"},"prevItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO PREV_ITEM; Optional; precision 0)"},"projectId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Project ID (SDO PROJECT_ID; Optional; precision 0)"},"qtyAllocated":{"type":"number","nullable":true,"description":"Quantity allocated for this order (SDO QTY_ALLOCATED; Optional; precision 102)"},"qtyDelivered":{"type":"number","nullable":true,"description":"Quantity previously delivered for this order (SDO QTY_DELIVERED; Optional; precision 102)"},"qtyDespatch":{"type":"number","nullable":true,"description":"Quantity to despatch/despatched on this delivery (SDO QTY_DESPATCH; Optional; precision 102)"},"qtyIntrastatConfirmed":{"type":"number","nullable":true,"description":"Quantity Intrastat Confirmed (SDO QTY_INTRASTAT_CONFIRMED; Optional; precision 102)"},"qtyOrder":{"type":"number","nullable":true,"description":"Quantity ordered (SDO QTY_ORDER; Optional; precision 102)"},"serviceFile":{"type":"string","nullable":true,"maxLength":60,"description":"Redundant - Do not use (SDO SERVICE_FILE; Optional; precision 0)"},"serviceFileSize":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Redundant - Do not use (SDO SERVICE_FILE_SIZE; Optional; precision 0)"},"serviceFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Item Type Flag (SDO SERVICE_FLAG; Optional; precision 0)"},"serviceItemLines":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Redundant - Do not use (SDO SERVICE_ITEM_LINES; Optional; precision 0)"},"stockCode":{"type":"string","nullable":true,"maxLength":30,"description":"Stock code (SDO STOCK_CODE; Required; precision 0)"},"taxAmount":{"type":"number","nullable":true,"description":"Tax amount (SDO TAX_AMOUNT; Optional; precision 2)"},"taxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax code (SDO TAX_CODE; Optional; precision 0)"},"taxFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":" (SDO TAX_FLAG; Optional; precision 0)"},"taxRate":{"type":"number","nullable":true,"description":"Tax rate (SDO TAX_RATE; Optional; precision 2)"},"text":{"type":"string","nullable":true,"maxLength":60,"description":"Service invoice/credit text (SDO TEXT; Optional; precision 0)"},"unitOfSale":{"type":"string","nullable":true,"maxLength":8,"description":"Unit of sale (SDO UNIT_OF_SALE; Optional; precision 0)"},"unitPrice":{"type":"number","nullable":true,"description":"Unit price (SDO UNIT_PRICE; Optional; precision 101)"}},"required":["addDiscRate","baseFullNet","baseNet","baseNetvalueDiscount","baseTax","comment1","comment2","costCodeId","deliveryDate","deptNumber","description","discountAmount","discountRate","dueDate","extOrderLineRef","extOrderRef","fullNetAmount","fundNumber","invoiceNumber","itemNumber","itemid","jobReference","netAmount","netvalueDiscount","netvalueDiscountAllocated","nextItem","nominalCode","offset","prevItem","projectId","qtyAllocated","qtyDelivered","qtyDespatch","qtyIntrastatConfirmed","qtyOrder","serviceFile","serviceFileSize","serviceFlag","serviceItemLines","stockCode","taxAmount","taxCode","taxFlag","taxRate","text","unitOfSale","unitPrice"],"additionalProperties":false}}},"required":["accountRef","address1","address2","address3","address4","address5","amountPrepaid","analysis1","analysis2","analysis3","bankCode","baseAmountPaid","baseCarrNet","baseCarrTax","baseNetvalueDiscount","baseSettDiscRate","baseTotNet","baseTotTax","carrDeptNumber","carrNet","carrNomCode","carrTax","carrTaxCode","consignmentRef","contactName","countryCode","courier","currency","currencyUsed","custDiscRate","custOrderNumber","custTelNumber","defTaxCode","delAddress1","delAddress2","delAddress3","delAddress4","delAddress5","deletedFlag","deliveryName","despatchDate","discountComment1","discountComment2","discountType","dunsNumber","emailed","euroGross","euroRate","externalUsage","firstItem","foreignGross","foreignRate","gdnNumber","globalDeptNumber","globalDetails","globalNomCode","globalTaxCode","hasExternalLink","incoterms","intrastatStatus","invoiceForeignBalance","invoiceNumber","itemsNet","itemsTax","lastNetvalueDiscount","lastUpdated","name","netvalueDescription","netvalueDiscount","netvalueDiscountPercent","notes1","notes2","notes3","orderDate","orderNumber","orderType","ossCountryOfVat","ossReportingType","paymentOssCountryOfVat","paymentOssReportingType","paymentRef","paymentTaxCode","paymentType","practiceSolutionsRefn","printedCode","quoteExpiry","quoteStatus","recordCreateDate","recordDeleted","recordModifyDate","recurringReference","sendViaEmail","settlementDiscRate","settlementDueDays","status","takenBy","totalBytes","unallocatedNetvalueDiscount","vatRegNumber","id","lines"],"additionalProperties":false},"Uk28_1_sales_orders_get":{"type":"object","properties":{"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Account reference (SDO ACCOUNT_REF; Required; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 5 (SDO ADDRESS_5; Optional; precision 0)"},"amountPrepaid":{"type":"number","nullable":true,"description":"Amount prepaid (SDO AMOUNT_PREPAID; Optional; precision 2)"},"analysis1":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"bankCode":{"type":"string","nullable":true,"maxLength":8,"description":"Bank posting code (SDO BANK_CODE; Optional; precision 0)"},"baseAmountPaid":{"type":"number","nullable":true,"description":"Base Amount prepaid (SDO BASE_AMOUNT_PAID; Optional; precision 2)"},"baseCarrNet":{"type":"number","nullable":true,"description":"Base Carriage net amount (SDO BASE_CARR_NET; Optional; precision 2)"},"baseCarrTax":{"type":"number","nullable":true,"description":"Base Carriage tax amount (SDO BASE_CARR_TAX; Optional; precision 2)"},"baseNetvalueDiscount":{"type":"number","nullable":true,"description":"Net Value Discount Amount in Base Currency (SDO BASE_NETVALUE_DISCOUNT; Optional; precision 2)"},"baseSettDiscRate":{"type":"number","nullable":true,"description":"Base Settlement discount % rate (SDO BASE_SETT_DISC_RATE; Optional; precision 2)"},"baseTotNet":{"type":"number","nullable":true,"description":"Base Net amount (goods but not carriage) (SDO BASE_TOT_NET; Optional; precision 2)"},"baseTotTax":{"type":"number","nullable":true,"description":"Base Tax amount (goods but not carriage) (SDO BASE_TOT_TAX; Optional; precision 2)"},"carrDeptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Carriage department number (SDO CARR_DEPT_NUMBER; Optional; precision 0)"},"carrNet":{"type":"number","nullable":true,"description":"Carriage net amount (SDO CARR_NET; Optional; precision 2)"},"carrNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Carriage nominal code (SDO CARR_NOM_CODE; Optional; precision 0)"},"carrTax":{"type":"number","nullable":true,"description":"Carriage tax amount (SDO CARR_TAX; Optional; precision 2)"},"carrTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Carriage tax code (SDO CARR_TAX_CODE; Optional; precision 0)"},"consignmentRef":{"type":"string","nullable":true,"maxLength":30,"description":"Consignment Reference (SDO CONSIGNMENT_REF; Optional; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Customer Contact name (SDO CONTACT_NAME; Optional; precision 0)"},"countryCode":{"type":"string","nullable":true,"maxLength":2,"description":"Customer Country code (SDO COUNTRY_CODE; Optional; precision 0)"},"courier":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Courier Number (SDO COURIER; Optional; precision 0)"},"currency":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency (SDO CURRENCY; Optional; precision 0)"},"currencyUsed":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency Used (SDO CURRENCY_USED; Optional; precision 0)"},"custDiscRate":{"type":"number","nullable":true,"description":"Customer Discount (SDO CUST_DISC_RATE; Optional; precision 2)"},"custOrderNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Customer's order number (SDO CUST_ORDER_NUMBER; Optional; precision 0)"},"custTelNumber":{"type":"string","nullable":true,"maxLength":30,"description":"Customer's telephone number (SDO CUST_TEL_NUMBER; Optional; precision 0)"},"defTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Default tax code (SDO DEF_TAX_CODE; Optional; precision 0)"},"delAddress1":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 1 (SDO DEL_ADDRESS_1; Optional; precision 0)"},"delAddress2":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 2 (SDO DEL_ADDRESS_2; Optional; precision 0)"},"delAddress3":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 3 (SDO DEL_ADDRESS_3; Optional; precision 0)"},"delAddress4":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 4 (SDO DEL_ADDRESS_4; Optional; precision 0)"},"delAddress5":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 5 (SDO DEL_ADDRESS_5; Optional; precision 0)"},"deletedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Is Deleted (SDO DELETED_FLAG; Optional; precision 0)"},"deliveryAddressRefn":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Delivery address record number (SDO DELIVERY_ADDRESS_REFN; Optional; precision 0)"},"deliveryName":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address name (SDO DELIVERY_NAME; Optional; precision 0)"},"despatchDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Despatch date (SDO DESPATCH_DATE; Optional; precision 0)"},"discountComment1":{"type":"string","nullable":true,"maxLength":60,"description":"Discount Commment 1 (SDO DISCOUNT_COMMENT1; Optional; precision 0)"},"discountComment2":{"type":"string","nullable":true,"maxLength":60,"description":"Discount Commment 2 (SDO DISCOUNT_COMMENT2; Optional; precision 0)"},"discountType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Discount Type (SDO DISCOUNT_TYPE; Optional; precision 0)"},"dunsNumber":{"type":"string","nullable":true,"maxLength":9,"description":"DUNS credit Reference Number (SDO DUNS_NUMBER; Optional; precision 0)"},"emailed":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Emailed flag - Yes/No (SDO EMAILED; Optional; precision 0)"},"euroGross":{"type":"number","nullable":true,"description":"euro Gross Amount (SDO EURO_GROSS; Optional; precision 6)"},"euroRate":{"type":"number","nullable":true,"description":"euro Rate (SDO EURO_RATE; Optional; precision 6)"},"externalUsage":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Number of External Usages (SDO EXTERNAL_USAGE; Optional; precision 0)"},"firstItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO FIRST_ITEM; Optional; precision 0)"},"foreignGross":{"type":"number","nullable":true,"description":"Foreign Gross Amount (SDO FOREIGN_GROSS; Optional; precision 6)"},"foreignRate":{"type":"number","nullable":true,"description":"Foreign Rate for euro currency (SDO FOREIGN_RATE; Optional; precision 6)"},"gdnNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"GDN Reference (SDO GDN_NUMBER; Optional; precision 0)"},"globalDeptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Global department number (SDO GLOBAL_DEPT_NUMBER; Optional; precision 0)"},"globalDetails":{"type":"string","nullable":true,"maxLength":60,"description":"Global details (SDO GLOBAL_DETAILS; Optional; precision 0)"},"globalNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Global nominal code (SDO GLOBAL_NOM_CODE; Optional; precision 0)"},"globalTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Global tax code (SDO GLOBAL_TAX_CODE; Optional; precision 0)"},"hasExternalLink":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Has External Link (SDO HAS_EXTERNAL_LINK; Optional; precision 0)"},"incoterms":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Incoterms (SDO INCOTERMS; Optional; precision 0)"},"intrastatStatus":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Intrastat Reconciled Status (SDO INTRASTAT_STATUS; Optional; precision 0)"},"invoiceForeignBalance":{"type":"number","nullable":true,"description":"Foreign Balance (SDO INVOICE_FOREIGN_BALANCE; Optional; precision 6)"},"invoiceNumber":{"type":"string","nullable":true,"maxLength":7,"description":"Corresponding invoice number (SDO INVOICE_NUMBER; Required; precision 0)"},"itemsNet":{"type":"number","nullable":true,"description":"Net amount (goods but not carriage) (SDO ITEMS_NET; Optional; precision 2)"},"itemsTax":{"type":"number","nullable":true,"description":"Tax amount (goods but not carriage) (SDO ITEMS_TAX; Optional; precision 2)"},"lastNetvalueDiscount":{"type":"number","nullable":true,"description":"Last Net Value Discount Amount (SDO LAST_NETVALUE_DISCOUNT; Optional; precision 2)"},"lastUpdated":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date of last update (SDO LAST_UPDATED; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Account Name (SDO NAME; Optional; precision 0)"},"netvalueDescription":{"type":"string","nullable":true,"maxLength":60,"description":"Net Value Discount Description (SDO NETVALUE_DESCRIPTION; Optional; precision 0)"},"netvalueDiscount":{"type":"number","nullable":true,"description":"Net Value Discount Amount (SDO NETVALUE_DISCOUNT; Optional; precision 2)"},"netvalueDiscountPercent":{"type":"number","nullable":true,"description":"Net Value Discount Percentage (SDO NETVALUE_DISCOUNT_PERCENT; Optional; precision 2)"},"notes1":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 1 (SDO NOTES_1; Optional; precision 0)"},"notes2":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 2 (SDO NOTES_2; Optional; precision 0)"},"notes3":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 3 (SDO NOTES_3; Optional; precision 0)"},"orderDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Order Date (SDO ORDER_DATE; Required; precision 0)"},"orderNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Order number (SDO ORDER_NUMBER; Required; precision 0)"},"orderType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Order type code (SDO ORDER_TYPE; Required; precision 0)"},"ossCountryOfVat":{"type":"string","nullable":true,"maxLength":2,"description":"Country of VAT (SDO OSS_COUNTRY_OF_VAT; Optional; precision 0)"},"ossReportingType":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Report type (SDO OSS_REPORTING_TYPE; Optional; precision 0)"},"paymentOssCountryOfVat":{"type":"string","nullable":true,"maxLength":2,"description":"Payment Country of VAT (SDO PAYMENT_OSS_COUNTRY_OF_VAT; Optional; precision 0)"},"paymentOssReportingType":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Payment Report type (SDO PAYMENT_OSS_REPORTING_TYPE; Optional; precision 0)"},"paymentRef":{"type":"string","nullable":true,"maxLength":30,"description":"Payment reference (SDO PAYMENT_REF; Optional; precision 0)"},"paymentTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Payment tax code (SDO PAYMENT_TAX_CODE; Optional; precision 0)"},"paymentType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Payment Type (SR/SA) (SDO PAYMENT_TYPE; Optional; precision 0)"},"practiceSolutionsRefn":{"type":"string","nullable":true,"maxLength":60,"description":"Sage Practice Solutions Reference (SDO PRACTICE_SOLUTIONS_REFN; Optional; precision 0)"},"printedCode":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Printed flag - Yes/No (SDO PRINTED_CODE; Optional; precision 0)"},"quoteExpiry":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Quote Expiry (SDO QUOTE_EXPIRY; Optional; precision 0)"},"quoteStatus":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Quote Status (SDO QUOTE_STATUS; Optional; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"recurringReference":{"type":"string","nullable":true,"maxLength":11,"description":"Recurring Reference (SDO RECURRING_REFERENCE; Optional; precision 0)"},"sendViaEmail":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Sent via TMail - Yes/No (SDO SEND_VIA_EMAIL; Optional; precision 0)"},"settlementDiscRate":{"type":"number","nullable":true,"description":"Settlement discount % rate (SDO SETTLEMENT_DISC_RATE; Optional; precision 2)"},"settlementDueDays":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Settlement days (SDO SETTLEMENT_DUE_DAYS; Optional; precision 0)"},"status":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Order status code (SDO STATUS; Optional; precision 0)"},"takenBy":{"type":"string","nullable":true,"maxLength":60,"description":"Order taken by (SDO TAKEN_BY; Optional; precision 0)"},"totalBytes":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO TOTAL_BYTES; Optional; precision 0)"},"unallocatedNetvalueDiscount":{"type":"number","nullable":true,"description":"Unallocated Net Value Discount Amount (SDO UNALLOCATED_NETVALUE_DISCOUNT; Optional; precision 2)"},"vatRegNumber":{"type":"string","nullable":true,"maxLength":20,"description":"VAT Number (SDO VAT_REG_NUMBER; Optional; precision 0)"},"id":{"type":"string"},"lines":{"type":"array","items":{"type":"object","properties":{"addDiscRate":{"type":"number","nullable":true,"description":"Additional discount percentage rate (SDO ADD_DISC_RATE; Optional; precision 2)"},"baseFullNet":{"type":"number","nullable":true,"description":"Full net value in Base Currency (SDO BASE_FULL_NET; Optional; precision 2)"},"baseNet":{"type":"number","nullable":true,"description":"Net value in Base Currency (SDO BASE_NET; Optional; precision 2)"},"baseNetvalueDiscount":{"type":"number","nullable":true,"description":"Net Value Discount Amount in Base Currency (SDO BASE_NETVALUE_DISCOUNT; Optional; precision 2)"},"baseTax":{"type":"number","nullable":true,"description":"Tax value in Base Currency (SDO BASE_TAX; Optional; precision 2)"},"comment1":{"type":"string","nullable":true,"maxLength":60,"description":"Comment 1 (SDO COMMENT_1; Optional; precision 0)"},"comment2":{"type":"string","nullable":true,"maxLength":60,"description":"Comment 2 (SDO COMMENT_2; Optional; precision 0)"},"costCodeId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Project Cost Code ID (SDO COST_CODE_ID; Optional; precision 0)"},"deliveryDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Delivery date (SDO DELIVERY_DATE; Optional; precision 0)"},"deptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Department number (SDO DEPT_NUMBER; Optional; precision 0)"},"description":{"type":"string","nullable":true,"maxLength":60,"description":"Description (SDO DESCRIPTION; Optional; precision 0)"},"discountAmount":{"type":"number","nullable":true,"description":"Discount amount (SDO DISCOUNT_AMOUNT; Optional; precision 2)"},"discountRate":{"type":"number","nullable":true,"description":"Discount percentage rate (SDO DISCOUNT_RATE; Optional; precision 2)"},"dueDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Due Date (SDO DUE_DATE; Optional; precision 0)"},"extOrderLineRef":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"External Line Reference for SOP to INV link (SDO EXT_ORDER_LINE_REF; Optional; precision 0)"},"extOrderRef":{"type":"string","nullable":true,"maxLength":30,"description":"External Reference for SOP to INV link (SDO EXT_ORDER_REF; Optional; precision 0)"},"fullNetAmount":{"type":"number","nullable":true,"description":"Full net amount (before discount) (SDO FULL_NET_AMOUNT; Optional; precision 2)"},"fundNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Fund number (SDO FUND_NUMBER; Optional; precision 0)"},"invoiceNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Invoice Number (SDO INVOICE_NUMBER; Optional; precision 0)"},"itemNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Item Number (SDO ITEM_NUMBER; Optional; precision 0)"},"itemid":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Unique ID (SDO ITEMID; Optional; precision 0)"},"jobReference":{"type":"string","nullable":true,"maxLength":60,"description":"Job Reference (SDO JOB_REFERENCE; Optional; precision 0)"},"netAmount":{"type":"number","nullable":true,"description":"Net amount (after discount) (SDO NET_AMOUNT; Optional; precision 2)"},"netvalueDiscount":{"type":"number","nullable":true,"description":"Net Value Discount Amount (SDO NETVALUE_DISCOUNT; Optional; precision 2)"},"netvalueDiscountAllocated":{"type":"number","nullable":true,"description":"Negotiation Discount allocated on a sop (in foreign) (SDO NETVALUE_DISCOUNT_ALLOCATED; Optional; precision 2)"},"nextItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO NEXT_ITEM; Optional; precision 0)"},"nominalCode":{"type":"string","nullable":true,"maxLength":8,"description":"Nominal code (SDO NOMINAL_CODE; Optional; precision 0)"},"offset":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Offset of Service Text (SDO OFFSET; Optional; precision 0)"},"prevItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO PREV_ITEM; Optional; precision 0)"},"projectId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Project ID (SDO PROJECT_ID; Optional; precision 0)"},"qtyAllocated":{"type":"number","nullable":true,"description":"Quantity allocated for this order (SDO QTY_ALLOCATED; Optional; precision 102)"},"qtyDelivered":{"type":"number","nullable":true,"description":"Quantity previously delivered for this order (SDO QTY_DELIVERED; Optional; precision 102)"},"qtyDespatch":{"type":"number","nullable":true,"description":"Quantity to despatch/despatched on this delivery (SDO QTY_DESPATCH; Optional; precision 102)"},"qtyIntrastatConfirmed":{"type":"number","nullable":true,"description":"Quantity Intrastat Confirmed (SDO QTY_INTRASTAT_CONFIRMED; Optional; precision 102)"},"qtyOrder":{"type":"number","nullable":true,"description":"Quantity ordered (SDO QTY_ORDER; Optional; precision 102)"},"serviceFile":{"type":"string","nullable":true,"maxLength":60,"description":"Redundant - Do not use (SDO SERVICE_FILE; Optional; precision 0)"},"serviceFileSize":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Redundant - Do not use (SDO SERVICE_FILE_SIZE; Optional; precision 0)"},"serviceFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Item Type Flag (SDO SERVICE_FLAG; Optional; precision 0)"},"serviceItemLines":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Redundant - Do not use (SDO SERVICE_ITEM_LINES; Optional; precision 0)"},"stockCode":{"type":"string","nullable":true,"maxLength":30,"description":"Stock code (SDO STOCK_CODE; Required; precision 0)"},"taxAmount":{"type":"number","nullable":true,"description":"Tax amount (SDO TAX_AMOUNT; Optional; precision 2)"},"taxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax code (SDO TAX_CODE; Optional; precision 0)"},"taxFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":" (SDO TAX_FLAG; Optional; precision 0)"},"taxRate":{"type":"number","nullable":true,"description":"Tax rate (SDO TAX_RATE; Optional; precision 2)"},"text":{"type":"string","nullable":true,"maxLength":60,"description":"Service invoice/credit text (SDO TEXT; Optional; precision 0)"},"unitOfSale":{"type":"string","nullable":true,"maxLength":8,"description":"Unit of sale (SDO UNIT_OF_SALE; Optional; precision 0)"},"unitPrice":{"type":"number","nullable":true,"description":"Unit price (SDO UNIT_PRICE; Optional; precision 101)"}},"required":["addDiscRate","baseFullNet","baseNet","baseNetvalueDiscount","baseTax","comment1","comment2","costCodeId","deliveryDate","deptNumber","description","discountAmount","discountRate","dueDate","extOrderLineRef","extOrderRef","fullNetAmount","fundNumber","invoiceNumber","itemNumber","itemid","jobReference","netAmount","netvalueDiscount","netvalueDiscountAllocated","nextItem","nominalCode","offset","prevItem","projectId","qtyAllocated","qtyDelivered","qtyDespatch","qtyIntrastatConfirmed","qtyOrder","serviceFile","serviceFileSize","serviceFlag","serviceItemLines","stockCode","taxAmount","taxCode","taxFlag","taxRate","text","unitOfSale","unitPrice"],"additionalProperties":false}}},"required":["accountRef","address1","address2","address3","address4","address5","amountPrepaid","analysis1","analysis2","analysis3","bankCode","baseAmountPaid","baseCarrNet","baseCarrTax","baseNetvalueDiscount","baseSettDiscRate","baseTotNet","baseTotTax","carrDeptNumber","carrNet","carrNomCode","carrTax","carrTaxCode","consignmentRef","contactName","countryCode","courier","currency","currencyUsed","custDiscRate","custOrderNumber","custTelNumber","defTaxCode","delAddress1","delAddress2","delAddress3","delAddress4","delAddress5","deletedFlag","deliveryAddressRefn","deliveryName","despatchDate","discountComment1","discountComment2","discountType","dunsNumber","emailed","euroGross","euroRate","externalUsage","firstItem","foreignGross","foreignRate","gdnNumber","globalDeptNumber","globalDetails","globalNomCode","globalTaxCode","hasExternalLink","incoterms","intrastatStatus","invoiceForeignBalance","invoiceNumber","itemsNet","itemsTax","lastNetvalueDiscount","lastUpdated","name","netvalueDescription","netvalueDiscount","netvalueDiscountPercent","notes1","notes2","notes3","orderDate","orderNumber","orderType","ossCountryOfVat","ossReportingType","paymentOssCountryOfVat","paymentOssReportingType","paymentRef","paymentTaxCode","paymentType","practiceSolutionsRefn","printedCode","quoteExpiry","quoteStatus","recordCreateDate","recordDeleted","recordModifyDate","recurringReference","sendViaEmail","settlementDiscRate","settlementDueDays","status","takenBy","totalBytes","unallocatedNetvalueDiscount","vatRegNumber","id","lines"],"additionalProperties":false},"Uk29_2_sales_orders_get":{"type":"object","properties":{"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Account reference (SDO ACCOUNT_REF; Required; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 5 (SDO ADDRESS_5; Optional; precision 0)"},"amountPrepaid":{"type":"number","nullable":true,"description":"Amount prepaid (SDO AMOUNT_PREPAID; Optional; precision 2)"},"analysis1":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"bankCode":{"type":"string","nullable":true,"maxLength":8,"description":"Bank posting code (SDO BANK_CODE; Optional; precision 0)"},"baseAmountPaid":{"type":"number","nullable":true,"description":"Base Amount prepaid (SDO BASE_AMOUNT_PAID; Optional; precision 2)"},"baseCarrNet":{"type":"number","nullable":true,"description":"Base Carriage net amount (SDO BASE_CARR_NET; Optional; precision 2)"},"baseCarrTax":{"type":"number","nullable":true,"description":"Base Carriage tax amount (SDO BASE_CARR_TAX; Optional; precision 2)"},"baseNetvalueDiscount":{"type":"number","nullable":true,"description":"Net Value Discount Amount in Base Currency (SDO BASE_NETVALUE_DISCOUNT; Optional; precision 2)"},"baseSettDiscRate":{"type":"number","nullable":true,"description":"Base Settlement discount % rate (SDO BASE_SETT_DISC_RATE; Optional; precision 2)"},"baseTotNet":{"type":"number","nullable":true,"description":"Base Net amount (goods but not carriage) (SDO BASE_TOT_NET; Optional; precision 2)"},"baseTotTax":{"type":"number","nullable":true,"description":"Base Tax amount (goods but not carriage) (SDO BASE_TOT_TAX; Optional; precision 2)"},"carrDeptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Carriage department number (SDO CARR_DEPT_NUMBER; Optional; precision 0)"},"carrNet":{"type":"number","nullable":true,"description":"Carriage net amount (SDO CARR_NET; Optional; precision 2)"},"carrNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Carriage nominal code (SDO CARR_NOM_CODE; Optional; precision 0)"},"carrTax":{"type":"number","nullable":true,"description":"Carriage tax amount (SDO CARR_TAX; Optional; precision 2)"},"carrTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Carriage tax code (SDO CARR_TAX_CODE; Optional; precision 0)"},"consignmentRef":{"type":"string","nullable":true,"maxLength":30,"description":"Consignment Reference (SDO CONSIGNMENT_REF; Optional; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Customer Contact name (SDO CONTACT_NAME; Optional; precision 0)"},"countryCode":{"type":"string","nullable":true,"maxLength":2,"description":"Customer Country code (SDO COUNTRY_CODE; Optional; precision 0)"},"courier":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Courier Number (SDO COURIER; Optional; precision 0)"},"currency":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency (SDO CURRENCY; Optional; precision 0)"},"currencyUsed":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency Used (SDO CURRENCY_USED; Optional; precision 0)"},"custDiscRate":{"type":"number","nullable":true,"description":"Customer Discount (SDO CUST_DISC_RATE; Optional; precision 2)"},"custOrderNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Customer's order number (SDO CUST_ORDER_NUMBER; Optional; precision 0)"},"custTelNumber":{"type":"string","nullable":true,"maxLength":30,"description":"Customer's telephone number (SDO CUST_TEL_NUMBER; Optional; precision 0)"},"defTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Default tax code (SDO DEF_TAX_CODE; Optional; precision 0)"},"delAddress1":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 1 (SDO DEL_ADDRESS_1; Optional; precision 0)"},"delAddress2":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 2 (SDO DEL_ADDRESS_2; Optional; precision 0)"},"delAddress3":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 3 (SDO DEL_ADDRESS_3; Optional; precision 0)"},"delAddress4":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 4 (SDO DEL_ADDRESS_4; Optional; precision 0)"},"delAddress5":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 5 (SDO DEL_ADDRESS_5; Optional; precision 0)"},"deletedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Is Deleted (SDO DELETED_FLAG; Optional; precision 0)"},"deliveryAddressRefn":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Delivery address record number (SDO DELIVERY_ADDRESS_REFN; Optional; precision 0)"},"deliveryName":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address name (SDO DELIVERY_NAME; Optional; precision 0)"},"despatchDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Despatch date (SDO DESPATCH_DATE; Optional; precision 0)"},"discountComment1":{"type":"string","nullable":true,"maxLength":60,"description":"Discount Commment 1 (SDO DISCOUNT_COMMENT1; Optional; precision 0)"},"discountComment2":{"type":"string","nullable":true,"maxLength":60,"description":"Discount Commment 2 (SDO DISCOUNT_COMMENT2; Optional; precision 0)"},"discountType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Discount Type (SDO DISCOUNT_TYPE; Optional; precision 0)"},"dunsNumber":{"type":"string","nullable":true,"maxLength":9,"description":"DUNS credit Reference Number (SDO DUNS_NUMBER; Optional; precision 0)"},"emailed":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Emailed flag - Yes/No (SDO EMAILED; Optional; precision 0)"},"eoriNumber":{"type":"string","nullable":true,"maxLength":17,"description":"Delivery address EORI Number (SDO EORI_NUMBER; Optional; precision 0)"},"euroGross":{"type":"number","nullable":true,"description":"euro Gross Amount (SDO EURO_GROSS; Optional; precision 6)"},"euroRate":{"type":"number","nullable":true,"description":"euro Rate (SDO EURO_RATE; Optional; precision 6)"},"externalUsage":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Number of External Usages (SDO EXTERNAL_USAGE; Optional; precision 0)"},"firstItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO FIRST_ITEM; Optional; precision 0)"},"foreignGross":{"type":"number","nullable":true,"description":"Foreign Gross Amount (SDO FOREIGN_GROSS; Optional; precision 6)"},"foreignRate":{"type":"number","nullable":true,"description":"Foreign Rate for euro currency (SDO FOREIGN_RATE; Optional; precision 6)"},"gdnNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"GDN Reference (SDO GDN_NUMBER; Optional; precision 0)"},"globalDeptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Global department number (SDO GLOBAL_DEPT_NUMBER; Optional; precision 0)"},"globalDetails":{"type":"string","nullable":true,"maxLength":60,"description":"Global details (SDO GLOBAL_DETAILS; Optional; precision 0)"},"globalNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Global nominal code (SDO GLOBAL_NOM_CODE; Optional; precision 0)"},"globalTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Global tax code (SDO GLOBAL_TAX_CODE; Optional; precision 0)"},"hasExternalLink":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Has External Link (SDO HAS_EXTERNAL_LINK; Optional; precision 0)"},"incoterms":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Incoterms (SDO INCOTERMS; Optional; precision 0)"},"intrastatStatus":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Intrastat Reconciled Status (SDO INTRASTAT_STATUS; Optional; precision 0)"},"invoiceForeignBalance":{"type":"number","nullable":true,"description":"Foreign Balance (SDO INVOICE_FOREIGN_BALANCE; Optional; precision 6)"},"invoiceNumber":{"type":"string","nullable":true,"maxLength":7,"description":"Corresponding invoice number (SDO INVOICE_NUMBER; Required; precision 0)"},"itemsNet":{"type":"number","nullable":true,"description":"Net amount (goods but not carriage) (SDO ITEMS_NET; Optional; precision 2)"},"itemsTax":{"type":"number","nullable":true,"description":"Tax amount (goods but not carriage) (SDO ITEMS_TAX; Optional; precision 2)"},"lastNetvalueDiscount":{"type":"number","nullable":true,"description":"Last Net Value Discount Amount (SDO LAST_NETVALUE_DISCOUNT; Optional; precision 2)"},"lastUpdated":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date of last update (SDO LAST_UPDATED; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Account Name (SDO NAME; Optional; precision 0)"},"netvalueDescription":{"type":"string","nullable":true,"maxLength":60,"description":"Net Value Discount Description (SDO NETVALUE_DESCRIPTION; Optional; precision 0)"},"netvalueDiscount":{"type":"number","nullable":true,"description":"Net Value Discount Amount (SDO NETVALUE_DISCOUNT; Optional; precision 2)"},"netvalueDiscountPercent":{"type":"number","nullable":true,"description":"Net Value Discount Percentage (SDO NETVALUE_DISCOUNT_PERCENT; Optional; precision 2)"},"notes1":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 1 (SDO NOTES_1; Optional; precision 0)"},"notes2":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 2 (SDO NOTES_2; Optional; precision 0)"},"notes3":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 3 (SDO NOTES_3; Optional; precision 0)"},"orderDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Order Date (SDO ORDER_DATE; Required; precision 0)"},"orderNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Order number (SDO ORDER_NUMBER; Required; precision 0)"},"orderType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Order type code (SDO ORDER_TYPE; Required; precision 0)"},"ossCountryOfVat":{"type":"string","nullable":true,"maxLength":2,"description":"Country of VAT (SDO OSS_COUNTRY_OF_VAT; Optional; precision 0)"},"ossReportingType":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Report type (SDO OSS_REPORTING_TYPE; Optional; precision 0)"},"paymentOssCountryOfVat":{"type":"string","nullable":true,"maxLength":2,"description":"Payment Country of VAT (SDO PAYMENT_OSS_COUNTRY_OF_VAT; Optional; precision 0)"},"paymentOssReportingType":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Payment Report type (SDO PAYMENT_OSS_REPORTING_TYPE; Optional; precision 0)"},"paymentRef":{"type":"string","nullable":true,"maxLength":30,"description":"Payment reference (SDO PAYMENT_REF; Optional; precision 0)"},"paymentTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Payment tax code (SDO PAYMENT_TAX_CODE; Optional; precision 0)"},"paymentType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Payment Type (SR/SA) (SDO PAYMENT_TYPE; Optional; precision 0)"},"practiceSolutionsRefn":{"type":"string","nullable":true,"maxLength":60,"description":"Sage Practice Solutions Reference (SDO PRACTICE_SOLUTIONS_REFN; Optional; precision 0)"},"printedCode":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Printed flag - Yes/No (SDO PRINTED_CODE; Optional; precision 0)"},"quoteExpiry":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Quote Expiry (SDO QUOTE_EXPIRY; Optional; precision 0)"},"quoteStatus":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Quote Status (SDO QUOTE_STATUS; Optional; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"recurringReference":{"type":"string","nullable":true,"maxLength":11,"description":"Recurring Reference (SDO RECURRING_REFERENCE; Optional; precision 0)"},"sendViaEmail":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Sent via TMail - Yes/No (SDO SEND_VIA_EMAIL; Optional; precision 0)"},"settlementDiscRate":{"type":"number","nullable":true,"description":"Settlement discount % rate (SDO SETTLEMENT_DISC_RATE; Optional; precision 2)"},"settlementDueDays":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Settlement days (SDO SETTLEMENT_DUE_DAYS; Optional; precision 0)"},"status":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Order status code (SDO STATUS; Optional; precision 0)"},"takenBy":{"type":"string","nullable":true,"maxLength":60,"description":"Order taken by (SDO TAKEN_BY; Optional; precision 0)"},"totalBytes":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO TOTAL_BYTES; Optional; precision 0)"},"unallocatedNetvalueDiscount":{"type":"number","nullable":true,"description":"Unallocated Net Value Discount Amount (SDO UNALLOCATED_NETVALUE_DISCOUNT; Optional; precision 2)"},"vatRegNumber":{"type":"string","nullable":true,"maxLength":20,"description":"VAT Number (SDO VAT_REG_NUMBER; Optional; precision 0)"},"id":{"type":"string"},"lines":{"type":"array","items":{"type":"object","properties":{"addDiscRate":{"type":"number","nullable":true,"description":"Additional discount percentage rate (SDO ADD_DISC_RATE; Optional; precision 2)"},"baseFullNet":{"type":"number","nullable":true,"description":"Full net value in Base Currency (SDO BASE_FULL_NET; Optional; precision 2)"},"baseNet":{"type":"number","nullable":true,"description":"Net value in Base Currency (SDO BASE_NET; Optional; precision 2)"},"baseNetvalueDiscount":{"type":"number","nullable":true,"description":"Net Value Discount Amount in Base Currency (SDO BASE_NETVALUE_DISCOUNT; Optional; precision 2)"},"baseTax":{"type":"number","nullable":true,"description":"Tax value in Base Currency (SDO BASE_TAX; Optional; precision 2)"},"comment1":{"type":"string","nullable":true,"maxLength":60,"description":"Comment 1 (SDO COMMENT_1; Optional; precision 0)"},"comment2":{"type":"string","nullable":true,"maxLength":60,"description":"Comment 2 (SDO COMMENT_2; Optional; precision 0)"},"costCodeId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Project Cost Code ID (SDO COST_CODE_ID; Optional; precision 0)"},"deliveryDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Delivery date (SDO DELIVERY_DATE; Optional; precision 0)"},"deptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Department number (SDO DEPT_NUMBER; Optional; precision 0)"},"description":{"type":"string","nullable":true,"maxLength":120,"description":"Description (SDO DESCRIPTION; Optional; precision 0)"},"discountAmount":{"type":"number","nullable":true,"description":"Discount amount (SDO DISCOUNT_AMOUNT; Optional; precision 2)"},"discountRate":{"type":"number","nullable":true,"description":"Discount percentage rate (SDO DISCOUNT_RATE; Optional; precision 2)"},"dueDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Due Date (SDO DUE_DATE; Optional; precision 0)"},"extOrderLineRef":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"External Line Reference for SOP to INV link (SDO EXT_ORDER_LINE_REF; Optional; precision 0)"},"extOrderRef":{"type":"string","nullable":true,"maxLength":30,"description":"External Reference for SOP to INV link (SDO EXT_ORDER_REF; Optional; precision 0)"},"fullNetAmount":{"type":"number","nullable":true,"description":"Full net amount (before discount) (SDO FULL_NET_AMOUNT; Optional; precision 2)"},"fundNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Fund number (SDO FUND_NUMBER; Optional; precision 0)"},"invoiceNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Invoice Number (SDO INVOICE_NUMBER; Optional; precision 0)"},"itemNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Item Number (SDO ITEM_NUMBER; Optional; precision 0)"},"itemid":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Unique ID (SDO ITEMID; Optional; precision 0)"},"jobReference":{"type":"string","nullable":true,"maxLength":60,"description":"Job Reference (SDO JOB_REFERENCE; Optional; precision 0)"},"netAmount":{"type":"number","nullable":true,"description":"Net amount (after discount) (SDO NET_AMOUNT; Optional; precision 2)"},"netvalueDiscount":{"type":"number","nullable":true,"description":"Net Value Discount Amount (SDO NETVALUE_DISCOUNT; Optional; precision 2)"},"netvalueDiscountAllocated":{"type":"number","nullable":true,"description":"Negotiation Discount allocated on a sop (in foreign) (SDO NETVALUE_DISCOUNT_ALLOCATED; Optional; precision 2)"},"nextItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO NEXT_ITEM; Optional; precision 0)"},"nominalCode":{"type":"string","nullable":true,"maxLength":8,"description":"Nominal code (SDO NOMINAL_CODE; Optional; precision 0)"},"offset":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Offset of Service Text (SDO OFFSET; Optional; precision 0)"},"prevItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO PREV_ITEM; Optional; precision 0)"},"projectId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Project ID (SDO PROJECT_ID; Optional; precision 0)"},"qtyAllocated":{"type":"number","nullable":true,"description":"Quantity allocated for this order (SDO QTY_ALLOCATED; Optional; precision 102)"},"qtyDelivered":{"type":"number","nullable":true,"description":"Quantity previously delivered for this order (SDO QTY_DELIVERED; Optional; precision 102)"},"qtyDespatch":{"type":"number","nullable":true,"description":"Quantity to despatch/despatched on this delivery (SDO QTY_DESPATCH; Optional; precision 102)"},"qtyIntrastatConfirmed":{"type":"number","nullable":true,"description":"Quantity Intrastat Confirmed (SDO QTY_INTRASTAT_CONFIRMED; Optional; precision 102)"},"qtyOrder":{"type":"number","nullable":true,"description":"Quantity ordered (SDO QTY_ORDER; Optional; precision 102)"},"serviceFile":{"type":"string","nullable":true,"maxLength":120,"description":"Redundant - Do not use (SDO SERVICE_FILE; Optional; precision 0)"},"serviceFileSize":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Redundant - Do not use (SDO SERVICE_FILE_SIZE; Optional; precision 0)"},"serviceFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Item Type Flag (SDO SERVICE_FLAG; Optional; precision 0)"},"serviceItemLines":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Redundant - Do not use (SDO SERVICE_ITEM_LINES; Optional; precision 0)"},"stockCode":{"type":"string","nullable":true,"maxLength":30,"description":"Stock code (SDO STOCK_CODE; Required; precision 0)"},"taxAmount":{"type":"number","nullable":true,"description":"Tax amount (SDO TAX_AMOUNT; Optional; precision 2)"},"taxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax code (SDO TAX_CODE; Optional; precision 0)"},"taxFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":" (SDO TAX_FLAG; Optional; precision 0)"},"taxRate":{"type":"number","nullable":true,"description":"Tax rate (SDO TAX_RATE; Optional; precision 2)"},"text":{"type":"string","nullable":true,"maxLength":120,"description":"Service invoice/credit text (SDO TEXT; Optional; precision 0)"},"unitOfSale":{"type":"string","nullable":true,"maxLength":8,"description":"Unit of sale (SDO UNIT_OF_SALE; Optional; precision 0)"},"unitPrice":{"type":"number","nullable":true,"description":"Unit price (SDO UNIT_PRICE; Optional; precision 101)"}},"required":["addDiscRate","baseFullNet","baseNet","baseNetvalueDiscount","baseTax","comment1","comment2","costCodeId","deliveryDate","deptNumber","description","discountAmount","discountRate","dueDate","extOrderLineRef","extOrderRef","fullNetAmount","fundNumber","invoiceNumber","itemNumber","itemid","jobReference","netAmount","netvalueDiscount","netvalueDiscountAllocated","nextItem","nominalCode","offset","prevItem","projectId","qtyAllocated","qtyDelivered","qtyDespatch","qtyIntrastatConfirmed","qtyOrder","serviceFile","serviceFileSize","serviceFlag","serviceItemLines","stockCode","taxAmount","taxCode","taxFlag","taxRate","text","unitOfSale","unitPrice"],"additionalProperties":false}}},"required":["accountRef","address1","address2","address3","address4","address5","amountPrepaid","analysis1","analysis2","analysis3","bankCode","baseAmountPaid","baseCarrNet","baseCarrTax","baseNetvalueDiscount","baseSettDiscRate","baseTotNet","baseTotTax","carrDeptNumber","carrNet","carrNomCode","carrTax","carrTaxCode","consignmentRef","contactName","countryCode","courier","currency","currencyUsed","custDiscRate","custOrderNumber","custTelNumber","defTaxCode","delAddress1","delAddress2","delAddress3","delAddress4","delAddress5","deletedFlag","deliveryAddressRefn","deliveryName","despatchDate","discountComment1","discountComment2","discountType","dunsNumber","emailed","eoriNumber","euroGross","euroRate","externalUsage","firstItem","foreignGross","foreignRate","gdnNumber","globalDeptNumber","globalDetails","globalNomCode","globalTaxCode","hasExternalLink","incoterms","intrastatStatus","invoiceForeignBalance","invoiceNumber","itemsNet","itemsTax","lastNetvalueDiscount","lastUpdated","name","netvalueDescription","netvalueDiscount","netvalueDiscountPercent","notes1","notes2","notes3","orderDate","orderNumber","orderType","ossCountryOfVat","ossReportingType","paymentOssCountryOfVat","paymentOssReportingType","paymentRef","paymentTaxCode","paymentType","practiceSolutionsRefn","printedCode","quoteExpiry","quoteStatus","recordCreateDate","recordDeleted","recordModifyDate","recurringReference","sendViaEmail","settlementDiscRate","settlementDueDays","status","takenBy","totalBytes","unallocatedNetvalueDiscount","vatRegNumber","id","lines"],"additionalProperties":false},"Uk30_1_sales_orders_get":{"type":"object","properties":{"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Account reference (SDO ACCOUNT_REF; Required; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 5 (SDO ADDRESS_5; Optional; precision 0)"},"amountPrepaid":{"type":"number","nullable":true,"description":"Amount prepaid (SDO AMOUNT_PREPAID; Optional; precision 2)"},"analysis1":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"bankCode":{"type":"string","nullable":true,"maxLength":8,"description":"Bank posting code (SDO BANK_CODE; Optional; precision 0)"},"baseAmountPaid":{"type":"number","nullable":true,"description":"Base Amount prepaid (SDO BASE_AMOUNT_PAID; Optional; precision 2)"},"baseCarrNet":{"type":"number","nullable":true,"description":"Base Carriage net amount (SDO BASE_CARR_NET; Optional; precision 2)"},"baseCarrTax":{"type":"number","nullable":true,"description":"Base Carriage tax amount (SDO BASE_CARR_TAX; Optional; precision 2)"},"baseNetvalueDiscount":{"type":"number","nullable":true,"description":"Net Value Discount Amount in Base Currency (SDO BASE_NETVALUE_DISCOUNT; Optional; precision 2)"},"baseSettDiscRate":{"type":"number","nullable":true,"description":"Base Settlement discount % rate (SDO BASE_SETT_DISC_RATE; Optional; precision 2)"},"baseTotNet":{"type":"number","nullable":true,"description":"Base Net amount (goods but not carriage) (SDO BASE_TOT_NET; Optional; precision 2)"},"baseTotTax":{"type":"number","nullable":true,"description":"Base Tax amount (goods but not carriage) (SDO BASE_TOT_TAX; Optional; precision 2)"},"carrDeptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Carriage department number (SDO CARR_DEPT_NUMBER; Optional; precision 0)"},"carrNet":{"type":"number","nullable":true,"description":"Carriage net amount (SDO CARR_NET; Optional; precision 2)"},"carrNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Carriage nominal code (SDO CARR_NOM_CODE; Optional; precision 0)"},"carrTax":{"type":"number","nullable":true,"description":"Carriage tax amount (SDO CARR_TAX; Optional; precision 2)"},"carrTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Carriage tax code (SDO CARR_TAX_CODE; Optional; precision 0)"},"consignmentRef":{"type":"string","nullable":true,"maxLength":30,"description":"Consignment Reference (SDO CONSIGNMENT_REF; Optional; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Customer Contact name (SDO CONTACT_NAME; Optional; precision 0)"},"countryCode":{"type":"string","nullable":true,"maxLength":2,"description":"Customer Country code (SDO COUNTRY_CODE; Optional; precision 0)"},"courier":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Courier Number (SDO COURIER; Optional; precision 0)"},"currency":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency (SDO CURRENCY; Optional; precision 0)"},"currencyUsed":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency Used (SDO CURRENCY_USED; Optional; precision 0)"},"custDiscRate":{"type":"number","nullable":true,"description":"Customer Discount (SDO CUST_DISC_RATE; Optional; precision 2)"},"custOrderNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Customer's order number (SDO CUST_ORDER_NUMBER; Optional; precision 0)"},"custTelNumber":{"type":"string","nullable":true,"maxLength":30,"description":"Customer's telephone number (SDO CUST_TEL_NUMBER; Optional; precision 0)"},"defTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Default tax code (SDO DEF_TAX_CODE; Optional; precision 0)"},"delAddress1":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 1 (SDO DEL_ADDRESS_1; Optional; precision 0)"},"delAddress2":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 2 (SDO DEL_ADDRESS_2; Optional; precision 0)"},"delAddress3":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 3 (SDO DEL_ADDRESS_3; Optional; precision 0)"},"delAddress4":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 4 (SDO DEL_ADDRESS_4; Optional; precision 0)"},"delAddress5":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 5 (SDO DEL_ADDRESS_5; Optional; precision 0)"},"deletedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Is Deleted (SDO DELETED_FLAG; Optional; precision 0)"},"deliveryAddressRefn":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Delivery address record number (SDO DELIVERY_ADDRESS_REFN; Optional; precision 0)"},"deliveryName":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address name (SDO DELIVERY_NAME; Optional; precision 0)"},"despatchDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Despatch date (SDO DESPATCH_DATE; Optional; precision 0)"},"discountComment1":{"type":"string","nullable":true,"maxLength":60,"description":"Discount Commment 1 (SDO DISCOUNT_COMMENT1; Optional; precision 0)"},"discountComment2":{"type":"string","nullable":true,"maxLength":60,"description":"Discount Commment 2 (SDO DISCOUNT_COMMENT2; Optional; precision 0)"},"discountType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Discount Type (SDO DISCOUNT_TYPE; Optional; precision 0)"},"dunsNumber":{"type":"string","nullable":true,"maxLength":9,"description":"DUNS credit Reference Number (SDO DUNS_NUMBER; Optional; precision 0)"},"emailed":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Emailed flag - Yes/No (SDO EMAILED; Optional; precision 0)"},"eoriNumber":{"type":"string","nullable":true,"maxLength":17,"description":"Delivery address EORI Number (SDO EORI_NUMBER; Optional; precision 0)"},"euroGross":{"type":"number","nullable":true,"description":"euro Gross Amount (SDO EURO_GROSS; Optional; precision 6)"},"euroRate":{"type":"number","nullable":true,"description":"euro Rate (SDO EURO_RATE; Optional; precision 6)"},"externalUsage":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Number of External Usages (SDO EXTERNAL_USAGE; Optional; precision 0)"},"firstItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO FIRST_ITEM; Optional; precision 0)"},"foreignGross":{"type":"number","nullable":true,"description":"Foreign Gross Amount (SDO FOREIGN_GROSS; Optional; precision 6)"},"foreignRate":{"type":"number","nullable":true,"description":"Foreign Rate for euro currency (SDO FOREIGN_RATE; Optional; precision 6)"},"gdnNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"GDN Reference (SDO GDN_NUMBER; Optional; precision 0)"},"globalDeptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Global department number (SDO GLOBAL_DEPT_NUMBER; Optional; precision 0)"},"globalDetails":{"type":"string","nullable":true,"maxLength":60,"description":"Global details (SDO GLOBAL_DETAILS; Optional; precision 0)"},"globalNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Global nominal code (SDO GLOBAL_NOM_CODE; Optional; precision 0)"},"globalTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Global tax code (SDO GLOBAL_TAX_CODE; Optional; precision 0)"},"hasExternalLink":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Has External Link (SDO HAS_EXTERNAL_LINK; Optional; precision 0)"},"incoterms":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Incoterms (SDO INCOTERMS; Optional; precision 0)"},"intrastatStatus":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Intrastat Reconciled Status (SDO INTRASTAT_STATUS; Optional; precision 0)"},"invoiceForeignBalance":{"type":"number","nullable":true,"description":"Foreign Balance (SDO INVOICE_FOREIGN_BALANCE; Optional; precision 6)"},"invoiceNumber":{"type":"string","nullable":true,"maxLength":7,"description":"Corresponding invoice number (SDO INVOICE_NUMBER; Required; precision 0)"},"itemsNet":{"type":"number","nullable":true,"description":"Net amount (goods but not carriage) (SDO ITEMS_NET; Optional; precision 2)"},"itemsTax":{"type":"number","nullable":true,"description":"Tax amount (goods but not carriage) (SDO ITEMS_TAX; Optional; precision 2)"},"lastNetvalueDiscount":{"type":"number","nullable":true,"description":"Last Net Value Discount Amount (SDO LAST_NETVALUE_DISCOUNT; Optional; precision 2)"},"lastUpdated":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date of last update (SDO LAST_UPDATED; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Account Name (SDO NAME; Optional; precision 0)"},"netvalueDescription":{"type":"string","nullable":true,"maxLength":60,"description":"Net Value Discount Description (SDO NETVALUE_DESCRIPTION; Optional; precision 0)"},"netvalueDiscount":{"type":"number","nullable":true,"description":"Net Value Discount Amount (SDO NETVALUE_DISCOUNT; Optional; precision 2)"},"netvalueDiscountPercent":{"type":"number","nullable":true,"description":"Net Value Discount Percentage (SDO NETVALUE_DISCOUNT_PERCENT; Optional; precision 2)"},"notes1":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 1 (SDO NOTES_1; Optional; precision 0)"},"notes2":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 2 (SDO NOTES_2; Optional; precision 0)"},"notes3":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 3 (SDO NOTES_3; Optional; precision 0)"},"orderDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Order Date (SDO ORDER_DATE; Required; precision 0)"},"orderNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Order number (SDO ORDER_NUMBER; Required; precision 0)"},"orderType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Order type code (SDO ORDER_TYPE; Required; precision 0)"},"ossCountryOfVat":{"type":"string","nullable":true,"maxLength":2,"description":"Country of VAT (SDO OSS_COUNTRY_OF_VAT; Optional; precision 0)"},"ossReportingType":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Report type (SDO OSS_REPORTING_TYPE; Optional; precision 0)"},"paymentOssCountryOfVat":{"type":"string","nullable":true,"maxLength":2,"description":"Payment Country of VAT (SDO PAYMENT_OSS_COUNTRY_OF_VAT; Optional; precision 0)"},"paymentOssReportingType":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Payment Report type (SDO PAYMENT_OSS_REPORTING_TYPE; Optional; precision 0)"},"paymentRef":{"type":"string","nullable":true,"maxLength":30,"description":"Payment reference (SDO PAYMENT_REF; Optional; precision 0)"},"paymentTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Payment tax code (SDO PAYMENT_TAX_CODE; Optional; precision 0)"},"paymentType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Payment Type (SR/SA) (SDO PAYMENT_TYPE; Optional; precision 0)"},"practiceSolutionsRefn":{"type":"string","nullable":true,"maxLength":60,"description":"Sage Practice Solutions Reference (SDO PRACTICE_SOLUTIONS_REFN; Optional; precision 0)"},"printedCode":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Printed flag - Yes/No (SDO PRINTED_CODE; Optional; precision 0)"},"quoteExpiry":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Quote Expiry (SDO QUOTE_EXPIRY; Optional; precision 0)"},"quoteStatus":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Quote Status (SDO QUOTE_STATUS; Optional; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"recurringReference":{"type":"string","nullable":true,"maxLength":11,"description":"Recurring Reference (SDO RECURRING_REFERENCE; Optional; precision 0)"},"sendViaEmail":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Sent via TMail - Yes/No (SDO SEND_VIA_EMAIL; Optional; precision 0)"},"settlementDiscRate":{"type":"number","nullable":true,"description":"Settlement discount % rate (SDO SETTLEMENT_DISC_RATE; Optional; precision 2)"},"settlementDueDays":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Settlement days (SDO SETTLEMENT_DUE_DAYS; Optional; precision 0)"},"status":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Order status code (SDO STATUS; Optional; precision 0)"},"takenBy":{"type":"string","nullable":true,"maxLength":60,"description":"Order taken by (SDO TAKEN_BY; Optional; precision 0)"},"totalBytes":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO TOTAL_BYTES; Optional; precision 0)"},"unallocatedNetvalueDiscount":{"type":"number","nullable":true,"description":"Unallocated Net Value Discount Amount (SDO UNALLOCATED_NETVALUE_DISCOUNT; Optional; precision 2)"},"vatRegNumber":{"type":"string","nullable":true,"maxLength":20,"description":"VAT Number (SDO VAT_REG_NUMBER; Optional; precision 0)"},"id":{"type":"string"},"lines":{"type":"array","items":{"type":"object","properties":{"addDiscRate":{"type":"number","nullable":true,"description":"Additional discount percentage rate (SDO ADD_DISC_RATE; Optional; precision 2)"},"baseFullNet":{"type":"number","nullable":true,"description":"Full net value in Base Currency (SDO BASE_FULL_NET; Optional; precision 2)"},"baseNet":{"type":"number","nullable":true,"description":"Net value in Base Currency (SDO BASE_NET; Optional; precision 2)"},"baseNetvalueDiscount":{"type":"number","nullable":true,"description":"Net Value Discount Amount in Base Currency (SDO BASE_NETVALUE_DISCOUNT; Optional; precision 2)"},"baseTax":{"type":"number","nullable":true,"description":"Tax value in Base Currency (SDO BASE_TAX; Optional; precision 2)"},"comment1":{"type":"string","nullable":true,"maxLength":60,"description":"Comment 1 (SDO COMMENT_1; Optional; precision 0)"},"comment2":{"type":"string","nullable":true,"maxLength":60,"description":"Comment 2 (SDO COMMENT_2; Optional; precision 0)"},"costCodeId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Project Cost Code ID (SDO COST_CODE_ID; Optional; precision 0)"},"deliveryDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Delivery date (SDO DELIVERY_DATE; Optional; precision 0)"},"deptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Department number (SDO DEPT_NUMBER; Optional; precision 0)"},"description":{"type":"string","nullable":true,"maxLength":120,"description":"Description (SDO DESCRIPTION; Optional; precision 0)"},"discountAmount":{"type":"number","nullable":true,"description":"Discount amount (SDO DISCOUNT_AMOUNT; Optional; precision 2)"},"discountRate":{"type":"number","nullable":true,"description":"Discount percentage rate (SDO DISCOUNT_RATE; Optional; precision 2)"},"dueDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Due Date (SDO DUE_DATE; Optional; precision 0)"},"extOrderLineRef":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"External Line Reference for SOP to INV link (SDO EXT_ORDER_LINE_REF; Optional; precision 0)"},"extOrderRef":{"type":"string","nullable":true,"maxLength":30,"description":"External Reference for SOP to INV link (SDO EXT_ORDER_REF; Optional; precision 0)"},"fullNetAmount":{"type":"number","nullable":true,"description":"Full net amount (before discount) (SDO FULL_NET_AMOUNT; Optional; precision 2)"},"fundNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Fund number (SDO FUND_NUMBER; Optional; precision 0)"},"invoiceNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Invoice Number (SDO INVOICE_NUMBER; Optional; precision 0)"},"itemNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Item Number (SDO ITEM_NUMBER; Optional; precision 0)"},"itemid":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Unique ID (SDO ITEMID; Optional; precision 0)"},"jobReference":{"type":"string","nullable":true,"maxLength":60,"description":"Job Reference (SDO JOB_REFERENCE; Optional; precision 0)"},"netAmount":{"type":"number","nullable":true,"description":"Net amount (after discount) (SDO NET_AMOUNT; Optional; precision 2)"},"netvalueDiscount":{"type":"number","nullable":true,"description":"Net Value Discount Amount (SDO NETVALUE_DISCOUNT; Optional; precision 2)"},"netvalueDiscountAllocated":{"type":"number","nullable":true,"description":"Negotiation Discount allocated on a sop (in foreign) (SDO NETVALUE_DISCOUNT_ALLOCATED; Optional; precision 2)"},"nextItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO NEXT_ITEM; Optional; precision 0)"},"nominalCode":{"type":"string","nullable":true,"maxLength":8,"description":"Nominal code (SDO NOMINAL_CODE; Optional; precision 0)"},"offset":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Offset of Service Text (SDO OFFSET; Optional; precision 0)"},"prevItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO PREV_ITEM; Optional; precision 0)"},"projectId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Project ID (SDO PROJECT_ID; Optional; precision 0)"},"qtyAllocated":{"type":"number","nullable":true,"description":"Quantity allocated for this order (SDO QTY_ALLOCATED; Optional; precision 102)"},"qtyDelivered":{"type":"number","nullable":true,"description":"Quantity previously delivered for this order (SDO QTY_DELIVERED; Optional; precision 102)"},"qtyDespatch":{"type":"number","nullable":true,"description":"Quantity to despatch/despatched on this delivery (SDO QTY_DESPATCH; Optional; precision 102)"},"qtyIntrastatConfirmed":{"type":"number","nullable":true,"description":"Quantity Intrastat Confirmed (SDO QTY_INTRASTAT_CONFIRMED; Optional; precision 102)"},"qtyOrder":{"type":"number","nullable":true,"description":"Quantity ordered (SDO QTY_ORDER; Optional; precision 102)"},"serviceFile":{"type":"string","nullable":true,"maxLength":120,"description":"Redundant - Do not use (SDO SERVICE_FILE; Optional; precision 0)"},"serviceFileSize":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Redundant - Do not use (SDO SERVICE_FILE_SIZE; Optional; precision 0)"},"serviceFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Item Type Flag (SDO SERVICE_FLAG; Optional; precision 0)"},"serviceItemLines":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Redundant - Do not use (SDO SERVICE_ITEM_LINES; Optional; precision 0)"},"stockCode":{"type":"string","nullable":true,"maxLength":30,"description":"Stock code (SDO STOCK_CODE; Required; precision 0)"},"taxAmount":{"type":"number","nullable":true,"description":"Tax amount (SDO TAX_AMOUNT; Optional; precision 2)"},"taxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax code (SDO TAX_CODE; Optional; precision 0)"},"taxFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":" (SDO TAX_FLAG; Optional; precision 0)"},"taxRate":{"type":"number","nullable":true,"description":"Tax rate (SDO TAX_RATE; Optional; precision 2)"},"text":{"type":"string","nullable":true,"maxLength":120,"description":"Service invoice/credit text (SDO TEXT; Optional; precision 0)"},"unitOfSale":{"type":"string","nullable":true,"maxLength":8,"description":"Unit of sale (SDO UNIT_OF_SALE; Optional; precision 0)"},"unitPrice":{"type":"number","nullable":true,"description":"Unit price (SDO UNIT_PRICE; Optional; precision 101)"}},"required":["addDiscRate","baseFullNet","baseNet","baseNetvalueDiscount","baseTax","comment1","comment2","costCodeId","deliveryDate","deptNumber","description","discountAmount","discountRate","dueDate","extOrderLineRef","extOrderRef","fullNetAmount","fundNumber","invoiceNumber","itemNumber","itemid","jobReference","netAmount","netvalueDiscount","netvalueDiscountAllocated","nextItem","nominalCode","offset","prevItem","projectId","qtyAllocated","qtyDelivered","qtyDespatch","qtyIntrastatConfirmed","qtyOrder","serviceFile","serviceFileSize","serviceFlag","serviceItemLines","stockCode","taxAmount","taxCode","taxFlag","taxRate","text","unitOfSale","unitPrice"],"additionalProperties":false}}},"required":["accountRef","address1","address2","address3","address4","address5","amountPrepaid","analysis1","analysis2","analysis3","bankCode","baseAmountPaid","baseCarrNet","baseCarrTax","baseNetvalueDiscount","baseSettDiscRate","baseTotNet","baseTotTax","carrDeptNumber","carrNet","carrNomCode","carrTax","carrTaxCode","consignmentRef","contactName","countryCode","courier","currency","currencyUsed","custDiscRate","custOrderNumber","custTelNumber","defTaxCode","delAddress1","delAddress2","delAddress3","delAddress4","delAddress5","deletedFlag","deliveryAddressRefn","deliveryName","despatchDate","discountComment1","discountComment2","discountType","dunsNumber","emailed","eoriNumber","euroGross","euroRate","externalUsage","firstItem","foreignGross","foreignRate","gdnNumber","globalDeptNumber","globalDetails","globalNomCode","globalTaxCode","hasExternalLink","incoterms","intrastatStatus","invoiceForeignBalance","invoiceNumber","itemsNet","itemsTax","lastNetvalueDiscount","lastUpdated","name","netvalueDescription","netvalueDiscount","netvalueDiscountPercent","notes1","notes2","notes3","orderDate","orderNumber","orderType","ossCountryOfVat","ossReportingType","paymentOssCountryOfVat","paymentOssReportingType","paymentRef","paymentTaxCode","paymentType","practiceSolutionsRefn","printedCode","quoteExpiry","quoteStatus","recordCreateDate","recordDeleted","recordModifyDate","recurringReference","sendViaEmail","settlementDiscRate","settlementDueDays","status","takenBy","totalBytes","unallocatedNetvalueDiscount","vatRegNumber","id","lines"],"additionalProperties":false},"Uk31_1_sales_orders_get":{"type":"object","properties":{"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Account reference (SDO ACCOUNT_REF; Required; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 5 (SDO ADDRESS_5; Optional; precision 0)"},"amountPrepaid":{"type":"number","nullable":true,"description":"Amount prepaid (SDO AMOUNT_PREPAID; Optional; precision 2)"},"analysis1":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"bankCode":{"type":"string","nullable":true,"maxLength":8,"description":"Bank posting code (SDO BANK_CODE; Optional; precision 0)"},"baseAmountPaid":{"type":"number","nullable":true,"description":"Base Amount prepaid (SDO BASE_AMOUNT_PAID; Optional; precision 2)"},"baseCarrNet":{"type":"number","nullable":true,"description":"Base Carriage net amount (SDO BASE_CARR_NET; Optional; precision 2)"},"baseCarrTax":{"type":"number","nullable":true,"description":"Base Carriage tax amount (SDO BASE_CARR_TAX; Optional; precision 2)"},"baseNetvalueDiscount":{"type":"number","nullable":true,"description":"Net Value Discount Amount in Base Currency (SDO BASE_NETVALUE_DISCOUNT; Optional; precision 2)"},"baseSettDiscRate":{"type":"number","nullable":true,"description":"Base Settlement discount % rate (SDO BASE_SETT_DISC_RATE; Optional; precision 2)"},"baseTotNet":{"type":"number","nullable":true,"description":"Base Net amount (goods but not carriage) (SDO BASE_TOT_NET; Optional; precision 2)"},"baseTotTax":{"type":"number","nullable":true,"description":"Base Tax amount (goods but not carriage) (SDO BASE_TOT_TAX; Optional; precision 2)"},"carrDeptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Carriage department number (SDO CARR_DEPT_NUMBER; Optional; precision 0)"},"carrNet":{"type":"number","nullable":true,"description":"Carriage net amount (SDO CARR_NET; Optional; precision 2)"},"carrNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Carriage nominal code (SDO CARR_NOM_CODE; Optional; precision 0)"},"carrTax":{"type":"number","nullable":true,"description":"Carriage tax amount (SDO CARR_TAX; Optional; precision 2)"},"carrTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Carriage tax code (SDO CARR_TAX_CODE; Optional; precision 0)"},"consignmentRef":{"type":"string","nullable":true,"maxLength":30,"description":"Consignment Reference (SDO CONSIGNMENT_REF; Optional; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Customer Contact name (SDO CONTACT_NAME; Optional; precision 0)"},"countryCode":{"type":"string","nullable":true,"maxLength":2,"description":"Customer Country code (SDO COUNTRY_CODE; Optional; precision 0)"},"courier":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Courier Number (SDO COURIER; Optional; precision 0)"},"currency":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency (SDO CURRENCY; Optional; precision 0)"},"currencyUsed":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency Used (SDO CURRENCY_USED; Optional; precision 0)"},"custDiscRate":{"type":"number","nullable":true,"description":"Customer Discount (SDO CUST_DISC_RATE; Optional; precision 2)"},"custOrderNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Customer's order number (SDO CUST_ORDER_NUMBER; Optional; precision 0)"},"custTelNumber":{"type":"string","nullable":true,"maxLength":30,"description":"Customer's telephone number (SDO CUST_TEL_NUMBER; Optional; precision 0)"},"defTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Default tax code (SDO DEF_TAX_CODE; Optional; precision 0)"},"delAddress1":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 1 (SDO DEL_ADDRESS_1; Optional; precision 0)"},"delAddress2":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 2 (SDO DEL_ADDRESS_2; Optional; precision 0)"},"delAddress3":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 3 (SDO DEL_ADDRESS_3; Optional; precision 0)"},"delAddress4":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 4 (SDO DEL_ADDRESS_4; Optional; precision 0)"},"delAddress5":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 5 (SDO DEL_ADDRESS_5; Optional; precision 0)"},"deletedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Is Deleted (SDO DELETED_FLAG; Optional; precision 0)"},"deliveryAddressRefn":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Delivery address record number (SDO DELIVERY_ADDRESS_REFN; Optional; precision 0)"},"deliveryName":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address name (SDO DELIVERY_NAME; Optional; precision 0)"},"despatchDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Despatch date (SDO DESPATCH_DATE; Optional; precision 0)"},"discountComment1":{"type":"string","nullable":true,"maxLength":60,"description":"Discount Commment 1 (SDO DISCOUNT_COMMENT1; Optional; precision 0)"},"discountComment2":{"type":"string","nullable":true,"maxLength":60,"description":"Discount Commment 2 (SDO DISCOUNT_COMMENT2; Optional; precision 0)"},"discountType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Discount Type (SDO DISCOUNT_TYPE; Optional; precision 0)"},"dunsNumber":{"type":"string","nullable":true,"maxLength":9,"description":"DUNS credit Reference Number (SDO DUNS_NUMBER; Optional; precision 0)"},"emailed":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Emailed flag - Yes/No (SDO EMAILED; Optional; precision 0)"},"eoriNumber":{"type":"string","nullable":true,"maxLength":17,"description":"Delivery address EORI Number (SDO EORI_NUMBER; Optional; precision 0)"},"euroGross":{"type":"number","nullable":true,"description":"euro Gross Amount (SDO EURO_GROSS; Optional; precision 6)"},"euroRate":{"type":"number","nullable":true,"description":"euro Rate (SDO EURO_RATE; Optional; precision 6)"},"externalUsage":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Number of External Usages (SDO EXTERNAL_USAGE; Optional; precision 0)"},"firstItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO FIRST_ITEM; Optional; precision 0)"},"foreignGross":{"type":"number","nullable":true,"description":"Foreign Gross Amount (SDO FOREIGN_GROSS; Optional; precision 6)"},"foreignRate":{"type":"number","nullable":true,"description":"Foreign Rate for euro currency (SDO FOREIGN_RATE; Optional; precision 6)"},"gdnNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"GDN Reference (SDO GDN_NUMBER; Optional; precision 0)"},"globalDeptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Global department number (SDO GLOBAL_DEPT_NUMBER; Optional; precision 0)"},"globalDetails":{"type":"string","nullable":true,"maxLength":60,"description":"Global details (SDO GLOBAL_DETAILS; Optional; precision 0)"},"globalNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Global nominal code (SDO GLOBAL_NOM_CODE; Optional; precision 0)"},"globalTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Global tax code (SDO GLOBAL_TAX_CODE; Optional; precision 0)"},"hasExternalLink":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Has External Link (SDO HAS_EXTERNAL_LINK; Optional; precision 0)"},"incoterms":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Incoterms (SDO INCOTERMS; Optional; precision 0)"},"intrastatStatus":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Intrastat Reconciled Status (SDO INTRASTAT_STATUS; Optional; precision 0)"},"invoiceForeignBalance":{"type":"number","nullable":true,"description":"Foreign Balance (SDO INVOICE_FOREIGN_BALANCE; Optional; precision 6)"},"invoiceNumber":{"type":"string","nullable":true,"maxLength":7,"description":"Corresponding invoice number (SDO INVOICE_NUMBER; Required; precision 0)"},"itemsNet":{"type":"number","nullable":true,"description":"Net amount (goods but not carriage) (SDO ITEMS_NET; Optional; precision 2)"},"itemsTax":{"type":"number","nullable":true,"description":"Tax amount (goods but not carriage) (SDO ITEMS_TAX; Optional; precision 2)"},"lastNetvalueDiscount":{"type":"number","nullable":true,"description":"Last Net Value Discount Amount (SDO LAST_NETVALUE_DISCOUNT; Optional; precision 2)"},"lastUpdated":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date of last update (SDO LAST_UPDATED; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Account Name (SDO NAME; Optional; precision 0)"},"netvalueDescription":{"type":"string","nullable":true,"maxLength":60,"description":"Net Value Discount Description (SDO NETVALUE_DESCRIPTION; Optional; precision 0)"},"netvalueDiscount":{"type":"number","nullable":true,"description":"Net Value Discount Amount (SDO NETVALUE_DISCOUNT; Optional; precision 2)"},"netvalueDiscountPercent":{"type":"number","nullable":true,"description":"Net Value Discount Percentage (SDO NETVALUE_DISCOUNT_PERCENT; Optional; precision 2)"},"notes1":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 1 (SDO NOTES_1; Optional; precision 0)"},"notes2":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 2 (SDO NOTES_2; Optional; precision 0)"},"notes3":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 3 (SDO NOTES_3; Optional; precision 0)"},"orderDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Order Date (SDO ORDER_DATE; Required; precision 0)"},"orderNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Order number (SDO ORDER_NUMBER; Required; precision 0)"},"orderType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Order type code (SDO ORDER_TYPE; Required; precision 0)"},"ossCountryOfVat":{"type":"string","nullable":true,"maxLength":2,"description":"Country of VAT (SDO OSS_COUNTRY_OF_VAT; Optional; precision 0)"},"ossReportingType":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Report type (SDO OSS_REPORTING_TYPE; Optional; precision 0)"},"paymentOssCountryOfVat":{"type":"string","nullable":true,"maxLength":2,"description":"Payment Country of VAT (SDO PAYMENT_OSS_COUNTRY_OF_VAT; Optional; precision 0)"},"paymentOssReportingType":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Payment Report type (SDO PAYMENT_OSS_REPORTING_TYPE; Optional; precision 0)"},"paymentRef":{"type":"string","nullable":true,"maxLength":30,"description":"Payment reference (SDO PAYMENT_REF; Optional; precision 0)"},"paymentTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Payment tax code (SDO PAYMENT_TAX_CODE; Optional; precision 0)"},"paymentType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Payment Type (SR/SA) (SDO PAYMENT_TYPE; Optional; precision 0)"},"practiceSolutionsRefn":{"type":"string","nullable":true,"maxLength":60,"description":"Sage Practice Solutions Reference (SDO PRACTICE_SOLUTIONS_REFN; Optional; precision 0)"},"printedCode":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Printed flag - Yes/No (SDO PRINTED_CODE; Optional; precision 0)"},"quoteExpiry":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Quote Expiry (SDO QUOTE_EXPIRY; Optional; precision 0)"},"quoteStatus":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Quote Status (SDO QUOTE_STATUS; Optional; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"recurringReference":{"type":"string","nullable":true,"maxLength":11,"description":"Recurring Reference (SDO RECURRING_REFERENCE; Optional; precision 0)"},"sendViaEmail":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Sent via TMail - Yes/No (SDO SEND_VIA_EMAIL; Optional; precision 0)"},"settlementDiscRate":{"type":"number","nullable":true,"description":"Settlement discount % rate (SDO SETTLEMENT_DISC_RATE; Optional; precision 2)"},"settlementDueDays":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Settlement days (SDO SETTLEMENT_DUE_DAYS; Optional; precision 0)"},"status":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Order status code (SDO STATUS; Optional; precision 0)"},"takenBy":{"type":"string","nullable":true,"maxLength":60,"description":"Order taken by (SDO TAKEN_BY; Optional; precision 0)"},"totalBytes":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO TOTAL_BYTES; Optional; precision 0)"},"unallocatedNetvalueDiscount":{"type":"number","nullable":true,"description":"Unallocated Net Value Discount Amount (SDO UNALLOCATED_NETVALUE_DISCOUNT; Optional; precision 2)"},"vatRegNumber":{"type":"string","nullable":true,"maxLength":20,"description":"VAT Number (SDO VAT_REG_NUMBER; Optional; precision 0)"},"id":{"type":"string"},"lines":{"type":"array","items":{"type":"object","properties":{"addDiscRate":{"type":"number","nullable":true,"description":"Additional discount percentage rate (SDO ADD_DISC_RATE; Optional; precision 2)"},"baseFullNet":{"type":"number","nullable":true,"description":"Full net value in Base Currency (SDO BASE_FULL_NET; Optional; precision 2)"},"baseNet":{"type":"number","nullable":true,"description":"Net value in Base Currency (SDO BASE_NET; Optional; precision 2)"},"baseNetvalueDiscount":{"type":"number","nullable":true,"description":"Net Value Discount Amount in Base Currency (SDO BASE_NETVALUE_DISCOUNT; Optional; precision 2)"},"baseTax":{"type":"number","nullable":true,"description":"Tax value in Base Currency (SDO BASE_TAX; Optional; precision 2)"},"comment1":{"type":"string","nullable":true,"maxLength":60,"description":"Comment 1 (SDO COMMENT_1; Optional; precision 0)"},"comment2":{"type":"string","nullable":true,"maxLength":60,"description":"Comment 2 (SDO COMMENT_2; Optional; precision 0)"},"costCodeId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Project Cost Code ID (SDO COST_CODE_ID; Optional; precision 0)"},"deliveryDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Delivery date (SDO DELIVERY_DATE; Optional; precision 0)"},"deptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Department number (SDO DEPT_NUMBER; Optional; precision 0)"},"description":{"type":"string","nullable":true,"maxLength":120,"description":"Description (SDO DESCRIPTION; Optional; precision 0)"},"discountAmount":{"type":"number","nullable":true,"description":"Discount amount (SDO DISCOUNT_AMOUNT; Optional; precision 2)"},"discountRate":{"type":"number","nullable":true,"description":"Discount percentage rate (SDO DISCOUNT_RATE; Optional; precision 2)"},"dueDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Due Date (SDO DUE_DATE; Optional; precision 0)"},"extOrderLineRef":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"External Line Reference for SOP to INV link (SDO EXT_ORDER_LINE_REF; Optional; precision 0)"},"extOrderRef":{"type":"string","nullable":true,"maxLength":30,"description":"External Reference for SOP to INV link (SDO EXT_ORDER_REF; Optional; precision 0)"},"fullNetAmount":{"type":"number","nullable":true,"description":"Full net amount (before discount) (SDO FULL_NET_AMOUNT; Optional; precision 2)"},"fundNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Fund number (SDO FUND_NUMBER; Optional; precision 0)"},"invoiceNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Invoice Number (SDO INVOICE_NUMBER; Optional; precision 0)"},"itemNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Item Number (SDO ITEM_NUMBER; Optional; precision 0)"},"itemid":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Unique ID (SDO ITEMID; Optional; precision 0)"},"jobReference":{"type":"string","nullable":true,"maxLength":60,"description":"Job Reference (SDO JOB_REFERENCE; Optional; precision 0)"},"netAmount":{"type":"number","nullable":true,"description":"Net amount (after discount) (SDO NET_AMOUNT; Optional; precision 2)"},"netvalueDiscount":{"type":"number","nullable":true,"description":"Net Value Discount Amount (SDO NETVALUE_DISCOUNT; Optional; precision 2)"},"netvalueDiscountAllocated":{"type":"number","nullable":true,"description":"Negotiation Discount allocated on a sop (in foreign) (SDO NETVALUE_DISCOUNT_ALLOCATED; Optional; precision 2)"},"nextItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO NEXT_ITEM; Optional; precision 0)"},"nominalCode":{"type":"string","nullable":true,"maxLength":8,"description":"Nominal code (SDO NOMINAL_CODE; Optional; precision 0)"},"offset":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Offset of Service Text (SDO OFFSET; Optional; precision 0)"},"prevItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO PREV_ITEM; Optional; precision 0)"},"projectId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Project ID (SDO PROJECT_ID; Optional; precision 0)"},"qtyAllocated":{"type":"number","nullable":true,"description":"Quantity allocated for this order (SDO QTY_ALLOCATED; Optional; precision 102)"},"qtyDelivered":{"type":"number","nullable":true,"description":"Quantity previously delivered for this order (SDO QTY_DELIVERED; Optional; precision 102)"},"qtyDespatch":{"type":"number","nullable":true,"description":"Quantity to despatch/despatched on this delivery (SDO QTY_DESPATCH; Optional; precision 102)"},"qtyIntrastatConfirmed":{"type":"number","nullable":true,"description":"Quantity Intrastat Confirmed (SDO QTY_INTRASTAT_CONFIRMED; Optional; precision 102)"},"qtyOrder":{"type":"number","nullable":true,"description":"Quantity ordered (SDO QTY_ORDER; Optional; precision 102)"},"serviceFile":{"type":"string","nullable":true,"maxLength":120,"description":"Redundant - Do not use (SDO SERVICE_FILE; Optional; precision 0)"},"serviceFileSize":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Redundant - Do not use (SDO SERVICE_FILE_SIZE; Optional; precision 0)"},"serviceFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Item Type Flag (SDO SERVICE_FLAG; Optional; precision 0)"},"serviceItemLines":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Redundant - Do not use (SDO SERVICE_ITEM_LINES; Optional; precision 0)"},"stockCode":{"type":"string","nullable":true,"maxLength":30,"description":"Stock code (SDO STOCK_CODE; Required; precision 0)"},"taxAmount":{"type":"number","nullable":true,"description":"Tax amount (SDO TAX_AMOUNT; Optional; precision 2)"},"taxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax code (SDO TAX_CODE; Optional; precision 0)"},"taxFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":" (SDO TAX_FLAG; Optional; precision 0)"},"taxRate":{"type":"number","nullable":true,"description":"Tax rate (SDO TAX_RATE; Optional; precision 2)"},"text":{"type":"string","nullable":true,"maxLength":120,"description":"Service invoice/credit text (SDO TEXT; Optional; precision 0)"},"unitOfSale":{"type":"string","nullable":true,"maxLength":8,"description":"Unit of sale (SDO UNIT_OF_SALE; Optional; precision 0)"},"unitPrice":{"type":"number","nullable":true,"description":"Unit price (SDO UNIT_PRICE; Optional; precision 101)"}},"required":["addDiscRate","baseFullNet","baseNet","baseNetvalueDiscount","baseTax","comment1","comment2","costCodeId","deliveryDate","deptNumber","description","discountAmount","discountRate","dueDate","extOrderLineRef","extOrderRef","fullNetAmount","fundNumber","invoiceNumber","itemNumber","itemid","jobReference","netAmount","netvalueDiscount","netvalueDiscountAllocated","nextItem","nominalCode","offset","prevItem","projectId","qtyAllocated","qtyDelivered","qtyDespatch","qtyIntrastatConfirmed","qtyOrder","serviceFile","serviceFileSize","serviceFlag","serviceItemLines","stockCode","taxAmount","taxCode","taxFlag","taxRate","text","unitOfSale","unitPrice"],"additionalProperties":false}}},"required":["accountRef","address1","address2","address3","address4","address5","amountPrepaid","analysis1","analysis2","analysis3","bankCode","baseAmountPaid","baseCarrNet","baseCarrTax","baseNetvalueDiscount","baseSettDiscRate","baseTotNet","baseTotTax","carrDeptNumber","carrNet","carrNomCode","carrTax","carrTaxCode","consignmentRef","contactName","countryCode","courier","currency","currencyUsed","custDiscRate","custOrderNumber","custTelNumber","defTaxCode","delAddress1","delAddress2","delAddress3","delAddress4","delAddress5","deletedFlag","deliveryAddressRefn","deliveryName","despatchDate","discountComment1","discountComment2","discountType","dunsNumber","emailed","eoriNumber","euroGross","euroRate","externalUsage","firstItem","foreignGross","foreignRate","gdnNumber","globalDeptNumber","globalDetails","globalNomCode","globalTaxCode","hasExternalLink","incoterms","intrastatStatus","invoiceForeignBalance","invoiceNumber","itemsNet","itemsTax","lastNetvalueDiscount","lastUpdated","name","netvalueDescription","netvalueDiscount","netvalueDiscountPercent","notes1","notes2","notes3","orderDate","orderNumber","orderType","ossCountryOfVat","ossReportingType","paymentOssCountryOfVat","paymentOssReportingType","paymentRef","paymentTaxCode","paymentType","practiceSolutionsRefn","printedCode","quoteExpiry","quoteStatus","recordCreateDate","recordDeleted","recordModifyDate","recurringReference","sendViaEmail","settlementDiscRate","settlementDueDays","status","takenBy","totalBytes","unallocatedNetvalueDiscount","vatRegNumber","id","lines"],"additionalProperties":false},"Uk32_1_sales_orders_get":{"type":"object","properties":{"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Account reference (SDO ACCOUNT_REF; Required; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 5 (SDO ADDRESS_5; Optional; precision 0)"},"amountPrepaid":{"type":"number","nullable":true,"description":"Amount prepaid (SDO AMOUNT_PREPAID; Optional; precision 2)"},"analysis1":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"bankCode":{"type":"string","nullable":true,"maxLength":8,"description":"Bank posting code (SDO BANK_CODE; Optional; precision 0)"},"baseAmountPaid":{"type":"number","nullable":true,"description":"Base Amount prepaid (SDO BASE_AMOUNT_PAID; Optional; precision 2)"},"baseCarrNet":{"type":"number","nullable":true,"description":"Base Carriage net amount (SDO BASE_CARR_NET; Optional; precision 2)"},"baseCarrTax":{"type":"number","nullable":true,"description":"Base Carriage tax amount (SDO BASE_CARR_TAX; Optional; precision 2)"},"baseNetvalueDiscount":{"type":"number","nullable":true,"description":"Net Value Discount Amount in Base Currency (SDO BASE_NETVALUE_DISCOUNT; Optional; precision 2)"},"baseSettDiscRate":{"type":"number","nullable":true,"description":"Base Settlement discount % rate (SDO BASE_SETT_DISC_RATE; Optional; precision 2)"},"baseTotNet":{"type":"number","nullable":true,"description":"Base Net amount (goods but not carriage) (SDO BASE_TOT_NET; Optional; precision 2)"},"baseTotTax":{"type":"number","nullable":true,"description":"Base Tax amount (goods but not carriage) (SDO BASE_TOT_TAX; Optional; precision 2)"},"carrDeptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Carriage department number (SDO CARR_DEPT_NUMBER; Optional; precision 0)"},"carrNet":{"type":"number","nullable":true,"description":"Carriage net amount (SDO CARR_NET; Optional; precision 2)"},"carrNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Carriage nominal code (SDO CARR_NOM_CODE; Optional; precision 0)"},"carrTax":{"type":"number","nullable":true,"description":"Carriage tax amount (SDO CARR_TAX; Optional; precision 2)"},"carrTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Carriage tax code (SDO CARR_TAX_CODE; Optional; precision 0)"},"consignmentRef":{"type":"string","nullable":true,"maxLength":30,"description":"Consignment Reference (SDO CONSIGNMENT_REF; Optional; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Customer Contact name (SDO CONTACT_NAME; Optional; precision 0)"},"countryCode":{"type":"string","nullable":true,"maxLength":2,"description":"Customer Country code (SDO COUNTRY_CODE; Optional; precision 0)"},"courier":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Courier Number (SDO COURIER; Optional; precision 0)"},"currency":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency (SDO CURRENCY; Optional; precision 0)"},"currencyUsed":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency Used (SDO CURRENCY_USED; Optional; precision 0)"},"custDiscRate":{"type":"number","nullable":true,"description":"Customer Discount (SDO CUST_DISC_RATE; Optional; precision 2)"},"custOrderNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Customer's order number (SDO CUST_ORDER_NUMBER; Optional; precision 0)"},"custTelNumber":{"type":"string","nullable":true,"maxLength":30,"description":"Customer's telephone number (SDO CUST_TEL_NUMBER; Optional; precision 0)"},"defTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Default tax code (SDO DEF_TAX_CODE; Optional; precision 0)"},"delAddress1":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 1 (SDO DEL_ADDRESS_1; Optional; precision 0)"},"delAddress2":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 2 (SDO DEL_ADDRESS_2; Optional; precision 0)"},"delAddress3":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 3 (SDO DEL_ADDRESS_3; Optional; precision 0)"},"delAddress4":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 4 (SDO DEL_ADDRESS_4; Optional; precision 0)"},"delAddress5":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 5 (SDO DEL_ADDRESS_5; Optional; precision 0)"},"deletedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Is Deleted (SDO DELETED_FLAG; Optional; precision 0)"},"deliveryAddressRefn":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Delivery address record number (SDO DELIVERY_ADDRESS_REFN; Optional; precision 0)"},"deliveryName":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address name (SDO DELIVERY_NAME; Optional; precision 0)"},"despatchDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Despatch date (SDO DESPATCH_DATE; Optional; precision 0)"},"discountComment1":{"type":"string","nullable":true,"maxLength":60,"description":"Discount Commment 1 (SDO DISCOUNT_COMMENT1; Optional; precision 0)"},"discountComment2":{"type":"string","nullable":true,"maxLength":60,"description":"Discount Commment 2 (SDO DISCOUNT_COMMENT2; Optional; precision 0)"},"discountType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Discount Type (SDO DISCOUNT_TYPE; Optional; precision 0)"},"dunsNumber":{"type":"string","nullable":true,"maxLength":9,"description":"DUNS credit Reference Number (SDO DUNS_NUMBER; Optional; precision 0)"},"emailed":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Emailed flag - Yes/No (SDO EMAILED; Optional; precision 0)"},"eoriNumber":{"type":"string","nullable":true,"maxLength":17,"description":"Delivery address EORI Number (SDO EORI_NUMBER; Optional; precision 0)"},"euroGross":{"type":"number","nullable":true,"description":"euro Gross Amount (SDO EURO_GROSS; Optional; precision 6)"},"euroRate":{"type":"number","nullable":true,"description":"euro Rate (SDO EURO_RATE; Optional; precision 6)"},"externalUsage":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Number of External Usages (SDO EXTERNAL_USAGE; Optional; precision 0)"},"firstItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO FIRST_ITEM; Optional; precision 0)"},"foreignGross":{"type":"number","nullable":true,"description":"Foreign Gross Amount (SDO FOREIGN_GROSS; Optional; precision 6)"},"foreignRate":{"type":"number","nullable":true,"description":"Foreign Rate for euro currency (SDO FOREIGN_RATE; Optional; precision 6)"},"gdnNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"GDN Reference (SDO GDN_NUMBER; Optional; precision 0)"},"globalDeptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Global department number (SDO GLOBAL_DEPT_NUMBER; Optional; precision 0)"},"globalDetails":{"type":"string","nullable":true,"maxLength":60,"description":"Global details (SDO GLOBAL_DETAILS; Optional; precision 0)"},"globalNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Global nominal code (SDO GLOBAL_NOM_CODE; Optional; precision 0)"},"globalTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Global tax code (SDO GLOBAL_TAX_CODE; Optional; precision 0)"},"hasExternalLink":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Has External Link (SDO HAS_EXTERNAL_LINK; Optional; precision 0)"},"incoterms":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Incoterms (SDO INCOTERMS; Optional; precision 0)"},"intrastatStatus":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Intrastat Reconciled Status (SDO INTRASTAT_STATUS; Optional; precision 0)"},"invoiceForeignBalance":{"type":"number","nullable":true,"description":"Foreign Balance (SDO INVOICE_FOREIGN_BALANCE; Optional; precision 6)"},"invoiceNumber":{"type":"string","nullable":true,"maxLength":7,"description":"Corresponding invoice number (SDO INVOICE_NUMBER; Required; precision 0)"},"itemsNet":{"type":"number","nullable":true,"description":"Net amount (goods but not carriage) (SDO ITEMS_NET; Optional; precision 2)"},"itemsTax":{"type":"number","nullable":true,"description":"Tax amount (goods but not carriage) (SDO ITEMS_TAX; Optional; precision 2)"},"lastNetvalueDiscount":{"type":"number","nullable":true,"description":"Last Net Value Discount Amount (SDO LAST_NETVALUE_DISCOUNT; Optional; precision 2)"},"lastUpdated":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date of last update (SDO LAST_UPDATED; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Account Name (SDO NAME; Optional; precision 0)"},"netvalueDescription":{"type":"string","nullable":true,"maxLength":60,"description":"Net Value Discount Description (SDO NETVALUE_DESCRIPTION; Optional; precision 0)"},"netvalueDiscount":{"type":"number","nullable":true,"description":"Net Value Discount Amount (SDO NETVALUE_DISCOUNT; Optional; precision 2)"},"netvalueDiscountPercent":{"type":"number","nullable":true,"description":"Net Value Discount Percentage (SDO NETVALUE_DISCOUNT_PERCENT; Optional; precision 2)"},"notes1":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 1 (SDO NOTES_1; Optional; precision 0)"},"notes2":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 2 (SDO NOTES_2; Optional; precision 0)"},"notes3":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 3 (SDO NOTES_3; Optional; precision 0)"},"orderDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Order Date (SDO ORDER_DATE; Required; precision 0)"},"orderNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Order number (SDO ORDER_NUMBER; Required; precision 0)"},"orderType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Order type code (SDO ORDER_TYPE; Required; precision 0)"},"ossCountryOfVat":{"type":"string","nullable":true,"maxLength":2,"description":"Country of VAT (SDO OSS_COUNTRY_OF_VAT; Optional; precision 0)"},"ossReportingType":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Report type (SDO OSS_REPORTING_TYPE; Optional; precision 0)"},"paymentOssCountryOfVat":{"type":"string","nullable":true,"maxLength":2,"description":"Payment Country of VAT (SDO PAYMENT_OSS_COUNTRY_OF_VAT; Optional; precision 0)"},"paymentOssReportingType":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Payment Report type (SDO PAYMENT_OSS_REPORTING_TYPE; Optional; precision 0)"},"paymentRef":{"type":"string","nullable":true,"maxLength":30,"description":"Payment reference (SDO PAYMENT_REF; Optional; precision 0)"},"paymentTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Payment tax code (SDO PAYMENT_TAX_CODE; Optional; precision 0)"},"paymentType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Payment Type (SR/SA) (SDO PAYMENT_TYPE; Optional; precision 0)"},"practiceSolutionsRefn":{"type":"string","nullable":true,"maxLength":60,"description":"Sage Practice Solutions Reference (SDO PRACTICE_SOLUTIONS_REFN; Optional; precision 0)"},"printedCode":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Printed flag - Yes/No (SDO PRINTED_CODE; Optional; precision 0)"},"quoteExpiry":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Quote Expiry (SDO QUOTE_EXPIRY; Optional; precision 0)"},"quoteStatus":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Quote Status (SDO QUOTE_STATUS; Optional; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"recurringReference":{"type":"string","nullable":true,"maxLength":11,"description":"Recurring Reference (SDO RECURRING_REFERENCE; Optional; precision 0)"},"sendViaEmail":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Sent via TMail - Yes/No (SDO SEND_VIA_EMAIL; Optional; precision 0)"},"settlementDiscRate":{"type":"number","nullable":true,"description":"Settlement discount % rate (SDO SETTLEMENT_DISC_RATE; Optional; precision 2)"},"settlementDueDays":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Settlement days (SDO SETTLEMENT_DUE_DAYS; Optional; precision 0)"},"status":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Order status code (SDO STATUS; Optional; precision 0)"},"takenBy":{"type":"string","nullable":true,"maxLength":60,"description":"Order taken by (SDO TAKEN_BY; Optional; precision 0)"},"totalBytes":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO TOTAL_BYTES; Optional; precision 0)"},"unallocatedNetvalueDiscount":{"type":"number","nullable":true,"description":"Unallocated Net Value Discount Amount (SDO UNALLOCATED_NETVALUE_DISCOUNT; Optional; precision 2)"},"vatRegNumber":{"type":"string","nullable":true,"maxLength":20,"description":"VAT Number (SDO VAT_REG_NUMBER; Optional; precision 0)"},"id":{"type":"string"},"lines":{"type":"array","items":{"type":"object","properties":{"addDiscRate":{"type":"number","nullable":true,"description":"Additional discount percentage rate (SDO ADD_DISC_RATE; Optional; precision 2)"},"baseFullNet":{"type":"number","nullable":true,"description":"Full net value in Base Currency (SDO BASE_FULL_NET; Optional; precision 2)"},"baseNet":{"type":"number","nullable":true,"description":"Net value in Base Currency (SDO BASE_NET; Optional; precision 2)"},"baseNetvalueDiscount":{"type":"number","nullable":true,"description":"Net Value Discount Amount in Base Currency (SDO BASE_NETVALUE_DISCOUNT; Optional; precision 2)"},"baseTax":{"type":"number","nullable":true,"description":"Tax value in Base Currency (SDO BASE_TAX; Optional; precision 2)"},"comment1":{"type":"string","nullable":true,"maxLength":60,"description":"Comment 1 (SDO COMMENT_1; Optional; precision 0)"},"comment2":{"type":"string","nullable":true,"maxLength":60,"description":"Comment 2 (SDO COMMENT_2; Optional; precision 0)"},"costCodeId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Project Cost Code ID (SDO COST_CODE_ID; Optional; precision 0)"},"deliveryDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Delivery date (SDO DELIVERY_DATE; Optional; precision 0)"},"deptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Department number (SDO DEPT_NUMBER; Optional; precision 0)"},"description":{"type":"string","nullable":true,"maxLength":120,"description":"Description (SDO DESCRIPTION; Optional; precision 0)"},"discountAmount":{"type":"number","nullable":true,"description":"Discount amount (SDO DISCOUNT_AMOUNT; Optional; precision 2)"},"discountRate":{"type":"number","nullable":true,"description":"Discount percentage rate (SDO DISCOUNT_RATE; Optional; precision 2)"},"dueDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Due Date (SDO DUE_DATE; Optional; precision 0)"},"extOrderLineRef":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"External Line Reference for SOP to INV link (SDO EXT_ORDER_LINE_REF; Optional; precision 0)"},"extOrderRef":{"type":"string","nullable":true,"maxLength":30,"description":"External Reference for SOP to INV link (SDO EXT_ORDER_REF; Optional; precision 0)"},"fullNetAmount":{"type":"number","nullable":true,"description":"Full net amount (before discount) (SDO FULL_NET_AMOUNT; Optional; precision 2)"},"fundNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Fund number (SDO FUND_NUMBER; Optional; precision 0)"},"invoiceNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Invoice Number (SDO INVOICE_NUMBER; Optional; precision 0)"},"itemNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Item Number (SDO ITEM_NUMBER; Optional; precision 0)"},"itemid":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Unique ID (SDO ITEMID; Optional; precision 0)"},"jobReference":{"type":"string","nullable":true,"maxLength":60,"description":"Job Reference (SDO JOB_REFERENCE; Optional; precision 0)"},"netAmount":{"type":"number","nullable":true,"description":"Net amount (after discount) (SDO NET_AMOUNT; Optional; precision 2)"},"netvalueDiscount":{"type":"number","nullable":true,"description":"Net Value Discount Amount (SDO NETVALUE_DISCOUNT; Optional; precision 2)"},"netvalueDiscountAllocated":{"type":"number","nullable":true,"description":"Negotiation Discount allocated on a sop (in foreign) (SDO NETVALUE_DISCOUNT_ALLOCATED; Optional; precision 2)"},"nextItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO NEXT_ITEM; Optional; precision 0)"},"nominalCode":{"type":"string","nullable":true,"maxLength":8,"description":"Nominal code (SDO NOMINAL_CODE; Optional; precision 0)"},"offset":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Offset of Service Text (SDO OFFSET; Optional; precision 0)"},"prevItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO PREV_ITEM; Optional; precision 0)"},"projectId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Project ID (SDO PROJECT_ID; Optional; precision 0)"},"qtyAllocated":{"type":"number","nullable":true,"description":"Quantity allocated for this order (SDO QTY_ALLOCATED; Optional; precision 102)"},"qtyDelivered":{"type":"number","nullable":true,"description":"Quantity previously delivered for this order (SDO QTY_DELIVERED; Optional; precision 102)"},"qtyDespatch":{"type":"number","nullable":true,"description":"Quantity to despatch/despatched on this delivery (SDO QTY_DESPATCH; Optional; precision 102)"},"qtyIntrastatConfirmed":{"type":"number","nullable":true,"description":"Quantity Intrastat Confirmed (SDO QTY_INTRASTAT_CONFIRMED; Optional; precision 102)"},"qtyOrder":{"type":"number","nullable":true,"description":"Quantity ordered (SDO QTY_ORDER; Optional; precision 102)"},"serviceFile":{"type":"string","nullable":true,"maxLength":120,"description":"Redundant - Do not use (SDO SERVICE_FILE; Optional; precision 0)"},"serviceFileSize":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Redundant - Do not use (SDO SERVICE_FILE_SIZE; Optional; precision 0)"},"serviceFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Item Type Flag (SDO SERVICE_FLAG; Optional; precision 0)"},"serviceItemLines":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Redundant - Do not use (SDO SERVICE_ITEM_LINES; Optional; precision 0)"},"stockCode":{"type":"string","nullable":true,"maxLength":30,"description":"Stock code (SDO STOCK_CODE; Required; precision 0)"},"taxAmount":{"type":"number","nullable":true,"description":"Tax amount (SDO TAX_AMOUNT; Optional; precision 2)"},"taxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax code (SDO TAX_CODE; Optional; precision 0)"},"taxFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":" (SDO TAX_FLAG; Optional; precision 0)"},"taxRate":{"type":"number","nullable":true,"description":"Tax rate (SDO TAX_RATE; Optional; precision 2)"},"text":{"type":"string","nullable":true,"maxLength":120,"description":"Service invoice/credit text (SDO TEXT; Optional; precision 0)"},"unitOfSale":{"type":"string","nullable":true,"maxLength":8,"description":"Unit of sale (SDO UNIT_OF_SALE; Optional; precision 0)"},"unitPrice":{"type":"number","nullable":true,"description":"Unit price (SDO UNIT_PRICE; Optional; precision 101)"}},"required":["addDiscRate","baseFullNet","baseNet","baseNetvalueDiscount","baseTax","comment1","comment2","costCodeId","deliveryDate","deptNumber","description","discountAmount","discountRate","dueDate","extOrderLineRef","extOrderRef","fullNetAmount","fundNumber","invoiceNumber","itemNumber","itemid","jobReference","netAmount","netvalueDiscount","netvalueDiscountAllocated","nextItem","nominalCode","offset","prevItem","projectId","qtyAllocated","qtyDelivered","qtyDespatch","qtyIntrastatConfirmed","qtyOrder","serviceFile","serviceFileSize","serviceFlag","serviceItemLines","stockCode","taxAmount","taxCode","taxFlag","taxRate","text","unitOfSale","unitPrice"],"additionalProperties":false}}},"required":["accountRef","address1","address2","address3","address4","address5","amountPrepaid","analysis1","analysis2","analysis3","bankCode","baseAmountPaid","baseCarrNet","baseCarrTax","baseNetvalueDiscount","baseSettDiscRate","baseTotNet","baseTotTax","carrDeptNumber","carrNet","carrNomCode","carrTax","carrTaxCode","consignmentRef","contactName","countryCode","courier","currency","currencyUsed","custDiscRate","custOrderNumber","custTelNumber","defTaxCode","delAddress1","delAddress2","delAddress3","delAddress4","delAddress5","deletedFlag","deliveryAddressRefn","deliveryName","despatchDate","discountComment1","discountComment2","discountType","dunsNumber","emailed","eoriNumber","euroGross","euroRate","externalUsage","firstItem","foreignGross","foreignRate","gdnNumber","globalDeptNumber","globalDetails","globalNomCode","globalTaxCode","hasExternalLink","incoterms","intrastatStatus","invoiceForeignBalance","invoiceNumber","itemsNet","itemsTax","lastNetvalueDiscount","lastUpdated","name","netvalueDescription","netvalueDiscount","netvalueDiscountPercent","notes1","notes2","notes3","orderDate","orderNumber","orderType","ossCountryOfVat","ossReportingType","paymentOssCountryOfVat","paymentOssReportingType","paymentRef","paymentTaxCode","paymentType","practiceSolutionsRefn","printedCode","quoteExpiry","quoteStatus","recordCreateDate","recordDeleted","recordModifyDate","recurringReference","sendViaEmail","settlementDiscRate","settlementDueDays","status","takenBy","totalBytes","unallocatedNetvalueDiscount","vatRegNumber","id","lines"],"additionalProperties":false},"Uk33_1_sales_orders_get":{"type":"object","properties":{"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Account reference (SDO ACCOUNT_REF; Required; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 5 (SDO ADDRESS_5; Optional; precision 0)"},"amountPrepaid":{"type":"number","nullable":true,"description":"Amount prepaid (SDO AMOUNT_PREPAID; Optional; precision 2)"},"analysis1":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"bankCode":{"type":"string","nullable":true,"maxLength":8,"description":"Bank posting code (SDO BANK_CODE; Optional; precision 0)"},"baseAmountPaid":{"type":"number","nullable":true,"description":"Base Amount prepaid (SDO BASE_AMOUNT_PAID; Optional; precision 2)"},"baseCarrNet":{"type":"number","nullable":true,"description":"Base Carriage net amount (SDO BASE_CARR_NET; Optional; precision 2)"},"baseCarrTax":{"type":"number","nullable":true,"description":"Base Carriage tax amount (SDO BASE_CARR_TAX; Optional; precision 2)"},"baseNetvalueDiscount":{"type":"number","nullable":true,"description":"Net Value Discount Amount in Base Currency (SDO BASE_NETVALUE_DISCOUNT; Optional; precision 2)"},"baseSettDiscRate":{"type":"number","nullable":true,"description":"Base Settlement discount % rate (SDO BASE_SETT_DISC_RATE; Optional; precision 2)"},"baseTotNet":{"type":"number","nullable":true,"description":"Base Net amount (goods but not carriage) (SDO BASE_TOT_NET; Optional; precision 2)"},"baseTotTax":{"type":"number","nullable":true,"description":"Base Tax amount (goods but not carriage) (SDO BASE_TOT_TAX; Optional; precision 2)"},"carrDeptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Carriage department number (SDO CARR_DEPT_NUMBER; Optional; precision 0)"},"carrNet":{"type":"number","nullable":true,"description":"Carriage net amount (SDO CARR_NET; Optional; precision 2)"},"carrNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Carriage nominal code (SDO CARR_NOM_CODE; Optional; precision 0)"},"carrTax":{"type":"number","nullable":true,"description":"Carriage tax amount (SDO CARR_TAX; Optional; precision 2)"},"carrTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Carriage tax code (SDO CARR_TAX_CODE; Optional; precision 0)"},"consignmentRef":{"type":"string","nullable":true,"maxLength":30,"description":"Consignment Reference (SDO CONSIGNMENT_REF; Optional; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Customer Contact name (SDO CONTACT_NAME; Optional; precision 0)"},"countryCode":{"type":"string","nullable":true,"maxLength":2,"description":"Customer Country code (SDO COUNTRY_CODE; Optional; precision 0)"},"courier":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Courier Number (SDO COURIER; Optional; precision 0)"},"currency":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency (SDO CURRENCY; Optional; precision 0)"},"currencyUsed":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency Used (SDO CURRENCY_USED; Optional; precision 0)"},"custDiscRate":{"type":"number","nullable":true,"description":"Customer Discount (SDO CUST_DISC_RATE; Optional; precision 2)"},"custOrderNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Customer's order number (SDO CUST_ORDER_NUMBER; Optional; precision 0)"},"custTelNumber":{"type":"string","nullable":true,"maxLength":30,"description":"Customer's telephone number (SDO CUST_TEL_NUMBER; Optional; precision 0)"},"defTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Default tax code (SDO DEF_TAX_CODE; Optional; precision 0)"},"delAddress1":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 1 (SDO DEL_ADDRESS_1; Optional; precision 0)"},"delAddress2":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 2 (SDO DEL_ADDRESS_2; Optional; precision 0)"},"delAddress3":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 3 (SDO DEL_ADDRESS_3; Optional; precision 0)"},"delAddress4":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 4 (SDO DEL_ADDRESS_4; Optional; precision 0)"},"delAddress5":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 5 (SDO DEL_ADDRESS_5; Optional; precision 0)"},"deletedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Is Deleted (SDO DELETED_FLAG; Optional; precision 0)"},"deliveryAddressRefn":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Delivery address record number (SDO DELIVERY_ADDRESS_REFN; Optional; precision 0)"},"deliveryName":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address name (SDO DELIVERY_NAME; Optional; precision 0)"},"despatchDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Despatch date (SDO DESPATCH_DATE; Optional; precision 0)"},"discountComment1":{"type":"string","nullable":true,"maxLength":60,"description":"Discount Commment 1 (SDO DISCOUNT_COMMENT1; Optional; precision 0)"},"discountComment2":{"type":"string","nullable":true,"maxLength":60,"description":"Discount Commment 2 (SDO DISCOUNT_COMMENT2; Optional; precision 0)"},"discountType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Discount Type (SDO DISCOUNT_TYPE; Optional; precision 0)"},"dunsNumber":{"type":"string","nullable":true,"maxLength":9,"description":"DUNS credit Reference Number (SDO DUNS_NUMBER; Optional; precision 0)"},"emailed":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Emailed flag - Yes/No (SDO EMAILED; Optional; precision 0)"},"eoriNumber":{"type":"string","nullable":true,"maxLength":17,"description":"Delivery address EORI Number (SDO EORI_NUMBER; Optional; precision 0)"},"euroGross":{"type":"number","nullable":true,"description":"euro Gross Amount (SDO EURO_GROSS; Optional; precision 6)"},"euroRate":{"type":"number","nullable":true,"description":"euro Rate (SDO EURO_RATE; Optional; precision 6)"},"externalUsage":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Number of External Usages (SDO EXTERNAL_USAGE; Optional; precision 0)"},"firstItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO FIRST_ITEM; Optional; precision 0)"},"foreignGross":{"type":"number","nullable":true,"description":"Foreign Gross Amount (SDO FOREIGN_GROSS; Optional; precision 6)"},"foreignRate":{"type":"number","nullable":true,"description":"Foreign Rate for euro currency (SDO FOREIGN_RATE; Optional; precision 6)"},"gdnNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"GDN Reference (SDO GDN_NUMBER; Optional; precision 0)"},"globalDeptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Global department number (SDO GLOBAL_DEPT_NUMBER; Optional; precision 0)"},"globalDetails":{"type":"string","nullable":true,"maxLength":60,"description":"Global details (SDO GLOBAL_DETAILS; Optional; precision 0)"},"globalNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Global nominal code (SDO GLOBAL_NOM_CODE; Optional; precision 0)"},"globalTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Global tax code (SDO GLOBAL_TAX_CODE; Optional; precision 0)"},"hasExternalLink":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Has External Link (SDO HAS_EXTERNAL_LINK; Optional; precision 0)"},"incoterms":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Incoterms (SDO INCOTERMS; Optional; precision 0)"},"intrastatStatus":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Intrastat Reconciled Status (SDO INTRASTAT_STATUS; Optional; precision 0)"},"invoiceForeignBalance":{"type":"number","nullable":true,"description":"Foreign Balance (SDO INVOICE_FOREIGN_BALANCE; Optional; precision 6)"},"invoiceNumber":{"type":"string","nullable":true,"maxLength":7,"description":"Corresponding invoice number (SDO INVOICE_NUMBER; Required; precision 0)"},"itemsNet":{"type":"number","nullable":true,"description":"Net amount (goods but not carriage) (SDO ITEMS_NET; Optional; precision 2)"},"itemsTax":{"type":"number","nullable":true,"description":"Tax amount (goods but not carriage) (SDO ITEMS_TAX; Optional; precision 2)"},"lastNetvalueDiscount":{"type":"number","nullable":true,"description":"Last Net Value Discount Amount (SDO LAST_NETVALUE_DISCOUNT; Optional; precision 2)"},"lastUpdated":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date of last update (SDO LAST_UPDATED; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Account Name (SDO NAME; Optional; precision 0)"},"netvalueDescription":{"type":"string","nullable":true,"maxLength":60,"description":"Net Value Discount Description (SDO NETVALUE_DESCRIPTION; Optional; precision 0)"},"netvalueDiscount":{"type":"number","nullable":true,"description":"Net Value Discount Amount (SDO NETVALUE_DISCOUNT; Optional; precision 2)"},"netvalueDiscountPercent":{"type":"number","nullable":true,"description":"Net Value Discount Percentage (SDO NETVALUE_DISCOUNT_PERCENT; Optional; precision 2)"},"notes1":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 1 (SDO NOTES_1; Optional; precision 0)"},"notes2":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 2 (SDO NOTES_2; Optional; precision 0)"},"notes3":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 3 (SDO NOTES_3; Optional; precision 0)"},"orderDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Order Date (SDO ORDER_DATE; Required; precision 0)"},"orderNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Order number (SDO ORDER_NUMBER; Required; precision 0)"},"orderType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Order type code (SDO ORDER_TYPE; Required; precision 0)"},"ossCountryOfVat":{"type":"string","nullable":true,"maxLength":2,"description":"Country of VAT (SDO OSS_COUNTRY_OF_VAT; Optional; precision 0)"},"ossReportingType":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Report type (SDO OSS_REPORTING_TYPE; Optional; precision 0)"},"paymentOssCountryOfVat":{"type":"string","nullable":true,"maxLength":2,"description":"Payment Country of VAT (SDO PAYMENT_OSS_COUNTRY_OF_VAT; Optional; precision 0)"},"paymentOssReportingType":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Payment Report type (SDO PAYMENT_OSS_REPORTING_TYPE; Optional; precision 0)"},"paymentRef":{"type":"string","nullable":true,"maxLength":30,"description":"Payment reference (SDO PAYMENT_REF; Optional; precision 0)"},"paymentTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Payment tax code (SDO PAYMENT_TAX_CODE; Optional; precision 0)"},"paymentType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Payment Type (SR/SA) (SDO PAYMENT_TYPE; Optional; precision 0)"},"practiceSolutionsRefn":{"type":"string","nullable":true,"maxLength":60,"description":"Sage Practice Solutions Reference (SDO PRACTICE_SOLUTIONS_REFN; Optional; precision 0)"},"printedCode":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Printed flag - Yes/No (SDO PRINTED_CODE; Optional; precision 0)"},"quoteExpiry":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Quote Expiry (SDO QUOTE_EXPIRY; Optional; precision 0)"},"quoteStatus":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Quote Status (SDO QUOTE_STATUS; Optional; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"recurringReference":{"type":"string","nullable":true,"maxLength":11,"description":"Recurring Reference (SDO RECURRING_REFERENCE; Optional; precision 0)"},"sendViaEmail":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Sent via TMail - Yes/No (SDO SEND_VIA_EMAIL; Optional; precision 0)"},"settlementDiscRate":{"type":"number","nullable":true,"description":"Settlement discount % rate (SDO SETTLEMENT_DISC_RATE; Optional; precision 2)"},"settlementDueDays":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Settlement days (SDO SETTLEMENT_DUE_DAYS; Optional; precision 0)"},"status":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Order status code (SDO STATUS; Optional; precision 0)"},"takenBy":{"type":"string","nullable":true,"maxLength":60,"description":"Order taken by (SDO TAKEN_BY; Optional; precision 0)"},"totalBytes":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO TOTAL_BYTES; Optional; precision 0)"},"unallocatedNetvalueDiscount":{"type":"number","nullable":true,"description":"Unallocated Net Value Discount Amount (SDO UNALLOCATED_NETVALUE_DISCOUNT; Optional; precision 2)"},"vatRegNumber":{"type":"string","nullable":true,"maxLength":20,"description":"VAT Number (SDO VAT_REG_NUMBER; Optional; precision 0)"},"id":{"type":"string"},"lines":{"type":"array","items":{"type":"object","properties":{"addDiscRate":{"type":"number","nullable":true,"description":"Additional discount percentage rate (SDO ADD_DISC_RATE; Optional; precision 2)"},"baseFullNet":{"type":"number","nullable":true,"description":"Full net value in Base Currency (SDO BASE_FULL_NET; Optional; precision 2)"},"baseNet":{"type":"number","nullable":true,"description":"Net value in Base Currency (SDO BASE_NET; Optional; precision 2)"},"baseNetvalueDiscount":{"type":"number","nullable":true,"description":"Net Value Discount Amount in Base Currency (SDO BASE_NETVALUE_DISCOUNT; Optional; precision 2)"},"baseTax":{"type":"number","nullable":true,"description":"Tax value in Base Currency (SDO BASE_TAX; Optional; precision 2)"},"comment1":{"type":"string","nullable":true,"maxLength":60,"description":"Comment 1 (SDO COMMENT_1; Optional; precision 0)"},"comment2":{"type":"string","nullable":true,"maxLength":60,"description":"Comment 2 (SDO COMMENT_2; Optional; precision 0)"},"costCodeId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Project Cost Code ID (SDO COST_CODE_ID; Optional; precision 0)"},"deliveryDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Delivery date (SDO DELIVERY_DATE; Optional; precision 0)"},"deptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Department number (SDO DEPT_NUMBER; Optional; precision 0)"},"description":{"type":"string","nullable":true,"maxLength":120,"description":"Description (SDO DESCRIPTION; Optional; precision 0)"},"discountAmount":{"type":"number","nullable":true,"description":"Discount amount (SDO DISCOUNT_AMOUNT; Optional; precision 2)"},"discountRate":{"type":"number","nullable":true,"description":"Discount percentage rate (SDO DISCOUNT_RATE; Optional; precision 2)"},"dueDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Due Date (SDO DUE_DATE; Optional; precision 0)"},"extOrderLineRef":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"External Line Reference for SOP to INV link (SDO EXT_ORDER_LINE_REF; Optional; precision 0)"},"extOrderRef":{"type":"string","nullable":true,"maxLength":30,"description":"External Reference for SOP to INV link (SDO EXT_ORDER_REF; Optional; precision 0)"},"fullNetAmount":{"type":"number","nullable":true,"description":"Full net amount (before discount) (SDO FULL_NET_AMOUNT; Optional; precision 2)"},"fundNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Fund number (SDO FUND_NUMBER; Optional; precision 0)"},"invoiceNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Invoice Number (SDO INVOICE_NUMBER; Optional; precision 0)"},"itemNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Item Number (SDO ITEM_NUMBER; Optional; precision 0)"},"itemid":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Unique ID (SDO ITEMID; Optional; precision 0)"},"jobReference":{"type":"string","nullable":true,"maxLength":60,"description":"Job Reference (SDO JOB_REFERENCE; Optional; precision 0)"},"netAmount":{"type":"number","nullable":true,"description":"Net amount (after discount) (SDO NET_AMOUNT; Optional; precision 2)"},"netvalueDiscount":{"type":"number","nullable":true,"description":"Net Value Discount Amount (SDO NETVALUE_DISCOUNT; Optional; precision 2)"},"netvalueDiscountAllocated":{"type":"number","nullable":true,"description":"Negotiation Discount allocated on a sop (in foreign) (SDO NETVALUE_DISCOUNT_ALLOCATED; Optional; precision 2)"},"nextItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO NEXT_ITEM; Optional; precision 0)"},"nominalCode":{"type":"string","nullable":true,"maxLength":8,"description":"Nominal code (SDO NOMINAL_CODE; Optional; precision 0)"},"offset":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Offset of Service Text (SDO OFFSET; Optional; precision 0)"},"prevItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO PREV_ITEM; Optional; precision 0)"},"projectId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Project ID (SDO PROJECT_ID; Optional; precision 0)"},"qtyAllocated":{"type":"number","nullable":true,"description":"Quantity allocated for this order (SDO QTY_ALLOCATED; Optional; precision 102)"},"qtyDelivered":{"type":"number","nullable":true,"description":"Quantity previously delivered for this order (SDO QTY_DELIVERED; Optional; precision 102)"},"qtyDespatch":{"type":"number","nullable":true,"description":"Quantity to despatch/despatched on this delivery (SDO QTY_DESPATCH; Optional; precision 102)"},"qtyIntrastatConfirmed":{"type":"number","nullable":true,"description":"Quantity Intrastat Confirmed (SDO QTY_INTRASTAT_CONFIRMED; Optional; precision 102)"},"qtyOrder":{"type":"number","nullable":true,"description":"Quantity ordered (SDO QTY_ORDER; Optional; precision 102)"},"serviceFile":{"type":"string","nullable":true,"maxLength":120,"description":"Redundant - Do not use (SDO SERVICE_FILE; Optional; precision 0)"},"serviceFileSize":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Redundant - Do not use (SDO SERVICE_FILE_SIZE; Optional; precision 0)"},"serviceFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Item Type Flag (SDO SERVICE_FLAG; Optional; precision 0)"},"serviceItemLines":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Redundant - Do not use (SDO SERVICE_ITEM_LINES; Optional; precision 0)"},"stockCode":{"type":"string","nullable":true,"maxLength":30,"description":"Stock code (SDO STOCK_CODE; Required; precision 0)"},"taxAmount":{"type":"number","nullable":true,"description":"Tax amount (SDO TAX_AMOUNT; Optional; precision 2)"},"taxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax code (SDO TAX_CODE; Optional; precision 0)"},"taxFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":" (SDO TAX_FLAG; Optional; precision 0)"},"taxRate":{"type":"number","nullable":true,"description":"Tax rate (SDO TAX_RATE; Optional; precision 2)"},"text":{"type":"string","nullable":true,"maxLength":120,"description":"Service invoice/credit text (SDO TEXT; Optional; precision 0)"},"unitOfSale":{"type":"string","nullable":true,"maxLength":8,"description":"Unit of sale (SDO UNIT_OF_SALE; Optional; precision 0)"},"unitPrice":{"type":"number","nullable":true,"description":"Unit price (SDO UNIT_PRICE; Optional; precision 101)"}},"required":["addDiscRate","baseFullNet","baseNet","baseNetvalueDiscount","baseTax","comment1","comment2","costCodeId","deliveryDate","deptNumber","description","discountAmount","discountRate","dueDate","extOrderLineRef","extOrderRef","fullNetAmount","fundNumber","invoiceNumber","itemNumber","itemid","jobReference","netAmount","netvalueDiscount","netvalueDiscountAllocated","nextItem","nominalCode","offset","prevItem","projectId","qtyAllocated","qtyDelivered","qtyDespatch","qtyIntrastatConfirmed","qtyOrder","serviceFile","serviceFileSize","serviceFlag","serviceItemLines","stockCode","taxAmount","taxCode","taxFlag","taxRate","text","unitOfSale","unitPrice"],"additionalProperties":false}}},"required":["accountRef","address1","address2","address3","address4","address5","amountPrepaid","analysis1","analysis2","analysis3","bankCode","baseAmountPaid","baseCarrNet","baseCarrTax","baseNetvalueDiscount","baseSettDiscRate","baseTotNet","baseTotTax","carrDeptNumber","carrNet","carrNomCode","carrTax","carrTaxCode","consignmentRef","contactName","countryCode","courier","currency","currencyUsed","custDiscRate","custOrderNumber","custTelNumber","defTaxCode","delAddress1","delAddress2","delAddress3","delAddress4","delAddress5","deletedFlag","deliveryAddressRefn","deliveryName","despatchDate","discountComment1","discountComment2","discountType","dunsNumber","emailed","eoriNumber","euroGross","euroRate","externalUsage","firstItem","foreignGross","foreignRate","gdnNumber","globalDeptNumber","globalDetails","globalNomCode","globalTaxCode","hasExternalLink","incoterms","intrastatStatus","invoiceForeignBalance","invoiceNumber","itemsNet","itemsTax","lastNetvalueDiscount","lastUpdated","name","netvalueDescription","netvalueDiscount","netvalueDiscountPercent","notes1","notes2","notes3","orderDate","orderNumber","orderType","ossCountryOfVat","ossReportingType","paymentOssCountryOfVat","paymentOssReportingType","paymentRef","paymentTaxCode","paymentType","practiceSolutionsRefn","printedCode","quoteExpiry","quoteStatus","recordCreateDate","recordDeleted","recordModifyDate","recurringReference","sendViaEmail","settlementDiscRate","settlementDueDays","status","takenBy","totalBytes","unallocatedNetvalueDiscount","vatRegNumber","id","lines"],"additionalProperties":false},"Uk34_1_sales_orders_get":{"type":"object","properties":{"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Account reference (SDO ACCOUNT_REF; Required; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Address line 5 (SDO ADDRESS_5; Optional; precision 0)"},"amountPrepaid":{"type":"number","nullable":true,"description":"Amount prepaid (SDO AMOUNT_PREPAID; Optional; precision 2)"},"analysis1":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"bankCode":{"type":"string","nullable":true,"maxLength":8,"description":"Bank posting code (SDO BANK_CODE; Optional; precision 0)"},"baseAmountPaid":{"type":"number","nullable":true,"description":"Base Amount prepaid (SDO BASE_AMOUNT_PAID; Optional; precision 2)"},"baseCarrNet":{"type":"number","nullable":true,"description":"Base Carriage net amount (SDO BASE_CARR_NET; Optional; precision 2)"},"baseCarrTax":{"type":"number","nullable":true,"description":"Base Carriage tax amount (SDO BASE_CARR_TAX; Optional; precision 2)"},"baseNetvalueDiscount":{"type":"number","nullable":true,"description":"Net Value Discount Amount in Base Currency (SDO BASE_NETVALUE_DISCOUNT; Optional; precision 2)"},"baseSettDiscRate":{"type":"number","nullable":true,"description":"Base Settlement discount % rate (SDO BASE_SETT_DISC_RATE; Optional; precision 2)"},"baseTotNet":{"type":"number","nullable":true,"description":"Base Net amount (goods but not carriage) (SDO BASE_TOT_NET; Optional; precision 2)"},"baseTotTax":{"type":"number","nullable":true,"description":"Base Tax amount (goods but not carriage) (SDO BASE_TOT_TAX; Optional; precision 2)"},"carrDeptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Carriage department number (SDO CARR_DEPT_NUMBER; Optional; precision 0)"},"carrNet":{"type":"number","nullable":true,"description":"Carriage net amount (SDO CARR_NET; Optional; precision 2)"},"carrNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Carriage nominal code (SDO CARR_NOM_CODE; Optional; precision 0)"},"carrTax":{"type":"number","nullable":true,"description":"Carriage tax amount (SDO CARR_TAX; Optional; precision 2)"},"carrTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Carriage tax code (SDO CARR_TAX_CODE; Optional; precision 0)"},"consignmentRef":{"type":"string","nullable":true,"maxLength":30,"description":"Consignment Reference (SDO CONSIGNMENT_REF; Optional; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Customer Contact name (SDO CONTACT_NAME; Optional; precision 0)"},"countryCode":{"type":"string","nullable":true,"maxLength":2,"description":"Customer Country code (SDO COUNTRY_CODE; Optional; precision 0)"},"courier":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Courier Number (SDO COURIER; Optional; precision 0)"},"currency":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency (SDO CURRENCY; Optional; precision 0)"},"currencyUsed":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency Used (SDO CURRENCY_USED; Optional; precision 0)"},"custDiscRate":{"type":"number","nullable":true,"description":"Customer Discount (SDO CUST_DISC_RATE; Optional; precision 2)"},"custOrderNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Customer's order number (SDO CUST_ORDER_NUMBER; Optional; precision 0)"},"custTelNumber":{"type":"string","nullable":true,"maxLength":30,"description":"Customer's telephone number (SDO CUST_TEL_NUMBER; Optional; precision 0)"},"defTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Default tax code (SDO DEF_TAX_CODE; Optional; precision 0)"},"delAddress1":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 1 (SDO DEL_ADDRESS_1; Optional; precision 0)"},"delAddress2":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 2 (SDO DEL_ADDRESS_2; Optional; precision 0)"},"delAddress3":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 3 (SDO DEL_ADDRESS_3; Optional; precision 0)"},"delAddress4":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 4 (SDO DEL_ADDRESS_4; Optional; precision 0)"},"delAddress5":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 5 (SDO DEL_ADDRESS_5; Optional; precision 0)"},"deletedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Is Deleted (SDO DELETED_FLAG; Optional; precision 0)"},"deliveryAddressRefn":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Delivery address record number (SDO DELIVERY_ADDRESS_REFN; Optional; precision 0)"},"deliveryName":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address name (SDO DELIVERY_NAME; Optional; precision 0)"},"despatchDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Despatch date (SDO DESPATCH_DATE; Optional; precision 0)"},"discountComment1":{"type":"string","nullable":true,"maxLength":60,"description":"Discount Commment 1 (SDO DISCOUNT_COMMENT1; Optional; precision 0)"},"discountComment2":{"type":"string","nullable":true,"maxLength":60,"description":"Discount Commment 2 (SDO DISCOUNT_COMMENT2; Optional; precision 0)"},"discountType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Discount Type (SDO DISCOUNT_TYPE; Optional; precision 0)"},"dunsNumber":{"type":"string","nullable":true,"maxLength":9,"description":"DUNS credit Reference Number (SDO DUNS_NUMBER; Optional; precision 0)"},"emailed":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Emailed flag - Yes/No (SDO EMAILED; Optional; precision 0)"},"eoriNumber":{"type":"string","nullable":true,"maxLength":17,"description":"Delivery address EORI Number (SDO EORI_NUMBER; Optional; precision 0)"},"euroGross":{"type":"number","nullable":true,"description":"euro Gross Amount (SDO EURO_GROSS; Optional; precision 6)"},"euroRate":{"type":"number","nullable":true,"description":"euro Rate (SDO EURO_RATE; Optional; precision 6)"},"externalUsage":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Number of External Usages (SDO EXTERNAL_USAGE; Optional; precision 0)"},"firstItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO FIRST_ITEM; Optional; precision 0)"},"foreignGross":{"type":"number","nullable":true,"description":"Foreign Gross Amount (SDO FOREIGN_GROSS; Optional; precision 6)"},"foreignRate":{"type":"number","nullable":true,"description":"Foreign Rate for euro currency (SDO FOREIGN_RATE; Optional; precision 6)"},"gdnNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"GDN Reference (SDO GDN_NUMBER; Optional; precision 0)"},"globalDeptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Global department number (SDO GLOBAL_DEPT_NUMBER; Optional; precision 0)"},"globalDetails":{"type":"string","nullable":true,"maxLength":60,"description":"Global details (SDO GLOBAL_DETAILS; Optional; precision 0)"},"globalNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Global nominal code (SDO GLOBAL_NOM_CODE; Optional; precision 0)"},"globalTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Global tax code (SDO GLOBAL_TAX_CODE; Optional; precision 0)"},"hasExternalLink":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Has External Link (SDO HAS_EXTERNAL_LINK; Optional; precision 0)"},"incoterms":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Incoterms (SDO INCOTERMS; Optional; precision 0)"},"intrastatStatus":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Intrastat Reconciled Status (SDO INTRASTAT_STATUS; Optional; precision 0)"},"invoiceForeignBalance":{"type":"number","nullable":true,"description":"Foreign Balance (SDO INVOICE_FOREIGN_BALANCE; Optional; precision 6)"},"invoiceNumber":{"type":"string","nullable":true,"maxLength":7,"description":"Corresponding invoice number (SDO INVOICE_NUMBER; Required; precision 0)"},"itemsNet":{"type":"number","nullable":true,"description":"Net amount (goods but not carriage) (SDO ITEMS_NET; Optional; precision 2)"},"itemsTax":{"type":"number","nullable":true,"description":"Tax amount (goods but not carriage) (SDO ITEMS_TAX; Optional; precision 2)"},"lastNetvalueDiscount":{"type":"number","nullable":true,"description":"Last Net Value Discount Amount (SDO LAST_NETVALUE_DISCOUNT; Optional; precision 2)"},"lastUpdated":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date of last update (SDO LAST_UPDATED; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Customer Account Name (SDO NAME; Optional; precision 0)"},"netvalueDescription":{"type":"string","nullable":true,"maxLength":60,"description":"Net Value Discount Description (SDO NETVALUE_DESCRIPTION; Optional; precision 0)"},"netvalueDiscount":{"type":"number","nullable":true,"description":"Net Value Discount Amount (SDO NETVALUE_DISCOUNT; Optional; precision 2)"},"netvalueDiscountPercent":{"type":"number","nullable":true,"description":"Net Value Discount Percentage (SDO NETVALUE_DISCOUNT_PERCENT; Optional; precision 2)"},"notes1":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 1 (SDO NOTES_1; Optional; precision 0)"},"notes2":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 2 (SDO NOTES_2; Optional; precision 0)"},"notes3":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 3 (SDO NOTES_3; Optional; precision 0)"},"orderDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Order Date (SDO ORDER_DATE; Required; precision 0)"},"orderNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Order number (SDO ORDER_NUMBER; Required; precision 0)"},"orderType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Order type code (SDO ORDER_TYPE; Required; precision 0)"},"ossCountryOfVat":{"type":"string","nullable":true,"maxLength":2,"description":"Country of VAT (SDO OSS_COUNTRY_OF_VAT; Optional; precision 0)"},"ossReportingType":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Report type (SDO OSS_REPORTING_TYPE; Optional; precision 0)"},"paymentOssCountryOfVat":{"type":"string","nullable":true,"maxLength":2,"description":"Payment Country of VAT (SDO PAYMENT_OSS_COUNTRY_OF_VAT; Optional; precision 0)"},"paymentOssReportingType":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Payment Report type (SDO PAYMENT_OSS_REPORTING_TYPE; Optional; precision 0)"},"paymentRef":{"type":"string","nullable":true,"maxLength":30,"description":"Payment reference (SDO PAYMENT_REF; Optional; precision 0)"},"paymentTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Payment tax code (SDO PAYMENT_TAX_CODE; Optional; precision 0)"},"paymentType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Payment Type (SR/SA) (SDO PAYMENT_TYPE; Optional; precision 0)"},"practiceSolutionsRefn":{"type":"string","nullable":true,"maxLength":60,"description":"Sage Practice Solutions Reference (SDO PRACTICE_SOLUTIONS_REFN; Optional; precision 0)"},"printedCode":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Printed flag - Yes/No (SDO PRINTED_CODE; Optional; precision 0)"},"quoteExpiry":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Quote Expiry (SDO QUOTE_EXPIRY; Optional; precision 0)"},"quoteStatus":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Quote Status (SDO QUOTE_STATUS; Optional; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"recurringReference":{"type":"string","nullable":true,"maxLength":11,"description":"Recurring Reference (SDO RECURRING_REFERENCE; Optional; precision 0)"},"sendViaEmail":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Sent via TMail - Yes/No (SDO SEND_VIA_EMAIL; Optional; precision 0)"},"settlementDiscRate":{"type":"number","nullable":true,"description":"Settlement discount % rate (SDO SETTLEMENT_DISC_RATE; Optional; precision 2)"},"settlementDueDays":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Settlement days (SDO SETTLEMENT_DUE_DAYS; Optional; precision 0)"},"status":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Order status code (SDO STATUS; Optional; precision 0)"},"takenBy":{"type":"string","nullable":true,"maxLength":60,"description":"Order taken by (SDO TAKEN_BY; Optional; precision 0)"},"totalBytes":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO TOTAL_BYTES; Optional; precision 0)"},"unallocatedNetvalueDiscount":{"type":"number","nullable":true,"description":"Unallocated Net Value Discount Amount (SDO UNALLOCATED_NETVALUE_DISCOUNT; Optional; precision 2)"},"vatRegNumber":{"type":"string","nullable":true,"maxLength":20,"description":"VAT Number (SDO VAT_REG_NUMBER; Optional; precision 0)"},"id":{"type":"string"},"lines":{"type":"array","items":{"type":"object","properties":{"addDiscRate":{"type":"number","nullable":true,"description":"Additional discount percentage rate (SDO ADD_DISC_RATE; Optional; precision 2)"},"baseFullNet":{"type":"number","nullable":true,"description":"Full net value in Base Currency (SDO BASE_FULL_NET; Optional; precision 2)"},"baseNet":{"type":"number","nullable":true,"description":"Net value in Base Currency (SDO BASE_NET; Optional; precision 2)"},"baseNetvalueDiscount":{"type":"number","nullable":true,"description":"Net Value Discount Amount in Base Currency (SDO BASE_NETVALUE_DISCOUNT; Optional; precision 2)"},"baseTax":{"type":"number","nullable":true,"description":"Tax value in Base Currency (SDO BASE_TAX; Optional; precision 2)"},"comment1":{"type":"string","nullable":true,"maxLength":60,"description":"Comment 1 (SDO COMMENT_1; Optional; precision 0)"},"comment2":{"type":"string","nullable":true,"maxLength":60,"description":"Comment 2 (SDO COMMENT_2; Optional; precision 0)"},"costCodeId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Project Cost Code ID (SDO COST_CODE_ID; Optional; precision 0)"},"deliveryDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Delivery date (SDO DELIVERY_DATE; Optional; precision 0)"},"deptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Department number (SDO DEPT_NUMBER; Optional; precision 0)"},"description":{"type":"string","nullable":true,"maxLength":120,"description":"Description (SDO DESCRIPTION; Optional; precision 0)"},"discountAmount":{"type":"number","nullable":true,"description":"Discount amount (SDO DISCOUNT_AMOUNT; Optional; precision 2)"},"discountRate":{"type":"number","nullable":true,"description":"Discount percentage rate (SDO DISCOUNT_RATE; Optional; precision 2)"},"dueDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Due Date (SDO DUE_DATE; Optional; precision 0)"},"extOrderLineRef":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"External Line Reference for SOP to INV link (SDO EXT_ORDER_LINE_REF; Optional; precision 0)"},"extOrderRef":{"type":"string","nullable":true,"maxLength":30,"description":"External Reference for SOP to INV link (SDO EXT_ORDER_REF; Optional; precision 0)"},"fullNetAmount":{"type":"number","nullable":true,"description":"Full net amount (before discount) (SDO FULL_NET_AMOUNT; Optional; precision 2)"},"fundNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Fund number (SDO FUND_NUMBER; Optional; precision 0)"},"invoiceNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Invoice Number (SDO INVOICE_NUMBER; Optional; precision 0)"},"itemNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Item Number (SDO ITEM_NUMBER; Optional; precision 0)"},"itemid":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Unique ID (SDO ITEMID; Optional; precision 0)"},"jobReference":{"type":"string","nullable":true,"maxLength":60,"description":"Job Reference (SDO JOB_REFERENCE; Optional; precision 0)"},"netAmount":{"type":"number","nullable":true,"description":"Net amount (after discount) (SDO NET_AMOUNT; Optional; precision 2)"},"netvalueDiscount":{"type":"number","nullable":true,"description":"Net Value Discount Amount (SDO NETVALUE_DISCOUNT; Optional; precision 2)"},"netvalueDiscountAllocated":{"type":"number","nullable":true,"description":"Negotiation Discount allocated on a sop (in foreign) (SDO NETVALUE_DISCOUNT_ALLOCATED; Optional; precision 2)"},"nextItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO NEXT_ITEM; Optional; precision 0)"},"nominalCode":{"type":"string","nullable":true,"maxLength":8,"description":"Nominal code (SDO NOMINAL_CODE; Optional; precision 0)"},"offset":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Offset of Service Text (SDO OFFSET; Optional; precision 0)"},"prevItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO PREV_ITEM; Optional; precision 0)"},"projectId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Project ID (SDO PROJECT_ID; Optional; precision 0)"},"qtyAllocated":{"type":"number","nullable":true,"description":"Quantity allocated for this order (SDO QTY_ALLOCATED; Optional; precision 102)"},"qtyDelivered":{"type":"number","nullable":true,"description":"Quantity previously delivered for this order (SDO QTY_DELIVERED; Optional; precision 102)"},"qtyDespatch":{"type":"number","nullable":true,"description":"Quantity to despatch/despatched on this delivery (SDO QTY_DESPATCH; Optional; precision 102)"},"qtyIntrastatConfirmed":{"type":"number","nullable":true,"description":"Quantity Intrastat Confirmed (SDO QTY_INTRASTAT_CONFIRMED; Optional; precision 102)"},"qtyOrder":{"type":"number","nullable":true,"description":"Quantity ordered (SDO QTY_ORDER; Optional; precision 102)"},"serviceFile":{"type":"string","nullable":true,"maxLength":120,"description":"Redundant - Do not use (SDO SERVICE_FILE; Optional; precision 0)"},"serviceFileSize":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Redundant - Do not use (SDO SERVICE_FILE_SIZE; Optional; precision 0)"},"serviceFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Item Type Flag (SDO SERVICE_FLAG; Optional; precision 0)"},"serviceItemLines":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Redundant - Do not use (SDO SERVICE_ITEM_LINES; Optional; precision 0)"},"stockCode":{"type":"string","nullable":true,"maxLength":30,"description":"Stock code (SDO STOCK_CODE; Required; precision 0)"},"taxAmount":{"type":"number","nullable":true,"description":"Tax amount (SDO TAX_AMOUNT; Optional; precision 2)"},"taxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax code (SDO TAX_CODE; Optional; precision 0)"},"taxFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":" (SDO TAX_FLAG; Optional; precision 0)"},"taxRate":{"type":"number","nullable":true,"description":"Tax rate (SDO TAX_RATE; Optional; precision 2)"},"text":{"type":"string","nullable":true,"maxLength":120,"description":"Service invoice/credit text (SDO TEXT; Optional; precision 0)"},"unitOfSale":{"type":"string","nullable":true,"maxLength":8,"description":"Unit of sale (SDO UNIT_OF_SALE; Optional; precision 0)"},"unitPrice":{"type":"number","nullable":true,"description":"Unit price (SDO UNIT_PRICE; Optional; precision 101)"}},"required":["addDiscRate","baseFullNet","baseNet","baseNetvalueDiscount","baseTax","comment1","comment2","costCodeId","deliveryDate","deptNumber","description","discountAmount","discountRate","dueDate","extOrderLineRef","extOrderRef","fullNetAmount","fundNumber","invoiceNumber","itemNumber","itemid","jobReference","netAmount","netvalueDiscount","netvalueDiscountAllocated","nextItem","nominalCode","offset","prevItem","projectId","qtyAllocated","qtyDelivered","qtyDespatch","qtyIntrastatConfirmed","qtyOrder","serviceFile","serviceFileSize","serviceFlag","serviceItemLines","stockCode","taxAmount","taxCode","taxFlag","taxRate","text","unitOfSale","unitPrice"],"additionalProperties":false}}},"required":["accountRef","address1","address2","address3","address4","address5","amountPrepaid","analysis1","analysis2","analysis3","bankCode","baseAmountPaid","baseCarrNet","baseCarrTax","baseNetvalueDiscount","baseSettDiscRate","baseTotNet","baseTotTax","carrDeptNumber","carrNet","carrNomCode","carrTax","carrTaxCode","consignmentRef","contactName","countryCode","courier","currency","currencyUsed","custDiscRate","custOrderNumber","custTelNumber","defTaxCode","delAddress1","delAddress2","delAddress3","delAddress4","delAddress5","deletedFlag","deliveryAddressRefn","deliveryName","despatchDate","discountComment1","discountComment2","discountType","dunsNumber","emailed","eoriNumber","euroGross","euroRate","externalUsage","firstItem","foreignGross","foreignRate","gdnNumber","globalDeptNumber","globalDetails","globalNomCode","globalTaxCode","hasExternalLink","incoterms","intrastatStatus","invoiceForeignBalance","invoiceNumber","itemsNet","itemsTax","lastNetvalueDiscount","lastUpdated","name","netvalueDescription","netvalueDiscount","netvalueDiscountPercent","notes1","notes2","notes3","orderDate","orderNumber","orderType","ossCountryOfVat","ossReportingType","paymentOssCountryOfVat","paymentOssReportingType","paymentRef","paymentTaxCode","paymentType","practiceSolutionsRefn","printedCode","quoteExpiry","quoteStatus","recordCreateDate","recordDeleted","recordModifyDate","recurringReference","sendViaEmail","settlementDiscRate","settlementDueDays","status","takenBy","totalBytes","unallocatedNetvalueDiscount","vatRegNumber","id","lines"],"additionalProperties":false},"Us2026_1_sales_orders_get":{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"amount":{"type":"number"},"date":{"type":"string"},"isPosted":{"type":"boolean"},"lastSavedAt":{"type":"string"},"referenceNumber":{"type":"string","nullable":true,"maxLength":100000},"customerNote":{"type":"string","nullable":true,"maxLength":100000},"customerPurchaseOrderNumber":{"type":"string","nullable":true,"maxLength":100000},"customerReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"discountAmount":{"type":"number"},"discountDate":{"type":"string","nullable":true},"freightAccountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"freightAmount":{"type":"number"},"internalNote":{"type":"string","nullable":true,"maxLength":100000},"isClosed":{"type":"boolean"},"isDropShip":{"type":"boolean"},"printCustomerNoteAfterLineItems":{"type":"boolean"},"salesOrderLines":{"type":"array","nullable":true,"items":{"type":"object","nullable":true,"properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"amount":{"type":"number"},"description":{"type":"string","nullable":true,"maxLength":100000},"isUsed":{"type":"boolean"},"inventoryItemReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"jobReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"parentTransactionReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"quantity":{"type":"number"},"quantityShipped":{"type":"number"},"salesTaxType":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"unitPrice":{"type":"number"},"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"maxItems":10000},"salesRepresentativeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"salesTaxAmount":{"type":"number"},"salesTaxCodeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"shipByDate":{"type":"string","nullable":true},"shipDate":{"type":"string","nullable":true},"shipToAddress":{"type":"object","nullable":true,"properties":{"address":{"type":"object","nullable":true,"properties":{"address1":{"type":"string","nullable":true,"maxLength":100000},"address2":{"type":"string","nullable":true,"maxLength":100000},"city":{"type":"string","nullable":true,"maxLength":100000},"country":{"type":"string","nullable":true,"maxLength":100000},"salesTaxCode":{"type":"string","nullable":true,"maxLength":100000},"state":{"type":"string","nullable":true,"maxLength":100000},"zip":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"name":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"shipVia":{"type":"string","nullable":true,"maxLength":100000},"statementNote":{"type":"string","nullable":true,"maxLength":100000},"termsDescription":{"type":"string","nullable":true,"maxLength":100000},"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"Us2026_1_sales_orders_create":{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"referenceNumber":{"type":"string","minLength":1,"maxLength":100000},"customerNote":{"type":"string","nullable":true,"maxLength":100000},"customerPurchaseOrderNumber":{"type":"string","nullable":true,"maxLength":100000},"customerReference":{"type":"object","properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"discountAmount":{"type":"number"},"discountDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"freightAccountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"freightAmount":{"type":"number"},"internalNote":{"type":"string","nullable":true,"maxLength":100000},"isClosed":{"type":"boolean"},"isDropShip":{"type":"boolean"},"printCustomerNoteAfterLineItems":{"type":"boolean"},"salesRepresentativeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"salesTaxCodeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"shipByDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"shipDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"shipVia":{"type":"string","nullable":true,"maxLength":100000},"statementNote":{"type":"string","nullable":true,"maxLength":100000},"termsDescription":{"type":"string","nullable":true,"maxLength":100000},"lines":{"type":"array","items":{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"amount":{"type":"number"},"description":{"type":"string","nullable":true,"maxLength":100000},"inventoryItemReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"jobReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"quantity":{"type":"number"},"salesTaxType":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"unitPrice":{"type":"number"}},"additionalProperties":false},"minItems":1,"maxItems":1000}},"required":["date","referenceNumber","customerReference","lines"],"additionalProperties":false},"Us2026_1_sales_orders_update":{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"referenceNumber":{"type":"string","nullable":true,"maxLength":100000},"customerNote":{"type":"string","nullable":true,"maxLength":100000},"customerPurchaseOrderNumber":{"type":"string","nullable":true,"maxLength":100000},"customerReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"discountAmount":{"type":"number"},"discountDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"freightAccountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"freightAmount":{"type":"number"},"internalNote":{"type":"string","nullable":true,"maxLength":100000},"isClosed":{"type":"boolean"},"isDropShip":{"type":"boolean"},"printCustomerNoteAfterLineItems":{"type":"boolean"},"salesRepresentativeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"salesTaxCodeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"shipByDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"shipDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"shipVia":{"type":"string","nullable":true,"maxLength":100000},"statementNote":{"type":"string","nullable":true,"maxLength":100000},"termsDescription":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false,"minProperties":1},"Uk26_3_purchase_orders_get":{"type":"object","properties":{"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Account reference (SDO ACCOUNT_REF; Required; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Supplier Address line 1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Supplier Address line 2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Supplier Address line 3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Supplier Address line 4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Supplier Address line 5 (SDO ADDRESS_5; Optional; precision 0)"},"amountPrepaid":{"type":"number","nullable":true,"description":"Amount prepaid (SDO AMOUNT_PREPAID; Optional; precision 2)"},"analysis1":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"baseAmountPaid":{"type":"number","nullable":true,"description":"Base Amount prepaid (SDO BASE_AMOUNT_PAID; Optional; precision 2)"},"baseCarrNet":{"type":"number","nullable":true,"description":"Base Carriage net amount (SDO BASE_CARR_NET; Optional; precision 2)"},"baseCarrTax":{"type":"number","nullable":true,"description":"Base Carriage tax amount (SDO BASE_CARR_TAX; Optional; precision 2)"},"baseSettDiscRate":{"type":"number","nullable":true,"description":"Base Settlement discount % rate (SDO BASE_SETT_DISC_RATE; Optional; precision 2)"},"baseTotNet":{"type":"number","nullable":true,"description":"Base Net amount (goods but not carriage) (SDO BASE_TOT_NET; Optional; precision 2)"},"baseTotTax":{"type":"number","nullable":true,"description":"Base Tax amount (goods but not carriage) (SDO BASE_TOT_TAX; Optional; precision 2)"},"carrDeptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Carriage department number (SDO CARR_DEPT_NUMBER; Optional; precision 0)"},"carrNet":{"type":"number","nullable":true,"description":"Carriage net amount (SDO CARR_NET; Optional; precision 2)"},"carrNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Carriage nominal code (SDO CARR_NOM_CODE; Optional; precision 0)"},"carrTax":{"type":"number","nullable":true,"description":"Carriage tax amount (SDO CARR_TAX; Optional; precision 2)"},"carrTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Carriage tax code (SDO CARR_TAX_CODE; Optional; precision 0)"},"consignmentRef":{"type":"string","nullable":true,"maxLength":30,"description":"Consignment Reference (SDO CONSIGNMENT_REF; Optional; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Supplier Contact name (SDO CONTACT_NAME; Optional; precision 0)"},"costCodeId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Global Project Cost Code ID (SDO COST_CODE_ID; Optional; precision 0)"},"countryCode":{"type":"string","nullable":true,"maxLength":2,"description":"Supplier Country code (SDO COUNTRY_CODE; Optional; precision 0)"},"courier":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Courier Number (SDO COURIER; Optional; precision 0)"},"currency":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency (SDO CURRENCY; Optional; precision 0)"},"currencyUsed":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency Used (SDO CURRENCY_USED; Optional; precision 0)"},"delAddress1":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 1 (SDO DEL_ADDRESS_1; Optional; precision 0)"},"delAddress2":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 2 (SDO DEL_ADDRESS_2; Optional; precision 0)"},"delAddress3":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 3 (SDO DEL_ADDRESS_3; Optional; precision 0)"},"delAddress4":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 4 (SDO DEL_ADDRESS_4; Optional; precision 0)"},"delAddress5":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 5 (SDO DEL_ADDRESS_5; Optional; precision 0)"},"deletedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Is Deleted (SDO DELETED_FLAG; Optional; precision 0)"},"deliveryDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Delivery date (SDO DELIVERY_DATE; Optional; precision 0)"},"deliveryName":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address name (SDO DELIVERY_NAME; Optional; precision 0)"},"discountType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Discount Type (SDO DISCOUNT_TYPE; Optional; precision 0)"},"dueDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Due Date (SDO DUE_DATE; Optional; precision 0)"},"emailed":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Emailed flag - Yes/No (SDO EMAILED; Optional; precision 0)"},"euroGross":{"type":"number","nullable":true,"description":"euro Gross Amount (SDO EURO_GROSS; Optional; precision 6)"},"euroRate":{"type":"number","nullable":true,"description":"euro Rate (SDO EURO_RATE; Optional; precision 6)"},"externalUsage":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Number of External Usages (SDO EXTERNAL_USAGE; Optional; precision 0)"},"firstItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO FIRST_ITEM; Optional; precision 0)"},"foreignGross":{"type":"number","nullable":true,"description":"Foreign Gross Amount (SDO FOREIGN_GROSS; Optional; precision 6)"},"foreignRate":{"type":"number","nullable":true,"description":"Foreign Rate for euro currency (SDO FOREIGN_RATE; Optional; precision 6)"},"gdnNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"GDN Reference (SDO GDN_NUMBER; Optional; precision 0)"},"globalDeptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Global department number (SDO GLOBAL_DEPT_NUMBER; Optional; precision 0)"},"hasExternalLink":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Has External Link (SDO HAS_EXTERNAL_LINK; Optional; precision 0)"},"intrastatStatus":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Intrastat Reconciled Status (SDO INTRASTAT_STATUS; Optional; precision 0)"},"invoiceForeignBalance":{"type":"number","nullable":true,"description":"Foreign Balance (SDO INVOICE_FOREIGN_BALANCE; Optional; precision 6)"},"invoiceNumber":{"type":"string","nullable":true,"maxLength":7,"description":"Corresponding invoice number (SDO INVOICE_NUMBER; Required; precision 0)"},"itemsNet":{"type":"number","nullable":true,"description":"Net amount (goods but not carriage) (SDO ITEMS_NET; Optional; precision 2)"},"itemsTax":{"type":"number","nullable":true,"description":"Tax amount (goods but not carriage) (SDO ITEMS_TAX; Optional; precision 2)"},"lastUpdated":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date of last update (SDO LAST_UPDATED; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Supplier Account Name (SDO NAME; Optional; precision 0)"},"notes1":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 1 (SDO NOTES_1; Optional; precision 0)"},"notes2":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 2 (SDO NOTES_2; Optional; precision 0)"},"notes3":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 3 (SDO NOTES_3; Optional; precision 0)"},"orderDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Order Date (SDO ORDER_DATE; Required; precision 0)"},"orderNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Order number (SDO ORDER_NUMBER; Required; precision 0)"},"orderType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Order type code (SDO ORDER_TYPE; Required; precision 0)"},"paymentRef":{"type":"string","nullable":true,"maxLength":30,"description":"Payment reference (SDO PAYMENT_REF; Optional; precision 0)"},"paymentType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Payment Type (SR/SA) (SDO PAYMENT_TYPE; Optional; precision 0)"},"postedCode":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Posted flag - No/Part/Full (SDO POSTED_CODE; Optional; precision 0)"},"practiceSolutionsRefn":{"type":"string","nullable":true,"maxLength":60,"description":"Sage Practice Solutions Reference (SDO PRACTICE_SOLUTIONS_REFN; Optional; precision 0)"},"printedCode":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Printed flag - Yes/No (SDO PRINTED_CODE; Optional; precision 0)"},"projectId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Global Project ID (SDO PROJECT_ID; Optional; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"recurringReference":{"type":"string","nullable":true,"maxLength":11,"description":"Recurring Reference (SDO RECURRING_REFERENCE; Optional; precision 0)"},"settlementDiscRate":{"type":"number","nullable":true,"description":"Settlement discount % rate (SDO SETTLEMENT_DISC_RATE; Optional; precision 2)"},"settlementDueDays":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Settlement days (SDO SETTLEMENT_DUE_DAYS; Optional; precision 0)"},"status":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Order status code (SDO STATUS; Optional; precision 0)"},"suppDiscRate":{"type":"number","nullable":true,"description":"Supplier Discount (SDO SUPP_DISC_RATE; Optional; precision 2)"},"suppOrderNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Supplier's order number (SDO SUPP_ORDER_NUMBER; Optional; precision 0)"},"suppTelNumber":{"type":"string","nullable":true,"maxLength":30,"description":"Supplier's telephone number (SDO SUPP_TEL_NUMBER; Optional; precision 0)"},"takenBy":{"type":"string","nullable":true,"maxLength":60,"description":"Order taken by (SDO TAKEN_BY; Optional; precision 0)"},"totalBytes":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO TOTAL_BYTES; Optional; precision 0)"},"id":{"type":"string"},"lines":{"type":"array","items":{"type":"object","properties":{"addDiscRate":{"type":"number","nullable":true,"description":"Additional discount percentage rate (SDO ADD_DISC_RATE; Optional; precision 2)"},"baseFullNet":{"type":"number","nullable":true,"description":"Full net value in Base Currency (SDO BASE_FULL_NET; Optional; precision 2)"},"baseNet":{"type":"number","nullable":true,"description":"Net value in Base Currency (SDO BASE_NET; Optional; precision 2)"},"baseTax":{"type":"number","nullable":true,"description":"Tax value in Base Currency (SDO BASE_TAX; Optional; precision 2)"},"comment1":{"type":"string","nullable":true,"maxLength":60,"description":"Comment 1 (SDO COMMENT_1; Optional; precision 0)"},"comment2":{"type":"string","nullable":true,"maxLength":60,"description":"Comment 2 (SDO COMMENT_2; Optional; precision 0)"},"costCodeId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Project Cost Code ID (SDO COST_CODE_ID; Optional; precision 0)"},"deliveryDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Delivery date (SDO DELIVERY_DATE; Optional; precision 0)"},"deptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Department number (SDO DEPT_NUMBER; Optional; precision 0)"},"description":{"type":"string","nullable":true,"maxLength":60,"description":"Description (SDO DESCRIPTION; Optional; precision 0)"},"discountAmount":{"type":"number","nullable":true,"description":"Discount amount (SDO DISCOUNT_AMOUNT; Optional; precision 2)"},"discountRate":{"type":"number","nullable":true,"description":"Discount percentage rate (SDO DISCOUNT_RATE; Optional; precision 2)"},"dueDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Due Date (SDO DUE_DATE; Optional; precision 0)"},"extOrderLineRef":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"External Line Reference for SOP to INV link (SDO EXT_ORDER_LINE_REF; Optional; precision 0)"},"extOrderRef":{"type":"string","nullable":true,"maxLength":30,"description":"External Reference for SOP to INV link (SDO EXT_ORDER_REF; Optional; precision 0)"},"fullNetAmount":{"type":"number","nullable":true,"description":"Full net amount (before discount) (SDO FULL_NET_AMOUNT; Optional; precision 2)"},"fundNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Fund number (SDO FUND_NUMBER; Optional; precision 0)"},"invoiceNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Invoice Number (SDO INVOICE_NUMBER; Optional; precision 0)"},"itemNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Item Number (SDO ITEM_NUMBER; Optional; precision 0)"},"itemid":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Unique ID (SDO ITEMID; Optional; precision 0)"},"jobReference":{"type":"string","nullable":true,"maxLength":60,"description":"Job Reference (SDO JOB_REFERENCE; Optional; precision 0)"},"netAmount":{"type":"number","nullable":true,"description":"Net amount (after discount) (SDO NET_AMOUNT; Optional; precision 2)"},"nextItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO NEXT_ITEM; Optional; precision 0)"},"nominalCode":{"type":"string","nullable":true,"maxLength":8,"description":"Nominal code (SDO NOMINAL_CODE; Optional; precision 0)"},"offset":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Offset of Service Text (SDO OFFSET; Optional; precision 0)"},"prevItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO PREV_ITEM; Optional; precision 0)"},"projectId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Project ID (SDO PROJECT_ID; Optional; precision 0)"},"qtyAllocated":{"type":"number","nullable":true,"description":"Quantity allocated for this order (SDO QTY_ALLOCATED; Optional; precision 102)"},"qtyDelivered":{"type":"number","nullable":true,"description":"Quantity previously delivered for this order (SDO QTY_DELIVERED; Optional; precision 102)"},"qtyDespatch":{"type":"number","nullable":true,"description":"Quantity to despatch/despatched on this delivery (SDO QTY_DESPATCH; Optional; precision 102)"},"qtyIntrastatConfirmed":{"type":"number","nullable":true,"description":"Quantity Intrastat Confirmed (SDO QTY_INTRASTAT_CONFIRMED; Optional; precision 102)"},"qtyInvoiced":{"type":"number","nullable":true,"description":"Qty Invoiced (SDO QTY_INVOICED; Optional; precision 0)"},"qtyOrder":{"type":"number","nullable":true,"description":"Quantity ordered (SDO QTY_ORDER; Optional; precision 102)"},"serviceFile":{"type":"string","nullable":true,"maxLength":60,"description":"Redundant - Do not use (SDO SERVICE_FILE; Optional; precision 0)"},"serviceFileSize":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Redundant - Do not use (SDO SERVICE_FILE_SIZE; Optional; precision 0)"},"serviceFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Item Type Flag (SDO SERVICE_FLAG; Optional; precision 0)"},"serviceItemLines":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Redundant - Do not use (SDO SERVICE_ITEM_LINES; Optional; precision 0)"},"stockCode":{"type":"string","nullable":true,"maxLength":30,"description":"Stock code (SDO STOCK_CODE; Required; precision 0)"},"taxAmount":{"type":"number","nullable":true,"description":"Tax amount (SDO TAX_AMOUNT; Optional; precision 2)"},"taxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax code (SDO TAX_CODE; Optional; precision 0)"},"taxFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":" (SDO TAX_FLAG; Optional; precision 0)"},"taxRate":{"type":"number","nullable":true,"description":"Tax rate (SDO TAX_RATE; Optional; precision 2)"},"text":{"type":"string","nullable":true,"maxLength":60,"description":"Service invoice/credit text (SDO TEXT; Optional; precision 0)"},"unitOfSale":{"type":"string","nullable":true,"maxLength":8,"description":"Unit of sale (SDO UNIT_OF_SALE; Optional; precision 0)"},"unitPrice":{"type":"number","nullable":true,"description":"Unit price (SDO UNIT_PRICE; Optional; precision 101)"}},"required":["addDiscRate","baseFullNet","baseNet","baseTax","comment1","comment2","costCodeId","deliveryDate","deptNumber","description","discountAmount","discountRate","dueDate","extOrderLineRef","extOrderRef","fullNetAmount","fundNumber","invoiceNumber","itemNumber","itemid","jobReference","netAmount","nextItem","nominalCode","offset","prevItem","projectId","qtyAllocated","qtyDelivered","qtyDespatch","qtyIntrastatConfirmed","qtyInvoiced","qtyOrder","serviceFile","serviceFileSize","serviceFlag","serviceItemLines","stockCode","taxAmount","taxCode","taxFlag","taxRate","text","unitOfSale","unitPrice"],"additionalProperties":false}}},"required":["accountRef","address1","address2","address3","address4","address5","amountPrepaid","analysis1","analysis2","analysis3","baseAmountPaid","baseCarrNet","baseCarrTax","baseSettDiscRate","baseTotNet","baseTotTax","carrDeptNumber","carrNet","carrNomCode","carrTax","carrTaxCode","consignmentRef","contactName","costCodeId","countryCode","courier","currency","currencyUsed","delAddress1","delAddress2","delAddress3","delAddress4","delAddress5","deletedFlag","deliveryDate","deliveryName","discountType","dueDate","emailed","euroGross","euroRate","externalUsage","firstItem","foreignGross","foreignRate","gdnNumber","globalDeptNumber","hasExternalLink","intrastatStatus","invoiceForeignBalance","invoiceNumber","itemsNet","itemsTax","lastUpdated","name","notes1","notes2","notes3","orderDate","orderNumber","orderType","paymentRef","paymentType","postedCode","practiceSolutionsRefn","printedCode","projectId","recordCreateDate","recordDeleted","recordModifyDate","recurringReference","settlementDiscRate","settlementDueDays","status","suppDiscRate","suppOrderNumber","suppTelNumber","takenBy","totalBytes","id","lines"],"additionalProperties":false},"Uk27_2_purchase_orders_get":{"type":"object","properties":{"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Account reference (SDO ACCOUNT_REF; Required; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Supplier Address line 1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Supplier Address line 2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Supplier Address line 3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Supplier Address line 4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Supplier Address line 5 (SDO ADDRESS_5; Optional; precision 0)"},"amountPrepaid":{"type":"number","nullable":true,"description":"Amount prepaid (SDO AMOUNT_PREPAID; Optional; precision 2)"},"analysis1":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"baseAmountPaid":{"type":"number","nullable":true,"description":"Base Amount prepaid (SDO BASE_AMOUNT_PAID; Optional; precision 2)"},"baseCarrNet":{"type":"number","nullable":true,"description":"Base Carriage net amount (SDO BASE_CARR_NET; Optional; precision 2)"},"baseCarrTax":{"type":"number","nullable":true,"description":"Base Carriage tax amount (SDO BASE_CARR_TAX; Optional; precision 2)"},"baseSettDiscRate":{"type":"number","nullable":true,"description":"Base Settlement discount % rate (SDO BASE_SETT_DISC_RATE; Optional; precision 2)"},"baseTotNet":{"type":"number","nullable":true,"description":"Base Net amount (goods but not carriage) (SDO BASE_TOT_NET; Optional; precision 2)"},"baseTotTax":{"type":"number","nullable":true,"description":"Base Tax amount (goods but not carriage) (SDO BASE_TOT_TAX; Optional; precision 2)"},"carrDeptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Carriage department number (SDO CARR_DEPT_NUMBER; Optional; precision 0)"},"carrNet":{"type":"number","nullable":true,"description":"Carriage net amount (SDO CARR_NET; Optional; precision 2)"},"carrNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Carriage nominal code (SDO CARR_NOM_CODE; Optional; precision 0)"},"carrTax":{"type":"number","nullable":true,"description":"Carriage tax amount (SDO CARR_TAX; Optional; precision 2)"},"carrTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Carriage tax code (SDO CARR_TAX_CODE; Optional; precision 0)"},"consignmentRef":{"type":"string","nullable":true,"maxLength":30,"description":"Consignment Reference (SDO CONSIGNMENT_REF; Optional; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Supplier Contact name (SDO CONTACT_NAME; Optional; precision 0)"},"costCodeId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Global Project Cost Code ID (SDO COST_CODE_ID; Optional; precision 0)"},"countryCode":{"type":"string","nullable":true,"maxLength":2,"description":"Supplier Country code (SDO COUNTRY_CODE; Optional; precision 0)"},"courier":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Courier Number (SDO COURIER; Optional; precision 0)"},"currency":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency (SDO CURRENCY; Optional; precision 0)"},"currencyUsed":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency Used (SDO CURRENCY_USED; Optional; precision 0)"},"delAddress1":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 1 (SDO DEL_ADDRESS_1; Optional; precision 0)"},"delAddress2":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 2 (SDO DEL_ADDRESS_2; Optional; precision 0)"},"delAddress3":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 3 (SDO DEL_ADDRESS_3; Optional; precision 0)"},"delAddress4":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 4 (SDO DEL_ADDRESS_4; Optional; precision 0)"},"delAddress5":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 5 (SDO DEL_ADDRESS_5; Optional; precision 0)"},"deletedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Is Deleted (SDO DELETED_FLAG; Optional; precision 0)"},"deliveryDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Delivery date (SDO DELIVERY_DATE; Optional; precision 0)"},"deliveryName":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address name (SDO DELIVERY_NAME; Optional; precision 0)"},"discountType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Discount Type (SDO DISCOUNT_TYPE; Optional; precision 0)"},"dueDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Due Date (SDO DUE_DATE; Optional; precision 0)"},"emailed":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Emailed flag - Yes/No (SDO EMAILED; Optional; precision 0)"},"euroGross":{"type":"number","nullable":true,"description":"euro Gross Amount (SDO EURO_GROSS; Optional; precision 6)"},"euroRate":{"type":"number","nullable":true,"description":"euro Rate (SDO EURO_RATE; Optional; precision 6)"},"externalUsage":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Number of External Usages (SDO EXTERNAL_USAGE; Optional; precision 0)"},"firstItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO FIRST_ITEM; Optional; precision 0)"},"foreignGross":{"type":"number","nullable":true,"description":"Foreign Gross Amount (SDO FOREIGN_GROSS; Optional; precision 6)"},"foreignRate":{"type":"number","nullable":true,"description":"Foreign Rate for euro currency (SDO FOREIGN_RATE; Optional; precision 6)"},"gdnNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"GDN Reference (SDO GDN_NUMBER; Optional; precision 0)"},"globalDeptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Global department number (SDO GLOBAL_DEPT_NUMBER; Optional; precision 0)"},"hasExternalLink":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Has External Link (SDO HAS_EXTERNAL_LINK; Optional; precision 0)"},"incoterms":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Incoterms (SDO INCOTERMS; Optional; precision 0)"},"intrastatStatus":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Intrastat Reconciled Status (SDO INTRASTAT_STATUS; Optional; precision 0)"},"invoiceForeignBalance":{"type":"number","nullable":true,"description":"Foreign Balance (SDO INVOICE_FOREIGN_BALANCE; Optional; precision 6)"},"invoiceNumber":{"type":"string","nullable":true,"maxLength":7,"description":"Corresponding invoice number (SDO INVOICE_NUMBER; Required; precision 0)"},"itemsNet":{"type":"number","nullable":true,"description":"Net amount (goods but not carriage) (SDO ITEMS_NET; Optional; precision 2)"},"itemsTax":{"type":"number","nullable":true,"description":"Tax amount (goods but not carriage) (SDO ITEMS_TAX; Optional; precision 2)"},"lastUpdated":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date of last update (SDO LAST_UPDATED; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Supplier Account Name (SDO NAME; Optional; precision 0)"},"notes1":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 1 (SDO NOTES_1; Optional; precision 0)"},"notes2":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 2 (SDO NOTES_2; Optional; precision 0)"},"notes3":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 3 (SDO NOTES_3; Optional; precision 0)"},"orderDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Order Date (SDO ORDER_DATE; Required; precision 0)"},"orderNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Order number (SDO ORDER_NUMBER; Required; precision 0)"},"orderType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Order type code (SDO ORDER_TYPE; Required; precision 0)"},"paymentRef":{"type":"string","nullable":true,"maxLength":30,"description":"Payment reference (SDO PAYMENT_REF; Optional; precision 0)"},"paymentType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Payment Type (SR/SA) (SDO PAYMENT_TYPE; Optional; precision 0)"},"postedCode":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Posted flag - No/Part/Full (SDO POSTED_CODE; Optional; precision 0)"},"practiceSolutionsRefn":{"type":"string","nullable":true,"maxLength":60,"description":"Sage Practice Solutions Reference (SDO PRACTICE_SOLUTIONS_REFN; Optional; precision 0)"},"printedCode":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Printed flag - Yes/No (SDO PRINTED_CODE; Optional; precision 0)"},"projectId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Global Project ID (SDO PROJECT_ID; Optional; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"recurringReference":{"type":"string","nullable":true,"maxLength":11,"description":"Recurring Reference (SDO RECURRING_REFERENCE; Optional; precision 0)"},"settlementDiscRate":{"type":"number","nullable":true,"description":"Settlement discount % rate (SDO SETTLEMENT_DISC_RATE; Optional; precision 2)"},"settlementDueDays":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Settlement days (SDO SETTLEMENT_DUE_DAYS; Optional; precision 0)"},"status":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Order status code (SDO STATUS; Optional; precision 0)"},"suppDiscRate":{"type":"number","nullable":true,"description":"Supplier Discount (SDO SUPP_DISC_RATE; Optional; precision 2)"},"suppOrderNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Supplier's order number (SDO SUPP_ORDER_NUMBER; Optional; precision 0)"},"suppTelNumber":{"type":"string","nullable":true,"maxLength":30,"description":"Supplier's telephone number (SDO SUPP_TEL_NUMBER; Optional; precision 0)"},"takenBy":{"type":"string","nullable":true,"maxLength":60,"description":"Order taken by (SDO TAKEN_BY; Optional; precision 0)"},"totalBytes":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO TOTAL_BYTES; Optional; precision 0)"},"vatRegNumber":{"type":"string","nullable":true,"maxLength":20,"description":"VAT Number (SDO VAT_REG_NUMBER; Optional; precision 0)"},"id":{"type":"string"},"lines":{"type":"array","items":{"type":"object","properties":{"addDiscRate":{"type":"number","nullable":true,"description":"Additional discount percentage rate (SDO ADD_DISC_RATE; Optional; precision 2)"},"baseFullNet":{"type":"number","nullable":true,"description":"Full net value in Base Currency (SDO BASE_FULL_NET; Optional; precision 2)"},"baseNet":{"type":"number","nullable":true,"description":"Net value in Base Currency (SDO BASE_NET; Optional; precision 2)"},"baseTax":{"type":"number","nullable":true,"description":"Tax value in Base Currency (SDO BASE_TAX; Optional; precision 2)"},"comment1":{"type":"string","nullable":true,"maxLength":60,"description":"Comment 1 (SDO COMMENT_1; Optional; precision 0)"},"comment2":{"type":"string","nullable":true,"maxLength":60,"description":"Comment 2 (SDO COMMENT_2; Optional; precision 0)"},"costCodeId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Project Cost Code ID (SDO COST_CODE_ID; Optional; precision 0)"},"deliveryDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Delivery date (SDO DELIVERY_DATE; Optional; precision 0)"},"deptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Department number (SDO DEPT_NUMBER; Optional; precision 0)"},"description":{"type":"string","nullable":true,"maxLength":60,"description":"Description (SDO DESCRIPTION; Optional; precision 0)"},"discountAmount":{"type":"number","nullable":true,"description":"Discount amount (SDO DISCOUNT_AMOUNT; Optional; precision 2)"},"discountRate":{"type":"number","nullable":true,"description":"Discount percentage rate (SDO DISCOUNT_RATE; Optional; precision 2)"},"dueDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Due Date (SDO DUE_DATE; Optional; precision 0)"},"extOrderLineRef":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"External Line Reference for SOP to INV link (SDO EXT_ORDER_LINE_REF; Optional; precision 0)"},"extOrderRef":{"type":"string","nullable":true,"maxLength":30,"description":"External Reference for SOP to INV link (SDO EXT_ORDER_REF; Optional; precision 0)"},"fullNetAmount":{"type":"number","nullable":true,"description":"Full net amount (before discount) (SDO FULL_NET_AMOUNT; Optional; precision 2)"},"fundNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Fund number (SDO FUND_NUMBER; Optional; precision 0)"},"invoiceNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Invoice Number (SDO INVOICE_NUMBER; Optional; precision 0)"},"itemNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Item Number (SDO ITEM_NUMBER; Optional; precision 0)"},"itemid":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Unique ID (SDO ITEMID; Optional; precision 0)"},"jobReference":{"type":"string","nullable":true,"maxLength":60,"description":"Job Reference (SDO JOB_REFERENCE; Optional; precision 0)"},"netAmount":{"type":"number","nullable":true,"description":"Net amount (after discount) (SDO NET_AMOUNT; Optional; precision 2)"},"nextItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO NEXT_ITEM; Optional; precision 0)"},"nominalCode":{"type":"string","nullable":true,"maxLength":8,"description":"Nominal code (SDO NOMINAL_CODE; Optional; precision 0)"},"offset":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Offset of Service Text (SDO OFFSET; Optional; precision 0)"},"prevItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO PREV_ITEM; Optional; precision 0)"},"projectId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Project ID (SDO PROJECT_ID; Optional; precision 0)"},"qtyAllocated":{"type":"number","nullable":true,"description":"Quantity allocated for this order (SDO QTY_ALLOCATED; Optional; precision 102)"},"qtyAllocatedToProject":{"type":"number","nullable":true,"description":"Value allocated to project (SDO QTY_ALLOCATED_TO_PROJECT; Optional; precision 0)"},"qtyDelivered":{"type":"number","nullable":true,"description":"Quantity previously delivered for this order (SDO QTY_DELIVERED; Optional; precision 102)"},"qtyDespatch":{"type":"number","nullable":true,"description":"Quantity to despatch/despatched on this delivery (SDO QTY_DESPATCH; Optional; precision 102)"},"qtyIntrastatConfirmed":{"type":"number","nullable":true,"description":"Quantity Intrastat Confirmed (SDO QTY_INTRASTAT_CONFIRMED; Optional; precision 102)"},"qtyInvoiced":{"type":"number","nullable":true,"description":"Qty Invoiced (SDO QTY_INVOICED; Optional; precision 0)"},"qtyIssuedToProject":{"type":"number","nullable":true,"description":"Value Issued to project (SDO QTY_ISSUED_TO_PROJECT; Optional; precision 0)"},"qtyOrder":{"type":"number","nullable":true,"description":"Quantity ordered (SDO QTY_ORDER; Optional; precision 102)"},"serviceFile":{"type":"string","nullable":true,"maxLength":60,"description":"Redundant - Do not use (SDO SERVICE_FILE; Optional; precision 0)"},"serviceFileSize":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Redundant - Do not use (SDO SERVICE_FILE_SIZE; Optional; precision 0)"},"serviceFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Item Type Flag (SDO SERVICE_FLAG; Optional; precision 0)"},"serviceItemLines":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Redundant - Do not use (SDO SERVICE_ITEM_LINES; Optional; precision 0)"},"stockCode":{"type":"string","nullable":true,"maxLength":30,"description":"Stock code (SDO STOCK_CODE; Required; precision 0)"},"taxAmount":{"type":"number","nullable":true,"description":"Tax amount (SDO TAX_AMOUNT; Optional; precision 2)"},"taxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax code (SDO TAX_CODE; Optional; precision 0)"},"taxFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":" (SDO TAX_FLAG; Optional; precision 0)"},"taxRate":{"type":"number","nullable":true,"description":"Tax rate (SDO TAX_RATE; Optional; precision 2)"},"text":{"type":"string","nullable":true,"maxLength":60,"description":"Service invoice/credit text (SDO TEXT; Optional; precision 0)"},"unitOfSale":{"type":"string","nullable":true,"maxLength":8,"description":"Unit of sale (SDO UNIT_OF_SALE; Optional; precision 0)"},"unitPrice":{"type":"number","nullable":true,"description":"Unit price (SDO UNIT_PRICE; Optional; precision 101)"}},"required":["addDiscRate","baseFullNet","baseNet","baseTax","comment1","comment2","costCodeId","deliveryDate","deptNumber","description","discountAmount","discountRate","dueDate","extOrderLineRef","extOrderRef","fullNetAmount","fundNumber","invoiceNumber","itemNumber","itemid","jobReference","netAmount","nextItem","nominalCode","offset","prevItem","projectId","qtyAllocated","qtyAllocatedToProject","qtyDelivered","qtyDespatch","qtyIntrastatConfirmed","qtyInvoiced","qtyIssuedToProject","qtyOrder","serviceFile","serviceFileSize","serviceFlag","serviceItemLines","stockCode","taxAmount","taxCode","taxFlag","taxRate","text","unitOfSale","unitPrice"],"additionalProperties":false}}},"required":["accountRef","address1","address2","address3","address4","address5","amountPrepaid","analysis1","analysis2","analysis3","baseAmountPaid","baseCarrNet","baseCarrTax","baseSettDiscRate","baseTotNet","baseTotTax","carrDeptNumber","carrNet","carrNomCode","carrTax","carrTaxCode","consignmentRef","contactName","costCodeId","countryCode","courier","currency","currencyUsed","delAddress1","delAddress2","delAddress3","delAddress4","delAddress5","deletedFlag","deliveryDate","deliveryName","discountType","dueDate","emailed","euroGross","euroRate","externalUsage","firstItem","foreignGross","foreignRate","gdnNumber","globalDeptNumber","hasExternalLink","incoterms","intrastatStatus","invoiceForeignBalance","invoiceNumber","itemsNet","itemsTax","lastUpdated","name","notes1","notes2","notes3","orderDate","orderNumber","orderType","paymentRef","paymentType","postedCode","practiceSolutionsRefn","printedCode","projectId","recordCreateDate","recordDeleted","recordModifyDate","recurringReference","settlementDiscRate","settlementDueDays","status","suppDiscRate","suppOrderNumber","suppTelNumber","takenBy","totalBytes","vatRegNumber","id","lines"],"additionalProperties":false},"Uk28_1_purchase_orders_get":{"type":"object","properties":{"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Account reference (SDO ACCOUNT_REF; Required; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Supplier Address line 1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Supplier Address line 2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Supplier Address line 3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Supplier Address line 4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Supplier Address line 5 (SDO ADDRESS_5; Optional; precision 0)"},"amountPrepaid":{"type":"number","nullable":true,"description":"Amount prepaid (SDO AMOUNT_PREPAID; Optional; precision 2)"},"analysis1":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"baseAmountPaid":{"type":"number","nullable":true,"description":"Base Amount prepaid (SDO BASE_AMOUNT_PAID; Optional; precision 2)"},"baseCarrNet":{"type":"number","nullable":true,"description":"Base Carriage net amount (SDO BASE_CARR_NET; Optional; precision 2)"},"baseCarrTax":{"type":"number","nullable":true,"description":"Base Carriage tax amount (SDO BASE_CARR_TAX; Optional; precision 2)"},"baseSettDiscRate":{"type":"number","nullable":true,"description":"Base Settlement discount % rate (SDO BASE_SETT_DISC_RATE; Optional; precision 2)"},"baseTotNet":{"type":"number","nullable":true,"description":"Base Net amount (goods but not carriage) (SDO BASE_TOT_NET; Optional; precision 2)"},"baseTotTax":{"type":"number","nullable":true,"description":"Base Tax amount (goods but not carriage) (SDO BASE_TOT_TAX; Optional; precision 2)"},"carrDeptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Carriage department number (SDO CARR_DEPT_NUMBER; Optional; precision 0)"},"carrNet":{"type":"number","nullable":true,"description":"Carriage net amount (SDO CARR_NET; Optional; precision 2)"},"carrNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Carriage nominal code (SDO CARR_NOM_CODE; Optional; precision 0)"},"carrTax":{"type":"number","nullable":true,"description":"Carriage tax amount (SDO CARR_TAX; Optional; precision 2)"},"carrTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Carriage tax code (SDO CARR_TAX_CODE; Optional; precision 0)"},"consignmentRef":{"type":"string","nullable":true,"maxLength":30,"description":"Consignment Reference (SDO CONSIGNMENT_REF; Optional; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Supplier Contact name (SDO CONTACT_NAME; Optional; precision 0)"},"costCodeId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Global Project Cost Code ID (SDO COST_CODE_ID; Optional; precision 0)"},"countryCode":{"type":"string","nullable":true,"maxLength":2,"description":"Supplier Country code (SDO COUNTRY_CODE; Optional; precision 0)"},"courier":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Courier Number (SDO COURIER; Optional; precision 0)"},"currency":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency (SDO CURRENCY; Optional; precision 0)"},"currencyUsed":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency Used (SDO CURRENCY_USED; Optional; precision 0)"},"delAddress1":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 1 (SDO DEL_ADDRESS_1; Optional; precision 0)"},"delAddress2":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 2 (SDO DEL_ADDRESS_2; Optional; precision 0)"},"delAddress3":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 3 (SDO DEL_ADDRESS_3; Optional; precision 0)"},"delAddress4":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 4 (SDO DEL_ADDRESS_4; Optional; precision 0)"},"delAddress5":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 5 (SDO DEL_ADDRESS_5; Optional; precision 0)"},"deletedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Is Deleted (SDO DELETED_FLAG; Optional; precision 0)"},"deliveryDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Delivery date (SDO DELIVERY_DATE; Optional; precision 0)"},"deliveryName":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address name (SDO DELIVERY_NAME; Optional; precision 0)"},"discountType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Discount Type (SDO DISCOUNT_TYPE; Optional; precision 0)"},"dueDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Due Date (SDO DUE_DATE; Optional; precision 0)"},"emailed":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Emailed flag - Yes/No (SDO EMAILED; Optional; precision 0)"},"euroGross":{"type":"number","nullable":true,"description":"euro Gross Amount (SDO EURO_GROSS; Optional; precision 6)"},"euroRate":{"type":"number","nullable":true,"description":"euro Rate (SDO EURO_RATE; Optional; precision 6)"},"externalUsage":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Number of External Usages (SDO EXTERNAL_USAGE; Optional; precision 0)"},"firstItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO FIRST_ITEM; Optional; precision 0)"},"foreignGross":{"type":"number","nullable":true,"description":"Foreign Gross Amount (SDO FOREIGN_GROSS; Optional; precision 6)"},"foreignRate":{"type":"number","nullable":true,"description":"Foreign Rate for euro currency (SDO FOREIGN_RATE; Optional; precision 6)"},"gdnNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"GDN Reference (SDO GDN_NUMBER; Optional; precision 0)"},"globalDeptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Global department number (SDO GLOBAL_DEPT_NUMBER; Optional; precision 0)"},"hasExternalLink":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Has External Link (SDO HAS_EXTERNAL_LINK; Optional; precision 0)"},"incoterms":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Incoterms (SDO INCOTERMS; Optional; precision 0)"},"intrastatStatus":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Intrastat Reconciled Status (SDO INTRASTAT_STATUS; Optional; precision 0)"},"invoiceForeignBalance":{"type":"number","nullable":true,"description":"Foreign Balance (SDO INVOICE_FOREIGN_BALANCE; Optional; precision 6)"},"invoiceNumber":{"type":"string","nullable":true,"maxLength":7,"description":"Corresponding invoice number (SDO INVOICE_NUMBER; Required; precision 0)"},"itemsNet":{"type":"number","nullable":true,"description":"Net amount (goods but not carriage) (SDO ITEMS_NET; Optional; precision 2)"},"itemsTax":{"type":"number","nullable":true,"description":"Tax amount (goods but not carriage) (SDO ITEMS_TAX; Optional; precision 2)"},"lastUpdated":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date of last update (SDO LAST_UPDATED; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Supplier Account Name (SDO NAME; Optional; precision 0)"},"notes1":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 1 (SDO NOTES_1; Optional; precision 0)"},"notes2":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 2 (SDO NOTES_2; Optional; precision 0)"},"notes3":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 3 (SDO NOTES_3; Optional; precision 0)"},"orderDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Order Date (SDO ORDER_DATE; Required; precision 0)"},"orderNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Order number (SDO ORDER_NUMBER; Required; precision 0)"},"orderType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Order type code (SDO ORDER_TYPE; Required; precision 0)"},"paymentRef":{"type":"string","nullable":true,"maxLength":30,"description":"Payment reference (SDO PAYMENT_REF; Optional; precision 0)"},"paymentType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Payment Type (SR/SA) (SDO PAYMENT_TYPE; Optional; precision 0)"},"postedCode":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Posted flag - No/Part/Full (SDO POSTED_CODE; Optional; precision 0)"},"practiceSolutionsRefn":{"type":"string","nullable":true,"maxLength":60,"description":"Sage Practice Solutions Reference (SDO PRACTICE_SOLUTIONS_REFN; Optional; precision 0)"},"printedCode":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Printed flag - Yes/No (SDO PRINTED_CODE; Optional; precision 0)"},"projectId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Global Project ID (SDO PROJECT_ID; Optional; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"recurringReference":{"type":"string","nullable":true,"maxLength":11,"description":"Recurring Reference (SDO RECURRING_REFERENCE; Optional; precision 0)"},"settlementDiscRate":{"type":"number","nullable":true,"description":"Settlement discount % rate (SDO SETTLEMENT_DISC_RATE; Optional; precision 2)"},"settlementDueDays":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Settlement days (SDO SETTLEMENT_DUE_DAYS; Optional; precision 0)"},"status":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Order status code (SDO STATUS; Optional; precision 0)"},"suppDiscRate":{"type":"number","nullable":true,"description":"Supplier Discount (SDO SUPP_DISC_RATE; Optional; precision 2)"},"suppOrderNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Supplier's order number (SDO SUPP_ORDER_NUMBER; Optional; precision 0)"},"suppTelNumber":{"type":"string","nullable":true,"maxLength":30,"description":"Supplier's telephone number (SDO SUPP_TEL_NUMBER; Optional; precision 0)"},"takenBy":{"type":"string","nullable":true,"maxLength":60,"description":"Order taken by (SDO TAKEN_BY; Optional; precision 0)"},"totalBytes":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO TOTAL_BYTES; Optional; precision 0)"},"vatRegNumber":{"type":"string","nullable":true,"maxLength":20,"description":"VAT Number (SDO VAT_REG_NUMBER; Optional; precision 0)"},"id":{"type":"string"},"lines":{"type":"array","items":{"type":"object","properties":{"addDiscRate":{"type":"number","nullable":true,"description":"Additional discount percentage rate (SDO ADD_DISC_RATE; Optional; precision 2)"},"baseFullNet":{"type":"number","nullable":true,"description":"Full net value in Base Currency (SDO BASE_FULL_NET; Optional; precision 2)"},"baseNet":{"type":"number","nullable":true,"description":"Net value in Base Currency (SDO BASE_NET; Optional; precision 2)"},"baseTax":{"type":"number","nullable":true,"description":"Tax value in Base Currency (SDO BASE_TAX; Optional; precision 2)"},"comment1":{"type":"string","nullable":true,"maxLength":60,"description":"Comment 1 (SDO COMMENT_1; Optional; precision 0)"},"comment2":{"type":"string","nullable":true,"maxLength":60,"description":"Comment 2 (SDO COMMENT_2; Optional; precision 0)"},"costCodeId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Project Cost Code ID (SDO COST_CODE_ID; Optional; precision 0)"},"deliveryDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Delivery date (SDO DELIVERY_DATE; Optional; precision 0)"},"deptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Department number (SDO DEPT_NUMBER; Optional; precision 0)"},"description":{"type":"string","nullable":true,"maxLength":60,"description":"Description (SDO DESCRIPTION; Optional; precision 0)"},"discountAmount":{"type":"number","nullable":true,"description":"Discount amount (SDO DISCOUNT_AMOUNT; Optional; precision 2)"},"discountRate":{"type":"number","nullable":true,"description":"Discount percentage rate (SDO DISCOUNT_RATE; Optional; precision 2)"},"dueDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Due Date (SDO DUE_DATE; Optional; precision 0)"},"extOrderLineRef":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"External Line Reference for SOP to INV link (SDO EXT_ORDER_LINE_REF; Optional; precision 0)"},"extOrderRef":{"type":"string","nullable":true,"maxLength":30,"description":"External Reference for SOP to INV link (SDO EXT_ORDER_REF; Optional; precision 0)"},"fullNetAmount":{"type":"number","nullable":true,"description":"Full net amount (before discount) (SDO FULL_NET_AMOUNT; Optional; precision 2)"},"fundNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Fund number (SDO FUND_NUMBER; Optional; precision 0)"},"invoiceNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Invoice Number (SDO INVOICE_NUMBER; Optional; precision 0)"},"itemNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Item Number (SDO ITEM_NUMBER; Optional; precision 0)"},"itemid":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Unique ID (SDO ITEMID; Optional; precision 0)"},"jobReference":{"type":"string","nullable":true,"maxLength":60,"description":"Job Reference (SDO JOB_REFERENCE; Optional; precision 0)"},"netAmount":{"type":"number","nullable":true,"description":"Net amount (after discount) (SDO NET_AMOUNT; Optional; precision 2)"},"nextItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO NEXT_ITEM; Optional; precision 0)"},"nominalCode":{"type":"string","nullable":true,"maxLength":8,"description":"Nominal code (SDO NOMINAL_CODE; Optional; precision 0)"},"offset":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Offset of Service Text (SDO OFFSET; Optional; precision 0)"},"prevItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO PREV_ITEM; Optional; precision 0)"},"projectId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Project ID (SDO PROJECT_ID; Optional; precision 0)"},"qtyAllocated":{"type":"number","nullable":true,"description":"Quantity allocated for this order (SDO QTY_ALLOCATED; Optional; precision 102)"},"qtyAllocatedToProject":{"type":"number","nullable":true,"description":"Value allocated to project (SDO QTY_ALLOCATED_TO_PROJECT; Optional; precision 0)"},"qtyDelivered":{"type":"number","nullable":true,"description":"Quantity previously delivered for this order (SDO QTY_DELIVERED; Optional; precision 102)"},"qtyDespatch":{"type":"number","nullable":true,"description":"Quantity to despatch/despatched on this delivery (SDO QTY_DESPATCH; Optional; precision 102)"},"qtyIntrastatConfirmed":{"type":"number","nullable":true,"description":"Quantity Intrastat Confirmed (SDO QTY_INTRASTAT_CONFIRMED; Optional; precision 102)"},"qtyInvoiced":{"type":"number","nullable":true,"description":"Qty Invoiced (SDO QTY_INVOICED; Optional; precision 0)"},"qtyIssuedToProject":{"type":"number","nullable":true,"description":"Value Issued to project (SDO QTY_ISSUED_TO_PROJECT; Optional; precision 0)"},"qtyOrder":{"type":"number","nullable":true,"description":"Quantity ordered (SDO QTY_ORDER; Optional; precision 102)"},"serviceFile":{"type":"string","nullable":true,"maxLength":60,"description":"Redundant - Do not use (SDO SERVICE_FILE; Optional; precision 0)"},"serviceFileSize":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Redundant - Do not use (SDO SERVICE_FILE_SIZE; Optional; precision 0)"},"serviceFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Item Type Flag (SDO SERVICE_FLAG; Optional; precision 0)"},"serviceItemLines":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Redundant - Do not use (SDO SERVICE_ITEM_LINES; Optional; precision 0)"},"stockCode":{"type":"string","nullable":true,"maxLength":30,"description":"Stock code (SDO STOCK_CODE; Required; precision 0)"},"taxAmount":{"type":"number","nullable":true,"description":"Tax amount (SDO TAX_AMOUNT; Optional; precision 2)"},"taxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax code (SDO TAX_CODE; Optional; precision 0)"},"taxFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":" (SDO TAX_FLAG; Optional; precision 0)"},"taxRate":{"type":"number","nullable":true,"description":"Tax rate (SDO TAX_RATE; Optional; precision 2)"},"text":{"type":"string","nullable":true,"maxLength":60,"description":"Service invoice/credit text (SDO TEXT; Optional; precision 0)"},"unitOfSale":{"type":"string","nullable":true,"maxLength":8,"description":"Unit of sale (SDO UNIT_OF_SALE; Optional; precision 0)"},"unitPrice":{"type":"number","nullable":true,"description":"Unit price (SDO UNIT_PRICE; Optional; precision 101)"}},"required":["addDiscRate","baseFullNet","baseNet","baseTax","comment1","comment2","costCodeId","deliveryDate","deptNumber","description","discountAmount","discountRate","dueDate","extOrderLineRef","extOrderRef","fullNetAmount","fundNumber","invoiceNumber","itemNumber","itemid","jobReference","netAmount","nextItem","nominalCode","offset","prevItem","projectId","qtyAllocated","qtyAllocatedToProject","qtyDelivered","qtyDespatch","qtyIntrastatConfirmed","qtyInvoiced","qtyIssuedToProject","qtyOrder","serviceFile","serviceFileSize","serviceFlag","serviceItemLines","stockCode","taxAmount","taxCode","taxFlag","taxRate","text","unitOfSale","unitPrice"],"additionalProperties":false}}},"required":["accountRef","address1","address2","address3","address4","address5","amountPrepaid","analysis1","analysis2","analysis3","baseAmountPaid","baseCarrNet","baseCarrTax","baseSettDiscRate","baseTotNet","baseTotTax","carrDeptNumber","carrNet","carrNomCode","carrTax","carrTaxCode","consignmentRef","contactName","costCodeId","countryCode","courier","currency","currencyUsed","delAddress1","delAddress2","delAddress3","delAddress4","delAddress5","deletedFlag","deliveryDate","deliveryName","discountType","dueDate","emailed","euroGross","euroRate","externalUsage","firstItem","foreignGross","foreignRate","gdnNumber","globalDeptNumber","hasExternalLink","incoterms","intrastatStatus","invoiceForeignBalance","invoiceNumber","itemsNet","itemsTax","lastUpdated","name","notes1","notes2","notes3","orderDate","orderNumber","orderType","paymentRef","paymentType","postedCode","practiceSolutionsRefn","printedCode","projectId","recordCreateDate","recordDeleted","recordModifyDate","recurringReference","settlementDiscRate","settlementDueDays","status","suppDiscRate","suppOrderNumber","suppTelNumber","takenBy","totalBytes","vatRegNumber","id","lines"],"additionalProperties":false},"Uk29_2_purchase_orders_get":{"type":"object","properties":{"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Account reference (SDO ACCOUNT_REF; Required; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Supplier Address line 1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Supplier Address line 2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Supplier Address line 3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Supplier Address line 4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Supplier Address line 5 (SDO ADDRESS_5; Optional; precision 0)"},"amountPrepaid":{"type":"number","nullable":true,"description":"Amount prepaid (SDO AMOUNT_PREPAID; Optional; precision 2)"},"analysis1":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"baseAmountPaid":{"type":"number","nullable":true,"description":"Base Amount prepaid (SDO BASE_AMOUNT_PAID; Optional; precision 2)"},"baseCarrNet":{"type":"number","nullable":true,"description":"Base Carriage net amount (SDO BASE_CARR_NET; Optional; precision 2)"},"baseCarrTax":{"type":"number","nullable":true,"description":"Base Carriage tax amount (SDO BASE_CARR_TAX; Optional; precision 2)"},"baseSettDiscRate":{"type":"number","nullable":true,"description":"Base Settlement discount % rate (SDO BASE_SETT_DISC_RATE; Optional; precision 2)"},"baseTotNet":{"type":"number","nullable":true,"description":"Base Net amount (goods but not carriage) (SDO BASE_TOT_NET; Optional; precision 2)"},"baseTotTax":{"type":"number","nullable":true,"description":"Base Tax amount (goods but not carriage) (SDO BASE_TOT_TAX; Optional; precision 2)"},"carrDeptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Carriage department number (SDO CARR_DEPT_NUMBER; Optional; precision 0)"},"carrNet":{"type":"number","nullable":true,"description":"Carriage net amount (SDO CARR_NET; Optional; precision 2)"},"carrNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Carriage nominal code (SDO CARR_NOM_CODE; Optional; precision 0)"},"carrTax":{"type":"number","nullable":true,"description":"Carriage tax amount (SDO CARR_TAX; Optional; precision 2)"},"carrTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Carriage tax code (SDO CARR_TAX_CODE; Optional; precision 0)"},"consignmentRef":{"type":"string","nullable":true,"maxLength":30,"description":"Consignment Reference (SDO CONSIGNMENT_REF; Optional; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Supplier Contact name (SDO CONTACT_NAME; Optional; precision 0)"},"costCodeId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Global Project Cost Code ID (SDO COST_CODE_ID; Optional; precision 0)"},"countryCode":{"type":"string","nullable":true,"maxLength":2,"description":"Supplier Country code (SDO COUNTRY_CODE; Optional; precision 0)"},"courier":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Courier Number (SDO COURIER; Optional; precision 0)"},"currency":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency (SDO CURRENCY; Optional; precision 0)"},"currencyUsed":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency Used (SDO CURRENCY_USED; Optional; precision 0)"},"delAddress1":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 1 (SDO DEL_ADDRESS_1; Optional; precision 0)"},"delAddress2":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 2 (SDO DEL_ADDRESS_2; Optional; precision 0)"},"delAddress3":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 3 (SDO DEL_ADDRESS_3; Optional; precision 0)"},"delAddress4":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 4 (SDO DEL_ADDRESS_4; Optional; precision 0)"},"delAddress5":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 5 (SDO DEL_ADDRESS_5; Optional; precision 0)"},"deletedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Is Deleted (SDO DELETED_FLAG; Optional; precision 0)"},"deliveryDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Delivery date (SDO DELIVERY_DATE; Optional; precision 0)"},"deliveryName":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address name (SDO DELIVERY_NAME; Optional; precision 0)"},"discountType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Discount Type (SDO DISCOUNT_TYPE; Optional; precision 0)"},"dueDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Due Date (SDO DUE_DATE; Optional; precision 0)"},"emailed":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Emailed flag - Yes/No (SDO EMAILED; Optional; precision 0)"},"eoriNumber":{"type":"string","nullable":true,"maxLength":17,"description":"Delivery address EORI Number (SDO EORI_NUMBER; Optional; precision 0)"},"euroGross":{"type":"number","nullable":true,"description":"euro Gross Amount (SDO EURO_GROSS; Optional; precision 6)"},"euroRate":{"type":"number","nullable":true,"description":"euro Rate (SDO EURO_RATE; Optional; precision 6)"},"externalUsage":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Number of External Usages (SDO EXTERNAL_USAGE; Optional; precision 0)"},"firstItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO FIRST_ITEM; Optional; precision 0)"},"foreignGross":{"type":"number","nullable":true,"description":"Foreign Gross Amount (SDO FOREIGN_GROSS; Optional; precision 6)"},"foreignRate":{"type":"number","nullable":true,"description":"Foreign Rate for euro currency (SDO FOREIGN_RATE; Optional; precision 6)"},"gdnNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"GDN Reference (SDO GDN_NUMBER; Optional; precision 0)"},"globalDeptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Global department number (SDO GLOBAL_DEPT_NUMBER; Optional; precision 0)"},"hasExternalLink":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Has External Link (SDO HAS_EXTERNAL_LINK; Optional; precision 0)"},"incoterms":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Incoterms (SDO INCOTERMS; Optional; precision 0)"},"intrastatStatus":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Intrastat Reconciled Status (SDO INTRASTAT_STATUS; Optional; precision 0)"},"invoiceForeignBalance":{"type":"number","nullable":true,"description":"Foreign Balance (SDO INVOICE_FOREIGN_BALANCE; Optional; precision 6)"},"invoiceNumber":{"type":"string","nullable":true,"maxLength":7,"description":"Corresponding invoice number (SDO INVOICE_NUMBER; Required; precision 0)"},"itemsNet":{"type":"number","nullable":true,"description":"Net amount (goods but not carriage) (SDO ITEMS_NET; Optional; precision 2)"},"itemsTax":{"type":"number","nullable":true,"description":"Tax amount (goods but not carriage) (SDO ITEMS_TAX; Optional; precision 2)"},"lastUpdated":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date of last update (SDO LAST_UPDATED; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Supplier Account Name (SDO NAME; Optional; precision 0)"},"notes1":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 1 (SDO NOTES_1; Optional; precision 0)"},"notes2":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 2 (SDO NOTES_2; Optional; precision 0)"},"notes3":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 3 (SDO NOTES_3; Optional; precision 0)"},"orderDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Order Date (SDO ORDER_DATE; Required; precision 0)"},"orderNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Order number (SDO ORDER_NUMBER; Required; precision 0)"},"orderType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Order type code (SDO ORDER_TYPE; Required; precision 0)"},"paymentRef":{"type":"string","nullable":true,"maxLength":30,"description":"Payment reference (SDO PAYMENT_REF; Optional; precision 0)"},"paymentType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Payment Type (SR/SA) (SDO PAYMENT_TYPE; Optional; precision 0)"},"postedCode":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Posted flag - No/Part/Full (SDO POSTED_CODE; Optional; precision 0)"},"practiceSolutionsRefn":{"type":"string","nullable":true,"maxLength":60,"description":"Sage Practice Solutions Reference (SDO PRACTICE_SOLUTIONS_REFN; Optional; precision 0)"},"printedCode":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Printed flag - Yes/No (SDO PRINTED_CODE; Optional; precision 0)"},"projectId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Global Project ID (SDO PROJECT_ID; Optional; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"recurringReference":{"type":"string","nullable":true,"maxLength":11,"description":"Recurring Reference (SDO RECURRING_REFERENCE; Optional; precision 0)"},"settlementDiscRate":{"type":"number","nullable":true,"description":"Settlement discount % rate (SDO SETTLEMENT_DISC_RATE; Optional; precision 2)"},"settlementDueDays":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Settlement days (SDO SETTLEMENT_DUE_DAYS; Optional; precision 0)"},"status":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Order status code (SDO STATUS; Optional; precision 0)"},"suppDiscRate":{"type":"number","nullable":true,"description":"Supplier Discount (SDO SUPP_DISC_RATE; Optional; precision 2)"},"suppOrderNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Supplier's order number (SDO SUPP_ORDER_NUMBER; Optional; precision 0)"},"suppTelNumber":{"type":"string","nullable":true,"maxLength":30,"description":"Supplier's telephone number (SDO SUPP_TEL_NUMBER; Optional; precision 0)"},"takenBy":{"type":"string","nullable":true,"maxLength":60,"description":"Order taken by (SDO TAKEN_BY; Optional; precision 0)"},"totalBytes":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO TOTAL_BYTES; Optional; precision 0)"},"vatRegNumber":{"type":"string","nullable":true,"maxLength":20,"description":"VAT Number (SDO VAT_REG_NUMBER; Optional; precision 0)"},"id":{"type":"string"},"lines":{"type":"array","items":{"type":"object","properties":{"addDiscRate":{"type":"number","nullable":true,"description":"Additional discount percentage rate (SDO ADD_DISC_RATE; Optional; precision 2)"},"baseFullNet":{"type":"number","nullable":true,"description":"Full net value in Base Currency (SDO BASE_FULL_NET; Optional; precision 2)"},"baseNet":{"type":"number","nullable":true,"description":"Net value in Base Currency (SDO BASE_NET; Optional; precision 2)"},"baseTax":{"type":"number","nullable":true,"description":"Tax value in Base Currency (SDO BASE_TAX; Optional; precision 2)"},"comment1":{"type":"string","nullable":true,"maxLength":60,"description":"Comment 1 (SDO COMMENT_1; Optional; precision 0)"},"comment2":{"type":"string","nullable":true,"maxLength":60,"description":"Comment 2 (SDO COMMENT_2; Optional; precision 0)"},"costCodeId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Project Cost Code ID (SDO COST_CODE_ID; Optional; precision 0)"},"deliveryDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Delivery date (SDO DELIVERY_DATE; Optional; precision 0)"},"deptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Department number (SDO DEPT_NUMBER; Optional; precision 0)"},"description":{"type":"string","nullable":true,"maxLength":120,"description":"Description (SDO DESCRIPTION; Optional; precision 0)"},"discountAmount":{"type":"number","nullable":true,"description":"Discount amount (SDO DISCOUNT_AMOUNT; Optional; precision 2)"},"discountRate":{"type":"number","nullable":true,"description":"Discount percentage rate (SDO DISCOUNT_RATE; Optional; precision 2)"},"dueDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Due Date (SDO DUE_DATE; Optional; precision 0)"},"extOrderLineRef":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"External Line Reference for SOP to INV link (SDO EXT_ORDER_LINE_REF; Optional; precision 0)"},"extOrderRef":{"type":"string","nullable":true,"maxLength":30,"description":"External Reference for SOP to INV link (SDO EXT_ORDER_REF; Optional; precision 0)"},"fullNetAmount":{"type":"number","nullable":true,"description":"Full net amount (before discount) (SDO FULL_NET_AMOUNT; Optional; precision 2)"},"fundNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Fund number (SDO FUND_NUMBER; Optional; precision 0)"},"invoiceNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Invoice Number (SDO INVOICE_NUMBER; Optional; precision 0)"},"itemNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Item Number (SDO ITEM_NUMBER; Optional; precision 0)"},"itemid":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Unique ID (SDO ITEMID; Optional; precision 0)"},"jobReference":{"type":"string","nullable":true,"maxLength":60,"description":"Job Reference (SDO JOB_REFERENCE; Optional; precision 0)"},"netAmount":{"type":"number","nullable":true,"description":"Net amount (after discount) (SDO NET_AMOUNT; Optional; precision 2)"},"nextItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO NEXT_ITEM; Optional; precision 0)"},"nominalCode":{"type":"string","nullable":true,"maxLength":8,"description":"Nominal code (SDO NOMINAL_CODE; Optional; precision 0)"},"offset":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Offset of Service Text (SDO OFFSET; Optional; precision 0)"},"prevItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO PREV_ITEM; Optional; precision 0)"},"projectId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Project ID (SDO PROJECT_ID; Optional; precision 0)"},"qtyAllocated":{"type":"number","nullable":true,"description":"Quantity allocated for this order (SDO QTY_ALLOCATED; Optional; precision 102)"},"qtyAllocatedToProject":{"type":"number","nullable":true,"description":"Value allocated to project (SDO QTY_ALLOCATED_TO_PROJECT; Optional; precision 0)"},"qtyDelivered":{"type":"number","nullable":true,"description":"Quantity previously delivered for this order (SDO QTY_DELIVERED; Optional; precision 102)"},"qtyDespatch":{"type":"number","nullable":true,"description":"Quantity to despatch/despatched on this delivery (SDO QTY_DESPATCH; Optional; precision 102)"},"qtyIntrastatConfirmed":{"type":"number","nullable":true,"description":"Quantity Intrastat Confirmed (SDO QTY_INTRASTAT_CONFIRMED; Optional; precision 102)"},"qtyInvoiced":{"type":"number","nullable":true,"description":"Qty Invoiced (SDO QTY_INVOICED; Optional; precision 0)"},"qtyIssuedToProject":{"type":"number","nullable":true,"description":"Value Issued to project (SDO QTY_ISSUED_TO_PROJECT; Optional; precision 0)"},"qtyOrder":{"type":"number","nullable":true,"description":"Quantity ordered (SDO QTY_ORDER; Optional; precision 102)"},"serviceFile":{"type":"string","nullable":true,"maxLength":120,"description":"Redundant - Do not use (SDO SERVICE_FILE; Optional; precision 0)"},"serviceFileSize":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Redundant - Do not use (SDO SERVICE_FILE_SIZE; Optional; precision 0)"},"serviceFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Item Type Flag (SDO SERVICE_FLAG; Optional; precision 0)"},"serviceItemLines":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Redundant - Do not use (SDO SERVICE_ITEM_LINES; Optional; precision 0)"},"stockCode":{"type":"string","nullable":true,"maxLength":30,"description":"Stock code (SDO STOCK_CODE; Required; precision 0)"},"taxAmount":{"type":"number","nullable":true,"description":"Tax amount (SDO TAX_AMOUNT; Optional; precision 2)"},"taxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax code (SDO TAX_CODE; Optional; precision 0)"},"taxFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":" (SDO TAX_FLAG; Optional; precision 0)"},"taxRate":{"type":"number","nullable":true,"description":"Tax rate (SDO TAX_RATE; Optional; precision 2)"},"text":{"type":"string","nullable":true,"maxLength":120,"description":"Service invoice/credit text (SDO TEXT; Optional; precision 0)"},"unitOfSale":{"type":"string","nullable":true,"maxLength":8,"description":"Unit of sale (SDO UNIT_OF_SALE; Optional; precision 0)"},"unitPrice":{"type":"number","nullable":true,"description":"Unit price (SDO UNIT_PRICE; Optional; precision 101)"}},"required":["addDiscRate","baseFullNet","baseNet","baseTax","comment1","comment2","costCodeId","deliveryDate","deptNumber","description","discountAmount","discountRate","dueDate","extOrderLineRef","extOrderRef","fullNetAmount","fundNumber","invoiceNumber","itemNumber","itemid","jobReference","netAmount","nextItem","nominalCode","offset","prevItem","projectId","qtyAllocated","qtyAllocatedToProject","qtyDelivered","qtyDespatch","qtyIntrastatConfirmed","qtyInvoiced","qtyIssuedToProject","qtyOrder","serviceFile","serviceFileSize","serviceFlag","serviceItemLines","stockCode","taxAmount","taxCode","taxFlag","taxRate","text","unitOfSale","unitPrice"],"additionalProperties":false}}},"required":["accountRef","address1","address2","address3","address4","address5","amountPrepaid","analysis1","analysis2","analysis3","baseAmountPaid","baseCarrNet","baseCarrTax","baseSettDiscRate","baseTotNet","baseTotTax","carrDeptNumber","carrNet","carrNomCode","carrTax","carrTaxCode","consignmentRef","contactName","costCodeId","countryCode","courier","currency","currencyUsed","delAddress1","delAddress2","delAddress3","delAddress4","delAddress5","deletedFlag","deliveryDate","deliveryName","discountType","dueDate","emailed","eoriNumber","euroGross","euroRate","externalUsage","firstItem","foreignGross","foreignRate","gdnNumber","globalDeptNumber","hasExternalLink","incoterms","intrastatStatus","invoiceForeignBalance","invoiceNumber","itemsNet","itemsTax","lastUpdated","name","notes1","notes2","notes3","orderDate","orderNumber","orderType","paymentRef","paymentType","postedCode","practiceSolutionsRefn","printedCode","projectId","recordCreateDate","recordDeleted","recordModifyDate","recurringReference","settlementDiscRate","settlementDueDays","status","suppDiscRate","suppOrderNumber","suppTelNumber","takenBy","totalBytes","vatRegNumber","id","lines"],"additionalProperties":false},"Uk30_1_purchase_orders_get":{"type":"object","properties":{"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Account reference (SDO ACCOUNT_REF; Required; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Supplier Address line 1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Supplier Address line 2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Supplier Address line 3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Supplier Address line 4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Supplier Address line 5 (SDO ADDRESS_5; Optional; precision 0)"},"amountPrepaid":{"type":"number","nullable":true,"description":"Amount prepaid (SDO AMOUNT_PREPAID; Optional; precision 2)"},"analysis1":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"baseAmountPaid":{"type":"number","nullable":true,"description":"Base Amount prepaid (SDO BASE_AMOUNT_PAID; Optional; precision 2)"},"baseCarrNet":{"type":"number","nullable":true,"description":"Base Carriage net amount (SDO BASE_CARR_NET; Optional; precision 2)"},"baseCarrTax":{"type":"number","nullable":true,"description":"Base Carriage tax amount (SDO BASE_CARR_TAX; Optional; precision 2)"},"baseSettDiscRate":{"type":"number","nullable":true,"description":"Base Settlement discount % rate (SDO BASE_SETT_DISC_RATE; Optional; precision 2)"},"baseTotNet":{"type":"number","nullable":true,"description":"Base Net amount (goods but not carriage) (SDO BASE_TOT_NET; Optional; precision 2)"},"baseTotTax":{"type":"number","nullable":true,"description":"Base Tax amount (goods but not carriage) (SDO BASE_TOT_TAX; Optional; precision 2)"},"carrDeptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Carriage department number (SDO CARR_DEPT_NUMBER; Optional; precision 0)"},"carrNet":{"type":"number","nullable":true,"description":"Carriage net amount (SDO CARR_NET; Optional; precision 2)"},"carrNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Carriage nominal code (SDO CARR_NOM_CODE; Optional; precision 0)"},"carrTax":{"type":"number","nullable":true,"description":"Carriage tax amount (SDO CARR_TAX; Optional; precision 2)"},"carrTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Carriage tax code (SDO CARR_TAX_CODE; Optional; precision 0)"},"consignmentRef":{"type":"string","nullable":true,"maxLength":30,"description":"Consignment Reference (SDO CONSIGNMENT_REF; Optional; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Supplier Contact name (SDO CONTACT_NAME; Optional; precision 0)"},"costCodeId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Global Project Cost Code ID (SDO COST_CODE_ID; Optional; precision 0)"},"countryCode":{"type":"string","nullable":true,"maxLength":2,"description":"Supplier Country code (SDO COUNTRY_CODE; Optional; precision 0)"},"courier":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Courier Number (SDO COURIER; Optional; precision 0)"},"currency":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency (SDO CURRENCY; Optional; precision 0)"},"currencyUsed":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency Used (SDO CURRENCY_USED; Optional; precision 0)"},"delAddress1":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 1 (SDO DEL_ADDRESS_1; Optional; precision 0)"},"delAddress2":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 2 (SDO DEL_ADDRESS_2; Optional; precision 0)"},"delAddress3":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 3 (SDO DEL_ADDRESS_3; Optional; precision 0)"},"delAddress4":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 4 (SDO DEL_ADDRESS_4; Optional; precision 0)"},"delAddress5":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 5 (SDO DEL_ADDRESS_5; Optional; precision 0)"},"deletedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Is Deleted (SDO DELETED_FLAG; Optional; precision 0)"},"deliveryDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Delivery date (SDO DELIVERY_DATE; Optional; precision 0)"},"deliveryName":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address name (SDO DELIVERY_NAME; Optional; precision 0)"},"discountType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Discount Type (SDO DISCOUNT_TYPE; Optional; precision 0)"},"dueDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Due Date (SDO DUE_DATE; Optional; precision 0)"},"emailed":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Emailed flag - Yes/No (SDO EMAILED; Optional; precision 0)"},"eoriNumber":{"type":"string","nullable":true,"maxLength":17,"description":"Delivery address EORI Number (SDO EORI_NUMBER; Optional; precision 0)"},"euroGross":{"type":"number","nullable":true,"description":"euro Gross Amount (SDO EURO_GROSS; Optional; precision 6)"},"euroRate":{"type":"number","nullable":true,"description":"euro Rate (SDO EURO_RATE; Optional; precision 6)"},"externalUsage":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Number of External Usages (SDO EXTERNAL_USAGE; Optional; precision 0)"},"firstItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO FIRST_ITEM; Optional; precision 0)"},"foreignGross":{"type":"number","nullable":true,"description":"Foreign Gross Amount (SDO FOREIGN_GROSS; Optional; precision 6)"},"foreignRate":{"type":"number","nullable":true,"description":"Foreign Rate for euro currency (SDO FOREIGN_RATE; Optional; precision 6)"},"gdnNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"GDN Reference (SDO GDN_NUMBER; Optional; precision 0)"},"globalDeptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Global department number (SDO GLOBAL_DEPT_NUMBER; Optional; precision 0)"},"hasExternalLink":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Has External Link (SDO HAS_EXTERNAL_LINK; Optional; precision 0)"},"incoterms":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Incoterms (SDO INCOTERMS; Optional; precision 0)"},"intrastatStatus":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Intrastat Reconciled Status (SDO INTRASTAT_STATUS; Optional; precision 0)"},"invoiceForeignBalance":{"type":"number","nullable":true,"description":"Foreign Balance (SDO INVOICE_FOREIGN_BALANCE; Optional; precision 6)"},"invoiceNumber":{"type":"string","nullable":true,"maxLength":7,"description":"Corresponding invoice number (SDO INVOICE_NUMBER; Required; precision 0)"},"itemsNet":{"type":"number","nullable":true,"description":"Net amount (goods but not carriage) (SDO ITEMS_NET; Optional; precision 2)"},"itemsTax":{"type":"number","nullable":true,"description":"Tax amount (goods but not carriage) (SDO ITEMS_TAX; Optional; precision 2)"},"lastUpdated":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date of last update (SDO LAST_UPDATED; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Supplier Account Name (SDO NAME; Optional; precision 0)"},"notes1":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 1 (SDO NOTES_1; Optional; precision 0)"},"notes2":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 2 (SDO NOTES_2; Optional; precision 0)"},"notes3":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 3 (SDO NOTES_3; Optional; precision 0)"},"orderDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Order Date (SDO ORDER_DATE; Required; precision 0)"},"orderNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Order number (SDO ORDER_NUMBER; Required; precision 0)"},"orderType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Order type code (SDO ORDER_TYPE; Required; precision 0)"},"paymentRef":{"type":"string","nullable":true,"maxLength":30,"description":"Payment reference (SDO PAYMENT_REF; Optional; precision 0)"},"paymentType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Payment Type (SR/SA) (SDO PAYMENT_TYPE; Optional; precision 0)"},"postedCode":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Posted flag - No/Part/Full (SDO POSTED_CODE; Optional; precision 0)"},"practiceSolutionsRefn":{"type":"string","nullable":true,"maxLength":60,"description":"Sage Practice Solutions Reference (SDO PRACTICE_SOLUTIONS_REFN; Optional; precision 0)"},"printedCode":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Printed flag - Yes/No (SDO PRINTED_CODE; Optional; precision 0)"},"projectId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Global Project ID (SDO PROJECT_ID; Optional; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"recurringReference":{"type":"string","nullable":true,"maxLength":11,"description":"Recurring Reference (SDO RECURRING_REFERENCE; Optional; precision 0)"},"settlementDiscRate":{"type":"number","nullable":true,"description":"Settlement discount % rate (SDO SETTLEMENT_DISC_RATE; Optional; precision 2)"},"settlementDueDays":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Settlement days (SDO SETTLEMENT_DUE_DAYS; Optional; precision 0)"},"status":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Order status code (SDO STATUS; Optional; precision 0)"},"suppDiscRate":{"type":"number","nullable":true,"description":"Supplier Discount (SDO SUPP_DISC_RATE; Optional; precision 2)"},"suppOrderNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Supplier's order number (SDO SUPP_ORDER_NUMBER; Optional; precision 0)"},"suppTelNumber":{"type":"string","nullable":true,"maxLength":30,"description":"Supplier's telephone number (SDO SUPP_TEL_NUMBER; Optional; precision 0)"},"takenBy":{"type":"string","nullable":true,"maxLength":60,"description":"Order taken by (SDO TAKEN_BY; Optional; precision 0)"},"totalBytes":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO TOTAL_BYTES; Optional; precision 0)"},"vatRegNumber":{"type":"string","nullable":true,"maxLength":20,"description":"VAT Number (SDO VAT_REG_NUMBER; Optional; precision 0)"},"id":{"type":"string"},"lines":{"type":"array","items":{"type":"object","properties":{"addDiscRate":{"type":"number","nullable":true,"description":"Additional discount percentage rate (SDO ADD_DISC_RATE; Optional; precision 2)"},"baseFullNet":{"type":"number","nullable":true,"description":"Full net value in Base Currency (SDO BASE_FULL_NET; Optional; precision 2)"},"baseNet":{"type":"number","nullable":true,"description":"Net value in Base Currency (SDO BASE_NET; Optional; precision 2)"},"baseTax":{"type":"number","nullable":true,"description":"Tax value in Base Currency (SDO BASE_TAX; Optional; precision 2)"},"comment1":{"type":"string","nullable":true,"maxLength":60,"description":"Comment 1 (SDO COMMENT_1; Optional; precision 0)"},"comment2":{"type":"string","nullable":true,"maxLength":60,"description":"Comment 2 (SDO COMMENT_2; Optional; precision 0)"},"costCodeId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Project Cost Code ID (SDO COST_CODE_ID; Optional; precision 0)"},"deliveryDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Delivery date (SDO DELIVERY_DATE; Optional; precision 0)"},"deptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Department number (SDO DEPT_NUMBER; Optional; precision 0)"},"description":{"type":"string","nullable":true,"maxLength":120,"description":"Description (SDO DESCRIPTION; Optional; precision 0)"},"discountAmount":{"type":"number","nullable":true,"description":"Discount amount (SDO DISCOUNT_AMOUNT; Optional; precision 2)"},"discountRate":{"type":"number","nullable":true,"description":"Discount percentage rate (SDO DISCOUNT_RATE; Optional; precision 2)"},"dueDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Due Date (SDO DUE_DATE; Optional; precision 0)"},"extOrderLineRef":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"External Line Reference for SOP to INV link (SDO EXT_ORDER_LINE_REF; Optional; precision 0)"},"extOrderRef":{"type":"string","nullable":true,"maxLength":30,"description":"External Reference for SOP to INV link (SDO EXT_ORDER_REF; Optional; precision 0)"},"fullNetAmount":{"type":"number","nullable":true,"description":"Full net amount (before discount) (SDO FULL_NET_AMOUNT; Optional; precision 2)"},"fundNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Fund number (SDO FUND_NUMBER; Optional; precision 0)"},"invoiceNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Invoice Number (SDO INVOICE_NUMBER; Optional; precision 0)"},"itemNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Item Number (SDO ITEM_NUMBER; Optional; precision 0)"},"itemid":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Unique ID (SDO ITEMID; Optional; precision 0)"},"jobReference":{"type":"string","nullable":true,"maxLength":60,"description":"Job Reference (SDO JOB_REFERENCE; Optional; precision 0)"},"netAmount":{"type":"number","nullable":true,"description":"Net amount (after discount) (SDO NET_AMOUNT; Optional; precision 2)"},"nextItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO NEXT_ITEM; Optional; precision 0)"},"nominalCode":{"type":"string","nullable":true,"maxLength":8,"description":"Nominal code (SDO NOMINAL_CODE; Optional; precision 0)"},"offset":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Offset of Service Text (SDO OFFSET; Optional; precision 0)"},"prevItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO PREV_ITEM; Optional; precision 0)"},"projectId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Project ID (SDO PROJECT_ID; Optional; precision 0)"},"qtyAllocated":{"type":"number","nullable":true,"description":"Quantity allocated for this order (SDO QTY_ALLOCATED; Optional; precision 102)"},"qtyAllocatedToProject":{"type":"number","nullable":true,"description":"Value allocated to project (SDO QTY_ALLOCATED_TO_PROJECT; Optional; precision 0)"},"qtyDelivered":{"type":"number","nullable":true,"description":"Quantity previously delivered for this order (SDO QTY_DELIVERED; Optional; precision 102)"},"qtyDespatch":{"type":"number","nullable":true,"description":"Quantity to despatch/despatched on this delivery (SDO QTY_DESPATCH; Optional; precision 102)"},"qtyIntrastatConfirmed":{"type":"number","nullable":true,"description":"Quantity Intrastat Confirmed (SDO QTY_INTRASTAT_CONFIRMED; Optional; precision 102)"},"qtyInvoiced":{"type":"number","nullable":true,"description":"Qty Invoiced (SDO QTY_INVOICED; Optional; precision 0)"},"qtyIssuedToProject":{"type":"number","nullable":true,"description":"Value Issued to project (SDO QTY_ISSUED_TO_PROJECT; Optional; precision 0)"},"qtyOrder":{"type":"number","nullable":true,"description":"Quantity ordered (SDO QTY_ORDER; Optional; precision 102)"},"serviceFile":{"type":"string","nullable":true,"maxLength":120,"description":"Redundant - Do not use (SDO SERVICE_FILE; Optional; precision 0)"},"serviceFileSize":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Redundant - Do not use (SDO SERVICE_FILE_SIZE; Optional; precision 0)"},"serviceFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Item Type Flag (SDO SERVICE_FLAG; Optional; precision 0)"},"serviceItemLines":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Redundant - Do not use (SDO SERVICE_ITEM_LINES; Optional; precision 0)"},"stockCode":{"type":"string","nullable":true,"maxLength":30,"description":"Stock code (SDO STOCK_CODE; Required; precision 0)"},"taxAmount":{"type":"number","nullable":true,"description":"Tax amount (SDO TAX_AMOUNT; Optional; precision 2)"},"taxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax code (SDO TAX_CODE; Optional; precision 0)"},"taxFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":" (SDO TAX_FLAG; Optional; precision 0)"},"taxRate":{"type":"number","nullable":true,"description":"Tax rate (SDO TAX_RATE; Optional; precision 2)"},"text":{"type":"string","nullable":true,"maxLength":120,"description":"Service invoice/credit text (SDO TEXT; Optional; precision 0)"},"unitOfSale":{"type":"string","nullable":true,"maxLength":8,"description":"Unit of sale (SDO UNIT_OF_SALE; Optional; precision 0)"},"unitPrice":{"type":"number","nullable":true,"description":"Unit price (SDO UNIT_PRICE; Optional; precision 101)"}},"required":["addDiscRate","baseFullNet","baseNet","baseTax","comment1","comment2","costCodeId","deliveryDate","deptNumber","description","discountAmount","discountRate","dueDate","extOrderLineRef","extOrderRef","fullNetAmount","fundNumber","invoiceNumber","itemNumber","itemid","jobReference","netAmount","nextItem","nominalCode","offset","prevItem","projectId","qtyAllocated","qtyAllocatedToProject","qtyDelivered","qtyDespatch","qtyIntrastatConfirmed","qtyInvoiced","qtyIssuedToProject","qtyOrder","serviceFile","serviceFileSize","serviceFlag","serviceItemLines","stockCode","taxAmount","taxCode","taxFlag","taxRate","text","unitOfSale","unitPrice"],"additionalProperties":false}}},"required":["accountRef","address1","address2","address3","address4","address5","amountPrepaid","analysis1","analysis2","analysis3","baseAmountPaid","baseCarrNet","baseCarrTax","baseSettDiscRate","baseTotNet","baseTotTax","carrDeptNumber","carrNet","carrNomCode","carrTax","carrTaxCode","consignmentRef","contactName","costCodeId","countryCode","courier","currency","currencyUsed","delAddress1","delAddress2","delAddress3","delAddress4","delAddress5","deletedFlag","deliveryDate","deliveryName","discountType","dueDate","emailed","eoriNumber","euroGross","euroRate","externalUsage","firstItem","foreignGross","foreignRate","gdnNumber","globalDeptNumber","hasExternalLink","incoterms","intrastatStatus","invoiceForeignBalance","invoiceNumber","itemsNet","itemsTax","lastUpdated","name","notes1","notes2","notes3","orderDate","orderNumber","orderType","paymentRef","paymentType","postedCode","practiceSolutionsRefn","printedCode","projectId","recordCreateDate","recordDeleted","recordModifyDate","recurringReference","settlementDiscRate","settlementDueDays","status","suppDiscRate","suppOrderNumber","suppTelNumber","takenBy","totalBytes","vatRegNumber","id","lines"],"additionalProperties":false},"Uk31_1_purchase_orders_get":{"type":"object","properties":{"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Account reference (SDO ACCOUNT_REF; Required; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Supplier Address line 1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Supplier Address line 2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Supplier Address line 3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Supplier Address line 4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Supplier Address line 5 (SDO ADDRESS_5; Optional; precision 0)"},"amountPrepaid":{"type":"number","nullable":true,"description":"Amount prepaid (SDO AMOUNT_PREPAID; Optional; precision 2)"},"analysis1":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"baseAmountPaid":{"type":"number","nullable":true,"description":"Base Amount prepaid (SDO BASE_AMOUNT_PAID; Optional; precision 2)"},"baseCarrNet":{"type":"number","nullable":true,"description":"Base Carriage net amount (SDO BASE_CARR_NET; Optional; precision 2)"},"baseCarrTax":{"type":"number","nullable":true,"description":"Base Carriage tax amount (SDO BASE_CARR_TAX; Optional; precision 2)"},"baseSettDiscRate":{"type":"number","nullable":true,"description":"Base Settlement discount % rate (SDO BASE_SETT_DISC_RATE; Optional; precision 2)"},"baseTotNet":{"type":"number","nullable":true,"description":"Base Net amount (goods but not carriage) (SDO BASE_TOT_NET; Optional; precision 2)"},"baseTotTax":{"type":"number","nullable":true,"description":"Base Tax amount (goods but not carriage) (SDO BASE_TOT_TAX; Optional; precision 2)"},"carrDeptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Carriage department number (SDO CARR_DEPT_NUMBER; Optional; precision 0)"},"carrNet":{"type":"number","nullable":true,"description":"Carriage net amount (SDO CARR_NET; Optional; precision 2)"},"carrNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Carriage nominal code (SDO CARR_NOM_CODE; Optional; precision 0)"},"carrTax":{"type":"number","nullable":true,"description":"Carriage tax amount (SDO CARR_TAX; Optional; precision 2)"},"carrTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Carriage tax code (SDO CARR_TAX_CODE; Optional; precision 0)"},"consignmentRef":{"type":"string","nullable":true,"maxLength":30,"description":"Consignment Reference (SDO CONSIGNMENT_REF; Optional; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Supplier Contact name (SDO CONTACT_NAME; Optional; precision 0)"},"costCodeId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Global Project Cost Code ID (SDO COST_CODE_ID; Optional; precision 0)"},"countryCode":{"type":"string","nullable":true,"maxLength":2,"description":"Supplier Country code (SDO COUNTRY_CODE; Optional; precision 0)"},"courier":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Courier Number (SDO COURIER; Optional; precision 0)"},"currency":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency (SDO CURRENCY; Optional; precision 0)"},"currencyUsed":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency Used (SDO CURRENCY_USED; Optional; precision 0)"},"delAddress1":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 1 (SDO DEL_ADDRESS_1; Optional; precision 0)"},"delAddress2":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 2 (SDO DEL_ADDRESS_2; Optional; precision 0)"},"delAddress3":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 3 (SDO DEL_ADDRESS_3; Optional; precision 0)"},"delAddress4":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 4 (SDO DEL_ADDRESS_4; Optional; precision 0)"},"delAddress5":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 5 (SDO DEL_ADDRESS_5; Optional; precision 0)"},"deletedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Is Deleted (SDO DELETED_FLAG; Optional; precision 0)"},"deliveryDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Delivery date (SDO DELIVERY_DATE; Optional; precision 0)"},"deliveryName":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address name (SDO DELIVERY_NAME; Optional; precision 0)"},"discountType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Discount Type (SDO DISCOUNT_TYPE; Optional; precision 0)"},"dueDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Due Date (SDO DUE_DATE; Optional; precision 0)"},"emailed":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Emailed flag - Yes/No (SDO EMAILED; Optional; precision 0)"},"eoriNumber":{"type":"string","nullable":true,"maxLength":17,"description":"Delivery address EORI Number (SDO EORI_NUMBER; Optional; precision 0)"},"euroGross":{"type":"number","nullable":true,"description":"euro Gross Amount (SDO EURO_GROSS; Optional; precision 6)"},"euroRate":{"type":"number","nullable":true,"description":"euro Rate (SDO EURO_RATE; Optional; precision 6)"},"externalUsage":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Number of External Usages (SDO EXTERNAL_USAGE; Optional; precision 0)"},"firstItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO FIRST_ITEM; Optional; precision 0)"},"foreignGross":{"type":"number","nullable":true,"description":"Foreign Gross Amount (SDO FOREIGN_GROSS; Optional; precision 6)"},"foreignRate":{"type":"number","nullable":true,"description":"Foreign Rate for euro currency (SDO FOREIGN_RATE; Optional; precision 6)"},"gdnNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"GDN Reference (SDO GDN_NUMBER; Optional; precision 0)"},"globalDeptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Global department number (SDO GLOBAL_DEPT_NUMBER; Optional; precision 0)"},"hasExternalLink":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Has External Link (SDO HAS_EXTERNAL_LINK; Optional; precision 0)"},"incoterms":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Incoterms (SDO INCOTERMS; Optional; precision 0)"},"intrastatStatus":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Intrastat Reconciled Status (SDO INTRASTAT_STATUS; Optional; precision 0)"},"invoiceForeignBalance":{"type":"number","nullable":true,"description":"Foreign Balance (SDO INVOICE_FOREIGN_BALANCE; Optional; precision 6)"},"invoiceNumber":{"type":"string","nullable":true,"maxLength":7,"description":"Corresponding invoice number (SDO INVOICE_NUMBER; Required; precision 0)"},"itemsNet":{"type":"number","nullable":true,"description":"Net amount (goods but not carriage) (SDO ITEMS_NET; Optional; precision 2)"},"itemsTax":{"type":"number","nullable":true,"description":"Tax amount (goods but not carriage) (SDO ITEMS_TAX; Optional; precision 2)"},"lastUpdated":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date of last update (SDO LAST_UPDATED; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Supplier Account Name (SDO NAME; Optional; precision 0)"},"notes1":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 1 (SDO NOTES_1; Optional; precision 0)"},"notes2":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 2 (SDO NOTES_2; Optional; precision 0)"},"notes3":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 3 (SDO NOTES_3; Optional; precision 0)"},"orderDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Order Date (SDO ORDER_DATE; Required; precision 0)"},"orderNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Order number (SDO ORDER_NUMBER; Required; precision 0)"},"orderType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Order type code (SDO ORDER_TYPE; Required; precision 0)"},"paymentRef":{"type":"string","nullable":true,"maxLength":30,"description":"Payment reference (SDO PAYMENT_REF; Optional; precision 0)"},"paymentType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Payment Type (SR/SA) (SDO PAYMENT_TYPE; Optional; precision 0)"},"postedCode":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Posted flag - No/Part/Full (SDO POSTED_CODE; Optional; precision 0)"},"practiceSolutionsRefn":{"type":"string","nullable":true,"maxLength":60,"description":"Sage Practice Solutions Reference (SDO PRACTICE_SOLUTIONS_REFN; Optional; precision 0)"},"printedCode":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Printed flag - Yes/No (SDO PRINTED_CODE; Optional; precision 0)"},"projectId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Global Project ID (SDO PROJECT_ID; Optional; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"recurringReference":{"type":"string","nullable":true,"maxLength":11,"description":"Recurring Reference (SDO RECURRING_REFERENCE; Optional; precision 0)"},"settlementDiscRate":{"type":"number","nullable":true,"description":"Settlement discount % rate (SDO SETTLEMENT_DISC_RATE; Optional; precision 2)"},"settlementDueDays":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Settlement days (SDO SETTLEMENT_DUE_DAYS; Optional; precision 0)"},"status":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Order status code (SDO STATUS; Optional; precision 0)"},"suppDiscRate":{"type":"number","nullable":true,"description":"Supplier Discount (SDO SUPP_DISC_RATE; Optional; precision 2)"},"suppOrderNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Supplier's order number (SDO SUPP_ORDER_NUMBER; Optional; precision 0)"},"suppTelNumber":{"type":"string","nullable":true,"maxLength":30,"description":"Supplier's telephone number (SDO SUPP_TEL_NUMBER; Optional; precision 0)"},"takenBy":{"type":"string","nullable":true,"maxLength":60,"description":"Order taken by (SDO TAKEN_BY; Optional; precision 0)"},"totalBytes":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO TOTAL_BYTES; Optional; precision 0)"},"vatRegNumber":{"type":"string","nullable":true,"maxLength":20,"description":"VAT Number (SDO VAT_REG_NUMBER; Optional; precision 0)"},"id":{"type":"string"},"lines":{"type":"array","items":{"type":"object","properties":{"addDiscRate":{"type":"number","nullable":true,"description":"Additional discount percentage rate (SDO ADD_DISC_RATE; Optional; precision 2)"},"baseFullNet":{"type":"number","nullable":true,"description":"Full net value in Base Currency (SDO BASE_FULL_NET; Optional; precision 2)"},"baseNet":{"type":"number","nullable":true,"description":"Net value in Base Currency (SDO BASE_NET; Optional; precision 2)"},"baseTax":{"type":"number","nullable":true,"description":"Tax value in Base Currency (SDO BASE_TAX; Optional; precision 2)"},"comment1":{"type":"string","nullable":true,"maxLength":60,"description":"Comment 1 (SDO COMMENT_1; Optional; precision 0)"},"comment2":{"type":"string","nullable":true,"maxLength":60,"description":"Comment 2 (SDO COMMENT_2; Optional; precision 0)"},"costCodeId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Project Cost Code ID (SDO COST_CODE_ID; Optional; precision 0)"},"deliveryDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Delivery date (SDO DELIVERY_DATE; Optional; precision 0)"},"deptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Department number (SDO DEPT_NUMBER; Optional; precision 0)"},"description":{"type":"string","nullable":true,"maxLength":120,"description":"Description (SDO DESCRIPTION; Optional; precision 0)"},"discountAmount":{"type":"number","nullable":true,"description":"Discount amount (SDO DISCOUNT_AMOUNT; Optional; precision 2)"},"discountRate":{"type":"number","nullable":true,"description":"Discount percentage rate (SDO DISCOUNT_RATE; Optional; precision 2)"},"dueDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Due Date (SDO DUE_DATE; Optional; precision 0)"},"extOrderLineRef":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"External Line Reference for SOP to INV link (SDO EXT_ORDER_LINE_REF; Optional; precision 0)"},"extOrderRef":{"type":"string","nullable":true,"maxLength":30,"description":"External Reference for SOP to INV link (SDO EXT_ORDER_REF; Optional; precision 0)"},"fullNetAmount":{"type":"number","nullable":true,"description":"Full net amount (before discount) (SDO FULL_NET_AMOUNT; Optional; precision 2)"},"fundNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Fund number (SDO FUND_NUMBER; Optional; precision 0)"},"invoiceNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Invoice Number (SDO INVOICE_NUMBER; Optional; precision 0)"},"itemNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Item Number (SDO ITEM_NUMBER; Optional; precision 0)"},"itemid":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Unique ID (SDO ITEMID; Optional; precision 0)"},"jobReference":{"type":"string","nullable":true,"maxLength":60,"description":"Job Reference (SDO JOB_REFERENCE; Optional; precision 0)"},"netAmount":{"type":"number","nullable":true,"description":"Net amount (after discount) (SDO NET_AMOUNT; Optional; precision 2)"},"nextItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO NEXT_ITEM; Optional; precision 0)"},"nominalCode":{"type":"string","nullable":true,"maxLength":8,"description":"Nominal code (SDO NOMINAL_CODE; Optional; precision 0)"},"offset":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Offset of Service Text (SDO OFFSET; Optional; precision 0)"},"prevItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO PREV_ITEM; Optional; precision 0)"},"projectId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Project ID (SDO PROJECT_ID; Optional; precision 0)"},"qtyAllocated":{"type":"number","nullable":true,"description":"Quantity allocated for this order (SDO QTY_ALLOCATED; Optional; precision 102)"},"qtyAllocatedToProject":{"type":"number","nullable":true,"description":"Value allocated to project (SDO QTY_ALLOCATED_TO_PROJECT; Optional; precision 0)"},"qtyDelivered":{"type":"number","nullable":true,"description":"Quantity previously delivered for this order (SDO QTY_DELIVERED; Optional; precision 102)"},"qtyDespatch":{"type":"number","nullable":true,"description":"Quantity to despatch/despatched on this delivery (SDO QTY_DESPATCH; Optional; precision 102)"},"qtyIntrastatConfirmed":{"type":"number","nullable":true,"description":"Quantity Intrastat Confirmed (SDO QTY_INTRASTAT_CONFIRMED; Optional; precision 102)"},"qtyInvoiced":{"type":"number","nullable":true,"description":"Qty Invoiced (SDO QTY_INVOICED; Optional; precision 0)"},"qtyIssuedToProject":{"type":"number","nullable":true,"description":"Value Issued to project (SDO QTY_ISSUED_TO_PROJECT; Optional; precision 0)"},"qtyOrder":{"type":"number","nullable":true,"description":"Quantity ordered (SDO QTY_ORDER; Optional; precision 102)"},"serviceFile":{"type":"string","nullable":true,"maxLength":120,"description":"Redundant - Do not use (SDO SERVICE_FILE; Optional; precision 0)"},"serviceFileSize":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Redundant - Do not use (SDO SERVICE_FILE_SIZE; Optional; precision 0)"},"serviceFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Item Type Flag (SDO SERVICE_FLAG; Optional; precision 0)"},"serviceItemLines":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Redundant - Do not use (SDO SERVICE_ITEM_LINES; Optional; precision 0)"},"stockCode":{"type":"string","nullable":true,"maxLength":30,"description":"Stock code (SDO STOCK_CODE; Required; precision 0)"},"taxAmount":{"type":"number","nullable":true,"description":"Tax amount (SDO TAX_AMOUNT; Optional; precision 2)"},"taxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax code (SDO TAX_CODE; Optional; precision 0)"},"taxFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":" (SDO TAX_FLAG; Optional; precision 0)"},"taxRate":{"type":"number","nullable":true,"description":"Tax rate (SDO TAX_RATE; Optional; precision 2)"},"text":{"type":"string","nullable":true,"maxLength":120,"description":"Service invoice/credit text (SDO TEXT; Optional; precision 0)"},"unitOfSale":{"type":"string","nullable":true,"maxLength":8,"description":"Unit of sale (SDO UNIT_OF_SALE; Optional; precision 0)"},"unitPrice":{"type":"number","nullable":true,"description":"Unit price (SDO UNIT_PRICE; Optional; precision 101)"}},"required":["addDiscRate","baseFullNet","baseNet","baseTax","comment1","comment2","costCodeId","deliveryDate","deptNumber","description","discountAmount","discountRate","dueDate","extOrderLineRef","extOrderRef","fullNetAmount","fundNumber","invoiceNumber","itemNumber","itemid","jobReference","netAmount","nextItem","nominalCode","offset","prevItem","projectId","qtyAllocated","qtyAllocatedToProject","qtyDelivered","qtyDespatch","qtyIntrastatConfirmed","qtyInvoiced","qtyIssuedToProject","qtyOrder","serviceFile","serviceFileSize","serviceFlag","serviceItemLines","stockCode","taxAmount","taxCode","taxFlag","taxRate","text","unitOfSale","unitPrice"],"additionalProperties":false}}},"required":["accountRef","address1","address2","address3","address4","address5","amountPrepaid","analysis1","analysis2","analysis3","baseAmountPaid","baseCarrNet","baseCarrTax","baseSettDiscRate","baseTotNet","baseTotTax","carrDeptNumber","carrNet","carrNomCode","carrTax","carrTaxCode","consignmentRef","contactName","costCodeId","countryCode","courier","currency","currencyUsed","delAddress1","delAddress2","delAddress3","delAddress4","delAddress5","deletedFlag","deliveryDate","deliveryName","discountType","dueDate","emailed","eoriNumber","euroGross","euroRate","externalUsage","firstItem","foreignGross","foreignRate","gdnNumber","globalDeptNumber","hasExternalLink","incoterms","intrastatStatus","invoiceForeignBalance","invoiceNumber","itemsNet","itemsTax","lastUpdated","name","notes1","notes2","notes3","orderDate","orderNumber","orderType","paymentRef","paymentType","postedCode","practiceSolutionsRefn","printedCode","projectId","recordCreateDate","recordDeleted","recordModifyDate","recurringReference","settlementDiscRate","settlementDueDays","status","suppDiscRate","suppOrderNumber","suppTelNumber","takenBy","totalBytes","vatRegNumber","id","lines"],"additionalProperties":false},"Uk32_1_purchase_orders_get":{"type":"object","properties":{"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Account reference (SDO ACCOUNT_REF; Required; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Supplier Address line 1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Supplier Address line 2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Supplier Address line 3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Supplier Address line 4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Supplier Address line 5 (SDO ADDRESS_5; Optional; precision 0)"},"amountPrepaid":{"type":"number","nullable":true,"description":"Amount prepaid (SDO AMOUNT_PREPAID; Optional; precision 2)"},"analysis1":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"baseAmountPaid":{"type":"number","nullable":true,"description":"Base Amount prepaid (SDO BASE_AMOUNT_PAID; Optional; precision 2)"},"baseCarrNet":{"type":"number","nullable":true,"description":"Base Carriage net amount (SDO BASE_CARR_NET; Optional; precision 2)"},"baseCarrTax":{"type":"number","nullable":true,"description":"Base Carriage tax amount (SDO BASE_CARR_TAX; Optional; precision 2)"},"baseSettDiscRate":{"type":"number","nullable":true,"description":"Base Settlement discount % rate (SDO BASE_SETT_DISC_RATE; Optional; precision 2)"},"baseTotNet":{"type":"number","nullable":true,"description":"Base Net amount (goods but not carriage) (SDO BASE_TOT_NET; Optional; precision 2)"},"baseTotTax":{"type":"number","nullable":true,"description":"Base Tax amount (goods but not carriage) (SDO BASE_TOT_TAX; Optional; precision 2)"},"carrDeptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Carriage department number (SDO CARR_DEPT_NUMBER; Optional; precision 0)"},"carrNet":{"type":"number","nullable":true,"description":"Carriage net amount (SDO CARR_NET; Optional; precision 2)"},"carrNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Carriage nominal code (SDO CARR_NOM_CODE; Optional; precision 0)"},"carrTax":{"type":"number","nullable":true,"description":"Carriage tax amount (SDO CARR_TAX; Optional; precision 2)"},"carrTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Carriage tax code (SDO CARR_TAX_CODE; Optional; precision 0)"},"consignmentRef":{"type":"string","nullable":true,"maxLength":30,"description":"Consignment Reference (SDO CONSIGNMENT_REF; Optional; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Supplier Contact name (SDO CONTACT_NAME; Optional; precision 0)"},"costCodeId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Global Project Cost Code ID (SDO COST_CODE_ID; Optional; precision 0)"},"countryCode":{"type":"string","nullable":true,"maxLength":2,"description":"Supplier Country code (SDO COUNTRY_CODE; Optional; precision 0)"},"courier":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Courier Number (SDO COURIER; Optional; precision 0)"},"currency":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency (SDO CURRENCY; Optional; precision 0)"},"currencyUsed":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency Used (SDO CURRENCY_USED; Optional; precision 0)"},"delAddress1":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 1 (SDO DEL_ADDRESS_1; Optional; precision 0)"},"delAddress2":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 2 (SDO DEL_ADDRESS_2; Optional; precision 0)"},"delAddress3":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 3 (SDO DEL_ADDRESS_3; Optional; precision 0)"},"delAddress4":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 4 (SDO DEL_ADDRESS_4; Optional; precision 0)"},"delAddress5":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 5 (SDO DEL_ADDRESS_5; Optional; precision 0)"},"deletedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Is Deleted (SDO DELETED_FLAG; Optional; precision 0)"},"deliveryDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Delivery date (SDO DELIVERY_DATE; Optional; precision 0)"},"deliveryName":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address name (SDO DELIVERY_NAME; Optional; precision 0)"},"discountType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Discount Type (SDO DISCOUNT_TYPE; Optional; precision 0)"},"dueDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Due Date (SDO DUE_DATE; Optional; precision 0)"},"emailed":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Emailed flag - Yes/No (SDO EMAILED; Optional; precision 0)"},"eoriNumber":{"type":"string","nullable":true,"maxLength":17,"description":"Delivery address EORI Number (SDO EORI_NUMBER; Optional; precision 0)"},"euroGross":{"type":"number","nullable":true,"description":"euro Gross Amount (SDO EURO_GROSS; Optional; precision 6)"},"euroRate":{"type":"number","nullable":true,"description":"euro Rate (SDO EURO_RATE; Optional; precision 6)"},"externalUsage":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Number of External Usages (SDO EXTERNAL_USAGE; Optional; precision 0)"},"firstItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO FIRST_ITEM; Optional; precision 0)"},"foreignGross":{"type":"number","nullable":true,"description":"Foreign Gross Amount (SDO FOREIGN_GROSS; Optional; precision 6)"},"foreignRate":{"type":"number","nullable":true,"description":"Foreign Rate for euro currency (SDO FOREIGN_RATE; Optional; precision 6)"},"gdnNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"GDN Reference (SDO GDN_NUMBER; Optional; precision 0)"},"globalDeptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Global department number (SDO GLOBAL_DEPT_NUMBER; Optional; precision 0)"},"hasExternalLink":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Has External Link (SDO HAS_EXTERNAL_LINK; Optional; precision 0)"},"incoterms":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Incoterms (SDO INCOTERMS; Optional; precision 0)"},"intrastatStatus":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Intrastat Reconciled Status (SDO INTRASTAT_STATUS; Optional; precision 0)"},"invoiceForeignBalance":{"type":"number","nullable":true,"description":"Foreign Balance (SDO INVOICE_FOREIGN_BALANCE; Optional; precision 6)"},"invoiceNumber":{"type":"string","nullable":true,"maxLength":7,"description":"Corresponding invoice number (SDO INVOICE_NUMBER; Required; precision 0)"},"itemsNet":{"type":"number","nullable":true,"description":"Net amount (goods but not carriage) (SDO ITEMS_NET; Optional; precision 2)"},"itemsTax":{"type":"number","nullable":true,"description":"Tax amount (goods but not carriage) (SDO ITEMS_TAX; Optional; precision 2)"},"lastUpdated":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date of last update (SDO LAST_UPDATED; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Supplier Account Name (SDO NAME; Optional; precision 0)"},"notes1":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 1 (SDO NOTES_1; Optional; precision 0)"},"notes2":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 2 (SDO NOTES_2; Optional; precision 0)"},"notes3":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 3 (SDO NOTES_3; Optional; precision 0)"},"orderDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Order Date (SDO ORDER_DATE; Required; precision 0)"},"orderNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Order number (SDO ORDER_NUMBER; Required; precision 0)"},"orderType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Order type code (SDO ORDER_TYPE; Required; precision 0)"},"paymentRef":{"type":"string","nullable":true,"maxLength":30,"description":"Payment reference (SDO PAYMENT_REF; Optional; precision 0)"},"paymentType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Payment Type (SR/SA) (SDO PAYMENT_TYPE; Optional; precision 0)"},"postedCode":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Posted flag - No/Part/Full (SDO POSTED_CODE; Optional; precision 0)"},"practiceSolutionsRefn":{"type":"string","nullable":true,"maxLength":60,"description":"Sage Practice Solutions Reference (SDO PRACTICE_SOLUTIONS_REFN; Optional; precision 0)"},"printedCode":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Printed flag - Yes/No (SDO PRINTED_CODE; Optional; precision 0)"},"projectId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Global Project ID (SDO PROJECT_ID; Optional; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"recurringReference":{"type":"string","nullable":true,"maxLength":11,"description":"Recurring Reference (SDO RECURRING_REFERENCE; Optional; precision 0)"},"settlementDiscRate":{"type":"number","nullable":true,"description":"Settlement discount % rate (SDO SETTLEMENT_DISC_RATE; Optional; precision 2)"},"settlementDueDays":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Settlement days (SDO SETTLEMENT_DUE_DAYS; Optional; precision 0)"},"status":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Order status code (SDO STATUS; Optional; precision 0)"},"suppDiscRate":{"type":"number","nullable":true,"description":"Supplier Discount (SDO SUPP_DISC_RATE; Optional; precision 2)"},"suppOrderNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Supplier's order number (SDO SUPP_ORDER_NUMBER; Optional; precision 0)"},"suppTelNumber":{"type":"string","nullable":true,"maxLength":30,"description":"Supplier's telephone number (SDO SUPP_TEL_NUMBER; Optional; precision 0)"},"takenBy":{"type":"string","nullable":true,"maxLength":60,"description":"Order taken by (SDO TAKEN_BY; Optional; precision 0)"},"totalBytes":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO TOTAL_BYTES; Optional; precision 0)"},"vatRegNumber":{"type":"string","nullable":true,"maxLength":20,"description":"VAT Number (SDO VAT_REG_NUMBER; Optional; precision 0)"},"id":{"type":"string"},"lines":{"type":"array","items":{"type":"object","properties":{"addDiscRate":{"type":"number","nullable":true,"description":"Additional discount percentage rate (SDO ADD_DISC_RATE; Optional; precision 2)"},"baseFullNet":{"type":"number","nullable":true,"description":"Full net value in Base Currency (SDO BASE_FULL_NET; Optional; precision 2)"},"baseNet":{"type":"number","nullable":true,"description":"Net value in Base Currency (SDO BASE_NET; Optional; precision 2)"},"baseTax":{"type":"number","nullable":true,"description":"Tax value in Base Currency (SDO BASE_TAX; Optional; precision 2)"},"comment1":{"type":"string","nullable":true,"maxLength":60,"description":"Comment 1 (SDO COMMENT_1; Optional; precision 0)"},"comment2":{"type":"string","nullable":true,"maxLength":60,"description":"Comment 2 (SDO COMMENT_2; Optional; precision 0)"},"costCodeId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Project Cost Code ID (SDO COST_CODE_ID; Optional; precision 0)"},"deliveryDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Delivery date (SDO DELIVERY_DATE; Optional; precision 0)"},"deptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Department number (SDO DEPT_NUMBER; Optional; precision 0)"},"description":{"type":"string","nullable":true,"maxLength":120,"description":"Description (SDO DESCRIPTION; Optional; precision 0)"},"discountAmount":{"type":"number","nullable":true,"description":"Discount amount (SDO DISCOUNT_AMOUNT; Optional; precision 2)"},"discountRate":{"type":"number","nullable":true,"description":"Discount percentage rate (SDO DISCOUNT_RATE; Optional; precision 2)"},"dueDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Due Date (SDO DUE_DATE; Optional; precision 0)"},"extOrderLineRef":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"External Line Reference for SOP to INV link (SDO EXT_ORDER_LINE_REF; Optional; precision 0)"},"extOrderRef":{"type":"string","nullable":true,"maxLength":30,"description":"External Reference for SOP to INV link (SDO EXT_ORDER_REF; Optional; precision 0)"},"fullNetAmount":{"type":"number","nullable":true,"description":"Full net amount (before discount) (SDO FULL_NET_AMOUNT; Optional; precision 2)"},"fundNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Fund number (SDO FUND_NUMBER; Optional; precision 0)"},"invoiceNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Invoice Number (SDO INVOICE_NUMBER; Optional; precision 0)"},"itemNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Item Number (SDO ITEM_NUMBER; Optional; precision 0)"},"itemid":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Unique ID (SDO ITEMID; Optional; precision 0)"},"jobReference":{"type":"string","nullable":true,"maxLength":60,"description":"Job Reference (SDO JOB_REFERENCE; Optional; precision 0)"},"netAmount":{"type":"number","nullable":true,"description":"Net amount (after discount) (SDO NET_AMOUNT; Optional; precision 2)"},"nextItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO NEXT_ITEM; Optional; precision 0)"},"nominalCode":{"type":"string","nullable":true,"maxLength":8,"description":"Nominal code (SDO NOMINAL_CODE; Optional; precision 0)"},"offset":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Offset of Service Text (SDO OFFSET; Optional; precision 0)"},"prevItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO PREV_ITEM; Optional; precision 0)"},"projectId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Project ID (SDO PROJECT_ID; Optional; precision 0)"},"qtyAllocated":{"type":"number","nullable":true,"description":"Quantity allocated for this order (SDO QTY_ALLOCATED; Optional; precision 102)"},"qtyAllocatedToProject":{"type":"number","nullable":true,"description":"Value allocated to project (SDO QTY_ALLOCATED_TO_PROJECT; Optional; precision 0)"},"qtyDelivered":{"type":"number","nullable":true,"description":"Quantity previously delivered for this order (SDO QTY_DELIVERED; Optional; precision 102)"},"qtyDespatch":{"type":"number","nullable":true,"description":"Quantity to despatch/despatched on this delivery (SDO QTY_DESPATCH; Optional; precision 102)"},"qtyIntrastatConfirmed":{"type":"number","nullable":true,"description":"Quantity Intrastat Confirmed (SDO QTY_INTRASTAT_CONFIRMED; Optional; precision 102)"},"qtyInvoiced":{"type":"number","nullable":true,"description":"Qty Invoiced (SDO QTY_INVOICED; Optional; precision 0)"},"qtyIssuedToProject":{"type":"number","nullable":true,"description":"Value Issued to project (SDO QTY_ISSUED_TO_PROJECT; Optional; precision 0)"},"qtyOrder":{"type":"number","nullable":true,"description":"Quantity ordered (SDO QTY_ORDER; Optional; precision 102)"},"serviceFile":{"type":"string","nullable":true,"maxLength":120,"description":"Redundant - Do not use (SDO SERVICE_FILE; Optional; precision 0)"},"serviceFileSize":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Redundant - Do not use (SDO SERVICE_FILE_SIZE; Optional; precision 0)"},"serviceFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Item Type Flag (SDO SERVICE_FLAG; Optional; precision 0)"},"serviceItemLines":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Redundant - Do not use (SDO SERVICE_ITEM_LINES; Optional; precision 0)"},"stockCode":{"type":"string","nullable":true,"maxLength":30,"description":"Stock code (SDO STOCK_CODE; Required; precision 0)"},"taxAmount":{"type":"number","nullable":true,"description":"Tax amount (SDO TAX_AMOUNT; Optional; precision 2)"},"taxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax code (SDO TAX_CODE; Optional; precision 0)"},"taxFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":" (SDO TAX_FLAG; Optional; precision 0)"},"taxRate":{"type":"number","nullable":true,"description":"Tax rate (SDO TAX_RATE; Optional; precision 2)"},"text":{"type":"string","nullable":true,"maxLength":120,"description":"Service invoice/credit text (SDO TEXT; Optional; precision 0)"},"unitOfSale":{"type":"string","nullable":true,"maxLength":8,"description":"Unit of sale (SDO UNIT_OF_SALE; Optional; precision 0)"},"unitPrice":{"type":"number","nullable":true,"description":"Unit price (SDO UNIT_PRICE; Optional; precision 101)"}},"required":["addDiscRate","baseFullNet","baseNet","baseTax","comment1","comment2","costCodeId","deliveryDate","deptNumber","description","discountAmount","discountRate","dueDate","extOrderLineRef","extOrderRef","fullNetAmount","fundNumber","invoiceNumber","itemNumber","itemid","jobReference","netAmount","nextItem","nominalCode","offset","prevItem","projectId","qtyAllocated","qtyAllocatedToProject","qtyDelivered","qtyDespatch","qtyIntrastatConfirmed","qtyInvoiced","qtyIssuedToProject","qtyOrder","serviceFile","serviceFileSize","serviceFlag","serviceItemLines","stockCode","taxAmount","taxCode","taxFlag","taxRate","text","unitOfSale","unitPrice"],"additionalProperties":false}}},"required":["accountRef","address1","address2","address3","address4","address5","amountPrepaid","analysis1","analysis2","analysis3","baseAmountPaid","baseCarrNet","baseCarrTax","baseSettDiscRate","baseTotNet","baseTotTax","carrDeptNumber","carrNet","carrNomCode","carrTax","carrTaxCode","consignmentRef","contactName","costCodeId","countryCode","courier","currency","currencyUsed","delAddress1","delAddress2","delAddress3","delAddress4","delAddress5","deletedFlag","deliveryDate","deliveryName","discountType","dueDate","emailed","eoriNumber","euroGross","euroRate","externalUsage","firstItem","foreignGross","foreignRate","gdnNumber","globalDeptNumber","hasExternalLink","incoterms","intrastatStatus","invoiceForeignBalance","invoiceNumber","itemsNet","itemsTax","lastUpdated","name","notes1","notes2","notes3","orderDate","orderNumber","orderType","paymentRef","paymentType","postedCode","practiceSolutionsRefn","printedCode","projectId","recordCreateDate","recordDeleted","recordModifyDate","recurringReference","settlementDiscRate","settlementDueDays","status","suppDiscRate","suppOrderNumber","suppTelNumber","takenBy","totalBytes","vatRegNumber","id","lines"],"additionalProperties":false},"Uk33_1_purchase_orders_get":{"type":"object","properties":{"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Account reference (SDO ACCOUNT_REF; Required; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Supplier Address line 1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Supplier Address line 2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Supplier Address line 3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Supplier Address line 4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Supplier Address line 5 (SDO ADDRESS_5; Optional; precision 0)"},"amountPrepaid":{"type":"number","nullable":true,"description":"Amount prepaid (SDO AMOUNT_PREPAID; Optional; precision 2)"},"analysis1":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"baseAmountPaid":{"type":"number","nullable":true,"description":"Base Amount prepaid (SDO BASE_AMOUNT_PAID; Optional; precision 2)"},"baseCarrNet":{"type":"number","nullable":true,"description":"Base Carriage net amount (SDO BASE_CARR_NET; Optional; precision 2)"},"baseCarrTax":{"type":"number","nullable":true,"description":"Base Carriage tax amount (SDO BASE_CARR_TAX; Optional; precision 2)"},"baseSettDiscRate":{"type":"number","nullable":true,"description":"Base Settlement discount % rate (SDO BASE_SETT_DISC_RATE; Optional; precision 2)"},"baseTotNet":{"type":"number","nullable":true,"description":"Base Net amount (goods but not carriage) (SDO BASE_TOT_NET; Optional; precision 2)"},"baseTotTax":{"type":"number","nullable":true,"description":"Base Tax amount (goods but not carriage) (SDO BASE_TOT_TAX; Optional; precision 2)"},"carrDeptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Carriage department number (SDO CARR_DEPT_NUMBER; Optional; precision 0)"},"carrNet":{"type":"number","nullable":true,"description":"Carriage net amount (SDO CARR_NET; Optional; precision 2)"},"carrNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Carriage nominal code (SDO CARR_NOM_CODE; Optional; precision 0)"},"carrTax":{"type":"number","nullable":true,"description":"Carriage tax amount (SDO CARR_TAX; Optional; precision 2)"},"carrTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Carriage tax code (SDO CARR_TAX_CODE; Optional; precision 0)"},"consignmentRef":{"type":"string","nullable":true,"maxLength":30,"description":"Consignment Reference (SDO CONSIGNMENT_REF; Optional; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Supplier Contact name (SDO CONTACT_NAME; Optional; precision 0)"},"costCodeId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Global Project Cost Code ID (SDO COST_CODE_ID; Optional; precision 0)"},"countryCode":{"type":"string","nullable":true,"maxLength":2,"description":"Supplier Country code (SDO COUNTRY_CODE; Optional; precision 0)"},"courier":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Courier Number (SDO COURIER; Optional; precision 0)"},"currency":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency (SDO CURRENCY; Optional; precision 0)"},"currencyUsed":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency Used (SDO CURRENCY_USED; Optional; precision 0)"},"delAddress1":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 1 (SDO DEL_ADDRESS_1; Optional; precision 0)"},"delAddress2":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 2 (SDO DEL_ADDRESS_2; Optional; precision 0)"},"delAddress3":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 3 (SDO DEL_ADDRESS_3; Optional; precision 0)"},"delAddress4":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 4 (SDO DEL_ADDRESS_4; Optional; precision 0)"},"delAddress5":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 5 (SDO DEL_ADDRESS_5; Optional; precision 0)"},"deletedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Is Deleted (SDO DELETED_FLAG; Optional; precision 0)"},"deliveryDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Delivery date (SDO DELIVERY_DATE; Optional; precision 0)"},"deliveryName":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address name (SDO DELIVERY_NAME; Optional; precision 0)"},"discountType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Discount Type (SDO DISCOUNT_TYPE; Optional; precision 0)"},"dueDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Due Date (SDO DUE_DATE; Optional; precision 0)"},"emailed":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Emailed flag - Yes/No (SDO EMAILED; Optional; precision 0)"},"eoriNumber":{"type":"string","nullable":true,"maxLength":17,"description":"Delivery address EORI Number (SDO EORI_NUMBER; Optional; precision 0)"},"euroGross":{"type":"number","nullable":true,"description":"euro Gross Amount (SDO EURO_GROSS; Optional; precision 6)"},"euroRate":{"type":"number","nullable":true,"description":"euro Rate (SDO EURO_RATE; Optional; precision 6)"},"externalUsage":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Number of External Usages (SDO EXTERNAL_USAGE; Optional; precision 0)"},"firstItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO FIRST_ITEM; Optional; precision 0)"},"foreignGross":{"type":"number","nullable":true,"description":"Foreign Gross Amount (SDO FOREIGN_GROSS; Optional; precision 6)"},"foreignRate":{"type":"number","nullable":true,"description":"Foreign Rate for euro currency (SDO FOREIGN_RATE; Optional; precision 6)"},"gdnNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"GDN Reference (SDO GDN_NUMBER; Optional; precision 0)"},"globalDeptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Global department number (SDO GLOBAL_DEPT_NUMBER; Optional; precision 0)"},"hasExternalLink":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Has External Link (SDO HAS_EXTERNAL_LINK; Optional; precision 0)"},"incoterms":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Incoterms (SDO INCOTERMS; Optional; precision 0)"},"intrastatStatus":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Intrastat Reconciled Status (SDO INTRASTAT_STATUS; Optional; precision 0)"},"invoiceForeignBalance":{"type":"number","nullable":true,"description":"Foreign Balance (SDO INVOICE_FOREIGN_BALANCE; Optional; precision 6)"},"invoiceNumber":{"type":"string","nullable":true,"maxLength":7,"description":"Corresponding invoice number (SDO INVOICE_NUMBER; Required; precision 0)"},"itemsNet":{"type":"number","nullable":true,"description":"Net amount (goods but not carriage) (SDO ITEMS_NET; Optional; precision 2)"},"itemsTax":{"type":"number","nullable":true,"description":"Tax amount (goods but not carriage) (SDO ITEMS_TAX; Optional; precision 2)"},"lastUpdated":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date of last update (SDO LAST_UPDATED; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Supplier Account Name (SDO NAME; Optional; precision 0)"},"notes1":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 1 (SDO NOTES_1; Optional; precision 0)"},"notes2":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 2 (SDO NOTES_2; Optional; precision 0)"},"notes3":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 3 (SDO NOTES_3; Optional; precision 0)"},"orderDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Order Date (SDO ORDER_DATE; Required; precision 0)"},"orderNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Order number (SDO ORDER_NUMBER; Required; precision 0)"},"orderType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Order type code (SDO ORDER_TYPE; Required; precision 0)"},"paymentRef":{"type":"string","nullable":true,"maxLength":30,"description":"Payment reference (SDO PAYMENT_REF; Optional; precision 0)"},"paymentType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Payment Type (SR/SA) (SDO PAYMENT_TYPE; Optional; precision 0)"},"postedCode":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Posted flag - No/Part/Full (SDO POSTED_CODE; Optional; precision 0)"},"practiceSolutionsRefn":{"type":"string","nullable":true,"maxLength":60,"description":"Sage Practice Solutions Reference (SDO PRACTICE_SOLUTIONS_REFN; Optional; precision 0)"},"printedCode":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Printed flag - Yes/No (SDO PRINTED_CODE; Optional; precision 0)"},"projectId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Global Project ID (SDO PROJECT_ID; Optional; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"recurringReference":{"type":"string","nullable":true,"maxLength":11,"description":"Recurring Reference (SDO RECURRING_REFERENCE; Optional; precision 0)"},"settlementDiscRate":{"type":"number","nullable":true,"description":"Settlement discount % rate (SDO SETTLEMENT_DISC_RATE; Optional; precision 2)"},"settlementDueDays":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Settlement days (SDO SETTLEMENT_DUE_DAYS; Optional; precision 0)"},"status":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Order status code (SDO STATUS; Optional; precision 0)"},"suppDiscRate":{"type":"number","nullable":true,"description":"Supplier Discount (SDO SUPP_DISC_RATE; Optional; precision 2)"},"suppOrderNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Supplier's order number (SDO SUPP_ORDER_NUMBER; Optional; precision 0)"},"suppTelNumber":{"type":"string","nullable":true,"maxLength":30,"description":"Supplier's telephone number (SDO SUPP_TEL_NUMBER; Optional; precision 0)"},"takenBy":{"type":"string","nullable":true,"maxLength":60,"description":"Order taken by (SDO TAKEN_BY; Optional; precision 0)"},"totalBytes":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO TOTAL_BYTES; Optional; precision 0)"},"vatRegNumber":{"type":"string","nullable":true,"maxLength":20,"description":"VAT Number (SDO VAT_REG_NUMBER; Optional; precision 0)"},"id":{"type":"string"},"lines":{"type":"array","items":{"type":"object","properties":{"addDiscRate":{"type":"number","nullable":true,"description":"Additional discount percentage rate (SDO ADD_DISC_RATE; Optional; precision 2)"},"baseFullNet":{"type":"number","nullable":true,"description":"Full net value in Base Currency (SDO BASE_FULL_NET; Optional; precision 2)"},"baseNet":{"type":"number","nullable":true,"description":"Net value in Base Currency (SDO BASE_NET; Optional; precision 2)"},"baseTax":{"type":"number","nullable":true,"description":"Tax value in Base Currency (SDO BASE_TAX; Optional; precision 2)"},"comment1":{"type":"string","nullable":true,"maxLength":60,"description":"Comment 1 (SDO COMMENT_1; Optional; precision 0)"},"comment2":{"type":"string","nullable":true,"maxLength":60,"description":"Comment 2 (SDO COMMENT_2; Optional; precision 0)"},"costCodeId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Project Cost Code ID (SDO COST_CODE_ID; Optional; precision 0)"},"deliveryDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Delivery date (SDO DELIVERY_DATE; Optional; precision 0)"},"deptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Department number (SDO DEPT_NUMBER; Optional; precision 0)"},"description":{"type":"string","nullable":true,"maxLength":120,"description":"Description (SDO DESCRIPTION; Optional; precision 0)"},"discountAmount":{"type":"number","nullable":true,"description":"Discount amount (SDO DISCOUNT_AMOUNT; Optional; precision 2)"},"discountRate":{"type":"number","nullable":true,"description":"Discount percentage rate (SDO DISCOUNT_RATE; Optional; precision 2)"},"dueDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Due Date (SDO DUE_DATE; Optional; precision 0)"},"extOrderLineRef":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"External Line Reference for SOP to INV link (SDO EXT_ORDER_LINE_REF; Optional; precision 0)"},"extOrderRef":{"type":"string","nullable":true,"maxLength":30,"description":"External Reference for SOP to INV link (SDO EXT_ORDER_REF; Optional; precision 0)"},"fullNetAmount":{"type":"number","nullable":true,"description":"Full net amount (before discount) (SDO FULL_NET_AMOUNT; Optional; precision 2)"},"fundNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Fund number (SDO FUND_NUMBER; Optional; precision 0)"},"invoiceNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Invoice Number (SDO INVOICE_NUMBER; Optional; precision 0)"},"itemNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Item Number (SDO ITEM_NUMBER; Optional; precision 0)"},"itemid":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Unique ID (SDO ITEMID; Optional; precision 0)"},"jobReference":{"type":"string","nullable":true,"maxLength":60,"description":"Job Reference (SDO JOB_REFERENCE; Optional; precision 0)"},"netAmount":{"type":"number","nullable":true,"description":"Net amount (after discount) (SDO NET_AMOUNT; Optional; precision 2)"},"nextItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO NEXT_ITEM; Optional; precision 0)"},"nominalCode":{"type":"string","nullable":true,"maxLength":8,"description":"Nominal code (SDO NOMINAL_CODE; Optional; precision 0)"},"offset":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Offset of Service Text (SDO OFFSET; Optional; precision 0)"},"prevItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO PREV_ITEM; Optional; precision 0)"},"projectId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Project ID (SDO PROJECT_ID; Optional; precision 0)"},"qtyAllocated":{"type":"number","nullable":true,"description":"Quantity allocated for this order (SDO QTY_ALLOCATED; Optional; precision 102)"},"qtyAllocatedToProject":{"type":"number","nullable":true,"description":"Value allocated to project (SDO QTY_ALLOCATED_TO_PROJECT; Optional; precision 0)"},"qtyDelivered":{"type":"number","nullable":true,"description":"Quantity previously delivered for this order (SDO QTY_DELIVERED; Optional; precision 102)"},"qtyDespatch":{"type":"number","nullable":true,"description":"Quantity to despatch/despatched on this delivery (SDO QTY_DESPATCH; Optional; precision 102)"},"qtyIntrastatConfirmed":{"type":"number","nullable":true,"description":"Quantity Intrastat Confirmed (SDO QTY_INTRASTAT_CONFIRMED; Optional; precision 102)"},"qtyInvoiced":{"type":"number","nullable":true,"description":"Qty Invoiced (SDO QTY_INVOICED; Optional; precision 0)"},"qtyIssuedToProject":{"type":"number","nullable":true,"description":"Value Issued to project (SDO QTY_ISSUED_TO_PROJECT; Optional; precision 0)"},"qtyOrder":{"type":"number","nullable":true,"description":"Quantity ordered (SDO QTY_ORDER; Optional; precision 102)"},"serviceFile":{"type":"string","nullable":true,"maxLength":120,"description":"Redundant - Do not use (SDO SERVICE_FILE; Optional; precision 0)"},"serviceFileSize":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Redundant - Do not use (SDO SERVICE_FILE_SIZE; Optional; precision 0)"},"serviceFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Item Type Flag (SDO SERVICE_FLAG; Optional; precision 0)"},"serviceItemLines":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Redundant - Do not use (SDO SERVICE_ITEM_LINES; Optional; precision 0)"},"stockCode":{"type":"string","nullable":true,"maxLength":30,"description":"Stock code (SDO STOCK_CODE; Required; precision 0)"},"taxAmount":{"type":"number","nullable":true,"description":"Tax amount (SDO TAX_AMOUNT; Optional; precision 2)"},"taxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax code (SDO TAX_CODE; Optional; precision 0)"},"taxFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":" (SDO TAX_FLAG; Optional; precision 0)"},"taxRate":{"type":"number","nullable":true,"description":"Tax rate (SDO TAX_RATE; Optional; precision 2)"},"text":{"type":"string","nullable":true,"maxLength":120,"description":"Service invoice/credit text (SDO TEXT; Optional; precision 0)"},"unitOfSale":{"type":"string","nullable":true,"maxLength":8,"description":"Unit of sale (SDO UNIT_OF_SALE; Optional; precision 0)"},"unitPrice":{"type":"number","nullable":true,"description":"Unit price (SDO UNIT_PRICE; Optional; precision 101)"}},"required":["addDiscRate","baseFullNet","baseNet","baseTax","comment1","comment2","costCodeId","deliveryDate","deptNumber","description","discountAmount","discountRate","dueDate","extOrderLineRef","extOrderRef","fullNetAmount","fundNumber","invoiceNumber","itemNumber","itemid","jobReference","netAmount","nextItem","nominalCode","offset","prevItem","projectId","qtyAllocated","qtyAllocatedToProject","qtyDelivered","qtyDespatch","qtyIntrastatConfirmed","qtyInvoiced","qtyIssuedToProject","qtyOrder","serviceFile","serviceFileSize","serviceFlag","serviceItemLines","stockCode","taxAmount","taxCode","taxFlag","taxRate","text","unitOfSale","unitPrice"],"additionalProperties":false}}},"required":["accountRef","address1","address2","address3","address4","address5","amountPrepaid","analysis1","analysis2","analysis3","baseAmountPaid","baseCarrNet","baseCarrTax","baseSettDiscRate","baseTotNet","baseTotTax","carrDeptNumber","carrNet","carrNomCode","carrTax","carrTaxCode","consignmentRef","contactName","costCodeId","countryCode","courier","currency","currencyUsed","delAddress1","delAddress2","delAddress3","delAddress4","delAddress5","deletedFlag","deliveryDate","deliveryName","discountType","dueDate","emailed","eoriNumber","euroGross","euroRate","externalUsage","firstItem","foreignGross","foreignRate","gdnNumber","globalDeptNumber","hasExternalLink","incoterms","intrastatStatus","invoiceForeignBalance","invoiceNumber","itemsNet","itemsTax","lastUpdated","name","notes1","notes2","notes3","orderDate","orderNumber","orderType","paymentRef","paymentType","postedCode","practiceSolutionsRefn","printedCode","projectId","recordCreateDate","recordDeleted","recordModifyDate","recurringReference","settlementDiscRate","settlementDueDays","status","suppDiscRate","suppOrderNumber","suppTelNumber","takenBy","totalBytes","vatRegNumber","id","lines"],"additionalProperties":false},"Uk34_1_purchase_orders_get":{"type":"object","properties":{"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Account reference (SDO ACCOUNT_REF; Required; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Supplier Address line 1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Supplier Address line 2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Supplier Address line 3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Supplier Address line 4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Supplier Address line 5 (SDO ADDRESS_5; Optional; precision 0)"},"amountPrepaid":{"type":"number","nullable":true,"description":"Amount prepaid (SDO AMOUNT_PREPAID; Optional; precision 2)"},"analysis1":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 1 (SDO ANALYSIS_1; Optional; precision 0)"},"analysis2":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 2 (SDO ANALYSIS_2; Optional; precision 0)"},"analysis3":{"type":"string","nullable":true,"maxLength":30,"description":"Analysis 3 (SDO ANALYSIS_3; Optional; precision 0)"},"baseAmountPaid":{"type":"number","nullable":true,"description":"Base Amount prepaid (SDO BASE_AMOUNT_PAID; Optional; precision 2)"},"baseCarrNet":{"type":"number","nullable":true,"description":"Base Carriage net amount (SDO BASE_CARR_NET; Optional; precision 2)"},"baseCarrTax":{"type":"number","nullable":true,"description":"Base Carriage tax amount (SDO BASE_CARR_TAX; Optional; precision 2)"},"baseSettDiscRate":{"type":"number","nullable":true,"description":"Base Settlement discount % rate (SDO BASE_SETT_DISC_RATE; Optional; precision 2)"},"baseTotNet":{"type":"number","nullable":true,"description":"Base Net amount (goods but not carriage) (SDO BASE_TOT_NET; Optional; precision 2)"},"baseTotTax":{"type":"number","nullable":true,"description":"Base Tax amount (goods but not carriage) (SDO BASE_TOT_TAX; Optional; precision 2)"},"carrDeptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Carriage department number (SDO CARR_DEPT_NUMBER; Optional; precision 0)"},"carrNet":{"type":"number","nullable":true,"description":"Carriage net amount (SDO CARR_NET; Optional; precision 2)"},"carrNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Carriage nominal code (SDO CARR_NOM_CODE; Optional; precision 0)"},"carrTax":{"type":"number","nullable":true,"description":"Carriage tax amount (SDO CARR_TAX; Optional; precision 2)"},"carrTaxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Carriage tax code (SDO CARR_TAX_CODE; Optional; precision 0)"},"consignmentRef":{"type":"string","nullable":true,"maxLength":30,"description":"Consignment Reference (SDO CONSIGNMENT_REF; Optional; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Supplier Contact name (SDO CONTACT_NAME; Optional; precision 0)"},"costCodeId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Global Project Cost Code ID (SDO COST_CODE_ID; Optional; precision 0)"},"countryCode":{"type":"string","nullable":true,"maxLength":2,"description":"Supplier Country code (SDO COUNTRY_CODE; Optional; precision 0)"},"courier":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Courier Number (SDO COURIER; Optional; precision 0)"},"currency":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency (SDO CURRENCY; Optional; precision 0)"},"currencyUsed":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Currency Used (SDO CURRENCY_USED; Optional; precision 0)"},"delAddress1":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 1 (SDO DEL_ADDRESS_1; Optional; precision 0)"},"delAddress2":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 2 (SDO DEL_ADDRESS_2; Optional; precision 0)"},"delAddress3":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 3 (SDO DEL_ADDRESS_3; Optional; precision 0)"},"delAddress4":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 4 (SDO DEL_ADDRESS_4; Optional; precision 0)"},"delAddress5":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 5 (SDO DEL_ADDRESS_5; Optional; precision 0)"},"deletedFlag":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Is Deleted (SDO DELETED_FLAG; Optional; precision 0)"},"deliveryDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Delivery date (SDO DELIVERY_DATE; Optional; precision 0)"},"deliveryName":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address name (SDO DELIVERY_NAME; Optional; precision 0)"},"discountType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Discount Type (SDO DISCOUNT_TYPE; Optional; precision 0)"},"dueDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Due Date (SDO DUE_DATE; Optional; precision 0)"},"emailed":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Emailed flag - Yes/No (SDO EMAILED; Optional; precision 0)"},"eoriNumber":{"type":"string","nullable":true,"maxLength":17,"description":"Delivery address EORI Number (SDO EORI_NUMBER; Optional; precision 0)"},"euroGross":{"type":"number","nullable":true,"description":"euro Gross Amount (SDO EURO_GROSS; Optional; precision 6)"},"euroRate":{"type":"number","nullable":true,"description":"euro Rate (SDO EURO_RATE; Optional; precision 6)"},"externalUsage":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Number of External Usages (SDO EXTERNAL_USAGE; Optional; precision 0)"},"firstItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO FIRST_ITEM; Optional; precision 0)"},"foreignGross":{"type":"number","nullable":true,"description":"Foreign Gross Amount (SDO FOREIGN_GROSS; Optional; precision 6)"},"foreignRate":{"type":"number","nullable":true,"description":"Foreign Rate for euro currency (SDO FOREIGN_RATE; Optional; precision 6)"},"gdnNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"GDN Reference (SDO GDN_NUMBER; Optional; precision 0)"},"globalDeptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Global department number (SDO GLOBAL_DEPT_NUMBER; Optional; precision 0)"},"hasExternalLink":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Has External Link (SDO HAS_EXTERNAL_LINK; Optional; precision 0)"},"incoterms":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Incoterms (SDO INCOTERMS; Optional; precision 0)"},"intrastatStatus":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Intrastat Reconciled Status (SDO INTRASTAT_STATUS; Optional; precision 0)"},"invoiceForeignBalance":{"type":"number","nullable":true,"description":"Foreign Balance (SDO INVOICE_FOREIGN_BALANCE; Optional; precision 6)"},"invoiceNumber":{"type":"string","nullable":true,"maxLength":7,"description":"Corresponding invoice number (SDO INVOICE_NUMBER; Required; precision 0)"},"itemsNet":{"type":"number","nullable":true,"description":"Net amount (goods but not carriage) (SDO ITEMS_NET; Optional; precision 2)"},"itemsTax":{"type":"number","nullable":true,"description":"Tax amount (goods but not carriage) (SDO ITEMS_TAX; Optional; precision 2)"},"lastUpdated":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date of last update (SDO LAST_UPDATED; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Supplier Account Name (SDO NAME; Optional; precision 0)"},"notes1":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 1 (SDO NOTES_1; Optional; precision 0)"},"notes2":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 2 (SDO NOTES_2; Optional; precision 0)"},"notes3":{"type":"string","nullable":true,"maxLength":60,"description":"Notes 3 (SDO NOTES_3; Optional; precision 0)"},"orderDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Order Date (SDO ORDER_DATE; Required; precision 0)"},"orderNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Order number (SDO ORDER_NUMBER; Required; precision 0)"},"orderType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Order type code (SDO ORDER_TYPE; Required; precision 0)"},"paymentRef":{"type":"string","nullable":true,"maxLength":30,"description":"Payment reference (SDO PAYMENT_REF; Optional; precision 0)"},"paymentType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Payment Type (SR/SA) (SDO PAYMENT_TYPE; Optional; precision 0)"},"postedCode":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Posted flag - No/Part/Full (SDO POSTED_CODE; Optional; precision 0)"},"practiceSolutionsRefn":{"type":"string","nullable":true,"maxLength":60,"description":"Sage Practice Solutions Reference (SDO PRACTICE_SOLUTIONS_REFN; Optional; precision 0)"},"printedCode":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Printed flag - Yes/No (SDO PRINTED_CODE; Optional; precision 0)"},"projectId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Global Project ID (SDO PROJECT_ID; Optional; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"recurringReference":{"type":"string","nullable":true,"maxLength":11,"description":"Recurring Reference (SDO RECURRING_REFERENCE; Optional; precision 0)"},"settlementDiscRate":{"type":"number","nullable":true,"description":"Settlement discount % rate (SDO SETTLEMENT_DISC_RATE; Optional; precision 2)"},"settlementDueDays":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Settlement days (SDO SETTLEMENT_DUE_DAYS; Optional; precision 0)"},"status":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Order status code (SDO STATUS; Optional; precision 0)"},"suppDiscRate":{"type":"number","nullable":true,"description":"Supplier Discount (SDO SUPP_DISC_RATE; Optional; precision 2)"},"suppOrderNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Supplier's order number (SDO SUPP_ORDER_NUMBER; Optional; precision 0)"},"suppTelNumber":{"type":"string","nullable":true,"maxLength":30,"description":"Supplier's telephone number (SDO SUPP_TEL_NUMBER; Optional; precision 0)"},"takenBy":{"type":"string","nullable":true,"maxLength":60,"description":"Order taken by (SDO TAKEN_BY; Optional; precision 0)"},"totalBytes":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO TOTAL_BYTES; Optional; precision 0)"},"vatRegNumber":{"type":"string","nullable":true,"maxLength":20,"description":"VAT Number (SDO VAT_REG_NUMBER; Optional; precision 0)"},"id":{"type":"string"},"lines":{"type":"array","items":{"type":"object","properties":{"addDiscRate":{"type":"number","nullable":true,"description":"Additional discount percentage rate (SDO ADD_DISC_RATE; Optional; precision 2)"},"baseFullNet":{"type":"number","nullable":true,"description":"Full net value in Base Currency (SDO BASE_FULL_NET; Optional; precision 2)"},"baseNet":{"type":"number","nullable":true,"description":"Net value in Base Currency (SDO BASE_NET; Optional; precision 2)"},"baseTax":{"type":"number","nullable":true,"description":"Tax value in Base Currency (SDO BASE_TAX; Optional; precision 2)"},"comment1":{"type":"string","nullable":true,"maxLength":60,"description":"Comment 1 (SDO COMMENT_1; Optional; precision 0)"},"comment2":{"type":"string","nullable":true,"maxLength":60,"description":"Comment 2 (SDO COMMENT_2; Optional; precision 0)"},"costCodeId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Project Cost Code ID (SDO COST_CODE_ID; Optional; precision 0)"},"deliveryDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Delivery date (SDO DELIVERY_DATE; Optional; precision 0)"},"deptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Department number (SDO DEPT_NUMBER; Optional; precision 0)"},"description":{"type":"string","nullable":true,"maxLength":120,"description":"Description (SDO DESCRIPTION; Optional; precision 0)"},"discountAmount":{"type":"number","nullable":true,"description":"Discount amount (SDO DISCOUNT_AMOUNT; Optional; precision 2)"},"discountRate":{"type":"number","nullable":true,"description":"Discount percentage rate (SDO DISCOUNT_RATE; Optional; precision 2)"},"dueDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Due Date (SDO DUE_DATE; Optional; precision 0)"},"extOrderLineRef":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"External Line Reference for SOP to INV link (SDO EXT_ORDER_LINE_REF; Optional; precision 0)"},"extOrderRef":{"type":"string","nullable":true,"maxLength":30,"description":"External Reference for SOP to INV link (SDO EXT_ORDER_REF; Optional; precision 0)"},"fullNetAmount":{"type":"number","nullable":true,"description":"Full net amount (before discount) (SDO FULL_NET_AMOUNT; Optional; precision 2)"},"fundNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Fund number (SDO FUND_NUMBER; Optional; precision 0)"},"invoiceNumber":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Invoice Number (SDO INVOICE_NUMBER; Optional; precision 0)"},"itemNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Item Number (SDO ITEM_NUMBER; Optional; precision 0)"},"itemid":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Unique ID (SDO ITEMID; Optional; precision 0)"},"jobReference":{"type":"string","nullable":true,"maxLength":60,"description":"Job Reference (SDO JOB_REFERENCE; Optional; precision 0)"},"netAmount":{"type":"number","nullable":true,"description":"Net amount (after discount) (SDO NET_AMOUNT; Optional; precision 2)"},"nextItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO NEXT_ITEM; Optional; precision 0)"},"nominalCode":{"type":"string","nullable":true,"maxLength":8,"description":"Nominal code (SDO NOMINAL_CODE; Optional; precision 0)"},"offset":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Offset of Service Text (SDO OFFSET; Optional; precision 0)"},"prevItem":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO PREV_ITEM; Optional; precision 0)"},"projectId":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Project ID (SDO PROJECT_ID; Optional; precision 0)"},"qtyAllocated":{"type":"number","nullable":true,"description":"Quantity allocated for this order (SDO QTY_ALLOCATED; Optional; precision 102)"},"qtyAllocatedToProject":{"type":"number","nullable":true,"description":"Value allocated to project (SDO QTY_ALLOCATED_TO_PROJECT; Optional; precision 0)"},"qtyDelivered":{"type":"number","nullable":true,"description":"Quantity previously delivered for this order (SDO QTY_DELIVERED; Optional; precision 102)"},"qtyDespatch":{"type":"number","nullable":true,"description":"Quantity to despatch/despatched on this delivery (SDO QTY_DESPATCH; Optional; precision 102)"},"qtyIntrastatConfirmed":{"type":"number","nullable":true,"description":"Quantity Intrastat Confirmed (SDO QTY_INTRASTAT_CONFIRMED; Optional; precision 102)"},"qtyInvoiced":{"type":"number","nullable":true,"description":"Qty Invoiced (SDO QTY_INVOICED; Optional; precision 0)"},"qtyIssuedToProject":{"type":"number","nullable":true,"description":"Value Issued to project (SDO QTY_ISSUED_TO_PROJECT; Optional; precision 0)"},"qtyOrder":{"type":"number","nullable":true,"description":"Quantity ordered (SDO QTY_ORDER; Optional; precision 102)"},"serviceFile":{"type":"string","nullable":true,"maxLength":120,"description":"Redundant - Do not use (SDO SERVICE_FILE; Optional; precision 0)"},"serviceFileSize":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Redundant - Do not use (SDO SERVICE_FILE_SIZE; Optional; precision 0)"},"serviceFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Item Type Flag (SDO SERVICE_FLAG; Optional; precision 0)"},"serviceItemLines":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":"Redundant - Do not use (SDO SERVICE_ITEM_LINES; Optional; precision 0)"},"stockCode":{"type":"string","nullable":true,"maxLength":30,"description":"Stock code (SDO STOCK_CODE; Required; precision 0)"},"taxAmount":{"type":"number","nullable":true,"description":"Tax amount (SDO TAX_AMOUNT; Optional; precision 2)"},"taxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax code (SDO TAX_CODE; Optional; precision 0)"},"taxFlag":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":" (SDO TAX_FLAG; Optional; precision 0)"},"taxRate":{"type":"number","nullable":true,"description":"Tax rate (SDO TAX_RATE; Optional; precision 2)"},"text":{"type":"string","nullable":true,"maxLength":120,"description":"Service invoice/credit text (SDO TEXT; Optional; precision 0)"},"unitOfSale":{"type":"string","nullable":true,"maxLength":8,"description":"Unit of sale (SDO UNIT_OF_SALE; Optional; precision 0)"},"unitPrice":{"type":"number","nullable":true,"description":"Unit price (SDO UNIT_PRICE; Optional; precision 101)"}},"required":["addDiscRate","baseFullNet","baseNet","baseTax","comment1","comment2","costCodeId","deliveryDate","deptNumber","description","discountAmount","discountRate","dueDate","extOrderLineRef","extOrderRef","fullNetAmount","fundNumber","invoiceNumber","itemNumber","itemid","jobReference","netAmount","nextItem","nominalCode","offset","prevItem","projectId","qtyAllocated","qtyAllocatedToProject","qtyDelivered","qtyDespatch","qtyIntrastatConfirmed","qtyInvoiced","qtyIssuedToProject","qtyOrder","serviceFile","serviceFileSize","serviceFlag","serviceItemLines","stockCode","taxAmount","taxCode","taxFlag","taxRate","text","unitOfSale","unitPrice"],"additionalProperties":false}}},"required":["accountRef","address1","address2","address3","address4","address5","amountPrepaid","analysis1","analysis2","analysis3","baseAmountPaid","baseCarrNet","baseCarrTax","baseSettDiscRate","baseTotNet","baseTotTax","carrDeptNumber","carrNet","carrNomCode","carrTax","carrTaxCode","consignmentRef","contactName","costCodeId","countryCode","courier","currency","currencyUsed","delAddress1","delAddress2","delAddress3","delAddress4","delAddress5","deletedFlag","deliveryDate","deliveryName","discountType","dueDate","emailed","eoriNumber","euroGross","euroRate","externalUsage","firstItem","foreignGross","foreignRate","gdnNumber","globalDeptNumber","hasExternalLink","incoterms","intrastatStatus","invoiceForeignBalance","invoiceNumber","itemsNet","itemsTax","lastUpdated","name","notes1","notes2","notes3","orderDate","orderNumber","orderType","paymentRef","paymentType","postedCode","practiceSolutionsRefn","printedCode","projectId","recordCreateDate","recordDeleted","recordModifyDate","recurringReference","settlementDiscRate","settlementDueDays","status","suppDiscRate","suppOrderNumber","suppTelNumber","takenBy","totalBytes","vatRegNumber","id","lines"],"additionalProperties":false},"Us2026_1_purchase_orders_get":{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"amount":{"type":"number"},"date":{"type":"string"},"isPosted":{"type":"boolean"},"lastSavedAt":{"type":"string"},"referenceNumber":{"type":"string","nullable":true,"maxLength":100000},"customerReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"discountAmount":{"type":"number"},"goodThroughDate":{"type":"string","nullable":true},"internalNote":{"type":"string","nullable":true,"maxLength":100000},"isClosed":{"type":"boolean"},"isDropShip":{"type":"boolean"},"mainAddress":{"type":"object","nullable":true,"properties":{"address":{"type":"object","nullable":true,"properties":{"address1":{"type":"string","nullable":true,"maxLength":100000},"address2":{"type":"string","nullable":true,"maxLength":100000},"city":{"type":"string","nullable":true,"maxLength":100000},"country":{"type":"string","nullable":true,"maxLength":100000},"salesTaxCode":{"type":"string","nullable":true,"maxLength":100000},"state":{"type":"string","nullable":true,"maxLength":100000},"zip":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"name":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"printVendorNoteAfterLineItems":{"type":"boolean"},"purchaseOrderLines":{"type":"array","nullable":true,"items":{"type":"object","nullable":true,"properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"amount":{"type":"number"},"description":{"type":"string","nullable":true,"maxLength":100000},"isUsed":{"type":"boolean"},"inventoryItemReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"jobReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"parentTransactionReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"quantity":{"type":"number"},"quantityReceived":{"type":"number"},"unitPrice":{"type":"number"},"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"maxItems":10000},"shipToAddress":{"type":"object","nullable":true,"properties":{"address":{"type":"object","nullable":true,"properties":{"address1":{"type":"string","nullable":true,"maxLength":100000},"address2":{"type":"string","nullable":true,"maxLength":100000},"city":{"type":"string","nullable":true,"maxLength":100000},"country":{"type":"string","nullable":true,"maxLength":100000},"salesTaxCode":{"type":"string","nullable":true,"maxLength":100000},"state":{"type":"string","nullable":true,"maxLength":100000},"zip":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"name":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"shipVia":{"type":"string","nullable":true,"maxLength":100000},"termsDescription":{"type":"string","nullable":true,"maxLength":100000},"vendorNote":{"type":"string","nullable":true,"maxLength":100000},"vendorReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"Us2026_1_purchase_orders_create":{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"referenceNumber":{"type":"string","minLength":1,"maxLength":100000},"customerReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"discountAmount":{"type":"number"},"goodThroughDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"internalNote":{"type":"string","nullable":true,"maxLength":100000},"isClosed":{"type":"boolean"},"isDropShip":{"type":"boolean"},"printVendorNoteAfterLineItems":{"type":"boolean"},"shipVia":{"type":"string","nullable":true,"maxLength":100000},"termsDescription":{"type":"string","nullable":true,"maxLength":100000},"vendorNote":{"type":"string","nullable":true,"maxLength":100000},"vendorReference":{"type":"object","properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"lines":{"type":"array","items":{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"amount":{"type":"number"},"description":{"type":"string","nullable":true,"maxLength":100000},"inventoryItemReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"jobReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"quantity":{"type":"number"},"unitPrice":{"type":"number"}},"additionalProperties":false},"minItems":1,"maxItems":1000}},"required":["date","referenceNumber","vendorReference","lines"],"additionalProperties":false},"Us2026_1_purchase_orders_update":{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"referenceNumber":{"type":"string","nullable":true,"maxLength":100000},"customerReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"discountAmount":{"type":"number"},"goodThroughDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"internalNote":{"type":"string","nullable":true,"maxLength":100000},"isClosed":{"type":"boolean"},"isDropShip":{"type":"boolean"},"printVendorNoteAfterLineItems":{"type":"boolean"},"shipVia":{"type":"string","nullable":true,"maxLength":100000},"termsDescription":{"type":"string","nullable":true,"maxLength":100000},"vendorNote":{"type":"string","nullable":true,"maxLength":100000},"vendorReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false}},"additionalProperties":false,"minProperties":1},"Uk26_3_fixed_assets_get":{"type":"object","properties":{"assetCat":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Category number (SDO ASSET_CAT; Optional; precision 0)"},"assetRef":{"type":"string","nullable":true,"maxLength":8,"description":"Fixed asset reference (SDO ASSET_REF; Required; precision 0)"},"balSheetNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Balance sheet nominal code (SDO BAL_SHEET_NOM_CODE; Required; precision 0)"},"costPrice":{"type":"number","nullable":true,"description":"Cost price (SDO COST_PRICE; Optional; precision 2)"},"depLast":{"type":"number","nullable":true,"description":"Amount of last depreciation (SDO DEP_LAST; Optional; precision 2)"},"depMethodCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Depreciation method code (1-3) (SDO DEP_METHOD_CODE; Optional; precision 0)"},"depRate":{"type":"number","nullable":true,"description":"Depreciation rate (SDO DEP_RATE; Optional; precision 2)"},"depToDate":{"type":"number","nullable":true,"description":"Amount depreciated to date (SDO DEP_TO_DATE; Optional; precision 2)"},"deptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Department number (SDO DEPT_NUMBER; Optional; precision 0)"},"details1":{"type":"string","nullable":true,"maxLength":60,"description":"Details 1 (SDO DETAILS_1; Optional; precision 0)"},"details2":{"type":"string","nullable":true,"maxLength":60,"description":"Details 2 (SDO DETAILS_2; Optional; precision 0)"},"details3":{"type":"string","nullable":true,"maxLength":60,"description":"Details 3 (SDO DETAILS_3; Optional; precision 0)"},"employee":{"type":"string","nullable":true,"maxLength":15,"description":"Employee (SDO EMPLOYEE; Optional; precision 0)"},"netBook":{"type":"number","nullable":true,"description":"Net book value (SDO NET_BOOK; Optional; precision 2)"},"nextAsset":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO NEXT_ASSET; Optional; precision 0)"},"postDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":" (SDO POST_DATE; Optional; precision 0)"},"prevAsset":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO PREV_ASSET; Optional; precision 0)"},"profitLossNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Profit and Loss nominal code (SDO PROFIT_LOSS_NOM_CODE; Required; precision 0)"},"purchaseDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date of purchase (SDO PURCHASE_DATE; Optional; precision 0)"},"purchaseRef":{"type":"string","nullable":true,"maxLength":8,"description":"Purchase reference number (SDO PURCHASE_REF; Optional; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"serialNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Serial number (SDO SERIAL_NUMBER; Optional; precision 0)"},"id":{"type":"string"}},"required":["assetCat","assetRef","balSheetNomCode","costPrice","depLast","depMethodCode","depRate","depToDate","deptNumber","details1","details2","details3","employee","netBook","nextAsset","postDate","prevAsset","profitLossNomCode","purchaseDate","purchaseRef","recordCreateDate","recordDeleted","recordModifyDate","serialNumber","id"],"additionalProperties":false},"Uk27_2_fixed_assets_get":{"type":"object","properties":{"assetCat":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Category number (SDO ASSET_CAT; Optional; precision 0)"},"assetRef":{"type":"string","nullable":true,"maxLength":8,"description":"Fixed asset reference (SDO ASSET_REF; Required; precision 0)"},"balSheetNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Balance sheet nominal code (SDO BAL_SHEET_NOM_CODE; Required; precision 0)"},"costPrice":{"type":"number","nullable":true,"description":"Cost price (SDO COST_PRICE; Optional; precision 2)"},"depLast":{"type":"number","nullable":true,"description":"Amount of last depreciation (SDO DEP_LAST; Optional; precision 2)"},"depMethodCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Depreciation method code (1-3) (SDO DEP_METHOD_CODE; Optional; precision 0)"},"depRate":{"type":"number","nullable":true,"description":"Depreciation rate (SDO DEP_RATE; Optional; precision 2)"},"depToDate":{"type":"number","nullable":true,"description":"Amount depreciated to date (SDO DEP_TO_DATE; Optional; precision 2)"},"deptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Department number (SDO DEPT_NUMBER; Optional; precision 0)"},"details1":{"type":"string","nullable":true,"maxLength":60,"description":"Details 1 (SDO DETAILS_1; Optional; precision 0)"},"details2":{"type":"string","nullable":true,"maxLength":60,"description":"Details 2 (SDO DETAILS_2; Optional; precision 0)"},"details3":{"type":"string","nullable":true,"maxLength":60,"description":"Details 3 (SDO DETAILS_3; Optional; precision 0)"},"employee":{"type":"string","nullable":true,"maxLength":15,"description":"Employee (SDO EMPLOYEE; Optional; precision 0)"},"netBook":{"type":"number","nullable":true,"description":"Net book value (SDO NET_BOOK; Optional; precision 2)"},"nextAsset":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO NEXT_ASSET; Optional; precision 0)"},"postDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":" (SDO POST_DATE; Optional; precision 0)"},"prevAsset":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO PREV_ASSET; Optional; precision 0)"},"profitLossNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Profit and Loss nominal code (SDO PROFIT_LOSS_NOM_CODE; Required; precision 0)"},"purchaseDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date of purchase (SDO PURCHASE_DATE; Optional; precision 0)"},"purchaseRef":{"type":"string","nullable":true,"maxLength":8,"description":"Purchase reference number (SDO PURCHASE_REF; Optional; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"serialNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Serial number (SDO SERIAL_NUMBER; Optional; precision 0)"},"id":{"type":"string"}},"required":["assetCat","assetRef","balSheetNomCode","costPrice","depLast","depMethodCode","depRate","depToDate","deptNumber","details1","details2","details3","employee","netBook","nextAsset","postDate","prevAsset","profitLossNomCode","purchaseDate","purchaseRef","recordCreateDate","recordDeleted","recordModifyDate","serialNumber","id"],"additionalProperties":false},"Uk28_1_fixed_assets_get":{"type":"object","properties":{"assetCat":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Category number (SDO ASSET_CAT; Optional; precision 0)"},"assetRef":{"type":"string","nullable":true,"maxLength":8,"description":"Fixed asset reference (SDO ASSET_REF; Required; precision 0)"},"balSheetNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Balance sheet nominal code (SDO BAL_SHEET_NOM_CODE; Required; precision 0)"},"costPrice":{"type":"number","nullable":true,"description":"Cost price (SDO COST_PRICE; Optional; precision 2)"},"depLast":{"type":"number","nullable":true,"description":"Amount of last depreciation (SDO DEP_LAST; Optional; precision 2)"},"depMethodCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Depreciation method code (1-3) (SDO DEP_METHOD_CODE; Optional; precision 0)"},"depRate":{"type":"number","nullable":true,"description":"Depreciation rate (SDO DEP_RATE; Optional; precision 2)"},"depToDate":{"type":"number","nullable":true,"description":"Amount depreciated to date (SDO DEP_TO_DATE; Optional; precision 2)"},"deptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Department number (SDO DEPT_NUMBER; Optional; precision 0)"},"details1":{"type":"string","nullable":true,"maxLength":60,"description":"Details 1 (SDO DETAILS_1; Optional; precision 0)"},"details2":{"type":"string","nullable":true,"maxLength":60,"description":"Details 2 (SDO DETAILS_2; Optional; precision 0)"},"details3":{"type":"string","nullable":true,"maxLength":60,"description":"Details 3 (SDO DETAILS_3; Optional; precision 0)"},"employee":{"type":"string","nullable":true,"maxLength":15,"description":"Employee (SDO EMPLOYEE; Optional; precision 0)"},"netBook":{"type":"number","nullable":true,"description":"Net book value (SDO NET_BOOK; Optional; precision 2)"},"nextAsset":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO NEXT_ASSET; Optional; precision 0)"},"postDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":" (SDO POST_DATE; Optional; precision 0)"},"prevAsset":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO PREV_ASSET; Optional; precision 0)"},"profitLossNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Profit and Loss nominal code (SDO PROFIT_LOSS_NOM_CODE; Required; precision 0)"},"purchaseDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date of purchase (SDO PURCHASE_DATE; Optional; precision 0)"},"purchaseRef":{"type":"string","nullable":true,"maxLength":8,"description":"Purchase reference number (SDO PURCHASE_REF; Optional; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"serialNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Serial number (SDO SERIAL_NUMBER; Optional; precision 0)"},"id":{"type":"string"}},"required":["assetCat","assetRef","balSheetNomCode","costPrice","depLast","depMethodCode","depRate","depToDate","deptNumber","details1","details2","details3","employee","netBook","nextAsset","postDate","prevAsset","profitLossNomCode","purchaseDate","purchaseRef","recordCreateDate","recordDeleted","recordModifyDate","serialNumber","id"],"additionalProperties":false},"Uk29_2_fixed_assets_get":{"type":"object","properties":{"assetCat":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Category number (SDO ASSET_CAT; Optional; precision 0)"},"assetRef":{"type":"string","nullable":true,"maxLength":8,"description":"Fixed asset reference (SDO ASSET_REF; Required; precision 0)"},"balSheetNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Balance sheet nominal code (SDO BAL_SHEET_NOM_CODE; Required; precision 0)"},"costPrice":{"type":"number","nullable":true,"description":"Cost price (SDO COST_PRICE; Optional; precision 2)"},"depLast":{"type":"number","nullable":true,"description":"Amount of last depreciation (SDO DEP_LAST; Optional; precision 2)"},"depMethodCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Depreciation method code (1-3) (SDO DEP_METHOD_CODE; Optional; precision 0)"},"depRate":{"type":"number","nullable":true,"description":"Depreciation rate (SDO DEP_RATE; Optional; precision 2)"},"depToDate":{"type":"number","nullable":true,"description":"Amount depreciated to date (SDO DEP_TO_DATE; Optional; precision 2)"},"deptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Department number (SDO DEPT_NUMBER; Optional; precision 0)"},"details1":{"type":"string","nullable":true,"maxLength":60,"description":"Details 1 (SDO DETAILS_1; Optional; precision 0)"},"details2":{"type":"string","nullable":true,"maxLength":60,"description":"Details 2 (SDO DETAILS_2; Optional; precision 0)"},"details3":{"type":"string","nullable":true,"maxLength":60,"description":"Details 3 (SDO DETAILS_3; Optional; precision 0)"},"employee":{"type":"string","nullable":true,"maxLength":15,"description":"Employee (SDO EMPLOYEE; Optional; precision 0)"},"netBook":{"type":"number","nullable":true,"description":"Net book value (SDO NET_BOOK; Optional; precision 2)"},"nextAsset":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO NEXT_ASSET; Optional; precision 0)"},"postDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":" (SDO POST_DATE; Optional; precision 0)"},"prevAsset":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO PREV_ASSET; Optional; precision 0)"},"profitLossNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Profit and Loss nominal code (SDO PROFIT_LOSS_NOM_CODE; Required; precision 0)"},"purchaseDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date of purchase (SDO PURCHASE_DATE; Optional; precision 0)"},"purchaseRef":{"type":"string","nullable":true,"maxLength":8,"description":"Purchase reference number (SDO PURCHASE_REF; Optional; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"serialNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Serial number (SDO SERIAL_NUMBER; Optional; precision 0)"},"id":{"type":"string"}},"required":["assetCat","assetRef","balSheetNomCode","costPrice","depLast","depMethodCode","depRate","depToDate","deptNumber","details1","details2","details3","employee","netBook","nextAsset","postDate","prevAsset","profitLossNomCode","purchaseDate","purchaseRef","recordCreateDate","recordDeleted","recordModifyDate","serialNumber","id"],"additionalProperties":false},"Uk30_1_fixed_assets_get":{"type":"object","properties":{"assetCat":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Category number (SDO ASSET_CAT; Optional; precision 0)"},"assetRef":{"type":"string","nullable":true,"maxLength":8,"description":"Fixed asset reference (SDO ASSET_REF; Required; precision 0)"},"balSheetNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Balance sheet nominal code (SDO BAL_SHEET_NOM_CODE; Required; precision 0)"},"costPrice":{"type":"number","nullable":true,"description":"Cost price (SDO COST_PRICE; Optional; precision 2)"},"depLast":{"type":"number","nullable":true,"description":"Amount of last depreciation (SDO DEP_LAST; Optional; precision 2)"},"depMethodCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Depreciation method code (1-3) (SDO DEP_METHOD_CODE; Optional; precision 0)"},"depRate":{"type":"number","nullable":true,"description":"Depreciation rate (SDO DEP_RATE; Optional; precision 2)"},"depToDate":{"type":"number","nullable":true,"description":"Amount depreciated to date (SDO DEP_TO_DATE; Optional; precision 2)"},"deptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Department number (SDO DEPT_NUMBER; Optional; precision 0)"},"details1":{"type":"string","nullable":true,"maxLength":60,"description":"Details 1 (SDO DETAILS_1; Optional; precision 0)"},"details2":{"type":"string","nullable":true,"maxLength":60,"description":"Details 2 (SDO DETAILS_2; Optional; precision 0)"},"details3":{"type":"string","nullable":true,"maxLength":60,"description":"Details 3 (SDO DETAILS_3; Optional; precision 0)"},"employee":{"type":"string","nullable":true,"maxLength":15,"description":"Employee (SDO EMPLOYEE; Optional; precision 0)"},"netBook":{"type":"number","nullable":true,"description":"Net book value (SDO NET_BOOK; Optional; precision 2)"},"nextAsset":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO NEXT_ASSET; Optional; precision 0)"},"postDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":" (SDO POST_DATE; Optional; precision 0)"},"prevAsset":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO PREV_ASSET; Optional; precision 0)"},"profitLossNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Profit and Loss nominal code (SDO PROFIT_LOSS_NOM_CODE; Required; precision 0)"},"purchaseDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date of purchase (SDO PURCHASE_DATE; Optional; precision 0)"},"purchaseRef":{"type":"string","nullable":true,"maxLength":8,"description":"Purchase reference number (SDO PURCHASE_REF; Optional; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"serialNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Serial number (SDO SERIAL_NUMBER; Optional; precision 0)"},"id":{"type":"string"}},"required":["assetCat","assetRef","balSheetNomCode","costPrice","depLast","depMethodCode","depRate","depToDate","deptNumber","details1","details2","details3","employee","netBook","nextAsset","postDate","prevAsset","profitLossNomCode","purchaseDate","purchaseRef","recordCreateDate","recordDeleted","recordModifyDate","serialNumber","id"],"additionalProperties":false},"Uk31_1_fixed_assets_get":{"type":"object","properties":{"assetCat":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Category number (SDO ASSET_CAT; Optional; precision 0)"},"assetRef":{"type":"string","nullable":true,"maxLength":8,"description":"Fixed asset reference (SDO ASSET_REF; Required; precision 0)"},"balSheetNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Balance sheet nominal code (SDO BAL_SHEET_NOM_CODE; Required; precision 0)"},"costPrice":{"type":"number","nullable":true,"description":"Cost price (SDO COST_PRICE; Optional; precision 2)"},"depLast":{"type":"number","nullable":true,"description":"Amount of last depreciation (SDO DEP_LAST; Optional; precision 2)"},"depMethodCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Depreciation method code (1-3) (SDO DEP_METHOD_CODE; Optional; precision 0)"},"depRate":{"type":"number","nullable":true,"description":"Depreciation rate (SDO DEP_RATE; Optional; precision 2)"},"depToDate":{"type":"number","nullable":true,"description":"Amount depreciated to date (SDO DEP_TO_DATE; Optional; precision 2)"},"deptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Department number (SDO DEPT_NUMBER; Optional; precision 0)"},"details1":{"type":"string","nullable":true,"maxLength":60,"description":"Details 1 (SDO DETAILS_1; Optional; precision 0)"},"details2":{"type":"string","nullable":true,"maxLength":60,"description":"Details 2 (SDO DETAILS_2; Optional; precision 0)"},"details3":{"type":"string","nullable":true,"maxLength":60,"description":"Details 3 (SDO DETAILS_3; Optional; precision 0)"},"employee":{"type":"string","nullable":true,"maxLength":15,"description":"Employee (SDO EMPLOYEE; Optional; precision 0)"},"netBook":{"type":"number","nullable":true,"description":"Net book value (SDO NET_BOOK; Optional; precision 2)"},"nextAsset":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO NEXT_ASSET; Optional; precision 0)"},"postDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":" (SDO POST_DATE; Optional; precision 0)"},"prevAsset":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO PREV_ASSET; Optional; precision 0)"},"profitLossNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Profit and Loss nominal code (SDO PROFIT_LOSS_NOM_CODE; Required; precision 0)"},"purchaseDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date of purchase (SDO PURCHASE_DATE; Optional; precision 0)"},"purchaseRef":{"type":"string","nullable":true,"maxLength":8,"description":"Purchase reference number (SDO PURCHASE_REF; Optional; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"serialNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Serial number (SDO SERIAL_NUMBER; Optional; precision 0)"},"id":{"type":"string"}},"required":["assetCat","assetRef","balSheetNomCode","costPrice","depLast","depMethodCode","depRate","depToDate","deptNumber","details1","details2","details3","employee","netBook","nextAsset","postDate","prevAsset","profitLossNomCode","purchaseDate","purchaseRef","recordCreateDate","recordDeleted","recordModifyDate","serialNumber","id"],"additionalProperties":false},"Uk32_1_fixed_assets_get":{"type":"object","properties":{"assetCat":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Category number (SDO ASSET_CAT; Optional; precision 0)"},"assetRef":{"type":"string","nullable":true,"maxLength":8,"description":"Fixed asset reference (SDO ASSET_REF; Required; precision 0)"},"balSheetNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Balance sheet nominal code (SDO BAL_SHEET_NOM_CODE; Required; precision 0)"},"costPrice":{"type":"number","nullable":true,"description":"Cost price (SDO COST_PRICE; Optional; precision 2)"},"depLast":{"type":"number","nullable":true,"description":"Amount of last depreciation (SDO DEP_LAST; Optional; precision 2)"},"depMethodCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Depreciation method code (1-3) (SDO DEP_METHOD_CODE; Optional; precision 0)"},"depRate":{"type":"number","nullable":true,"description":"Depreciation rate (SDO DEP_RATE; Optional; precision 2)"},"depToDate":{"type":"number","nullable":true,"description":"Amount depreciated to date (SDO DEP_TO_DATE; Optional; precision 2)"},"deptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Department number (SDO DEPT_NUMBER; Optional; precision 0)"},"details1":{"type":"string","nullable":true,"maxLength":60,"description":"Details 1 (SDO DETAILS_1; Optional; precision 0)"},"details2":{"type":"string","nullable":true,"maxLength":60,"description":"Details 2 (SDO DETAILS_2; Optional; precision 0)"},"details3":{"type":"string","nullable":true,"maxLength":60,"description":"Details 3 (SDO DETAILS_3; Optional; precision 0)"},"employee":{"type":"string","nullable":true,"maxLength":15,"description":"Employee (SDO EMPLOYEE; Optional; precision 0)"},"netBook":{"type":"number","nullable":true,"description":"Net book value (SDO NET_BOOK; Optional; precision 2)"},"nextAsset":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO NEXT_ASSET; Optional; precision 0)"},"postDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":" (SDO POST_DATE; Optional; precision 0)"},"prevAsset":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO PREV_ASSET; Optional; precision 0)"},"profitLossNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Profit and Loss nominal code (SDO PROFIT_LOSS_NOM_CODE; Required; precision 0)"},"purchaseDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date of purchase (SDO PURCHASE_DATE; Optional; precision 0)"},"purchaseRef":{"type":"string","nullable":true,"maxLength":8,"description":"Purchase reference number (SDO PURCHASE_REF; Optional; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"serialNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Serial number (SDO SERIAL_NUMBER; Optional; precision 0)"},"id":{"type":"string"}},"required":["assetCat","assetRef","balSheetNomCode","costPrice","depLast","depMethodCode","depRate","depToDate","deptNumber","details1","details2","details3","employee","netBook","nextAsset","postDate","prevAsset","profitLossNomCode","purchaseDate","purchaseRef","recordCreateDate","recordDeleted","recordModifyDate","serialNumber","id"],"additionalProperties":false},"Uk33_1_fixed_assets_get":{"type":"object","properties":{"assetCat":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Category number (SDO ASSET_CAT; Optional; precision 0)"},"assetRef":{"type":"string","nullable":true,"maxLength":8,"description":"Fixed asset reference (SDO ASSET_REF; Required; precision 0)"},"balSheetNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Balance sheet nominal code (SDO BAL_SHEET_NOM_CODE; Required; precision 0)"},"costPrice":{"type":"number","nullable":true,"description":"Cost price (SDO COST_PRICE; Optional; precision 2)"},"depLast":{"type":"number","nullable":true,"description":"Amount of last depreciation (SDO DEP_LAST; Optional; precision 2)"},"depMethodCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Depreciation method code (1-3) (SDO DEP_METHOD_CODE; Optional; precision 0)"},"depRate":{"type":"number","nullable":true,"description":"Depreciation rate (SDO DEP_RATE; Optional; precision 2)"},"depToDate":{"type":"number","nullable":true,"description":"Amount depreciated to date (SDO DEP_TO_DATE; Optional; precision 2)"},"deptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Department number (SDO DEPT_NUMBER; Optional; precision 0)"},"details1":{"type":"string","nullable":true,"maxLength":60,"description":"Details 1 (SDO DETAILS_1; Optional; precision 0)"},"details2":{"type":"string","nullable":true,"maxLength":60,"description":"Details 2 (SDO DETAILS_2; Optional; precision 0)"},"details3":{"type":"string","nullable":true,"maxLength":60,"description":"Details 3 (SDO DETAILS_3; Optional; precision 0)"},"employee":{"type":"string","nullable":true,"maxLength":15,"description":"Employee (SDO EMPLOYEE; Optional; precision 0)"},"netBook":{"type":"number","nullable":true,"description":"Net book value (SDO NET_BOOK; Optional; precision 2)"},"nextAsset":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO NEXT_ASSET; Optional; precision 0)"},"postDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":" (SDO POST_DATE; Optional; precision 0)"},"prevAsset":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO PREV_ASSET; Optional; precision 0)"},"profitLossNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Profit and Loss nominal code (SDO PROFIT_LOSS_NOM_CODE; Required; precision 0)"},"purchaseDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date of purchase (SDO PURCHASE_DATE; Optional; precision 0)"},"purchaseRef":{"type":"string","nullable":true,"maxLength":8,"description":"Purchase reference number (SDO PURCHASE_REF; Optional; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"serialNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Serial number (SDO SERIAL_NUMBER; Optional; precision 0)"},"id":{"type":"string"}},"required":["assetCat","assetRef","balSheetNomCode","costPrice","depLast","depMethodCode","depRate","depToDate","deptNumber","details1","details2","details3","employee","netBook","nextAsset","postDate","prevAsset","profitLossNomCode","purchaseDate","purchaseRef","recordCreateDate","recordDeleted","recordModifyDate","serialNumber","id"],"additionalProperties":false},"Uk34_1_fixed_assets_get":{"type":"object","properties":{"assetCat":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Category number (SDO ASSET_CAT; Optional; precision 0)"},"assetRef":{"type":"string","nullable":true,"maxLength":8,"description":"Fixed asset reference (SDO ASSET_REF; Required; precision 0)"},"balSheetNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Balance sheet nominal code (SDO BAL_SHEET_NOM_CODE; Required; precision 0)"},"costPrice":{"type":"number","nullable":true,"description":"Cost price (SDO COST_PRICE; Optional; precision 2)"},"depLast":{"type":"number","nullable":true,"description":"Amount of last depreciation (SDO DEP_LAST; Optional; precision 2)"},"depMethodCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Depreciation method code (1-3) (SDO DEP_METHOD_CODE; Optional; precision 0)"},"depRate":{"type":"number","nullable":true,"description":"Depreciation rate (SDO DEP_RATE; Optional; precision 2)"},"depToDate":{"type":"number","nullable":true,"description":"Amount depreciated to date (SDO DEP_TO_DATE; Optional; precision 2)"},"deptNumber":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Department number (SDO DEPT_NUMBER; Optional; precision 0)"},"details1":{"type":"string","nullable":true,"maxLength":60,"description":"Details 1 (SDO DETAILS_1; Optional; precision 0)"},"details2":{"type":"string","nullable":true,"maxLength":60,"description":"Details 2 (SDO DETAILS_2; Optional; precision 0)"},"details3":{"type":"string","nullable":true,"maxLength":60,"description":"Details 3 (SDO DETAILS_3; Optional; precision 0)"},"employee":{"type":"string","nullable":true,"maxLength":15,"description":"Employee (SDO EMPLOYEE; Optional; precision 0)"},"netBook":{"type":"number","nullable":true,"description":"Net book value (SDO NET_BOOK; Optional; precision 2)"},"nextAsset":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO NEXT_ASSET; Optional; precision 0)"},"postDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":" (SDO POST_DATE; Optional; precision 0)"},"prevAsset":{"type":"integer","nullable":true,"minimum":-2147483648,"maximum":2147483647,"description":" (SDO PREV_ASSET; Optional; precision 0)"},"profitLossNomCode":{"type":"string","nullable":true,"maxLength":8,"description":"Profit and Loss nominal code (SDO PROFIT_LOSS_NOM_CODE; Required; precision 0)"},"purchaseDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date of purchase (SDO PURCHASE_DATE; Optional; precision 0)"},"purchaseRef":{"type":"string","nullable":true,"maxLength":8,"description":"Purchase reference number (SDO PURCHASE_REF; Optional; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"serialNumber":{"type":"string","nullable":true,"maxLength":60,"description":"Serial number (SDO SERIAL_NUMBER; Optional; precision 0)"},"id":{"type":"string"}},"required":["assetCat","assetRef","balSheetNomCode","costPrice","depLast","depMethodCode","depRate","depToDate","deptNumber","details1","details2","details3","employee","netBook","nextAsset","postDate","prevAsset","profitLossNomCode","purchaseDate","purchaseRef","recordCreateDate","recordDeleted","recordModifyDate","serialNumber","id"],"additionalProperties":false},"Uk26_3_price_lists_get":{"type":"object","properties":{"currency":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Price list currency (SDO CURRENCY; Required; precision 0)"},"hasStaticPrices":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Prices remain static (SDO HAS_STATIC_PRICES; Required; precision 0)"},"importFile":{"type":"string","nullable":true,"maxLength":259,"description":"Default pathname for import file (SDO IMPORT_FILE; Optional; precision 0)"},"lastUpdated":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date of last update (SDO LAST_UPDATED; Required; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Price list name (SDO NAME; Required; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"reference":{"type":"string","nullable":true,"maxLength":8,"description":"Price list reference (SDO REFERENCE; Required; precision 0)"},"type":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Price list type (SDO TYPE; Required; precision 0)"},"id":{"type":"string"}},"required":["currency","hasStaticPrices","importFile","lastUpdated","name","recordCreateDate","recordDeleted","recordModifyDate","reference","type","id"],"additionalProperties":false},"Uk27_2_price_lists_get":{"type":"object","properties":{"currency":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Price list currency (SDO CURRENCY; Required; precision 0)"},"hasStaticPrices":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Prices remain static (SDO HAS_STATIC_PRICES; Required; precision 0)"},"importFile":{"type":"string","nullable":true,"maxLength":259,"description":"Default pathname for import file (SDO IMPORT_FILE; Optional; precision 0)"},"lastUpdated":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date of last update (SDO LAST_UPDATED; Required; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Price list name (SDO NAME; Required; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"reference":{"type":"string","nullable":true,"maxLength":8,"description":"Price list reference (SDO REFERENCE; Required; precision 0)"},"type":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Price list type (SDO TYPE; Required; precision 0)"},"id":{"type":"string"}},"required":["currency","hasStaticPrices","importFile","lastUpdated","name","recordCreateDate","recordDeleted","recordModifyDate","reference","type","id"],"additionalProperties":false},"Uk28_1_price_lists_get":{"type":"object","properties":{"currency":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Price list currency (SDO CURRENCY; Required; precision 0)"},"hasStaticPrices":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Prices remain static (SDO HAS_STATIC_PRICES; Required; precision 0)"},"importFile":{"type":"string","nullable":true,"maxLength":259,"description":"Default pathname for import file (SDO IMPORT_FILE; Optional; precision 0)"},"lastUpdated":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date of last update (SDO LAST_UPDATED; Required; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Price list name (SDO NAME; Required; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"reference":{"type":"string","nullable":true,"maxLength":8,"description":"Price list reference (SDO REFERENCE; Required; precision 0)"},"type":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Price list type (SDO TYPE; Required; precision 0)"},"id":{"type":"string"}},"required":["currency","hasStaticPrices","importFile","lastUpdated","name","recordCreateDate","recordDeleted","recordModifyDate","reference","type","id"],"additionalProperties":false},"Uk29_2_price_lists_get":{"type":"object","properties":{"currency":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Price list currency (SDO CURRENCY; Required; precision 0)"},"hasStaticPrices":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Prices remain static (SDO HAS_STATIC_PRICES; Required; precision 0)"},"importFile":{"type":"string","nullable":true,"maxLength":259,"description":"Default pathname for import file (SDO IMPORT_FILE; Optional; precision 0)"},"lastUpdated":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date of last update (SDO LAST_UPDATED; Required; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Price list name (SDO NAME; Required; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"reference":{"type":"string","nullable":true,"maxLength":8,"description":"Price list reference (SDO REFERENCE; Required; precision 0)"},"type":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Price list type (SDO TYPE; Required; precision 0)"},"id":{"type":"string"}},"required":["currency","hasStaticPrices","importFile","lastUpdated","name","recordCreateDate","recordDeleted","recordModifyDate","reference","type","id"],"additionalProperties":false},"Uk30_1_price_lists_get":{"type":"object","properties":{"currency":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Price list currency (SDO CURRENCY; Required; precision 0)"},"hasStaticPrices":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Prices remain static (SDO HAS_STATIC_PRICES; Required; precision 0)"},"importFile":{"type":"string","nullable":true,"maxLength":259,"description":"Default pathname for import file (SDO IMPORT_FILE; Optional; precision 0)"},"lastUpdated":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date of last update (SDO LAST_UPDATED; Required; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Price list name (SDO NAME; Required; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"reference":{"type":"string","nullable":true,"maxLength":8,"description":"Price list reference (SDO REFERENCE; Required; precision 0)"},"type":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Price list type (SDO TYPE; Required; precision 0)"},"id":{"type":"string"}},"required":["currency","hasStaticPrices","importFile","lastUpdated","name","recordCreateDate","recordDeleted","recordModifyDate","reference","type","id"],"additionalProperties":false},"Uk31_1_price_lists_get":{"type":"object","properties":{"currency":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Price list currency (SDO CURRENCY; Required; precision 0)"},"hasStaticPrices":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Prices remain static (SDO HAS_STATIC_PRICES; Required; precision 0)"},"importFile":{"type":"string","nullable":true,"maxLength":259,"description":"Default pathname for import file (SDO IMPORT_FILE; Optional; precision 0)"},"lastUpdated":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date of last update (SDO LAST_UPDATED; Required; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Price list name (SDO NAME; Required; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"reference":{"type":"string","nullable":true,"maxLength":8,"description":"Price list reference (SDO REFERENCE; Required; precision 0)"},"type":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Price list type (SDO TYPE; Required; precision 0)"},"id":{"type":"string"}},"required":["currency","hasStaticPrices","importFile","lastUpdated","name","recordCreateDate","recordDeleted","recordModifyDate","reference","type","id"],"additionalProperties":false},"Uk32_1_price_lists_get":{"type":"object","properties":{"currency":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Price list currency (SDO CURRENCY; Required; precision 0)"},"hasStaticPrices":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Prices remain static (SDO HAS_STATIC_PRICES; Required; precision 0)"},"importFile":{"type":"string","nullable":true,"maxLength":259,"description":"Default pathname for import file (SDO IMPORT_FILE; Optional; precision 0)"},"lastUpdated":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date of last update (SDO LAST_UPDATED; Required; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Price list name (SDO NAME; Required; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"reference":{"type":"string","nullable":true,"maxLength":8,"description":"Price list reference (SDO REFERENCE; Required; precision 0)"},"type":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Price list type (SDO TYPE; Required; precision 0)"},"id":{"type":"string"}},"required":["currency","hasStaticPrices","importFile","lastUpdated","name","recordCreateDate","recordDeleted","recordModifyDate","reference","type","id"],"additionalProperties":false},"Uk33_1_price_lists_get":{"type":"object","properties":{"currency":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Price list currency (SDO CURRENCY; Required; precision 0)"},"hasStaticPrices":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Prices remain static (SDO HAS_STATIC_PRICES; Required; precision 0)"},"importFile":{"type":"string","nullable":true,"maxLength":259,"description":"Default pathname for import file (SDO IMPORT_FILE; Optional; precision 0)"},"lastUpdated":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date of last update (SDO LAST_UPDATED; Required; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Price list name (SDO NAME; Required; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"reference":{"type":"string","nullable":true,"maxLength":8,"description":"Price list reference (SDO REFERENCE; Required; precision 0)"},"type":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Price list type (SDO TYPE; Required; precision 0)"},"id":{"type":"string"}},"required":["currency","hasStaticPrices","importFile","lastUpdated","name","recordCreateDate","recordDeleted","recordModifyDate","reference","type","id"],"additionalProperties":false},"Uk34_1_price_lists_get":{"type":"object","properties":{"currency":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Price list currency (SDO CURRENCY; Required; precision 0)"},"hasStaticPrices":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Prices remain static (SDO HAS_STATIC_PRICES; Required; precision 0)"},"importFile":{"type":"string","nullable":true,"maxLength":259,"description":"Default pathname for import file (SDO IMPORT_FILE; Optional; precision 0)"},"lastUpdated":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date of last update (SDO LAST_UPDATED; Required; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Price list name (SDO NAME; Required; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"reference":{"type":"string","nullable":true,"maxLength":8,"description":"Price list reference (SDO REFERENCE; Required; precision 0)"},"type":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Price list type (SDO TYPE; Required; precision 0)"},"id":{"type":"string"}},"required":["currency","hasStaticPrices","importFile","lastUpdated","name","recordCreateDate","recordDeleted","recordModifyDate","reference","type","id"],"additionalProperties":false},"Uk26_3_customer_addresses_get":{"type":"object","properties":{"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Supplier account reference (SDO ACCOUNT_REF; Required; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 5 (SDO ADDRESS_5; Optional; precision 0)"},"addressRef":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Address reference number (SDO ADDRESS_REF; Required; precision 0)"},"addressType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Address Type (SDO ADDRESS_TYPE; Required; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Contact name (SDO CONTACT_NAME; Optional; precision 0)"},"contactRole":{"type":"string","nullable":true,"maxLength":30,"description":"Contact Role (SDO CONTACT_ROLE; Optional; precision 0)"},"countryCode":{"type":"string","nullable":true,"maxLength":2,"description":"Country Code (SDO COUNTRY_CODE; Required; precision 0)"},"defaultRef":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Default indicator (SDO DEFAULT_REF; Required; precision 0)"},"description":{"type":"string","nullable":true,"maxLength":60,"description":"Description (SDO DESCRIPTION; Required; precision 0)"},"email":{"type":"string","nullable":true,"maxLength":255,"description":"EMail (SDO EMAIL; Optional; precision 0)"},"fax":{"type":"string","nullable":true,"maxLength":30,"description":"Fax (SDO FAX; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Name (SDO NAME; Required; precision 0)"},"notes":{"type":"string","nullable":true,"maxLength":200,"description":"Notes (SDO NOTES; Optional; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"reference":{"type":"string","nullable":true,"maxLength":12,"description":"Delivery address reference (SDO REFERENCE; Required; precision 0)"},"taxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax Code (SDO TAX_CODE; Required; precision 0)"},"telephone":{"type":"string","nullable":true,"maxLength":30,"description":"Telephone (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","nullable":true,"maxLength":30,"description":"Telephone2 (SDO TELEPHONE_2; Optional; precision 0)"},"vatNumber":{"type":"string","nullable":true,"maxLength":20,"description":"Vat Registration Number (SDO VAT_NUMBER; Optional; precision 0)"},"id":{"type":"string"}},"required":["accountRef","address1","address2","address3","address4","address5","addressRef","addressType","contactName","contactRole","countryCode","defaultRef","description","email","fax","name","notes","recordCreateDate","recordDeleted","recordModifyDate","reference","taxCode","telephone","telephone2","vatNumber","id"],"additionalProperties":false},"Uk27_2_customer_addresses_get":{"type":"object","properties":{"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Supplier account reference (SDO ACCOUNT_REF; Required; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 5 (SDO ADDRESS_5; Optional; precision 0)"},"addressRef":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Address reference number (SDO ADDRESS_REF; Required; precision 0)"},"addressType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Address Type (SDO ADDRESS_TYPE; Required; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Contact name (SDO CONTACT_NAME; Optional; precision 0)"},"contactRole":{"type":"string","nullable":true,"maxLength":30,"description":"Contact Role (SDO CONTACT_ROLE; Optional; precision 0)"},"countryCode":{"type":"string","nullable":true,"maxLength":2,"description":"Country Code (SDO COUNTRY_CODE; Required; precision 0)"},"defaultRef":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Default indicator (SDO DEFAULT_REF; Required; precision 0)"},"description":{"type":"string","nullable":true,"maxLength":60,"description":"Description (SDO DESCRIPTION; Required; precision 0)"},"email":{"type":"string","nullable":true,"maxLength":255,"description":"EMail (SDO EMAIL; Optional; precision 0)"},"fax":{"type":"string","nullable":true,"maxLength":30,"description":"Fax (SDO FAX; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Name (SDO NAME; Required; precision 0)"},"notes":{"type":"string","nullable":true,"maxLength":200,"description":"Notes (SDO NOTES; Optional; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"reference":{"type":"string","nullable":true,"maxLength":12,"description":"Delivery address reference (SDO REFERENCE; Required; precision 0)"},"taxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax Code (SDO TAX_CODE; Required; precision 0)"},"telephone":{"type":"string","nullable":true,"maxLength":30,"description":"Telephone (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","nullable":true,"maxLength":30,"description":"Telephone2 (SDO TELEPHONE_2; Optional; precision 0)"},"vatNumber":{"type":"string","nullable":true,"maxLength":20,"description":"Vat Registration Number (SDO VAT_NUMBER; Optional; precision 0)"},"id":{"type":"string"}},"required":["accountRef","address1","address2","address3","address4","address5","addressRef","addressType","contactName","contactRole","countryCode","defaultRef","description","email","fax","name","notes","recordCreateDate","recordDeleted","recordModifyDate","reference","taxCode","telephone","telephone2","vatNumber","id"],"additionalProperties":false},"Uk28_1_customer_addresses_get":{"type":"object","properties":{"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Supplier account reference (SDO ACCOUNT_REF; Required; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 5 (SDO ADDRESS_5; Optional; precision 0)"},"addressRef":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Address reference number (SDO ADDRESS_REF; Required; precision 0)"},"addressType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Address Type (SDO ADDRESS_TYPE; Required; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Contact name (SDO CONTACT_NAME; Optional; precision 0)"},"contactRole":{"type":"string","nullable":true,"maxLength":30,"description":"Contact Role (SDO CONTACT_ROLE; Optional; precision 0)"},"countryCode":{"type":"string","nullable":true,"maxLength":2,"description":"Country Code (SDO COUNTRY_CODE; Required; precision 0)"},"defaultRef":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Default indicator (SDO DEFAULT_REF; Required; precision 0)"},"description":{"type":"string","nullable":true,"maxLength":60,"description":"Description (SDO DESCRIPTION; Required; precision 0)"},"email":{"type":"string","nullable":true,"maxLength":255,"description":"EMail (SDO EMAIL; Optional; precision 0)"},"fax":{"type":"string","nullable":true,"maxLength":30,"description":"Fax (SDO FAX; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Name (SDO NAME; Required; precision 0)"},"notes":{"type":"string","nullable":true,"maxLength":200,"description":"Notes (SDO NOTES; Optional; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"reference":{"type":"string","nullable":true,"maxLength":12,"description":"Delivery address reference (SDO REFERENCE; Required; precision 0)"},"taxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax Code (SDO TAX_CODE; Required; precision 0)"},"telephone":{"type":"string","nullable":true,"maxLength":30,"description":"Telephone (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","nullable":true,"maxLength":30,"description":"Telephone2 (SDO TELEPHONE_2; Optional; precision 0)"},"vatNumber":{"type":"string","nullable":true,"maxLength":20,"description":"Vat Registration Number (SDO VAT_NUMBER; Optional; precision 0)"},"id":{"type":"string"}},"required":["accountRef","address1","address2","address3","address4","address5","addressRef","addressType","contactName","contactRole","countryCode","defaultRef","description","email","fax","name","notes","recordCreateDate","recordDeleted","recordModifyDate","reference","taxCode","telephone","telephone2","vatNumber","id"],"additionalProperties":false},"Uk29_2_customer_addresses_get":{"type":"object","properties":{"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Supplier account reference (SDO ACCOUNT_REF; Required; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 5 (SDO ADDRESS_5; Optional; precision 0)"},"addressRef":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Address reference number (SDO ADDRESS_REF; Required; precision 0)"},"addressType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Address Type (SDO ADDRESS_TYPE; Required; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Contact name (SDO CONTACT_NAME; Optional; precision 0)"},"contactRole":{"type":"string","nullable":true,"maxLength":30,"description":"Contact Role (SDO CONTACT_ROLE; Optional; precision 0)"},"countryCode":{"type":"string","nullable":true,"maxLength":2,"description":"Country Code (SDO COUNTRY_CODE; Required; precision 0)"},"defaultRef":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Default indicator (SDO DEFAULT_REF; Required; precision 0)"},"description":{"type":"string","nullable":true,"maxLength":60,"description":"Description (SDO DESCRIPTION; Required; precision 0)"},"email":{"type":"string","nullable":true,"maxLength":255,"description":"EMail (SDO EMAIL; Optional; precision 0)"},"fax":{"type":"string","nullable":true,"maxLength":30,"description":"Fax (SDO FAX; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Name (SDO NAME; Required; precision 0)"},"notes":{"type":"string","nullable":true,"maxLength":200,"description":"Notes (SDO NOTES; Optional; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"reference":{"type":"string","nullable":true,"maxLength":12,"description":"Delivery address reference (SDO REFERENCE; Required; precision 0)"},"taxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax Code (SDO TAX_CODE; Required; precision 0)"},"telephone":{"type":"string","nullable":true,"maxLength":30,"description":"Telephone (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","nullable":true,"maxLength":30,"description":"Telephone2 (SDO TELEPHONE_2; Optional; precision 0)"},"vatNumber":{"type":"string","nullable":true,"maxLength":20,"description":"Vat Registration Number (SDO VAT_NUMBER; Optional; precision 0)"},"id":{"type":"string"}},"required":["accountRef","address1","address2","address3","address4","address5","addressRef","addressType","contactName","contactRole","countryCode","defaultRef","description","email","fax","name","notes","recordCreateDate","recordDeleted","recordModifyDate","reference","taxCode","telephone","telephone2","vatNumber","id"],"additionalProperties":false},"Uk30_1_customer_addresses_get":{"type":"object","properties":{"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Supplier account reference (SDO ACCOUNT_REF; Required; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 5 (SDO ADDRESS_5; Optional; precision 0)"},"addressRef":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Address reference number (SDO ADDRESS_REF; Required; precision 0)"},"addressType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Address Type (SDO ADDRESS_TYPE; Required; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Contact name (SDO CONTACT_NAME; Optional; precision 0)"},"contactRole":{"type":"string","nullable":true,"maxLength":30,"description":"Contact Role (SDO CONTACT_ROLE; Optional; precision 0)"},"countryCode":{"type":"string","nullable":true,"maxLength":2,"description":"Country Code (SDO COUNTRY_CODE; Required; precision 0)"},"defaultRef":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Default indicator (SDO DEFAULT_REF; Required; precision 0)"},"description":{"type":"string","nullable":true,"maxLength":60,"description":"Description (SDO DESCRIPTION; Required; precision 0)"},"email":{"type":"string","nullable":true,"maxLength":255,"description":"EMail (SDO EMAIL; Optional; precision 0)"},"fax":{"type":"string","nullable":true,"maxLength":30,"description":"Fax (SDO FAX; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Name (SDO NAME; Required; precision 0)"},"notes":{"type":"string","nullable":true,"maxLength":200,"description":"Notes (SDO NOTES; Optional; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"reference":{"type":"string","nullable":true,"maxLength":12,"description":"Delivery address reference (SDO REFERENCE; Required; precision 0)"},"taxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax Code (SDO TAX_CODE; Required; precision 0)"},"telephone":{"type":"string","nullable":true,"maxLength":30,"description":"Telephone (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","nullable":true,"maxLength":30,"description":"Telephone2 (SDO TELEPHONE_2; Optional; precision 0)"},"vatNumber":{"type":"string","nullable":true,"maxLength":20,"description":"Vat Registration Number (SDO VAT_NUMBER; Optional; precision 0)"},"id":{"type":"string"}},"required":["accountRef","address1","address2","address3","address4","address5","addressRef","addressType","contactName","contactRole","countryCode","defaultRef","description","email","fax","name","notes","recordCreateDate","recordDeleted","recordModifyDate","reference","taxCode","telephone","telephone2","vatNumber","id"],"additionalProperties":false},"Uk31_1_customer_addresses_get":{"type":"object","properties":{"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Supplier account reference (SDO ACCOUNT_REF; Required; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 5 (SDO ADDRESS_5; Optional; precision 0)"},"addressRef":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Address reference number (SDO ADDRESS_REF; Required; precision 0)"},"addressType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Address Type (SDO ADDRESS_TYPE; Required; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Contact name (SDO CONTACT_NAME; Optional; precision 0)"},"contactRole":{"type":"string","nullable":true,"maxLength":30,"description":"Contact Role (SDO CONTACT_ROLE; Optional; precision 0)"},"countryCode":{"type":"string","nullable":true,"maxLength":2,"description":"Country Code (SDO COUNTRY_CODE; Required; precision 0)"},"defaultRef":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Default indicator (SDO DEFAULT_REF; Required; precision 0)"},"description":{"type":"string","nullable":true,"maxLength":60,"description":"Description (SDO DESCRIPTION; Required; precision 0)"},"email":{"type":"string","nullable":true,"maxLength":255,"description":"EMail (SDO EMAIL; Optional; precision 0)"},"fax":{"type":"string","nullable":true,"maxLength":30,"description":"Fax (SDO FAX; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Name (SDO NAME; Required; precision 0)"},"notes":{"type":"string","nullable":true,"maxLength":200,"description":"Notes (SDO NOTES; Optional; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"reference":{"type":"string","nullable":true,"maxLength":12,"description":"Delivery address reference (SDO REFERENCE; Required; precision 0)"},"taxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax Code (SDO TAX_CODE; Required; precision 0)"},"telephone":{"type":"string","nullable":true,"maxLength":30,"description":"Telephone (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","nullable":true,"maxLength":30,"description":"Telephone2 (SDO TELEPHONE_2; Optional; precision 0)"},"vatNumber":{"type":"string","nullable":true,"maxLength":20,"description":"Vat Registration Number (SDO VAT_NUMBER; Optional; precision 0)"},"id":{"type":"string"}},"required":["accountRef","address1","address2","address3","address4","address5","addressRef","addressType","contactName","contactRole","countryCode","defaultRef","description","email","fax","name","notes","recordCreateDate","recordDeleted","recordModifyDate","reference","taxCode","telephone","telephone2","vatNumber","id"],"additionalProperties":false},"Uk32_1_customer_addresses_get":{"type":"object","properties":{"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Supplier account reference (SDO ACCOUNT_REF; Required; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 5 (SDO ADDRESS_5; Optional; precision 0)"},"addressRef":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Address reference number (SDO ADDRESS_REF; Required; precision 0)"},"addressType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Address Type (SDO ADDRESS_TYPE; Required; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Contact name (SDO CONTACT_NAME; Optional; precision 0)"},"contactRole":{"type":"string","nullable":true,"maxLength":30,"description":"Contact Role (SDO CONTACT_ROLE; Optional; precision 0)"},"countryCode":{"type":"string","nullable":true,"maxLength":2,"description":"Country Code (SDO COUNTRY_CODE; Required; precision 0)"},"defaultRef":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Default indicator (SDO DEFAULT_REF; Required; precision 0)"},"description":{"type":"string","nullable":true,"maxLength":60,"description":"Description (SDO DESCRIPTION; Required; precision 0)"},"email":{"type":"string","nullable":true,"maxLength":255,"description":"EMail (SDO EMAIL; Optional; precision 0)"},"fax":{"type":"string","nullable":true,"maxLength":30,"description":"Fax (SDO FAX; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Name (SDO NAME; Required; precision 0)"},"notes":{"type":"string","nullable":true,"maxLength":200,"description":"Notes (SDO NOTES; Optional; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"reference":{"type":"string","nullable":true,"maxLength":12,"description":"Delivery address reference (SDO REFERENCE; Required; precision 0)"},"taxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax Code (SDO TAX_CODE; Required; precision 0)"},"telephone":{"type":"string","nullable":true,"maxLength":30,"description":"Telephone (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","nullable":true,"maxLength":30,"description":"Telephone2 (SDO TELEPHONE_2; Optional; precision 0)"},"vatNumber":{"type":"string","nullable":true,"maxLength":20,"description":"Vat Registration Number (SDO VAT_NUMBER; Optional; precision 0)"},"id":{"type":"string"}},"required":["accountRef","address1","address2","address3","address4","address5","addressRef","addressType","contactName","contactRole","countryCode","defaultRef","description","email","fax","name","notes","recordCreateDate","recordDeleted","recordModifyDate","reference","taxCode","telephone","telephone2","vatNumber","id"],"additionalProperties":false},"Uk33_1_customer_addresses_get":{"type":"object","properties":{"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Supplier account reference (SDO ACCOUNT_REF; Required; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 5 (SDO ADDRESS_5; Optional; precision 0)"},"addressRef":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Address reference number (SDO ADDRESS_REF; Required; precision 0)"},"addressType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Address Type (SDO ADDRESS_TYPE; Required; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Contact name (SDO CONTACT_NAME; Optional; precision 0)"},"contactRole":{"type":"string","nullable":true,"maxLength":30,"description":"Contact Role (SDO CONTACT_ROLE; Optional; precision 0)"},"countryCode":{"type":"string","nullable":true,"maxLength":2,"description":"Country Code (SDO COUNTRY_CODE; Required; precision 0)"},"defaultRef":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Default indicator (SDO DEFAULT_REF; Required; precision 0)"},"description":{"type":"string","nullable":true,"maxLength":60,"description":"Description (SDO DESCRIPTION; Required; precision 0)"},"email":{"type":"string","nullable":true,"maxLength":255,"description":"EMail (SDO EMAIL; Optional; precision 0)"},"fax":{"type":"string","nullable":true,"maxLength":30,"description":"Fax (SDO FAX; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Name (SDO NAME; Required; precision 0)"},"notes":{"type":"string","nullable":true,"maxLength":200,"description":"Notes (SDO NOTES; Optional; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"reference":{"type":"string","nullable":true,"maxLength":12,"description":"Delivery address reference (SDO REFERENCE; Required; precision 0)"},"taxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax Code (SDO TAX_CODE; Required; precision 0)"},"telephone":{"type":"string","nullable":true,"maxLength":30,"description":"Telephone (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","nullable":true,"maxLength":30,"description":"Telephone2 (SDO TELEPHONE_2; Optional; precision 0)"},"ukimsNumber":{"type":"string","nullable":true,"maxLength":64,"description":"UK IMS Number (SDO UKIMS_NUMBER; Optional; precision 0)"},"vatNumber":{"type":"string","nullable":true,"maxLength":20,"description":"Vat Registration Number (SDO VAT_NUMBER; Optional; precision 0)"},"id":{"type":"string"}},"required":["accountRef","address1","address2","address3","address4","address5","addressRef","addressType","contactName","contactRole","countryCode","defaultRef","description","email","fax","name","notes","recordCreateDate","recordDeleted","recordModifyDate","reference","taxCode","telephone","telephone2","ukimsNumber","vatNumber","id"],"additionalProperties":false},"Uk34_1_customer_addresses_get":{"type":"object","properties":{"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Supplier account reference (SDO ACCOUNT_REF; Required; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 5 (SDO ADDRESS_5; Optional; precision 0)"},"addressRef":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Address reference number (SDO ADDRESS_REF; Required; precision 0)"},"addressType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Address Type (SDO ADDRESS_TYPE; Required; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Contact name (SDO CONTACT_NAME; Optional; precision 0)"},"contactRole":{"type":"string","nullable":true,"maxLength":30,"description":"Contact Role (SDO CONTACT_ROLE; Optional; precision 0)"},"countryCode":{"type":"string","nullable":true,"maxLength":2,"description":"Country Code (SDO COUNTRY_CODE; Required; precision 0)"},"defaultRef":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Default indicator (SDO DEFAULT_REF; Required; precision 0)"},"description":{"type":"string","nullable":true,"maxLength":60,"description":"Description (SDO DESCRIPTION; Required; precision 0)"},"email":{"type":"string","nullable":true,"maxLength":255,"description":"EMail (SDO EMAIL; Optional; precision 0)"},"fax":{"type":"string","nullable":true,"maxLength":30,"description":"Fax (SDO FAX; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Name (SDO NAME; Required; precision 0)"},"notes":{"type":"string","nullable":true,"maxLength":200,"description":"Notes (SDO NOTES; Optional; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"reference":{"type":"string","nullable":true,"maxLength":12,"description":"Delivery address reference (SDO REFERENCE; Required; precision 0)"},"taxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax Code (SDO TAX_CODE; Required; precision 0)"},"telephone":{"type":"string","nullable":true,"maxLength":30,"description":"Telephone (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","nullable":true,"maxLength":30,"description":"Telephone2 (SDO TELEPHONE_2; Optional; precision 0)"},"ukimsNumber":{"type":"string","nullable":true,"maxLength":64,"description":"UK IMS Number (SDO UKIMS_NUMBER; Optional; precision 0)"},"vatNumber":{"type":"string","nullable":true,"maxLength":20,"description":"Vat Registration Number (SDO VAT_NUMBER; Optional; precision 0)"},"id":{"type":"string"}},"required":["accountRef","address1","address2","address3","address4","address5","addressRef","addressType","contactName","contactRole","countryCode","defaultRef","description","email","fax","name","notes","recordCreateDate","recordDeleted","recordModifyDate","reference","taxCode","telephone","telephone2","ukimsNumber","vatNumber","id"],"additionalProperties":false},"Uk26_3_supplier_addresses_get":{"type":"object","properties":{"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Supplier account reference (SDO ACCOUNT_REF; Required; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 5 (SDO ADDRESS_5; Optional; precision 0)"},"addressRef":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Address reference number (SDO ADDRESS_REF; Required; precision 0)"},"addressType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Address Type (SDO ADDRESS_TYPE; Required; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Contact name (SDO CONTACT_NAME; Optional; precision 0)"},"contactRole":{"type":"string","nullable":true,"maxLength":30,"description":"Contact Role (SDO CONTACT_ROLE; Optional; precision 0)"},"countryCode":{"type":"string","nullable":true,"maxLength":2,"description":"Country Code (SDO COUNTRY_CODE; Required; precision 0)"},"defaultRef":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Default indicator (SDO DEFAULT_REF; Required; precision 0)"},"description":{"type":"string","nullable":true,"maxLength":60,"description":"Description (SDO DESCRIPTION; Required; precision 0)"},"email":{"type":"string","nullable":true,"maxLength":255,"description":"EMail (SDO EMAIL; Optional; precision 0)"},"fax":{"type":"string","nullable":true,"maxLength":30,"description":"Fax (SDO FAX; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Name (SDO NAME; Required; precision 0)"},"notes":{"type":"string","nullable":true,"maxLength":200,"description":"Notes (SDO NOTES; Optional; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"reference":{"type":"string","nullable":true,"maxLength":12,"description":"Delivery address reference (SDO REFERENCE; Required; precision 0)"},"taxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax Code (SDO TAX_CODE; Required; precision 0)"},"telephone":{"type":"string","nullable":true,"maxLength":30,"description":"Telephone (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","nullable":true,"maxLength":30,"description":"Telephone2 (SDO TELEPHONE_2; Optional; precision 0)"},"vatNumber":{"type":"string","nullable":true,"maxLength":20,"description":"Vat Registration Number (SDO VAT_NUMBER; Optional; precision 0)"},"id":{"type":"string"}},"required":["accountRef","address1","address2","address3","address4","address5","addressRef","addressType","contactName","contactRole","countryCode","defaultRef","description","email","fax","name","notes","recordCreateDate","recordDeleted","recordModifyDate","reference","taxCode","telephone","telephone2","vatNumber","id"],"additionalProperties":false},"Uk27_2_supplier_addresses_get":{"type":"object","properties":{"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Supplier account reference (SDO ACCOUNT_REF; Required; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 5 (SDO ADDRESS_5; Optional; precision 0)"},"addressRef":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Address reference number (SDO ADDRESS_REF; Required; precision 0)"},"addressType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Address Type (SDO ADDRESS_TYPE; Required; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Contact name (SDO CONTACT_NAME; Optional; precision 0)"},"contactRole":{"type":"string","nullable":true,"maxLength":30,"description":"Contact Role (SDO CONTACT_ROLE; Optional; precision 0)"},"countryCode":{"type":"string","nullable":true,"maxLength":2,"description":"Country Code (SDO COUNTRY_CODE; Required; precision 0)"},"defaultRef":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Default indicator (SDO DEFAULT_REF; Required; precision 0)"},"description":{"type":"string","nullable":true,"maxLength":60,"description":"Description (SDO DESCRIPTION; Required; precision 0)"},"email":{"type":"string","nullable":true,"maxLength":255,"description":"EMail (SDO EMAIL; Optional; precision 0)"},"fax":{"type":"string","nullable":true,"maxLength":30,"description":"Fax (SDO FAX; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Name (SDO NAME; Required; precision 0)"},"notes":{"type":"string","nullable":true,"maxLength":200,"description":"Notes (SDO NOTES; Optional; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"reference":{"type":"string","nullable":true,"maxLength":12,"description":"Delivery address reference (SDO REFERENCE; Required; precision 0)"},"taxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax Code (SDO TAX_CODE; Required; precision 0)"},"telephone":{"type":"string","nullable":true,"maxLength":30,"description":"Telephone (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","nullable":true,"maxLength":30,"description":"Telephone2 (SDO TELEPHONE_2; Optional; precision 0)"},"vatNumber":{"type":"string","nullable":true,"maxLength":20,"description":"Vat Registration Number (SDO VAT_NUMBER; Optional; precision 0)"},"id":{"type":"string"}},"required":["accountRef","address1","address2","address3","address4","address5","addressRef","addressType","contactName","contactRole","countryCode","defaultRef","description","email","fax","name","notes","recordCreateDate","recordDeleted","recordModifyDate","reference","taxCode","telephone","telephone2","vatNumber","id"],"additionalProperties":false},"Uk28_1_supplier_addresses_get":{"type":"object","properties":{"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Supplier account reference (SDO ACCOUNT_REF; Required; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 5 (SDO ADDRESS_5; Optional; precision 0)"},"addressRef":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Address reference number (SDO ADDRESS_REF; Required; precision 0)"},"addressType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Address Type (SDO ADDRESS_TYPE; Required; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Contact name (SDO CONTACT_NAME; Optional; precision 0)"},"contactRole":{"type":"string","nullable":true,"maxLength":30,"description":"Contact Role (SDO CONTACT_ROLE; Optional; precision 0)"},"countryCode":{"type":"string","nullable":true,"maxLength":2,"description":"Country Code (SDO COUNTRY_CODE; Required; precision 0)"},"defaultRef":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Default indicator (SDO DEFAULT_REF; Required; precision 0)"},"description":{"type":"string","nullable":true,"maxLength":60,"description":"Description (SDO DESCRIPTION; Required; precision 0)"},"email":{"type":"string","nullable":true,"maxLength":255,"description":"EMail (SDO EMAIL; Optional; precision 0)"},"fax":{"type":"string","nullable":true,"maxLength":30,"description":"Fax (SDO FAX; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Name (SDO NAME; Required; precision 0)"},"notes":{"type":"string","nullable":true,"maxLength":200,"description":"Notes (SDO NOTES; Optional; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"reference":{"type":"string","nullable":true,"maxLength":12,"description":"Delivery address reference (SDO REFERENCE; Required; precision 0)"},"taxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax Code (SDO TAX_CODE; Required; precision 0)"},"telephone":{"type":"string","nullable":true,"maxLength":30,"description":"Telephone (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","nullable":true,"maxLength":30,"description":"Telephone2 (SDO TELEPHONE_2; Optional; precision 0)"},"vatNumber":{"type":"string","nullable":true,"maxLength":20,"description":"Vat Registration Number (SDO VAT_NUMBER; Optional; precision 0)"},"id":{"type":"string"}},"required":["accountRef","address1","address2","address3","address4","address5","addressRef","addressType","contactName","contactRole","countryCode","defaultRef","description","email","fax","name","notes","recordCreateDate","recordDeleted","recordModifyDate","reference","taxCode","telephone","telephone2","vatNumber","id"],"additionalProperties":false},"Uk29_2_supplier_addresses_get":{"type":"object","properties":{"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Supplier account reference (SDO ACCOUNT_REF; Required; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 5 (SDO ADDRESS_5; Optional; precision 0)"},"addressRef":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Address reference number (SDO ADDRESS_REF; Required; precision 0)"},"addressType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Address Type (SDO ADDRESS_TYPE; Required; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Contact name (SDO CONTACT_NAME; Optional; precision 0)"},"contactRole":{"type":"string","nullable":true,"maxLength":30,"description":"Contact Role (SDO CONTACT_ROLE; Optional; precision 0)"},"countryCode":{"type":"string","nullable":true,"maxLength":2,"description":"Country Code (SDO COUNTRY_CODE; Required; precision 0)"},"defaultRef":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Default indicator (SDO DEFAULT_REF; Required; precision 0)"},"description":{"type":"string","nullable":true,"maxLength":60,"description":"Description (SDO DESCRIPTION; Required; precision 0)"},"email":{"type":"string","nullable":true,"maxLength":255,"description":"EMail (SDO EMAIL; Optional; precision 0)"},"fax":{"type":"string","nullable":true,"maxLength":30,"description":"Fax (SDO FAX; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Name (SDO NAME; Required; precision 0)"},"notes":{"type":"string","nullable":true,"maxLength":200,"description":"Notes (SDO NOTES; Optional; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"reference":{"type":"string","nullable":true,"maxLength":12,"description":"Delivery address reference (SDO REFERENCE; Required; precision 0)"},"taxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax Code (SDO TAX_CODE; Required; precision 0)"},"telephone":{"type":"string","nullable":true,"maxLength":30,"description":"Telephone (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","nullable":true,"maxLength":30,"description":"Telephone2 (SDO TELEPHONE_2; Optional; precision 0)"},"vatNumber":{"type":"string","nullable":true,"maxLength":20,"description":"Vat Registration Number (SDO VAT_NUMBER; Optional; precision 0)"},"id":{"type":"string"}},"required":["accountRef","address1","address2","address3","address4","address5","addressRef","addressType","contactName","contactRole","countryCode","defaultRef","description","email","fax","name","notes","recordCreateDate","recordDeleted","recordModifyDate","reference","taxCode","telephone","telephone2","vatNumber","id"],"additionalProperties":false},"Uk30_1_supplier_addresses_get":{"type":"object","properties":{"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Supplier account reference (SDO ACCOUNT_REF; Required; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 5 (SDO ADDRESS_5; Optional; precision 0)"},"addressRef":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Address reference number (SDO ADDRESS_REF; Required; precision 0)"},"addressType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Address Type (SDO ADDRESS_TYPE; Required; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Contact name (SDO CONTACT_NAME; Optional; precision 0)"},"contactRole":{"type":"string","nullable":true,"maxLength":30,"description":"Contact Role (SDO CONTACT_ROLE; Optional; precision 0)"},"countryCode":{"type":"string","nullable":true,"maxLength":2,"description":"Country Code (SDO COUNTRY_CODE; Required; precision 0)"},"defaultRef":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Default indicator (SDO DEFAULT_REF; Required; precision 0)"},"description":{"type":"string","nullable":true,"maxLength":60,"description":"Description (SDO DESCRIPTION; Required; precision 0)"},"email":{"type":"string","nullable":true,"maxLength":255,"description":"EMail (SDO EMAIL; Optional; precision 0)"},"fax":{"type":"string","nullable":true,"maxLength":30,"description":"Fax (SDO FAX; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Name (SDO NAME; Required; precision 0)"},"notes":{"type":"string","nullable":true,"maxLength":200,"description":"Notes (SDO NOTES; Optional; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"reference":{"type":"string","nullable":true,"maxLength":12,"description":"Delivery address reference (SDO REFERENCE; Required; precision 0)"},"taxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax Code (SDO TAX_CODE; Required; precision 0)"},"telephone":{"type":"string","nullable":true,"maxLength":30,"description":"Telephone (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","nullable":true,"maxLength":30,"description":"Telephone2 (SDO TELEPHONE_2; Optional; precision 0)"},"vatNumber":{"type":"string","nullable":true,"maxLength":20,"description":"Vat Registration Number (SDO VAT_NUMBER; Optional; precision 0)"},"id":{"type":"string"}},"required":["accountRef","address1","address2","address3","address4","address5","addressRef","addressType","contactName","contactRole","countryCode","defaultRef","description","email","fax","name","notes","recordCreateDate","recordDeleted","recordModifyDate","reference","taxCode","telephone","telephone2","vatNumber","id"],"additionalProperties":false},"Uk31_1_supplier_addresses_get":{"type":"object","properties":{"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Supplier account reference (SDO ACCOUNT_REF; Required; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 5 (SDO ADDRESS_5; Optional; precision 0)"},"addressRef":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Address reference number (SDO ADDRESS_REF; Required; precision 0)"},"addressType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Address Type (SDO ADDRESS_TYPE; Required; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Contact name (SDO CONTACT_NAME; Optional; precision 0)"},"contactRole":{"type":"string","nullable":true,"maxLength":30,"description":"Contact Role (SDO CONTACT_ROLE; Optional; precision 0)"},"countryCode":{"type":"string","nullable":true,"maxLength":2,"description":"Country Code (SDO COUNTRY_CODE; Required; precision 0)"},"defaultRef":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Default indicator (SDO DEFAULT_REF; Required; precision 0)"},"description":{"type":"string","nullable":true,"maxLength":60,"description":"Description (SDO DESCRIPTION; Required; precision 0)"},"email":{"type":"string","nullable":true,"maxLength":255,"description":"EMail (SDO EMAIL; Optional; precision 0)"},"fax":{"type":"string","nullable":true,"maxLength":30,"description":"Fax (SDO FAX; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Name (SDO NAME; Required; precision 0)"},"notes":{"type":"string","nullable":true,"maxLength":200,"description":"Notes (SDO NOTES; Optional; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"reference":{"type":"string","nullable":true,"maxLength":12,"description":"Delivery address reference (SDO REFERENCE; Required; precision 0)"},"taxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax Code (SDO TAX_CODE; Required; precision 0)"},"telephone":{"type":"string","nullable":true,"maxLength":30,"description":"Telephone (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","nullable":true,"maxLength":30,"description":"Telephone2 (SDO TELEPHONE_2; Optional; precision 0)"},"vatNumber":{"type":"string","nullable":true,"maxLength":20,"description":"Vat Registration Number (SDO VAT_NUMBER; Optional; precision 0)"},"id":{"type":"string"}},"required":["accountRef","address1","address2","address3","address4","address5","addressRef","addressType","contactName","contactRole","countryCode","defaultRef","description","email","fax","name","notes","recordCreateDate","recordDeleted","recordModifyDate","reference","taxCode","telephone","telephone2","vatNumber","id"],"additionalProperties":false},"Uk32_1_supplier_addresses_get":{"type":"object","properties":{"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Supplier account reference (SDO ACCOUNT_REF; Required; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 5 (SDO ADDRESS_5; Optional; precision 0)"},"addressRef":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Address reference number (SDO ADDRESS_REF; Required; precision 0)"},"addressType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Address Type (SDO ADDRESS_TYPE; Required; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Contact name (SDO CONTACT_NAME; Optional; precision 0)"},"contactRole":{"type":"string","nullable":true,"maxLength":30,"description":"Contact Role (SDO CONTACT_ROLE; Optional; precision 0)"},"countryCode":{"type":"string","nullable":true,"maxLength":2,"description":"Country Code (SDO COUNTRY_CODE; Required; precision 0)"},"defaultRef":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Default indicator (SDO DEFAULT_REF; Required; precision 0)"},"description":{"type":"string","nullable":true,"maxLength":60,"description":"Description (SDO DESCRIPTION; Required; precision 0)"},"email":{"type":"string","nullable":true,"maxLength":255,"description":"EMail (SDO EMAIL; Optional; precision 0)"},"fax":{"type":"string","nullable":true,"maxLength":30,"description":"Fax (SDO FAX; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Name (SDO NAME; Required; precision 0)"},"notes":{"type":"string","nullable":true,"maxLength":200,"description":"Notes (SDO NOTES; Optional; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"reference":{"type":"string","nullable":true,"maxLength":12,"description":"Delivery address reference (SDO REFERENCE; Required; precision 0)"},"taxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax Code (SDO TAX_CODE; Required; precision 0)"},"telephone":{"type":"string","nullable":true,"maxLength":30,"description":"Telephone (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","nullable":true,"maxLength":30,"description":"Telephone2 (SDO TELEPHONE_2; Optional; precision 0)"},"vatNumber":{"type":"string","nullable":true,"maxLength":20,"description":"Vat Registration Number (SDO VAT_NUMBER; Optional; precision 0)"},"id":{"type":"string"}},"required":["accountRef","address1","address2","address3","address4","address5","addressRef","addressType","contactName","contactRole","countryCode","defaultRef","description","email","fax","name","notes","recordCreateDate","recordDeleted","recordModifyDate","reference","taxCode","telephone","telephone2","vatNumber","id"],"additionalProperties":false},"Uk33_1_supplier_addresses_get":{"type":"object","properties":{"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Supplier account reference (SDO ACCOUNT_REF; Required; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 5 (SDO ADDRESS_5; Optional; precision 0)"},"addressRef":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Address reference number (SDO ADDRESS_REF; Required; precision 0)"},"addressType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Address Type (SDO ADDRESS_TYPE; Required; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Contact name (SDO CONTACT_NAME; Optional; precision 0)"},"contactRole":{"type":"string","nullable":true,"maxLength":30,"description":"Contact Role (SDO CONTACT_ROLE; Optional; precision 0)"},"countryCode":{"type":"string","nullable":true,"maxLength":2,"description":"Country Code (SDO COUNTRY_CODE; Required; precision 0)"},"defaultRef":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Default indicator (SDO DEFAULT_REF; Required; precision 0)"},"description":{"type":"string","nullable":true,"maxLength":60,"description":"Description (SDO DESCRIPTION; Required; precision 0)"},"email":{"type":"string","nullable":true,"maxLength":255,"description":"EMail (SDO EMAIL; Optional; precision 0)"},"fax":{"type":"string","nullable":true,"maxLength":30,"description":"Fax (SDO FAX; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Name (SDO NAME; Required; precision 0)"},"notes":{"type":"string","nullable":true,"maxLength":200,"description":"Notes (SDO NOTES; Optional; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"reference":{"type":"string","nullable":true,"maxLength":12,"description":"Delivery address reference (SDO REFERENCE; Required; precision 0)"},"taxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax Code (SDO TAX_CODE; Required; precision 0)"},"telephone":{"type":"string","nullable":true,"maxLength":30,"description":"Telephone (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","nullable":true,"maxLength":30,"description":"Telephone2 (SDO TELEPHONE_2; Optional; precision 0)"},"ukimsNumber":{"type":"string","nullable":true,"maxLength":64,"description":"UK IMS Number (SDO UKIMS_NUMBER; Optional; precision 0)"},"vatNumber":{"type":"string","nullable":true,"maxLength":20,"description":"Vat Registration Number (SDO VAT_NUMBER; Optional; precision 0)"},"id":{"type":"string"}},"required":["accountRef","address1","address2","address3","address4","address5","addressRef","addressType","contactName","contactRole","countryCode","defaultRef","description","email","fax","name","notes","recordCreateDate","recordDeleted","recordModifyDate","reference","taxCode","telephone","telephone2","ukimsNumber","vatNumber","id"],"additionalProperties":false},"Uk34_1_supplier_addresses_get":{"type":"object","properties":{"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Supplier account reference (SDO ACCOUNT_REF; Required; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 5 (SDO ADDRESS_5; Optional; precision 0)"},"addressRef":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Address reference number (SDO ADDRESS_REF; Required; precision 0)"},"addressType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Address Type (SDO ADDRESS_TYPE; Required; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Contact name (SDO CONTACT_NAME; Optional; precision 0)"},"contactRole":{"type":"string","nullable":true,"maxLength":30,"description":"Contact Role (SDO CONTACT_ROLE; Optional; precision 0)"},"countryCode":{"type":"string","nullable":true,"maxLength":2,"description":"Country Code (SDO COUNTRY_CODE; Required; precision 0)"},"defaultRef":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Default indicator (SDO DEFAULT_REF; Required; precision 0)"},"description":{"type":"string","nullable":true,"maxLength":60,"description":"Description (SDO DESCRIPTION; Required; precision 0)"},"email":{"type":"string","nullable":true,"maxLength":255,"description":"EMail (SDO EMAIL; Optional; precision 0)"},"fax":{"type":"string","nullable":true,"maxLength":30,"description":"Fax (SDO FAX; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Name (SDO NAME; Required; precision 0)"},"notes":{"type":"string","nullable":true,"maxLength":200,"description":"Notes (SDO NOTES; Optional; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"reference":{"type":"string","nullable":true,"maxLength":12,"description":"Delivery address reference (SDO REFERENCE; Required; precision 0)"},"taxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax Code (SDO TAX_CODE; Required; precision 0)"},"telephone":{"type":"string","nullable":true,"maxLength":30,"description":"Telephone (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","nullable":true,"maxLength":30,"description":"Telephone2 (SDO TELEPHONE_2; Optional; precision 0)"},"ukimsNumber":{"type":"string","nullable":true,"maxLength":64,"description":"UK IMS Number (SDO UKIMS_NUMBER; Optional; precision 0)"},"vatNumber":{"type":"string","nullable":true,"maxLength":20,"description":"Vat Registration Number (SDO VAT_NUMBER; Optional; precision 0)"},"id":{"type":"string"}},"required":["accountRef","address1","address2","address3","address4","address5","addressRef","addressType","contactName","contactRole","countryCode","defaultRef","description","email","fax","name","notes","recordCreateDate","recordDeleted","recordModifyDate","reference","taxCode","telephone","telephone2","ukimsNumber","vatNumber","id"],"additionalProperties":false},"Uk26_3_company_addresses_get":{"type":"object","properties":{"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Supplier account reference (SDO ACCOUNT_REF; Required; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 5 (SDO ADDRESS_5; Optional; precision 0)"},"addressRef":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Address reference number (SDO ADDRESS_REF; Required; precision 0)"},"addressType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Address Type (SDO ADDRESS_TYPE; Required; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Contact name (SDO CONTACT_NAME; Optional; precision 0)"},"contactRole":{"type":"string","nullable":true,"maxLength":30,"description":"Contact Role (SDO CONTACT_ROLE; Optional; precision 0)"},"countryCode":{"type":"string","nullable":true,"maxLength":2,"description":"Country Code (SDO COUNTRY_CODE; Required; precision 0)"},"defaultRef":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Default indicator (SDO DEFAULT_REF; Required; precision 0)"},"description":{"type":"string","nullable":true,"maxLength":60,"description":"Description (SDO DESCRIPTION; Required; precision 0)"},"email":{"type":"string","nullable":true,"maxLength":255,"description":"EMail (SDO EMAIL; Optional; precision 0)"},"fax":{"type":"string","nullable":true,"maxLength":30,"description":"Fax (SDO FAX; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Name (SDO NAME; Required; precision 0)"},"notes":{"type":"string","nullable":true,"maxLength":200,"description":"Notes (SDO NOTES; Optional; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"reference":{"type":"string","nullable":true,"maxLength":12,"description":"Delivery address reference (SDO REFERENCE; Required; precision 0)"},"taxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax Code (SDO TAX_CODE; Required; precision 0)"},"telephone":{"type":"string","nullable":true,"maxLength":30,"description":"Telephone (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","nullable":true,"maxLength":30,"description":"Telephone2 (SDO TELEPHONE_2; Optional; precision 0)"},"vatNumber":{"type":"string","nullable":true,"maxLength":20,"description":"Vat Registration Number (SDO VAT_NUMBER; Optional; precision 0)"},"id":{"type":"string"}},"required":["accountRef","address1","address2","address3","address4","address5","addressRef","addressType","contactName","contactRole","countryCode","defaultRef","description","email","fax","name","notes","recordCreateDate","recordDeleted","recordModifyDate","reference","taxCode","telephone","telephone2","vatNumber","id"],"additionalProperties":false},"Uk27_2_company_addresses_get":{"type":"object","properties":{"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Supplier account reference (SDO ACCOUNT_REF; Required; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 5 (SDO ADDRESS_5; Optional; precision 0)"},"addressRef":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Address reference number (SDO ADDRESS_REF; Required; precision 0)"},"addressType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Address Type (SDO ADDRESS_TYPE; Required; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Contact name (SDO CONTACT_NAME; Optional; precision 0)"},"contactRole":{"type":"string","nullable":true,"maxLength":30,"description":"Contact Role (SDO CONTACT_ROLE; Optional; precision 0)"},"countryCode":{"type":"string","nullable":true,"maxLength":2,"description":"Country Code (SDO COUNTRY_CODE; Required; precision 0)"},"defaultRef":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Default indicator (SDO DEFAULT_REF; Required; precision 0)"},"description":{"type":"string","nullable":true,"maxLength":60,"description":"Description (SDO DESCRIPTION; Required; precision 0)"},"email":{"type":"string","nullable":true,"maxLength":255,"description":"EMail (SDO EMAIL; Optional; precision 0)"},"fax":{"type":"string","nullable":true,"maxLength":30,"description":"Fax (SDO FAX; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Name (SDO NAME; Required; precision 0)"},"notes":{"type":"string","nullable":true,"maxLength":200,"description":"Notes (SDO NOTES; Optional; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"reference":{"type":"string","nullable":true,"maxLength":12,"description":"Delivery address reference (SDO REFERENCE; Required; precision 0)"},"taxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax Code (SDO TAX_CODE; Required; precision 0)"},"telephone":{"type":"string","nullable":true,"maxLength":30,"description":"Telephone (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","nullable":true,"maxLength":30,"description":"Telephone2 (SDO TELEPHONE_2; Optional; precision 0)"},"vatNumber":{"type":"string","nullable":true,"maxLength":20,"description":"Vat Registration Number (SDO VAT_NUMBER; Optional; precision 0)"},"id":{"type":"string"}},"required":["accountRef","address1","address2","address3","address4","address5","addressRef","addressType","contactName","contactRole","countryCode","defaultRef","description","email","fax","name","notes","recordCreateDate","recordDeleted","recordModifyDate","reference","taxCode","telephone","telephone2","vatNumber","id"],"additionalProperties":false},"Uk28_1_company_addresses_get":{"type":"object","properties":{"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Supplier account reference (SDO ACCOUNT_REF; Required; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 5 (SDO ADDRESS_5; Optional; precision 0)"},"addressRef":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Address reference number (SDO ADDRESS_REF; Required; precision 0)"},"addressType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Address Type (SDO ADDRESS_TYPE; Required; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Contact name (SDO CONTACT_NAME; Optional; precision 0)"},"contactRole":{"type":"string","nullable":true,"maxLength":30,"description":"Contact Role (SDO CONTACT_ROLE; Optional; precision 0)"},"countryCode":{"type":"string","nullable":true,"maxLength":2,"description":"Country Code (SDO COUNTRY_CODE; Required; precision 0)"},"defaultRef":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Default indicator (SDO DEFAULT_REF; Required; precision 0)"},"description":{"type":"string","nullable":true,"maxLength":60,"description":"Description (SDO DESCRIPTION; Required; precision 0)"},"email":{"type":"string","nullable":true,"maxLength":255,"description":"EMail (SDO EMAIL; Optional; precision 0)"},"fax":{"type":"string","nullable":true,"maxLength":30,"description":"Fax (SDO FAX; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Name (SDO NAME; Required; precision 0)"},"notes":{"type":"string","nullable":true,"maxLength":200,"description":"Notes (SDO NOTES; Optional; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"reference":{"type":"string","nullable":true,"maxLength":12,"description":"Delivery address reference (SDO REFERENCE; Required; precision 0)"},"taxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax Code (SDO TAX_CODE; Required; precision 0)"},"telephone":{"type":"string","nullable":true,"maxLength":30,"description":"Telephone (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","nullable":true,"maxLength":30,"description":"Telephone2 (SDO TELEPHONE_2; Optional; precision 0)"},"vatNumber":{"type":"string","nullable":true,"maxLength":20,"description":"Vat Registration Number (SDO VAT_NUMBER; Optional; precision 0)"},"id":{"type":"string"}},"required":["accountRef","address1","address2","address3","address4","address5","addressRef","addressType","contactName","contactRole","countryCode","defaultRef","description","email","fax","name","notes","recordCreateDate","recordDeleted","recordModifyDate","reference","taxCode","telephone","telephone2","vatNumber","id"],"additionalProperties":false},"Uk29_2_company_addresses_get":{"type":"object","properties":{"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Supplier account reference (SDO ACCOUNT_REF; Required; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 5 (SDO ADDRESS_5; Optional; precision 0)"},"addressRef":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Address reference number (SDO ADDRESS_REF; Required; precision 0)"},"addressType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Address Type (SDO ADDRESS_TYPE; Required; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Contact name (SDO CONTACT_NAME; Optional; precision 0)"},"contactRole":{"type":"string","nullable":true,"maxLength":30,"description":"Contact Role (SDO CONTACT_ROLE; Optional; precision 0)"},"countryCode":{"type":"string","nullable":true,"maxLength":2,"description":"Country Code (SDO COUNTRY_CODE; Required; precision 0)"},"defaultRef":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Default indicator (SDO DEFAULT_REF; Required; precision 0)"},"description":{"type":"string","nullable":true,"maxLength":60,"description":"Description (SDO DESCRIPTION; Required; precision 0)"},"email":{"type":"string","nullable":true,"maxLength":255,"description":"EMail (SDO EMAIL; Optional; precision 0)"},"fax":{"type":"string","nullable":true,"maxLength":30,"description":"Fax (SDO FAX; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Name (SDO NAME; Required; precision 0)"},"notes":{"type":"string","nullable":true,"maxLength":200,"description":"Notes (SDO NOTES; Optional; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"reference":{"type":"string","nullable":true,"maxLength":12,"description":"Delivery address reference (SDO REFERENCE; Required; precision 0)"},"taxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax Code (SDO TAX_CODE; Required; precision 0)"},"telephone":{"type":"string","nullable":true,"maxLength":30,"description":"Telephone (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","nullable":true,"maxLength":30,"description":"Telephone2 (SDO TELEPHONE_2; Optional; precision 0)"},"vatNumber":{"type":"string","nullable":true,"maxLength":20,"description":"Vat Registration Number (SDO VAT_NUMBER; Optional; precision 0)"},"id":{"type":"string"}},"required":["accountRef","address1","address2","address3","address4","address5","addressRef","addressType","contactName","contactRole","countryCode","defaultRef","description","email","fax","name","notes","recordCreateDate","recordDeleted","recordModifyDate","reference","taxCode","telephone","telephone2","vatNumber","id"],"additionalProperties":false},"Uk30_1_company_addresses_get":{"type":"object","properties":{"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Supplier account reference (SDO ACCOUNT_REF; Required; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 5 (SDO ADDRESS_5; Optional; precision 0)"},"addressRef":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Address reference number (SDO ADDRESS_REF; Required; precision 0)"},"addressType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Address Type (SDO ADDRESS_TYPE; Required; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Contact name (SDO CONTACT_NAME; Optional; precision 0)"},"contactRole":{"type":"string","nullable":true,"maxLength":30,"description":"Contact Role (SDO CONTACT_ROLE; Optional; precision 0)"},"countryCode":{"type":"string","nullable":true,"maxLength":2,"description":"Country Code (SDO COUNTRY_CODE; Required; precision 0)"},"defaultRef":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Default indicator (SDO DEFAULT_REF; Required; precision 0)"},"description":{"type":"string","nullable":true,"maxLength":60,"description":"Description (SDO DESCRIPTION; Required; precision 0)"},"email":{"type":"string","nullable":true,"maxLength":255,"description":"EMail (SDO EMAIL; Optional; precision 0)"},"fax":{"type":"string","nullable":true,"maxLength":30,"description":"Fax (SDO FAX; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Name (SDO NAME; Required; precision 0)"},"notes":{"type":"string","nullable":true,"maxLength":200,"description":"Notes (SDO NOTES; Optional; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"reference":{"type":"string","nullable":true,"maxLength":12,"description":"Delivery address reference (SDO REFERENCE; Required; precision 0)"},"taxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax Code (SDO TAX_CODE; Required; precision 0)"},"telephone":{"type":"string","nullable":true,"maxLength":30,"description":"Telephone (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","nullable":true,"maxLength":30,"description":"Telephone2 (SDO TELEPHONE_2; Optional; precision 0)"},"vatNumber":{"type":"string","nullable":true,"maxLength":20,"description":"Vat Registration Number (SDO VAT_NUMBER; Optional; precision 0)"},"id":{"type":"string"}},"required":["accountRef","address1","address2","address3","address4","address5","addressRef","addressType","contactName","contactRole","countryCode","defaultRef","description","email","fax","name","notes","recordCreateDate","recordDeleted","recordModifyDate","reference","taxCode","telephone","telephone2","vatNumber","id"],"additionalProperties":false},"Uk31_1_company_addresses_get":{"type":"object","properties":{"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Supplier account reference (SDO ACCOUNT_REF; Required; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 5 (SDO ADDRESS_5; Optional; precision 0)"},"addressRef":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Address reference number (SDO ADDRESS_REF; Required; precision 0)"},"addressType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Address Type (SDO ADDRESS_TYPE; Required; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Contact name (SDO CONTACT_NAME; Optional; precision 0)"},"contactRole":{"type":"string","nullable":true,"maxLength":30,"description":"Contact Role (SDO CONTACT_ROLE; Optional; precision 0)"},"countryCode":{"type":"string","nullable":true,"maxLength":2,"description":"Country Code (SDO COUNTRY_CODE; Required; precision 0)"},"defaultRef":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Default indicator (SDO DEFAULT_REF; Required; precision 0)"},"description":{"type":"string","nullable":true,"maxLength":60,"description":"Description (SDO DESCRIPTION; Required; precision 0)"},"email":{"type":"string","nullable":true,"maxLength":255,"description":"EMail (SDO EMAIL; Optional; precision 0)"},"fax":{"type":"string","nullable":true,"maxLength":30,"description":"Fax (SDO FAX; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Name (SDO NAME; Required; precision 0)"},"notes":{"type":"string","nullable":true,"maxLength":200,"description":"Notes (SDO NOTES; Optional; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"reference":{"type":"string","nullable":true,"maxLength":12,"description":"Delivery address reference (SDO REFERENCE; Required; precision 0)"},"taxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax Code (SDO TAX_CODE; Required; precision 0)"},"telephone":{"type":"string","nullable":true,"maxLength":30,"description":"Telephone (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","nullable":true,"maxLength":30,"description":"Telephone2 (SDO TELEPHONE_2; Optional; precision 0)"},"vatNumber":{"type":"string","nullable":true,"maxLength":20,"description":"Vat Registration Number (SDO VAT_NUMBER; Optional; precision 0)"},"id":{"type":"string"}},"required":["accountRef","address1","address2","address3","address4","address5","addressRef","addressType","contactName","contactRole","countryCode","defaultRef","description","email","fax","name","notes","recordCreateDate","recordDeleted","recordModifyDate","reference","taxCode","telephone","telephone2","vatNumber","id"],"additionalProperties":false},"Uk32_1_company_addresses_get":{"type":"object","properties":{"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Supplier account reference (SDO ACCOUNT_REF; Required; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 5 (SDO ADDRESS_5; Optional; precision 0)"},"addressRef":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Address reference number (SDO ADDRESS_REF; Required; precision 0)"},"addressType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Address Type (SDO ADDRESS_TYPE; Required; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Contact name (SDO CONTACT_NAME; Optional; precision 0)"},"contactRole":{"type":"string","nullable":true,"maxLength":30,"description":"Contact Role (SDO CONTACT_ROLE; Optional; precision 0)"},"countryCode":{"type":"string","nullable":true,"maxLength":2,"description":"Country Code (SDO COUNTRY_CODE; Required; precision 0)"},"defaultRef":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Default indicator (SDO DEFAULT_REF; Required; precision 0)"},"description":{"type":"string","nullable":true,"maxLength":60,"description":"Description (SDO DESCRIPTION; Required; precision 0)"},"email":{"type":"string","nullable":true,"maxLength":255,"description":"EMail (SDO EMAIL; Optional; precision 0)"},"fax":{"type":"string","nullable":true,"maxLength":30,"description":"Fax (SDO FAX; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Name (SDO NAME; Required; precision 0)"},"notes":{"type":"string","nullable":true,"maxLength":200,"description":"Notes (SDO NOTES; Optional; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"reference":{"type":"string","nullable":true,"maxLength":12,"description":"Delivery address reference (SDO REFERENCE; Required; precision 0)"},"taxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax Code (SDO TAX_CODE; Required; precision 0)"},"telephone":{"type":"string","nullable":true,"maxLength":30,"description":"Telephone (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","nullable":true,"maxLength":30,"description":"Telephone2 (SDO TELEPHONE_2; Optional; precision 0)"},"vatNumber":{"type":"string","nullable":true,"maxLength":20,"description":"Vat Registration Number (SDO VAT_NUMBER; Optional; precision 0)"},"id":{"type":"string"}},"required":["accountRef","address1","address2","address3","address4","address5","addressRef","addressType","contactName","contactRole","countryCode","defaultRef","description","email","fax","name","notes","recordCreateDate","recordDeleted","recordModifyDate","reference","taxCode","telephone","telephone2","vatNumber","id"],"additionalProperties":false},"Uk33_1_company_addresses_get":{"type":"object","properties":{"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Supplier account reference (SDO ACCOUNT_REF; Required; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 5 (SDO ADDRESS_5; Optional; precision 0)"},"addressRef":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Address reference number (SDO ADDRESS_REF; Required; precision 0)"},"addressType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Address Type (SDO ADDRESS_TYPE; Required; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Contact name (SDO CONTACT_NAME; Optional; precision 0)"},"contactRole":{"type":"string","nullable":true,"maxLength":30,"description":"Contact Role (SDO CONTACT_ROLE; Optional; precision 0)"},"countryCode":{"type":"string","nullable":true,"maxLength":2,"description":"Country Code (SDO COUNTRY_CODE; Required; precision 0)"},"defaultRef":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Default indicator (SDO DEFAULT_REF; Required; precision 0)"},"description":{"type":"string","nullable":true,"maxLength":60,"description":"Description (SDO DESCRIPTION; Required; precision 0)"},"email":{"type":"string","nullable":true,"maxLength":255,"description":"EMail (SDO EMAIL; Optional; precision 0)"},"fax":{"type":"string","nullable":true,"maxLength":30,"description":"Fax (SDO FAX; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Name (SDO NAME; Required; precision 0)"},"notes":{"type":"string","nullable":true,"maxLength":200,"description":"Notes (SDO NOTES; Optional; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"reference":{"type":"string","nullable":true,"maxLength":12,"description":"Delivery address reference (SDO REFERENCE; Required; precision 0)"},"taxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax Code (SDO TAX_CODE; Required; precision 0)"},"telephone":{"type":"string","nullable":true,"maxLength":30,"description":"Telephone (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","nullable":true,"maxLength":30,"description":"Telephone2 (SDO TELEPHONE_2; Optional; precision 0)"},"ukimsNumber":{"type":"string","nullable":true,"maxLength":64,"description":"UK IMS Number (SDO UKIMS_NUMBER; Optional; precision 0)"},"vatNumber":{"type":"string","nullable":true,"maxLength":20,"description":"Vat Registration Number (SDO VAT_NUMBER; Optional; precision 0)"},"id":{"type":"string"}},"required":["accountRef","address1","address2","address3","address4","address5","addressRef","addressType","contactName","contactRole","countryCode","defaultRef","description","email","fax","name","notes","recordCreateDate","recordDeleted","recordModifyDate","reference","taxCode","telephone","telephone2","ukimsNumber","vatNumber","id"],"additionalProperties":false},"Uk34_1_company_addresses_get":{"type":"object","properties":{"accountRef":{"type":"string","nullable":true,"maxLength":8,"description":"Supplier account reference (SDO ACCOUNT_REF; Required; precision 0)"},"address1":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 1 (SDO ADDRESS_1; Optional; precision 0)"},"address2":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 2 (SDO ADDRESS_2; Optional; precision 0)"},"address3":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 3 (SDO ADDRESS_3; Optional; precision 0)"},"address4":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 4 (SDO ADDRESS_4; Optional; precision 0)"},"address5":{"type":"string","nullable":true,"maxLength":60,"description":"Delivery address line 5 (SDO ADDRESS_5; Optional; precision 0)"},"addressRef":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Address reference number (SDO ADDRESS_REF; Required; precision 0)"},"addressType":{"type":"integer","nullable":true,"minimum":0,"maximum":255,"description":"Address Type (SDO ADDRESS_TYPE; Required; precision 0)"},"contactName":{"type":"string","nullable":true,"maxLength":30,"description":"Contact name (SDO CONTACT_NAME; Optional; precision 0)"},"contactRole":{"type":"string","nullable":true,"maxLength":30,"description":"Contact Role (SDO CONTACT_ROLE; Optional; precision 0)"},"countryCode":{"type":"string","nullable":true,"maxLength":2,"description":"Country Code (SDO COUNTRY_CODE; Required; precision 0)"},"defaultRef":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Default indicator (SDO DEFAULT_REF; Required; precision 0)"},"description":{"type":"string","nullable":true,"maxLength":60,"description":"Description (SDO DESCRIPTION; Required; precision 0)"},"email":{"type":"string","nullable":true,"maxLength":255,"description":"EMail (SDO EMAIL; Optional; precision 0)"},"fax":{"type":"string","nullable":true,"maxLength":30,"description":"Fax (SDO FAX; Optional; precision 0)"},"name":{"type":"string","nullable":true,"maxLength":60,"description":"Name (SDO NAME; Required; precision 0)"},"notes":{"type":"string","nullable":true,"maxLength":200,"description":"Notes (SDO NOTES; Optional; precision 0)"},"recordCreateDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was created (SDO RECORD_CREATE_DATE; Optional; precision 0)"},"recordDeleted":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Flag denoting if the record has been deleted or not. (SDO RECORD_DELETED; Optional; precision 0)"},"recordModifyDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Date and time when the record was modified (SDO RECORD_MODIFY_DATE; Optional; precision 0)"},"reference":{"type":"string","nullable":true,"maxLength":12,"description":"Delivery address reference (SDO REFERENCE; Required; precision 0)"},"taxCode":{"type":"integer","nullable":true,"minimum":-32768,"maximum":32767,"description":"Tax Code (SDO TAX_CODE; Required; precision 0)"},"telephone":{"type":"string","nullable":true,"maxLength":30,"description":"Telephone (SDO TELEPHONE; Optional; precision 0)"},"telephone2":{"type":"string","nullable":true,"maxLength":30,"description":"Telephone2 (SDO TELEPHONE_2; Optional; precision 0)"},"ukimsNumber":{"type":"string","nullable":true,"maxLength":64,"description":"UK IMS Number (SDO UKIMS_NUMBER; Optional; precision 0)"},"vatNumber":{"type":"string","nullable":true,"maxLength":20,"description":"Vat Registration Number (SDO VAT_NUMBER; Optional; precision 0)"},"id":{"type":"string"}},"required":["accountRef","address1","address2","address3","address4","address5","addressRef","addressType","contactName","contactRole","countryCode","defaultRef","description","email","fax","name","notes","recordCreateDate","recordDeleted","recordModifyDate","reference","taxCode","telephone","telephone2","ukimsNumber","vatNumber","id"],"additionalProperties":false},"Us2026_1_employees_get":{"type":"object","properties":{"email":{"type":"string","nullable":true,"maxLength":100000},"code":{"type":"string","nullable":true,"maxLength":100000},"isInactive":{"type":"boolean"},"isSalesRepresentative":{"type":"boolean"},"name":{"type":"string","nullable":true,"maxLength":100000},"phoneNumbers":{"type":"array","nullable":true,"items":{"type":"object","nullable":true,"properties":{"key":{"type":"integer","enum":[3,4,5,6,0,1,2]},"number":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"maxItems":10000},"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"Us2026_1_jobs_get":{"type":"object","properties":{"description":{"type":"string","nullable":true,"maxLength":100000},"code":{"type":"string","nullable":true,"maxLength":100000},"isInactive":{"type":"boolean"},"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"Us2026_1_budgets_get":{"type":"object","properties":{"description":{"type":"string","nullable":true,"maxLength":100000},"code":{"type":"string","nullable":true,"maxLength":100000},"note":{"type":"string","nullable":true,"maxLength":100000},"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"Us2026_1_quotes_get":{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"amount":{"type":"number"},"date":{"type":"string"},"isPosted":{"type":"boolean"},"lastSavedAt":{"type":"string"},"referenceNumber":{"type":"string","nullable":true,"maxLength":100000},"customerNote":{"type":"string","nullable":true,"maxLength":100000},"customerPurchaseOrderNumber":{"type":"string","nullable":true,"maxLength":100000},"customerReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"discountAmount":{"type":"number"},"discountDate":{"type":"string","nullable":true},"dropShip":{"type":"boolean"},"freightAccountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"freightAmount":{"type":"number"},"goodThroughDate":{"type":"string","nullable":true},"internalNote":{"type":"string","nullable":true,"maxLength":100000},"printCustomerNoteAfterLineItems":{"type":"boolean"},"quoteLines":{"type":"array","nullable":true,"items":{"type":"object","nullable":true,"properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"amount":{"type":"number"},"description":{"type":"string","nullable":true,"maxLength":100000},"isUsed":{"type":"boolean"},"inventoryItemReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"jobReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"parentTransactionReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"quantity":{"type":"number"},"salesTaxType":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"unitPrice":{"type":"number"},"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"maxItems":10000},"salesRepresentativeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"salesTaxAmount":{"type":"number"},"salesTaxCodeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"shipToAddress":{"type":"object","nullable":true,"properties":{"address":{"type":"object","nullable":true,"properties":{"address1":{"type":"string","nullable":true,"maxLength":100000},"address2":{"type":"string","nullable":true,"maxLength":100000},"city":{"type":"string","nullable":true,"maxLength":100000},"country":{"type":"string","nullable":true,"maxLength":100000},"salesTaxCode":{"type":"string","nullable":true,"maxLength":100000},"state":{"type":"string","nullable":true,"maxLength":100000},"zip":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"name":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"shipVia":{"type":"string","nullable":true,"maxLength":100000},"statementNote":{"type":"string","nullable":true,"maxLength":100000},"termsDescription":{"type":"string","nullable":true,"maxLength":100000},"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"Us2026_1_quotes_create":{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"referenceNumber":{"type":"string","minLength":1,"maxLength":100000},"customerNote":{"type":"string","nullable":true,"maxLength":100000},"customerPurchaseOrderNumber":{"type":"string","nullable":true,"maxLength":100000},"customerReference":{"type":"object","properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"discountAmount":{"type":"number"},"discountDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"dropShip":{"type":"boolean"},"freightAccountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"freightAmount":{"type":"number"},"goodThroughDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"internalNote":{"type":"string","nullable":true,"maxLength":100000},"printCustomerNoteAfterLineItems":{"type":"boolean"},"salesRepresentativeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"salesTaxCodeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"shipVia":{"type":"string","nullable":true,"maxLength":100000},"statementNote":{"type":"string","nullable":true,"maxLength":100000},"termsDescription":{"type":"string","nullable":true,"maxLength":100000},"lines":{"type":"array","items":{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"amount":{"type":"number"},"description":{"type":"string","nullable":true,"maxLength":100000},"inventoryItemReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"jobReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"quantity":{"type":"number"},"salesTaxType":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"unitPrice":{"type":"number"}},"additionalProperties":false},"minItems":1,"maxItems":1000}},"required":["date","referenceNumber","customerReference","lines"],"additionalProperties":false},"Us2026_1_quotes_update":{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"referenceNumber":{"type":"string","nullable":true,"maxLength":100000},"customerNote":{"type":"string","nullable":true,"maxLength":100000},"customerPurchaseOrderNumber":{"type":"string","nullable":true,"maxLength":100000},"customerReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"discountAmount":{"type":"number"},"discountDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"dropShip":{"type":"boolean"},"freightAccountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"freightAmount":{"type":"number"},"goodThroughDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"internalNote":{"type":"string","nullable":true,"maxLength":100000},"printCustomerNoteAfterLineItems":{"type":"boolean"},"salesRepresentativeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"salesTaxCodeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"shipVia":{"type":"string","nullable":true,"maxLength":100000},"statementNote":{"type":"string","nullable":true,"maxLength":100000},"termsDescription":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false,"minProperties":1},"Us2026_1_proposals_get":{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"amount":{"type":"number"},"date":{"type":"string"},"isPosted":{"type":"boolean"},"lastSavedAt":{"type":"string"},"referenceNumber":{"type":"string","nullable":true,"maxLength":100000},"accepted":{"type":"boolean"},"customerNote":{"type":"string","nullable":true,"maxLength":100000},"customerPurchaseOrderNumber":{"type":"string","nullable":true,"maxLength":100000},"customerReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"discountAmount":{"type":"number"},"discountDate":{"type":"string","nullable":true},"freightAccountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"freightAmount":{"type":"number"},"internalNote":{"type":"string","nullable":true,"maxLength":100000},"isClosed":{"type":"boolean"},"isDropShip":{"type":"boolean"},"printCustomerNoteAfterLineItems":{"type":"boolean"},"proposalLines":{"type":"array","nullable":true,"items":{"type":"object","nullable":true,"properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"amount":{"type":"number"},"description":{"type":"string","nullable":true,"maxLength":100000},"isUsed":{"type":"boolean"},"inventoryItemReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"jobReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"parentTransactionReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"quantity":{"type":"number"},"salesTaxType":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"unitPrice":{"type":"number"},"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"maxItems":10000},"salesRepresentativeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"salesTaxAmount":{"type":"number"},"salesTaxCodeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"shipByDate":{"type":"string","nullable":true},"shipDate":{"type":"string","nullable":true},"shipToAddress":{"type":"object","nullable":true,"properties":{"address":{"type":"object","nullable":true,"properties":{"address1":{"type":"string","nullable":true,"maxLength":100000},"address2":{"type":"string","nullable":true,"maxLength":100000},"city":{"type":"string","nullable":true,"maxLength":100000},"country":{"type":"string","nullable":true,"maxLength":100000},"salesTaxCode":{"type":"string","nullable":true,"maxLength":100000},"state":{"type":"string","nullable":true,"maxLength":100000},"zip":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"name":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"shipVia":{"type":"string","nullable":true,"maxLength":100000},"statementNote":{"type":"string","nullable":true,"maxLength":100000},"termsDescription":{"type":"string","nullable":true,"maxLength":100000},"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"Us2026_1_customer_credit_memos_get":{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"amount":{"type":"number"},"date":{"type":"string"},"isPosted":{"type":"boolean"},"lastSavedAt":{"type":"string"},"referenceNumber":{"type":"string","nullable":true,"maxLength":100000},"amountDue":{"type":"number"},"applyToInvoiceLines":{"type":"array","nullable":true,"items":{"type":"object","nullable":true,"properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"amount":{"type":"number"},"description":{"type":"string","nullable":true,"maxLength":100000},"isUsed":{"type":"boolean"},"inventoryItemReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"jobReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"parentTransactionReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"quantity":{"type":"number"},"salesInvoiceLineReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"unitPrice":{"type":"number"},"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"maxItems":10000},"applyToSalesLines":{"type":"array","nullable":true,"items":{"type":"object","nullable":true,"properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"amount":{"type":"number"},"description":{"type":"string","nullable":true,"maxLength":100000},"isUsed":{"type":"boolean"},"inventoryItemReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"jobReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"parentTransactionReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"quantity":{"type":"number"},"salesTaxType":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"unitPrice":{"type":"number"},"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"maxItems":10000},"customerNote":{"type":"string","nullable":true,"maxLength":100000},"customerPurchaseOrderNumber":{"type":"string","nullable":true,"maxLength":100000},"customerReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"dateDue":{"type":"string","nullable":true},"discountAmount":{"type":"number"},"discountDate":{"type":"string","nullable":true},"freightAccountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"freightAmount":{"type":"number"},"internalNote":{"type":"string","nullable":true,"maxLength":100000},"printCustomerNoteAfterLineItems":{"type":"boolean"},"returnAuthorization":{"type":"string","nullable":true,"maxLength":100000},"salesRepresentativeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"salesTaxAmount":{"type":"number"},"salesTaxCodeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"statementNote":{"type":"string","nullable":true,"maxLength":100000},"termsDescription":{"type":"string","nullable":true,"maxLength":100000},"withholdRetainageLines":{"type":"array","nullable":true,"items":{"type":"object","nullable":true,"properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"amount":{"type":"number"},"description":{"type":"string","nullable":true,"maxLength":100000},"isUsed":{"type":"boolean"},"jobReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"parentTransactionReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"retainagePercent":{"type":"number"},"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"maxItems":10000},"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"Us2026_1_customer_credit_memos_create":{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"referenceNumber":{"type":"string","minLength":1,"maxLength":100000},"customerNote":{"type":"string","nullable":true,"maxLength":100000},"customerPurchaseOrderNumber":{"type":"string","nullable":true,"maxLength":100000},"customerReference":{"type":"object","properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"dateDue":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"discountAmount":{"type":"number"},"discountDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"freightAmount":{"type":"number"},"internalNote":{"type":"string","nullable":true,"maxLength":100000},"printCustomerNoteAfterLineItems":{"type":"boolean"},"returnAuthorization":{"type":"string","nullable":true,"maxLength":100000},"salesRepresentativeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"salesTaxCodeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"statementNote":{"type":"string","nullable":true,"maxLength":100000},"termsDescription":{"type":"string","nullable":true,"maxLength":100000},"lines":{"type":"array","items":{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"amount":{"type":"number"},"description":{"type":"string","nullable":true,"maxLength":100000},"inventoryItemReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"jobReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"quantity":{"type":"number"},"salesTaxType":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"unitPrice":{"type":"number"}},"additionalProperties":false},"minItems":1,"maxItems":1000}},"required":["date","referenceNumber","customerReference","lines"],"additionalProperties":false},"Us2026_1_customer_credit_memos_update":{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"referenceNumber":{"type":"string","nullable":true,"maxLength":100000},"customerNote":{"type":"string","nullable":true,"maxLength":100000},"customerPurchaseOrderNumber":{"type":"string","nullable":true,"maxLength":100000},"customerReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"dateDue":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"discountAmount":{"type":"number"},"discountDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"freightAmount":{"type":"number"},"internalNote":{"type":"string","nullable":true,"maxLength":100000},"printCustomerNoteAfterLineItems":{"type":"boolean"},"returnAuthorization":{"type":"string","nullable":true,"maxLength":100000},"salesRepresentativeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"salesTaxCodeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"statementNote":{"type":"string","nullable":true,"maxLength":100000},"termsDescription":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false,"minProperties":1},"Us2026_1_receipts_get":{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"amount":{"type":"number"},"date":{"type":"string"},"isPosted":{"type":"boolean"},"lastSavedAt":{"type":"string"},"referenceNumber":{"type":"string","nullable":true,"maxLength":100000},"applyToInvoiceLines":{"type":"array","nullable":true,"items":{"type":"object","nullable":true,"properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"amount":{"type":"number"},"description":{"type":"string","nullable":true,"maxLength":100000},"isUsed":{"type":"boolean"},"amountPaid":{"type":"number"},"discountAccountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"discountAmount":{"type":"number"},"invoiceReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"jobReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"parentTransactionReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"maxItems":10000},"applyToSalesLines":{"type":"array","nullable":true,"items":{"type":"object","nullable":true,"properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"amount":{"type":"number"},"description":{"type":"string","nullable":true,"maxLength":100000},"isUsed":{"type":"boolean"},"inventoryItemReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"jobReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"parentTransactionReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"quantity":{"type":"number"},"salesTaxType":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"unitPrice":{"type":"number"},"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"maxItems":10000},"creditCardAuthorizationInfo":{"type":"object","nullable":true,"properties":{"address":{"type":"object","nullable":true,"properties":{"address":{"type":"object","nullable":true,"properties":{"address1":{"type":"string","nullable":true,"maxLength":100000},"address2":{"type":"string","nullable":true,"maxLength":100000},"city":{"type":"string","nullable":true,"maxLength":100000},"country":{"type":"string","nullable":true,"maxLength":100000},"salesTaxCode":{"type":"string","nullable":true,"maxLength":100000},"state":{"type":"string","nullable":true,"maxLength":100000},"zip":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"name":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"amountAuthorized":{"type":"number"},"authorizationCode":{"type":"string","nullable":true,"maxLength":100000},"authorizationStatus":{"type":"integer","enum":[3,5,6,1,0,2,4]},"expirationDate":{"type":"string","nullable":true},"lastFourDigits":{"type":"string","nullable":true,"maxLength":100000},"note":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"customerReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"depositTicketID":{"type":"string","nullable":true,"maxLength":100000},"discountAccountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"mainAddress":{"type":"object","nullable":true,"properties":{"address":{"type":"object","nullable":true,"properties":{"address1":{"type":"string","nullable":true,"maxLength":100000},"address2":{"type":"string","nullable":true,"maxLength":100000},"city":{"type":"string","nullable":true,"maxLength":100000},"country":{"type":"string","nullable":true,"maxLength":100000},"salesTaxCode":{"type":"string","nullable":true,"maxLength":100000},"state":{"type":"string","nullable":true,"maxLength":100000},"zip":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"name":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"paymentMethod":{"type":"string","nullable":true,"maxLength":100000},"receiptNumber":{"type":"string","nullable":true,"maxLength":100000},"salesRepresentativeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"salesTaxAmount":{"type":"number"},"salesTaxCodeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"Us2026_1_receipts_create":{"type":"object","properties":{"accountReference":{"type":"object","properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"referenceNumber":{"type":"string","minLength":1,"maxLength":100000},"customerReference":{"type":"object","properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"depositTicketID":{"type":"string","nullable":true,"maxLength":100000},"discountAccountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"paymentMethod":{"type":"string","nullable":true,"maxLength":100000},"receiptNumber":{"type":"string","nullable":true,"maxLength":100000},"salesRepresentativeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"salesTaxCodeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"lines":{"type":"array","items":{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"amount":{"type":"number"},"description":{"type":"string","nullable":true,"maxLength":100000},"inventoryItemReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"jobReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"quantity":{"type":"number"},"salesTaxType":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"unitPrice":{"type":"number"}},"additionalProperties":false},"minItems":1,"maxItems":1000}},"required":["accountReference","date","referenceNumber","customerReference","lines"],"additionalProperties":false},"Us2026_1_receipts_update":{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"referenceNumber":{"type":"string","nullable":true,"maxLength":100000},"customerReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"depositTicketID":{"type":"string","nullable":true,"maxLength":100000},"discountAccountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"paymentMethod":{"type":"string","nullable":true,"maxLength":100000},"receiptNumber":{"type":"string","nullable":true,"maxLength":100000},"salesRepresentativeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"salesTaxCodeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false}},"additionalProperties":false,"minProperties":1},"Us2026_1_advance_receipts_get":{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"amount":{"type":"number"},"date":{"type":"string"},"isPosted":{"type":"boolean"},"lastSavedAt":{"type":"string"},"referenceNumber":{"type":"string","nullable":true,"maxLength":100000},"advanceReceiptLines":{"type":"array","nullable":true,"items":{"type":"object","nullable":true,"properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"amount":{"type":"number"},"description":{"type":"string","nullable":true,"maxLength":100000},"isUsed":{"type":"boolean"},"parentTransactionReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"maxItems":10000},"amountRemaining":{"type":"number"},"creditCardAuthorizationInfo":{"type":"object","nullable":true,"properties":{"address":{"type":"object","nullable":true,"properties":{"address":{"type":"object","nullable":true,"properties":{"address1":{"type":"string","nullable":true,"maxLength":100000},"address2":{"type":"string","nullable":true,"maxLength":100000},"city":{"type":"string","nullable":true,"maxLength":100000},"country":{"type":"string","nullable":true,"maxLength":100000},"salesTaxCode":{"type":"string","nullable":true,"maxLength":100000},"state":{"type":"string","nullable":true,"maxLength":100000},"zip":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"name":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"amountAuthorized":{"type":"number"},"authorizationCode":{"type":"string","nullable":true,"maxLength":100000},"authorizationStatus":{"type":"integer","enum":[3,5,6,1,0,2,4]},"expirationDate":{"type":"string","nullable":true},"lastFourDigits":{"type":"string","nullable":true,"maxLength":100000},"note":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"customerReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"mainAddress":{"type":"object","nullable":true,"properties":{"address":{"type":"object","nullable":true,"properties":{"address1":{"type":"string","nullable":true,"maxLength":100000},"address2":{"type":"string","nullable":true,"maxLength":100000},"city":{"type":"string","nullable":true,"maxLength":100000},"country":{"type":"string","nullable":true,"maxLength":100000},"salesTaxCode":{"type":"string","nullable":true,"maxLength":100000},"state":{"type":"string","nullable":true,"maxLength":100000},"zip":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"name":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"paymentMethod":{"type":"string","nullable":true,"maxLength":100000},"salesRepresentativeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"Us2026_1_advance_receipts_create":{"type":"object","properties":{"accountReference":{"type":"object","properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"referenceNumber":{"type":"string","minLength":1,"maxLength":100000},"customerReference":{"type":"object","properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"paymentMethod":{"type":"string","nullable":true,"maxLength":100000},"salesRepresentativeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"lines":{"type":"array","items":{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"amount":{"type":"number"},"description":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"minItems":1,"maxItems":1000}},"required":["accountReference","date","referenceNumber","customerReference","lines"],"additionalProperties":false},"Us2026_1_advance_receipts_update":{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"referenceNumber":{"type":"string","nullable":true,"maxLength":100000},"customerReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"paymentMethod":{"type":"string","nullable":true,"maxLength":100000},"salesRepresentativeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false}},"additionalProperties":false,"minProperties":1},"Us2026_1_payments_get":{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"amount":{"type":"number"},"date":{"type":"string"},"isPosted":{"type":"boolean"},"lastSavedAt":{"type":"string"},"referenceNumber":{"type":"string","nullable":true,"maxLength":100000},"applyToExpenseLines":{"type":"array","nullable":true,"items":{"type":"object","nullable":true,"properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"amount":{"type":"number"},"description":{"type":"string","nullable":true,"maxLength":100000},"isUsed":{"type":"boolean"},"inventoryItemReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"jobReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"parentTransactionReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"quantity":{"type":"number"},"unitPrice":{"type":"number"},"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"maxItems":10000},"applyToInvoiceLines":{"type":"array","nullable":true,"items":{"type":"object","nullable":true,"properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"amount":{"type":"number"},"description":{"type":"string","nullable":true,"maxLength":100000},"isUsed":{"type":"boolean"},"amountPaid":{"type":"number"},"discountAccountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"discountAmount":{"type":"number"},"invoiceReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"jobReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"parentTransactionReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"maxItems":10000},"attachments":{"type":"array","nullable":true,"items":{"type":"object","nullable":true,"properties":{"lastModified":{"type":"string"},"name":{"type":"string","nullable":true,"maxLength":100000},"size":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"additionalProperties":false},"maxItems":10000},"dateSent":{"type":"string","nullable":true},"discountAccountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"electronicIdentifier":{"type":"string","nullable":true,"maxLength":100000},"fundingAccount":{"type":"string","nullable":true,"maxLength":100000},"isElectronicPayment":{"type":"boolean"},"mainAddress":{"type":"object","nullable":true,"properties":{"address":{"type":"object","nullable":true,"properties":{"address1":{"type":"string","nullable":true,"maxLength":100000},"address2":{"type":"string","nullable":true,"maxLength":100000},"city":{"type":"string","nullable":true,"maxLength":100000},"country":{"type":"string","nullable":true,"maxLength":100000},"salesTaxCode":{"type":"string","nullable":true,"maxLength":100000},"state":{"type":"string","nullable":true,"maxLength":100000},"zip":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"name":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"memo":{"type":"string","nullable":true,"maxLength":100000},"paymentMethod":{"type":"string","nullable":true,"maxLength":100000},"vendorReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"Us2026_1_payments_create":{"type":"object","properties":{"accountReference":{"type":"object","properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"referenceNumber":{"type":"string","minLength":1,"maxLength":100000},"discountAccountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"memo":{"type":"string","nullable":true,"maxLength":100000},"paymentMethod":{"type":"string","nullable":true,"maxLength":100000},"vendorReference":{"type":"object","properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"lines":{"type":"array","items":{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"amount":{"type":"number"},"description":{"type":"string","nullable":true,"maxLength":100000},"inventoryItemReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"jobReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"quantity":{"type":"number"},"unitPrice":{"type":"number"}},"additionalProperties":false},"minItems":1,"maxItems":1000}},"required":["accountReference","date","referenceNumber","vendorReference","lines"],"additionalProperties":false},"Us2026_1_payments_update":{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"referenceNumber":{"type":"string","nullable":true,"maxLength":100000},"discountAccountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"memo":{"type":"string","nullable":true,"maxLength":100000},"paymentMethod":{"type":"string","nullable":true,"maxLength":100000},"vendorReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false}},"additionalProperties":false,"minProperties":1},"Us2026_1_advance_payments_get":{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"amount":{"type":"number"},"date":{"type":"string"},"isPosted":{"type":"boolean"},"lastSavedAt":{"type":"string"},"referenceNumber":{"type":"string","nullable":true,"maxLength":100000},"advancePaymentLines":{"type":"array","nullable":true,"items":{"type":"object","nullable":true,"properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"amount":{"type":"number"},"description":{"type":"string","nullable":true,"maxLength":100000},"isUsed":{"type":"boolean"},"parentTransactionReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"maxItems":10000},"amountRemaining":{"type":"number"},"dateSent":{"type":"string","nullable":true},"electronicIdentifier":{"type":"string","nullable":true,"maxLength":100000},"fundingAccount":{"type":"string","nullable":true,"maxLength":100000},"isElectronicPayment":{"type":"boolean"},"mainAddress":{"type":"object","nullable":true,"properties":{"address":{"type":"object","nullable":true,"properties":{"address1":{"type":"string","nullable":true,"maxLength":100000},"address2":{"type":"string","nullable":true,"maxLength":100000},"city":{"type":"string","nullable":true,"maxLength":100000},"country":{"type":"string","nullable":true,"maxLength":100000},"salesTaxCode":{"type":"string","nullable":true,"maxLength":100000},"state":{"type":"string","nullable":true,"maxLength":100000},"zip":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"name":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"vendorReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"Us2026_1_customer_payments_get":{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"amount":{"type":"number"},"date":{"type":"string"},"isPosted":{"type":"boolean"},"lastSavedAt":{"type":"string"},"referenceNumber":{"type":"string","nullable":true,"maxLength":100000},"amountRemaining":{"type":"number"},"customerPaymentLines":{"type":"array","nullable":true,"items":{"type":"object","nullable":true,"properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"amount":{"type":"number"},"description":{"type":"string","nullable":true,"maxLength":100000},"isUsed":{"type":"boolean"},"parentTransactionReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"maxItems":10000},"customerReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"Us2026_1_supplier_receipts_get":{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"amount":{"type":"number"},"date":{"type":"string"},"isPosted":{"type":"boolean"},"lastSavedAt":{"type":"string"},"referenceNumber":{"type":"string","nullable":true,"maxLength":100000},"amountRemaining":{"type":"number"},"vendorReceiptLines":{"type":"array","nullable":true,"items":{"type":"object","nullable":true,"properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"amount":{"type":"number"},"description":{"type":"string","nullable":true,"maxLength":100000},"isUsed":{"type":"boolean"},"parentTransactionReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"maxItems":10000},"vendorReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"Us2026_1_purchase_invoices_get":{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"amount":{"type":"number"},"date":{"type":"string"},"isPosted":{"type":"boolean"},"lastSavedAt":{"type":"string"},"referenceNumber":{"type":"string","nullable":true,"maxLength":100000},"amountDue":{"type":"number"},"applyToOrderLines":{"type":"array","nullable":true,"items":{"type":"object","nullable":true,"properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"amount":{"type":"number"},"description":{"type":"string","nullable":true,"maxLength":100000},"isUsed":{"type":"boolean"},"inventoryItemReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"jobReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"parentTransactionReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"purchaseOrderLineReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"quantity":{"type":"number"},"unitPrice":{"type":"number"},"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"maxItems":10000},"applyToPurchasesLines":{"type":"array","nullable":true,"items":{"type":"object","nullable":true,"properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"amount":{"type":"number"},"description":{"type":"string","nullable":true,"maxLength":100000},"isUsed":{"type":"boolean"},"inventoryItemReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"jobReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"parentTransactionReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"quantity":{"type":"number"},"unitPrice":{"type":"number"},"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"maxItems":10000},"customerReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"customerSalesOrderNumber":{"type":"string","nullable":true,"maxLength":100000},"dateDue":{"type":"string","nullable":true},"discountAmount":{"type":"number"},"discountDate":{"type":"string","nullable":true},"dropShip":{"type":"boolean"},"internalNote":{"type":"string","nullable":true,"maxLength":100000},"printVendorNoteAfterLineItems":{"type":"boolean"},"shipToAddress":{"type":"object","nullable":true,"properties":{"address":{"type":"object","nullable":true,"properties":{"address1":{"type":"string","nullable":true,"maxLength":100000},"address2":{"type":"string","nullable":true,"maxLength":100000},"city":{"type":"string","nullable":true,"maxLength":100000},"country":{"type":"string","nullable":true,"maxLength":100000},"salesTaxCode":{"type":"string","nullable":true,"maxLength":100000},"state":{"type":"string","nullable":true,"maxLength":100000},"zip":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"name":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"shipVia":{"type":"string","nullable":true,"maxLength":100000},"termsDescription":{"type":"string","nullable":true,"maxLength":100000},"vendorNote":{"type":"string","nullable":true,"maxLength":100000},"vendorReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"waitingForBill":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"withholdRetainageLines":{"type":"array","nullable":true,"items":{"type":"object","nullable":true,"properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"amount":{"type":"number"},"description":{"type":"string","nullable":true,"maxLength":100000},"isUsed":{"type":"boolean"},"jobReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"parentTransactionReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"retainagePercent":{"type":"number"},"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"maxItems":10000},"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"Us2026_1_purchase_invoices_create":{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"referenceNumber":{"type":"string","minLength":1,"maxLength":100000},"customerReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"customerSalesOrderNumber":{"type":"string","nullable":true,"maxLength":100000},"dateDue":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"discountAmount":{"type":"number"},"discountDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"dropShip":{"type":"boolean"},"internalNote":{"type":"string","nullable":true,"maxLength":100000},"printVendorNoteAfterLineItems":{"type":"boolean"},"shipVia":{"type":"string","nullable":true,"maxLength":100000},"termsDescription":{"type":"string","nullable":true,"maxLength":100000},"vendorNote":{"type":"string","nullable":true,"maxLength":100000},"vendorReference":{"type":"object","properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"waitingForBill":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"lines":{"type":"array","items":{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"amount":{"type":"number"},"description":{"type":"string","nullable":true,"maxLength":100000},"inventoryItemReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"jobReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"quantity":{"type":"number"},"unitPrice":{"type":"number"}},"additionalProperties":false},"minItems":1,"maxItems":1000}},"required":["date","referenceNumber","vendorReference","lines"],"additionalProperties":false},"Us2026_1_purchase_invoices_update":{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"referenceNumber":{"type":"string","nullable":true,"maxLength":100000},"customerReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"customerSalesOrderNumber":{"type":"string","nullable":true,"maxLength":100000},"dateDue":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"discountAmount":{"type":"number"},"discountDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"dropShip":{"type":"boolean"},"internalNote":{"type":"string","nullable":true,"maxLength":100000},"printVendorNoteAfterLineItems":{"type":"boolean"},"shipVia":{"type":"string","nullable":true,"maxLength":100000},"termsDescription":{"type":"string","nullable":true,"maxLength":100000},"vendorNote":{"type":"string","nullable":true,"maxLength":100000},"vendorReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"waitingForBill":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"additionalProperties":false,"minProperties":1},"Us2026_1_supplier_credit_memos_get":{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"amount":{"type":"number"},"date":{"type":"string"},"isPosted":{"type":"boolean"},"lastSavedAt":{"type":"string"},"referenceNumber":{"type":"string","nullable":true,"maxLength":100000},"amountDue":{"type":"number"},"applyToInvoiceLines":{"type":"array","nullable":true,"items":{"type":"object","nullable":true,"properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"amount":{"type":"number"},"description":{"type":"string","nullable":true,"maxLength":100000},"isUsed":{"type":"boolean"},"inventoryItemReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"jobReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"parentTransactionReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"purchaseInvoiceLineReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"quantity":{"type":"number"},"unitPrice":{"type":"number"},"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"maxItems":10000},"applyToPurchasesLines":{"type":"array","nullable":true,"items":{"type":"object","nullable":true,"properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"amount":{"type":"number"},"description":{"type":"string","nullable":true,"maxLength":100000},"isUsed":{"type":"boolean"},"inventoryItemReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"jobReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"parentTransactionReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"quantity":{"type":"number"},"unitPrice":{"type":"number"},"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"maxItems":10000},"dateDue":{"type":"string","nullable":true},"discountAmount":{"type":"number"},"discountDate":{"type":"string","nullable":true},"internalNote":{"type":"string","nullable":true,"maxLength":100000},"printVendorNoteAfterLineItems":{"type":"boolean"},"returnAuthorization":{"type":"string","nullable":true,"maxLength":100000},"termsDescription":{"type":"string","nullable":true,"maxLength":100000},"vendorReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"Us2026_1_journal_entries_get":{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"amount":{"type":"number"},"date":{"type":"string"},"isPosted":{"type":"boolean"},"lastSavedAt":{"type":"string"},"referenceNumber":{"type":"string","nullable":true,"maxLength":100000},"generalJournalEntryLines":{"type":"array","nullable":true,"items":{"type":"object","nullable":true,"properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"amount":{"type":"number"},"description":{"type":"string","nullable":true,"maxLength":100000},"isUsed":{"type":"boolean"},"jobReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"parentTransactionReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"maxItems":10000},"isReversingTransaction":{"type":"boolean"},"partnerReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"Us2026_1_journal_entries_create":{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"referenceNumber":{"type":"string","minLength":1,"maxLength":100000},"isReversingTransaction":{"type":"boolean"},"lines":{"type":"array","items":{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"amount":{"type":"number"},"description":{"type":"string","nullable":true,"maxLength":100000},"jobReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false}},"additionalProperties":false},"minItems":1,"maxItems":1000}},"required":["date","referenceNumber","lines"],"additionalProperties":false},"Us2026_1_journal_entries_update":{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"referenceNumber":{"type":"string","nullable":true,"maxLength":100000},"isReversingTransaction":{"type":"boolean"}},"additionalProperties":false,"minProperties":1},"Us2026_1_tax_codes_get":{"type":"object","properties":{"appliesToFreight":{"type":"boolean"},"description":{"type":"string","nullable":true,"maxLength":100000},"code":{"type":"string","nullable":true,"maxLength":100000},"salesTaxAgencies":{"type":"array","nullable":true,"items":{"type":"object","nullable":true,"properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"description":{"type":"string","nullable":true,"maxLength":100000},"code":{"type":"string","nullable":true,"maxLength":100000},"payeeVendorReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"maxItems":10000},"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"Us2026_1_tax_agencies_get":{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"description":{"type":"string","nullable":true,"maxLength":100000},"code":{"type":"string","nullable":true,"maxLength":100000},"payeeVendorReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"SageWebhookEndpointRequest":{"type":"object","properties":{"url":{"type":"string","maxLength":2048,"format":"uri"},"secret":{"type":"string","minLength":32,"maxLength":128,"writeOnly":true},"changes":{"type":"object","properties":{"resources":{"type":"array","items":{"anyOf":[{"type":"string","enum":["customers","suppliers","items","accounts","bank-accounts","invoices","sales-orders","purchase-orders","fixed-assets","price-lists","customer-addresses","supplier-addresses","company-addresses"]},{"type":"string","enum":["accounts","customers","suppliers","items","employees","jobs","budgets","quotes","proposals","sales-orders","invoices","customer-credit-memos","receipts","advance-receipts","payments","advance-payments","customer-payments","supplier-receipts","purchase-orders","purchase-invoices","supplier-credit-memos","journal-entries","tax-codes","tax-agencies"]}]},"minItems":1,"maxItems":24},"intervalSeconds":{"type":"integer","enum":[60,300,900]}},"required":["resources","intervalSeconds"],"additionalProperties":false}},"required":["url","secret"],"additionalProperties":false},"IntegrationError":{"type":"object","description":"One friendly error shape for every failed request. Show `userFacingMessage` to the person using your app, check `code` in your app, and include `requestId` when asking for help.","required":["message","userFacingMessage","type","code","httpStatusCode","requestId","integrationCode","retryable","correlationId","details"],"properties":{"message":{"type":"string","description":"Detailed message for logs and support.","example":"Multiple active Sage connections found. Include Sage-Connection-Id."},"userFacingMessage":{"type":"string","nullable":true,"description":"A safe message your app can show to the person using it.","example":"Choose which Sage company to use and try again."},"type":{"type":"string","description":"The broad kind of problem.","example":"request_error"},"code":{"type":"string","description":"A stable code your app can check.","example":"CONNECTION_ID_REQUIRED"},"httpStatusCode":{"type":"integer","minimum":400,"maximum":599,"description":"The HTTP status for this result.","example":400},"requestId":{"type":"string","nullable":true,"description":"The id to include when asking support about this request.","example":"req_123"},"integrationCode":{"type":"string","nullable":true,"description":"The original Sage error code, when Sage provides one.","example":null},"retryable":{"type":"boolean","description":"Whether trying again later may work.","example":false},"correlationId":{"type":"string","nullable":true,"description":"A deeper trace id for the Sage action behind this request.","example":null},"details":{"type":"object","additionalProperties":true,"description":"Extra support details for this error."}}},"PublicErrorResponse":{"type":"object","description":"Failed requests return this wrapper.","required":["error"],"properties":{"error":{"$ref":"#/components/schemas/IntegrationError"}}}},"parameters":{},"examples":{"Health":{"summary":"Healthy API","value":{"ok":true,"schemaVersion":"2026-04-17"}},"Connection":{"summary":"Connected Sage 50 US registration","value":{"accountId":"acct_123","connectionId":"conn_123","region":"us","connectorType":"sage50-us","displayName":"Acme Manufacturing - Sage 50 US","status":"connected","lastHeartbeatAt":"2026-04-17T16:00:00.000Z","queueDepth":0,"sdkVersion":"2026.1","appVersion":"1.0.0","machineId":"machine_123","capabilities":["customers:read","items:read","invoices:read","invoices:write"],"credentialVersion":1,"disabled":false,"createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z"}},"NormalizedError":{"summary":"Normalized error object","value":{"error":{"message":"Multiple active Sage connections found. Include Sage-Connection-Id.","userFacingMessage":"Choose which Sage company to use and try again.","type":"request_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}},"BadRequestError":{"summary":"Invalid request","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}},"ForbiddenError":{"summary":"Forbidden","value":{"error":{"message":"Bearer token cannot access this account.","userFacingMessage":"Sign in to the right account and try again.","type":"authorization_error","code":"FORBIDDEN","httpStatusCode":403,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}},"NotFoundError":{"summary":"Resource not found","value":{"error":{"message":"The requested customer could not be found in Sage.","userFacingMessage":"Choose an existing customer and try again.","type":"not_found_error","code":"NOT_FOUND","httpStatusCode":404,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}},"ConflictError":{"summary":"Connection unavailable","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}},"ValidationError":{"summary":"Sage validation failed","value":{"error":{"message":"Sage rejected the customer because one or more fields were invalid.","userFacingMessage":"Review the customer details and try again.","type":"integration_validation_error","code":"SAGE_VALIDATION_FAILED","httpStatusCode":422,"requestId":"req_123","integrationCode":"VAL-1001","retryable":false,"correlationId":null,"details":{"fieldErrors":[{"field":"name","message":"Name is required."}]}}}},"ConnectorFailureError":{"summary":"Connector failed","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}},"ConnectorTimeoutError":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}},"Sage50Company":{"summary":"Normalized Company","value":{"id":"company_123","objectType":"sage50_company","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"COMPANY-123"},"name":"Acme Manufacturing","legalName":"Acme Manufacturing LLC","country":"us","currency":"USD","fiscalYearStart":"2026-01-01"}},"Sage50Customers":{"summary":"Normalized Customers","value":{"id":"customer_123","objectType":"sage50_customer","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"CUSTOMERS-123"},"code":"CUST-100","name":"Acme Manufacturing","displayName":"Acme Manufacturing","email":"ap@acme.example","phone":"312-555-0100","status":"active","customerNumber":"CUST-100","balance":2400.15,"address":{"line1":"100 Main St","line2":"Suite 200","city":"Chicago","region":"IL","postalCode":"60601","country":"US"}}},"Sage50CustomerContacts":{"summary":"Normalized Customer Contacts","value":{"id":"customerContact_123","objectType":"sage50_customer_contact","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"CUSTOMERCONTACTS-123"},"customerId":"cust_123","firstName":"Avery","lastName":"Stone","email":"avery@acme.example","phone":"312-555-0101"}},"Sage50CustomerAddresses":{"summary":"Normalized Customer Addresses","value":{"id":"customerAddress_123","objectType":"sage50_customer_address","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"CUSTOMERADDRESSES-123"},"customerId":"cust_123","label":"Billing","line1":"100 Main St","line2":"Suite 200","city":"Chicago","region":"IL","postalCode":"60601","country":"US"}},"Sage50Vendors":{"summary":"Normalized Vendors","value":{"id":"vendor_123","objectType":"sage50_vendor","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"VENDORS-123"},"code":"VEND-200","name":"Northwind Supply Co.","displayName":"Northwind Supply Co.","email":"orders@northwind.example","phone":"312-555-0199","status":"active","vendorNumber":"VEND-200","balance":980.45,"address":{"line1":"100 Main St","line2":"Suite 200","city":"Chicago","region":"IL","postalCode":"60601","country":"US"}}},"Sage50VendorContacts":{"summary":"Normalized Vendor Contacts","value":{"id":"vendorContact_123","objectType":"sage50_vendor_contact","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"VENDORCONTACTS-123"},"vendorId":"vendor_123","firstName":"Jamie","lastName":"Nguyen","email":"jamie@northwind.example","phone":"312-555-0198"}},"Sage50VendorAddresses":{"summary":"Normalized Vendor Addresses","value":{"id":"vendorAddress_123","objectType":"sage50_vendor_address","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"VENDORADDRESSES-123"},"vendorId":"vendor_123","label":"Remit To","line1":"100 Main St","line2":"Suite 200","city":"Chicago","region":"IL","postalCode":"60601","country":"US"}},"Sage50Items":{"summary":"Normalized Items","value":{"id":"item_123","objectType":"sage50_item","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"ITEMS-123"},"sku":"WIDGET-001","name":"Widget","description":"Standard stock widget","itemType":"inventory","quantityOnHand":42,"salesPrice":49.95,"purchasePrice":29.5,"unitOfMeasure":"each"}},"Sage50ItemCategories":{"summary":"Normalized Item Categories","value":{"id":"itemCategory_123","objectType":"sage50_item_category","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"ITEMCATEGORIES-123"},"code":"RAW","name":"Raw Materials","description":"Items bought for production"}},"Sage50ItemPrices":{"summary":"Normalized Item Prices","value":{"id":"itemPrice_123","objectType":"sage50_item_price","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"ITEMPRICES-123"},"itemId":"item_123","priceLevel":"standard","unitPrice":49.95,"currency":"USD"}},"Sage50InventoryAdjustments":{"summary":"Normalized Inventory Adjustments","value":{"id":"inventoryAdjustment_123","objectType":"sage50_inventory_adjustment","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"INVENTORYADJUSTMENTS-123"},"itemId":"item_123","reason":"cycle_count","transactionDate":"2026-04-17","quantity":-2,"unitCost":29.5,"referenceNumber":"ADJ-1001"}},"Sage50InventoryTransactions":{"summary":"Normalized Inventory Transactions","value":{"id":"inventoryTransaction_123","objectType":"sage50_inventory_transaction","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"INVENTORYTRANSACTIONS-123"},"itemId":"item_123","transactionType":"sale","transactionDate":"2026-04-17","quantity":-2,"unitCost":29.5,"referenceNumber":"TRX-1001"}},"Sage50Quotes":{"summary":"Normalized Quotes","value":{"id":"quote_123","objectType":"sage50_quote","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"QUOTES-123"},"documentNumber":"QT-1001","status":"draft","transactionDate":"2026-04-17","dueDate":"2026-05-17","currency":"USD","subtotal":99.9,"taxAmount":8.24,"totalAmount":108.14,"customerId":"cust_123","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}},"Sage50Proposals":{"summary":"Normalized Proposals","value":{"id":"proposal_123","objectType":"sage50_proposal","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"PROPOSALS-123"},"documentNumber":"PR-1001","status":"open","transactionDate":"2026-04-17","dueDate":"2026-05-17","currency":"USD","subtotal":99.9,"taxAmount":8.24,"totalAmount":108.14,"customerId":"cust_123","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}},"Sage50SalesOrders":{"summary":"Normalized Sales Orders","value":{"id":"salesOrder_123","objectType":"sage50_sales_order","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"SALESORDERS-123"},"documentNumber":"SO-1001","status":"open","transactionDate":"2026-04-17","dueDate":"2026-05-17","currency":"USD","subtotal":99.9,"taxAmount":8.24,"totalAmount":108.14,"customerId":"cust_123","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}},"Sage50SalesInvoices":{"summary":"Normalized Sales Invoices","value":{"id":"salesInvoice_123","objectType":"sage50_sales_invoice","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"SALESINVOICES-123"},"documentNumber":"SI-1001","status":"posted","transactionDate":"2026-04-17","dueDate":"2026-05-17","currency":"USD","subtotal":99.9,"taxAmount":8.24,"totalAmount":108.14,"customerId":"cust_123","invoiceNumber":"SI-1001","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}},"Sage50Invoices":{"summary":"Normalized Invoices","value":{"id":"invoice_123","objectType":"sage50_invoice","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"INVOICES-123"},"documentNumber":"INV-1001","status":"posted","transactionDate":"2026-04-17","dueDate":"2026-05-17","currency":"USD","subtotal":99.9,"taxAmount":8.24,"totalAmount":108.14,"customerId":"cust_123","invoiceNumber":"INV-1001","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}},"Sage50SalesCreditMemos":{"summary":"Normalized Sales Credit Memos","value":{"id":"salesCreditMemo_123","objectType":"sage50_sales_credit_memo","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"SALESCREDITMEMOS-123"},"documentNumber":"SCM-1001","status":"posted","transactionDate":"2026-04-17","dueDate":"2026-05-17","currency":"USD","subtotal":49.95,"taxAmount":4.12,"totalAmount":54.07,"customerId":"cust_123","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}},"Sage50Receipts":{"summary":"Normalized Receipts","value":{"id":"receipt_123","objectType":"sage50_receipt","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"RECEIPTS-123"},"customerId":"cust_123","accountId":"acct_1000","transactionDate":"2026-04-17","totalAmount":108.14,"currency":"USD","referenceNumber":"RCPT-1001","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}},"Sage50Deposits":{"summary":"Normalized Deposits","value":{"id":"deposit_123","objectType":"sage50_deposit","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"DEPOSITS-123"},"accountId":"acct_1000","transactionDate":"2026-04-17","totalAmount":108.14,"currency":"USD","referenceNumber":"DEP-1001","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}},"Sage50PurchaseOrders":{"summary":"Normalized Purchase Orders","value":{"id":"purchaseOrder_123","objectType":"sage50_purchase_order","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"PURCHASEORDERS-123"},"documentNumber":"PO-1001","status":"open","transactionDate":"2026-04-17","dueDate":"2026-05-17","currency":"USD","subtotal":59,"taxAmount":4.87,"totalAmount":63.87,"vendorId":"vendor_123","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}},"Sage50PurchaseInvoices":{"summary":"Normalized Purchase Invoices","value":{"id":"purchaseInvoice_123","objectType":"sage50_purchase_invoice","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"PURCHASEINVOICES-123"},"documentNumber":"PI-1001","status":"posted","transactionDate":"2026-04-17","dueDate":"2026-05-17","currency":"USD","subtotal":59,"taxAmount":4.87,"totalAmount":63.87,"vendorId":"vendor_123","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}},"Sage50VendorCreditMemos":{"summary":"Normalized Vendor Credit Memos","value":{"id":"vendorCreditMemo_123","objectType":"sage50_vendor_credit_memo","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"VENDORCREDITMEMOS-123"},"documentNumber":"VCM-1001","status":"posted","transactionDate":"2026-04-17","dueDate":"2026-05-17","currency":"USD","subtotal":20,"taxAmount":1.65,"totalAmount":21.65,"vendorId":"vendor_123","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}},"Sage50VendorPayments":{"summary":"Normalized Vendor Payments","value":{"id":"vendorPayment_123","objectType":"sage50_vendor_payment","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"VENDORPAYMENTS-123"},"vendorId":"vendor_123","accountId":"acct_1000","transactionDate":"2026-04-17","totalAmount":63.87,"currency":"USD","referenceNumber":"PAY-1001","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}},"Sage50Checks":{"summary":"Normalized Checks","value":{"id":"check_123","objectType":"sage50_check","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"CHECKS-123"},"vendorId":"vendor_123","accountId":"acct_1000","transactionDate":"2026-04-17","totalAmount":63.87,"currency":"USD","referenceNumber":"CHK-1001","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}},"Sage50Accounts":{"summary":"Normalized Accounts","value":{"id":"account_123","objectType":"sage50_account","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"ACCOUNTS-123"},"code":"4000","name":"Sales Revenue","accountType":"income","balance":120034.11,"currency":"USD","isActive":true}},"Sage50JournalEntries":{"summary":"Normalized Journal Entries","value":{"id":"journalEntry_123","objectType":"sage50_journal_entry","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"JOURNALENTRIES-123"},"entryNumber":"JE-1001","transactionDate":"2026-04-17","memo":"Month-end accrual","lines":[{"accountId":"acct_4000","description":"Revenue recognition","debitAmount":0,"creditAmount":99.9}]}},"Sage50Departments":{"summary":"Normalized Departments","value":{"id":"department_123","objectType":"sage50_department","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"DEPARTMENTS-123"},"code":"OPS","name":"Operations","description":"Operations department"}},"Sage50TaxCodes":{"summary":"Normalized Tax Codes","value":{"id":"taxCode_123","objectType":"sage50_tax_code","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"TAXCODES-123"},"code":"TAX","name":"Standard Tax","rate":7.25,"description":"Default sales tax"}},"Sage50TaxAgencies":{"summary":"Normalized Tax Agencies","value":{"id":"taxAgency_123","objectType":"sage50_tax_agency","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"TAXAGENCIES-123"},"code":"STATE","name":"State Revenue Department","rate":7.25,"authority":"State Revenue Department"}},"Sage50BankAccounts":{"summary":"Normalized Bank Accounts","value":{"id":"bankAccount_123","objectType":"sage50_bank_account","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"BANKACCOUNTS-123"},"accountNumber":"****1234","name":"Operating Account","currency":"USD","balance":50234.19,"isActive":true}},"Sage50BankTransactions":{"summary":"Normalized Bank Transactions","value":{"id":"bankTransaction_123","objectType":"sage50_bank_transaction","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"BANKTRANSACTIONS-123"},"accountId":"bank_123","transactionDate":"2026-04-17","totalAmount":-225,"currency":"USD","status":"posted","referenceNumber":"BANK-1001"}},"Sage50BankReconciliations":{"summary":"Normalized Bank Reconciliations","value":{"id":"bankReconciliation_123","objectType":"sage50_bank_reconciliation","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"BANKRECONCILIATIONS-123"},"accountId":"bank_123","statementDate":"2026-04-30","statementEndingBalance":50009.19,"status":"in_progress","lines":[{"transactionId":"txn_123","status":"cleared","clearedAmount":99.9}]}},"Sage50Jobs":{"summary":"Normalized Jobs","value":{"id":"job_123","objectType":"sage50_job","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"JOBS-123"},"code":"JOB-100","name":"Main Street Buildout","customerId":"cust_123","status":"active","budgetAmount":125000}},"Sage50Phases":{"summary":"Normalized Phases","value":{"id":"phase_123","objectType":"sage50_phase","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"PHASES-123"},"jobId":"job_123","code":"PH-10","name":"Planning","status":"active","budgetAmount":15000}},"Sage50CostCodes":{"summary":"Normalized Cost Codes","value":{"id":"costCode_123","objectType":"sage50_cost_code","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"COSTCODES-123"},"phaseId":"phase_123","code":"CC-100","name":"Labor","status":"active","budgetAmount":6000}},"Sage50ChangeOrders":{"summary":"Normalized Change Orders","value":{"id":"changeOrder_123","objectType":"sage50_change_order","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"CHANGEORDERS-123"},"jobId":"job_123","changeOrderNumber":"CO-1001","status":"approved","totalAmount":4200,"description":"Additional site prep"}},"Sage50FixedAssets":{"summary":"Normalized Fixed Assets","value":{"id":"fixedAsset_123","objectType":"sage50_fixed_asset","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"FIXEDASSETS-123"},"assetNumber":"FA-1001","name":"Forklift","purchaseDate":"2025-11-01","purchaseCost":18400,"status":"active"}},"Sage50Attachments":{"summary":"Normalized Attachments","value":{"id":"attachment_123","objectType":"sage50_attachment","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"ATTACHMENTS-123"},"fileName":"invoice-1001.pdf","contentType":"application/pdf","fileSize":48213,"downloadUrl":"https://example.com/files/invoice-1001.pdf","target":{"resourceType":"sage50_invoice","resourceId":"inv_123"}}},"Sage50Reports":{"summary":"Normalized Reports","value":{"id":"report_123","objectType":"sage50_report","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"REPORTS-123"},"name":"Aged Receivables","reportType":"financial","format":"pdf","lastRunAt":"2026-04-17T16:00:00.000Z"}},"Sage50NativeResources":{"summary":"Normalized Native Resources","value":{"id":"nativeResource_123","objectType":"sage50_native_resource","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"NATIVERESOURCES-123"},"name":"Sales Journal","nativeResourceType":"report","nativePath":"Reports/Sales Journal","description":"Original Sage resource path"}}}},"paths":{"/health":{"get":{"tags":["System"],"responses":{"200":{"description":"A simple readiness payload.","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"schemaVersion":{"type":"string"}},"required":["ok","schemaVersion"]},"examples":{"healthy":{"summary":"Healthy API","value":{"ok":true,"schemaVersion":"2026-04-17"}}}}}}},"operationId":"getHealth","summary":"Check that the API is awake","description":"Returns a tiny unauthenticated readiness signal for load balancers, local setup, and smoke checks.\n\n### When to use\n- Use this route for the simplest possible liveness check.\n- Use `/v1/health` when you want the versioned route shown beside the rest of the public API.\n\n### Authentication\nThis route is public and does not require a bearer token.\n\n### Response shape\nReturns `ok` plus the current schema version so monitors can verify the API is answering with the expected contract.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst health = await client.system.health();\n\nconsole.log(health);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nhealth = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/health\",\n    headers={},\n)\nhealth.raise_for_status()\nhealth = health.json()\nprint(health)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/health\"))\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/health\" \\\n  --request GET"}]}},"/v2/accounts/{accountId}/projects/{projectId}/settings":{"get":{"operationId":"getConnectorAppSettings","tags":["Projects"],"summary":"Get app branding and permissions","description":"Requires a Keycloak portal access token whose organization claim contains accountId. Existing apps default to read-only with no registered callbacks.","security":[{"SagePortalAuth":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"accountId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"projectId","in":"path"}],"responses":{"200":{"description":"App settings","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[^\\x00-\\x1f\\x7f-\\x9f]+$"},"icon":{"type":"string","nullable":true,"maxLength":8192},"redirectUris":{"type":"array","items":{"type":"string","maxLength":1024,"format":"uri"},"maxItems":5},"accessLevel":{"type":"string","enum":["read-only","read-write"]},"projectId":{"type":"string","format":"uuid"}},"required":["name","icon","redirectUris","accessLevel","projectId"],"additionalProperties":false}}}},"400":{"description":"Invalid identifier, JSON body or request fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"401":{"description":"Missing, invalid or expired credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"403":{"description":"Credential does not authorize this account, installation or operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"404":{"description":"Project or connection not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"503":{"description":"Connector service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}}}},"put":{"operationId":"updateConnectorAppSettings","tags":["Projects"],"summary":"Save app branding and callbacks","description":"Requires a Keycloak portal access token whose organization claim contains accountId. Callbacks must match registered HTTPS URLs exactly. Settings apply to future hosted setups; existing grants retain their approved permissions. The icon is an ICO data URL of at most 6000 decoded bytes. Windows branding requires a new build from the exported public configuration.","security":[{"SagePortalAuth":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"accountId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"projectId","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[^\\x00-\\x1f\\x7f-\\x9f]+$"},"icon":{"type":"string","nullable":true,"maxLength":8192},"redirectUris":{"type":"array","items":{"type":"string","maxLength":1024,"format":"uri"},"maxItems":5},"accessLevel":{"type":"string","enum":["read-only","read-write"]}},"required":["name","icon","redirectUris","accessLevel"],"additionalProperties":false}}}},"responses":{"200":{"description":"Saved app settings","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[^\\x00-\\x1f\\x7f-\\x9f]+$"},"icon":{"type":"string","nullable":true,"maxLength":8192},"redirectUris":{"type":"array","items":{"type":"string","maxLength":1024,"format":"uri"},"maxItems":5},"accessLevel":{"type":"string","enum":["read-only","read-write"]},"projectId":{"type":"string","format":"uuid"}},"required":["name","icon","redirectUris","accessLevel","projectId"],"additionalProperties":false}}}},"400":{"description":"Invalid identifier, JSON body or request fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"401":{"description":"Missing, invalid or expired credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"403":{"description":"Credential does not authorize this account, installation or operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"404":{"description":"Project or connection not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"413":{"description":"Request body exceeds the byte limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"503":{"description":"Connector service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}}}}},"/v2/setup-sessions":{"post":{"operationId":"createSageSetupSession","tags":["Connection setup"],"summary":"Open a branded Sage connection flow","description":"Call from your SaaS backend using its project API key. Store a cryptographically random state and a PKCE verifier with your signed-in customer session; send the S256 challenge here. The callback must match a registered URL and permissions must be allowed by both app settings and API key. Redirect the customer to setupUrl. The 15-minute code is in its fragment, never a query parameter. The customer downloads the branded connector, enters the code and approves a Sage company. On return, validate state against the original customer session, then exchange the separate callback code. Never put API keys or device tokens in URLs. This hosted pairing flow does not issue a general OAuth API token; existing API keys access the resulting connection.","security":[{"SageApiKey":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"externalCustomerId":{"type":"string","minLength":1,"maxLength":128},"displayName":{"type":"string","minLength":1,"maxLength":80},"redirectUri":{"type":"string","maxLength":1024,"format":"uri"},"state":{"type":"string","minLength":16,"maxLength":256},"codeChallenge":{"type":"string","pattern":"^[A-Za-z0-9_-]{43}$"},"operations":{"type":"array","items":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"minItems":1,"maxItems":14}},"required":["externalCustomerId","displayName","redirectUri","state","codeChallenge","operations"],"additionalProperties":false}}}},"responses":{"201":{"description":"Hosted setup URL and expiry in Unix milliseconds","content":{"application/json":{"schema":{"type":"object","properties":{"setupUrl":{"type":"string","format":"uri"},"expiresAt":{"type":"integer"}},"required":["setupUrl","expiresAt"],"additionalProperties":false}}}},"400":{"description":"Invalid identifier, JSON body or request fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"401":{"description":"Missing, invalid or expired credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"403":{"description":"Credential does not authorize this account, installation or operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"413":{"description":"Request body exceeds the byte limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"503":{"description":"Connector service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}}}}},"/v2/setup-sessions/exchange":{"post":{"operationId":"exchangeSageSetupCode","tags":["Connection setup"],"summary":"Exchange a completed connection callback","description":"Backend-only. Requires a project API key for the initiating app plus the original PKCE verifier. First validate callback state and the customer's signed-in session. Returns the original externalCustomerId and its approved Sage connection. The callback code is single-use and expires with the setup session; it is different from the desktop pairing code. It never returns desktop credentials.","security":[{"SageApiKey":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-f0-9]{64}$"},"codeVerifier":{"type":"string","pattern":"^[A-Za-z0-9._~-]{43,128}$"}},"required":["code","codeVerifier"],"additionalProperties":false}}}},"responses":{"200":{"description":"Customer and approved connection","content":{"application/json":{"schema":{"type":"object","properties":{"connectionId":{"type":"string","format":"uuid"},"externalCustomerId":{"type":"string"},"edition":{"type":"string","enum":["sage50-uk","sage50-us"]}},"required":["connectionId","externalCustomerId","edition"],"additionalProperties":false}}}},"400":{"description":"Invalid identifier, JSON body or request fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"401":{"description":"Missing, invalid or expired credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"403":{"description":"Credential does not authorize this account, installation or operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"413":{"description":"Request body exceeds the byte limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"503":{"description":"Connector service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}}}}},"/connector/v2/pairing/inspect":{"post":{"operationId":"inspectBrandedPairing","tags":["Connector transport"],"summary":"Inspect a hosted pairing code","description":"The secret code authorizes this request. Returns the app, approved operation list and setup state; an optional projectId must match the branded executable. Never log request bodies. A null downloadUrl means no public Windows distribution is configured. Completed/cancelled/expired sessions include the registered return URL while applicable.","security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"setupCode":{"type":"string","pattern":"^st_sage_[0-9a-f-]{36}_[0-9a-f]{64}$"},"projectId":{"type":"string","format":"uuid"}},"required":["setupCode"],"additionalProperties":false}}}},"responses":{"200":{"description":"Pairing state and branding","content":{"application/json":{"schema":{"type":"object","properties":{"projectId":{"type":"string","format":"uuid"},"name":{"type":"string"},"icon":{"type":"string","nullable":true,"maxLength":8192},"state":{"type":"string","enum":["pending","connected","expired","cancelled"]},"expiresAt":{"type":"integer"},"operations":{"type":"array","items":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"minItems":1,"maxItems":14},"returnUrl":{"type":"string","nullable":true,"format":"uri"},"downloadUrl":{"type":"string","nullable":true,"format":"uri"}},"required":["projectId","name","icon","state","expiresAt","operations","returnUrl","downloadUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid identifier, JSON body or request fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"401":{"description":"Missing, invalid or expired credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"403":{"description":"Credential does not authorize this account, installation or operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"413":{"description":"Request body exceeds the byte limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"429":{"description":"Too many pairing attempts; retry after 60 seconds","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"503":{"description":"Connector service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}}}}},"/connector/v2/pairing/cancel":{"post":{"operationId":"cancelBrandedPairing","tags":["Connector transport"],"summary":"Cancel a pending pairing","description":"Requires the secret pairing code. Cancellation prevents activation; completed pairings must be revoked through connection management.","security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"setupCode":{"type":"string","pattern":"^st_sage_[0-9a-f-]{36}_[0-9a-f]{64}$"},"projectId":{"type":"string","format":"uuid"}},"required":["setupCode"],"additionalProperties":false}}}},"responses":{"204":{"description":"Pairing cancelled"},"400":{"description":"Invalid identifier, JSON body or request fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"401":{"description":"Missing, invalid or expired credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"403":{"description":"Credential does not authorize this account, installation or operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"409":{"description":"Already completed or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"413":{"description":"Request body exceeds the byte limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"429":{"description":"Too many pairing attempts; retry after 60 seconds","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"503":{"description":"Connector service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}}}}},"/connector/v2/pairing/claim":{"post":{"operationId":"claimBrandedPairing","tags":["Connector transport"],"summary":"Enroll a branded Windows installation","description":"Desktop-only after displaying the app, company and permissions for approval. Persist a new installation UUID and random 32-byte registrationSecret securely before claiming. One code binds one installation/company; a lost response can be retried with the same values before expiry and the first refresh rotation. Save tokens using Windows DPAPI. No Keycloak user sign-in is required. Different branded apps use different installation sessions.","security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"setupCode":{"type":"string","pattern":"^st_sage_[0-9a-f-]{36}_[0-9a-f]{64}$"},"projectId":{"type":"string","format":"uuid"},"installationId":{"type":"string","format":"uuid"},"companyId":{"type":"string","minLength":1,"maxLength":128},"edition":{"type":"string","enum":["sage50-uk","sage50-us"]},"registrationSecret":{"type":"string","pattern":"^[a-f0-9]{64}$"}},"required":["setupCode","projectId","installationId","companyId","edition","registrationSecret"],"additionalProperties":false}}}},"responses":{"200":{"description":"Company binding and device credentials","content":{"application/json":{"schema":{"type":"object","properties":{"connection":{"type":"object","properties":{"connectionId":{"type":"string","format":"uuid"},"edition":{"type":"string","enum":["sage50-uk","sage50-us"]},"operations":{"type":"array","items":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"minItems":1,"maxItems":14},"displayName":{"type":"string"},"companyId":{"type":"string"}},"required":["connectionId","edition","operations","displayName","companyId"],"additionalProperties":false},"tokens":{"type":"object","properties":{"access_token":{"type":"string"},"refresh_token":{"type":"string"},"expires_in":{"type":"integer","minimum":0,"exclusiveMinimum":true},"token_type":{"type":"string","enum":["Bearer"]}},"required":["access_token","refresh_token","expires_in","token_type"],"additionalProperties":false}},"required":["connection","tokens"]}}}},"400":{"description":"Invalid identifier, JSON body or request fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"401":{"description":"Missing, invalid or expired credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"403":{"description":"Credential does not authorize this account, installation or operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"413":{"description":"Request body exceeds the byte limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"429":{"description":"Too many pairing attempts; retry after 60 seconds","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"503":{"description":"Connector service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}}}}},"/connector/v2/pairing/token":{"post":{"operationId":"refreshBrandedDeviceToken","tags":["Connector transport"],"summary":"Rotate a device refresh token","description":"Access tokens last five minutes; refresh tokens expire after 30 days without rotation. Serialize refreshes per installation and persist the new refresh token atomically. Reusing a spent token revokes the entire installation and closes its sockets. A lost rotation response requires pairing again; do not retry a refresh blindly. All token requests use JSON bodies over HTTPS.","security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"refreshToken":{"type":"string","maxLength":256}},"required":["refreshToken"],"additionalProperties":false}}}},"responses":{"200":{"description":"New access and refresh tokens","content":{"application/json":{"schema":{"type":"object","properties":{"access_token":{"type":"string"},"refresh_token":{"type":"string"},"expires_in":{"type":"integer","minimum":0,"exclusiveMinimum":true},"token_type":{"type":"string","enum":["Bearer"]}},"required":["access_token","refresh_token","expires_in","token_type"],"additionalProperties":false}}}},"400":{"description":"Invalid identifier, JSON body or request fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"401":{"description":"Missing, invalid or expired credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"403":{"description":"Credential does not authorize this account, installation or operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"413":{"description":"Request body exceeds the byte limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"429":{"description":"Too many pairing attempts; retry after 60 seconds","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"503":{"description":"Connector service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}}}}},"/connector/v2/{installationId}/revoke":{"post":{"operationId":"revokeBrandedInstallation","tags":["Connector transport"],"summary":"Disconnect a branded installation","description":"Requires this installation's device access token. Revokes device credentials and all connection grants and closes sockets. Legacy Keycloak desktop tokens cannot use this route.","security":[{"SageConnectorAuth":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"installationId","in":"path"}],"responses":{"204":{"description":"Installation disconnected"},"400":{"description":"Invalid identifier, JSON body or request fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"401":{"description":"Missing, invalid or expired credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"403":{"description":"Credential does not authorize this account, installation or operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"503":{"description":"Connector service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}}}}},"/v2/accounts/{accountId}/projects":{"get":{"operationId":"listConnectorProjects","tags":["Projects"],"summary":"List projects","description":"Requires a Keycloak portal access token whose organization claim contains accountId. Returns projects ordered by creation time and ID.","security":[{"SagePortalAuth":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"accountId","in":"path"}],"responses":{"200":{"description":"Projects in this account","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"createdAt":{"type":"integer"}},"required":["id","name","createdAt"],"additionalProperties":false}}}}},"400":{"description":"Invalid identifier, JSON body or request fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"401":{"description":"Missing, invalid or expired credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"403":{"description":"Credential does not authorize this account, installation or operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"503":{"description":"Connector service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}}}},"post":{"operationId":"createConnectorProject","tags":["Projects"],"summary":"Create a project","description":"Requires a Keycloak portal access token whose organization claim contains accountId. Creates a project for API keys and connection grants. Request bodies are limited to 16 KiB; timestamps are Unix milliseconds.","security":[{"SagePortalAuth":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"accountId","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":80}},"required":["name"],"additionalProperties":false}}}},"responses":{"201":{"description":"Project created","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"createdAt":{"type":"integer"}},"required":["id","name","createdAt"],"additionalProperties":false}}}},"400":{"description":"Invalid identifier, JSON body or request fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"401":{"description":"Missing, invalid or expired credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"403":{"description":"Credential does not authorize this account, installation or operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"413":{"description":"Request body exceeds the byte limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"503":{"description":"Connector service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}}}}},"/v2/accounts/{accountId}/keys":{"get":{"operationId":"listConnectorApiKeys","tags":["API keys"],"summary":"List API keys","description":"Requires a Keycloak portal access token whose organization claim contains accountId. Returns key metadata, including revoked keys, ordered by name and hash. Secret keys are never returned.","security":[{"SagePortalAuth":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"accountId","in":"path"}],"responses":{"200":{"description":"Key metadata","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"projectId":{"type":"string","format":"uuid"},"name":{"type":"string","minLength":1,"maxLength":80},"operations":{"type":"array","items":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"minItems":1,"maxItems":14},"expiresAt":{"type":"integer","minimum":0,"exclusiveMinimum":true},"hash":{"type":"string","pattern":"^[a-f0-9]{64}$"},"revoked":{"type":"boolean"}},"required":["projectId","name","operations","expiresAt","hash","revoked"],"additionalProperties":false}}}}},"400":{"description":"Invalid identifier, JSON body or request fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"401":{"description":"Missing, invalid or expired credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"403":{"description":"Credential does not authorize this account, installation or operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"503":{"description":"Connector service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}}}},"post":{"operationId":"createConnectorApiKey","tags":["API keys"],"summary":"Create an API key","description":"Requires a Keycloak portal access token whose organization claim contains accountId. Scopes the key to an existing project and explicit operations. expiresAt is Unix milliseconds, must be in the future and no more than 365 days away. Save the returned secret securely; it is returned only once. Request bodies are limited to 16 KiB.","security":[{"SagePortalAuth":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"accountId","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"projectId":{"type":"string","format":"uuid"},"name":{"type":"string","minLength":1,"maxLength":80},"operations":{"type":"array","items":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"minItems":1,"maxItems":14},"expiresAt":{"type":"integer","minimum":0,"exclusiveMinimum":true}},"required":["projectId","name","operations","expiresAt"],"additionalProperties":false}}}},"responses":{"201":{"description":"Secret key and its revocation hash","content":{"application/json":{"schema":{"type":"object","properties":{"key":{"type":"string","minLength":109,"maxLength":109},"hash":{"type":"string","pattern":"^[a-f0-9]{64}$"}},"required":["key","hash"],"additionalProperties":false}}}},"400":{"description":"Invalid identifier, JSON body or request fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"401":{"description":"Missing, invalid or expired credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"403":{"description":"Credential does not authorize this account, installation or operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"404":{"description":"Project or connection not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"413":{"description":"Request body exceeds the byte limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"503":{"description":"Connector service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}}}}},"/v2/accounts/{accountId}/keys/{hash}":{"delete":{"operationId":"revokeConnectorApiKey","tags":["API keys"],"summary":"Revoke an API key","description":"Requires a Keycloak portal access token whose organization claim contains accountId. Revokes the key identified by its SHA-256 hash. Existing connection grants remain registered.","security":[{"SagePortalAuth":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"accountId","in":"path"},{"schema":{"type":"string","pattern":"^[a-f0-9]{64}$"},"required":true,"name":"hash","in":"path"}],"responses":{"204":{"description":"Key revoked, or hash was already absent"},"400":{"description":"Invalid identifier, JSON body or request fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"401":{"description":"Missing, invalid or expired credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"403":{"description":"Credential does not authorize this account, installation or operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"503":{"description":"Connector service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}}}}},"/v2/accounts/{accountId}/connections/setup":{"post":{"operationId":"createConnectorSetup","tags":["Connection setup"],"summary":"Create a connection setup code","description":"Requires a Keycloak portal access token whose organization claim contains accountId. Creates a secret code valid for 15 minutes. Enter it in the Windows connector to authorize one selected Sage company for the requested project and operations. expiresAt is Unix milliseconds. Request bodies are limited to 16 KiB.","security":[{"SagePortalAuth":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"accountId","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"projectId":{"type":"string","format":"uuid"},"displayName":{"type":"string","minLength":1,"maxLength":80},"operations":{"type":"array","items":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"minItems":1,"maxItems":14}},"required":["projectId","displayName","operations"],"additionalProperties":false}}}},"responses":{"201":{"description":"Setup code and reserved connection ID","content":{"application/json":{"schema":{"type":"object","properties":{"connectionId":{"type":"string","format":"uuid"},"setupCode":{"type":"string","minLength":109,"maxLength":109},"expiresAt":{"type":"integer"}},"required":["connectionId","setupCode","expiresAt"],"additionalProperties":false}}}},"400":{"description":"Invalid identifier, JSON body or request fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"401":{"description":"Missing, invalid or expired credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"403":{"description":"Credential does not authorize this account, installation or operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"404":{"description":"Project or connection not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"413":{"description":"Request body exceeds the byte limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"503":{"description":"Connector service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}}}}},"/v2/accounts/{accountId}/connections":{"get":{"operationId":"listConnectorGrants","tags":["Connection setup"],"summary":"List connection grants","description":"Requires a Keycloak portal access token whose organization claim contains accountId. Returns claimed connections, including revoked grants, ordered by ID. Pending setup codes, desktop session identifiers and local company identifiers are omitted.","security":[{"SagePortalAuth":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"accountId","in":"path"}],"responses":{"200":{"description":"Public connection grants","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"accountId":{"type":"string","format":"uuid"},"projectId":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"edition":{"type":"string","enum":["sage50-uk","sage50-us"]},"operations":{"type":"array","items":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"minItems":1,"maxItems":14},"displayName":{"type":"string"},"revoked":{"type":"boolean"}},"required":["accountId","projectId","connectionId","edition","operations","displayName","revoked"],"additionalProperties":false}}}}},"400":{"description":"Invalid identifier, JSON body or request fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"401":{"description":"Missing, invalid or expired credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"403":{"description":"Credential does not authorize this account, installation or operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"503":{"description":"Connector service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}}}}},"/v2/accounts/{accountId}/connections/{connectionId}/metrics":{"get":{"operationId":"getConnectorConnectionMetrics","tags":["Connection setup"],"summary":"Get connection activity and connector health","description":"Requires a Keycloak portal access token whose organization claim contains accountId. Returns operation counts and hourly activity for the last 24 hours, the current pending count, and observed connector check-ins. averageDurationMs includes queue time for completed operations and is null without samples. Timestamps are Unix milliseconds. Connector health can be unknown when no check-in has been observed; check-ins are not an uptime percentage.","security":[{"SagePortalAuth":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"accountId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"}],"responses":{"200":{"description":"Connection metrics and observed connector health","content":{"application/json":{"schema":{"type":"object","properties":{"operations":{"type":"integer","minimum":0},"failed":{"type":"integer","minimum":0},"pending":{"type":"integer","minimum":0},"averageDurationMs":{"type":"number","nullable":true,"minimum":0},"activity":{"type":"array","items":{"type":"object","properties":{"at":{"type":"integer","minimum":0},"operations":{"type":"integer","minimum":0},"failed":{"type":"integer","minimum":0}},"required":["at","operations","failed"],"additionalProperties":false},"maxItems":25},"connectionId":{"type":"string","format":"uuid"},"since":{"type":"integer","minimum":0},"until":{"type":"integer","minimum":0},"connector":{"type":"object","properties":{"state":{"type":"string","enum":["unknown","online","offline","disconnected"]},"lastSeenAt":{"type":"integer","nullable":true,"minimum":0},"onlineSince":{"type":"integer","nullable":true,"minimum":0},"checkIns":{"type":"array","items":{"type":"object","properties":{"at":{"type":"integer","minimum":0},"count":{"type":"integer","minimum":0}},"required":["at","count"],"additionalProperties":false},"maxItems":25}},"required":["state","lastSeenAt","onlineSince","checkIns"],"additionalProperties":false}},"required":["operations","failed","pending","averageDurationMs","activity","connectionId","since","until","connector"],"additionalProperties":false}}}},"400":{"description":"Invalid identifier, JSON body or request fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"401":{"description":"Missing, invalid or expired credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"403":{"description":"Credential does not authorize this account, installation or operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"404":{"description":"Project or connection not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"503":{"description":"Connector service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}}}}},"/v2/accounts/{accountId}/connections/{connectionId}/revoke":{"post":{"operationId":"revokeConnectorGrant","tags":["Connection setup"],"summary":"Revoke a connection grant","description":"Requires a Keycloak portal access token whose organization claim contains accountId. Removes the desktop binding, cancels queued operations and pending webhook deliveries. Dispatched writes can have an unknown outcome; reconcile them before another write. An in-flight webhook may still arrive.","security":[{"SagePortalAuth":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"accountId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"}],"responses":{"204":{"description":"Connection revoked"},"400":{"description":"Invalid identifier, JSON body or request fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"401":{"description":"Missing, invalid or expired credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"403":{"description":"Credential does not authorize this account, installation or operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"404":{"description":"Project or connection not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"503":{"description":"Connector service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}}}}},"/v2/connections/{connectionId}/commands":{"post":{"operationId":"issueDurableCommand","tags":["Operations"],"summary":"Submit a durable SDK command","description":"Low-level command endpoint. Resource routes provide country/version DTOs for most integrations. This route always returns an operation envelope, including when the SDK reports a failure. Request bodies are limited to 16 KiB. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","security":[{"SageApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":true,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"payload":{"anyOf":[{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":1000},"offset":{"type":"integer","minimum":0,"maximum":1000000}},"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","enum":["customers","suppliers","items","accounts","bank-accounts","invoices","sales-orders","purchase-orders","fixed-assets","price-lists","customer-addresses","supplier-addresses","company-addresses"]},"id":{"type":"string","minLength":1,"maxLength":256},"data":{"type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"limit":{"type":"integer","minimum":1,"maximum":100},"offset":{"type":"integer","minimum":0,"maximum":1000000}},"required":["resource"],"additionalProperties":false},{"oneOf":[{"type":"object","properties":{"resource":{"type":"string","enum":["accounts"]},"id":{"type":"string","format":"uuid"},"data":{"anyOf":[{"type":"object","properties":{"classification":{"type":"integer","enum":[6,0,16,14,12,17,5,15,2,7,4,10,11,8,9,1,3,13]},"description":{"type":"string","minLength":1,"maxLength":100000},"code":{"type":"string","minLength":1,"maxLength":100000},"isInactive":{"type":"boolean"}},"required":["classification","description","code"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"integer","enum":[6,0,16,14,12,17,5,15,2,7,4,10,11,8,9,1,3,13]},"description":{"type":"string","nullable":true,"maxLength":100000},"isInactive":{"type":"boolean"}},"additionalProperties":false}]},"limit":{"type":"integer","minimum":1,"maximum":100},"offset":{"type":"integer","minimum":0,"maximum":1000000}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","enum":["customers"]},"id":{"type":"string","format":"uuid"},"data":{"anyOf":[{"type":"object","properties":{"accountNumber":{"type":"string","nullable":true,"maxLength":100000},"billToContact":{"type":"object","nullable":true,"properties":{"address":{"type":"object","nullable":true,"properties":{"address1":{"type":"string","nullable":true,"maxLength":100000},"address2":{"type":"string","nullable":true,"maxLength":100000},"city":{"type":"string","nullable":true,"maxLength":100000},"country":{"type":"string","nullable":true,"maxLength":100000},"salesTaxCode":{"type":"string","nullable":true,"maxLength":100000},"state":{"type":"string","nullable":true,"maxLength":100000},"zip":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"companyName":{"type":"string","nullable":true,"maxLength":100000},"email":{"type":"string","nullable":true,"maxLength":100000},"firstName":{"type":"string","nullable":true,"maxLength":100000},"gender":{"type":"integer","enum":[2,1,0]},"lastName":{"type":"string","nullable":true,"maxLength":100000},"middleInitial":{"type":"string","nullable":true,"maxLength":100000},"nameToUseOnForms":{"type":"integer","enum":[1,0]},"notes":{"type":"string","nullable":true,"maxLength":100000},"prefix":{"type":"string","nullable":true,"maxLength":100000},"suffix":{"type":"string","nullable":true,"maxLength":100000},"title":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"cashAccountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"category":{"type":"string","nullable":true,"maxLength":100000},"creditStatus":{"type":"integer","enum":[4,3,0,2,1]},"customerSince":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"email":{"type":"string","nullable":true,"maxLength":100000},"code":{"type":"string","minLength":1,"maxLength":100000},"isInactive":{"type":"boolean"},"isProspect":{"type":"boolean"},"name":{"type":"string","minLength":1,"maxLength":100000},"openPurchaseOrderNumber":{"type":"string","nullable":true,"maxLength":100000},"paymentMethod":{"type":"string","nullable":true,"maxLength":100000},"priceLevel":{"type":"integer","minimum":-32768,"maximum":32767},"replaceInventoryItemIDWithPartNumber":{"type":"boolean"},"replaceInventoryItemIDWithUPC":{"type":"boolean"},"resaleNumber":{"type":"string","nullable":true,"maxLength":100000},"salesRepresentativeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"shipToContact":{"type":"object","nullable":true,"properties":{"address":{"type":"object","nullable":true,"properties":{"address1":{"type":"string","nullable":true,"maxLength":100000},"address2":{"type":"string","nullable":true,"maxLength":100000},"city":{"type":"string","nullable":true,"maxLength":100000},"country":{"type":"string","nullable":true,"maxLength":100000},"salesTaxCode":{"type":"string","nullable":true,"maxLength":100000},"state":{"type":"string","nullable":true,"maxLength":100000},"zip":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"companyName":{"type":"string","nullable":true,"maxLength":100000},"email":{"type":"string","nullable":true,"maxLength":100000},"firstName":{"type":"string","nullable":true,"maxLength":100000},"gender":{"type":"integer","enum":[2,1,0]},"lastName":{"type":"string","nullable":true,"maxLength":100000},"middleInitial":{"type":"string","nullable":true,"maxLength":100000},"nameToUseOnForms":{"type":"integer","enum":[1,0]},"notes":{"type":"string","nullable":true,"maxLength":100000},"prefix":{"type":"string","nullable":true,"maxLength":100000},"suffix":{"type":"string","nullable":true,"maxLength":100000},"title":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"shipVia":{"type":"string","nullable":true,"maxLength":100000},"terms":{"type":"object","properties":{"paymentTimeFrame":{"type":"integer","enum":[0,4,2,3,1]},"dueDays":{"type":"integer","minimum":0},"useDiscounts":{"type":"boolean"},"discountDays":{"type":"integer","minimum":0},"discountPercent":{"type":"number","minimum":0,"maximum":100},"creditLimit":{"type":"number","minimum":0},"chargeInterest":{"type":"boolean"}},"required":["paymentTimeFrame","dueDays","useDiscounts","discountDays","discountPercent","creditLimit","chargeInterest"],"additionalProperties":false},"useEmailToDeliverForms":{"type":"boolean"},"usualSalesAccountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"webSiteURL":{"type":"string","nullable":true,"maxLength":100000}},"required":["code","name"],"additionalProperties":false},{"type":"object","properties":{"accountNumber":{"type":"string","nullable":true,"maxLength":100000},"billToContact":{"type":"object","nullable":true,"properties":{"address":{"type":"object","nullable":true,"properties":{"address1":{"type":"string","nullable":true,"maxLength":100000},"address2":{"type":"string","nullable":true,"maxLength":100000},"city":{"type":"string","nullable":true,"maxLength":100000},"country":{"type":"string","nullable":true,"maxLength":100000},"salesTaxCode":{"type":"string","nullable":true,"maxLength":100000},"state":{"type":"string","nullable":true,"maxLength":100000},"zip":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"companyName":{"type":"string","nullable":true,"maxLength":100000},"email":{"type":"string","nullable":true,"maxLength":100000},"firstName":{"type":"string","nullable":true,"maxLength":100000},"gender":{"type":"integer","enum":[2,1,0]},"lastName":{"type":"string","nullable":true,"maxLength":100000},"middleInitial":{"type":"string","nullable":true,"maxLength":100000},"nameToUseOnForms":{"type":"integer","enum":[1,0]},"notes":{"type":"string","nullable":true,"maxLength":100000},"prefix":{"type":"string","nullable":true,"maxLength":100000},"suffix":{"type":"string","nullable":true,"maxLength":100000},"title":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"cashAccountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"category":{"type":"string","nullable":true,"maxLength":100000},"creditStatus":{"type":"integer","enum":[4,3,0,2,1]},"customerSince":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"email":{"type":"string","nullable":true,"maxLength":100000},"isInactive":{"type":"boolean"},"isProspect":{"type":"boolean"},"name":{"type":"string","nullable":true,"maxLength":100000},"openPurchaseOrderNumber":{"type":"string","nullable":true,"maxLength":100000},"paymentMethod":{"type":"string","nullable":true,"maxLength":100000},"priceLevel":{"type":"integer","minimum":-32768,"maximum":32767},"replaceInventoryItemIDWithPartNumber":{"type":"boolean"},"replaceInventoryItemIDWithUPC":{"type":"boolean"},"resaleNumber":{"type":"string","nullable":true,"maxLength":100000},"salesRepresentativeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"shipToContact":{"type":"object","nullable":true,"properties":{"address":{"type":"object","nullable":true,"properties":{"address1":{"type":"string","nullable":true,"maxLength":100000},"address2":{"type":"string","nullable":true,"maxLength":100000},"city":{"type":"string","nullable":true,"maxLength":100000},"country":{"type":"string","nullable":true,"maxLength":100000},"salesTaxCode":{"type":"string","nullable":true,"maxLength":100000},"state":{"type":"string","nullable":true,"maxLength":100000},"zip":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"companyName":{"type":"string","nullable":true,"maxLength":100000},"email":{"type":"string","nullable":true,"maxLength":100000},"firstName":{"type":"string","nullable":true,"maxLength":100000},"gender":{"type":"integer","enum":[2,1,0]},"lastName":{"type":"string","nullable":true,"maxLength":100000},"middleInitial":{"type":"string","nullable":true,"maxLength":100000},"nameToUseOnForms":{"type":"integer","enum":[1,0]},"notes":{"type":"string","nullable":true,"maxLength":100000},"prefix":{"type":"string","nullable":true,"maxLength":100000},"suffix":{"type":"string","nullable":true,"maxLength":100000},"title":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"shipVia":{"type":"string","nullable":true,"maxLength":100000},"terms":{"type":"object","properties":{"paymentTimeFrame":{"type":"integer","enum":[0,4,2,3,1]},"dueDays":{"type":"integer","minimum":0},"useDiscounts":{"type":"boolean"},"discountDays":{"type":"integer","minimum":0},"discountPercent":{"type":"number","minimum":0,"maximum":100},"creditLimit":{"type":"number","minimum":0},"chargeInterest":{"type":"boolean"}},"required":["paymentTimeFrame","dueDays","useDiscounts","discountDays","discountPercent","creditLimit","chargeInterest"],"additionalProperties":false},"useEmailToDeliverForms":{"type":"boolean"},"usualSalesAccountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"webSiteURL":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false}]},"limit":{"type":"integer","minimum":1,"maximum":100},"offset":{"type":"integer","minimum":0,"maximum":1000000}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","enum":["suppliers"]},"id":{"type":"string","format":"uuid"},"data":{"anyOf":[{"type":"object","properties":{"accountNumber":{"type":"string","nullable":true,"maxLength":100000},"cashAccountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"category":{"type":"string","nullable":true,"maxLength":100000},"email":{"type":"string","nullable":true,"maxLength":100000},"expenseAccountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"form1099Type":{"type":"integer","enum":[1,2,0]},"code":{"type":"string","minLength":1,"maxLength":100000},"includePurchaseRepresentativeOnEmailedForms":{"type":"boolean"},"isInactive":{"type":"boolean"},"mailToContact":{"type":"object","nullable":true,"properties":{"address":{"type":"object","nullable":true,"properties":{"address1":{"type":"string","nullable":true,"maxLength":100000},"address2":{"type":"string","nullable":true,"maxLength":100000},"city":{"type":"string","nullable":true,"maxLength":100000},"country":{"type":"string","nullable":true,"maxLength":100000},"salesTaxCode":{"type":"string","nullable":true,"maxLength":100000},"state":{"type":"string","nullable":true,"maxLength":100000},"zip":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"companyName":{"type":"string","nullable":true,"maxLength":100000},"email":{"type":"string","nullable":true,"maxLength":100000},"firstName":{"type":"string","nullable":true,"maxLength":100000},"gender":{"type":"integer","enum":[2,1,0]},"lastName":{"type":"string","nullable":true,"maxLength":100000},"middleInitial":{"type":"string","nullable":true,"maxLength":100000},"nameToUseOnForms":{"type":"integer","enum":[1,0]},"notes":{"type":"string","nullable":true,"maxLength":100000},"prefix":{"type":"string","nullable":true,"maxLength":100000},"suffix":{"type":"string","nullable":true,"maxLength":100000},"title":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"name":{"type":"string","minLength":1,"maxLength":100000},"paymentMethod":{"type":"string","nullable":true,"maxLength":100000},"paymentsContact":{"type":"object","nullable":true,"properties":{"address":{"type":"object","nullable":true,"properties":{"address1":{"type":"string","nullable":true,"maxLength":100000},"address2":{"type":"string","nullable":true,"maxLength":100000},"city":{"type":"string","nullable":true,"maxLength":100000},"country":{"type":"string","nullable":true,"maxLength":100000},"salesTaxCode":{"type":"string","nullable":true,"maxLength":100000},"state":{"type":"string","nullable":true,"maxLength":100000},"zip":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"companyName":{"type":"string","nullable":true,"maxLength":100000},"email":{"type":"string","nullable":true,"maxLength":100000},"firstName":{"type":"string","nullable":true,"maxLength":100000},"gender":{"type":"integer","enum":[2,1,0]},"lastName":{"type":"string","nullable":true,"maxLength":100000},"middleInitial":{"type":"string","nullable":true,"maxLength":100000},"nameToUseOnForms":{"type":"integer","enum":[1,0]},"notes":{"type":"string","nullable":true,"maxLength":100000},"prefix":{"type":"string","nullable":true,"maxLength":100000},"suffix":{"type":"string","nullable":true,"maxLength":100000},"title":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"purchaseOrdersContact":{"type":"object","nullable":true,"properties":{"address":{"type":"object","nullable":true,"properties":{"address1":{"type":"string","nullable":true,"maxLength":100000},"address2":{"type":"string","nullable":true,"maxLength":100000},"city":{"type":"string","nullable":true,"maxLength":100000},"country":{"type":"string","nullable":true,"maxLength":100000},"salesTaxCode":{"type":"string","nullable":true,"maxLength":100000},"state":{"type":"string","nullable":true,"maxLength":100000},"zip":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"companyName":{"type":"string","nullable":true,"maxLength":100000},"email":{"type":"string","nullable":true,"maxLength":100000},"firstName":{"type":"string","nullable":true,"maxLength":100000},"gender":{"type":"integer","enum":[2,1,0]},"lastName":{"type":"string","nullable":true,"maxLength":100000},"middleInitial":{"type":"string","nullable":true,"maxLength":100000},"nameToUseOnForms":{"type":"integer","enum":[1,0]},"notes":{"type":"string","nullable":true,"maxLength":100000},"prefix":{"type":"string","nullable":true,"maxLength":100000},"suffix":{"type":"string","nullable":true,"maxLength":100000},"title":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"purchaseRepresentativeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"replaceInventoryItemIDWithPartNumber":{"type":"boolean"},"replaceInventoryItemIDWithUPC":{"type":"boolean"},"shipmentsContact":{"type":"object","nullable":true,"properties":{"address":{"type":"object","nullable":true,"properties":{"address1":{"type":"string","nullable":true,"maxLength":100000},"address2":{"type":"string","nullable":true,"maxLength":100000},"city":{"type":"string","nullable":true,"maxLength":100000},"country":{"type":"string","nullable":true,"maxLength":100000},"salesTaxCode":{"type":"string","nullable":true,"maxLength":100000},"state":{"type":"string","nullable":true,"maxLength":100000},"zip":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"companyName":{"type":"string","nullable":true,"maxLength":100000},"email":{"type":"string","nullable":true,"maxLength":100000},"firstName":{"type":"string","nullable":true,"maxLength":100000},"gender":{"type":"integer","enum":[2,1,0]},"lastName":{"type":"string","nullable":true,"maxLength":100000},"middleInitial":{"type":"string","nullable":true,"maxLength":100000},"nameToUseOnForms":{"type":"integer","enum":[1,0]},"notes":{"type":"string","nullable":true,"maxLength":100000},"prefix":{"type":"string","nullable":true,"maxLength":100000},"suffix":{"type":"string","nullable":true,"maxLength":100000},"title":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"shipVia":{"type":"string","nullable":true,"maxLength":100000},"taxIDNumber":{"type":"string","nullable":true,"maxLength":100000},"terms":{"type":"object","properties":{"paymentTimeFrame":{"type":"integer","enum":[0,4,2,3,1]},"dueDays":{"type":"integer","minimum":0},"useDiscounts":{"type":"boolean"},"discountDays":{"type":"integer","minimum":0},"discountPercent":{"type":"number","minimum":0,"maximum":100},"creditLimit":{"type":"number","minimum":0},"chargeInterest":{"type":"boolean"}},"required":["paymentTimeFrame","dueDays","useDiscounts","discountDays","discountPercent","creditLimit","chargeInterest"],"additionalProperties":false},"useEmailToDeliverForms":{"type":"boolean"},"usingPaymentDefaults":{"type":"boolean"},"vendorSince":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"webSiteURL":{"type":"string","nullable":true,"maxLength":100000}},"required":["code","name"],"additionalProperties":false},{"type":"object","properties":{"accountNumber":{"type":"string","nullable":true,"maxLength":100000},"cashAccountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"category":{"type":"string","nullable":true,"maxLength":100000},"email":{"type":"string","nullable":true,"maxLength":100000},"expenseAccountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"form1099Type":{"type":"integer","enum":[1,2,0]},"includePurchaseRepresentativeOnEmailedForms":{"type":"boolean"},"isInactive":{"type":"boolean"},"mailToContact":{"type":"object","nullable":true,"properties":{"address":{"type":"object","nullable":true,"properties":{"address1":{"type":"string","nullable":true,"maxLength":100000},"address2":{"type":"string","nullable":true,"maxLength":100000},"city":{"type":"string","nullable":true,"maxLength":100000},"country":{"type":"string","nullable":true,"maxLength":100000},"salesTaxCode":{"type":"string","nullable":true,"maxLength":100000},"state":{"type":"string","nullable":true,"maxLength":100000},"zip":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"companyName":{"type":"string","nullable":true,"maxLength":100000},"email":{"type":"string","nullable":true,"maxLength":100000},"firstName":{"type":"string","nullable":true,"maxLength":100000},"gender":{"type":"integer","enum":[2,1,0]},"lastName":{"type":"string","nullable":true,"maxLength":100000},"middleInitial":{"type":"string","nullable":true,"maxLength":100000},"nameToUseOnForms":{"type":"integer","enum":[1,0]},"notes":{"type":"string","nullable":true,"maxLength":100000},"prefix":{"type":"string","nullable":true,"maxLength":100000},"suffix":{"type":"string","nullable":true,"maxLength":100000},"title":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"name":{"type":"string","nullable":true,"maxLength":100000},"paymentMethod":{"type":"string","nullable":true,"maxLength":100000},"paymentsContact":{"type":"object","nullable":true,"properties":{"address":{"type":"object","nullable":true,"properties":{"address1":{"type":"string","nullable":true,"maxLength":100000},"address2":{"type":"string","nullable":true,"maxLength":100000},"city":{"type":"string","nullable":true,"maxLength":100000},"country":{"type":"string","nullable":true,"maxLength":100000},"salesTaxCode":{"type":"string","nullable":true,"maxLength":100000},"state":{"type":"string","nullable":true,"maxLength":100000},"zip":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"companyName":{"type":"string","nullable":true,"maxLength":100000},"email":{"type":"string","nullable":true,"maxLength":100000},"firstName":{"type":"string","nullable":true,"maxLength":100000},"gender":{"type":"integer","enum":[2,1,0]},"lastName":{"type":"string","nullable":true,"maxLength":100000},"middleInitial":{"type":"string","nullable":true,"maxLength":100000},"nameToUseOnForms":{"type":"integer","enum":[1,0]},"notes":{"type":"string","nullable":true,"maxLength":100000},"prefix":{"type":"string","nullable":true,"maxLength":100000},"suffix":{"type":"string","nullable":true,"maxLength":100000},"title":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"purchaseOrdersContact":{"type":"object","nullable":true,"properties":{"address":{"type":"object","nullable":true,"properties":{"address1":{"type":"string","nullable":true,"maxLength":100000},"address2":{"type":"string","nullable":true,"maxLength":100000},"city":{"type":"string","nullable":true,"maxLength":100000},"country":{"type":"string","nullable":true,"maxLength":100000},"salesTaxCode":{"type":"string","nullable":true,"maxLength":100000},"state":{"type":"string","nullable":true,"maxLength":100000},"zip":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"companyName":{"type":"string","nullable":true,"maxLength":100000},"email":{"type":"string","nullable":true,"maxLength":100000},"firstName":{"type":"string","nullable":true,"maxLength":100000},"gender":{"type":"integer","enum":[2,1,0]},"lastName":{"type":"string","nullable":true,"maxLength":100000},"middleInitial":{"type":"string","nullable":true,"maxLength":100000},"nameToUseOnForms":{"type":"integer","enum":[1,0]},"notes":{"type":"string","nullable":true,"maxLength":100000},"prefix":{"type":"string","nullable":true,"maxLength":100000},"suffix":{"type":"string","nullable":true,"maxLength":100000},"title":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"purchaseRepresentativeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"replaceInventoryItemIDWithPartNumber":{"type":"boolean"},"replaceInventoryItemIDWithUPC":{"type":"boolean"},"shipmentsContact":{"type":"object","nullable":true,"properties":{"address":{"type":"object","nullable":true,"properties":{"address1":{"type":"string","nullable":true,"maxLength":100000},"address2":{"type":"string","nullable":true,"maxLength":100000},"city":{"type":"string","nullable":true,"maxLength":100000},"country":{"type":"string","nullable":true,"maxLength":100000},"salesTaxCode":{"type":"string","nullable":true,"maxLength":100000},"state":{"type":"string","nullable":true,"maxLength":100000},"zip":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"companyName":{"type":"string","nullable":true,"maxLength":100000},"email":{"type":"string","nullable":true,"maxLength":100000},"firstName":{"type":"string","nullable":true,"maxLength":100000},"gender":{"type":"integer","enum":[2,1,0]},"lastName":{"type":"string","nullable":true,"maxLength":100000},"middleInitial":{"type":"string","nullable":true,"maxLength":100000},"nameToUseOnForms":{"type":"integer","enum":[1,0]},"notes":{"type":"string","nullable":true,"maxLength":100000},"prefix":{"type":"string","nullable":true,"maxLength":100000},"suffix":{"type":"string","nullable":true,"maxLength":100000},"title":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"shipVia":{"type":"string","nullable":true,"maxLength":100000},"taxIDNumber":{"type":"string","nullable":true,"maxLength":100000},"terms":{"type":"object","properties":{"paymentTimeFrame":{"type":"integer","enum":[0,4,2,3,1]},"dueDays":{"type":"integer","minimum":0},"useDiscounts":{"type":"boolean"},"discountDays":{"type":"integer","minimum":0},"discountPercent":{"type":"number","minimum":0,"maximum":100},"creditLimit":{"type":"number","minimum":0},"chargeInterest":{"type":"boolean"}},"required":["paymentTimeFrame","dueDays","useDiscounts","discountDays","discountPercent","creditLimit","chargeInterest"],"additionalProperties":false},"useEmailToDeliverForms":{"type":"boolean"},"usingPaymentDefaults":{"type":"boolean"},"vendorSince":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"webSiteURL":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false}]},"limit":{"type":"integer","minimum":1,"maximum":100},"offset":{"type":"integer","minimum":0,"maximum":1000000}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","enum":["items"]},"id":{"type":"string","format":"uuid"},"limit":{"type":"integer","minimum":1,"maximum":100},"offset":{"type":"integer","minimum":0,"maximum":1000000}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","enum":["employees"]},"id":{"type":"string","format":"uuid"},"limit":{"type":"integer","minimum":1,"maximum":100},"offset":{"type":"integer","minimum":0,"maximum":1000000}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","enum":["jobs"]},"id":{"type":"string","format":"uuid"},"limit":{"type":"integer","minimum":1,"maximum":100},"offset":{"type":"integer","minimum":0,"maximum":1000000}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","enum":["budgets"]},"id":{"type":"string","format":"uuid"},"limit":{"type":"integer","minimum":1,"maximum":100},"offset":{"type":"integer","minimum":0,"maximum":1000000}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","enum":["quotes"]},"id":{"type":"string","format":"uuid"},"data":{"anyOf":[{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"referenceNumber":{"type":"string","minLength":1,"maxLength":100000},"customerNote":{"type":"string","nullable":true,"maxLength":100000},"customerPurchaseOrderNumber":{"type":"string","nullable":true,"maxLength":100000},"customerReference":{"type":"object","properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"discountAmount":{"type":"number"},"discountDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"dropShip":{"type":"boolean"},"freightAccountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"freightAmount":{"type":"number"},"goodThroughDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"internalNote":{"type":"string","nullable":true,"maxLength":100000},"printCustomerNoteAfterLineItems":{"type":"boolean"},"salesRepresentativeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"salesTaxCodeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"shipVia":{"type":"string","nullable":true,"maxLength":100000},"statementNote":{"type":"string","nullable":true,"maxLength":100000},"termsDescription":{"type":"string","nullable":true,"maxLength":100000},"lines":{"type":"array","items":{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"amount":{"type":"number"},"description":{"type":"string","nullable":true,"maxLength":100000},"inventoryItemReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"jobReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"quantity":{"type":"number"},"salesTaxType":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"unitPrice":{"type":"number"}},"additionalProperties":false},"minItems":1,"maxItems":1000}},"required":["date","referenceNumber","customerReference","lines"],"additionalProperties":false},{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"referenceNumber":{"type":"string","nullable":true,"maxLength":100000},"customerNote":{"type":"string","nullable":true,"maxLength":100000},"customerPurchaseOrderNumber":{"type":"string","nullable":true,"maxLength":100000},"customerReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"discountAmount":{"type":"number"},"discountDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"dropShip":{"type":"boolean"},"freightAccountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"freightAmount":{"type":"number"},"goodThroughDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"internalNote":{"type":"string","nullable":true,"maxLength":100000},"printCustomerNoteAfterLineItems":{"type":"boolean"},"salesRepresentativeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"salesTaxCodeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"shipVia":{"type":"string","nullable":true,"maxLength":100000},"statementNote":{"type":"string","nullable":true,"maxLength":100000},"termsDescription":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false}]},"limit":{"type":"integer","minimum":1,"maximum":100},"offset":{"type":"integer","minimum":0,"maximum":1000000}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","enum":["proposals"]},"id":{"type":"string","format":"uuid"},"limit":{"type":"integer","minimum":1,"maximum":100},"offset":{"type":"integer","minimum":0,"maximum":1000000}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","enum":["sales-orders"]},"id":{"type":"string","format":"uuid"},"data":{"anyOf":[{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"referenceNumber":{"type":"string","minLength":1,"maxLength":100000},"customerNote":{"type":"string","nullable":true,"maxLength":100000},"customerPurchaseOrderNumber":{"type":"string","nullable":true,"maxLength":100000},"customerReference":{"type":"object","properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"discountAmount":{"type":"number"},"discountDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"freightAccountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"freightAmount":{"type":"number"},"internalNote":{"type":"string","nullable":true,"maxLength":100000},"isClosed":{"type":"boolean"},"isDropShip":{"type":"boolean"},"printCustomerNoteAfterLineItems":{"type":"boolean"},"salesRepresentativeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"salesTaxCodeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"shipByDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"shipDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"shipVia":{"type":"string","nullable":true,"maxLength":100000},"statementNote":{"type":"string","nullable":true,"maxLength":100000},"termsDescription":{"type":"string","nullable":true,"maxLength":100000},"lines":{"type":"array","items":{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"amount":{"type":"number"},"description":{"type":"string","nullable":true,"maxLength":100000},"inventoryItemReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"jobReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"quantity":{"type":"number"},"salesTaxType":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"unitPrice":{"type":"number"}},"additionalProperties":false},"minItems":1,"maxItems":1000}},"required":["date","referenceNumber","customerReference","lines"],"additionalProperties":false},{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"referenceNumber":{"type":"string","nullable":true,"maxLength":100000},"customerNote":{"type":"string","nullable":true,"maxLength":100000},"customerPurchaseOrderNumber":{"type":"string","nullable":true,"maxLength":100000},"customerReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"discountAmount":{"type":"number"},"discountDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"freightAccountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"freightAmount":{"type":"number"},"internalNote":{"type":"string","nullable":true,"maxLength":100000},"isClosed":{"type":"boolean"},"isDropShip":{"type":"boolean"},"printCustomerNoteAfterLineItems":{"type":"boolean"},"salesRepresentativeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"salesTaxCodeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"shipByDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"shipDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"shipVia":{"type":"string","nullable":true,"maxLength":100000},"statementNote":{"type":"string","nullable":true,"maxLength":100000},"termsDescription":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false}]},"limit":{"type":"integer","minimum":1,"maximum":100},"offset":{"type":"integer","minimum":0,"maximum":1000000}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","enum":["invoices"]},"id":{"type":"string","format":"uuid"},"data":{"anyOf":[{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"referenceNumber":{"type":"string","minLength":1,"maxLength":100000},"customerNote":{"type":"string","nullable":true,"maxLength":100000},"customerPurchaseOrderNumber":{"type":"string","nullable":true,"maxLength":100000},"customerReference":{"type":"object","properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"dateDue":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"discountAmount":{"type":"number"},"discountDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"dropShip":{"type":"boolean"},"freightAccountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"freightAmount":{"type":"number"},"internalNote":{"type":"string","nullable":true,"maxLength":100000},"printCustomerNoteAfterLineItems":{"type":"boolean"},"salesRepresentativeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"salesTaxCodeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"shipDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"shipVia":{"type":"string","nullable":true,"maxLength":100000},"statementNote":{"type":"string","nullable":true,"maxLength":100000},"termsDescription":{"type":"string","nullable":true,"maxLength":100000},"lines":{"type":"array","items":{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"amount":{"type":"number"},"description":{"type":"string","nullable":true,"maxLength":100000},"inventoryItemReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"jobReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"quantity":{"type":"number"},"salesTaxType":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"unitPrice":{"type":"number"}},"additionalProperties":false},"minItems":1,"maxItems":1000}},"required":["date","referenceNumber","customerReference","lines"],"additionalProperties":false},{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"referenceNumber":{"type":"string","nullable":true,"maxLength":100000},"customerNote":{"type":"string","nullable":true,"maxLength":100000},"customerPurchaseOrderNumber":{"type":"string","nullable":true,"maxLength":100000},"customerReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"dateDue":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"discountAmount":{"type":"number"},"discountDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"dropShip":{"type":"boolean"},"freightAccountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"freightAmount":{"type":"number"},"internalNote":{"type":"string","nullable":true,"maxLength":100000},"printCustomerNoteAfterLineItems":{"type":"boolean"},"salesRepresentativeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"salesTaxCodeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"shipDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"shipVia":{"type":"string","nullable":true,"maxLength":100000},"statementNote":{"type":"string","nullable":true,"maxLength":100000},"termsDescription":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false}]},"limit":{"type":"integer","minimum":1,"maximum":100},"offset":{"type":"integer","minimum":0,"maximum":1000000}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","enum":["customer-credit-memos"]},"id":{"type":"string","format":"uuid"},"data":{"anyOf":[{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"referenceNumber":{"type":"string","minLength":1,"maxLength":100000},"customerNote":{"type":"string","nullable":true,"maxLength":100000},"customerPurchaseOrderNumber":{"type":"string","nullable":true,"maxLength":100000},"customerReference":{"type":"object","properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"dateDue":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"discountAmount":{"type":"number"},"discountDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"freightAmount":{"type":"number"},"internalNote":{"type":"string","nullable":true,"maxLength":100000},"printCustomerNoteAfterLineItems":{"type":"boolean"},"returnAuthorization":{"type":"string","nullable":true,"maxLength":100000},"salesRepresentativeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"salesTaxCodeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"statementNote":{"type":"string","nullable":true,"maxLength":100000},"termsDescription":{"type":"string","nullable":true,"maxLength":100000},"lines":{"type":"array","items":{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"amount":{"type":"number"},"description":{"type":"string","nullable":true,"maxLength":100000},"inventoryItemReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"jobReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"quantity":{"type":"number"},"salesTaxType":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"unitPrice":{"type":"number"}},"additionalProperties":false},"minItems":1,"maxItems":1000}},"required":["date","referenceNumber","customerReference","lines"],"additionalProperties":false},{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"referenceNumber":{"type":"string","nullable":true,"maxLength":100000},"customerNote":{"type":"string","nullable":true,"maxLength":100000},"customerPurchaseOrderNumber":{"type":"string","nullable":true,"maxLength":100000},"customerReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"dateDue":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"discountAmount":{"type":"number"},"discountDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"freightAmount":{"type":"number"},"internalNote":{"type":"string","nullable":true,"maxLength":100000},"printCustomerNoteAfterLineItems":{"type":"boolean"},"returnAuthorization":{"type":"string","nullable":true,"maxLength":100000},"salesRepresentativeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"salesTaxCodeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"statementNote":{"type":"string","nullable":true,"maxLength":100000},"termsDescription":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false}]},"limit":{"type":"integer","minimum":1,"maximum":100},"offset":{"type":"integer","minimum":0,"maximum":1000000}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","enum":["receipts"]},"id":{"type":"string","format":"uuid"},"data":{"anyOf":[{"type":"object","properties":{"accountReference":{"type":"object","properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"referenceNumber":{"type":"string","minLength":1,"maxLength":100000},"customerReference":{"type":"object","properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"depositTicketID":{"type":"string","nullable":true,"maxLength":100000},"discountAccountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"paymentMethod":{"type":"string","nullable":true,"maxLength":100000},"receiptNumber":{"type":"string","nullable":true,"maxLength":100000},"salesRepresentativeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"salesTaxCodeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"lines":{"type":"array","items":{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"amount":{"type":"number"},"description":{"type":"string","nullable":true,"maxLength":100000},"inventoryItemReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"jobReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"quantity":{"type":"number"},"salesTaxType":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"unitPrice":{"type":"number"}},"additionalProperties":false},"minItems":1,"maxItems":1000}},"required":["accountReference","date","referenceNumber","customerReference","lines"],"additionalProperties":false},{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"referenceNumber":{"type":"string","nullable":true,"maxLength":100000},"customerReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"depositTicketID":{"type":"string","nullable":true,"maxLength":100000},"discountAccountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"paymentMethod":{"type":"string","nullable":true,"maxLength":100000},"receiptNumber":{"type":"string","nullable":true,"maxLength":100000},"salesRepresentativeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"salesTaxCodeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false}},"additionalProperties":false}]},"limit":{"type":"integer","minimum":1,"maximum":100},"offset":{"type":"integer","minimum":0,"maximum":1000000}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","enum":["advance-receipts"]},"id":{"type":"string","format":"uuid"},"data":{"anyOf":[{"type":"object","properties":{"accountReference":{"type":"object","properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"referenceNumber":{"type":"string","minLength":1,"maxLength":100000},"customerReference":{"type":"object","properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"paymentMethod":{"type":"string","nullable":true,"maxLength":100000},"salesRepresentativeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"lines":{"type":"array","items":{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"amount":{"type":"number"},"description":{"type":"string","nullable":true,"maxLength":100000}},"additionalProperties":false},"minItems":1,"maxItems":1000}},"required":["accountReference","date","referenceNumber","customerReference","lines"],"additionalProperties":false},{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"referenceNumber":{"type":"string","nullable":true,"maxLength":100000},"customerReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"paymentMethod":{"type":"string","nullable":true,"maxLength":100000},"salesRepresentativeReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false}},"additionalProperties":false}]},"limit":{"type":"integer","minimum":1,"maximum":100},"offset":{"type":"integer","minimum":0,"maximum":1000000}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","enum":["payments"]},"id":{"type":"string","format":"uuid"},"data":{"anyOf":[{"type":"object","properties":{"accountReference":{"type":"object","properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"referenceNumber":{"type":"string","minLength":1,"maxLength":100000},"discountAccountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"memo":{"type":"string","nullable":true,"maxLength":100000},"paymentMethod":{"type":"string","nullable":true,"maxLength":100000},"vendorReference":{"type":"object","properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"lines":{"type":"array","items":{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"amount":{"type":"number"},"description":{"type":"string","nullable":true,"maxLength":100000},"inventoryItemReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"jobReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"quantity":{"type":"number"},"unitPrice":{"type":"number"}},"additionalProperties":false},"minItems":1,"maxItems":1000}},"required":["accountReference","date","referenceNumber","vendorReference","lines"],"additionalProperties":false},{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"referenceNumber":{"type":"string","nullable":true,"maxLength":100000},"discountAccountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"memo":{"type":"string","nullable":true,"maxLength":100000},"paymentMethod":{"type":"string","nullable":true,"maxLength":100000},"vendorReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false}},"additionalProperties":false}]},"limit":{"type":"integer","minimum":1,"maximum":100},"offset":{"type":"integer","minimum":0,"maximum":1000000}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","enum":["advance-payments"]},"id":{"type":"string","format":"uuid"},"limit":{"type":"integer","minimum":1,"maximum":100},"offset":{"type":"integer","minimum":0,"maximum":1000000}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","enum":["customer-payments"]},"id":{"type":"string","format":"uuid"},"limit":{"type":"integer","minimum":1,"maximum":100},"offset":{"type":"integer","minimum":0,"maximum":1000000}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","enum":["supplier-receipts"]},"id":{"type":"string","format":"uuid"},"limit":{"type":"integer","minimum":1,"maximum":100},"offset":{"type":"integer","minimum":0,"maximum":1000000}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","enum":["purchase-orders"]},"id":{"type":"string","format":"uuid"},"data":{"anyOf":[{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"referenceNumber":{"type":"string","minLength":1,"maxLength":100000},"customerReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"discountAmount":{"type":"number"},"goodThroughDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"internalNote":{"type":"string","nullable":true,"maxLength":100000},"isClosed":{"type":"boolean"},"isDropShip":{"type":"boolean"},"printVendorNoteAfterLineItems":{"type":"boolean"},"shipVia":{"type":"string","nullable":true,"maxLength":100000},"termsDescription":{"type":"string","nullable":true,"maxLength":100000},"vendorNote":{"type":"string","nullable":true,"maxLength":100000},"vendorReference":{"type":"object","properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"lines":{"type":"array","items":{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"amount":{"type":"number"},"description":{"type":"string","nullable":true,"maxLength":100000},"inventoryItemReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"jobReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"quantity":{"type":"number"},"unitPrice":{"type":"number"}},"additionalProperties":false},"minItems":1,"maxItems":1000}},"required":["date","referenceNumber","vendorReference","lines"],"additionalProperties":false},{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"referenceNumber":{"type":"string","nullable":true,"maxLength":100000},"customerReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"discountAmount":{"type":"number"},"goodThroughDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"internalNote":{"type":"string","nullable":true,"maxLength":100000},"isClosed":{"type":"boolean"},"isDropShip":{"type":"boolean"},"printVendorNoteAfterLineItems":{"type":"boolean"},"shipVia":{"type":"string","nullable":true,"maxLength":100000},"termsDescription":{"type":"string","nullable":true,"maxLength":100000},"vendorNote":{"type":"string","nullable":true,"maxLength":100000},"vendorReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false}},"additionalProperties":false}]},"limit":{"type":"integer","minimum":1,"maximum":100},"offset":{"type":"integer","minimum":0,"maximum":1000000}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","enum":["purchase-invoices"]},"id":{"type":"string","format":"uuid"},"data":{"anyOf":[{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"referenceNumber":{"type":"string","minLength":1,"maxLength":100000},"customerReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"customerSalesOrderNumber":{"type":"string","nullable":true,"maxLength":100000},"dateDue":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"discountAmount":{"type":"number"},"discountDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"dropShip":{"type":"boolean"},"internalNote":{"type":"string","nullable":true,"maxLength":100000},"printVendorNoteAfterLineItems":{"type":"boolean"},"shipVia":{"type":"string","nullable":true,"maxLength":100000},"termsDescription":{"type":"string","nullable":true,"maxLength":100000},"vendorNote":{"type":"string","nullable":true,"maxLength":100000},"vendorReference":{"type":"object","properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"waitingForBill":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"lines":{"type":"array","items":{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"amount":{"type":"number"},"description":{"type":"string","nullable":true,"maxLength":100000},"inventoryItemReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"jobReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"quantity":{"type":"number"},"unitPrice":{"type":"number"}},"additionalProperties":false},"minItems":1,"maxItems":1000}},"required":["date","referenceNumber","vendorReference","lines"],"additionalProperties":false},{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"referenceNumber":{"type":"string","nullable":true,"maxLength":100000},"customerReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"customerSalesOrderNumber":{"type":"string","nullable":true,"maxLength":100000},"dateDue":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"discountAmount":{"type":"number"},"discountDate":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"dropShip":{"type":"boolean"},"internalNote":{"type":"string","nullable":true,"maxLength":100000},"printVendorNoteAfterLineItems":{"type":"boolean"},"shipVia":{"type":"string","nullable":true,"maxLength":100000},"termsDescription":{"type":"string","nullable":true,"maxLength":100000},"vendorNote":{"type":"string","nullable":true,"maxLength":100000},"vendorReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"waitingForBill":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"additionalProperties":false}]},"limit":{"type":"integer","minimum":1,"maximum":100},"offset":{"type":"integer","minimum":0,"maximum":1000000}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","enum":["supplier-credit-memos"]},"id":{"type":"string","format":"uuid"},"limit":{"type":"integer","minimum":1,"maximum":100},"offset":{"type":"integer","minimum":0,"maximum":1000000}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","enum":["journal-entries"]},"id":{"type":"string","format":"uuid"},"data":{"anyOf":[{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"referenceNumber":{"type":"string","minLength":1,"maxLength":100000},"isReversingTransaction":{"type":"boolean"},"lines":{"type":"array","items":{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"amount":{"type":"number"},"description":{"type":"string","nullable":true,"maxLength":100000},"jobReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false}},"additionalProperties":false},"minItems":1,"maxItems":1000}},"required":["date","referenceNumber","lines"],"additionalProperties":false},{"type":"object","properties":{"accountReference":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"additionalProperties":false},"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,7})?(?:Z|[+-]\\d{2}:\\d{2})?)?$"},"referenceNumber":{"type":"string","nullable":true,"maxLength":100000},"isReversingTransaction":{"type":"boolean"}},"additionalProperties":false}]},"limit":{"type":"integer","minimum":1,"maximum":100},"offset":{"type":"integer","minimum":0,"maximum":1000000}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","enum":["tax-codes"]},"id":{"type":"string","format":"uuid"},"limit":{"type":"integer","minimum":1,"maximum":100},"offset":{"type":"integer","minimum":0,"maximum":1000000}},"required":["resource"],"additionalProperties":false},{"type":"object","properties":{"resource":{"type":"string","enum":["tax-agencies"]},"id":{"type":"string","format":"uuid"},"limit":{"type":"integer","minimum":1,"maximum":100},"offset":{"type":"integer","minimum":0,"maximum":1000000}},"required":["resource"],"additionalProperties":false}]}],"default":{}}},"required":["operation"],"additionalProperties":false}}}},"responses":{"200":{"description":"Terminal operation; inspect state and result.success","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"202":{"description":"Queued or running; follow Location/statusUrl and Retry-After","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid identifier, JSON body or request fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"401":{"description":"Missing, invalid or expired credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"403":{"description":"Credential does not authorize this account, installation or operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"404":{"description":"Project or connection not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"409":{"description":"Edition mismatch, revoked connection or conflicting idempotency key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"413":{"description":"Request body exceeds the byte limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"429":{"description":"Connection already has 100 nonterminal operations; same-key replays remain available","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"503":{"description":"Connector service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}}}}},"/connector/v2/config":{"get":{"operationId":"getConnectorConfiguration","tags":["Windows connector"],"summary":"Get desktop authentication configuration","security":[],"description":"Public discovery for the Windows connector: Keycloak issuer, desktop client, API audience and WebSocket subprotocol. No credentials are returned.","responses":{"200":{"description":"Desktop sign-in configuration","content":{"application/json":{"schema":{"type":"object","properties":{"issuer":{"type":"string"},"clientId":{"type":"string"},"audience":{"type":"string"},"protocol":{"type":"string","enum":["sage-connector.v2+json"]}},"required":["issuer","clientId","audience","protocol"]}}}},"503":{"description":"Connector service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}}}}},"/connector/v2/{installationId}/setup/inspect":{"post":{"operationId":"inspectConnectorSetup","tags":["Windows connector"],"summary":"Preview a setup code","security":[{"SageConnectorAuth":[]}],"description":"Requires a device access token or a legacy Keycloak desktop access token. Device sessions belong to one branded app and installation; legacy sessions belong to the token issuer, user and installationId. Shows the project, display name and requested permissions before the user selects a Sage company. Requires an unused, unexpired setup code. Request bodies are limited to 16 KiB.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"installationId","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"setupCode":{"type":"string","minLength":109,"maxLength":109}},"required":["setupCode"],"additionalProperties":false}}}},"responses":{"200":{"description":"Setup preview","content":{"application/json":{"schema":{"type":"object","properties":{"displayName":{"type":"string"},"projectName":{"type":"string"},"operations":{"type":"array","items":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"minItems":1,"maxItems":14}},"required":["displayName","projectName","operations"]}}}},"400":{"description":"Invalid identifier, JSON body or request fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"401":{"description":"Missing, invalid or expired credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"403":{"description":"Credential does not authorize this account, installation or operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"413":{"description":"Request body exceeds the byte limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"503":{"description":"Connector service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}}}}},"/connector/v2/{installationId}/claim":{"post":{"operationId":"claimConnectorSetup","tags":["Windows connector"],"summary":"Claim a setup code for a Sage company","security":[{"SageConnectorAuth":[]}],"description":"Requires a device access token or a legacy Keycloak desktop access token. Device sessions belong to one branded app and installation; legacy sessions belong to the token issuer, user and installationId. Binds the selected country and local company ID to the setup code. Repeating the same claim for the same session, company and country returns the same grant. Each login/installation supports up to 32 connections. Request bodies are limited to 16 KiB.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"installationId","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"setupCode":{"type":"string","minLength":109,"maxLength":109},"companyId":{"type":"string","minLength":1,"maxLength":128},"edition":{"type":"string","enum":["sage50-uk","sage50-us"]}},"required":["setupCode","companyId","edition"],"additionalProperties":false}}}},"responses":{"200":{"description":"Claimed company and granted permissions","content":{"application/json":{"schema":{"type":"object","properties":{"connectionId":{"type":"string","format":"uuid"},"edition":{"type":"string","enum":["sage50-uk","sage50-us"]},"operations":{"type":"array","items":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"minItems":1,"maxItems":14},"displayName":{"type":"string"},"companyId":{"type":"string","minLength":1,"maxLength":128}},"required":["connectionId","edition","operations","displayName","companyId"],"additionalProperties":false}}}},"400":{"description":"Invalid identifier, JSON body or request fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"401":{"description":"Missing, invalid or expired credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"403":{"description":"Credential does not authorize this account, installation or operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"409":{"description":"Maximum 32 connections reached","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"413":{"description":"Request body exceeds the byte limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"503":{"description":"Connector service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}}}}},"/connector/v2/{installationId}/connections/{connectionId}/revoke":{"post":{"operationId":"revokeDesktopConnection","tags":["Windows connector"],"summary":"Disconnect a company from this installation","security":[{"SageConnectorAuth":[]}],"description":"Requires a device access token or a legacy Keycloak desktop access token. Device sessions belong to one branded app and installation; legacy sessions belong to the token issuer, user and installationId. Revokes only a grant bound to this session, cancels outstanding work and pending deliveries, and removes its binding. Reconcile any dispatched writes with an unknown outcome before another write.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"installationId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"}],"responses":{"204":{"description":"Connection revoked"},"400":{"description":"Invalid identifier, JSON body or request fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"401":{"description":"Missing, invalid or expired credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"403":{"description":"Credential does not authorize this account, installation or operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"503":{"description":"Connector service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}}}}},"/connector/v2/{installationId}/socket":{"get":{"operationId":"connectDesktopSocket","tags":["Windows connector"],"summary":"Open the native connector WebSocket","security":[{"SageConnectorAuth":[]}],"description":"Requires a device access token or a legacy Keycloak desktop access token. Device sessions belong to one branded app and installation; legacy sessions belong to the token issuer, user and installationId. Upgrade using sage-connector.v2+json. Send connector.hello first, then JSON ConnectorClientMessage frames; receive ConnectorServerMessage frames. Frames are limited to 1 MiB of UTF-8 text. Send heartbeats every 20 seconds. A new socket replaces the previous one for this session (close code 4001); expired credentials close with 4401. Reconnect with a refreshed token and the same installation ID. HTTP exchange provides fallback when WebSockets are unavailable.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"installationId","in":"path"},{"schema":{"type":"string","enum":["websocket"]},"required":true,"name":"Upgrade","in":"header"},{"schema":{"type":"string","enum":["sage-connector.v2+json"]},"required":true,"name":"Sec-WebSocket-Protocol","in":"header"}],"responses":{"101":{"description":"WebSocket established; JSON client/server messages follow"},"400":{"description":"Invalid identifier, JSON body or request fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"401":{"description":"Missing, invalid or expired credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"403":{"description":"Credential does not authorize this account, installation or operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"426":{"description":"WebSocket upgrade and the v2 subprotocol are required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"503":{"description":"Connector service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}}}}},"/connector/v2/{installationId}/exchange":{"post":{"operationId":"exchangeDesktopMessages","tags":["Windows connector"],"summary":"Exchange native connector messages over HTTP","security":[{"SageConnectorAuth":[]}],"description":"Requires a device access token or a legacy Keycloak desktop access token. Device sessions belong to one branded app and installation; legacy sessions belong to the token issuer, user and installationId. Fallback transport for the same durable session and job IDs. Send 1–8 client messages per request, up to 1 MiB. Initialize capabilities with connector.hello. Inspect returned protocol.error messages even when HTTP succeeds; persist SDK results until command.result_ack and change batches until resource.changes_ack. Retries must preserve job, attempt and batch identifiers.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"installationId","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"messages":{"type":"array","items":{"$ref":"#/components/schemas/ConnectorClientMessage"},"minItems":1,"maxItems":8}},"required":["messages"],"additionalProperties":false}}}},"responses":{"200":{"description":"Acknowledgements, ready state, protocol errors and any available command","content":{"application/json":{"schema":{"type":"object","properties":{"messages":{"type":"array","items":{"$ref":"#/components/schemas/ConnectorServerMessage"}}},"required":["messages"]}}}},"400":{"description":"Invalid identifier, JSON body or request fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"401":{"description":"Missing, invalid or expired credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"403":{"description":"Credential does not authorize this account, installation or operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"413":{"description":"Request body exceeds the byte limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"503":{"description":"Connector service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}}}}},"/v2/accounts/{accountId}/connections/{connectionId}/webhook":{"put":{"operationId":"setLegacyConnectorWebhook","tags":["Webhooks"],"summary":"Set the legacy webhook endpoint","security":[{"SagePortalAuth":[]}],"description":"Requires a Keycloak portal access token whose organization claim contains accountId. Compatibility route for the default endpoint. Prefer the plural /webhooks/{endpointId} route for new registrations. The default counts toward the ten-endpoint limit. A changed target cancels its pending deliveries. Request bodies are limited to 16 KiB.","callbacks":{"event":{"{$request.body#/url}":{"post":{"summary":"Sage operation completion or resource change","security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SageWebhookEvent"}}}},"parameters":[{"in":"header","name":"webhook-id","required":true,"schema":{"type":"string"}},{"in":"header","name":"webhook-timestamp","required":true,"schema":{"type":"string"}},{"in":"header","name":"webhook-signature","required":true,"schema":{"type":"string"},"description":"v1=<hex HMAC-SHA256(timestamp + '.' + rawBody)>. Reject stale timestamps and compare signatures in constant time."}],"responses":{"200":{"description":"Received. Non-2xx responses retry up to 12 times with exponential backoff. Deduplicate the event ID."}}}}}},"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"accountId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","maxLength":2048,"format":"uri"},"secret":{"type":"string","minLength":32,"maxLength":128,"writeOnly":true},"changes":{"type":"object","properties":{"resources":{"type":"array","items":{"anyOf":[{"type":"string","enum":["customers","suppliers","items","accounts","bank-accounts","invoices","sales-orders","purchase-orders","fixed-assets","price-lists","customer-addresses","supplier-addresses","company-addresses"]},{"type":"string","enum":["accounts","customers","suppliers","items","employees","jobs","budgets","quotes","proposals","sales-orders","invoices","customer-credit-memos","receipts","advance-receipts","payments","advance-payments","customer-payments","supplier-receipts","purchase-orders","purchase-invoices","supplier-credit-memos","journal-entries","tax-codes","tax-agencies"]}]},"minItems":1,"maxItems":24},"intervalSeconds":{"type":"integer","enum":[60,300,900]}},"required":["resources","intervalSeconds"],"additionalProperties":false}},"required":["url","secret"],"additionalProperties":false}}}},"responses":{"204":{"description":"Default endpoint registered"},"400":{"description":"Invalid identifier, JSON body or request fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"401":{"description":"Missing, invalid or expired credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"403":{"description":"Credential does not authorize this account, installation or operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"404":{"description":"Project or connection not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"409":{"description":"Maximum 10 endpoints reached","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"413":{"description":"Request body exceeds the byte limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"503":{"description":"Connector service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}}}},"delete":{"operationId":"removeLegacyConnectorWebhook","tags":["Webhooks"],"summary":"Remove the legacy webhook endpoint","security":[{"SagePortalAuth":[]}],"description":"Requires a Keycloak portal access token whose organization claim contains accountId. Removes only the default endpoint and cancels its pending deliveries. An in-flight request may still arrive.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"accountId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"}],"responses":{"204":{"description":"Default endpoint removed"},"400":{"description":"Invalid identifier, JSON body or request fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"401":{"description":"Missing, invalid or expired credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"403":{"description":"Credential does not authorize this account, installation or operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"404":{"description":"Project or connection not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"503":{"description":"Connector service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}}}}},"/v2/accounts/{accountId}/connections/{connectionId}/webhook/deliveries":{"get":{"operationId":"listConnectorWebhookDeliveries","tags":["Webhooks"],"summary":"List webhook deliveries","security":[{"SagePortalAuth":[]}],"description":"Requires a Keycloak portal access token whose organization claim contains accountId. Returns up to 100 delivery records across all endpoints, ordered by nextAt descending. Timestamps are Unix milliseconds. failed is the stored 0/1 flag. id identifies the delivery for replay; eventId identifies the underlying event and may be shared across endpoints. Bodies and signing secrets are omitted.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"accountId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"}],"responses":{"200":{"description":"Webhook delivery history","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"endpointId":{"type":"string"},"eventId":{"type":"string","format":"uuid"},"createdAt":{"type":"integer"},"attempts":{"type":"integer","minimum":0},"nextAt":{"type":"integer"},"deliveredAt":{"type":"integer","nullable":true},"failed":{"anyOf":[{"type":"number","enum":[0]},{"type":"number","enum":[1]}]}},"required":["id","endpointId","eventId","createdAt","attempts","nextAt","deliveredAt","failed"]}}}}},"400":{"description":"Invalid identifier, JSON body or request fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"401":{"description":"Missing, invalid or expired credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"403":{"description":"Credential does not authorize this account, installation or operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"404":{"description":"Project or connection not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"503":{"description":"Connector service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}}}}},"/v2/accounts/{accountId}/connections/{connectionId}/webhook/deliveries/{eventId}/replay":{"post":{"operationId":"replayConnectorWebhookDelivery","tags":["Webhooks"],"summary":"Replay a webhook delivery","security":[{"SagePortalAuth":[]}],"description":"Requires a Keycloak portal access token whose organization claim contains accountId. Pass the delivery's id in eventId, despite the historical parameter name. Replays the stored event only while its original endpoint configuration still matches and the grant remains active. Resets the delivery attempt count and schedules it immediately; receivers must deduplicate the event ID.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"accountId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"string","format":"uuid","description":"Delivery id from the delivery list, not its eventId field."},"required":true,"description":"Delivery id from the delivery list, not its eventId field.","name":"eventId","in":"path"}],"responses":{"202":{"description":"Replay scheduled; empty response body"},"400":{"description":"Invalid identifier, JSON body or request fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"401":{"description":"Missing, invalid or expired credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"403":{"description":"Credential does not authorize this account, installation or operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"404":{"description":"Project or connection not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"409":{"description":"Delivery unavailable, connection revoked, or endpoint configuration changed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}},"503":{"description":"Connector service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorV2Error"}}}}}}},"/v1/health":{"get":{"tags":["System"],"responses":{"200":{"description":"A simple readiness payload.","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"schemaVersion":{"type":"string"}},"required":["ok","schemaVersion"]},"examples":{"healthy":{"summary":"Healthy API","value":{"ok":true,"schemaVersion":"2026-04-17"}}}}}}},"operationId":"getV1Health","summary":"Check that v1 is awake","description":"Returns the versioned readiness response for the public API.\n\n### When to use\n- Use this route when you want a stable v1 health URL in dashboards, previews, and generated clients.\n- Use `/health` when you want the shortest unauthenticated probe.\n\n### Authentication\nThis route is public and does not require a bearer token.\n\n### Response shape\nReturns `ok` plus `schemaVersion` so operators and SDKs can confirm the active public contract.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst health = await client.system.v1Health();\n\nconsole.log(health);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nhealth = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/health\",\n    headers={},\n)\nhealth.raise_for_status()\nhealth = health.json()\nprint(health)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/health\"))\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/health\" \\\n  --request GET"}]}},"/v1/connections":{"get":{"tags":["Connections"],"responses":{"200":{"description":"The Sage companies this account can use.","content":{"application/json":{"schema":{"type":"object","properties":{"objectType":{"type":"string","enum":["list"]},"url":{"type":"string","minLength":1},"data":{"type":"array","items":{"nullable":true}},"nextCursor":{"type":"string","nullable":true},"hasMore":{"type":"boolean"},"remainingCount":{"type":"integer","minimum":0}},"required":["objectType","url","data","nextCursor","hasMore","remainingCount"]},"examples":{"connections":{"summary":"One active connection","value":{"objectType":"list","url":"/v1/connections","data":[{"accountId":"acct_123","connectionId":"conn_123","region":"us","connectorType":"sage50-us","displayName":"Acme Manufacturing - Sage 50 US","status":"connected","lastHeartbeatAt":"2026-04-17T16:00:00.000Z","queueDepth":0,"sdkVersion":"2026.1","appVersion":"1.0.0","machineId":"machine_123","capabilities":["customers:read","items:read","invoices:read","invoices:write"],"credentialVersion":1,"disabled":false,"createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z"}],"nextCursor":null,"hasMore":false,"remainingCount":0}},"emptyList":{"summary":"No active connections yet","value":{"objectType":"list","url":"/v1/connections","data":[],"nextCursor":null,"hasMore":false,"remainingCount":0}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"forbidden":{"summary":"Bearer token cannot access this account","value":{"error":{"message":"Bearer token cannot access this account.","userFacingMessage":"Sign in to the right account and try again.","type":"authorization_error","code":"FORBIDDEN","httpStatusCode":403,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}}},"operationId":"listConnections","summary":"Show connected Sage companies","description":"Lists the Sage companies this account can use right now.\n\n### When to use\n- Call this first when a user needs to choose a Sage company.\n- Cache the returned `connectionId` and send it back as `Sage-Connection-Id` on later Sage resource calls.\n\n### Connection behavior\n- If exactly one active connection exists, many Sage resource calls can omit `Sage-Connection-Id`.\n- If more than one active connection exists, Sage resource calls should send the header explicitly.\n\n### Response shape\nReturns a list wrapper with one normalized connection object per available Sage company.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst connections = await client.connections.list();\n\nconsole.log(connections.data);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nconnections = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/connections\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\"\n    },\n)\nconnections.raise_for_status()\nconnections = connections.json()\nprint(connections[\"data\"])"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/connections\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/connections\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\""}]},"post":{"tags":["Connections"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"connectionId":{"type":"string","minLength":1},"displayName":{"type":"string","minLength":1},"region":{"type":"string","enum":["us","uk"]},"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"capabilities":{"type":"array","items":{"type":"string","enum":["company:read","customers:read","customers:write","customerContacts:read","customerContacts:write","customerAddresses:read","customerAddresses:write","vendors:read","vendors:write","vendorContacts:read","vendorContacts:write","vendorAddresses:read","vendorAddresses:write","items:read","items:write","itemCategories:read","itemCategories:write","itemPrices:read","itemPrices:write","inventoryAdjustments:read","inventoryAdjustments:write","inventoryTransactions:read","inventoryTransactions:write","quotes:read","quotes:write","proposals:read","proposals:write","salesOrders:read","salesOrders:write","salesInvoices:read","salesInvoices:write","salesCreditMemos:read","salesCreditMemos:write","receipts:read","receipts:write","deposits:read","deposits:write","invoices:read","invoices:write","purchaseOrders:read","purchaseOrders:write","purchaseInvoices:read","purchaseInvoices:write","vendorCreditMemos:read","vendorCreditMemos:write","vendorPayments:read","vendorPayments:write","checks:read","checks:write","accounts:read","accounts:write","journalEntries:read","journalEntries:write","departments:read","departments:write","taxCodes:read","taxCodes:write","taxAgencies:read","taxAgencies:write","bankAccounts:read","bankAccounts:write","bankTransactions:read","bankTransactions:write","bankReconciliations:read","bankReconciliations:write","jobs:read","jobs:write","phases:read","phases:write","costCodes:read","costCodes:write","changeOrders:read","changeOrders:write","fixedAssets:read","fixedAssets:write","attachments:read","attachments:write","reports:read","nativeResources:read"]}}},"required":["displayName","region","connectorType"]},"examples":{"sage50Us":{"summary":"Sage 50 US connection","value":{"displayName":"Acme Manufacturing - Sage 50 US","region":"us","connectorType":"sage50-us","capabilities":["customers:read","items:read","invoices:read","invoices:write"]}},"sage50Uk":{"summary":"Sage 50 UK connection","value":{"displayName":"Northwind Ltd - Sage 50 UK","region":"uk","connectorType":"sage50-uk","capabilities":["customers:read","items:read","invoices:read"]}}}}},"required":true,"description":"Tell us which Sage company is being added. The country and Sage edition should match.\n\n### What to send\n- Choose a friendly `displayName` that people can recognize later.\n- Set `region` and `connectorType` to match the installed Sage desktop edition.\n\n### Why this matters\nThis is the only moment where the public API needs to know the Sage country explicitly. After connection setup, the connection id carries that choice forward."},"responses":{"201":{"description":"The new Sage connection and its one-time connector secret.","content":{"application/json":{"schema":{"type":"object","properties":{"connection":{"type":"object","properties":{"accountId":{"type":"string","minLength":1},"connectionId":{"type":"string","minLength":1},"region":{"type":"string","enum":["us","uk"]},"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"displayName":{"type":"string"},"status":{"type":"string","enum":["provisioning","connected","degraded","disconnected","disabled"]},"lastHeartbeatAt":{"type":"string","nullable":true,"format":"date-time"},"queueDepth":{"type":"integer","minimum":0},"sdkVersion":{"type":"string","nullable":true},"appVersion":{"type":"string","nullable":true},"machineId":{"type":"string","nullable":true},"capabilities":{"type":"array","items":{"type":"string","enum":["company:read","customers:read","customers:write","customerContacts:read","customerContacts:write","customerAddresses:read","customerAddresses:write","vendors:read","vendors:write","vendorContacts:read","vendorContacts:write","vendorAddresses:read","vendorAddresses:write","items:read","items:write","itemCategories:read","itemCategories:write","itemPrices:read","itemPrices:write","inventoryAdjustments:read","inventoryAdjustments:write","inventoryTransactions:read","inventoryTransactions:write","quotes:read","quotes:write","proposals:read","proposals:write","salesOrders:read","salesOrders:write","salesInvoices:read","salesInvoices:write","salesCreditMemos:read","salesCreditMemos:write","receipts:read","receipts:write","deposits:read","deposits:write","invoices:read","invoices:write","purchaseOrders:read","purchaseOrders:write","purchaseInvoices:read","purchaseInvoices:write","vendorCreditMemos:read","vendorCreditMemos:write","vendorPayments:read","vendorPayments:write","checks:read","checks:write","accounts:read","accounts:write","journalEntries:read","journalEntries:write","departments:read","departments:write","taxCodes:read","taxCodes:write","taxAgencies:read","taxAgencies:write","bankAccounts:read","bankAccounts:write","bankTransactions:read","bankTransactions:write","bankReconciliations:read","bankReconciliations:write","jobs:read","jobs:write","phases:read","phases:write","costCodes:read","costCodes:write","changeOrders:read","changeOrders:write","fixedAssets:read","fixedAssets:write","attachments:read","attachments:write","reports:read","nativeResources:read"]}},"credentialVersion":{"type":"integer","minimum":0},"disabled":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["accountId","connectionId","region","connectorType","displayName","status","lastHeartbeatAt","queueDepth","sdkVersion","appVersion","machineId","capabilities","credentialVersion","disabled","createdAt","updatedAt"]},"connectorToken":{"type":"string","minLength":1}},"required":["connection","connectorToken"]},"examples":{"created":{"summary":"Created connection","value":{"connection":{"accountId":"acct_123","connectionId":"conn_123","region":"us","connectorType":"sage50-us","displayName":"Acme Manufacturing - Sage 50 US","status":"connected","lastHeartbeatAt":"2026-04-17T16:00:00.000Z","queueDepth":0,"sdkVersion":"2026.1","appVersion":"1.0.0","machineId":"machine_123","capabilities":["customers:read","items:read","invoices:read","invoices:write"],"credentialVersion":1,"disabled":false,"createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z"},"connectorToken":"ctok_live_123"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"badRequest":{"summary":"Invalid request","value":{"error":{"message":"The request could not be processed.","userFacingMessage":"Check the request and try again.","type":"validation_error","code":"BAD_REQUEST","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"forbidden":{"summary":"Bearer token cannot access this account","value":{"error":{"message":"Bearer token cannot access this account.","userFacingMessage":"Sign in to the right account and try again.","type":"authorization_error","code":"FORBIDDEN","httpStatusCode":403,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}}},"operationId":"createConnection","summary":"Add a Sage company","description":"Creates a new Sage connection registration and returns the one-time secret that the desktop connector installs locally.\n\n### When to use\n- Create a connection when onboarding a new Sage company.\n- Use the returned `connectorToken` once during desktop connector setup.\n\n### Country behavior\nSet `region` and `connectorType` to match the installed Sage 50 edition. The public API stays country-neutral after the connection is created.\n\n### Response shape\nReturns the normalized connection plus the one-time connector token. Store the connection metadata; treat the token like a secret.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst connection = await client.connections.create({\n  displayName: \"Acme Manufacturing - Sage 50 US\",\n  region: \"us\",\n  connectorType: \"sage50-us\",\n  capabilities: [\"customers:read\", \"items:read\", \"invoices:read\", \"invoices:write\"],\n});\n\nconsole.log(connection.connectorToken);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nconnection = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/connections\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\"\n    },\n    json={\n        \"displayName\": \"Acme Manufacturing - Sage 50 US\",\n        \"region\": \"us\",\n        \"connectorType\": \"sage50-us\",\n        \"capabilities\": [\n            \"customers:read\",\n            \"items:read\",\n            \"invoices:read\",\n            \"invoices:write\"\n        ]\n    },\n)\nconnection.raise_for_status()\nconnection = connection.json()\nprint(connection)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/connections\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Content-Type\", \"application/json\")\n    .POST(HttpRequest.BodyPublishers.ofString(\"{\\n  \\\"displayName\\\": \\\"Acme Manufacturing - Sage 50 US\\\",\\n  \\\"region\\\": \\\"us\\\",\\n  \\\"connectorType\\\": \\\"sage50-us\\\",\\n  \\\"capabilities\\\": [\\n    \\\"customers:read\\\",\\n    \\\"items:read\\\",\\n    \\\"invoices:read\\\",\\n    \\\"invoices:write\\\"\\n  ]\\n}\"));\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/connections\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n  \"displayName\": \"Acme Manufacturing - Sage 50 US\",\n  \"region\": \"us\",\n  \"connectorType\": \"sage50-us\",\n  \"capabilities\": [\n    \"customers:read\",\n    \"items:read\",\n    \"invoices:read\",\n    \"invoices:write\"\n  ]\n}'"}]}},"/v1/connection-pairings":{"post":{"tags":["Connections"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"connectionId":{"type":"string","minLength":1},"displayName":{"type":"string","minLength":1},"region":{"type":"string","enum":["us","uk"]},"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"capabilities":{"type":"array","items":{"type":"string","enum":["company:read","customers:read","customers:write","customerContacts:read","customerContacts:write","customerAddresses:read","customerAddresses:write","vendors:read","vendors:write","vendorContacts:read","vendorContacts:write","vendorAddresses:read","vendorAddresses:write","items:read","items:write","itemCategories:read","itemCategories:write","itemPrices:read","itemPrices:write","inventoryAdjustments:read","inventoryAdjustments:write","inventoryTransactions:read","inventoryTransactions:write","quotes:read","quotes:write","proposals:read","proposals:write","salesOrders:read","salesOrders:write","salesInvoices:read","salesInvoices:write","salesCreditMemos:read","salesCreditMemos:write","receipts:read","receipts:write","deposits:read","deposits:write","invoices:read","invoices:write","purchaseOrders:read","purchaseOrders:write","purchaseInvoices:read","purchaseInvoices:write","vendorCreditMemos:read","vendorCreditMemos:write","vendorPayments:read","vendorPayments:write","checks:read","checks:write","accounts:read","accounts:write","journalEntries:read","journalEntries:write","departments:read","departments:write","taxCodes:read","taxCodes:write","taxAgencies:read","taxAgencies:write","bankAccounts:read","bankAccounts:write","bankTransactions:read","bankTransactions:write","bankReconciliations:read","bankReconciliations:write","jobs:read","jobs:write","phases:read","phases:write","costCodes:read","costCodes:write","changeOrders:read","changeOrders:write","fixedAssets:read","fixedAssets:write","attachments:read","attachments:write","reports:read","nativeResources:read"]}}},"required":["displayName","region","connectorType"]},"examples":{"sage50Us":{"summary":"Sage 50 US pairing","value":{"displayName":"Acme Manufacturing - Sage 50 US","region":"us","connectorType":"sage50-us","capabilities":["customers:read","items:read","invoices:read","invoices:write"]}},"sage50Uk":{"summary":"Sage 50 UK pairing","value":{"displayName":"Northwind Ltd - Sage 50 UK","region":"uk","connectorType":"sage50-uk","capabilities":["customers:read","items:read","invoices:read"]}}}}},"required":true,"description":"Tell us which Sage company the installed connector should pair with.\n\n### What to send\n- Choose a friendly `displayName` that people can confirm during setup.\n- Set `region` and `connectorType` to match the connector edition being installed.\n\n### What happens next\nThe response contains a one-time `pairingCode`. The connector claims that code, then your app confirms the pairing."},"responses":{"201":{"description":"The pairing plus the one-time code shown during connector setup.","content":{"application/json":{"schema":{"type":"object","properties":{"pairing":{"type":"object","properties":{"accountId":{"type":"string","minLength":1},"pairingId":{"type":"string","minLength":1},"connectionId":{"type":"string","nullable":true,"minLength":1},"displayName":{"type":"string","minLength":1},"region":{"type":"string","enum":["us","uk"]},"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"status":{"type":"string","enum":["pending","claimed","confirmed","canceled","expired"]},"connector":{"type":"object","nullable":true,"properties":{"machineId":{"type":"string","nullable":true,"minLength":1},"appVersion":{"type":"string","nullable":true,"minLength":1},"sdkVersion":{"type":"string","nullable":true,"minLength":1},"capabilities":{"type":"array","items":{"type":"string","enum":["company:read","customers:read","customers:write","customerContacts:read","customerContacts:write","customerAddresses:read","customerAddresses:write","vendors:read","vendors:write","vendorContacts:read","vendorContacts:write","vendorAddresses:read","vendorAddresses:write","items:read","items:write","itemCategories:read","itemCategories:write","itemPrices:read","itemPrices:write","inventoryAdjustments:read","inventoryAdjustments:write","inventoryTransactions:read","inventoryTransactions:write","quotes:read","quotes:write","proposals:read","proposals:write","salesOrders:read","salesOrders:write","salesInvoices:read","salesInvoices:write","salesCreditMemos:read","salesCreditMemos:write","receipts:read","receipts:write","deposits:read","deposits:write","invoices:read","invoices:write","purchaseOrders:read","purchaseOrders:write","purchaseInvoices:read","purchaseInvoices:write","vendorCreditMemos:read","vendorCreditMemos:write","vendorPayments:read","vendorPayments:write","checks:read","checks:write","accounts:read","accounts:write","journalEntries:read","journalEntries:write","departments:read","departments:write","taxCodes:read","taxCodes:write","taxAgencies:read","taxAgencies:write","bankAccounts:read","bankAccounts:write","bankTransactions:read","bankTransactions:write","bankReconciliations:read","bankReconciliations:write","jobs:read","jobs:write","phases:read","phases:write","costCodes:read","costCodes:write","changeOrders:read","changeOrders:write","fixedAssets:read","fixedAssets:write","attachments:read","attachments:write","reports:read","nativeResources:read"]}}},"required":["machineId","appVersion","sdkVersion","capabilities"]},"expiresAt":{"type":"string","format":"date-time"},"claimedAt":{"type":"string","nullable":true,"format":"date-time"},"confirmedAt":{"type":"string","nullable":true,"format":"date-time"},"canceledAt":{"type":"string","nullable":true,"format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["accountId","pairingId","connectionId","displayName","region","connectorType","status","connector","expiresAt","claimedAt","confirmedAt","canceledAt","createdAt","updatedAt"]},"pairingCode":{"type":"string","minLength":8,"maxLength":64},"expiresAt":{"type":"string","format":"date-time"}},"required":["pairing","pairingCode","expiresAt"]},"examples":{"created":{"summary":"Pairing code created","value":{"pairing":{"accountId":"acct_123","pairingId":"pair_123","connectionId":null,"displayName":"Acme Manufacturing - Sage 50 US","region":"us","connectorType":"sage50-us","status":"pending","connector":null,"expiresAt":"2026-04-17T15:15:00.000Z","claimedAt":null,"confirmedAt":null,"canceledAt":null,"createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T15:00:00.000Z"},"pairingCode":"ABCD-EFGH-JKLM","expiresAt":"2026-04-17T15:15:00.000Z"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"badRequest":{"summary":"Invalid request","value":{"error":{"message":"The request could not be processed.","userFacingMessage":"Check the request and try again.","type":"validation_error","code":"BAD_REQUEST","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"forbidden":{"summary":"Bearer token cannot access this account","value":{"error":{"message":"Bearer token cannot access this account.","userFacingMessage":"Sign in to the right account and try again.","type":"authorization_error","code":"FORBIDDEN","httpStatusCode":403,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}}},"operationId":"createConnectionPairing","summary":"Start connector pairing","description":"Starts a secure connector pairing with a short-lived one-time code.\n\n### When to use\n- Use this during customer onboarding before the desktop connector has credentials.\n- Show `pairingCode` to the person installing the connector app.\n\n### Security behavior\n- The code expires after a short window and is never returned again by status endpoints.\n- The connector token is not returned to your app; after confirmation the connector retrieves it once.\n\n### Response shape\nReturns the pairing status plus the one-time code to display in your setup flow.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst pairing = await client.connectionPairings.create({\n  displayName: \"Acme Manufacturing - Sage 50 US\",\n  region: \"us\",\n  connectorType: \"sage50-us\",\n  capabilities: [\"customers:read\", \"items:read\", \"invoices:read\", \"invoices:write\"],\n});\n\nconsole.log(pairing.pairingCode);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\npairing = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/connection-pairings\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\"\n    },\n    json={\n        \"displayName\": \"Acme Manufacturing - Sage 50 US\",\n        \"region\": \"us\",\n        \"connectorType\": \"sage50-us\",\n        \"capabilities\": [\n            \"customers:read\",\n            \"items:read\",\n            \"invoices:read\",\n            \"invoices:write\"\n        ]\n    },\n)\npairing.raise_for_status()\npairing = pairing.json()\nprint(pairing[\"pairingCode\"])"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/connection-pairings\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Content-Type\", \"application/json\")\n    .POST(HttpRequest.BodyPublishers.ofString(\"{\\n  \\\"displayName\\\": \\\"Acme Manufacturing - Sage 50 US\\\",\\n  \\\"region\\\": \\\"us\\\",\\n  \\\"connectorType\\\": \\\"sage50-us\\\",\\n  \\\"capabilities\\\": [\\n    \\\"customers:read\\\",\\n    \\\"items:read\\\",\\n    \\\"invoices:read\\\",\\n    \\\"invoices:write\\\"\\n  ]\\n}\"));\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/connection-pairings\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n  \"displayName\": \"Acme Manufacturing - Sage 50 US\",\n  \"region\": \"us\",\n  \"connectorType\": \"sage50-us\",\n  \"capabilities\": [\n    \"customers:read\",\n    \"items:read\",\n    \"invoices:read\",\n    \"invoices:write\"\n  ]\n}'"}]}},"/v1/connection-pairings/{pairingId}":{"get":{"tags":["Connections"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"pair_123"},"required":true,"name":"pairingId","in":"path"}],"responses":{"200":{"description":"The current pairing state.","content":{"application/json":{"schema":{"type":"object","properties":{"accountId":{"type":"string","minLength":1},"pairingId":{"type":"string","minLength":1},"connectionId":{"type":"string","nullable":true,"minLength":1},"displayName":{"type":"string","minLength":1},"region":{"type":"string","enum":["us","uk"]},"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"status":{"type":"string","enum":["pending","claimed","confirmed","canceled","expired"]},"connector":{"type":"object","nullable":true,"properties":{"machineId":{"type":"string","nullable":true,"minLength":1},"appVersion":{"type":"string","nullable":true,"minLength":1},"sdkVersion":{"type":"string","nullable":true,"minLength":1},"capabilities":{"type":"array","items":{"type":"string","enum":["company:read","customers:read","customers:write","customerContacts:read","customerContacts:write","customerAddresses:read","customerAddresses:write","vendors:read","vendors:write","vendorContacts:read","vendorContacts:write","vendorAddresses:read","vendorAddresses:write","items:read","items:write","itemCategories:read","itemCategories:write","itemPrices:read","itemPrices:write","inventoryAdjustments:read","inventoryAdjustments:write","inventoryTransactions:read","inventoryTransactions:write","quotes:read","quotes:write","proposals:read","proposals:write","salesOrders:read","salesOrders:write","salesInvoices:read","salesInvoices:write","salesCreditMemos:read","salesCreditMemos:write","receipts:read","receipts:write","deposits:read","deposits:write","invoices:read","invoices:write","purchaseOrders:read","purchaseOrders:write","purchaseInvoices:read","purchaseInvoices:write","vendorCreditMemos:read","vendorCreditMemos:write","vendorPayments:read","vendorPayments:write","checks:read","checks:write","accounts:read","accounts:write","journalEntries:read","journalEntries:write","departments:read","departments:write","taxCodes:read","taxCodes:write","taxAgencies:read","taxAgencies:write","bankAccounts:read","bankAccounts:write","bankTransactions:read","bankTransactions:write","bankReconciliations:read","bankReconciliations:write","jobs:read","jobs:write","phases:read","phases:write","costCodes:read","costCodes:write","changeOrders:read","changeOrders:write","fixedAssets:read","fixedAssets:write","attachments:read","attachments:write","reports:read","nativeResources:read"]}}},"required":["machineId","appVersion","sdkVersion","capabilities"]},"expiresAt":{"type":"string","format":"date-time"},"claimedAt":{"type":"string","nullable":true,"format":"date-time"},"confirmedAt":{"type":"string","nullable":true,"format":"date-time"},"canceledAt":{"type":"string","nullable":true,"format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["accountId","pairingId","connectionId","displayName","region","connectorType","status","connector","expiresAt","claimedAt","confirmedAt","canceledAt","createdAt","updatedAt"]},"examples":{"pending":{"summary":"Waiting for connector","value":{"accountId":"acct_123","pairingId":"pair_123","connectionId":null,"displayName":"Acme Manufacturing - Sage 50 US","region":"us","connectorType":"sage50-us","status":"pending","connector":null,"expiresAt":"2026-04-17T15:15:00.000Z","claimedAt":null,"confirmedAt":null,"canceledAt":null,"createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T15:00:00.000Z"}},"claimed":{"summary":"Connector claimed code","value":{"accountId":"acct_123","pairingId":"pair_123","connectionId":null,"displayName":"Acme Manufacturing - Sage 50 US","region":"us","connectorType":"sage50-us","status":"claimed","connector":{"machineId":"machine_123","appVersion":"1.0.0","sdkVersion":"2026.1","capabilities":["customers:read","items:read","invoices:read","invoices:write"]},"expiresAt":"2026-04-17T15:15:00.000Z","claimedAt":"2026-04-17T15:04:00.000Z","confirmedAt":null,"canceledAt":null,"createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T15:04:00.000Z"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"forbidden":{"summary":"Bearer token cannot access this account","value":{"error":{"message":"Bearer token cannot access this account.","userFacingMessage":"Sign in to the right account and try again.","type":"authorization_error","code":"FORBIDDEN","httpStatusCode":403,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"notFound":{"summary":"Resource not found","value":{"error":{"message":"The requested request could not be found in Sage.","userFacingMessage":"Choose an existing request and try again.","type":"not_found_error","code":"NOT_FOUND","httpStatusCode":404,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}}},"operationId":"getConnectionPairing","summary":"Check connector pairing","description":"Checks where a connector pairing is in the setup lifecycle.\n\n### When to use\n- Poll this from your setup UI after creating a pairing code.\n- Move to confirmation when the status becomes `claimed`.\n\n### Security behavior\nThis route never returns the pairing code, connector claim id, or connector token.\n\n### Response shape\nReturns `pending`, `claimed`, `confirmed`, `canceled`, or `expired` plus connector metadata when a connector has claimed the code.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst pairing = await client.connectionPairings.get({\n  pairingId: \"pair_123\",\n});\n\nconsole.log(pairing.status);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\npairing = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/connection-pairings/pair_123\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\"\n    },\n)\npairing.raise_for_status()\npairing = pairing.json()\nprint(pairing[\"status\"])"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/connection-pairings/pair_123\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/connection-pairings/pair_123\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\""}]}},"/v1/connection-pairings/{pairingId}/confirm":{"post":{"tags":["Connections"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"pair_123"},"required":true,"name":"pairingId","in":"path"}],"responses":{"202":{"description":"The confirmed pairing and new Sage connection.","content":{"application/json":{"schema":{"type":"object","properties":{"pairing":{"type":"object","properties":{"accountId":{"type":"string","minLength":1},"pairingId":{"type":"string","minLength":1},"connectionId":{"type":"string","nullable":true,"minLength":1},"displayName":{"type":"string","minLength":1},"region":{"type":"string","enum":["us","uk"]},"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"status":{"type":"string","enum":["pending","claimed","confirmed","canceled","expired"]},"connector":{"type":"object","nullable":true,"properties":{"machineId":{"type":"string","nullable":true,"minLength":1},"appVersion":{"type":"string","nullable":true,"minLength":1},"sdkVersion":{"type":"string","nullable":true,"minLength":1},"capabilities":{"type":"array","items":{"type":"string","enum":["company:read","customers:read","customers:write","customerContacts:read","customerContacts:write","customerAddresses:read","customerAddresses:write","vendors:read","vendors:write","vendorContacts:read","vendorContacts:write","vendorAddresses:read","vendorAddresses:write","items:read","items:write","itemCategories:read","itemCategories:write","itemPrices:read","itemPrices:write","inventoryAdjustments:read","inventoryAdjustments:write","inventoryTransactions:read","inventoryTransactions:write","quotes:read","quotes:write","proposals:read","proposals:write","salesOrders:read","salesOrders:write","salesInvoices:read","salesInvoices:write","salesCreditMemos:read","salesCreditMemos:write","receipts:read","receipts:write","deposits:read","deposits:write","invoices:read","invoices:write","purchaseOrders:read","purchaseOrders:write","purchaseInvoices:read","purchaseInvoices:write","vendorCreditMemos:read","vendorCreditMemos:write","vendorPayments:read","vendorPayments:write","checks:read","checks:write","accounts:read","accounts:write","journalEntries:read","journalEntries:write","departments:read","departments:write","taxCodes:read","taxCodes:write","taxAgencies:read","taxAgencies:write","bankAccounts:read","bankAccounts:write","bankTransactions:read","bankTransactions:write","bankReconciliations:read","bankReconciliations:write","jobs:read","jobs:write","phases:read","phases:write","costCodes:read","costCodes:write","changeOrders:read","changeOrders:write","fixedAssets:read","fixedAssets:write","attachments:read","attachments:write","reports:read","nativeResources:read"]}}},"required":["machineId","appVersion","sdkVersion","capabilities"]},"expiresAt":{"type":"string","format":"date-time"},"claimedAt":{"type":"string","nullable":true,"format":"date-time"},"confirmedAt":{"type":"string","nullable":true,"format":"date-time"},"canceledAt":{"type":"string","nullable":true,"format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["accountId","pairingId","connectionId","displayName","region","connectorType","status","connector","expiresAt","claimedAt","confirmedAt","canceledAt","createdAt","updatedAt"]},"connection":{"type":"object","properties":{"accountId":{"type":"string","minLength":1},"connectionId":{"type":"string","minLength":1},"region":{"type":"string","enum":["us","uk"]},"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"displayName":{"type":"string"},"status":{"type":"string","enum":["provisioning","connected","degraded","disconnected","disabled"]},"lastHeartbeatAt":{"type":"string","nullable":true,"format":"date-time"},"queueDepth":{"type":"integer","minimum":0},"sdkVersion":{"type":"string","nullable":true},"appVersion":{"type":"string","nullable":true},"machineId":{"type":"string","nullable":true},"capabilities":{"type":"array","items":{"type":"string","enum":["company:read","customers:read","customers:write","customerContacts:read","customerContacts:write","customerAddresses:read","customerAddresses:write","vendors:read","vendors:write","vendorContacts:read","vendorContacts:write","vendorAddresses:read","vendorAddresses:write","items:read","items:write","itemCategories:read","itemCategories:write","itemPrices:read","itemPrices:write","inventoryAdjustments:read","inventoryAdjustments:write","inventoryTransactions:read","inventoryTransactions:write","quotes:read","quotes:write","proposals:read","proposals:write","salesOrders:read","salesOrders:write","salesInvoices:read","salesInvoices:write","salesCreditMemos:read","salesCreditMemos:write","receipts:read","receipts:write","deposits:read","deposits:write","invoices:read","invoices:write","purchaseOrders:read","purchaseOrders:write","purchaseInvoices:read","purchaseInvoices:write","vendorCreditMemos:read","vendorCreditMemos:write","vendorPayments:read","vendorPayments:write","checks:read","checks:write","accounts:read","accounts:write","journalEntries:read","journalEntries:write","departments:read","departments:write","taxCodes:read","taxCodes:write","taxAgencies:read","taxAgencies:write","bankAccounts:read","bankAccounts:write","bankTransactions:read","bankTransactions:write","bankReconciliations:read","bankReconciliations:write","jobs:read","jobs:write","phases:read","phases:write","costCodes:read","costCodes:write","changeOrders:read","changeOrders:write","fixedAssets:read","fixedAssets:write","attachments:read","attachments:write","reports:read","nativeResources:read"]}},"credentialVersion":{"type":"integer","minimum":0},"disabled":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["accountId","connectionId","region","connectorType","displayName","status","lastHeartbeatAt","queueDepth","sdkVersion","appVersion","machineId","capabilities","credentialVersion","disabled","createdAt","updatedAt"]}},"required":["pairing","connection"]},"examples":{"confirmed":{"summary":"Confirmed pairing","value":{"pairing":{"accountId":"acct_123","pairingId":"pair_123","connectionId":"conn_123","displayName":"Acme Manufacturing - Sage 50 US","region":"us","connectorType":"sage50-us","status":"confirmed","connector":{"machineId":"machine_123","appVersion":"1.0.0","sdkVersion":"2026.1","capabilities":["customers:read","items:read","invoices:read","invoices:write"]},"expiresAt":"2026-04-17T15:15:00.000Z","claimedAt":"2026-04-17T15:04:00.000Z","confirmedAt":"2026-04-17T15:05:00.000Z","canceledAt":null,"createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T15:05:00.000Z"},"connection":{"accountId":"acct_123","connectionId":"conn_123","region":"us","connectorType":"sage50-us","displayName":"Acme Manufacturing - Sage 50 US","status":"connected","lastHeartbeatAt":"2026-04-17T16:00:00.000Z","queueDepth":0,"sdkVersion":"2026.1","appVersion":"1.0.0","machineId":"machine_123","capabilities":["customers:read","items:read","invoices:read","invoices:write"],"credentialVersion":1,"disabled":false,"createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z"}}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"forbidden":{"summary":"Bearer token cannot access this account","value":{"error":{"message":"Bearer token cannot access this account.","userFacingMessage":"Sign in to the right account and try again.","type":"authorization_error","code":"FORBIDDEN","httpStatusCode":403,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"notFound":{"summary":"Resource not found","value":{"error":{"message":"The requested request could not be found in Sage.","userFacingMessage":"Choose an existing request and try again.","type":"not_found_error","code":"NOT_FOUND","httpStatusCode":404,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"410":{"description":"Expired","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"pairingExpired":{"summary":"Pairing expired","value":{"error":{"message":"Pairing code expired","userFacingMessage":"Start connector setup again to get a new code.","type":"request_error","code":"PAIRING_EXPIRED","httpStatusCode":410,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}}},"operationId":"confirmConnectionPairing","summary":"Confirm connector pairing","description":"Confirms that the claimed desktop connector should become an active Sage connection.\n\n### When to use\n- Call this after your setup UI shows the claimed connector details to the user.\n- The backend creates the connection and prepares the connector token for one-time delivery to the connector.\n\n### Security behavior\n- Confirmation requires the pairing to be claimed first.\n- Your app receives the connection object, not the connector token.\n\n### Response shape\nReturns the confirmed pairing and the new normalized connection.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst confirmed = await client.connectionPairings.confirm({\n  pairingId: \"pair_123\",\n});\n\nconsole.log(confirmed.connection.connectionId);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nconfirmed = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/connection-pairings/pair_123/confirm\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\"\n    },\n)\nconfirmed.raise_for_status()\nconfirmed = confirmed.json()\nprint(confirmed[\"connection\"][\"connectionId\"])"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/connection-pairings/pair_123/confirm\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .method(\"POST\", HttpRequest.BodyPublishers.noBody());\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/connection-pairings/pair_123/confirm\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\""}]}},"/v1/connection-pairings/{pairingId}/cancel":{"post":{"tags":["Connections"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"pair_123"},"required":true,"name":"pairingId","in":"path"}],"responses":{"202":{"description":"The canceled pairing.","content":{"application/json":{"schema":{"type":"object","properties":{"pairing":{"type":"object","properties":{"accountId":{"type":"string","minLength":1},"pairingId":{"type":"string","minLength":1},"connectionId":{"type":"string","nullable":true,"minLength":1},"displayName":{"type":"string","minLength":1},"region":{"type":"string","enum":["us","uk"]},"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"status":{"type":"string","enum":["pending","claimed","confirmed","canceled","expired"]},"connector":{"type":"object","nullable":true,"properties":{"machineId":{"type":"string","nullable":true,"minLength":1},"appVersion":{"type":"string","nullable":true,"minLength":1},"sdkVersion":{"type":"string","nullable":true,"minLength":1},"capabilities":{"type":"array","items":{"type":"string","enum":["company:read","customers:read","customers:write","customerContacts:read","customerContacts:write","customerAddresses:read","customerAddresses:write","vendors:read","vendors:write","vendorContacts:read","vendorContacts:write","vendorAddresses:read","vendorAddresses:write","items:read","items:write","itemCategories:read","itemCategories:write","itemPrices:read","itemPrices:write","inventoryAdjustments:read","inventoryAdjustments:write","inventoryTransactions:read","inventoryTransactions:write","quotes:read","quotes:write","proposals:read","proposals:write","salesOrders:read","salesOrders:write","salesInvoices:read","salesInvoices:write","salesCreditMemos:read","salesCreditMemos:write","receipts:read","receipts:write","deposits:read","deposits:write","invoices:read","invoices:write","purchaseOrders:read","purchaseOrders:write","purchaseInvoices:read","purchaseInvoices:write","vendorCreditMemos:read","vendorCreditMemos:write","vendorPayments:read","vendorPayments:write","checks:read","checks:write","accounts:read","accounts:write","journalEntries:read","journalEntries:write","departments:read","departments:write","taxCodes:read","taxCodes:write","taxAgencies:read","taxAgencies:write","bankAccounts:read","bankAccounts:write","bankTransactions:read","bankTransactions:write","bankReconciliations:read","bankReconciliations:write","jobs:read","jobs:write","phases:read","phases:write","costCodes:read","costCodes:write","changeOrders:read","changeOrders:write","fixedAssets:read","fixedAssets:write","attachments:read","attachments:write","reports:read","nativeResources:read"]}}},"required":["machineId","appVersion","sdkVersion","capabilities"]},"expiresAt":{"type":"string","format":"date-time"},"claimedAt":{"type":"string","nullable":true,"format":"date-time"},"confirmedAt":{"type":"string","nullable":true,"format":"date-time"},"canceledAt":{"type":"string","nullable":true,"format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["accountId","pairingId","connectionId","displayName","region","connectorType","status","connector","expiresAt","claimedAt","confirmedAt","canceledAt","createdAt","updatedAt"]}},"required":["pairing"]},"examples":{"canceled":{"summary":"Canceled pairing","value":{"pairing":{"accountId":"acct_123","pairingId":"pair_123","connectionId":null,"displayName":"Acme Manufacturing - Sage 50 US","region":"us","connectorType":"sage50-us","status":"canceled","connector":null,"expiresAt":"2026-04-17T15:15:00.000Z","claimedAt":null,"confirmedAt":null,"canceledAt":"2026-04-17T15:03:00.000Z","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T15:03:00.000Z"}}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"forbidden":{"summary":"Bearer token cannot access this account","value":{"error":{"message":"Bearer token cannot access this account.","userFacingMessage":"Sign in to the right account and try again.","type":"authorization_error","code":"FORBIDDEN","httpStatusCode":403,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"notFound":{"summary":"Resource not found","value":{"error":{"message":"The requested request could not be found in Sage.","userFacingMessage":"Choose an existing request and try again.","type":"not_found_error","code":"NOT_FOUND","httpStatusCode":404,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}}},"operationId":"cancelConnectionPairing","summary":"Cancel connector pairing","description":"Stops a connector pairing before it becomes a connection.\n\n### When to use\n- Cancel when the user closes setup, sees an unexpected connector, or starts over.\n- Use the connection disable route after a pairing has already been confirmed.\n\n### Security behavior\nA canceled code cannot be claimed or confirmed later.\n\n### Response shape\nReturns the pairing with status `canceled`.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst canceled = await client.connectionPairings.cancel({\n  pairingId: \"pair_123\",\n});\n\nconsole.log(canceled.pairing.status);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\ncanceled = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/connection-pairings/pair_123/cancel\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\"\n    },\n)\ncanceled.raise_for_status()\ncanceled = canceled.json()\nprint(canceled[\"pairing\"][\"status\"])"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/connection-pairings/pair_123/cancel\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .method(\"POST\", HttpRequest.BodyPublishers.noBody());\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/connection-pairings/pair_123/cancel\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\""}]}},"/v1/connection-events":{"get":{"tags":["Connections"],"responses":{"200":{"description":"A live stream of Sage connection changes.","content":{"text/event-stream":{"schema":{"type":"object","properties":{"type":{"type":"string","enum":["connection.provisioned","connection.updated","connection.disabled","connection.credentials-rotated"]},"occurredAt":{"type":"string","format":"date-time"},"connection":{"type":"object","properties":{"accountId":{"type":"string","minLength":1},"connectionId":{"type":"string","minLength":1},"region":{"type":"string","enum":["us","uk"]},"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"displayName":{"type":"string"},"status":{"type":"string","enum":["provisioning","connected","degraded","disconnected","disabled"]},"lastHeartbeatAt":{"type":"string","nullable":true,"format":"date-time"},"queueDepth":{"type":"integer","minimum":0},"sdkVersion":{"type":"string","nullable":true},"appVersion":{"type":"string","nullable":true},"machineId":{"type":"string","nullable":true},"capabilities":{"type":"array","items":{"type":"string","enum":["company:read","customers:read","customers:write","customerContacts:read","customerContacts:write","customerAddresses:read","customerAddresses:write","vendors:read","vendors:write","vendorContacts:read","vendorContacts:write","vendorAddresses:read","vendorAddresses:write","items:read","items:write","itemCategories:read","itemCategories:write","itemPrices:read","itemPrices:write","inventoryAdjustments:read","inventoryAdjustments:write","inventoryTransactions:read","inventoryTransactions:write","quotes:read","quotes:write","proposals:read","proposals:write","salesOrders:read","salesOrders:write","salesInvoices:read","salesInvoices:write","salesCreditMemos:read","salesCreditMemos:write","receipts:read","receipts:write","deposits:read","deposits:write","invoices:read","invoices:write","purchaseOrders:read","purchaseOrders:write","purchaseInvoices:read","purchaseInvoices:write","vendorCreditMemos:read","vendorCreditMemos:write","vendorPayments:read","vendorPayments:write","checks:read","checks:write","accounts:read","accounts:write","journalEntries:read","journalEntries:write","departments:read","departments:write","taxCodes:read","taxCodes:write","taxAgencies:read","taxAgencies:write","bankAccounts:read","bankAccounts:write","bankTransactions:read","bankTransactions:write","bankReconciliations:read","bankReconciliations:write","jobs:read","jobs:write","phases:read","phases:write","costCodes:read","costCodes:write","changeOrders:read","changeOrders:write","fixedAssets:read","fixedAssets:write","attachments:read","attachments:write","reports:read","nativeResources:read"]}},"credentialVersion":{"type":"integer","minimum":0},"disabled":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["accountId","connectionId","region","connectorType","displayName","status","lastHeartbeatAt","queueDepth","sdkVersion","appVersion","machineId","capabilities","credentialVersion","disabled","createdAt","updatedAt"]},"message":{"type":"string"}},"required":["type","occurredAt","connection"]},"examples":{"connectionUpdated":{"summary":"Connection updated event","value":{"type":"connection.updated","occurredAt":"2026-04-17T16:00:00.000Z","connection":{"accountId":"acct_123","connectionId":"conn_123","region":"us","connectorType":"sage50-us","displayName":"Acme Manufacturing - Sage 50 US","status":"connected","lastHeartbeatAt":"2026-04-17T16:00:00.000Z","queueDepth":0,"sdkVersion":"2026.1","appVersion":"1.0.0","machineId":"machine_123","capabilities":["customers:read","items:read","invoices:read","invoices:write"],"credentialVersion":1,"disabled":false,"createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z"},"message":"Connector ready"}},"credentialsRotated":{"summary":"Credentials rotated event","value":{"type":"connection.credentials-rotated","occurredAt":"2026-04-17T16:05:00.000Z","connection":{"accountId":"acct_123","connectionId":"conn_123","region":"us","connectorType":"sage50-us","displayName":"Acme Manufacturing - Sage 50 US","status":"connected","lastHeartbeatAt":"2026-04-17T16:00:00.000Z","queueDepth":0,"sdkVersion":"2026.1","appVersion":"1.0.0","machineId":"machine_123","capabilities":["customers:read","items:read","invoices:read","invoices:write"],"credentialVersion":2,"disabled":false,"createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:05:00.000Z"},"message":"Connector secret rotated"}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"forbidden":{"summary":"Bearer token cannot access this account","value":{"error":{"message":"Bearer token cannot access this account.","userFacingMessage":"Sign in to the right account and try again.","type":"authorization_error","code":"FORBIDDEN","httpStatusCode":403,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}}},"operationId":"streamConnectionEvents","summary":"Watch Sage connection status","description":"Streams live connection state changes as Server-Sent Events so your app can react when a Sage company comes online, goes offline, or rotates credentials.\n\n### When to use\n- Use this for dashboards, setup flows, and admin surfaces that need live connection state.\n- Use polling only when your runtime cannot keep an SSE stream open.\n\n### Transport\n- This route returns `text/event-stream`.\n- Each event carries the normalized connection payload plus an event `type` and `occurredAt` timestamp.\n\n### Authentication\nThis route requires the same bearer token as the rest of the account-scoped public API.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst response = await client.connections.streamEvents();\nconst reader = response.body?.getReader();\nif (!reader) {\n  throw new Error(\"Connection event stream body is unavailable.\");\n}\n\nconst decoder = new TextDecoder();\nwhile (true) {\n  const { done, value } = await reader.read();\n  if (done) break;\n  console.log(decoder.decode(value, { stream: true }));\n}"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nwith requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/connection-events\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\"\n    },\n    stream=True,\n) as response:\n    response.raise_for_status()\n    for line in response.iter_lines(decode_unicode=True):\n        if line:\n            print(line)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/connection-events\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofLines());\nresponse.body().forEach(System.out::println);"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/connection-events\" \\\n  --no-buffer \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\""}]}},"/v1/sage-50/capabilities":{"get":{"tags":["Capabilities"],"responses":{"200":{"description":"The Sage 50 menu for the selected connection.","content":{"application/json":{"schema":{"type":"object","properties":{"objectType":{"type":"string","enum":["sage50_capabilities"]},"schemaVersion":{"type":"string","minLength":1},"connectionId":{"type":"string","nullable":true,"minLength":1},"connectorType":{"type":"string","nullable":true,"enum":["sage50-us","sage50-uk"]},"region":{"type":"string","nullable":true,"enum":["us","uk"]},"resources":{"type":"array","items":{"type":"object","properties":{"category":{"type":"string","enum":["company","sales","purchasing","inventory","accounting","banking","projects","system"]},"resource":{"type":"string","minLength":1},"path":{"type":"string","minLength":1},"displayName":{"type":"string","minLength":1},"objectType":{"type":"string","minLength":1},"aliasOf":{"type":"string","nullable":true,"minLength":1},"operations":{"type":"array","items":{"type":"string","enum":["company.get","customers.list","customers.get","customers.create","customers.update","customerContacts.list","customerContacts.get","customerContacts.create","customerContacts.update","customerAddresses.list","customerAddresses.get","customerAddresses.create","customerAddresses.update","vendors.list","vendors.get","vendors.create","vendors.update","vendorContacts.list","vendorContacts.get","vendorContacts.create","vendorContacts.update","vendorAddresses.list","vendorAddresses.get","vendorAddresses.create","vendorAddresses.update","items.list","items.get","items.create","items.update","itemCategories.list","itemCategories.get","itemCategories.create","itemCategories.update","itemPrices.list","itemPrices.get","itemPrices.create","itemPrices.update","inventoryAdjustments.list","inventoryAdjustments.get","inventoryAdjustments.create","inventoryAdjustments.update","inventoryTransactions.list","inventoryTransactions.get","inventoryTransactions.create","inventoryTransactions.update","quotes.list","quotes.get","quotes.create","quotes.update","proposals.list","proposals.get","proposals.create","proposals.update","salesOrders.list","salesOrders.get","salesOrders.create","salesOrders.update","salesInvoices.list","salesInvoices.get","salesInvoices.create","salesInvoices.update","salesCreditMemos.list","salesCreditMemos.get","salesCreditMemos.create","salesCreditMemos.update","receipts.list","receipts.get","receipts.create","receipts.update","deposits.list","deposits.get","deposits.create","deposits.update","invoices.list","invoices.get","invoices.create","invoices.update","purchaseOrders.list","purchaseOrders.get","purchaseOrders.create","purchaseOrders.update","purchaseInvoices.list","purchaseInvoices.get","purchaseInvoices.create","purchaseInvoices.update","vendorCreditMemos.list","vendorCreditMemos.get","vendorCreditMemos.create","vendorCreditMemos.update","vendorPayments.list","vendorPayments.get","vendorPayments.create","vendorPayments.update","checks.list","checks.get","checks.create","checks.update","accounts.list","accounts.get","accounts.create","accounts.update","journalEntries.list","journalEntries.get","journalEntries.create","journalEntries.update","departments.list","departments.get","departments.create","departments.update","taxCodes.list","taxCodes.get","taxCodes.create","taxCodes.update","taxAgencies.list","taxAgencies.get","taxAgencies.create","taxAgencies.update","bankAccounts.list","bankAccounts.get","bankAccounts.create","bankAccounts.update","bankTransactions.list","bankTransactions.get","bankTransactions.create","bankTransactions.update","bankReconciliations.list","bankReconciliations.get","bankReconciliations.create","bankReconciliations.update","jobs.list","jobs.get","jobs.create","jobs.update","phases.list","phases.get","phases.create","phases.update","costCodes.list","costCodes.get","costCodes.create","costCodes.update","changeOrders.list","changeOrders.get","changeOrders.create","changeOrders.update","fixedAssets.list","fixedAssets.get","fixedAssets.create","fixedAssets.update","attachments.list","attachments.get","attachments.create","attachments.update","reports.list","reports.get","nativeResources.list","nativeResources.get"]}},"supportedOperations":{"type":"array","items":{"type":"string","enum":["company.get","customers.list","customers.get","customers.create","customers.update","customerContacts.list","customerContacts.get","customerContacts.create","customerContacts.update","customerAddresses.list","customerAddresses.get","customerAddresses.create","customerAddresses.update","vendors.list","vendors.get","vendors.create","vendors.update","vendorContacts.list","vendorContacts.get","vendorContacts.create","vendorContacts.update","vendorAddresses.list","vendorAddresses.get","vendorAddresses.create","vendorAddresses.update","items.list","items.get","items.create","items.update","itemCategories.list","itemCategories.get","itemCategories.create","itemCategories.update","itemPrices.list","itemPrices.get","itemPrices.create","itemPrices.update","inventoryAdjustments.list","inventoryAdjustments.get","inventoryAdjustments.create","inventoryAdjustments.update","inventoryTransactions.list","inventoryTransactions.get","inventoryTransactions.create","inventoryTransactions.update","quotes.list","quotes.get","quotes.create","quotes.update","proposals.list","proposals.get","proposals.create","proposals.update","salesOrders.list","salesOrders.get","salesOrders.create","salesOrders.update","salesInvoices.list","salesInvoices.get","salesInvoices.create","salesInvoices.update","salesCreditMemos.list","salesCreditMemos.get","salesCreditMemos.create","salesCreditMemos.update","receipts.list","receipts.get","receipts.create","receipts.update","deposits.list","deposits.get","deposits.create","deposits.update","invoices.list","invoices.get","invoices.create","invoices.update","purchaseOrders.list","purchaseOrders.get","purchaseOrders.create","purchaseOrders.update","purchaseInvoices.list","purchaseInvoices.get","purchaseInvoices.create","purchaseInvoices.update","vendorCreditMemos.list","vendorCreditMemos.get","vendorCreditMemos.create","vendorCreditMemos.update","vendorPayments.list","vendorPayments.get","vendorPayments.create","vendorPayments.update","checks.list","checks.get","checks.create","checks.update","accounts.list","accounts.get","accounts.create","accounts.update","journalEntries.list","journalEntries.get","journalEntries.create","journalEntries.update","departments.list","departments.get","departments.create","departments.update","taxCodes.list","taxCodes.get","taxCodes.create","taxCodes.update","taxAgencies.list","taxAgencies.get","taxAgencies.create","taxAgencies.update","bankAccounts.list","bankAccounts.get","bankAccounts.create","bankAccounts.update","bankTransactions.list","bankTransactions.get","bankTransactions.create","bankTransactions.update","bankReconciliations.list","bankReconciliations.get","bankReconciliations.create","bankReconciliations.update","jobs.list","jobs.get","jobs.create","jobs.update","phases.list","phases.get","phases.create","phases.update","costCodes.list","costCodes.get","costCodes.create","costCodes.update","changeOrders.list","changeOrders.get","changeOrders.create","changeOrders.update","fixedAssets.list","fixedAssets.get","fixedAssets.create","fixedAssets.update","attachments.list","attachments.get","attachments.create","attachments.update","reports.list","reports.get","nativeResources.list","nativeResources.get"]}},"capabilities":{"type":"array","items":{"type":"string","enum":["company:read","customers:read","customers:write","customerContacts:read","customerContacts:write","customerAddresses:read","customerAddresses:write","vendors:read","vendors:write","vendorContacts:read","vendorContacts:write","vendorAddresses:read","vendorAddresses:write","items:read","items:write","itemCategories:read","itemCategories:write","itemPrices:read","itemPrices:write","inventoryAdjustments:read","inventoryAdjustments:write","inventoryTransactions:read","inventoryTransactions:write","quotes:read","quotes:write","proposals:read","proposals:write","salesOrders:read","salesOrders:write","salesInvoices:read","salesInvoices:write","salesCreditMemos:read","salesCreditMemos:write","receipts:read","receipts:write","deposits:read","deposits:write","invoices:read","invoices:write","purchaseOrders:read","purchaseOrders:write","purchaseInvoices:read","purchaseInvoices:write","vendorCreditMemos:read","vendorCreditMemos:write","vendorPayments:read","vendorPayments:write","checks:read","checks:write","accounts:read","accounts:write","journalEntries:read","journalEntries:write","departments:read","departments:write","taxCodes:read","taxCodes:write","taxAgencies:read","taxAgencies:write","bankAccounts:read","bankAccounts:write","bankTransactions:read","bankTransactions:write","bankReconciliations:read","bankReconciliations:write","jobs:read","jobs:write","phases:read","phases:write","costCodes:read","costCodes:write","changeOrders:read","changeOrders:write","fixedAssets:read","fixedAssets:write","attachments:read","attachments:write","reports:read","nativeResources:read"]}},"readSupported":{"type":"boolean"},"writeSupported":{"type":"boolean"}},"required":["category","resource","path","displayName","objectType","aliasOf","operations","supportedOperations","capabilities","readSupported","writeSupported"]}}},"required":["objectType","schemaVersion","connectionId","connectorType","region","resources"]},"examples":{"capabilities":{"summary":"Sage 50 menu","value":{"objectType":"sage50_capabilities","schemaVersion":"2026-04-17","connectionId":"conn_123","connectorType":"sage50-us","region":"us","resources":[{"category":"company","resource":"customers","path":"/v1/sage-50/customers","displayName":"Customers","objectType":"sage50_customer","aliasOf":null,"operations":["customers.list","customers.get","customers.create","customers.update"],"supportedOperations":["customers.list","customers.get","customers.create","customers.update"],"capabilities":["customers:read","customers:write"],"readSupported":true,"writeSupported":true}]}},"readOnlyCapabilities":{"summary":"Read-only connection","value":{"objectType":"sage50_capabilities","schemaVersion":"2026-04-17","connectionId":"conn_123","connectorType":"sage50-us","region":"us","resources":[{"category":"company","resource":"customers","path":"/v1/sage-50/customers","displayName":"Customers","objectType":"sage50_customer","aliasOf":null,"operations":["customers.list","customers.get","customers.create","customers.update"],"supportedOperations":["customers.list","customers.get"],"capabilities":["customers:read","customers:write"],"readSupported":true,"writeSupported":false}]}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}}},"operationId":"getSage50Capabilities","summary":"See what this Sage company can do","description":"Shows which Sage 50 resources and operations are available for the selected connection right now.\n\n### When to use\n- Use this route to build adaptive product surfaces, feature flags, and preflight checks before calling write operations.\n- Call it after connection setup or when connector metadata changes.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe path stays the same for Sage 50 US and Sage 50 UK. The selected connection decides which resources and write operations are actually supported.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst capabilities = await client.sage50.capabilities.get({\n  connectionId: \"conn_123\",\n});\n\nconsole.log(capabilities);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\ncapabilities = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/capabilities\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\ncapabilities.raise_for_status()\ncapabilities = capabilities.json()\nprint(capabilities[\"resources\"])"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/capabilities\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/capabilities\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}}]}},"/v1/sage-50/company":{"get":{"tags":["Company"],"responses":{"200":{"description":"One Sage 50 company.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_company"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"name":{"type":"string","nullable":true,"minLength":1},"legalName":{"type":"string","nullable":true,"minLength":1},"country":{"type":"string","nullable":true,"minLength":1},"currency":{"type":"string","nullable":true,"minLength":1},"fiscalYearStart":{"type":"string","nullable":true,"minLength":1}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"company":{"summary":"Company","value":{"id":"company_123","objectType":"sage50_company","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"COMPANY-123"},"name":"Acme Manufacturing","legalName":"Acme Manufacturing LLC","country":"us","currency":"USD","fiscalYearStart":"2026-01-01"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"notFound":{"summary":"Company not found","value":{"error":{"message":"The requested company could not be found in Sage.","userFacingMessage":"Choose an existing company and try again.","type":"not_found_error","code":"NOT_FOUND","httpStatusCode":404,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"getSage50Company","summary":"Get Company","description":"Get company in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when you already know the id for one company.\n- Use the list route first when you need discovery or pagination.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst company = await client.sage50.company.get({\n  connectionId: \"conn_123\"\n});\n\nconsole.log(company);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\ncompany = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/company\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\ncompany.raise_for_status()\ncompany = company.json()\nprint(company)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/company\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/company\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}}]}},"/v1/sage-50/customers":{"get":{"tags":["Customers"],"responses":{"200":{"description":"A page of Sage 50 customers.","content":{"application/json":{"schema":{"type":"object","properties":{"objectType":{"type":"string","enum":["list"]},"url":{"type":"string","minLength":1},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_customer"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"code":{"type":"string","nullable":true,"minLength":1},"name":{"type":"string","nullable":true,"minLength":1},"displayName":{"type":"string","nullable":true,"minLength":1},"email":{"type":"string","nullable":true,"minLength":1},"phone":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"address":{"type":"object","nullable":true,"properties":{"line1":{"type":"string","nullable":true,"minLength":1},"line2":{"type":"string","nullable":true,"minLength":1},"city":{"type":"string","nullable":true,"minLength":1},"region":{"type":"string","nullable":true,"minLength":1},"postalCode":{"type":"string","nullable":true,"minLength":1},"country":{"type":"string","nullable":true,"minLength":1}},"additionalProperties":{"nullable":true}},"customerNumber":{"type":"string","nullable":true,"minLength":1},"balance":{"type":"number","nullable":true}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}}},"nextCursor":{"type":"string","nullable":true},"hasMore":{"type":"boolean"},"remainingCount":{"type":"integer","minimum":0}},"required":["objectType","url","data","nextCursor","hasMore","remainingCount"]},"examples":{"list":{"summary":"Customers page","value":{"objectType":"list","url":"/v1/sage-50/customers","data":[{"id":"customer_123","objectType":"sage50_customer","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"CUSTOMERS-123"},"code":"CUST-100","name":"Acme Manufacturing","displayName":"Acme Manufacturing","email":"ap@acme.example","phone":"312-555-0100","status":"active","customerNumber":"CUST-100","balance":2400.15,"address":{"line1":"100 Main St","line2":"Suite 200","city":"Chicago","region":"IL","postalCode":"60601","country":"US"}}],"nextCursor":null,"hasMore":false,"remainingCount":0}},"emptyPage":{"summary":"No customers found","value":{"objectType":"list","url":"/v1/sage-50/customers","data":[],"nextCursor":null,"hasMore":false,"remainingCount":0}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"listSage50Customers","summary":"Get customers from Sage 50","description":"Gets customers from the selected Sage company through one country-neutral route.\n\n### When to use\n- Use this route when you need a page of customers for sync, browsing, or search flows.\n- Prefer `updatedSince` plus `cursor` for incremental sync and resumable imports.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Pagination\n- Use `limit` to control page size.\n- Use `cursor` to continue from the previous page.\n- Use `updatedSince` when the connected Sage company supports incremental filtering.\n\n### Response shape\nReturns the standard list wrapper with normalized Sage resource objects inside `data`.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst customers = await client.sage50.customers.list({\n  connectionId: \"conn_123\",\n  limit: 20,\n});\n\nconsole.log(customers.data);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\ncustomers = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/customers?limit=20\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\ncustomers.raise_for_status()\ncustomers = customers.json()\nprint(customers[\"data\"])"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/customers?limit=20\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/customers?limit=20\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"limit","in":"query","required":false,"description":"How many records to return at once.","schema":{"type":"integer","minimum":1,"maximum":150,"default":100,"example":100}},{"name":"cursor","in":"query","required":false,"description":"The next-page marker from a previous response.","schema":{"type":"string","minLength":1,"example":"cur_eyJvZmZzZXQiOjEwMH0"}},{"name":"updatedSince","in":"query","required":false,"description":"Only return records changed after this time, when the connected Sage company can support that filter.","schema":{"type":"string","format":"date-time","example":"2026-04-01T00:00:00.000Z"}}]},"post":{"tags":["Customers"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"externalId":{"type":"string","nullable":true,"minLength":1},"revisionNumber":{"type":"string","nullable":true,"minLength":1},"code":{"type":"string","nullable":true,"minLength":1},"name":{"type":"string","nullable":true,"minLength":1},"displayName":{"type":"string","nullable":true,"minLength":1},"email":{"type":"string","nullable":true,"minLength":1},"phone":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"address":{"type":"object","nullable":true,"properties":{"line1":{"type":"string","nullable":true,"minLength":1},"line2":{"type":"string","nullable":true,"minLength":1},"city":{"type":"string","nullable":true,"minLength":1},"region":{"type":"string","nullable":true,"minLength":1},"postalCode":{"type":"string","nullable":true,"minLength":1},"country":{"type":"string","nullable":true,"minLength":1}},"additionalProperties":{"nullable":true}},"customerNumber":{"type":"string","nullable":true,"minLength":1},"balance":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}},"examples":{"createExample":{"summary":"Create Customers","value":{"externalId":"customer_external_123","code":"CUST-100","name":"Acme Manufacturing","displayName":"Acme Manufacturing","email":"ap@acme.example","phone":"312-555-0100","status":"active","customerNumber":"CUST-100","balance":2400.15,"address":{"line1":"100 Main St","line2":"Suite 200","city":"Chicago","region":"IL","postalCode":"60601","country":"US"}}}}}},"required":true,"description":"The customers record you want created in Sage. Example payload matches the generated SDK request model.\n\n### What to send\n- Send the normalized fields your app wants Sage to create.\n- Use the same field names shown in the examples and generated SDK models.\n\n### Retry behavior\nAlways send `Idempotency-Key` on create and update requests. Reuse the same key when retrying the same logical action."},"responses":{"200":{"description":"The customers Sage created.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_customer"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"code":{"type":"string","nullable":true,"minLength":1},"name":{"type":"string","nullable":true,"minLength":1},"displayName":{"type":"string","nullable":true,"minLength":1},"email":{"type":"string","nullable":true,"minLength":1},"phone":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"address":{"type":"object","nullable":true,"properties":{"line1":{"type":"string","nullable":true,"minLength":1},"line2":{"type":"string","nullable":true,"minLength":1},"city":{"type":"string","nullable":true,"minLength":1},"region":{"type":"string","nullable":true,"minLength":1},"postalCode":{"type":"string","nullable":true,"minLength":1},"country":{"type":"string","nullable":true,"minLength":1}},"additionalProperties":{"nullable":true}},"customerNumber":{"type":"string","nullable":true,"minLength":1},"balance":{"type":"number","nullable":true}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"customers":{"summary":"Customers","value":{"id":"customer_123","objectType":"sage50_customer","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"CUSTOMERS-123"},"code":"CUST-100","name":"Acme Manufacturing","displayName":"Acme Manufacturing","email":"ap@acme.example","phone":"312-555-0100","status":"active","customerNumber":"CUST-100","balance":2400.15,"address":{"line1":"100 Main St","line2":"Suite 200","city":"Chicago","region":"IL","postalCode":"60601","country":"US"}}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"missingIdempotencyKey":{"summary":"Idempotency key required","value":{"error":{"message":"Missing required Idempotency-Key header","userFacingMessage":"Send an idempotency key and try again.","type":"validation_error","code":"IDEMPOTENCY_KEY_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"422":{"description":"Sage validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"sageValidationFailed":{"summary":"Sage rejected the request","value":{"error":{"message":"Sage rejected the customer because one or more fields were invalid.","userFacingMessage":"Review the customer details and try again.","type":"integration_validation_error","code":"SAGE_VALIDATION_FAILED","httpStatusCode":422,"requestId":"req_123","integrationCode":"VAL-1001","retryable":false,"correlationId":null,"details":{"fieldErrors":[{"field":"name","message":"Name is required."}]}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"createSage50Customers","summary":"Create Customer","description":"Create customer in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when your app is the source of truth for a new customer.\n- Send an idempotency key whenever a network retry might happen.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Retry behavior\n- Send `Idempotency-Key` on every create and update request.\n- Reuse the same idempotency key when retrying the same logical action so Sage does not apply it twice.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst customer = await client.sage50.customers.create({\n  connectionId: \"conn_123\",\n  idempotencyKey: \"idem_20260417_0001\",\n  externalId: \"customer_external_123\",\n  code: \"CUST-100\",\n  name: \"Acme Manufacturing\",\n  displayName: \"Acme Manufacturing\",\n  email: \"ap@acme.example\",\n  phone: \"312-555-0100\",\n  status: \"active\",\n  customerNumber: \"CUST-100\",\n  balance: 2400.15,\n  address: {\n    line1: \"100 Main St\",\n    line2: \"Suite 200\",\n    city: \"Chicago\",\n    region: \"IL\",\n    postalCode: \"60601\",\n    country: \"US\"\n  }\n});\n\nconsole.log(customer);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\ncustomer = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/customers\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\",\n        \"Idempotency-Key\": \"idem_20260417_0001\"\n    },\n    json={\n        \"externalId\": \"customer_external_123\",\n        \"code\": \"CUST-100\",\n        \"name\": \"Acme Manufacturing\",\n        \"displayName\": \"Acme Manufacturing\",\n        \"email\": \"ap@acme.example\",\n        \"phone\": \"312-555-0100\",\n        \"status\": \"active\",\n        \"customerNumber\": \"CUST-100\",\n        \"balance\": 2400.15,\n        \"address\": {\n            \"line1\": \"100 Main St\",\n            \"line2\": \"Suite 200\",\n            \"city\": \"Chicago\",\n            \"region\": \"IL\",\n            \"postalCode\": \"60601\",\n            \"country\": \"US\"\n        }\n    },\n)\ncustomer.raise_for_status()\ncustomer = customer.json()\nprint(customer)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/customers\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .header(\"Idempotency-Key\", \"idem_20260417_0001\")\n    .header(\"Content-Type\", \"application/json\")\n    .POST(HttpRequest.BodyPublishers.ofString(\"{\\n  \\\"externalId\\\": \\\"customer_external_123\\\",\\n  \\\"code\\\": \\\"CUST-100\\\",\\n  \\\"name\\\": \\\"Acme Manufacturing\\\",\\n  \\\"displayName\\\": \\\"Acme Manufacturing\\\",\\n  \\\"email\\\": \\\"ap@acme.example\\\",\\n  \\\"phone\\\": \\\"312-555-0100\\\",\\n  \\\"status\\\": \\\"active\\\",\\n  \\\"customerNumber\\\": \\\"CUST-100\\\",\\n  \\\"balance\\\": 2400.15,\\n  \\\"address\\\": {\\n    \\\"line1\\\": \\\"100 Main St\\\",\\n    \\\"line2\\\": \\\"Suite 200\\\",\\n    \\\"city\\\": \\\"Chicago\\\",\\n    \\\"region\\\": \\\"IL\\\",\\n    \\\"postalCode\\\": \\\"60601\\\",\\n    \\\"country\\\": \\\"US\\\"\\n  }\\n}\"));\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/customers\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\" \\\n  --header \"Idempotency-Key: idem_20260417_0001\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n  \"externalId\": \"customer_external_123\",\n  \"code\": \"CUST-100\",\n  \"name\": \"Acme Manufacturing\",\n  \"displayName\": \"Acme Manufacturing\",\n  \"email\": \"ap@acme.example\",\n  \"phone\": \"312-555-0100\",\n  \"status\": \"active\",\n  \"customerNumber\": \"CUST-100\",\n  \"balance\": 2400.15,\n  \"address\": {\n    \"line1\": \"100 Main St\",\n    \"line2\": \"Suite 200\",\n    \"city\": \"Chicago\",\n    \"region\": \"IL\",\n    \"postalCode\": \"60601\",\n    \"country\": \"US\"\n  }\n}'"}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique key for this create or update. Reuse the same key when retrying the same action so Sage does not do it twice.","schema":{"type":"string","minLength":1,"example":"idem_20260417_0001"}}]}},"/v1/sage-50/customers/{id}":{"get":{"tags":["Customers"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"src_123"},"required":true,"name":"id","in":"path"},{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}}],"responses":{"200":{"description":"One Sage 50 customer.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_customer"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"code":{"type":"string","nullable":true,"minLength":1},"name":{"type":"string","nullable":true,"minLength":1},"displayName":{"type":"string","nullable":true,"minLength":1},"email":{"type":"string","nullable":true,"minLength":1},"phone":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"address":{"type":"object","nullable":true,"properties":{"line1":{"type":"string","nullable":true,"minLength":1},"line2":{"type":"string","nullable":true,"minLength":1},"city":{"type":"string","nullable":true,"minLength":1},"region":{"type":"string","nullable":true,"minLength":1},"postalCode":{"type":"string","nullable":true,"minLength":1},"country":{"type":"string","nullable":true,"minLength":1}},"additionalProperties":{"nullable":true}},"customerNumber":{"type":"string","nullable":true,"minLength":1},"balance":{"type":"number","nullable":true}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"customers":{"summary":"Customers","value":{"id":"customer_123","objectType":"sage50_customer","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"CUSTOMERS-123"},"code":"CUST-100","name":"Acme Manufacturing","displayName":"Acme Manufacturing","email":"ap@acme.example","phone":"312-555-0100","status":"active","customerNumber":"CUST-100","balance":2400.15,"address":{"line1":"100 Main St","line2":"Suite 200","city":"Chicago","region":"IL","postalCode":"60601","country":"US"}}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"notFound":{"summary":"Customers not found","value":{"error":{"message":"The requested customer could not be found in Sage.","userFacingMessage":"Choose an existing customer and try again.","type":"not_found_error","code":"NOT_FOUND","httpStatusCode":404,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"getSage50Customer","summary":"Get one Sage 50 customer","description":"Get one customer in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when you already know the id for one customer.\n- Use the list route first when you need discovery or pagination.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst customer = await client.sage50.customers.get({\n  connectionId: \"conn_123\",\n  id: \"cust_123\",\n});\n\nconsole.log(customer);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\ncustomer = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/customers/customer_123\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\ncustomer.raise_for_status()\ncustomer = customer.json()\nprint(customer)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/customers/customer_123\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/customers/customer_123\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}]},"post":{"tags":["Customers"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"src_123"},"required":true,"name":"id","in":"path"},{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique key for this create or update. Reuse the same key when retrying the same action so Sage does not do it twice.","schema":{"type":"string","minLength":1,"example":"idem_20260417_0001"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"externalId":{"type":"string","nullable":true,"minLength":1},"revisionNumber":{"type":"string","nullable":true,"minLength":1},"code":{"type":"string","nullable":true,"minLength":1},"name":{"type":"string","nullable":true,"minLength":1},"displayName":{"type":"string","nullable":true,"minLength":1},"email":{"type":"string","nullable":true,"minLength":1},"phone":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"address":{"type":"object","nullable":true,"properties":{"line1":{"type":"string","nullable":true,"minLength":1},"line2":{"type":"string","nullable":true,"minLength":1},"city":{"type":"string","nullable":true,"minLength":1},"region":{"type":"string","nullable":true,"minLength":1},"postalCode":{"type":"string","nullable":true,"minLength":1},"country":{"type":"string","nullable":true,"minLength":1}},"additionalProperties":{"nullable":true}},"customerNumber":{"type":"string","nullable":true,"minLength":1},"balance":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}},"examples":{"updateExample":{"summary":"Update Customers","value":{"revisionNumber":"7","name":"Acme Manufacturing","displayName":"Acme Manufacturing","status":"active","email":"ap@acme.example","phone":"312-555-0100","address":{"line1":"100 Main St","line2":"Suite 200","city":"Chicago","region":"IL","postalCode":"60601","country":"US"}}}}}},"required":true,"description":"The customers changes you want saved in Sage. Example payload matches the generated SDK request model.\n\n### What to send\n- Send only the fields you want Sage to change.\n- Use the same field names shown in the examples and generated SDK models.\n\n### Concurrency\nSend the latest `revisionNumber` when Sage returns one so updates stay aligned with the current desktop record.\n\n### Retry behavior\nAlways send `Idempotency-Key` on create and update requests. Reuse the same key when retrying the same logical action."},"responses":{"200":{"description":"The customers after Sage saved the update.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_customer"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"code":{"type":"string","nullable":true,"minLength":1},"name":{"type":"string","nullable":true,"minLength":1},"displayName":{"type":"string","nullable":true,"minLength":1},"email":{"type":"string","nullable":true,"minLength":1},"phone":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"address":{"type":"object","nullable":true,"properties":{"line1":{"type":"string","nullable":true,"minLength":1},"line2":{"type":"string","nullable":true,"minLength":1},"city":{"type":"string","nullable":true,"minLength":1},"region":{"type":"string","nullable":true,"minLength":1},"postalCode":{"type":"string","nullable":true,"minLength":1},"country":{"type":"string","nullable":true,"minLength":1}},"additionalProperties":{"nullable":true}},"customerNumber":{"type":"string","nullable":true,"minLength":1},"balance":{"type":"number","nullable":true}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"customers":{"summary":"Customers","value":{"id":"customer_123","objectType":"sage50_customer","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"CUSTOMERS-123"},"code":"CUST-100","name":"Acme Manufacturing","displayName":"Acme Manufacturing","email":"ap@acme.example","phone":"312-555-0100","status":"active","customerNumber":"CUST-100","balance":2400.15,"address":{"line1":"100 Main St","line2":"Suite 200","city":"Chicago","region":"IL","postalCode":"60601","country":"US"}}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"missingIdempotencyKey":{"summary":"Idempotency key required","value":{"error":{"message":"Missing required Idempotency-Key header","userFacingMessage":"Send an idempotency key and try again.","type":"validation_error","code":"IDEMPOTENCY_KEY_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"422":{"description":"Sage validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"sageValidationFailed":{"summary":"Sage rejected the request","value":{"error":{"message":"Sage rejected the customer because one or more fields were invalid.","userFacingMessage":"Review the customer details and try again.","type":"integration_validation_error","code":"SAGE_VALIDATION_FAILED","httpStatusCode":422,"requestId":"req_123","integrationCode":"VAL-1001","retryable":false,"correlationId":null,"details":{"fieldErrors":[{"field":"name","message":"Name is required."}]}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"updateSage50Customers","summary":"Update Customer","description":"Update customer in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when your app needs to save changes to an existing customer.\n- Send the latest `revisionNumber` when Sage provides one so updates stay concurrency-safe.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Retry behavior\n- Send `Idempotency-Key` on every create and update request.\n- Reuse the same idempotency key when retrying the same logical action so Sage does not apply it twice.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst customer = await client.sage50.customers.update({\n  connectionId: \"conn_123\",\n  id: \"customer_123\",\n  idempotencyKey: \"idem_20260417_0001\",\n  revisionNumber: \"7\",\n  name: \"Acme Manufacturing\",\n  displayName: \"Acme Manufacturing\",\n  status: \"active\",\n  email: \"ap@acme.example\",\n  phone: \"312-555-0100\",\n  address: {\n    line1: \"100 Main St\",\n    line2: \"Suite 200\",\n    city: \"Chicago\",\n    region: \"IL\",\n    postalCode: \"60601\",\n    country: \"US\"\n  }\n});\n\nconsole.log(customer);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\ncustomer = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/customers/customer_123\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\",\n        \"Idempotency-Key\": \"idem_20260417_0001\"\n    },\n    json={\n        \"revisionNumber\": \"7\",\n        \"name\": \"Acme Manufacturing\",\n        \"displayName\": \"Acme Manufacturing\",\n        \"status\": \"active\",\n        \"email\": \"ap@acme.example\",\n        \"phone\": \"312-555-0100\",\n        \"address\": {\n            \"line1\": \"100 Main St\",\n            \"line2\": \"Suite 200\",\n            \"city\": \"Chicago\",\n            \"region\": \"IL\",\n            \"postalCode\": \"60601\",\n            \"country\": \"US\"\n        }\n    },\n)\ncustomer.raise_for_status()\ncustomer = customer.json()\nprint(customer)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/customers/customer_123\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .header(\"Idempotency-Key\", \"idem_20260417_0001\")\n    .header(\"Content-Type\", \"application/json\")\n    .POST(HttpRequest.BodyPublishers.ofString(\"{\\n  \\\"revisionNumber\\\": \\\"7\\\",\\n  \\\"name\\\": \\\"Acme Manufacturing\\\",\\n  \\\"displayName\\\": \\\"Acme Manufacturing\\\",\\n  \\\"status\\\": \\\"active\\\",\\n  \\\"email\\\": \\\"ap@acme.example\\\",\\n  \\\"phone\\\": \\\"312-555-0100\\\",\\n  \\\"address\\\": {\\n    \\\"line1\\\": \\\"100 Main St\\\",\\n    \\\"line2\\\": \\\"Suite 200\\\",\\n    \\\"city\\\": \\\"Chicago\\\",\\n    \\\"region\\\": \\\"IL\\\",\\n    \\\"postalCode\\\": \\\"60601\\\",\\n    \\\"country\\\": \\\"US\\\"\\n  }\\n}\"));\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/customers/customer_123\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\" \\\n  --header \"Idempotency-Key: idem_20260417_0001\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n  \"revisionNumber\": \"7\",\n  \"name\": \"Acme Manufacturing\",\n  \"displayName\": \"Acme Manufacturing\",\n  \"status\": \"active\",\n  \"email\": \"ap@acme.example\",\n  \"phone\": \"312-555-0100\",\n  \"address\": {\n    \"line1\": \"100 Main St\",\n    \"line2\": \"Suite 200\",\n    \"city\": \"Chicago\",\n    \"region\": \"IL\",\n    \"postalCode\": \"60601\",\n    \"country\": \"US\"\n  }\n}'"}]}},"/v1/sage-50/customer-contacts":{"get":{"tags":["Customer Contacts"],"responses":{"200":{"description":"A page of Sage 50 customer contacts.","content":{"application/json":{"schema":{"type":"object","properties":{"objectType":{"type":"string","enum":["list"]},"url":{"type":"string","minLength":1},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_customer_contact"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"customerId":{"type":"string","nullable":true,"minLength":1},"firstName":{"type":"string","nullable":true,"minLength":1},"lastName":{"type":"string","nullable":true,"minLength":1},"email":{"type":"string","nullable":true,"minLength":1},"phone":{"type":"string","nullable":true,"minLength":1}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}}},"nextCursor":{"type":"string","nullable":true},"hasMore":{"type":"boolean"},"remainingCount":{"type":"integer","minimum":0}},"required":["objectType","url","data","nextCursor","hasMore","remainingCount"]},"examples":{"list":{"summary":"Customer Contacts page","value":{"objectType":"list","url":"/v1/sage-50/customer-contacts","data":[{"id":"customerContact_123","objectType":"sage50_customer_contact","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"CUSTOMERCONTACTS-123"},"customerId":"cust_123","firstName":"Avery","lastName":"Stone","email":"avery@acme.example","phone":"312-555-0101"}],"nextCursor":null,"hasMore":false,"remainingCount":0}},"emptyPage":{"summary":"No customer contacts found","value":{"objectType":"list","url":"/v1/sage-50/customer-contacts","data":[],"nextCursor":null,"hasMore":false,"remainingCount":0}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"listSage50CustomerContacts","summary":"Get Customer Contacts","description":"Gets customer contacts from the selected Sage company through one country-neutral route.\n\n### When to use\n- Use this route when you need a page of customer contacts for sync, browsing, or search flows.\n- Prefer `updatedSince` plus `cursor` for incremental sync and resumable imports.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Pagination\n- Use `limit` to control page size.\n- Use `cursor` to continue from the previous page.\n- Use `updatedSince` when the connected Sage company supports incremental filtering.\n\n### Response shape\nReturns the standard list wrapper with normalized Sage resource objects inside `data`.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst customerContacts = await client.sage50.customerContacts.list({\n  connectionId: \"conn_123\",\n  limit: 20\n});\n\nconsole.log(customerContacts.data);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\ncustomerContacts = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/customer-contacts?limit=20\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\ncustomerContacts.raise_for_status()\ncustomerContacts = customerContacts.json()\nprint(customerContacts[\"data\"])"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/customer-contacts?limit=20\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/customer-contacts?limit=20\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"limit","in":"query","required":false,"description":"How many records to return at once.","schema":{"type":"integer","minimum":1,"maximum":150,"default":100,"example":100}},{"name":"cursor","in":"query","required":false,"description":"The next-page marker from a previous response.","schema":{"type":"string","minLength":1,"example":"cur_eyJvZmZzZXQiOjEwMH0"}},{"name":"updatedSince","in":"query","required":false,"description":"Only return records changed after this time, when the connected Sage company can support that filter.","schema":{"type":"string","format":"date-time","example":"2026-04-01T00:00:00.000Z"}}]},"post":{"tags":["Customer Contacts"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"externalId":{"type":"string","nullable":true,"minLength":1},"revisionNumber":{"type":"string","nullable":true,"minLength":1},"customerId":{"type":"string","nullable":true,"minLength":1},"firstName":{"type":"string","nullable":true,"minLength":1},"lastName":{"type":"string","nullable":true,"minLength":1},"email":{"type":"string","nullable":true,"minLength":1},"phone":{"type":"string","nullable":true,"minLength":1}},"additionalProperties":{"nullable":true}},"examples":{"createExample":{"summary":"Create Customer Contacts","value":{"externalId":"customerContact_external_123","customerId":"cust_123","firstName":"Avery","lastName":"Stone","email":"avery@acme.example","phone":"312-555-0101"}}}}},"required":true,"description":"The customer contacts record you want created in Sage. Example payload matches the generated SDK request model.\n\n### What to send\n- Send the normalized fields your app wants Sage to create.\n- Use the same field names shown in the examples and generated SDK models.\n\n### Retry behavior\nAlways send `Idempotency-Key` on create and update requests. Reuse the same key when retrying the same logical action."},"responses":{"200":{"description":"The customer contacts Sage created.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_customer_contact"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"customerId":{"type":"string","nullable":true,"minLength":1},"firstName":{"type":"string","nullable":true,"minLength":1},"lastName":{"type":"string","nullable":true,"minLength":1},"email":{"type":"string","nullable":true,"minLength":1},"phone":{"type":"string","nullable":true,"minLength":1}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"customerContacts":{"summary":"Customer Contacts","value":{"id":"customerContact_123","objectType":"sage50_customer_contact","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"CUSTOMERCONTACTS-123"},"customerId":"cust_123","firstName":"Avery","lastName":"Stone","email":"avery@acme.example","phone":"312-555-0101"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"missingIdempotencyKey":{"summary":"Idempotency key required","value":{"error":{"message":"Missing required Idempotency-Key header","userFacingMessage":"Send an idempotency key and try again.","type":"validation_error","code":"IDEMPOTENCY_KEY_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"422":{"description":"Sage validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"sageValidationFailed":{"summary":"Sage rejected the request","value":{"error":{"message":"Sage rejected the customer contact because one or more fields were invalid.","userFacingMessage":"Review the customer contact details and try again.","type":"integration_validation_error","code":"SAGE_VALIDATION_FAILED","httpStatusCode":422,"requestId":"req_123","integrationCode":"VAL-1001","retryable":false,"correlationId":null,"details":{"fieldErrors":[{"field":"name","message":"Name is required."}]}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"createSage50CustomerContacts","summary":"Create Customer Contact","description":"Create customer contact in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when your app is the source of truth for a new customer contact.\n- Send an idempotency key whenever a network retry might happen.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Retry behavior\n- Send `Idempotency-Key` on every create and update request.\n- Reuse the same idempotency key when retrying the same logical action so Sage does not apply it twice.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst customerContact = await client.sage50.customerContacts.create({\n  connectionId: \"conn_123\",\n  idempotencyKey: \"idem_20260417_0001\",\n  externalId: \"customerContact_external_123\",\n  customerId: \"cust_123\",\n  firstName: \"Avery\",\n  lastName: \"Stone\",\n  email: \"avery@acme.example\",\n  phone: \"312-555-0101\"\n});\n\nconsole.log(customerContact);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\ncustomerContact = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/customer-contacts\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\",\n        \"Idempotency-Key\": \"idem_20260417_0001\"\n    },\n    json={\n        \"externalId\": \"customerContact_external_123\",\n        \"customerId\": \"cust_123\",\n        \"firstName\": \"Avery\",\n        \"lastName\": \"Stone\",\n        \"email\": \"avery@acme.example\",\n        \"phone\": \"312-555-0101\"\n    },\n)\ncustomerContact.raise_for_status()\ncustomerContact = customerContact.json()\nprint(customerContact)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/customer-contacts\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .header(\"Idempotency-Key\", \"idem_20260417_0001\")\n    .header(\"Content-Type\", \"application/json\")\n    .POST(HttpRequest.BodyPublishers.ofString(\"{\\n  \\\"externalId\\\": \\\"customerContact_external_123\\\",\\n  \\\"customerId\\\": \\\"cust_123\\\",\\n  \\\"firstName\\\": \\\"Avery\\\",\\n  \\\"lastName\\\": \\\"Stone\\\",\\n  \\\"email\\\": \\\"avery@acme.example\\\",\\n  \\\"phone\\\": \\\"312-555-0101\\\"\\n}\"));\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/customer-contacts\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\" \\\n  --header \"Idempotency-Key: idem_20260417_0001\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n  \"externalId\": \"customerContact_external_123\",\n  \"customerId\": \"cust_123\",\n  \"firstName\": \"Avery\",\n  \"lastName\": \"Stone\",\n  \"email\": \"avery@acme.example\",\n  \"phone\": \"312-555-0101\"\n}'"}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique key for this create or update. Reuse the same key when retrying the same action so Sage does not do it twice.","schema":{"type":"string","minLength":1,"example":"idem_20260417_0001"}}]}},"/v1/sage-50/customer-contacts/{id}":{"get":{"tags":["Customer Contacts"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"src_123"},"required":true,"name":"id","in":"path"},{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}}],"responses":{"200":{"description":"One Sage 50 customer contact.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_customer_contact"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"customerId":{"type":"string","nullable":true,"minLength":1},"firstName":{"type":"string","nullable":true,"minLength":1},"lastName":{"type":"string","nullable":true,"minLength":1},"email":{"type":"string","nullable":true,"minLength":1},"phone":{"type":"string","nullable":true,"minLength":1}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"customerContacts":{"summary":"Customer Contacts","value":{"id":"customerContact_123","objectType":"sage50_customer_contact","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"CUSTOMERCONTACTS-123"},"customerId":"cust_123","firstName":"Avery","lastName":"Stone","email":"avery@acme.example","phone":"312-555-0101"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"notFound":{"summary":"Customer Contacts not found","value":{"error":{"message":"The requested customer contact could not be found in Sage.","userFacingMessage":"Choose an existing customer contact and try again.","type":"not_found_error","code":"NOT_FOUND","httpStatusCode":404,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"getSage50CustomerContacts","summary":"Get one Customer Contact","description":"Get one customer contact in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when you already know the id for one customer contact.\n- Use the list route first when you need discovery or pagination.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst customerContact = await client.sage50.customerContacts.get({\n  connectionId: \"conn_123\",\n  id: \"customerContact_123\"\n});\n\nconsole.log(customerContact);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\ncustomerContact = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/customer-contacts/customerContact_123\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\ncustomerContact.raise_for_status()\ncustomerContact = customerContact.json()\nprint(customerContact)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/customer-contacts/customerContact_123\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/customer-contacts/customerContact_123\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}]},"post":{"tags":["Customer Contacts"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"src_123"},"required":true,"name":"id","in":"path"},{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique key for this create or update. Reuse the same key when retrying the same action so Sage does not do it twice.","schema":{"type":"string","minLength":1,"example":"idem_20260417_0001"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"externalId":{"type":"string","nullable":true,"minLength":1},"revisionNumber":{"type":"string","nullable":true,"minLength":1},"customerId":{"type":"string","nullable":true,"minLength":1},"firstName":{"type":"string","nullable":true,"minLength":1},"lastName":{"type":"string","nullable":true,"minLength":1},"email":{"type":"string","nullable":true,"minLength":1},"phone":{"type":"string","nullable":true,"minLength":1}},"additionalProperties":{"nullable":true}},"examples":{"updateExample":{"summary":"Update Customer Contacts","value":{"revisionNumber":"7","email":"avery@acme.example","phone":"312-555-0101"}}}}},"required":true,"description":"The customer contacts changes you want saved in Sage. Example payload matches the generated SDK request model.\n\n### What to send\n- Send only the fields you want Sage to change.\n- Use the same field names shown in the examples and generated SDK models.\n\n### Concurrency\nSend the latest `revisionNumber` when Sage returns one so updates stay aligned with the current desktop record.\n\n### Retry behavior\nAlways send `Idempotency-Key` on create and update requests. Reuse the same key when retrying the same logical action."},"responses":{"200":{"description":"The customer contacts after Sage saved the update.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_customer_contact"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"customerId":{"type":"string","nullable":true,"minLength":1},"firstName":{"type":"string","nullable":true,"minLength":1},"lastName":{"type":"string","nullable":true,"minLength":1},"email":{"type":"string","nullable":true,"minLength":1},"phone":{"type":"string","nullable":true,"minLength":1}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"customerContacts":{"summary":"Customer Contacts","value":{"id":"customerContact_123","objectType":"sage50_customer_contact","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"CUSTOMERCONTACTS-123"},"customerId":"cust_123","firstName":"Avery","lastName":"Stone","email":"avery@acme.example","phone":"312-555-0101"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"missingIdempotencyKey":{"summary":"Idempotency key required","value":{"error":{"message":"Missing required Idempotency-Key header","userFacingMessage":"Send an idempotency key and try again.","type":"validation_error","code":"IDEMPOTENCY_KEY_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"422":{"description":"Sage validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"sageValidationFailed":{"summary":"Sage rejected the request","value":{"error":{"message":"Sage rejected the customer contact because one or more fields were invalid.","userFacingMessage":"Review the customer contact details and try again.","type":"integration_validation_error","code":"SAGE_VALIDATION_FAILED","httpStatusCode":422,"requestId":"req_123","integrationCode":"VAL-1001","retryable":false,"correlationId":null,"details":{"fieldErrors":[{"field":"name","message":"Name is required."}]}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"updateSage50CustomerContacts","summary":"Update Customer Contact","description":"Update customer contact in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when your app needs to save changes to an existing customer contact.\n- Send the latest `revisionNumber` when Sage provides one so updates stay concurrency-safe.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Retry behavior\n- Send `Idempotency-Key` on every create and update request.\n- Reuse the same idempotency key when retrying the same logical action so Sage does not apply it twice.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst customerContact = await client.sage50.customerContacts.update({\n  connectionId: \"conn_123\",\n  id: \"customerContact_123\",\n  idempotencyKey: \"idem_20260417_0001\",\n  revisionNumber: \"7\",\n  email: \"avery@acme.example\",\n  phone: \"312-555-0101\"\n});\n\nconsole.log(customerContact);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\ncustomerContact = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/customer-contacts/customerContact_123\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\",\n        \"Idempotency-Key\": \"idem_20260417_0001\"\n    },\n    json={\n        \"revisionNumber\": \"7\",\n        \"email\": \"avery@acme.example\",\n        \"phone\": \"312-555-0101\"\n    },\n)\ncustomerContact.raise_for_status()\ncustomerContact = customerContact.json()\nprint(customerContact)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/customer-contacts/customerContact_123\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .header(\"Idempotency-Key\", \"idem_20260417_0001\")\n    .header(\"Content-Type\", \"application/json\")\n    .POST(HttpRequest.BodyPublishers.ofString(\"{\\n  \\\"revisionNumber\\\": \\\"7\\\",\\n  \\\"email\\\": \\\"avery@acme.example\\\",\\n  \\\"phone\\\": \\\"312-555-0101\\\"\\n}\"));\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/customer-contacts/customerContact_123\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\" \\\n  --header \"Idempotency-Key: idem_20260417_0001\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n  \"revisionNumber\": \"7\",\n  \"email\": \"avery@acme.example\",\n  \"phone\": \"312-555-0101\"\n}'"}]}},"/v1/sage-50/customer-addresses":{"get":{"tags":["Customer Addresses"],"responses":{"200":{"description":"A page of Sage 50 customer addresses.","content":{"application/json":{"schema":{"type":"object","properties":{"objectType":{"type":"string","enum":["list"]},"url":{"type":"string","minLength":1},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_customer_address"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"customerId":{"type":"string","nullable":true,"minLength":1},"label":{"type":"string","nullable":true,"minLength":1},"line1":{"type":"string","nullable":true,"minLength":1},"line2":{"type":"string","nullable":true,"minLength":1},"city":{"type":"string","nullable":true,"minLength":1},"region":{"type":"string","nullable":true,"minLength":1},"postalCode":{"type":"string","nullable":true,"minLength":1},"country":{"type":"string","nullable":true,"minLength":1}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}}},"nextCursor":{"type":"string","nullable":true},"hasMore":{"type":"boolean"},"remainingCount":{"type":"integer","minimum":0}},"required":["objectType","url","data","nextCursor","hasMore","remainingCount"]},"examples":{"list":{"summary":"Customer Addresses page","value":{"objectType":"list","url":"/v1/sage-50/customer-addresses","data":[{"id":"customerAddress_123","objectType":"sage50_customer_address","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"CUSTOMERADDRESSES-123"},"customerId":"cust_123","label":"Billing","line1":"100 Main St","line2":"Suite 200","city":"Chicago","region":"IL","postalCode":"60601","country":"US"}],"nextCursor":null,"hasMore":false,"remainingCount":0}},"emptyPage":{"summary":"No customer addresses found","value":{"objectType":"list","url":"/v1/sage-50/customer-addresses","data":[],"nextCursor":null,"hasMore":false,"remainingCount":0}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"listSage50CustomerAddresses","summary":"Get Customer Addresses","description":"Gets customer addresses from the selected Sage company through one country-neutral route.\n\n### When to use\n- Use this route when you need a page of customer addresses for sync, browsing, or search flows.\n- Prefer `updatedSince` plus `cursor` for incremental sync and resumable imports.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Pagination\n- Use `limit` to control page size.\n- Use `cursor` to continue from the previous page.\n- Use `updatedSince` when the connected Sage company supports incremental filtering.\n\n### Response shape\nReturns the standard list wrapper with normalized Sage resource objects inside `data`.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst customerAddresses = await client.sage50.customerAddresses.list({\n  connectionId: \"conn_123\",\n  limit: 20\n});\n\nconsole.log(customerAddresses.data);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\ncustomerAddresses = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/customer-addresses?limit=20\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\ncustomerAddresses.raise_for_status()\ncustomerAddresses = customerAddresses.json()\nprint(customerAddresses[\"data\"])"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/customer-addresses?limit=20\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/customer-addresses?limit=20\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"limit","in":"query","required":false,"description":"How many records to return at once.","schema":{"type":"integer","minimum":1,"maximum":150,"default":100,"example":100}},{"name":"cursor","in":"query","required":false,"description":"The next-page marker from a previous response.","schema":{"type":"string","minLength":1,"example":"cur_eyJvZmZzZXQiOjEwMH0"}},{"name":"updatedSince","in":"query","required":false,"description":"Only return records changed after this time, when the connected Sage company can support that filter.","schema":{"type":"string","format":"date-time","example":"2026-04-01T00:00:00.000Z"}}]},"post":{"tags":["Customer Addresses"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"externalId":{"type":"string","nullable":true,"minLength":1},"revisionNumber":{"type":"string","nullable":true,"minLength":1},"customerId":{"type":"string","nullable":true,"minLength":1},"label":{"type":"string","nullable":true,"minLength":1},"line1":{"type":"string","nullable":true,"minLength":1},"line2":{"type":"string","nullable":true,"minLength":1},"city":{"type":"string","nullable":true,"minLength":1},"region":{"type":"string","nullable":true,"minLength":1},"postalCode":{"type":"string","nullable":true,"minLength":1},"country":{"type":"string","nullable":true,"minLength":1}},"additionalProperties":{"nullable":true}},"examples":{"createExample":{"summary":"Create Customer Addresses","value":{"externalId":"customerAddress_external_123","customerId":"cust_123","label":"Billing","line1":"100 Main St","line2":"Suite 200","city":"Chicago","region":"IL","postalCode":"60601","country":"US"}}}}},"required":true,"description":"The customer addresses record you want created in Sage. Example payload matches the generated SDK request model.\n\n### What to send\n- Send the normalized fields your app wants Sage to create.\n- Use the same field names shown in the examples and generated SDK models.\n\n### Retry behavior\nAlways send `Idempotency-Key` on create and update requests. Reuse the same key when retrying the same logical action."},"responses":{"200":{"description":"The customer addresses Sage created.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_customer_address"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"customerId":{"type":"string","nullable":true,"minLength":1},"label":{"type":"string","nullable":true,"minLength":1},"line1":{"type":"string","nullable":true,"minLength":1},"line2":{"type":"string","nullable":true,"minLength":1},"city":{"type":"string","nullable":true,"minLength":1},"region":{"type":"string","nullable":true,"minLength":1},"postalCode":{"type":"string","nullable":true,"minLength":1},"country":{"type":"string","nullable":true,"minLength":1}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"customerAddresses":{"summary":"Customer Addresses","value":{"id":"customerAddress_123","objectType":"sage50_customer_address","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"CUSTOMERADDRESSES-123"},"customerId":"cust_123","label":"Billing","line1":"100 Main St","line2":"Suite 200","city":"Chicago","region":"IL","postalCode":"60601","country":"US"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"missingIdempotencyKey":{"summary":"Idempotency key required","value":{"error":{"message":"Missing required Idempotency-Key header","userFacingMessage":"Send an idempotency key and try again.","type":"validation_error","code":"IDEMPOTENCY_KEY_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"422":{"description":"Sage validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"sageValidationFailed":{"summary":"Sage rejected the request","value":{"error":{"message":"Sage rejected the customer address because one or more fields were invalid.","userFacingMessage":"Review the customer address details and try again.","type":"integration_validation_error","code":"SAGE_VALIDATION_FAILED","httpStatusCode":422,"requestId":"req_123","integrationCode":"VAL-1001","retryable":false,"correlationId":null,"details":{"fieldErrors":[{"field":"name","message":"Name is required."}]}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"createSage50CustomerAddresses","summary":"Create Customer Address","description":"Create customer address in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when your app is the source of truth for a new customer address.\n- Send an idempotency key whenever a network retry might happen.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Retry behavior\n- Send `Idempotency-Key` on every create and update request.\n- Reuse the same idempotency key when retrying the same logical action so Sage does not apply it twice.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst customerAddress = await client.sage50.customerAddresses.create({\n  connectionId: \"conn_123\",\n  idempotencyKey: \"idem_20260417_0001\",\n  externalId: \"customerAddress_external_123\",\n  customerId: \"cust_123\",\n  label: \"Billing\",\n  line1: \"100 Main St\",\n  line2: \"Suite 200\",\n  city: \"Chicago\",\n  region: \"IL\",\n  postalCode: \"60601\",\n  country: \"US\"\n});\n\nconsole.log(customerAddress);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\ncustomerAddress = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/customer-addresses\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\",\n        \"Idempotency-Key\": \"idem_20260417_0001\"\n    },\n    json={\n        \"externalId\": \"customerAddress_external_123\",\n        \"customerId\": \"cust_123\",\n        \"label\": \"Billing\",\n        \"line1\": \"100 Main St\",\n        \"line2\": \"Suite 200\",\n        \"city\": \"Chicago\",\n        \"region\": \"IL\",\n        \"postalCode\": \"60601\",\n        \"country\": \"US\"\n    },\n)\ncustomerAddress.raise_for_status()\ncustomerAddress = customerAddress.json()\nprint(customerAddress)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/customer-addresses\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .header(\"Idempotency-Key\", \"idem_20260417_0001\")\n    .header(\"Content-Type\", \"application/json\")\n    .POST(HttpRequest.BodyPublishers.ofString(\"{\\n  \\\"externalId\\\": \\\"customerAddress_external_123\\\",\\n  \\\"customerId\\\": \\\"cust_123\\\",\\n  \\\"label\\\": \\\"Billing\\\",\\n  \\\"line1\\\": \\\"100 Main St\\\",\\n  \\\"line2\\\": \\\"Suite 200\\\",\\n  \\\"city\\\": \\\"Chicago\\\",\\n  \\\"region\\\": \\\"IL\\\",\\n  \\\"postalCode\\\": \\\"60601\\\",\\n  \\\"country\\\": \\\"US\\\"\\n}\"));\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/customer-addresses\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\" \\\n  --header \"Idempotency-Key: idem_20260417_0001\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n  \"externalId\": \"customerAddress_external_123\",\n  \"customerId\": \"cust_123\",\n  \"label\": \"Billing\",\n  \"line1\": \"100 Main St\",\n  \"line2\": \"Suite 200\",\n  \"city\": \"Chicago\",\n  \"region\": \"IL\",\n  \"postalCode\": \"60601\",\n  \"country\": \"US\"\n}'"}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique key for this create or update. Reuse the same key when retrying the same action so Sage does not do it twice.","schema":{"type":"string","minLength":1,"example":"idem_20260417_0001"}}]}},"/v1/sage-50/customer-addresses/{id}":{"get":{"tags":["Customer Addresses"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"src_123"},"required":true,"name":"id","in":"path"},{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}}],"responses":{"200":{"description":"One Sage 50 customer address.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_customer_address"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"customerId":{"type":"string","nullable":true,"minLength":1},"label":{"type":"string","nullable":true,"minLength":1},"line1":{"type":"string","nullable":true,"minLength":1},"line2":{"type":"string","nullable":true,"minLength":1},"city":{"type":"string","nullable":true,"minLength":1},"region":{"type":"string","nullable":true,"minLength":1},"postalCode":{"type":"string","nullable":true,"minLength":1},"country":{"type":"string","nullable":true,"minLength":1}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"customerAddresses":{"summary":"Customer Addresses","value":{"id":"customerAddress_123","objectType":"sage50_customer_address","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"CUSTOMERADDRESSES-123"},"customerId":"cust_123","label":"Billing","line1":"100 Main St","line2":"Suite 200","city":"Chicago","region":"IL","postalCode":"60601","country":"US"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"notFound":{"summary":"Customer Addresses not found","value":{"error":{"message":"The requested customer address could not be found in Sage.","userFacingMessage":"Choose an existing customer address and try again.","type":"not_found_error","code":"NOT_FOUND","httpStatusCode":404,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"getSage50CustomerAddresses","summary":"Get one Customer Address","description":"Get one customer address in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when you already know the id for one customer address.\n- Use the list route first when you need discovery or pagination.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst customerAddress = await client.sage50.customerAddresses.get({\n  connectionId: \"conn_123\",\n  id: \"customerAddress_123\"\n});\n\nconsole.log(customerAddress);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\ncustomerAddress = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/customer-addresses/customerAddress_123\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\ncustomerAddress.raise_for_status()\ncustomerAddress = customerAddress.json()\nprint(customerAddress)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/customer-addresses/customerAddress_123\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/customer-addresses/customerAddress_123\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}]},"post":{"tags":["Customer Addresses"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"src_123"},"required":true,"name":"id","in":"path"},{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique key for this create or update. Reuse the same key when retrying the same action so Sage does not do it twice.","schema":{"type":"string","minLength":1,"example":"idem_20260417_0001"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"externalId":{"type":"string","nullable":true,"minLength":1},"revisionNumber":{"type":"string","nullable":true,"minLength":1},"customerId":{"type":"string","nullable":true,"minLength":1},"label":{"type":"string","nullable":true,"minLength":1},"line1":{"type":"string","nullable":true,"minLength":1},"line2":{"type":"string","nullable":true,"minLength":1},"city":{"type":"string","nullable":true,"minLength":1},"region":{"type":"string","nullable":true,"minLength":1},"postalCode":{"type":"string","nullable":true,"minLength":1},"country":{"type":"string","nullable":true,"minLength":1}},"additionalProperties":{"nullable":true}},"examples":{"updateExample":{"summary":"Update Customer Addresses","value":{"revisionNumber":"7","label":"Billing"}}}}},"required":true,"description":"The customer addresses changes you want saved in Sage. Example payload matches the generated SDK request model.\n\n### What to send\n- Send only the fields you want Sage to change.\n- Use the same field names shown in the examples and generated SDK models.\n\n### Concurrency\nSend the latest `revisionNumber` when Sage returns one so updates stay aligned with the current desktop record.\n\n### Retry behavior\nAlways send `Idempotency-Key` on create and update requests. Reuse the same key when retrying the same logical action."},"responses":{"200":{"description":"The customer addresses after Sage saved the update.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_customer_address"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"customerId":{"type":"string","nullable":true,"minLength":1},"label":{"type":"string","nullable":true,"minLength":1},"line1":{"type":"string","nullable":true,"minLength":1},"line2":{"type":"string","nullable":true,"minLength":1},"city":{"type":"string","nullable":true,"minLength":1},"region":{"type":"string","nullable":true,"minLength":1},"postalCode":{"type":"string","nullable":true,"minLength":1},"country":{"type":"string","nullable":true,"minLength":1}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"customerAddresses":{"summary":"Customer Addresses","value":{"id":"customerAddress_123","objectType":"sage50_customer_address","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"CUSTOMERADDRESSES-123"},"customerId":"cust_123","label":"Billing","line1":"100 Main St","line2":"Suite 200","city":"Chicago","region":"IL","postalCode":"60601","country":"US"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"missingIdempotencyKey":{"summary":"Idempotency key required","value":{"error":{"message":"Missing required Idempotency-Key header","userFacingMessage":"Send an idempotency key and try again.","type":"validation_error","code":"IDEMPOTENCY_KEY_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"422":{"description":"Sage validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"sageValidationFailed":{"summary":"Sage rejected the request","value":{"error":{"message":"Sage rejected the customer address because one or more fields were invalid.","userFacingMessage":"Review the customer address details and try again.","type":"integration_validation_error","code":"SAGE_VALIDATION_FAILED","httpStatusCode":422,"requestId":"req_123","integrationCode":"VAL-1001","retryable":false,"correlationId":null,"details":{"fieldErrors":[{"field":"name","message":"Name is required."}]}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"updateSage50CustomerAddresses","summary":"Update Customer Address","description":"Update customer address in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when your app needs to save changes to an existing customer address.\n- Send the latest `revisionNumber` when Sage provides one so updates stay concurrency-safe.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Retry behavior\n- Send `Idempotency-Key` on every create and update request.\n- Reuse the same idempotency key when retrying the same logical action so Sage does not apply it twice.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst customerAddress = await client.sage50.customerAddresses.update({\n  connectionId: \"conn_123\",\n  id: \"customerAddress_123\",\n  idempotencyKey: \"idem_20260417_0001\",\n  revisionNumber: \"7\",\n  label: \"Billing\"\n});\n\nconsole.log(customerAddress);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\ncustomerAddress = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/customer-addresses/customerAddress_123\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\",\n        \"Idempotency-Key\": \"idem_20260417_0001\"\n    },\n    json={\n        \"revisionNumber\": \"7\",\n        \"label\": \"Billing\"\n    },\n)\ncustomerAddress.raise_for_status()\ncustomerAddress = customerAddress.json()\nprint(customerAddress)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/customer-addresses/customerAddress_123\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .header(\"Idempotency-Key\", \"idem_20260417_0001\")\n    .header(\"Content-Type\", \"application/json\")\n    .POST(HttpRequest.BodyPublishers.ofString(\"{\\n  \\\"revisionNumber\\\": \\\"7\\\",\\n  \\\"label\\\": \\\"Billing\\\"\\n}\"));\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/customer-addresses/customerAddress_123\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\" \\\n  --header \"Idempotency-Key: idem_20260417_0001\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n  \"revisionNumber\": \"7\",\n  \"label\": \"Billing\"\n}'"}]}},"/v1/sage-50/vendors":{"get":{"tags":["Vendors"],"responses":{"200":{"description":"A page of Sage 50 vendors.","content":{"application/json":{"schema":{"type":"object","properties":{"objectType":{"type":"string","enum":["list"]},"url":{"type":"string","minLength":1},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_vendor"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"code":{"type":"string","nullable":true,"minLength":1},"name":{"type":"string","nullable":true,"minLength":1},"displayName":{"type":"string","nullable":true,"minLength":1},"email":{"type":"string","nullable":true,"minLength":1},"phone":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"address":{"type":"object","nullable":true,"properties":{"line1":{"type":"string","nullable":true,"minLength":1},"line2":{"type":"string","nullable":true,"minLength":1},"city":{"type":"string","nullable":true,"minLength":1},"region":{"type":"string","nullable":true,"minLength":1},"postalCode":{"type":"string","nullable":true,"minLength":1},"country":{"type":"string","nullable":true,"minLength":1}},"additionalProperties":{"nullable":true}},"vendorNumber":{"type":"string","nullable":true,"minLength":1},"balance":{"type":"number","nullable":true}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}}},"nextCursor":{"type":"string","nullable":true},"hasMore":{"type":"boolean"},"remainingCount":{"type":"integer","minimum":0}},"required":["objectType","url","data","nextCursor","hasMore","remainingCount"]},"examples":{"list":{"summary":"Vendors page","value":{"objectType":"list","url":"/v1/sage-50/vendors","data":[{"id":"vendor_123","objectType":"sage50_vendor","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"VENDORS-123"},"code":"VEND-200","name":"Northwind Supply Co.","displayName":"Northwind Supply Co.","email":"orders@northwind.example","phone":"312-555-0199","status":"active","vendorNumber":"VEND-200","balance":980.45,"address":{"line1":"100 Main St","line2":"Suite 200","city":"Chicago","region":"IL","postalCode":"60601","country":"US"}}],"nextCursor":null,"hasMore":false,"remainingCount":0}},"emptyPage":{"summary":"No vendors found","value":{"objectType":"list","url":"/v1/sage-50/vendors","data":[],"nextCursor":null,"hasMore":false,"remainingCount":0}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"listSage50Vendors","summary":"Get Vendors","description":"Gets vendors from the selected Sage company through one country-neutral route.\n\n### When to use\n- Use this route when you need a page of vendors for sync, browsing, or search flows.\n- Prefer `updatedSince` plus `cursor` for incremental sync and resumable imports.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Pagination\n- Use `limit` to control page size.\n- Use `cursor` to continue from the previous page.\n- Use `updatedSince` when the connected Sage company supports incremental filtering.\n\n### Response shape\nReturns the standard list wrapper with normalized Sage resource objects inside `data`.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst vendors = await client.sage50.vendors.list({\n  connectionId: \"conn_123\",\n  limit: 20\n});\n\nconsole.log(vendors.data);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nvendors = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/vendors?limit=20\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\nvendors.raise_for_status()\nvendors = vendors.json()\nprint(vendors[\"data\"])"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/vendors?limit=20\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/vendors?limit=20\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"limit","in":"query","required":false,"description":"How many records to return at once.","schema":{"type":"integer","minimum":1,"maximum":150,"default":100,"example":100}},{"name":"cursor","in":"query","required":false,"description":"The next-page marker from a previous response.","schema":{"type":"string","minLength":1,"example":"cur_eyJvZmZzZXQiOjEwMH0"}},{"name":"updatedSince","in":"query","required":false,"description":"Only return records changed after this time, when the connected Sage company can support that filter.","schema":{"type":"string","format":"date-time","example":"2026-04-01T00:00:00.000Z"}}]},"post":{"tags":["Vendors"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"externalId":{"type":"string","nullable":true,"minLength":1},"revisionNumber":{"type":"string","nullable":true,"minLength":1},"code":{"type":"string","nullable":true,"minLength":1},"name":{"type":"string","nullable":true,"minLength":1},"displayName":{"type":"string","nullable":true,"minLength":1},"email":{"type":"string","nullable":true,"minLength":1},"phone":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"address":{"type":"object","nullable":true,"properties":{"line1":{"type":"string","nullable":true,"minLength":1},"line2":{"type":"string","nullable":true,"minLength":1},"city":{"type":"string","nullable":true,"minLength":1},"region":{"type":"string","nullable":true,"minLength":1},"postalCode":{"type":"string","nullable":true,"minLength":1},"country":{"type":"string","nullable":true,"minLength":1}},"additionalProperties":{"nullable":true}},"vendorNumber":{"type":"string","nullable":true,"minLength":1},"balance":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}},"examples":{"createExample":{"summary":"Create Vendors","value":{"externalId":"vendor_external_123","code":"VEND-200","name":"Northwind Supply Co.","displayName":"Northwind Supply Co.","email":"orders@northwind.example","phone":"312-555-0199","status":"active","vendorNumber":"VEND-200","balance":980.45,"address":{"line1":"100 Main St","line2":"Suite 200","city":"Chicago","region":"IL","postalCode":"60601","country":"US"}}}}}},"required":true,"description":"The vendors record you want created in Sage. Example payload matches the generated SDK request model.\n\n### What to send\n- Send the normalized fields your app wants Sage to create.\n- Use the same field names shown in the examples and generated SDK models.\n\n### Retry behavior\nAlways send `Idempotency-Key` on create and update requests. Reuse the same key when retrying the same logical action."},"responses":{"200":{"description":"The vendors Sage created.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_vendor"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"code":{"type":"string","nullable":true,"minLength":1},"name":{"type":"string","nullable":true,"minLength":1},"displayName":{"type":"string","nullable":true,"minLength":1},"email":{"type":"string","nullable":true,"minLength":1},"phone":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"address":{"type":"object","nullable":true,"properties":{"line1":{"type":"string","nullable":true,"minLength":1},"line2":{"type":"string","nullable":true,"minLength":1},"city":{"type":"string","nullable":true,"minLength":1},"region":{"type":"string","nullable":true,"minLength":1},"postalCode":{"type":"string","nullable":true,"minLength":1},"country":{"type":"string","nullable":true,"minLength":1}},"additionalProperties":{"nullable":true}},"vendorNumber":{"type":"string","nullable":true,"minLength":1},"balance":{"type":"number","nullable":true}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"vendors":{"summary":"Vendors","value":{"id":"vendor_123","objectType":"sage50_vendor","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"VENDORS-123"},"code":"VEND-200","name":"Northwind Supply Co.","displayName":"Northwind Supply Co.","email":"orders@northwind.example","phone":"312-555-0199","status":"active","vendorNumber":"VEND-200","balance":980.45,"address":{"line1":"100 Main St","line2":"Suite 200","city":"Chicago","region":"IL","postalCode":"60601","country":"US"}}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"missingIdempotencyKey":{"summary":"Idempotency key required","value":{"error":{"message":"Missing required Idempotency-Key header","userFacingMessage":"Send an idempotency key and try again.","type":"validation_error","code":"IDEMPOTENCY_KEY_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"422":{"description":"Sage validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"sageValidationFailed":{"summary":"Sage rejected the request","value":{"error":{"message":"Sage rejected the vendor because one or more fields were invalid.","userFacingMessage":"Review the vendor details and try again.","type":"integration_validation_error","code":"SAGE_VALIDATION_FAILED","httpStatusCode":422,"requestId":"req_123","integrationCode":"VAL-1001","retryable":false,"correlationId":null,"details":{"fieldErrors":[{"field":"name","message":"Name is required."}]}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"createSage50Vendors","summary":"Create Vendor","description":"Create vendor in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when your app is the source of truth for a new vendor.\n- Send an idempotency key whenever a network retry might happen.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Retry behavior\n- Send `Idempotency-Key` on every create and update request.\n- Reuse the same idempotency key when retrying the same logical action so Sage does not apply it twice.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst vendor = await client.sage50.vendors.create({\n  connectionId: \"conn_123\",\n  idempotencyKey: \"idem_20260417_0001\",\n  externalId: \"vendor_external_123\",\n  code: \"VEND-200\",\n  name: \"Northwind Supply Co.\",\n  displayName: \"Northwind Supply Co.\",\n  email: \"orders@northwind.example\",\n  phone: \"312-555-0199\",\n  status: \"active\",\n  vendorNumber: \"VEND-200\",\n  balance: 980.45,\n  address: {\n    line1: \"100 Main St\",\n    line2: \"Suite 200\",\n    city: \"Chicago\",\n    region: \"IL\",\n    postalCode: \"60601\",\n    country: \"US\"\n  }\n});\n\nconsole.log(vendor);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nvendor = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/vendors\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\",\n        \"Idempotency-Key\": \"idem_20260417_0001\"\n    },\n    json={\n        \"externalId\": \"vendor_external_123\",\n        \"code\": \"VEND-200\",\n        \"name\": \"Northwind Supply Co.\",\n        \"displayName\": \"Northwind Supply Co.\",\n        \"email\": \"orders@northwind.example\",\n        \"phone\": \"312-555-0199\",\n        \"status\": \"active\",\n        \"vendorNumber\": \"VEND-200\",\n        \"balance\": 980.45,\n        \"address\": {\n            \"line1\": \"100 Main St\",\n            \"line2\": \"Suite 200\",\n            \"city\": \"Chicago\",\n            \"region\": \"IL\",\n            \"postalCode\": \"60601\",\n            \"country\": \"US\"\n        }\n    },\n)\nvendor.raise_for_status()\nvendor = vendor.json()\nprint(vendor)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/vendors\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .header(\"Idempotency-Key\", \"idem_20260417_0001\")\n    .header(\"Content-Type\", \"application/json\")\n    .POST(HttpRequest.BodyPublishers.ofString(\"{\\n  \\\"externalId\\\": \\\"vendor_external_123\\\",\\n  \\\"code\\\": \\\"VEND-200\\\",\\n  \\\"name\\\": \\\"Northwind Supply Co.\\\",\\n  \\\"displayName\\\": \\\"Northwind Supply Co.\\\",\\n  \\\"email\\\": \\\"orders@northwind.example\\\",\\n  \\\"phone\\\": \\\"312-555-0199\\\",\\n  \\\"status\\\": \\\"active\\\",\\n  \\\"vendorNumber\\\": \\\"VEND-200\\\",\\n  \\\"balance\\\": 980.45,\\n  \\\"address\\\": {\\n    \\\"line1\\\": \\\"100 Main St\\\",\\n    \\\"line2\\\": \\\"Suite 200\\\",\\n    \\\"city\\\": \\\"Chicago\\\",\\n    \\\"region\\\": \\\"IL\\\",\\n    \\\"postalCode\\\": \\\"60601\\\",\\n    \\\"country\\\": \\\"US\\\"\\n  }\\n}\"));\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/vendors\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\" \\\n  --header \"Idempotency-Key: idem_20260417_0001\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n  \"externalId\": \"vendor_external_123\",\n  \"code\": \"VEND-200\",\n  \"name\": \"Northwind Supply Co.\",\n  \"displayName\": \"Northwind Supply Co.\",\n  \"email\": \"orders@northwind.example\",\n  \"phone\": \"312-555-0199\",\n  \"status\": \"active\",\n  \"vendorNumber\": \"VEND-200\",\n  \"balance\": 980.45,\n  \"address\": {\n    \"line1\": \"100 Main St\",\n    \"line2\": \"Suite 200\",\n    \"city\": \"Chicago\",\n    \"region\": \"IL\",\n    \"postalCode\": \"60601\",\n    \"country\": \"US\"\n  }\n}'"}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique key for this create or update. Reuse the same key when retrying the same action so Sage does not do it twice.","schema":{"type":"string","minLength":1,"example":"idem_20260417_0001"}}]}},"/v1/sage-50/vendors/{id}":{"get":{"tags":["Vendors"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"src_123"},"required":true,"name":"id","in":"path"},{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}}],"responses":{"200":{"description":"One Sage 50 vendor.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_vendor"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"code":{"type":"string","nullable":true,"minLength":1},"name":{"type":"string","nullable":true,"minLength":1},"displayName":{"type":"string","nullable":true,"minLength":1},"email":{"type":"string","nullable":true,"minLength":1},"phone":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"address":{"type":"object","nullable":true,"properties":{"line1":{"type":"string","nullable":true,"minLength":1},"line2":{"type":"string","nullable":true,"minLength":1},"city":{"type":"string","nullable":true,"minLength":1},"region":{"type":"string","nullable":true,"minLength":1},"postalCode":{"type":"string","nullable":true,"minLength":1},"country":{"type":"string","nullable":true,"minLength":1}},"additionalProperties":{"nullable":true}},"vendorNumber":{"type":"string","nullable":true,"minLength":1},"balance":{"type":"number","nullable":true}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"vendors":{"summary":"Vendors","value":{"id":"vendor_123","objectType":"sage50_vendor","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"VENDORS-123"},"code":"VEND-200","name":"Northwind Supply Co.","displayName":"Northwind Supply Co.","email":"orders@northwind.example","phone":"312-555-0199","status":"active","vendorNumber":"VEND-200","balance":980.45,"address":{"line1":"100 Main St","line2":"Suite 200","city":"Chicago","region":"IL","postalCode":"60601","country":"US"}}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"notFound":{"summary":"Vendors not found","value":{"error":{"message":"The requested vendor could not be found in Sage.","userFacingMessage":"Choose an existing vendor and try again.","type":"not_found_error","code":"NOT_FOUND","httpStatusCode":404,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"getSage50Vendors","summary":"Get one Vendor","description":"Get one vendor in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when you already know the id for one vendor.\n- Use the list route first when you need discovery or pagination.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst vendor = await client.sage50.vendors.get({\n  connectionId: \"conn_123\",\n  id: \"vendor_123\"\n});\n\nconsole.log(vendor);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nvendor = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/vendors/vendor_123\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\nvendor.raise_for_status()\nvendor = vendor.json()\nprint(vendor)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/vendors/vendor_123\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/vendors/vendor_123\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}]},"post":{"tags":["Vendors"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"src_123"},"required":true,"name":"id","in":"path"},{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique key for this create or update. Reuse the same key when retrying the same action so Sage does not do it twice.","schema":{"type":"string","minLength":1,"example":"idem_20260417_0001"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"externalId":{"type":"string","nullable":true,"minLength":1},"revisionNumber":{"type":"string","nullable":true,"minLength":1},"code":{"type":"string","nullable":true,"minLength":1},"name":{"type":"string","nullable":true,"minLength":1},"displayName":{"type":"string","nullable":true,"minLength":1},"email":{"type":"string","nullable":true,"minLength":1},"phone":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"address":{"type":"object","nullable":true,"properties":{"line1":{"type":"string","nullable":true,"minLength":1},"line2":{"type":"string","nullable":true,"minLength":1},"city":{"type":"string","nullable":true,"minLength":1},"region":{"type":"string","nullable":true,"minLength":1},"postalCode":{"type":"string","nullable":true,"minLength":1},"country":{"type":"string","nullable":true,"minLength":1}},"additionalProperties":{"nullable":true}},"vendorNumber":{"type":"string","nullable":true,"minLength":1},"balance":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}},"examples":{"updateExample":{"summary":"Update Vendors","value":{"revisionNumber":"7","name":"Northwind Supply Co.","displayName":"Northwind Supply Co.","status":"active","email":"orders@northwind.example","phone":"312-555-0199","address":{"line1":"100 Main St","line2":"Suite 200","city":"Chicago","region":"IL","postalCode":"60601","country":"US"}}}}}},"required":true,"description":"The vendors changes you want saved in Sage. Example payload matches the generated SDK request model.\n\n### What to send\n- Send only the fields you want Sage to change.\n- Use the same field names shown in the examples and generated SDK models.\n\n### Concurrency\nSend the latest `revisionNumber` when Sage returns one so updates stay aligned with the current desktop record.\n\n### Retry behavior\nAlways send `Idempotency-Key` on create and update requests. Reuse the same key when retrying the same logical action."},"responses":{"200":{"description":"The vendors after Sage saved the update.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_vendor"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"code":{"type":"string","nullable":true,"minLength":1},"name":{"type":"string","nullable":true,"minLength":1},"displayName":{"type":"string","nullable":true,"minLength":1},"email":{"type":"string","nullable":true,"minLength":1},"phone":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"address":{"type":"object","nullable":true,"properties":{"line1":{"type":"string","nullable":true,"minLength":1},"line2":{"type":"string","nullable":true,"minLength":1},"city":{"type":"string","nullable":true,"minLength":1},"region":{"type":"string","nullable":true,"minLength":1},"postalCode":{"type":"string","nullable":true,"minLength":1},"country":{"type":"string","nullable":true,"minLength":1}},"additionalProperties":{"nullable":true}},"vendorNumber":{"type":"string","nullable":true,"minLength":1},"balance":{"type":"number","nullable":true}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"vendors":{"summary":"Vendors","value":{"id":"vendor_123","objectType":"sage50_vendor","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"VENDORS-123"},"code":"VEND-200","name":"Northwind Supply Co.","displayName":"Northwind Supply Co.","email":"orders@northwind.example","phone":"312-555-0199","status":"active","vendorNumber":"VEND-200","balance":980.45,"address":{"line1":"100 Main St","line2":"Suite 200","city":"Chicago","region":"IL","postalCode":"60601","country":"US"}}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"missingIdempotencyKey":{"summary":"Idempotency key required","value":{"error":{"message":"Missing required Idempotency-Key header","userFacingMessage":"Send an idempotency key and try again.","type":"validation_error","code":"IDEMPOTENCY_KEY_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"422":{"description":"Sage validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"sageValidationFailed":{"summary":"Sage rejected the request","value":{"error":{"message":"Sage rejected the vendor because one or more fields were invalid.","userFacingMessage":"Review the vendor details and try again.","type":"integration_validation_error","code":"SAGE_VALIDATION_FAILED","httpStatusCode":422,"requestId":"req_123","integrationCode":"VAL-1001","retryable":false,"correlationId":null,"details":{"fieldErrors":[{"field":"name","message":"Name is required."}]}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"updateSage50Vendors","summary":"Update Vendor","description":"Update vendor in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when your app needs to save changes to an existing vendor.\n- Send the latest `revisionNumber` when Sage provides one so updates stay concurrency-safe.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Retry behavior\n- Send `Idempotency-Key` on every create and update request.\n- Reuse the same idempotency key when retrying the same logical action so Sage does not apply it twice.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst vendor = await client.sage50.vendors.update({\n  connectionId: \"conn_123\",\n  id: \"vendor_123\",\n  idempotencyKey: \"idem_20260417_0001\",\n  revisionNumber: \"7\",\n  name: \"Northwind Supply Co.\",\n  displayName: \"Northwind Supply Co.\",\n  status: \"active\",\n  email: \"orders@northwind.example\",\n  phone: \"312-555-0199\",\n  address: {\n    line1: \"100 Main St\",\n    line2: \"Suite 200\",\n    city: \"Chicago\",\n    region: \"IL\",\n    postalCode: \"60601\",\n    country: \"US\"\n  }\n});\n\nconsole.log(vendor);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nvendor = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/vendors/vendor_123\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\",\n        \"Idempotency-Key\": \"idem_20260417_0001\"\n    },\n    json={\n        \"revisionNumber\": \"7\",\n        \"name\": \"Northwind Supply Co.\",\n        \"displayName\": \"Northwind Supply Co.\",\n        \"status\": \"active\",\n        \"email\": \"orders@northwind.example\",\n        \"phone\": \"312-555-0199\",\n        \"address\": {\n            \"line1\": \"100 Main St\",\n            \"line2\": \"Suite 200\",\n            \"city\": \"Chicago\",\n            \"region\": \"IL\",\n            \"postalCode\": \"60601\",\n            \"country\": \"US\"\n        }\n    },\n)\nvendor.raise_for_status()\nvendor = vendor.json()\nprint(vendor)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/vendors/vendor_123\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .header(\"Idempotency-Key\", \"idem_20260417_0001\")\n    .header(\"Content-Type\", \"application/json\")\n    .POST(HttpRequest.BodyPublishers.ofString(\"{\\n  \\\"revisionNumber\\\": \\\"7\\\",\\n  \\\"name\\\": \\\"Northwind Supply Co.\\\",\\n  \\\"displayName\\\": \\\"Northwind Supply Co.\\\",\\n  \\\"status\\\": \\\"active\\\",\\n  \\\"email\\\": \\\"orders@northwind.example\\\",\\n  \\\"phone\\\": \\\"312-555-0199\\\",\\n  \\\"address\\\": {\\n    \\\"line1\\\": \\\"100 Main St\\\",\\n    \\\"line2\\\": \\\"Suite 200\\\",\\n    \\\"city\\\": \\\"Chicago\\\",\\n    \\\"region\\\": \\\"IL\\\",\\n    \\\"postalCode\\\": \\\"60601\\\",\\n    \\\"country\\\": \\\"US\\\"\\n  }\\n}\"));\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/vendors/vendor_123\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\" \\\n  --header \"Idempotency-Key: idem_20260417_0001\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n  \"revisionNumber\": \"7\",\n  \"name\": \"Northwind Supply Co.\",\n  \"displayName\": \"Northwind Supply Co.\",\n  \"status\": \"active\",\n  \"email\": \"orders@northwind.example\",\n  \"phone\": \"312-555-0199\",\n  \"address\": {\n    \"line1\": \"100 Main St\",\n    \"line2\": \"Suite 200\",\n    \"city\": \"Chicago\",\n    \"region\": \"IL\",\n    \"postalCode\": \"60601\",\n    \"country\": \"US\"\n  }\n}'"}]}},"/v1/sage-50/vendor-contacts":{"get":{"tags":["Vendor Contacts"],"responses":{"200":{"description":"A page of Sage 50 vendor contacts.","content":{"application/json":{"schema":{"type":"object","properties":{"objectType":{"type":"string","enum":["list"]},"url":{"type":"string","minLength":1},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_vendor_contact"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"vendorId":{"type":"string","nullable":true,"minLength":1},"firstName":{"type":"string","nullable":true,"minLength":1},"lastName":{"type":"string","nullable":true,"minLength":1},"email":{"type":"string","nullable":true,"minLength":1},"phone":{"type":"string","nullable":true,"minLength":1}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}}},"nextCursor":{"type":"string","nullable":true},"hasMore":{"type":"boolean"},"remainingCount":{"type":"integer","minimum":0}},"required":["objectType","url","data","nextCursor","hasMore","remainingCount"]},"examples":{"list":{"summary":"Vendor Contacts page","value":{"objectType":"list","url":"/v1/sage-50/vendor-contacts","data":[{"id":"vendorContact_123","objectType":"sage50_vendor_contact","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"VENDORCONTACTS-123"},"vendorId":"vendor_123","firstName":"Jamie","lastName":"Nguyen","email":"jamie@northwind.example","phone":"312-555-0198"}],"nextCursor":null,"hasMore":false,"remainingCount":0}},"emptyPage":{"summary":"No vendor contacts found","value":{"objectType":"list","url":"/v1/sage-50/vendor-contacts","data":[],"nextCursor":null,"hasMore":false,"remainingCount":0}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"listSage50VendorContacts","summary":"Get Vendor Contacts","description":"Gets vendor contacts from the selected Sage company through one country-neutral route.\n\n### When to use\n- Use this route when you need a page of vendor contacts for sync, browsing, or search flows.\n- Prefer `updatedSince` plus `cursor` for incremental sync and resumable imports.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Pagination\n- Use `limit` to control page size.\n- Use `cursor` to continue from the previous page.\n- Use `updatedSince` when the connected Sage company supports incremental filtering.\n\n### Response shape\nReturns the standard list wrapper with normalized Sage resource objects inside `data`.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst vendorContacts = await client.sage50.vendorContacts.list({\n  connectionId: \"conn_123\",\n  limit: 20\n});\n\nconsole.log(vendorContacts.data);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nvendorContacts = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/vendor-contacts?limit=20\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\nvendorContacts.raise_for_status()\nvendorContacts = vendorContacts.json()\nprint(vendorContacts[\"data\"])"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/vendor-contacts?limit=20\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/vendor-contacts?limit=20\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"limit","in":"query","required":false,"description":"How many records to return at once.","schema":{"type":"integer","minimum":1,"maximum":150,"default":100,"example":100}},{"name":"cursor","in":"query","required":false,"description":"The next-page marker from a previous response.","schema":{"type":"string","minLength":1,"example":"cur_eyJvZmZzZXQiOjEwMH0"}},{"name":"updatedSince","in":"query","required":false,"description":"Only return records changed after this time, when the connected Sage company can support that filter.","schema":{"type":"string","format":"date-time","example":"2026-04-01T00:00:00.000Z"}}]},"post":{"tags":["Vendor Contacts"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"externalId":{"type":"string","nullable":true,"minLength":1},"revisionNumber":{"type":"string","nullable":true,"minLength":1},"vendorId":{"type":"string","nullable":true,"minLength":1},"firstName":{"type":"string","nullable":true,"minLength":1},"lastName":{"type":"string","nullable":true,"minLength":1},"email":{"type":"string","nullable":true,"minLength":1},"phone":{"type":"string","nullable":true,"minLength":1}},"additionalProperties":{"nullable":true}},"examples":{"createExample":{"summary":"Create Vendor Contacts","value":{"externalId":"vendorContact_external_123","vendorId":"vendor_123","firstName":"Jamie","lastName":"Nguyen","email":"jamie@northwind.example","phone":"312-555-0198"}}}}},"required":true,"description":"The vendor contacts record you want created in Sage. Example payload matches the generated SDK request model.\n\n### What to send\n- Send the normalized fields your app wants Sage to create.\n- Use the same field names shown in the examples and generated SDK models.\n\n### Retry behavior\nAlways send `Idempotency-Key` on create and update requests. Reuse the same key when retrying the same logical action."},"responses":{"200":{"description":"The vendor contacts Sage created.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_vendor_contact"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"vendorId":{"type":"string","nullable":true,"minLength":1},"firstName":{"type":"string","nullable":true,"minLength":1},"lastName":{"type":"string","nullable":true,"minLength":1},"email":{"type":"string","nullable":true,"minLength":1},"phone":{"type":"string","nullable":true,"minLength":1}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"vendorContacts":{"summary":"Vendor Contacts","value":{"id":"vendorContact_123","objectType":"sage50_vendor_contact","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"VENDORCONTACTS-123"},"vendorId":"vendor_123","firstName":"Jamie","lastName":"Nguyen","email":"jamie@northwind.example","phone":"312-555-0198"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"missingIdempotencyKey":{"summary":"Idempotency key required","value":{"error":{"message":"Missing required Idempotency-Key header","userFacingMessage":"Send an idempotency key and try again.","type":"validation_error","code":"IDEMPOTENCY_KEY_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"422":{"description":"Sage validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"sageValidationFailed":{"summary":"Sage rejected the request","value":{"error":{"message":"Sage rejected the vendor contact because one or more fields were invalid.","userFacingMessage":"Review the vendor contact details and try again.","type":"integration_validation_error","code":"SAGE_VALIDATION_FAILED","httpStatusCode":422,"requestId":"req_123","integrationCode":"VAL-1001","retryable":false,"correlationId":null,"details":{"fieldErrors":[{"field":"name","message":"Name is required."}]}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"createSage50VendorContacts","summary":"Create Vendor Contact","description":"Create vendor contact in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when your app is the source of truth for a new vendor contact.\n- Send an idempotency key whenever a network retry might happen.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Retry behavior\n- Send `Idempotency-Key` on every create and update request.\n- Reuse the same idempotency key when retrying the same logical action so Sage does not apply it twice.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst vendorContact = await client.sage50.vendorContacts.create({\n  connectionId: \"conn_123\",\n  idempotencyKey: \"idem_20260417_0001\",\n  externalId: \"vendorContact_external_123\",\n  vendorId: \"vendor_123\",\n  firstName: \"Jamie\",\n  lastName: \"Nguyen\",\n  email: \"jamie@northwind.example\",\n  phone: \"312-555-0198\"\n});\n\nconsole.log(vendorContact);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nvendorContact = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/vendor-contacts\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\",\n        \"Idempotency-Key\": \"idem_20260417_0001\"\n    },\n    json={\n        \"externalId\": \"vendorContact_external_123\",\n        \"vendorId\": \"vendor_123\",\n        \"firstName\": \"Jamie\",\n        \"lastName\": \"Nguyen\",\n        \"email\": \"jamie@northwind.example\",\n        \"phone\": \"312-555-0198\"\n    },\n)\nvendorContact.raise_for_status()\nvendorContact = vendorContact.json()\nprint(vendorContact)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/vendor-contacts\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .header(\"Idempotency-Key\", \"idem_20260417_0001\")\n    .header(\"Content-Type\", \"application/json\")\n    .POST(HttpRequest.BodyPublishers.ofString(\"{\\n  \\\"externalId\\\": \\\"vendorContact_external_123\\\",\\n  \\\"vendorId\\\": \\\"vendor_123\\\",\\n  \\\"firstName\\\": \\\"Jamie\\\",\\n  \\\"lastName\\\": \\\"Nguyen\\\",\\n  \\\"email\\\": \\\"jamie@northwind.example\\\",\\n  \\\"phone\\\": \\\"312-555-0198\\\"\\n}\"));\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/vendor-contacts\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\" \\\n  --header \"Idempotency-Key: idem_20260417_0001\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n  \"externalId\": \"vendorContact_external_123\",\n  \"vendorId\": \"vendor_123\",\n  \"firstName\": \"Jamie\",\n  \"lastName\": \"Nguyen\",\n  \"email\": \"jamie@northwind.example\",\n  \"phone\": \"312-555-0198\"\n}'"}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique key for this create or update. Reuse the same key when retrying the same action so Sage does not do it twice.","schema":{"type":"string","minLength":1,"example":"idem_20260417_0001"}}]}},"/v1/sage-50/vendor-contacts/{id}":{"get":{"tags":["Vendor Contacts"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"src_123"},"required":true,"name":"id","in":"path"},{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}}],"responses":{"200":{"description":"One Sage 50 vendor contact.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_vendor_contact"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"vendorId":{"type":"string","nullable":true,"minLength":1},"firstName":{"type":"string","nullable":true,"minLength":1},"lastName":{"type":"string","nullable":true,"minLength":1},"email":{"type":"string","nullable":true,"minLength":1},"phone":{"type":"string","nullable":true,"minLength":1}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"vendorContacts":{"summary":"Vendor Contacts","value":{"id":"vendorContact_123","objectType":"sage50_vendor_contact","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"VENDORCONTACTS-123"},"vendorId":"vendor_123","firstName":"Jamie","lastName":"Nguyen","email":"jamie@northwind.example","phone":"312-555-0198"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"notFound":{"summary":"Vendor Contacts not found","value":{"error":{"message":"The requested vendor contact could not be found in Sage.","userFacingMessage":"Choose an existing vendor contact and try again.","type":"not_found_error","code":"NOT_FOUND","httpStatusCode":404,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"getSage50VendorContacts","summary":"Get one Vendor Contact","description":"Get one vendor contact in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when you already know the id for one vendor contact.\n- Use the list route first when you need discovery or pagination.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst vendorContact = await client.sage50.vendorContacts.get({\n  connectionId: \"conn_123\",\n  id: \"vendorContact_123\"\n});\n\nconsole.log(vendorContact);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nvendorContact = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/vendor-contacts/vendorContact_123\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\nvendorContact.raise_for_status()\nvendorContact = vendorContact.json()\nprint(vendorContact)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/vendor-contacts/vendorContact_123\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/vendor-contacts/vendorContact_123\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}]},"post":{"tags":["Vendor Contacts"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"src_123"},"required":true,"name":"id","in":"path"},{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique key for this create or update. Reuse the same key when retrying the same action so Sage does not do it twice.","schema":{"type":"string","minLength":1,"example":"idem_20260417_0001"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"externalId":{"type":"string","nullable":true,"minLength":1},"revisionNumber":{"type":"string","nullable":true,"minLength":1},"vendorId":{"type":"string","nullable":true,"minLength":1},"firstName":{"type":"string","nullable":true,"minLength":1},"lastName":{"type":"string","nullable":true,"minLength":1},"email":{"type":"string","nullable":true,"minLength":1},"phone":{"type":"string","nullable":true,"minLength":1}},"additionalProperties":{"nullable":true}},"examples":{"updateExample":{"summary":"Update Vendor Contacts","value":{"revisionNumber":"7","email":"jamie@northwind.example","phone":"312-555-0198"}}}}},"required":true,"description":"The vendor contacts changes you want saved in Sage. Example payload matches the generated SDK request model.\n\n### What to send\n- Send only the fields you want Sage to change.\n- Use the same field names shown in the examples and generated SDK models.\n\n### Concurrency\nSend the latest `revisionNumber` when Sage returns one so updates stay aligned with the current desktop record.\n\n### Retry behavior\nAlways send `Idempotency-Key` on create and update requests. Reuse the same key when retrying the same logical action."},"responses":{"200":{"description":"The vendor contacts after Sage saved the update.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_vendor_contact"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"vendorId":{"type":"string","nullable":true,"minLength":1},"firstName":{"type":"string","nullable":true,"minLength":1},"lastName":{"type":"string","nullable":true,"minLength":1},"email":{"type":"string","nullable":true,"minLength":1},"phone":{"type":"string","nullable":true,"minLength":1}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"vendorContacts":{"summary":"Vendor Contacts","value":{"id":"vendorContact_123","objectType":"sage50_vendor_contact","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"VENDORCONTACTS-123"},"vendorId":"vendor_123","firstName":"Jamie","lastName":"Nguyen","email":"jamie@northwind.example","phone":"312-555-0198"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"missingIdempotencyKey":{"summary":"Idempotency key required","value":{"error":{"message":"Missing required Idempotency-Key header","userFacingMessage":"Send an idempotency key and try again.","type":"validation_error","code":"IDEMPOTENCY_KEY_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"422":{"description":"Sage validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"sageValidationFailed":{"summary":"Sage rejected the request","value":{"error":{"message":"Sage rejected the vendor contact because one or more fields were invalid.","userFacingMessage":"Review the vendor contact details and try again.","type":"integration_validation_error","code":"SAGE_VALIDATION_FAILED","httpStatusCode":422,"requestId":"req_123","integrationCode":"VAL-1001","retryable":false,"correlationId":null,"details":{"fieldErrors":[{"field":"name","message":"Name is required."}]}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"updateSage50VendorContacts","summary":"Update Vendor Contact","description":"Update vendor contact in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when your app needs to save changes to an existing vendor contact.\n- Send the latest `revisionNumber` when Sage provides one so updates stay concurrency-safe.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Retry behavior\n- Send `Idempotency-Key` on every create and update request.\n- Reuse the same idempotency key when retrying the same logical action so Sage does not apply it twice.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst vendorContact = await client.sage50.vendorContacts.update({\n  connectionId: \"conn_123\",\n  id: \"vendorContact_123\",\n  idempotencyKey: \"idem_20260417_0001\",\n  revisionNumber: \"7\",\n  email: \"jamie@northwind.example\",\n  phone: \"312-555-0198\"\n});\n\nconsole.log(vendorContact);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nvendorContact = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/vendor-contacts/vendorContact_123\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\",\n        \"Idempotency-Key\": \"idem_20260417_0001\"\n    },\n    json={\n        \"revisionNumber\": \"7\",\n        \"email\": \"jamie@northwind.example\",\n        \"phone\": \"312-555-0198\"\n    },\n)\nvendorContact.raise_for_status()\nvendorContact = vendorContact.json()\nprint(vendorContact)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/vendor-contacts/vendorContact_123\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .header(\"Idempotency-Key\", \"idem_20260417_0001\")\n    .header(\"Content-Type\", \"application/json\")\n    .POST(HttpRequest.BodyPublishers.ofString(\"{\\n  \\\"revisionNumber\\\": \\\"7\\\",\\n  \\\"email\\\": \\\"jamie@northwind.example\\\",\\n  \\\"phone\\\": \\\"312-555-0198\\\"\\n}\"));\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/vendor-contacts/vendorContact_123\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\" \\\n  --header \"Idempotency-Key: idem_20260417_0001\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n  \"revisionNumber\": \"7\",\n  \"email\": \"jamie@northwind.example\",\n  \"phone\": \"312-555-0198\"\n}'"}]}},"/v1/sage-50/vendor-addresses":{"get":{"tags":["Vendor Addresses"],"responses":{"200":{"description":"A page of Sage 50 vendor addresses.","content":{"application/json":{"schema":{"type":"object","properties":{"objectType":{"type":"string","enum":["list"]},"url":{"type":"string","minLength":1},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_vendor_address"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"vendorId":{"type":"string","nullable":true,"minLength":1},"label":{"type":"string","nullable":true,"minLength":1},"line1":{"type":"string","nullable":true,"minLength":1},"line2":{"type":"string","nullable":true,"minLength":1},"city":{"type":"string","nullable":true,"minLength":1},"region":{"type":"string","nullable":true,"minLength":1},"postalCode":{"type":"string","nullable":true,"minLength":1},"country":{"type":"string","nullable":true,"minLength":1}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}}},"nextCursor":{"type":"string","nullable":true},"hasMore":{"type":"boolean"},"remainingCount":{"type":"integer","minimum":0}},"required":["objectType","url","data","nextCursor","hasMore","remainingCount"]},"examples":{"list":{"summary":"Vendor Addresses page","value":{"objectType":"list","url":"/v1/sage-50/vendor-addresses","data":[{"id":"vendorAddress_123","objectType":"sage50_vendor_address","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"VENDORADDRESSES-123"},"vendorId":"vendor_123","label":"Remit To","line1":"100 Main St","line2":"Suite 200","city":"Chicago","region":"IL","postalCode":"60601","country":"US"}],"nextCursor":null,"hasMore":false,"remainingCount":0}},"emptyPage":{"summary":"No vendor addresses found","value":{"objectType":"list","url":"/v1/sage-50/vendor-addresses","data":[],"nextCursor":null,"hasMore":false,"remainingCount":0}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"listSage50VendorAddresses","summary":"Get Vendor Addresses","description":"Gets vendor addresses from the selected Sage company through one country-neutral route.\n\n### When to use\n- Use this route when you need a page of vendor addresses for sync, browsing, or search flows.\n- Prefer `updatedSince` plus `cursor` for incremental sync and resumable imports.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Pagination\n- Use `limit` to control page size.\n- Use `cursor` to continue from the previous page.\n- Use `updatedSince` when the connected Sage company supports incremental filtering.\n\n### Response shape\nReturns the standard list wrapper with normalized Sage resource objects inside `data`.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst vendorAddresses = await client.sage50.vendorAddresses.list({\n  connectionId: \"conn_123\",\n  limit: 20\n});\n\nconsole.log(vendorAddresses.data);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nvendorAddresses = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/vendor-addresses?limit=20\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\nvendorAddresses.raise_for_status()\nvendorAddresses = vendorAddresses.json()\nprint(vendorAddresses[\"data\"])"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/vendor-addresses?limit=20\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/vendor-addresses?limit=20\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"limit","in":"query","required":false,"description":"How many records to return at once.","schema":{"type":"integer","minimum":1,"maximum":150,"default":100,"example":100}},{"name":"cursor","in":"query","required":false,"description":"The next-page marker from a previous response.","schema":{"type":"string","minLength":1,"example":"cur_eyJvZmZzZXQiOjEwMH0"}},{"name":"updatedSince","in":"query","required":false,"description":"Only return records changed after this time, when the connected Sage company can support that filter.","schema":{"type":"string","format":"date-time","example":"2026-04-01T00:00:00.000Z"}}]},"post":{"tags":["Vendor Addresses"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"externalId":{"type":"string","nullable":true,"minLength":1},"revisionNumber":{"type":"string","nullable":true,"minLength":1},"vendorId":{"type":"string","nullable":true,"minLength":1},"label":{"type":"string","nullable":true,"minLength":1},"line1":{"type":"string","nullable":true,"minLength":1},"line2":{"type":"string","nullable":true,"minLength":1},"city":{"type":"string","nullable":true,"minLength":1},"region":{"type":"string","nullable":true,"minLength":1},"postalCode":{"type":"string","nullable":true,"minLength":1},"country":{"type":"string","nullable":true,"minLength":1}},"additionalProperties":{"nullable":true}},"examples":{"createExample":{"summary":"Create Vendor Addresses","value":{"externalId":"vendorAddress_external_123","vendorId":"vendor_123","label":"Remit To","line1":"100 Main St","line2":"Suite 200","city":"Chicago","region":"IL","postalCode":"60601","country":"US"}}}}},"required":true,"description":"The vendor addresses record you want created in Sage. Example payload matches the generated SDK request model.\n\n### What to send\n- Send the normalized fields your app wants Sage to create.\n- Use the same field names shown in the examples and generated SDK models.\n\n### Retry behavior\nAlways send `Idempotency-Key` on create and update requests. Reuse the same key when retrying the same logical action."},"responses":{"200":{"description":"The vendor addresses Sage created.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_vendor_address"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"vendorId":{"type":"string","nullable":true,"minLength":1},"label":{"type":"string","nullable":true,"minLength":1},"line1":{"type":"string","nullable":true,"minLength":1},"line2":{"type":"string","nullable":true,"minLength":1},"city":{"type":"string","nullable":true,"minLength":1},"region":{"type":"string","nullable":true,"minLength":1},"postalCode":{"type":"string","nullable":true,"minLength":1},"country":{"type":"string","nullable":true,"minLength":1}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"vendorAddresses":{"summary":"Vendor Addresses","value":{"id":"vendorAddress_123","objectType":"sage50_vendor_address","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"VENDORADDRESSES-123"},"vendorId":"vendor_123","label":"Remit To","line1":"100 Main St","line2":"Suite 200","city":"Chicago","region":"IL","postalCode":"60601","country":"US"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"missingIdempotencyKey":{"summary":"Idempotency key required","value":{"error":{"message":"Missing required Idempotency-Key header","userFacingMessage":"Send an idempotency key and try again.","type":"validation_error","code":"IDEMPOTENCY_KEY_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"422":{"description":"Sage validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"sageValidationFailed":{"summary":"Sage rejected the request","value":{"error":{"message":"Sage rejected the vendor address because one or more fields were invalid.","userFacingMessage":"Review the vendor address details and try again.","type":"integration_validation_error","code":"SAGE_VALIDATION_FAILED","httpStatusCode":422,"requestId":"req_123","integrationCode":"VAL-1001","retryable":false,"correlationId":null,"details":{"fieldErrors":[{"field":"name","message":"Name is required."}]}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"createSage50VendorAddresses","summary":"Create Vendor Address","description":"Create vendor address in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when your app is the source of truth for a new vendor address.\n- Send an idempotency key whenever a network retry might happen.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Retry behavior\n- Send `Idempotency-Key` on every create and update request.\n- Reuse the same idempotency key when retrying the same logical action so Sage does not apply it twice.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst vendorAddress = await client.sage50.vendorAddresses.create({\n  connectionId: \"conn_123\",\n  idempotencyKey: \"idem_20260417_0001\",\n  externalId: \"vendorAddress_external_123\",\n  vendorId: \"vendor_123\",\n  label: \"Remit To\",\n  line1: \"100 Main St\",\n  line2: \"Suite 200\",\n  city: \"Chicago\",\n  region: \"IL\",\n  postalCode: \"60601\",\n  country: \"US\"\n});\n\nconsole.log(vendorAddress);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nvendorAddress = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/vendor-addresses\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\",\n        \"Idempotency-Key\": \"idem_20260417_0001\"\n    },\n    json={\n        \"externalId\": \"vendorAddress_external_123\",\n        \"vendorId\": \"vendor_123\",\n        \"label\": \"Remit To\",\n        \"line1\": \"100 Main St\",\n        \"line2\": \"Suite 200\",\n        \"city\": \"Chicago\",\n        \"region\": \"IL\",\n        \"postalCode\": \"60601\",\n        \"country\": \"US\"\n    },\n)\nvendorAddress.raise_for_status()\nvendorAddress = vendorAddress.json()\nprint(vendorAddress)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/vendor-addresses\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .header(\"Idempotency-Key\", \"idem_20260417_0001\")\n    .header(\"Content-Type\", \"application/json\")\n    .POST(HttpRequest.BodyPublishers.ofString(\"{\\n  \\\"externalId\\\": \\\"vendorAddress_external_123\\\",\\n  \\\"vendorId\\\": \\\"vendor_123\\\",\\n  \\\"label\\\": \\\"Remit To\\\",\\n  \\\"line1\\\": \\\"100 Main St\\\",\\n  \\\"line2\\\": \\\"Suite 200\\\",\\n  \\\"city\\\": \\\"Chicago\\\",\\n  \\\"region\\\": \\\"IL\\\",\\n  \\\"postalCode\\\": \\\"60601\\\",\\n  \\\"country\\\": \\\"US\\\"\\n}\"));\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/vendor-addresses\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\" \\\n  --header \"Idempotency-Key: idem_20260417_0001\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n  \"externalId\": \"vendorAddress_external_123\",\n  \"vendorId\": \"vendor_123\",\n  \"label\": \"Remit To\",\n  \"line1\": \"100 Main St\",\n  \"line2\": \"Suite 200\",\n  \"city\": \"Chicago\",\n  \"region\": \"IL\",\n  \"postalCode\": \"60601\",\n  \"country\": \"US\"\n}'"}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique key for this create or update. Reuse the same key when retrying the same action so Sage does not do it twice.","schema":{"type":"string","minLength":1,"example":"idem_20260417_0001"}}]}},"/v1/sage-50/vendor-addresses/{id}":{"get":{"tags":["Vendor Addresses"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"src_123"},"required":true,"name":"id","in":"path"},{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}}],"responses":{"200":{"description":"One Sage 50 vendor address.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_vendor_address"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"vendorId":{"type":"string","nullable":true,"minLength":1},"label":{"type":"string","nullable":true,"minLength":1},"line1":{"type":"string","nullable":true,"minLength":1},"line2":{"type":"string","nullable":true,"minLength":1},"city":{"type":"string","nullable":true,"minLength":1},"region":{"type":"string","nullable":true,"minLength":1},"postalCode":{"type":"string","nullable":true,"minLength":1},"country":{"type":"string","nullable":true,"minLength":1}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"vendorAddresses":{"summary":"Vendor Addresses","value":{"id":"vendorAddress_123","objectType":"sage50_vendor_address","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"VENDORADDRESSES-123"},"vendorId":"vendor_123","label":"Remit To","line1":"100 Main St","line2":"Suite 200","city":"Chicago","region":"IL","postalCode":"60601","country":"US"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"notFound":{"summary":"Vendor Addresses not found","value":{"error":{"message":"The requested vendor address could not be found in Sage.","userFacingMessage":"Choose an existing vendor address and try again.","type":"not_found_error","code":"NOT_FOUND","httpStatusCode":404,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"getSage50VendorAddresses","summary":"Get one Vendor Address","description":"Get one vendor address in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when you already know the id for one vendor address.\n- Use the list route first when you need discovery or pagination.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst vendorAddress = await client.sage50.vendorAddresses.get({\n  connectionId: \"conn_123\",\n  id: \"vendorAddress_123\"\n});\n\nconsole.log(vendorAddress);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nvendorAddress = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/vendor-addresses/vendorAddress_123\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\nvendorAddress.raise_for_status()\nvendorAddress = vendorAddress.json()\nprint(vendorAddress)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/vendor-addresses/vendorAddress_123\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/vendor-addresses/vendorAddress_123\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}]},"post":{"tags":["Vendor Addresses"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"src_123"},"required":true,"name":"id","in":"path"},{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique key for this create or update. Reuse the same key when retrying the same action so Sage does not do it twice.","schema":{"type":"string","minLength":1,"example":"idem_20260417_0001"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"externalId":{"type":"string","nullable":true,"minLength":1},"revisionNumber":{"type":"string","nullable":true,"minLength":1},"vendorId":{"type":"string","nullable":true,"minLength":1},"label":{"type":"string","nullable":true,"minLength":1},"line1":{"type":"string","nullable":true,"minLength":1},"line2":{"type":"string","nullable":true,"minLength":1},"city":{"type":"string","nullable":true,"minLength":1},"region":{"type":"string","nullable":true,"minLength":1},"postalCode":{"type":"string","nullable":true,"minLength":1},"country":{"type":"string","nullable":true,"minLength":1}},"additionalProperties":{"nullable":true}},"examples":{"updateExample":{"summary":"Update Vendor Addresses","value":{"revisionNumber":"7","label":"Remit To"}}}}},"required":true,"description":"The vendor addresses changes you want saved in Sage. Example payload matches the generated SDK request model.\n\n### What to send\n- Send only the fields you want Sage to change.\n- Use the same field names shown in the examples and generated SDK models.\n\n### Concurrency\nSend the latest `revisionNumber` when Sage returns one so updates stay aligned with the current desktop record.\n\n### Retry behavior\nAlways send `Idempotency-Key` on create and update requests. Reuse the same key when retrying the same logical action."},"responses":{"200":{"description":"The vendor addresses after Sage saved the update.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_vendor_address"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"vendorId":{"type":"string","nullable":true,"minLength":1},"label":{"type":"string","nullable":true,"minLength":1},"line1":{"type":"string","nullable":true,"minLength":1},"line2":{"type":"string","nullable":true,"minLength":1},"city":{"type":"string","nullable":true,"minLength":1},"region":{"type":"string","nullable":true,"minLength":1},"postalCode":{"type":"string","nullable":true,"minLength":1},"country":{"type":"string","nullable":true,"minLength":1}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"vendorAddresses":{"summary":"Vendor Addresses","value":{"id":"vendorAddress_123","objectType":"sage50_vendor_address","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"VENDORADDRESSES-123"},"vendorId":"vendor_123","label":"Remit To","line1":"100 Main St","line2":"Suite 200","city":"Chicago","region":"IL","postalCode":"60601","country":"US"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"missingIdempotencyKey":{"summary":"Idempotency key required","value":{"error":{"message":"Missing required Idempotency-Key header","userFacingMessage":"Send an idempotency key and try again.","type":"validation_error","code":"IDEMPOTENCY_KEY_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"422":{"description":"Sage validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"sageValidationFailed":{"summary":"Sage rejected the request","value":{"error":{"message":"Sage rejected the vendor address because one or more fields were invalid.","userFacingMessage":"Review the vendor address details and try again.","type":"integration_validation_error","code":"SAGE_VALIDATION_FAILED","httpStatusCode":422,"requestId":"req_123","integrationCode":"VAL-1001","retryable":false,"correlationId":null,"details":{"fieldErrors":[{"field":"name","message":"Name is required."}]}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"updateSage50VendorAddresses","summary":"Update Vendor Address","description":"Update vendor address in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when your app needs to save changes to an existing vendor address.\n- Send the latest `revisionNumber` when Sage provides one so updates stay concurrency-safe.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Retry behavior\n- Send `Idempotency-Key` on every create and update request.\n- Reuse the same idempotency key when retrying the same logical action so Sage does not apply it twice.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst vendorAddress = await client.sage50.vendorAddresses.update({\n  connectionId: \"conn_123\",\n  id: \"vendorAddress_123\",\n  idempotencyKey: \"idem_20260417_0001\",\n  revisionNumber: \"7\",\n  label: \"Remit To\"\n});\n\nconsole.log(vendorAddress);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nvendorAddress = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/vendor-addresses/vendorAddress_123\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\",\n        \"Idempotency-Key\": \"idem_20260417_0001\"\n    },\n    json={\n        \"revisionNumber\": \"7\",\n        \"label\": \"Remit To\"\n    },\n)\nvendorAddress.raise_for_status()\nvendorAddress = vendorAddress.json()\nprint(vendorAddress)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/vendor-addresses/vendorAddress_123\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .header(\"Idempotency-Key\", \"idem_20260417_0001\")\n    .header(\"Content-Type\", \"application/json\")\n    .POST(HttpRequest.BodyPublishers.ofString(\"{\\n  \\\"revisionNumber\\\": \\\"7\\\",\\n  \\\"label\\\": \\\"Remit To\\\"\\n}\"));\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/vendor-addresses/vendorAddress_123\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\" \\\n  --header \"Idempotency-Key: idem_20260417_0001\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n  \"revisionNumber\": \"7\",\n  \"label\": \"Remit To\"\n}'"}]}},"/v1/sage-50/items":{"get":{"tags":["Items"],"responses":{"200":{"description":"A page of Sage 50 items.","content":{"application/json":{"schema":{"type":"object","properties":{"objectType":{"type":"string","enum":["list"]},"url":{"type":"string","minLength":1},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_item"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"sku":{"type":"string","nullable":true,"minLength":1},"name":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"itemType":{"type":"string","nullable":true,"minLength":1},"quantityOnHand":{"type":"number","nullable":true},"salesPrice":{"type":"number","nullable":true},"purchasePrice":{"type":"number","nullable":true},"unitOfMeasure":{"type":"string","nullable":true,"minLength":1}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}}},"nextCursor":{"type":"string","nullable":true},"hasMore":{"type":"boolean"},"remainingCount":{"type":"integer","minimum":0}},"required":["objectType","url","data","nextCursor","hasMore","remainingCount"]},"examples":{"list":{"summary":"Items page","value":{"objectType":"list","url":"/v1/sage-50/items","data":[{"id":"item_123","objectType":"sage50_item","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"ITEMS-123"},"sku":"WIDGET-001","name":"Widget","description":"Standard stock widget","itemType":"inventory","quantityOnHand":42,"salesPrice":49.95,"purchasePrice":29.5,"unitOfMeasure":"each"}],"nextCursor":null,"hasMore":false,"remainingCount":0}},"emptyPage":{"summary":"No items found","value":{"objectType":"list","url":"/v1/sage-50/items","data":[],"nextCursor":null,"hasMore":false,"remainingCount":0}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"listSage50Items","summary":"Get items from Sage 50","description":"Gets items from the selected Sage company through one country-neutral route.\n\n### When to use\n- Use this route when you need a page of items for sync, browsing, or search flows.\n- Prefer `updatedSince` plus `cursor` for incremental sync and resumable imports.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Pagination\n- Use `limit` to control page size.\n- Use `cursor` to continue from the previous page.\n- Use `updatedSince` when the connected Sage company supports incremental filtering.\n\n### Response shape\nReturns the standard list wrapper with normalized Sage resource objects inside `data`.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst items = await client.sage50.items.list({\n  connectionId: \"conn_123\",\n  limit: 20,\n});\n\nconsole.log(items.data);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nitems = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/items?limit=20\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\nitems.raise_for_status()\nitems = items.json()\nprint(items[\"data\"])"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/items?limit=20\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/items?limit=20\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"limit","in":"query","required":false,"description":"How many records to return at once.","schema":{"type":"integer","minimum":1,"maximum":150,"default":100,"example":100}},{"name":"cursor","in":"query","required":false,"description":"The next-page marker from a previous response.","schema":{"type":"string","minLength":1,"example":"cur_eyJvZmZzZXQiOjEwMH0"}},{"name":"updatedSince","in":"query","required":false,"description":"Only return records changed after this time, when the connected Sage company can support that filter.","schema":{"type":"string","format":"date-time","example":"2026-04-01T00:00:00.000Z"}}]},"post":{"tags":["Items"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"externalId":{"type":"string","nullable":true,"minLength":1},"revisionNumber":{"type":"string","nullable":true,"minLength":1},"sku":{"type":"string","nullable":true,"minLength":1},"name":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"itemType":{"type":"string","nullable":true,"minLength":1},"quantityOnHand":{"type":"number","nullable":true},"salesPrice":{"type":"number","nullable":true},"purchasePrice":{"type":"number","nullable":true},"unitOfMeasure":{"type":"string","nullable":true,"minLength":1}},"additionalProperties":{"nullable":true}},"examples":{"createExample":{"summary":"Create Items","value":{"externalId":"item_external_123","sku":"WIDGET-001","name":"Widget","description":"Standard stock widget","itemType":"inventory","quantityOnHand":42,"salesPrice":49.95,"purchasePrice":29.5,"unitOfMeasure":"each"}}}}},"required":true,"description":"The items record you want created in Sage. Example payload matches the generated SDK request model.\n\n### What to send\n- Send the normalized fields your app wants Sage to create.\n- Use the same field names shown in the examples and generated SDK models.\n\n### Retry behavior\nAlways send `Idempotency-Key` on create and update requests. Reuse the same key when retrying the same logical action."},"responses":{"200":{"description":"The items Sage created.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_item"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"sku":{"type":"string","nullable":true,"minLength":1},"name":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"itemType":{"type":"string","nullable":true,"minLength":1},"quantityOnHand":{"type":"number","nullable":true},"salesPrice":{"type":"number","nullable":true},"purchasePrice":{"type":"number","nullable":true},"unitOfMeasure":{"type":"string","nullable":true,"minLength":1}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"items":{"summary":"Items","value":{"id":"item_123","objectType":"sage50_item","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"ITEMS-123"},"sku":"WIDGET-001","name":"Widget","description":"Standard stock widget","itemType":"inventory","quantityOnHand":42,"salesPrice":49.95,"purchasePrice":29.5,"unitOfMeasure":"each"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"missingIdempotencyKey":{"summary":"Idempotency key required","value":{"error":{"message":"Missing required Idempotency-Key header","userFacingMessage":"Send an idempotency key and try again.","type":"validation_error","code":"IDEMPOTENCY_KEY_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"422":{"description":"Sage validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"sageValidationFailed":{"summary":"Sage rejected the request","value":{"error":{"message":"Sage rejected the item because one or more fields were invalid.","userFacingMessage":"Review the item details and try again.","type":"integration_validation_error","code":"SAGE_VALIDATION_FAILED","httpStatusCode":422,"requestId":"req_123","integrationCode":"VAL-1001","retryable":false,"correlationId":null,"details":{"fieldErrors":[{"field":"name","message":"Name is required."}]}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"createSage50Items","summary":"Create Item","description":"Create item in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when your app is the source of truth for a new item.\n- Send an idempotency key whenever a network retry might happen.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Retry behavior\n- Send `Idempotency-Key` on every create and update request.\n- Reuse the same idempotency key when retrying the same logical action so Sage does not apply it twice.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst item = await client.sage50.items.create({\n  connectionId: \"conn_123\",\n  idempotencyKey: \"idem_20260417_0001\",\n  externalId: \"item_external_123\",\n  sku: \"WIDGET-001\",\n  name: \"Widget\",\n  description: \"Standard stock widget\",\n  itemType: \"inventory\",\n  quantityOnHand: 42,\n  salesPrice: 49.95,\n  purchasePrice: 29.5,\n  unitOfMeasure: \"each\"\n});\n\nconsole.log(item);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nitem = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/items\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\",\n        \"Idempotency-Key\": \"idem_20260417_0001\"\n    },\n    json={\n        \"externalId\": \"item_external_123\",\n        \"sku\": \"WIDGET-001\",\n        \"name\": \"Widget\",\n        \"description\": \"Standard stock widget\",\n        \"itemType\": \"inventory\",\n        \"quantityOnHand\": 42,\n        \"salesPrice\": 49.95,\n        \"purchasePrice\": 29.5,\n        \"unitOfMeasure\": \"each\"\n    },\n)\nitem.raise_for_status()\nitem = item.json()\nprint(item)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/items\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .header(\"Idempotency-Key\", \"idem_20260417_0001\")\n    .header(\"Content-Type\", \"application/json\")\n    .POST(HttpRequest.BodyPublishers.ofString(\"{\\n  \\\"externalId\\\": \\\"item_external_123\\\",\\n  \\\"sku\\\": \\\"WIDGET-001\\\",\\n  \\\"name\\\": \\\"Widget\\\",\\n  \\\"description\\\": \\\"Standard stock widget\\\",\\n  \\\"itemType\\\": \\\"inventory\\\",\\n  \\\"quantityOnHand\\\": 42,\\n  \\\"salesPrice\\\": 49.95,\\n  \\\"purchasePrice\\\": 29.5,\\n  \\\"unitOfMeasure\\\": \\\"each\\\"\\n}\"));\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/items\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\" \\\n  --header \"Idempotency-Key: idem_20260417_0001\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n  \"externalId\": \"item_external_123\",\n  \"sku\": \"WIDGET-001\",\n  \"name\": \"Widget\",\n  \"description\": \"Standard stock widget\",\n  \"itemType\": \"inventory\",\n  \"quantityOnHand\": 42,\n  \"salesPrice\": 49.95,\n  \"purchasePrice\": 29.5,\n  \"unitOfMeasure\": \"each\"\n}'"}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique key for this create or update. Reuse the same key when retrying the same action so Sage does not do it twice.","schema":{"type":"string","minLength":1,"example":"idem_20260417_0001"}}]}},"/v1/sage-50/items/{id}":{"get":{"tags":["Items"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"src_123"},"required":true,"name":"id","in":"path"},{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}}],"responses":{"200":{"description":"One Sage 50 item.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_item"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"sku":{"type":"string","nullable":true,"minLength":1},"name":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"itemType":{"type":"string","nullable":true,"minLength":1},"quantityOnHand":{"type":"number","nullable":true},"salesPrice":{"type":"number","nullable":true},"purchasePrice":{"type":"number","nullable":true},"unitOfMeasure":{"type":"string","nullable":true,"minLength":1}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"items":{"summary":"Items","value":{"id":"item_123","objectType":"sage50_item","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"ITEMS-123"},"sku":"WIDGET-001","name":"Widget","description":"Standard stock widget","itemType":"inventory","quantityOnHand":42,"salesPrice":49.95,"purchasePrice":29.5,"unitOfMeasure":"each"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"notFound":{"summary":"Items not found","value":{"error":{"message":"The requested item could not be found in Sage.","userFacingMessage":"Choose an existing item and try again.","type":"not_found_error","code":"NOT_FOUND","httpStatusCode":404,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"getSage50Item","summary":"Get one Sage 50 item","description":"Get one item in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when you already know the id for one item.\n- Use the list route first when you need discovery or pagination.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst item = await client.sage50.items.get({\n  connectionId: \"conn_123\",\n  id: \"item_123\",\n});\n\nconsole.log(item);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nitem = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/items/item_123\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\nitem.raise_for_status()\nitem = item.json()\nprint(item)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/items/item_123\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/items/item_123\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}]},"post":{"tags":["Items"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"src_123"},"required":true,"name":"id","in":"path"},{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique key for this create or update. Reuse the same key when retrying the same action so Sage does not do it twice.","schema":{"type":"string","minLength":1,"example":"idem_20260417_0001"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"externalId":{"type":"string","nullable":true,"minLength":1},"revisionNumber":{"type":"string","nullable":true,"minLength":1},"sku":{"type":"string","nullable":true,"minLength":1},"name":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"itemType":{"type":"string","nullable":true,"minLength":1},"quantityOnHand":{"type":"number","nullable":true},"salesPrice":{"type":"number","nullable":true},"purchasePrice":{"type":"number","nullable":true},"unitOfMeasure":{"type":"string","nullable":true,"minLength":1}},"additionalProperties":{"nullable":true}},"examples":{"updateExample":{"summary":"Update Items","value":{"revisionNumber":"7","name":"Widget","description":"Standard stock widget","salesPrice":49.95,"purchasePrice":29.5}}}}},"required":true,"description":"The items changes you want saved in Sage. Example payload matches the generated SDK request model.\n\n### What to send\n- Send only the fields you want Sage to change.\n- Use the same field names shown in the examples and generated SDK models.\n\n### Concurrency\nSend the latest `revisionNumber` when Sage returns one so updates stay aligned with the current desktop record.\n\n### Retry behavior\nAlways send `Idempotency-Key` on create and update requests. Reuse the same key when retrying the same logical action."},"responses":{"200":{"description":"The items after Sage saved the update.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_item"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"sku":{"type":"string","nullable":true,"minLength":1},"name":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"itemType":{"type":"string","nullable":true,"minLength":1},"quantityOnHand":{"type":"number","nullable":true},"salesPrice":{"type":"number","nullable":true},"purchasePrice":{"type":"number","nullable":true},"unitOfMeasure":{"type":"string","nullable":true,"minLength":1}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"items":{"summary":"Items","value":{"id":"item_123","objectType":"sage50_item","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"ITEMS-123"},"sku":"WIDGET-001","name":"Widget","description":"Standard stock widget","itemType":"inventory","quantityOnHand":42,"salesPrice":49.95,"purchasePrice":29.5,"unitOfMeasure":"each"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"missingIdempotencyKey":{"summary":"Idempotency key required","value":{"error":{"message":"Missing required Idempotency-Key header","userFacingMessage":"Send an idempotency key and try again.","type":"validation_error","code":"IDEMPOTENCY_KEY_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"422":{"description":"Sage validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"sageValidationFailed":{"summary":"Sage rejected the request","value":{"error":{"message":"Sage rejected the item because one or more fields were invalid.","userFacingMessage":"Review the item details and try again.","type":"integration_validation_error","code":"SAGE_VALIDATION_FAILED","httpStatusCode":422,"requestId":"req_123","integrationCode":"VAL-1001","retryable":false,"correlationId":null,"details":{"fieldErrors":[{"field":"name","message":"Name is required."}]}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"updateSage50Items","summary":"Update Item","description":"Update item in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when your app needs to save changes to an existing item.\n- Send the latest `revisionNumber` when Sage provides one so updates stay concurrency-safe.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Retry behavior\n- Send `Idempotency-Key` on every create and update request.\n- Reuse the same idempotency key when retrying the same logical action so Sage does not apply it twice.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst item = await client.sage50.items.update({\n  connectionId: \"conn_123\",\n  id: \"item_123\",\n  idempotencyKey: \"idem_20260417_0001\",\n  revisionNumber: \"7\",\n  name: \"Widget\",\n  description: \"Standard stock widget\",\n  salesPrice: 49.95,\n  purchasePrice: 29.5\n});\n\nconsole.log(item);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nitem = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/items/item_123\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\",\n        \"Idempotency-Key\": \"idem_20260417_0001\"\n    },\n    json={\n        \"revisionNumber\": \"7\",\n        \"name\": \"Widget\",\n        \"description\": \"Standard stock widget\",\n        \"salesPrice\": 49.95,\n        \"purchasePrice\": 29.5\n    },\n)\nitem.raise_for_status()\nitem = item.json()\nprint(item)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/items/item_123\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .header(\"Idempotency-Key\", \"idem_20260417_0001\")\n    .header(\"Content-Type\", \"application/json\")\n    .POST(HttpRequest.BodyPublishers.ofString(\"{\\n  \\\"revisionNumber\\\": \\\"7\\\",\\n  \\\"name\\\": \\\"Widget\\\",\\n  \\\"description\\\": \\\"Standard stock widget\\\",\\n  \\\"salesPrice\\\": 49.95,\\n  \\\"purchasePrice\\\": 29.5\\n}\"));\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/items/item_123\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\" \\\n  --header \"Idempotency-Key: idem_20260417_0001\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n  \"revisionNumber\": \"7\",\n  \"name\": \"Widget\",\n  \"description\": \"Standard stock widget\",\n  \"salesPrice\": 49.95,\n  \"purchasePrice\": 29.5\n}'"}]}},"/v1/sage-50/item-categories":{"get":{"tags":["Item Categories"],"responses":{"200":{"description":"A page of Sage 50 item categories.","content":{"application/json":{"schema":{"type":"object","properties":{"objectType":{"type":"string","enum":["list"]},"url":{"type":"string","minLength":1},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_item_category"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"code":{"type":"string","nullable":true,"minLength":1},"name":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}}},"nextCursor":{"type":"string","nullable":true},"hasMore":{"type":"boolean"},"remainingCount":{"type":"integer","minimum":0}},"required":["objectType","url","data","nextCursor","hasMore","remainingCount"]},"examples":{"list":{"summary":"Item Categories page","value":{"objectType":"list","url":"/v1/sage-50/item-categories","data":[{"id":"itemCategory_123","objectType":"sage50_item_category","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"ITEMCATEGORIES-123"},"code":"RAW","name":"Raw Materials","description":"Items bought for production"}],"nextCursor":null,"hasMore":false,"remainingCount":0}},"emptyPage":{"summary":"No item categories found","value":{"objectType":"list","url":"/v1/sage-50/item-categories","data":[],"nextCursor":null,"hasMore":false,"remainingCount":0}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"listSage50ItemCategories","summary":"Get Item Categories","description":"Gets item categories from the selected Sage company through one country-neutral route.\n\n### When to use\n- Use this route when you need a page of item categories for sync, browsing, or search flows.\n- Prefer `updatedSince` plus `cursor` for incremental sync and resumable imports.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Pagination\n- Use `limit` to control page size.\n- Use `cursor` to continue from the previous page.\n- Use `updatedSince` when the connected Sage company supports incremental filtering.\n\n### Response shape\nReturns the standard list wrapper with normalized Sage resource objects inside `data`.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst itemCategories = await client.sage50.itemCategories.list({\n  connectionId: \"conn_123\",\n  limit: 20\n});\n\nconsole.log(itemCategories.data);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nitemCategories = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/item-categories?limit=20\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\nitemCategories.raise_for_status()\nitemCategories = itemCategories.json()\nprint(itemCategories[\"data\"])"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/item-categories?limit=20\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/item-categories?limit=20\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"limit","in":"query","required":false,"description":"How many records to return at once.","schema":{"type":"integer","minimum":1,"maximum":150,"default":100,"example":100}},{"name":"cursor","in":"query","required":false,"description":"The next-page marker from a previous response.","schema":{"type":"string","minLength":1,"example":"cur_eyJvZmZzZXQiOjEwMH0"}},{"name":"updatedSince","in":"query","required":false,"description":"Only return records changed after this time, when the connected Sage company can support that filter.","schema":{"type":"string","format":"date-time","example":"2026-04-01T00:00:00.000Z"}}]},"post":{"tags":["Item Categories"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"externalId":{"type":"string","nullable":true,"minLength":1},"revisionNumber":{"type":"string","nullable":true,"minLength":1},"code":{"type":"string","nullable":true,"minLength":1},"name":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1}},"additionalProperties":{"nullable":true}},"examples":{"createExample":{"summary":"Create Item Categories","value":{"externalId":"itemCategory_external_123","code":"RAW","name":"Raw Materials","description":"Items bought for production"}}}}},"required":true,"description":"The item categories record you want created in Sage. Example payload matches the generated SDK request model.\n\n### What to send\n- Send the normalized fields your app wants Sage to create.\n- Use the same field names shown in the examples and generated SDK models.\n\n### Retry behavior\nAlways send `Idempotency-Key` on create and update requests. Reuse the same key when retrying the same logical action."},"responses":{"200":{"description":"The item categories Sage created.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_item_category"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"code":{"type":"string","nullable":true,"minLength":1},"name":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"itemCategories":{"summary":"Item Categories","value":{"id":"itemCategory_123","objectType":"sage50_item_category","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"ITEMCATEGORIES-123"},"code":"RAW","name":"Raw Materials","description":"Items bought for production"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"missingIdempotencyKey":{"summary":"Idempotency key required","value":{"error":{"message":"Missing required Idempotency-Key header","userFacingMessage":"Send an idempotency key and try again.","type":"validation_error","code":"IDEMPOTENCY_KEY_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"422":{"description":"Sage validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"sageValidationFailed":{"summary":"Sage rejected the request","value":{"error":{"message":"Sage rejected the item category because one or more fields were invalid.","userFacingMessage":"Review the item category details and try again.","type":"integration_validation_error","code":"SAGE_VALIDATION_FAILED","httpStatusCode":422,"requestId":"req_123","integrationCode":"VAL-1001","retryable":false,"correlationId":null,"details":{"fieldErrors":[{"field":"name","message":"Name is required."}]}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"createSage50ItemCategories","summary":"Create Item Category","description":"Create item category in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when your app is the source of truth for a new item category.\n- Send an idempotency key whenever a network retry might happen.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Retry behavior\n- Send `Idempotency-Key` on every create and update request.\n- Reuse the same idempotency key when retrying the same logical action so Sage does not apply it twice.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst itemCategory = await client.sage50.itemCategories.create({\n  connectionId: \"conn_123\",\n  idempotencyKey: \"idem_20260417_0001\",\n  externalId: \"itemCategory_external_123\",\n  code: \"RAW\",\n  name: \"Raw Materials\",\n  description: \"Items bought for production\"\n});\n\nconsole.log(itemCategory);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nitemCategory = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/item-categories\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\",\n        \"Idempotency-Key\": \"idem_20260417_0001\"\n    },\n    json={\n        \"externalId\": \"itemCategory_external_123\",\n        \"code\": \"RAW\",\n        \"name\": \"Raw Materials\",\n        \"description\": \"Items bought for production\"\n    },\n)\nitemCategory.raise_for_status()\nitemCategory = itemCategory.json()\nprint(itemCategory)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/item-categories\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .header(\"Idempotency-Key\", \"idem_20260417_0001\")\n    .header(\"Content-Type\", \"application/json\")\n    .POST(HttpRequest.BodyPublishers.ofString(\"{\\n  \\\"externalId\\\": \\\"itemCategory_external_123\\\",\\n  \\\"code\\\": \\\"RAW\\\",\\n  \\\"name\\\": \\\"Raw Materials\\\",\\n  \\\"description\\\": \\\"Items bought for production\\\"\\n}\"));\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/item-categories\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\" \\\n  --header \"Idempotency-Key: idem_20260417_0001\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n  \"externalId\": \"itemCategory_external_123\",\n  \"code\": \"RAW\",\n  \"name\": \"Raw Materials\",\n  \"description\": \"Items bought for production\"\n}'"}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique key for this create or update. Reuse the same key when retrying the same action so Sage does not do it twice.","schema":{"type":"string","minLength":1,"example":"idem_20260417_0001"}}]}},"/v1/sage-50/item-categories/{id}":{"get":{"tags":["Item Categories"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"src_123"},"required":true,"name":"id","in":"path"},{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}}],"responses":{"200":{"description":"One Sage 50 item category.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_item_category"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"code":{"type":"string","nullable":true,"minLength":1},"name":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"itemCategories":{"summary":"Item Categories","value":{"id":"itemCategory_123","objectType":"sage50_item_category","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"ITEMCATEGORIES-123"},"code":"RAW","name":"Raw Materials","description":"Items bought for production"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"notFound":{"summary":"Item Categories not found","value":{"error":{"message":"The requested item category could not be found in Sage.","userFacingMessage":"Choose an existing item category and try again.","type":"not_found_error","code":"NOT_FOUND","httpStatusCode":404,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"getSage50ItemCategories","summary":"Get one Item Category","description":"Get one item category in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when you already know the id for one item category.\n- Use the list route first when you need discovery or pagination.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst itemCategory = await client.sage50.itemCategories.get({\n  connectionId: \"conn_123\",\n  id: \"itemCategory_123\"\n});\n\nconsole.log(itemCategory);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nitemCategory = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/item-categories/itemCategory_123\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\nitemCategory.raise_for_status()\nitemCategory = itemCategory.json()\nprint(itemCategory)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/item-categories/itemCategory_123\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/item-categories/itemCategory_123\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}]},"post":{"tags":["Item Categories"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"src_123"},"required":true,"name":"id","in":"path"},{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique key for this create or update. Reuse the same key when retrying the same action so Sage does not do it twice.","schema":{"type":"string","minLength":1,"example":"idem_20260417_0001"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"externalId":{"type":"string","nullable":true,"minLength":1},"revisionNumber":{"type":"string","nullable":true,"minLength":1},"code":{"type":"string","nullable":true,"minLength":1},"name":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1}},"additionalProperties":{"nullable":true}},"examples":{"updateExample":{"summary":"Update Item Categories","value":{"revisionNumber":"7","name":"Raw Materials","description":"Items bought for production"}}}}},"required":true,"description":"The item categories changes you want saved in Sage. Example payload matches the generated SDK request model.\n\n### What to send\n- Send only the fields you want Sage to change.\n- Use the same field names shown in the examples and generated SDK models.\n\n### Concurrency\nSend the latest `revisionNumber` when Sage returns one so updates stay aligned with the current desktop record.\n\n### Retry behavior\nAlways send `Idempotency-Key` on create and update requests. Reuse the same key when retrying the same logical action."},"responses":{"200":{"description":"The item categories after Sage saved the update.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_item_category"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"code":{"type":"string","nullable":true,"minLength":1},"name":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"itemCategories":{"summary":"Item Categories","value":{"id":"itemCategory_123","objectType":"sage50_item_category","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"ITEMCATEGORIES-123"},"code":"RAW","name":"Raw Materials","description":"Items bought for production"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"missingIdempotencyKey":{"summary":"Idempotency key required","value":{"error":{"message":"Missing required Idempotency-Key header","userFacingMessage":"Send an idempotency key and try again.","type":"validation_error","code":"IDEMPOTENCY_KEY_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"422":{"description":"Sage validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"sageValidationFailed":{"summary":"Sage rejected the request","value":{"error":{"message":"Sage rejected the item category because one or more fields were invalid.","userFacingMessage":"Review the item category details and try again.","type":"integration_validation_error","code":"SAGE_VALIDATION_FAILED","httpStatusCode":422,"requestId":"req_123","integrationCode":"VAL-1001","retryable":false,"correlationId":null,"details":{"fieldErrors":[{"field":"name","message":"Name is required."}]}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"updateSage50ItemCategories","summary":"Update Item Category","description":"Update item category in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when your app needs to save changes to an existing item category.\n- Send the latest `revisionNumber` when Sage provides one so updates stay concurrency-safe.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Retry behavior\n- Send `Idempotency-Key` on every create and update request.\n- Reuse the same idempotency key when retrying the same logical action so Sage does not apply it twice.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst itemCategory = await client.sage50.itemCategories.update({\n  connectionId: \"conn_123\",\n  id: \"itemCategory_123\",\n  idempotencyKey: \"idem_20260417_0001\",\n  revisionNumber: \"7\",\n  name: \"Raw Materials\",\n  description: \"Items bought for production\"\n});\n\nconsole.log(itemCategory);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nitemCategory = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/item-categories/itemCategory_123\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\",\n        \"Idempotency-Key\": \"idem_20260417_0001\"\n    },\n    json={\n        \"revisionNumber\": \"7\",\n        \"name\": \"Raw Materials\",\n        \"description\": \"Items bought for production\"\n    },\n)\nitemCategory.raise_for_status()\nitemCategory = itemCategory.json()\nprint(itemCategory)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/item-categories/itemCategory_123\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .header(\"Idempotency-Key\", \"idem_20260417_0001\")\n    .header(\"Content-Type\", \"application/json\")\n    .POST(HttpRequest.BodyPublishers.ofString(\"{\\n  \\\"revisionNumber\\\": \\\"7\\\",\\n  \\\"name\\\": \\\"Raw Materials\\\",\\n  \\\"description\\\": \\\"Items bought for production\\\"\\n}\"));\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/item-categories/itemCategory_123\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\" \\\n  --header \"Idempotency-Key: idem_20260417_0001\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n  \"revisionNumber\": \"7\",\n  \"name\": \"Raw Materials\",\n  \"description\": \"Items bought for production\"\n}'"}]}},"/v1/sage-50/item-prices":{"get":{"tags":["Item Prices"],"responses":{"200":{"description":"A page of Sage 50 item prices.","content":{"application/json":{"schema":{"type":"object","properties":{"objectType":{"type":"string","enum":["list"]},"url":{"type":"string","minLength":1},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_item_price"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"itemId":{"type":"string","nullable":true,"minLength":1},"priceLevel":{"type":"string","nullable":true,"minLength":1},"unitPrice":{"type":"number","nullable":true},"currency":{"type":"string","nullable":true,"minLength":1}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}}},"nextCursor":{"type":"string","nullable":true},"hasMore":{"type":"boolean"},"remainingCount":{"type":"integer","minimum":0}},"required":["objectType","url","data","nextCursor","hasMore","remainingCount"]},"examples":{"list":{"summary":"Item Prices page","value":{"objectType":"list","url":"/v1/sage-50/item-prices","data":[{"id":"itemPrice_123","objectType":"sage50_item_price","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"ITEMPRICES-123"},"itemId":"item_123","priceLevel":"standard","unitPrice":49.95,"currency":"USD"}],"nextCursor":null,"hasMore":false,"remainingCount":0}},"emptyPage":{"summary":"No item prices found","value":{"objectType":"list","url":"/v1/sage-50/item-prices","data":[],"nextCursor":null,"hasMore":false,"remainingCount":0}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"listSage50ItemPrices","summary":"Get Item Prices","description":"Gets item prices from the selected Sage company through one country-neutral route.\n\n### When to use\n- Use this route when you need a page of item prices for sync, browsing, or search flows.\n- Prefer `updatedSince` plus `cursor` for incremental sync and resumable imports.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Pagination\n- Use `limit` to control page size.\n- Use `cursor` to continue from the previous page.\n- Use `updatedSince` when the connected Sage company supports incremental filtering.\n\n### Response shape\nReturns the standard list wrapper with normalized Sage resource objects inside `data`.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst itemPrices = await client.sage50.itemPrices.list({\n  connectionId: \"conn_123\",\n  limit: 20\n});\n\nconsole.log(itemPrices.data);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nitemPrices = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/item-prices?limit=20\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\nitemPrices.raise_for_status()\nitemPrices = itemPrices.json()\nprint(itemPrices[\"data\"])"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/item-prices?limit=20\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/item-prices?limit=20\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"limit","in":"query","required":false,"description":"How many records to return at once.","schema":{"type":"integer","minimum":1,"maximum":150,"default":100,"example":100}},{"name":"cursor","in":"query","required":false,"description":"The next-page marker from a previous response.","schema":{"type":"string","minLength":1,"example":"cur_eyJvZmZzZXQiOjEwMH0"}},{"name":"updatedSince","in":"query","required":false,"description":"Only return records changed after this time, when the connected Sage company can support that filter.","schema":{"type":"string","format":"date-time","example":"2026-04-01T00:00:00.000Z"}}]},"post":{"tags":["Item Prices"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"externalId":{"type":"string","nullable":true,"minLength":1},"revisionNumber":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"priceLevel":{"type":"string","nullable":true,"minLength":1},"unitPrice":{"type":"number","nullable":true},"currency":{"type":"string","nullable":true,"minLength":1}},"additionalProperties":{"nullable":true}},"examples":{"createExample":{"summary":"Create Item Prices","value":{"externalId":"itemPrice_external_123","itemId":"item_123","priceLevel":"standard","unitPrice":49.95,"currency":"USD"}}}}},"required":true,"description":"The item prices record you want created in Sage. Example payload matches the generated SDK request model.\n\n### What to send\n- Send the normalized fields your app wants Sage to create.\n- Use the same field names shown in the examples and generated SDK models.\n\n### Retry behavior\nAlways send `Idempotency-Key` on create and update requests. Reuse the same key when retrying the same logical action."},"responses":{"200":{"description":"The item prices Sage created.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_item_price"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"itemId":{"type":"string","nullable":true,"minLength":1},"priceLevel":{"type":"string","nullable":true,"minLength":1},"unitPrice":{"type":"number","nullable":true},"currency":{"type":"string","nullable":true,"minLength":1}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"itemPrices":{"summary":"Item Prices","value":{"id":"itemPrice_123","objectType":"sage50_item_price","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"ITEMPRICES-123"},"itemId":"item_123","priceLevel":"standard","unitPrice":49.95,"currency":"USD"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"missingIdempotencyKey":{"summary":"Idempotency key required","value":{"error":{"message":"Missing required Idempotency-Key header","userFacingMessage":"Send an idempotency key and try again.","type":"validation_error","code":"IDEMPOTENCY_KEY_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"422":{"description":"Sage validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"sageValidationFailed":{"summary":"Sage rejected the request","value":{"error":{"message":"Sage rejected the item price because one or more fields were invalid.","userFacingMessage":"Review the item price details and try again.","type":"integration_validation_error","code":"SAGE_VALIDATION_FAILED","httpStatusCode":422,"requestId":"req_123","integrationCode":"VAL-1001","retryable":false,"correlationId":null,"details":{"fieldErrors":[{"field":"name","message":"Name is required."}]}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"createSage50ItemPrices","summary":"Create Item Price","description":"Create item price in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when your app is the source of truth for a new item price.\n- Send an idempotency key whenever a network retry might happen.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Retry behavior\n- Send `Idempotency-Key` on every create and update request.\n- Reuse the same idempotency key when retrying the same logical action so Sage does not apply it twice.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst itemPrice = await client.sage50.itemPrices.create({\n  connectionId: \"conn_123\",\n  idempotencyKey: \"idem_20260417_0001\",\n  externalId: \"itemPrice_external_123\",\n  itemId: \"item_123\",\n  priceLevel: \"standard\",\n  unitPrice: 49.95,\n  currency: \"USD\"\n});\n\nconsole.log(itemPrice);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nitemPrice = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/item-prices\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\",\n        \"Idempotency-Key\": \"idem_20260417_0001\"\n    },\n    json={\n        \"externalId\": \"itemPrice_external_123\",\n        \"itemId\": \"item_123\",\n        \"priceLevel\": \"standard\",\n        \"unitPrice\": 49.95,\n        \"currency\": \"USD\"\n    },\n)\nitemPrice.raise_for_status()\nitemPrice = itemPrice.json()\nprint(itemPrice)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/item-prices\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .header(\"Idempotency-Key\", \"idem_20260417_0001\")\n    .header(\"Content-Type\", \"application/json\")\n    .POST(HttpRequest.BodyPublishers.ofString(\"{\\n  \\\"externalId\\\": \\\"itemPrice_external_123\\\",\\n  \\\"itemId\\\": \\\"item_123\\\",\\n  \\\"priceLevel\\\": \\\"standard\\\",\\n  \\\"unitPrice\\\": 49.95,\\n  \\\"currency\\\": \\\"USD\\\"\\n}\"));\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/item-prices\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\" \\\n  --header \"Idempotency-Key: idem_20260417_0001\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n  \"externalId\": \"itemPrice_external_123\",\n  \"itemId\": \"item_123\",\n  \"priceLevel\": \"standard\",\n  \"unitPrice\": 49.95,\n  \"currency\": \"USD\"\n}'"}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique key for this create or update. Reuse the same key when retrying the same action so Sage does not do it twice.","schema":{"type":"string","minLength":1,"example":"idem_20260417_0001"}}]}},"/v1/sage-50/item-prices/{id}":{"get":{"tags":["Item Prices"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"src_123"},"required":true,"name":"id","in":"path"},{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}}],"responses":{"200":{"description":"One Sage 50 item price.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_item_price"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"itemId":{"type":"string","nullable":true,"minLength":1},"priceLevel":{"type":"string","nullable":true,"minLength":1},"unitPrice":{"type":"number","nullable":true},"currency":{"type":"string","nullable":true,"minLength":1}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"itemPrices":{"summary":"Item Prices","value":{"id":"itemPrice_123","objectType":"sage50_item_price","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"ITEMPRICES-123"},"itemId":"item_123","priceLevel":"standard","unitPrice":49.95,"currency":"USD"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"notFound":{"summary":"Item Prices not found","value":{"error":{"message":"The requested item price could not be found in Sage.","userFacingMessage":"Choose an existing item price and try again.","type":"not_found_error","code":"NOT_FOUND","httpStatusCode":404,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"getSage50ItemPrices","summary":"Get one Item Price","description":"Get one item price in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when you already know the id for one item price.\n- Use the list route first when you need discovery or pagination.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst itemPrice = await client.sage50.itemPrices.get({\n  connectionId: \"conn_123\",\n  id: \"itemPrice_123\"\n});\n\nconsole.log(itemPrice);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nitemPrice = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/item-prices/itemPrice_123\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\nitemPrice.raise_for_status()\nitemPrice = itemPrice.json()\nprint(itemPrice)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/item-prices/itemPrice_123\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/item-prices/itemPrice_123\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}]},"post":{"tags":["Item Prices"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"src_123"},"required":true,"name":"id","in":"path"},{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique key for this create or update. Reuse the same key when retrying the same action so Sage does not do it twice.","schema":{"type":"string","minLength":1,"example":"idem_20260417_0001"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"externalId":{"type":"string","nullable":true,"minLength":1},"revisionNumber":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"priceLevel":{"type":"string","nullable":true,"minLength":1},"unitPrice":{"type":"number","nullable":true},"currency":{"type":"string","nullable":true,"minLength":1}},"additionalProperties":{"nullable":true}},"examples":{"updateExample":{"summary":"Update Item Prices","value":{"revisionNumber":"7","unitPrice":49.95}}}}},"required":true,"description":"The item prices changes you want saved in Sage. Example payload matches the generated SDK request model.\n\n### What to send\n- Send only the fields you want Sage to change.\n- Use the same field names shown in the examples and generated SDK models.\n\n### Concurrency\nSend the latest `revisionNumber` when Sage returns one so updates stay aligned with the current desktop record.\n\n### Retry behavior\nAlways send `Idempotency-Key` on create and update requests. Reuse the same key when retrying the same logical action."},"responses":{"200":{"description":"The item prices after Sage saved the update.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_item_price"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"itemId":{"type":"string","nullable":true,"minLength":1},"priceLevel":{"type":"string","nullable":true,"minLength":1},"unitPrice":{"type":"number","nullable":true},"currency":{"type":"string","nullable":true,"minLength":1}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"itemPrices":{"summary":"Item Prices","value":{"id":"itemPrice_123","objectType":"sage50_item_price","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"ITEMPRICES-123"},"itemId":"item_123","priceLevel":"standard","unitPrice":49.95,"currency":"USD"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"missingIdempotencyKey":{"summary":"Idempotency key required","value":{"error":{"message":"Missing required Idempotency-Key header","userFacingMessage":"Send an idempotency key and try again.","type":"validation_error","code":"IDEMPOTENCY_KEY_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"422":{"description":"Sage validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"sageValidationFailed":{"summary":"Sage rejected the request","value":{"error":{"message":"Sage rejected the item price because one or more fields were invalid.","userFacingMessage":"Review the item price details and try again.","type":"integration_validation_error","code":"SAGE_VALIDATION_FAILED","httpStatusCode":422,"requestId":"req_123","integrationCode":"VAL-1001","retryable":false,"correlationId":null,"details":{"fieldErrors":[{"field":"name","message":"Name is required."}]}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"updateSage50ItemPrices","summary":"Update Item Price","description":"Update item price in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when your app needs to save changes to an existing item price.\n- Send the latest `revisionNumber` when Sage provides one so updates stay concurrency-safe.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Retry behavior\n- Send `Idempotency-Key` on every create and update request.\n- Reuse the same idempotency key when retrying the same logical action so Sage does not apply it twice.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst itemPrice = await client.sage50.itemPrices.update({\n  connectionId: \"conn_123\",\n  id: \"itemPrice_123\",\n  idempotencyKey: \"idem_20260417_0001\",\n  revisionNumber: \"7\",\n  unitPrice: 49.95\n});\n\nconsole.log(itemPrice);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nitemPrice = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/item-prices/itemPrice_123\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\",\n        \"Idempotency-Key\": \"idem_20260417_0001\"\n    },\n    json={\n        \"revisionNumber\": \"7\",\n        \"unitPrice\": 49.95\n    },\n)\nitemPrice.raise_for_status()\nitemPrice = itemPrice.json()\nprint(itemPrice)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/item-prices/itemPrice_123\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .header(\"Idempotency-Key\", \"idem_20260417_0001\")\n    .header(\"Content-Type\", \"application/json\")\n    .POST(HttpRequest.BodyPublishers.ofString(\"{\\n  \\\"revisionNumber\\\": \\\"7\\\",\\n  \\\"unitPrice\\\": 49.95\\n}\"));\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/item-prices/itemPrice_123\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\" \\\n  --header \"Idempotency-Key: idem_20260417_0001\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n  \"revisionNumber\": \"7\",\n  \"unitPrice\": 49.95\n}'"}]}},"/v1/sage-50/inventory-adjustments":{"get":{"tags":["Inventory Adjustments"],"responses":{"200":{"description":"A page of Sage 50 inventory adjustments.","content":{"application/json":{"schema":{"type":"object","properties":{"objectType":{"type":"string","enum":["list"]},"url":{"type":"string","minLength":1},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_inventory_adjustment"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"itemId":{"type":"string","nullable":true,"minLength":1},"reason":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitCost":{"type":"number","nullable":true},"referenceNumber":{"type":"string","nullable":true,"minLength":1}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}}},"nextCursor":{"type":"string","nullable":true},"hasMore":{"type":"boolean"},"remainingCount":{"type":"integer","minimum":0}},"required":["objectType","url","data","nextCursor","hasMore","remainingCount"]},"examples":{"list":{"summary":"Inventory Adjustments page","value":{"objectType":"list","url":"/v1/sage-50/inventory-adjustments","data":[{"id":"inventoryAdjustment_123","objectType":"sage50_inventory_adjustment","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"INVENTORYADJUSTMENTS-123"},"itemId":"item_123","reason":"cycle_count","transactionDate":"2026-04-17","quantity":-2,"unitCost":29.5,"referenceNumber":"ADJ-1001"}],"nextCursor":null,"hasMore":false,"remainingCount":0}},"emptyPage":{"summary":"No inventory adjustments found","value":{"objectType":"list","url":"/v1/sage-50/inventory-adjustments","data":[],"nextCursor":null,"hasMore":false,"remainingCount":0}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"listSage50InventoryAdjustments","summary":"Get Inventory Adjustments","description":"Gets inventory adjustments from the selected Sage company through one country-neutral route.\n\n### When to use\n- Use this route when you need a page of inventory adjustments for sync, browsing, or search flows.\n- Prefer `updatedSince` plus `cursor` for incremental sync and resumable imports.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Pagination\n- Use `limit` to control page size.\n- Use `cursor` to continue from the previous page.\n- Use `updatedSince` when the connected Sage company supports incremental filtering.\n\n### Response shape\nReturns the standard list wrapper with normalized Sage resource objects inside `data`.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst inventoryAdjustments = await client.sage50.inventoryAdjustments.list({\n  connectionId: \"conn_123\",\n  limit: 20\n});\n\nconsole.log(inventoryAdjustments.data);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\ninventoryAdjustments = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/inventory-adjustments?limit=20\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\ninventoryAdjustments.raise_for_status()\ninventoryAdjustments = inventoryAdjustments.json()\nprint(inventoryAdjustments[\"data\"])"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/inventory-adjustments?limit=20\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/inventory-adjustments?limit=20\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"limit","in":"query","required":false,"description":"How many records to return at once.","schema":{"type":"integer","minimum":1,"maximum":150,"default":100,"example":100}},{"name":"cursor","in":"query","required":false,"description":"The next-page marker from a previous response.","schema":{"type":"string","minLength":1,"example":"cur_eyJvZmZzZXQiOjEwMH0"}},{"name":"updatedSince","in":"query","required":false,"description":"Only return records changed after this time, when the connected Sage company can support that filter.","schema":{"type":"string","format":"date-time","example":"2026-04-01T00:00:00.000Z"}}]},"post":{"tags":["Inventory Adjustments"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"externalId":{"type":"string","nullable":true,"minLength":1},"revisionNumber":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"reason":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitCost":{"type":"number","nullable":true},"referenceNumber":{"type":"string","nullable":true,"minLength":1}},"additionalProperties":{"nullable":true}},"examples":{"createExample":{"summary":"Create Inventory Adjustments","value":{"externalId":"inventoryAdjustment_external_123","itemId":"item_123","reason":"cycle_count","transactionDate":"2026-04-17","quantity":-2,"unitCost":29.5,"referenceNumber":"ADJ-1001"}}}}},"required":true,"description":"The inventory adjustments record you want created in Sage. Example payload matches the generated SDK request model.\n\n### What to send\n- Send the normalized fields your app wants Sage to create.\n- Use the same field names shown in the examples and generated SDK models.\n\n### Retry behavior\nAlways send `Idempotency-Key` on create and update requests. Reuse the same key when retrying the same logical action."},"responses":{"200":{"description":"The inventory adjustments Sage created.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_inventory_adjustment"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"itemId":{"type":"string","nullable":true,"minLength":1},"reason":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitCost":{"type":"number","nullable":true},"referenceNumber":{"type":"string","nullable":true,"minLength":1}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"inventoryAdjustments":{"summary":"Inventory Adjustments","value":{"id":"inventoryAdjustment_123","objectType":"sage50_inventory_adjustment","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"INVENTORYADJUSTMENTS-123"},"itemId":"item_123","reason":"cycle_count","transactionDate":"2026-04-17","quantity":-2,"unitCost":29.5,"referenceNumber":"ADJ-1001"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"missingIdempotencyKey":{"summary":"Idempotency key required","value":{"error":{"message":"Missing required Idempotency-Key header","userFacingMessage":"Send an idempotency key and try again.","type":"validation_error","code":"IDEMPOTENCY_KEY_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"422":{"description":"Sage validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"sageValidationFailed":{"summary":"Sage rejected the request","value":{"error":{"message":"Sage rejected the inventory adjustment because one or more fields were invalid.","userFacingMessage":"Review the inventory adjustment details and try again.","type":"integration_validation_error","code":"SAGE_VALIDATION_FAILED","httpStatusCode":422,"requestId":"req_123","integrationCode":"VAL-1001","retryable":false,"correlationId":null,"details":{"fieldErrors":[{"field":"name","message":"Name is required."}]}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"createSage50InventoryAdjustments","summary":"Create Inventory Adjustment","description":"Create inventory adjustment in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when your app is the source of truth for a new inventory adjustment.\n- Send an idempotency key whenever a network retry might happen.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Retry behavior\n- Send `Idempotency-Key` on every create and update request.\n- Reuse the same idempotency key when retrying the same logical action so Sage does not apply it twice.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst inventoryAdjustment = await client.sage50.inventoryAdjustments.create({\n  connectionId: \"conn_123\",\n  idempotencyKey: \"idem_20260417_0001\",\n  externalId: \"inventoryAdjustment_external_123\",\n  itemId: \"item_123\",\n  reason: \"cycle_count\",\n  transactionDate: \"2026-04-17\",\n  quantity: -2,\n  unitCost: 29.5,\n  referenceNumber: \"ADJ-1001\"\n});\n\nconsole.log(inventoryAdjustment);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\ninventoryAdjustment = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/inventory-adjustments\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\",\n        \"Idempotency-Key\": \"idem_20260417_0001\"\n    },\n    json={\n        \"externalId\": \"inventoryAdjustment_external_123\",\n        \"itemId\": \"item_123\",\n        \"reason\": \"cycle_count\",\n        \"transactionDate\": \"2026-04-17\",\n        \"quantity\": -2,\n        \"unitCost\": 29.5,\n        \"referenceNumber\": \"ADJ-1001\"\n    },\n)\ninventoryAdjustment.raise_for_status()\ninventoryAdjustment = inventoryAdjustment.json()\nprint(inventoryAdjustment)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/inventory-adjustments\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .header(\"Idempotency-Key\", \"idem_20260417_0001\")\n    .header(\"Content-Type\", \"application/json\")\n    .POST(HttpRequest.BodyPublishers.ofString(\"{\\n  \\\"externalId\\\": \\\"inventoryAdjustment_external_123\\\",\\n  \\\"itemId\\\": \\\"item_123\\\",\\n  \\\"reason\\\": \\\"cycle_count\\\",\\n  \\\"transactionDate\\\": \\\"2026-04-17\\\",\\n  \\\"quantity\\\": -2,\\n  \\\"unitCost\\\": 29.5,\\n  \\\"referenceNumber\\\": \\\"ADJ-1001\\\"\\n}\"));\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/inventory-adjustments\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\" \\\n  --header \"Idempotency-Key: idem_20260417_0001\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n  \"externalId\": \"inventoryAdjustment_external_123\",\n  \"itemId\": \"item_123\",\n  \"reason\": \"cycle_count\",\n  \"transactionDate\": \"2026-04-17\",\n  \"quantity\": -2,\n  \"unitCost\": 29.5,\n  \"referenceNumber\": \"ADJ-1001\"\n}'"}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique key for this create or update. Reuse the same key when retrying the same action so Sage does not do it twice.","schema":{"type":"string","minLength":1,"example":"idem_20260417_0001"}}]}},"/v1/sage-50/inventory-adjustments/{id}":{"get":{"tags":["Inventory Adjustments"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"src_123"},"required":true,"name":"id","in":"path"},{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}}],"responses":{"200":{"description":"One Sage 50 inventory adjustment.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_inventory_adjustment"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"itemId":{"type":"string","nullable":true,"minLength":1},"reason":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitCost":{"type":"number","nullable":true},"referenceNumber":{"type":"string","nullable":true,"minLength":1}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"inventoryAdjustments":{"summary":"Inventory Adjustments","value":{"id":"inventoryAdjustment_123","objectType":"sage50_inventory_adjustment","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"INVENTORYADJUSTMENTS-123"},"itemId":"item_123","reason":"cycle_count","transactionDate":"2026-04-17","quantity":-2,"unitCost":29.5,"referenceNumber":"ADJ-1001"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"notFound":{"summary":"Inventory Adjustments not found","value":{"error":{"message":"The requested inventory adjustment could not be found in Sage.","userFacingMessage":"Choose an existing inventory adjustment and try again.","type":"not_found_error","code":"NOT_FOUND","httpStatusCode":404,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"getSage50InventoryAdjustments","summary":"Get one Inventory Adjustment","description":"Get one inventory adjustment in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when you already know the id for one inventory adjustment.\n- Use the list route first when you need discovery or pagination.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst inventoryAdjustment = await client.sage50.inventoryAdjustments.get({\n  connectionId: \"conn_123\",\n  id: \"inventoryAdjustment_123\"\n});\n\nconsole.log(inventoryAdjustment);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\ninventoryAdjustment = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/inventory-adjustments/inventoryAdjustment_123\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\ninventoryAdjustment.raise_for_status()\ninventoryAdjustment = inventoryAdjustment.json()\nprint(inventoryAdjustment)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/inventory-adjustments/inventoryAdjustment_123\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/inventory-adjustments/inventoryAdjustment_123\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}]},"post":{"tags":["Inventory Adjustments"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"src_123"},"required":true,"name":"id","in":"path"},{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique key for this create or update. Reuse the same key when retrying the same action so Sage does not do it twice.","schema":{"type":"string","minLength":1,"example":"idem_20260417_0001"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"externalId":{"type":"string","nullable":true,"minLength":1},"revisionNumber":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"reason":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitCost":{"type":"number","nullable":true},"referenceNumber":{"type":"string","nullable":true,"minLength":1}},"additionalProperties":{"nullable":true}},"examples":{"updateExample":{"summary":"Update Inventory Adjustments","value":{"revisionNumber":"7","transactionDate":"2026-04-17","referenceNumber":"ADJ-1001"}}}}},"required":true,"description":"The inventory adjustments changes you want saved in Sage. Example payload matches the generated SDK request model.\n\n### What to send\n- Send only the fields you want Sage to change.\n- Use the same field names shown in the examples and generated SDK models.\n\n### Concurrency\nSend the latest `revisionNumber` when Sage returns one so updates stay aligned with the current desktop record.\n\n### Retry behavior\nAlways send `Idempotency-Key` on create and update requests. Reuse the same key when retrying the same logical action."},"responses":{"200":{"description":"The inventory adjustments after Sage saved the update.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_inventory_adjustment"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"itemId":{"type":"string","nullable":true,"minLength":1},"reason":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitCost":{"type":"number","nullable":true},"referenceNumber":{"type":"string","nullable":true,"minLength":1}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"inventoryAdjustments":{"summary":"Inventory Adjustments","value":{"id":"inventoryAdjustment_123","objectType":"sage50_inventory_adjustment","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"INVENTORYADJUSTMENTS-123"},"itemId":"item_123","reason":"cycle_count","transactionDate":"2026-04-17","quantity":-2,"unitCost":29.5,"referenceNumber":"ADJ-1001"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"missingIdempotencyKey":{"summary":"Idempotency key required","value":{"error":{"message":"Missing required Idempotency-Key header","userFacingMessage":"Send an idempotency key and try again.","type":"validation_error","code":"IDEMPOTENCY_KEY_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"422":{"description":"Sage validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"sageValidationFailed":{"summary":"Sage rejected the request","value":{"error":{"message":"Sage rejected the inventory adjustment because one or more fields were invalid.","userFacingMessage":"Review the inventory adjustment details and try again.","type":"integration_validation_error","code":"SAGE_VALIDATION_FAILED","httpStatusCode":422,"requestId":"req_123","integrationCode":"VAL-1001","retryable":false,"correlationId":null,"details":{"fieldErrors":[{"field":"name","message":"Name is required."}]}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"updateSage50InventoryAdjustments","summary":"Update Inventory Adjustment","description":"Update inventory adjustment in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when your app needs to save changes to an existing inventory adjustment.\n- Send the latest `revisionNumber` when Sage provides one so updates stay concurrency-safe.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Retry behavior\n- Send `Idempotency-Key` on every create and update request.\n- Reuse the same idempotency key when retrying the same logical action so Sage does not apply it twice.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst inventoryAdjustment = await client.sage50.inventoryAdjustments.update({\n  connectionId: \"conn_123\",\n  id: \"inventoryAdjustment_123\",\n  idempotencyKey: \"idem_20260417_0001\",\n  revisionNumber: \"7\",\n  transactionDate: \"2026-04-17\",\n  referenceNumber: \"ADJ-1001\"\n});\n\nconsole.log(inventoryAdjustment);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\ninventoryAdjustment = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/inventory-adjustments/inventoryAdjustment_123\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\",\n        \"Idempotency-Key\": \"idem_20260417_0001\"\n    },\n    json={\n        \"revisionNumber\": \"7\",\n        \"transactionDate\": \"2026-04-17\",\n        \"referenceNumber\": \"ADJ-1001\"\n    },\n)\ninventoryAdjustment.raise_for_status()\ninventoryAdjustment = inventoryAdjustment.json()\nprint(inventoryAdjustment)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/inventory-adjustments/inventoryAdjustment_123\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .header(\"Idempotency-Key\", \"idem_20260417_0001\")\n    .header(\"Content-Type\", \"application/json\")\n    .POST(HttpRequest.BodyPublishers.ofString(\"{\\n  \\\"revisionNumber\\\": \\\"7\\\",\\n  \\\"transactionDate\\\": \\\"2026-04-17\\\",\\n  \\\"referenceNumber\\\": \\\"ADJ-1001\\\"\\n}\"));\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/inventory-adjustments/inventoryAdjustment_123\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\" \\\n  --header \"Idempotency-Key: idem_20260417_0001\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n  \"revisionNumber\": \"7\",\n  \"transactionDate\": \"2026-04-17\",\n  \"referenceNumber\": \"ADJ-1001\"\n}'"}]}},"/v1/sage-50/inventory-transactions":{"get":{"tags":["Inventory Transactions"],"responses":{"200":{"description":"A page of Sage 50 inventory transactions.","content":{"application/json":{"schema":{"type":"object","properties":{"objectType":{"type":"string","enum":["list"]},"url":{"type":"string","minLength":1},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_inventory_transaction"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"itemId":{"type":"string","nullable":true,"minLength":1},"transactionType":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitCost":{"type":"number","nullable":true},"referenceNumber":{"type":"string","nullable":true,"minLength":1}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}}},"nextCursor":{"type":"string","nullable":true},"hasMore":{"type":"boolean"},"remainingCount":{"type":"integer","minimum":0}},"required":["objectType","url","data","nextCursor","hasMore","remainingCount"]},"examples":{"list":{"summary":"Inventory Transactions page","value":{"objectType":"list","url":"/v1/sage-50/inventory-transactions","data":[{"id":"inventoryTransaction_123","objectType":"sage50_inventory_transaction","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"INVENTORYTRANSACTIONS-123"},"itemId":"item_123","transactionType":"sale","transactionDate":"2026-04-17","quantity":-2,"unitCost":29.5,"referenceNumber":"TRX-1001"}],"nextCursor":null,"hasMore":false,"remainingCount":0}},"emptyPage":{"summary":"No inventory transactions found","value":{"objectType":"list","url":"/v1/sage-50/inventory-transactions","data":[],"nextCursor":null,"hasMore":false,"remainingCount":0}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"listSage50InventoryTransactions","summary":"Get Inventory Transactions","description":"Gets inventory transactions from the selected Sage company through one country-neutral route.\n\n### When to use\n- Use this route when you need a page of inventory transactions for sync, browsing, or search flows.\n- Prefer `updatedSince` plus `cursor` for incremental sync and resumable imports.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Pagination\n- Use `limit` to control page size.\n- Use `cursor` to continue from the previous page.\n- Use `updatedSince` when the connected Sage company supports incremental filtering.\n\n### Response shape\nReturns the standard list wrapper with normalized Sage resource objects inside `data`.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst inventoryTransactions = await client.sage50.inventoryTransactions.list({\n  connectionId: \"conn_123\",\n  limit: 20\n});\n\nconsole.log(inventoryTransactions.data);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\ninventoryTransactions = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/inventory-transactions?limit=20\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\ninventoryTransactions.raise_for_status()\ninventoryTransactions = inventoryTransactions.json()\nprint(inventoryTransactions[\"data\"])"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/inventory-transactions?limit=20\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/inventory-transactions?limit=20\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"limit","in":"query","required":false,"description":"How many records to return at once.","schema":{"type":"integer","minimum":1,"maximum":150,"default":100,"example":100}},{"name":"cursor","in":"query","required":false,"description":"The next-page marker from a previous response.","schema":{"type":"string","minLength":1,"example":"cur_eyJvZmZzZXQiOjEwMH0"}},{"name":"updatedSince","in":"query","required":false,"description":"Only return records changed after this time, when the connected Sage company can support that filter.","schema":{"type":"string","format":"date-time","example":"2026-04-01T00:00:00.000Z"}}]},"post":{"tags":["Inventory Transactions"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"externalId":{"type":"string","nullable":true,"minLength":1},"revisionNumber":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"transactionType":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitCost":{"type":"number","nullable":true},"referenceNumber":{"type":"string","nullable":true,"minLength":1}},"additionalProperties":{"nullable":true}},"examples":{"createExample":{"summary":"Create Inventory Transactions","value":{"externalId":"inventoryTransaction_external_123","itemId":"item_123","transactionType":"sale","transactionDate":"2026-04-17","quantity":-2,"unitCost":29.5,"referenceNumber":"TRX-1001"}}}}},"required":true,"description":"The inventory transactions record you want created in Sage. Example payload matches the generated SDK request model.\n\n### What to send\n- Send the normalized fields your app wants Sage to create.\n- Use the same field names shown in the examples and generated SDK models.\n\n### Retry behavior\nAlways send `Idempotency-Key` on create and update requests. Reuse the same key when retrying the same logical action."},"responses":{"200":{"description":"The inventory transactions Sage created.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_inventory_transaction"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"itemId":{"type":"string","nullable":true,"minLength":1},"transactionType":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitCost":{"type":"number","nullable":true},"referenceNumber":{"type":"string","nullable":true,"minLength":1}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"inventoryTransactions":{"summary":"Inventory Transactions","value":{"id":"inventoryTransaction_123","objectType":"sage50_inventory_transaction","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"INVENTORYTRANSACTIONS-123"},"itemId":"item_123","transactionType":"sale","transactionDate":"2026-04-17","quantity":-2,"unitCost":29.5,"referenceNumber":"TRX-1001"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"missingIdempotencyKey":{"summary":"Idempotency key required","value":{"error":{"message":"Missing required Idempotency-Key header","userFacingMessage":"Send an idempotency key and try again.","type":"validation_error","code":"IDEMPOTENCY_KEY_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"422":{"description":"Sage validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"sageValidationFailed":{"summary":"Sage rejected the request","value":{"error":{"message":"Sage rejected the inventory transaction because one or more fields were invalid.","userFacingMessage":"Review the inventory transaction details and try again.","type":"integration_validation_error","code":"SAGE_VALIDATION_FAILED","httpStatusCode":422,"requestId":"req_123","integrationCode":"VAL-1001","retryable":false,"correlationId":null,"details":{"fieldErrors":[{"field":"name","message":"Name is required."}]}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"createSage50InventoryTransactions","summary":"Create Inventory Transaction","description":"Create inventory transaction in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when your app is the source of truth for a new inventory transaction.\n- Send an idempotency key whenever a network retry might happen.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Retry behavior\n- Send `Idempotency-Key` on every create and update request.\n- Reuse the same idempotency key when retrying the same logical action so Sage does not apply it twice.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst inventoryTransaction = await client.sage50.inventoryTransactions.create({\n  connectionId: \"conn_123\",\n  idempotencyKey: \"idem_20260417_0001\",\n  externalId: \"inventoryTransaction_external_123\",\n  itemId: \"item_123\",\n  transactionType: \"sale\",\n  transactionDate: \"2026-04-17\",\n  quantity: -2,\n  unitCost: 29.5,\n  referenceNumber: \"TRX-1001\"\n});\n\nconsole.log(inventoryTransaction);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\ninventoryTransaction = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/inventory-transactions\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\",\n        \"Idempotency-Key\": \"idem_20260417_0001\"\n    },\n    json={\n        \"externalId\": \"inventoryTransaction_external_123\",\n        \"itemId\": \"item_123\",\n        \"transactionType\": \"sale\",\n        \"transactionDate\": \"2026-04-17\",\n        \"quantity\": -2,\n        \"unitCost\": 29.5,\n        \"referenceNumber\": \"TRX-1001\"\n    },\n)\ninventoryTransaction.raise_for_status()\ninventoryTransaction = inventoryTransaction.json()\nprint(inventoryTransaction)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/inventory-transactions\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .header(\"Idempotency-Key\", \"idem_20260417_0001\")\n    .header(\"Content-Type\", \"application/json\")\n    .POST(HttpRequest.BodyPublishers.ofString(\"{\\n  \\\"externalId\\\": \\\"inventoryTransaction_external_123\\\",\\n  \\\"itemId\\\": \\\"item_123\\\",\\n  \\\"transactionType\\\": \\\"sale\\\",\\n  \\\"transactionDate\\\": \\\"2026-04-17\\\",\\n  \\\"quantity\\\": -2,\\n  \\\"unitCost\\\": 29.5,\\n  \\\"referenceNumber\\\": \\\"TRX-1001\\\"\\n}\"));\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/inventory-transactions\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\" \\\n  --header \"Idempotency-Key: idem_20260417_0001\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n  \"externalId\": \"inventoryTransaction_external_123\",\n  \"itemId\": \"item_123\",\n  \"transactionType\": \"sale\",\n  \"transactionDate\": \"2026-04-17\",\n  \"quantity\": -2,\n  \"unitCost\": 29.5,\n  \"referenceNumber\": \"TRX-1001\"\n}'"}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique key for this create or update. Reuse the same key when retrying the same action so Sage does not do it twice.","schema":{"type":"string","minLength":1,"example":"idem_20260417_0001"}}]}},"/v1/sage-50/inventory-transactions/{id}":{"get":{"tags":["Inventory Transactions"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"src_123"},"required":true,"name":"id","in":"path"},{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}}],"responses":{"200":{"description":"One Sage 50 inventory transaction.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_inventory_transaction"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"itemId":{"type":"string","nullable":true,"minLength":1},"transactionType":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitCost":{"type":"number","nullable":true},"referenceNumber":{"type":"string","nullable":true,"minLength":1}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"inventoryTransactions":{"summary":"Inventory Transactions","value":{"id":"inventoryTransaction_123","objectType":"sage50_inventory_transaction","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"INVENTORYTRANSACTIONS-123"},"itemId":"item_123","transactionType":"sale","transactionDate":"2026-04-17","quantity":-2,"unitCost":29.5,"referenceNumber":"TRX-1001"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"notFound":{"summary":"Inventory Transactions not found","value":{"error":{"message":"The requested inventory transaction could not be found in Sage.","userFacingMessage":"Choose an existing inventory transaction and try again.","type":"not_found_error","code":"NOT_FOUND","httpStatusCode":404,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"getSage50InventoryTransactions","summary":"Get one Inventory Transaction","description":"Get one inventory transaction in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when you already know the id for one inventory transaction.\n- Use the list route first when you need discovery or pagination.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst inventoryTransaction = await client.sage50.inventoryTransactions.get({\n  connectionId: \"conn_123\",\n  id: \"inventoryTransaction_123\"\n});\n\nconsole.log(inventoryTransaction);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\ninventoryTransaction = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/inventory-transactions/inventoryTransaction_123\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\ninventoryTransaction.raise_for_status()\ninventoryTransaction = inventoryTransaction.json()\nprint(inventoryTransaction)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/inventory-transactions/inventoryTransaction_123\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/inventory-transactions/inventoryTransaction_123\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}]},"post":{"tags":["Inventory Transactions"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"src_123"},"required":true,"name":"id","in":"path"},{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique key for this create or update. Reuse the same key when retrying the same action so Sage does not do it twice.","schema":{"type":"string","minLength":1,"example":"idem_20260417_0001"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"externalId":{"type":"string","nullable":true,"minLength":1},"revisionNumber":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"transactionType":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitCost":{"type":"number","nullable":true},"referenceNumber":{"type":"string","nullable":true,"minLength":1}},"additionalProperties":{"nullable":true}},"examples":{"updateExample":{"summary":"Update Inventory Transactions","value":{"revisionNumber":"7","transactionDate":"2026-04-17","referenceNumber":"TRX-1001"}}}}},"required":true,"description":"The inventory transactions changes you want saved in Sage. Example payload matches the generated SDK request model.\n\n### What to send\n- Send only the fields you want Sage to change.\n- Use the same field names shown in the examples and generated SDK models.\n\n### Concurrency\nSend the latest `revisionNumber` when Sage returns one so updates stay aligned with the current desktop record.\n\n### Retry behavior\nAlways send `Idempotency-Key` on create and update requests. Reuse the same key when retrying the same logical action."},"responses":{"200":{"description":"The inventory transactions after Sage saved the update.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_inventory_transaction"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"itemId":{"type":"string","nullable":true,"minLength":1},"transactionType":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitCost":{"type":"number","nullable":true},"referenceNumber":{"type":"string","nullable":true,"minLength":1}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"inventoryTransactions":{"summary":"Inventory Transactions","value":{"id":"inventoryTransaction_123","objectType":"sage50_inventory_transaction","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"INVENTORYTRANSACTIONS-123"},"itemId":"item_123","transactionType":"sale","transactionDate":"2026-04-17","quantity":-2,"unitCost":29.5,"referenceNumber":"TRX-1001"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"missingIdempotencyKey":{"summary":"Idempotency key required","value":{"error":{"message":"Missing required Idempotency-Key header","userFacingMessage":"Send an idempotency key and try again.","type":"validation_error","code":"IDEMPOTENCY_KEY_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"422":{"description":"Sage validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"sageValidationFailed":{"summary":"Sage rejected the request","value":{"error":{"message":"Sage rejected the inventory transaction because one or more fields were invalid.","userFacingMessage":"Review the inventory transaction details and try again.","type":"integration_validation_error","code":"SAGE_VALIDATION_FAILED","httpStatusCode":422,"requestId":"req_123","integrationCode":"VAL-1001","retryable":false,"correlationId":null,"details":{"fieldErrors":[{"field":"name","message":"Name is required."}]}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"updateSage50InventoryTransactions","summary":"Update Inventory Transaction","description":"Update inventory transaction in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when your app needs to save changes to an existing inventory transaction.\n- Send the latest `revisionNumber` when Sage provides one so updates stay concurrency-safe.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Retry behavior\n- Send `Idempotency-Key` on every create and update request.\n- Reuse the same idempotency key when retrying the same logical action so Sage does not apply it twice.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst inventoryTransaction = await client.sage50.inventoryTransactions.update({\n  connectionId: \"conn_123\",\n  id: \"inventoryTransaction_123\",\n  idempotencyKey: \"idem_20260417_0001\",\n  revisionNumber: \"7\",\n  transactionDate: \"2026-04-17\",\n  referenceNumber: \"TRX-1001\"\n});\n\nconsole.log(inventoryTransaction);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\ninventoryTransaction = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/inventory-transactions/inventoryTransaction_123\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\",\n        \"Idempotency-Key\": \"idem_20260417_0001\"\n    },\n    json={\n        \"revisionNumber\": \"7\",\n        \"transactionDate\": \"2026-04-17\",\n        \"referenceNumber\": \"TRX-1001\"\n    },\n)\ninventoryTransaction.raise_for_status()\ninventoryTransaction = inventoryTransaction.json()\nprint(inventoryTransaction)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/inventory-transactions/inventoryTransaction_123\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .header(\"Idempotency-Key\", \"idem_20260417_0001\")\n    .header(\"Content-Type\", \"application/json\")\n    .POST(HttpRequest.BodyPublishers.ofString(\"{\\n  \\\"revisionNumber\\\": \\\"7\\\",\\n  \\\"transactionDate\\\": \\\"2026-04-17\\\",\\n  \\\"referenceNumber\\\": \\\"TRX-1001\\\"\\n}\"));\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/inventory-transactions/inventoryTransaction_123\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\" \\\n  --header \"Idempotency-Key: idem_20260417_0001\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n  \"revisionNumber\": \"7\",\n  \"transactionDate\": \"2026-04-17\",\n  \"referenceNumber\": \"TRX-1001\"\n}'"}]}},"/v1/sage-50/quotes":{"get":{"tags":["Quotes"],"responses":{"200":{"description":"A page of Sage 50 quotes.","content":{"application/json":{"schema":{"type":"object","properties":{"objectType":{"type":"string","enum":["list"]},"url":{"type":"string","minLength":1},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_quote"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"documentNumber":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"dueDate":{"type":"string","nullable":true,"minLength":1},"currency":{"type":"string","nullable":true,"minLength":1},"subtotal":{"type":"number","nullable":true},"taxAmount":{"type":"number","nullable":true},"totalAmount":{"type":"number","nullable":true},"customerId":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"lineId":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitPrice":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}}},"nextCursor":{"type":"string","nullable":true},"hasMore":{"type":"boolean"},"remainingCount":{"type":"integer","minimum":0}},"required":["objectType","url","data","nextCursor","hasMore","remainingCount"]},"examples":{"list":{"summary":"Quotes page","value":{"objectType":"list","url":"/v1/sage-50/quotes","data":[{"id":"quote_123","objectType":"sage50_quote","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"QUOTES-123"},"documentNumber":"QT-1001","status":"draft","transactionDate":"2026-04-17","dueDate":"2026-05-17","currency":"USD","subtotal":99.9,"taxAmount":8.24,"totalAmount":108.14,"customerId":"cust_123","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}],"nextCursor":null,"hasMore":false,"remainingCount":0}},"emptyPage":{"summary":"No quotes found","value":{"objectType":"list","url":"/v1/sage-50/quotes","data":[],"nextCursor":null,"hasMore":false,"remainingCount":0}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"listSage50Quotes","summary":"Get Quotes","description":"Gets quotes from the selected Sage company through one country-neutral route.\n\n### When to use\n- Use this route when you need a page of quotes for sync, browsing, or search flows.\n- Prefer `updatedSince` plus `cursor` for incremental sync and resumable imports.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Pagination\n- Use `limit` to control page size.\n- Use `cursor` to continue from the previous page.\n- Use `updatedSince` when the connected Sage company supports incremental filtering.\n\n### Response shape\nReturns the standard list wrapper with normalized Sage resource objects inside `data`.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst quotes = await client.sage50.quotes.list({\n  connectionId: \"conn_123\",\n  limit: 20\n});\n\nconsole.log(quotes.data);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nquotes = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/quotes?limit=20\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\nquotes.raise_for_status()\nquotes = quotes.json()\nprint(quotes[\"data\"])"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/quotes?limit=20\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/quotes?limit=20\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"limit","in":"query","required":false,"description":"How many records to return at once.","schema":{"type":"integer","minimum":1,"maximum":150,"default":100,"example":100}},{"name":"cursor","in":"query","required":false,"description":"The next-page marker from a previous response.","schema":{"type":"string","minLength":1,"example":"cur_eyJvZmZzZXQiOjEwMH0"}},{"name":"updatedSince","in":"query","required":false,"description":"Only return records changed after this time, when the connected Sage company can support that filter.","schema":{"type":"string","format":"date-time","example":"2026-04-01T00:00:00.000Z"}}]},"post":{"tags":["Quotes"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"externalId":{"type":"string","nullable":true,"minLength":1},"revisionNumber":{"type":"string","nullable":true,"minLength":1},"documentNumber":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"dueDate":{"type":"string","nullable":true,"minLength":1},"currency":{"type":"string","nullable":true,"minLength":1},"subtotal":{"type":"number","nullable":true},"taxAmount":{"type":"number","nullable":true},"totalAmount":{"type":"number","nullable":true},"customerId":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"lineId":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitPrice":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"additionalProperties":{"nullable":true}},"examples":{"createExample":{"summary":"Create Quotes","value":{"externalId":"quote_external_123","documentNumber":"QT-1001","status":"draft","transactionDate":"2026-04-17","dueDate":"2026-05-17","currency":"USD","subtotal":99.9,"taxAmount":8.24,"totalAmount":108.14,"customerId":"cust_123","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}}}}},"required":true,"description":"The quotes record you want created in Sage. Example payload matches the generated SDK request model.\n\n### What to send\n- Send the normalized fields your app wants Sage to create.\n- Use the same field names shown in the examples and generated SDK models.\n\n### Retry behavior\nAlways send `Idempotency-Key` on create and update requests. Reuse the same key when retrying the same logical action."},"responses":{"200":{"description":"The quotes Sage created.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_quote"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"documentNumber":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"dueDate":{"type":"string","nullable":true,"minLength":1},"currency":{"type":"string","nullable":true,"minLength":1},"subtotal":{"type":"number","nullable":true},"taxAmount":{"type":"number","nullable":true},"totalAmount":{"type":"number","nullable":true},"customerId":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"lineId":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitPrice":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"quotes":{"summary":"Quotes","value":{"id":"quote_123","objectType":"sage50_quote","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"QUOTES-123"},"documentNumber":"QT-1001","status":"draft","transactionDate":"2026-04-17","dueDate":"2026-05-17","currency":"USD","subtotal":99.9,"taxAmount":8.24,"totalAmount":108.14,"customerId":"cust_123","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"missingIdempotencyKey":{"summary":"Idempotency key required","value":{"error":{"message":"Missing required Idempotency-Key header","userFacingMessage":"Send an idempotency key and try again.","type":"validation_error","code":"IDEMPOTENCY_KEY_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"422":{"description":"Sage validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"sageValidationFailed":{"summary":"Sage rejected the request","value":{"error":{"message":"Sage rejected the quote because one or more fields were invalid.","userFacingMessage":"Review the quote details and try again.","type":"integration_validation_error","code":"SAGE_VALIDATION_FAILED","httpStatusCode":422,"requestId":"req_123","integrationCode":"VAL-1001","retryable":false,"correlationId":null,"details":{"fieldErrors":[{"field":"name","message":"Name is required."}]}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"createSage50Quotes","summary":"Create Quote","description":"Create quote in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when your app is the source of truth for a new quote.\n- Send an idempotency key whenever a network retry might happen.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Retry behavior\n- Send `Idempotency-Key` on every create and update request.\n- Reuse the same idempotency key when retrying the same logical action so Sage does not apply it twice.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst quote = await client.sage50.quotes.create({\n  connectionId: \"conn_123\",\n  idempotencyKey: \"idem_20260417_0001\",\n  externalId: \"quote_external_123\",\n  documentNumber: \"QT-1001\",\n  status: \"draft\",\n  transactionDate: \"2026-04-17\",\n  dueDate: \"2026-05-17\",\n  currency: \"USD\",\n  subtotal: 99.9,\n  taxAmount: 8.24,\n  totalAmount: 108.14,\n  customerId: \"cust_123\",\n  lines: [\n    {\n      lineId: \"line_123\",\n      itemId: \"item_123\",\n      accountId: \"acct_4000\",\n      description: \"Widget\",\n      quantity: 2,\n      unitPrice: 49.95,\n      amount: 99.9\n    }\n  ]\n});\n\nconsole.log(quote);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nquote = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/quotes\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\",\n        \"Idempotency-Key\": \"idem_20260417_0001\"\n    },\n    json={\n        \"externalId\": \"quote_external_123\",\n        \"documentNumber\": \"QT-1001\",\n        \"status\": \"draft\",\n        \"transactionDate\": \"2026-04-17\",\n        \"dueDate\": \"2026-05-17\",\n        \"currency\": \"USD\",\n        \"subtotal\": 99.9,\n        \"taxAmount\": 8.24,\n        \"totalAmount\": 108.14,\n        \"customerId\": \"cust_123\",\n        \"lines\": [\n            {\n                \"lineId\": \"line_123\",\n                \"itemId\": \"item_123\",\n                \"accountId\": \"acct_4000\",\n                \"description\": \"Widget\",\n                \"quantity\": 2,\n                \"unitPrice\": 49.95,\n                \"amount\": 99.9\n            }\n        ]\n    },\n)\nquote.raise_for_status()\nquote = quote.json()\nprint(quote)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/quotes\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .header(\"Idempotency-Key\", \"idem_20260417_0001\")\n    .header(\"Content-Type\", \"application/json\")\n    .POST(HttpRequest.BodyPublishers.ofString(\"{\\n  \\\"externalId\\\": \\\"quote_external_123\\\",\\n  \\\"documentNumber\\\": \\\"QT-1001\\\",\\n  \\\"status\\\": \\\"draft\\\",\\n  \\\"transactionDate\\\": \\\"2026-04-17\\\",\\n  \\\"dueDate\\\": \\\"2026-05-17\\\",\\n  \\\"currency\\\": \\\"USD\\\",\\n  \\\"subtotal\\\": 99.9,\\n  \\\"taxAmount\\\": 8.24,\\n  \\\"totalAmount\\\": 108.14,\\n  \\\"customerId\\\": \\\"cust_123\\\",\\n  \\\"lines\\\": [\\n    {\\n      \\\"lineId\\\": \\\"line_123\\\",\\n      \\\"itemId\\\": \\\"item_123\\\",\\n      \\\"accountId\\\": \\\"acct_4000\\\",\\n      \\\"description\\\": \\\"Widget\\\",\\n      \\\"quantity\\\": 2,\\n      \\\"unitPrice\\\": 49.95,\\n      \\\"amount\\\": 99.9\\n    }\\n  ]\\n}\"));\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/quotes\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\" \\\n  --header \"Idempotency-Key: idem_20260417_0001\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n  \"externalId\": \"quote_external_123\",\n  \"documentNumber\": \"QT-1001\",\n  \"status\": \"draft\",\n  \"transactionDate\": \"2026-04-17\",\n  \"dueDate\": \"2026-05-17\",\n  \"currency\": \"USD\",\n  \"subtotal\": 99.9,\n  \"taxAmount\": 8.24,\n  \"totalAmount\": 108.14,\n  \"customerId\": \"cust_123\",\n  \"lines\": [\n    {\n      \"lineId\": \"line_123\",\n      \"itemId\": \"item_123\",\n      \"accountId\": \"acct_4000\",\n      \"description\": \"Widget\",\n      \"quantity\": 2,\n      \"unitPrice\": 49.95,\n      \"amount\": 99.9\n    }\n  ]\n}'"}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique key for this create or update. Reuse the same key when retrying the same action so Sage does not do it twice.","schema":{"type":"string","minLength":1,"example":"idem_20260417_0001"}}]}},"/v1/sage-50/quotes/{id}":{"get":{"tags":["Quotes"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"src_123"},"required":true,"name":"id","in":"path"},{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}}],"responses":{"200":{"description":"One Sage 50 quote.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_quote"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"documentNumber":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"dueDate":{"type":"string","nullable":true,"minLength":1},"currency":{"type":"string","nullable":true,"minLength":1},"subtotal":{"type":"number","nullable":true},"taxAmount":{"type":"number","nullable":true},"totalAmount":{"type":"number","nullable":true},"customerId":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"lineId":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitPrice":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"quotes":{"summary":"Quotes","value":{"id":"quote_123","objectType":"sage50_quote","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"QUOTES-123"},"documentNumber":"QT-1001","status":"draft","transactionDate":"2026-04-17","dueDate":"2026-05-17","currency":"USD","subtotal":99.9,"taxAmount":8.24,"totalAmount":108.14,"customerId":"cust_123","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"notFound":{"summary":"Quotes not found","value":{"error":{"message":"The requested quote could not be found in Sage.","userFacingMessage":"Choose an existing quote and try again.","type":"not_found_error","code":"NOT_FOUND","httpStatusCode":404,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"getSage50Quotes","summary":"Get one Quote","description":"Get one quote in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when you already know the id for one quote.\n- Use the list route first when you need discovery or pagination.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst quote = await client.sage50.quotes.get({\n  connectionId: \"conn_123\",\n  id: \"quote_123\"\n});\n\nconsole.log(quote);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nquote = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/quotes/quote_123\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\nquote.raise_for_status()\nquote = quote.json()\nprint(quote)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/quotes/quote_123\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/quotes/quote_123\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}]},"post":{"tags":["Quotes"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"src_123"},"required":true,"name":"id","in":"path"},{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique key for this create or update. Reuse the same key when retrying the same action so Sage does not do it twice.","schema":{"type":"string","minLength":1,"example":"idem_20260417_0001"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"externalId":{"type":"string","nullable":true,"minLength":1},"revisionNumber":{"type":"string","nullable":true,"minLength":1},"documentNumber":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"dueDate":{"type":"string","nullable":true,"minLength":1},"currency":{"type":"string","nullable":true,"minLength":1},"subtotal":{"type":"number","nullable":true},"taxAmount":{"type":"number","nullable":true},"totalAmount":{"type":"number","nullable":true},"customerId":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"lineId":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitPrice":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"additionalProperties":{"nullable":true}},"examples":{"updateExample":{"summary":"Update Quotes","value":{"revisionNumber":"7","status":"draft","dueDate":"2026-05-17","transactionDate":"2026-04-17","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}}}}},"required":true,"description":"The quotes changes you want saved in Sage. Example payload matches the generated SDK request model.\n\n### What to send\n- Send only the fields you want Sage to change.\n- Use the same field names shown in the examples and generated SDK models.\n\n### Concurrency\nSend the latest `revisionNumber` when Sage returns one so updates stay aligned with the current desktop record.\n\n### Retry behavior\nAlways send `Idempotency-Key` on create and update requests. Reuse the same key when retrying the same logical action."},"responses":{"200":{"description":"The quotes after Sage saved the update.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_quote"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"documentNumber":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"dueDate":{"type":"string","nullable":true,"minLength":1},"currency":{"type":"string","nullable":true,"minLength":1},"subtotal":{"type":"number","nullable":true},"taxAmount":{"type":"number","nullable":true},"totalAmount":{"type":"number","nullable":true},"customerId":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"lineId":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitPrice":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"quotes":{"summary":"Quotes","value":{"id":"quote_123","objectType":"sage50_quote","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"QUOTES-123"},"documentNumber":"QT-1001","status":"draft","transactionDate":"2026-04-17","dueDate":"2026-05-17","currency":"USD","subtotal":99.9,"taxAmount":8.24,"totalAmount":108.14,"customerId":"cust_123","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"missingIdempotencyKey":{"summary":"Idempotency key required","value":{"error":{"message":"Missing required Idempotency-Key header","userFacingMessage":"Send an idempotency key and try again.","type":"validation_error","code":"IDEMPOTENCY_KEY_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"422":{"description":"Sage validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"sageValidationFailed":{"summary":"Sage rejected the request","value":{"error":{"message":"Sage rejected the quote because one or more fields were invalid.","userFacingMessage":"Review the quote details and try again.","type":"integration_validation_error","code":"SAGE_VALIDATION_FAILED","httpStatusCode":422,"requestId":"req_123","integrationCode":"VAL-1001","retryable":false,"correlationId":null,"details":{"fieldErrors":[{"field":"name","message":"Name is required."}]}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"updateSage50Quotes","summary":"Update Quote","description":"Update quote in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when your app needs to save changes to an existing quote.\n- Send the latest `revisionNumber` when Sage provides one so updates stay concurrency-safe.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Retry behavior\n- Send `Idempotency-Key` on every create and update request.\n- Reuse the same idempotency key when retrying the same logical action so Sage does not apply it twice.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst quote = await client.sage50.quotes.update({\n  connectionId: \"conn_123\",\n  id: \"quote_123\",\n  idempotencyKey: \"idem_20260417_0001\",\n  revisionNumber: \"7\",\n  status: \"draft\",\n  dueDate: \"2026-05-17\",\n  transactionDate: \"2026-04-17\",\n  lines: [\n    {\n      lineId: \"line_123\",\n      itemId: \"item_123\",\n      accountId: \"acct_4000\",\n      description: \"Widget\",\n      quantity: 2,\n      unitPrice: 49.95,\n      amount: 99.9\n    }\n  ]\n});\n\nconsole.log(quote);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nquote = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/quotes/quote_123\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\",\n        \"Idempotency-Key\": \"idem_20260417_0001\"\n    },\n    json={\n        \"revisionNumber\": \"7\",\n        \"status\": \"draft\",\n        \"dueDate\": \"2026-05-17\",\n        \"transactionDate\": \"2026-04-17\",\n        \"lines\": [\n            {\n                \"lineId\": \"line_123\",\n                \"itemId\": \"item_123\",\n                \"accountId\": \"acct_4000\",\n                \"description\": \"Widget\",\n                \"quantity\": 2,\n                \"unitPrice\": 49.95,\n                \"amount\": 99.9\n            }\n        ]\n    },\n)\nquote.raise_for_status()\nquote = quote.json()\nprint(quote)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/quotes/quote_123\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .header(\"Idempotency-Key\", \"idem_20260417_0001\")\n    .header(\"Content-Type\", \"application/json\")\n    .POST(HttpRequest.BodyPublishers.ofString(\"{\\n  \\\"revisionNumber\\\": \\\"7\\\",\\n  \\\"status\\\": \\\"draft\\\",\\n  \\\"dueDate\\\": \\\"2026-05-17\\\",\\n  \\\"transactionDate\\\": \\\"2026-04-17\\\",\\n  \\\"lines\\\": [\\n    {\\n      \\\"lineId\\\": \\\"line_123\\\",\\n      \\\"itemId\\\": \\\"item_123\\\",\\n      \\\"accountId\\\": \\\"acct_4000\\\",\\n      \\\"description\\\": \\\"Widget\\\",\\n      \\\"quantity\\\": 2,\\n      \\\"unitPrice\\\": 49.95,\\n      \\\"amount\\\": 99.9\\n    }\\n  ]\\n}\"));\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/quotes/quote_123\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\" \\\n  --header \"Idempotency-Key: idem_20260417_0001\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n  \"revisionNumber\": \"7\",\n  \"status\": \"draft\",\n  \"dueDate\": \"2026-05-17\",\n  \"transactionDate\": \"2026-04-17\",\n  \"lines\": [\n    {\n      \"lineId\": \"line_123\",\n      \"itemId\": \"item_123\",\n      \"accountId\": \"acct_4000\",\n      \"description\": \"Widget\",\n      \"quantity\": 2,\n      \"unitPrice\": 49.95,\n      \"amount\": 99.9\n    }\n  ]\n}'"}]}},"/v1/sage-50/proposals":{"get":{"tags":["Proposals"],"responses":{"200":{"description":"A page of Sage 50 proposals.","content":{"application/json":{"schema":{"type":"object","properties":{"objectType":{"type":"string","enum":["list"]},"url":{"type":"string","minLength":1},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_proposal"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"documentNumber":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"dueDate":{"type":"string","nullable":true,"minLength":1},"currency":{"type":"string","nullable":true,"minLength":1},"subtotal":{"type":"number","nullable":true},"taxAmount":{"type":"number","nullable":true},"totalAmount":{"type":"number","nullable":true},"customerId":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"lineId":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitPrice":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}}},"nextCursor":{"type":"string","nullable":true},"hasMore":{"type":"boolean"},"remainingCount":{"type":"integer","minimum":0}},"required":["objectType","url","data","nextCursor","hasMore","remainingCount"]},"examples":{"list":{"summary":"Proposals page","value":{"objectType":"list","url":"/v1/sage-50/proposals","data":[{"id":"proposal_123","objectType":"sage50_proposal","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"PROPOSALS-123"},"documentNumber":"PR-1001","status":"open","transactionDate":"2026-04-17","dueDate":"2026-05-17","currency":"USD","subtotal":99.9,"taxAmount":8.24,"totalAmount":108.14,"customerId":"cust_123","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}],"nextCursor":null,"hasMore":false,"remainingCount":0}},"emptyPage":{"summary":"No proposals found","value":{"objectType":"list","url":"/v1/sage-50/proposals","data":[],"nextCursor":null,"hasMore":false,"remainingCount":0}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"listSage50Proposals","summary":"Get Proposals","description":"Gets proposals from the selected Sage company through one country-neutral route.\n\n### When to use\n- Use this route when you need a page of proposals for sync, browsing, or search flows.\n- Prefer `updatedSince` plus `cursor` for incremental sync and resumable imports.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Pagination\n- Use `limit` to control page size.\n- Use `cursor` to continue from the previous page.\n- Use `updatedSince` when the connected Sage company supports incremental filtering.\n\n### Response shape\nReturns the standard list wrapper with normalized Sage resource objects inside `data`.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst proposals = await client.sage50.proposals.list({\n  connectionId: \"conn_123\",\n  limit: 20\n});\n\nconsole.log(proposals.data);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nproposals = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/proposals?limit=20\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\nproposals.raise_for_status()\nproposals = proposals.json()\nprint(proposals[\"data\"])"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/proposals?limit=20\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/proposals?limit=20\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"limit","in":"query","required":false,"description":"How many records to return at once.","schema":{"type":"integer","minimum":1,"maximum":150,"default":100,"example":100}},{"name":"cursor","in":"query","required":false,"description":"The next-page marker from a previous response.","schema":{"type":"string","minLength":1,"example":"cur_eyJvZmZzZXQiOjEwMH0"}},{"name":"updatedSince","in":"query","required":false,"description":"Only return records changed after this time, when the connected Sage company can support that filter.","schema":{"type":"string","format":"date-time","example":"2026-04-01T00:00:00.000Z"}}]},"post":{"tags":["Proposals"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"externalId":{"type":"string","nullable":true,"minLength":1},"revisionNumber":{"type":"string","nullable":true,"minLength":1},"documentNumber":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"dueDate":{"type":"string","nullable":true,"minLength":1},"currency":{"type":"string","nullable":true,"minLength":1},"subtotal":{"type":"number","nullable":true},"taxAmount":{"type":"number","nullable":true},"totalAmount":{"type":"number","nullable":true},"customerId":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"lineId":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitPrice":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"additionalProperties":{"nullable":true}},"examples":{"createExample":{"summary":"Create Proposals","value":{"externalId":"proposal_external_123","documentNumber":"PR-1001","status":"open","transactionDate":"2026-04-17","dueDate":"2026-05-17","currency":"USD","subtotal":99.9,"taxAmount":8.24,"totalAmount":108.14,"customerId":"cust_123","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}}}}},"required":true,"description":"The proposals record you want created in Sage. Example payload matches the generated SDK request model.\n\n### What to send\n- Send the normalized fields your app wants Sage to create.\n- Use the same field names shown in the examples and generated SDK models.\n\n### Retry behavior\nAlways send `Idempotency-Key` on create and update requests. Reuse the same key when retrying the same logical action."},"responses":{"200":{"description":"The proposals Sage created.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_proposal"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"documentNumber":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"dueDate":{"type":"string","nullable":true,"minLength":1},"currency":{"type":"string","nullable":true,"minLength":1},"subtotal":{"type":"number","nullable":true},"taxAmount":{"type":"number","nullable":true},"totalAmount":{"type":"number","nullable":true},"customerId":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"lineId":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitPrice":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"proposals":{"summary":"Proposals","value":{"id":"proposal_123","objectType":"sage50_proposal","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"PROPOSALS-123"},"documentNumber":"PR-1001","status":"open","transactionDate":"2026-04-17","dueDate":"2026-05-17","currency":"USD","subtotal":99.9,"taxAmount":8.24,"totalAmount":108.14,"customerId":"cust_123","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"missingIdempotencyKey":{"summary":"Idempotency key required","value":{"error":{"message":"Missing required Idempotency-Key header","userFacingMessage":"Send an idempotency key and try again.","type":"validation_error","code":"IDEMPOTENCY_KEY_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"422":{"description":"Sage validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"sageValidationFailed":{"summary":"Sage rejected the request","value":{"error":{"message":"Sage rejected the proposal because one or more fields were invalid.","userFacingMessage":"Review the proposal details and try again.","type":"integration_validation_error","code":"SAGE_VALIDATION_FAILED","httpStatusCode":422,"requestId":"req_123","integrationCode":"VAL-1001","retryable":false,"correlationId":null,"details":{"fieldErrors":[{"field":"name","message":"Name is required."}]}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"createSage50Proposals","summary":"Create Proposal","description":"Create proposal in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when your app is the source of truth for a new proposal.\n- Send an idempotency key whenever a network retry might happen.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Retry behavior\n- Send `Idempotency-Key` on every create and update request.\n- Reuse the same idempotency key when retrying the same logical action so Sage does not apply it twice.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst proposal = await client.sage50.proposals.create({\n  connectionId: \"conn_123\",\n  idempotencyKey: \"idem_20260417_0001\",\n  externalId: \"proposal_external_123\",\n  documentNumber: \"PR-1001\",\n  status: \"open\",\n  transactionDate: \"2026-04-17\",\n  dueDate: \"2026-05-17\",\n  currency: \"USD\",\n  subtotal: 99.9,\n  taxAmount: 8.24,\n  totalAmount: 108.14,\n  customerId: \"cust_123\",\n  lines: [\n    {\n      lineId: \"line_123\",\n      itemId: \"item_123\",\n      accountId: \"acct_4000\",\n      description: \"Widget\",\n      quantity: 2,\n      unitPrice: 49.95,\n      amount: 99.9\n    }\n  ]\n});\n\nconsole.log(proposal);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nproposal = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/proposals\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\",\n        \"Idempotency-Key\": \"idem_20260417_0001\"\n    },\n    json={\n        \"externalId\": \"proposal_external_123\",\n        \"documentNumber\": \"PR-1001\",\n        \"status\": \"open\",\n        \"transactionDate\": \"2026-04-17\",\n        \"dueDate\": \"2026-05-17\",\n        \"currency\": \"USD\",\n        \"subtotal\": 99.9,\n        \"taxAmount\": 8.24,\n        \"totalAmount\": 108.14,\n        \"customerId\": \"cust_123\",\n        \"lines\": [\n            {\n                \"lineId\": \"line_123\",\n                \"itemId\": \"item_123\",\n                \"accountId\": \"acct_4000\",\n                \"description\": \"Widget\",\n                \"quantity\": 2,\n                \"unitPrice\": 49.95,\n                \"amount\": 99.9\n            }\n        ]\n    },\n)\nproposal.raise_for_status()\nproposal = proposal.json()\nprint(proposal)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/proposals\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .header(\"Idempotency-Key\", \"idem_20260417_0001\")\n    .header(\"Content-Type\", \"application/json\")\n    .POST(HttpRequest.BodyPublishers.ofString(\"{\\n  \\\"externalId\\\": \\\"proposal_external_123\\\",\\n  \\\"documentNumber\\\": \\\"PR-1001\\\",\\n  \\\"status\\\": \\\"open\\\",\\n  \\\"transactionDate\\\": \\\"2026-04-17\\\",\\n  \\\"dueDate\\\": \\\"2026-05-17\\\",\\n  \\\"currency\\\": \\\"USD\\\",\\n  \\\"subtotal\\\": 99.9,\\n  \\\"taxAmount\\\": 8.24,\\n  \\\"totalAmount\\\": 108.14,\\n  \\\"customerId\\\": \\\"cust_123\\\",\\n  \\\"lines\\\": [\\n    {\\n      \\\"lineId\\\": \\\"line_123\\\",\\n      \\\"itemId\\\": \\\"item_123\\\",\\n      \\\"accountId\\\": \\\"acct_4000\\\",\\n      \\\"description\\\": \\\"Widget\\\",\\n      \\\"quantity\\\": 2,\\n      \\\"unitPrice\\\": 49.95,\\n      \\\"amount\\\": 99.9\\n    }\\n  ]\\n}\"));\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/proposals\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\" \\\n  --header \"Idempotency-Key: idem_20260417_0001\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n  \"externalId\": \"proposal_external_123\",\n  \"documentNumber\": \"PR-1001\",\n  \"status\": \"open\",\n  \"transactionDate\": \"2026-04-17\",\n  \"dueDate\": \"2026-05-17\",\n  \"currency\": \"USD\",\n  \"subtotal\": 99.9,\n  \"taxAmount\": 8.24,\n  \"totalAmount\": 108.14,\n  \"customerId\": \"cust_123\",\n  \"lines\": [\n    {\n      \"lineId\": \"line_123\",\n      \"itemId\": \"item_123\",\n      \"accountId\": \"acct_4000\",\n      \"description\": \"Widget\",\n      \"quantity\": 2,\n      \"unitPrice\": 49.95,\n      \"amount\": 99.9\n    }\n  ]\n}'"}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique key for this create or update. Reuse the same key when retrying the same action so Sage does not do it twice.","schema":{"type":"string","minLength":1,"example":"idem_20260417_0001"}}]}},"/v1/sage-50/proposals/{id}":{"get":{"tags":["Proposals"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"src_123"},"required":true,"name":"id","in":"path"},{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}}],"responses":{"200":{"description":"One Sage 50 proposal.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_proposal"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"documentNumber":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"dueDate":{"type":"string","nullable":true,"minLength":1},"currency":{"type":"string","nullable":true,"minLength":1},"subtotal":{"type":"number","nullable":true},"taxAmount":{"type":"number","nullable":true},"totalAmount":{"type":"number","nullable":true},"customerId":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"lineId":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitPrice":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"proposals":{"summary":"Proposals","value":{"id":"proposal_123","objectType":"sage50_proposal","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"PROPOSALS-123"},"documentNumber":"PR-1001","status":"open","transactionDate":"2026-04-17","dueDate":"2026-05-17","currency":"USD","subtotal":99.9,"taxAmount":8.24,"totalAmount":108.14,"customerId":"cust_123","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"notFound":{"summary":"Proposals not found","value":{"error":{"message":"The requested proposal could not be found in Sage.","userFacingMessage":"Choose an existing proposal and try again.","type":"not_found_error","code":"NOT_FOUND","httpStatusCode":404,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"getSage50Proposals","summary":"Get one Proposal","description":"Get one proposal in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when you already know the id for one proposal.\n- Use the list route first when you need discovery or pagination.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst proposal = await client.sage50.proposals.get({\n  connectionId: \"conn_123\",\n  id: \"proposal_123\"\n});\n\nconsole.log(proposal);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nproposal = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/proposals/proposal_123\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\nproposal.raise_for_status()\nproposal = proposal.json()\nprint(proposal)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/proposals/proposal_123\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/proposals/proposal_123\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}]},"post":{"tags":["Proposals"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"src_123"},"required":true,"name":"id","in":"path"},{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique key for this create or update. Reuse the same key when retrying the same action so Sage does not do it twice.","schema":{"type":"string","minLength":1,"example":"idem_20260417_0001"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"externalId":{"type":"string","nullable":true,"minLength":1},"revisionNumber":{"type":"string","nullable":true,"minLength":1},"documentNumber":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"dueDate":{"type":"string","nullable":true,"minLength":1},"currency":{"type":"string","nullable":true,"minLength":1},"subtotal":{"type":"number","nullable":true},"taxAmount":{"type":"number","nullable":true},"totalAmount":{"type":"number","nullable":true},"customerId":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"lineId":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitPrice":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"additionalProperties":{"nullable":true}},"examples":{"updateExample":{"summary":"Update Proposals","value":{"revisionNumber":"7","status":"open","dueDate":"2026-05-17","transactionDate":"2026-04-17","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}}}}},"required":true,"description":"The proposals changes you want saved in Sage. Example payload matches the generated SDK request model.\n\n### What to send\n- Send only the fields you want Sage to change.\n- Use the same field names shown in the examples and generated SDK models.\n\n### Concurrency\nSend the latest `revisionNumber` when Sage returns one so updates stay aligned with the current desktop record.\n\n### Retry behavior\nAlways send `Idempotency-Key` on create and update requests. Reuse the same key when retrying the same logical action."},"responses":{"200":{"description":"The proposals after Sage saved the update.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_proposal"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"documentNumber":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"dueDate":{"type":"string","nullable":true,"minLength":1},"currency":{"type":"string","nullable":true,"minLength":1},"subtotal":{"type":"number","nullable":true},"taxAmount":{"type":"number","nullable":true},"totalAmount":{"type":"number","nullable":true},"customerId":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"lineId":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitPrice":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"proposals":{"summary":"Proposals","value":{"id":"proposal_123","objectType":"sage50_proposal","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"PROPOSALS-123"},"documentNumber":"PR-1001","status":"open","transactionDate":"2026-04-17","dueDate":"2026-05-17","currency":"USD","subtotal":99.9,"taxAmount":8.24,"totalAmount":108.14,"customerId":"cust_123","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"missingIdempotencyKey":{"summary":"Idempotency key required","value":{"error":{"message":"Missing required Idempotency-Key header","userFacingMessage":"Send an idempotency key and try again.","type":"validation_error","code":"IDEMPOTENCY_KEY_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"422":{"description":"Sage validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"sageValidationFailed":{"summary":"Sage rejected the request","value":{"error":{"message":"Sage rejected the proposal because one or more fields were invalid.","userFacingMessage":"Review the proposal details and try again.","type":"integration_validation_error","code":"SAGE_VALIDATION_FAILED","httpStatusCode":422,"requestId":"req_123","integrationCode":"VAL-1001","retryable":false,"correlationId":null,"details":{"fieldErrors":[{"field":"name","message":"Name is required."}]}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"updateSage50Proposals","summary":"Update Proposal","description":"Update proposal in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when your app needs to save changes to an existing proposal.\n- Send the latest `revisionNumber` when Sage provides one so updates stay concurrency-safe.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Retry behavior\n- Send `Idempotency-Key` on every create and update request.\n- Reuse the same idempotency key when retrying the same logical action so Sage does not apply it twice.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst proposal = await client.sage50.proposals.update({\n  connectionId: \"conn_123\",\n  id: \"proposal_123\",\n  idempotencyKey: \"idem_20260417_0001\",\n  revisionNumber: \"7\",\n  status: \"open\",\n  dueDate: \"2026-05-17\",\n  transactionDate: \"2026-04-17\",\n  lines: [\n    {\n      lineId: \"line_123\",\n      itemId: \"item_123\",\n      accountId: \"acct_4000\",\n      description: \"Widget\",\n      quantity: 2,\n      unitPrice: 49.95,\n      amount: 99.9\n    }\n  ]\n});\n\nconsole.log(proposal);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nproposal = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/proposals/proposal_123\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\",\n        \"Idempotency-Key\": \"idem_20260417_0001\"\n    },\n    json={\n        \"revisionNumber\": \"7\",\n        \"status\": \"open\",\n        \"dueDate\": \"2026-05-17\",\n        \"transactionDate\": \"2026-04-17\",\n        \"lines\": [\n            {\n                \"lineId\": \"line_123\",\n                \"itemId\": \"item_123\",\n                \"accountId\": \"acct_4000\",\n                \"description\": \"Widget\",\n                \"quantity\": 2,\n                \"unitPrice\": 49.95,\n                \"amount\": 99.9\n            }\n        ]\n    },\n)\nproposal.raise_for_status()\nproposal = proposal.json()\nprint(proposal)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/proposals/proposal_123\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .header(\"Idempotency-Key\", \"idem_20260417_0001\")\n    .header(\"Content-Type\", \"application/json\")\n    .POST(HttpRequest.BodyPublishers.ofString(\"{\\n  \\\"revisionNumber\\\": \\\"7\\\",\\n  \\\"status\\\": \\\"open\\\",\\n  \\\"dueDate\\\": \\\"2026-05-17\\\",\\n  \\\"transactionDate\\\": \\\"2026-04-17\\\",\\n  \\\"lines\\\": [\\n    {\\n      \\\"lineId\\\": \\\"line_123\\\",\\n      \\\"itemId\\\": \\\"item_123\\\",\\n      \\\"accountId\\\": \\\"acct_4000\\\",\\n      \\\"description\\\": \\\"Widget\\\",\\n      \\\"quantity\\\": 2,\\n      \\\"unitPrice\\\": 49.95,\\n      \\\"amount\\\": 99.9\\n    }\\n  ]\\n}\"));\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/proposals/proposal_123\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\" \\\n  --header \"Idempotency-Key: idem_20260417_0001\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n  \"revisionNumber\": \"7\",\n  \"status\": \"open\",\n  \"dueDate\": \"2026-05-17\",\n  \"transactionDate\": \"2026-04-17\",\n  \"lines\": [\n    {\n      \"lineId\": \"line_123\",\n      \"itemId\": \"item_123\",\n      \"accountId\": \"acct_4000\",\n      \"description\": \"Widget\",\n      \"quantity\": 2,\n      \"unitPrice\": 49.95,\n      \"amount\": 99.9\n    }\n  ]\n}'"}]}},"/v1/sage-50/sales-orders":{"get":{"tags":["Sales Orders"],"responses":{"200":{"description":"A page of Sage 50 sales orders.","content":{"application/json":{"schema":{"type":"object","properties":{"objectType":{"type":"string","enum":["list"]},"url":{"type":"string","minLength":1},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_sales_order"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"documentNumber":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"dueDate":{"type":"string","nullable":true,"minLength":1},"currency":{"type":"string","nullable":true,"minLength":1},"subtotal":{"type":"number","nullable":true},"taxAmount":{"type":"number","nullable":true},"totalAmount":{"type":"number","nullable":true},"customerId":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"lineId":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitPrice":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}}},"nextCursor":{"type":"string","nullable":true},"hasMore":{"type":"boolean"},"remainingCount":{"type":"integer","minimum":0}},"required":["objectType","url","data","nextCursor","hasMore","remainingCount"]},"examples":{"list":{"summary":"Sales Orders page","value":{"objectType":"list","url":"/v1/sage-50/sales-orders","data":[{"id":"salesOrder_123","objectType":"sage50_sales_order","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"SALESORDERS-123"},"documentNumber":"SO-1001","status":"open","transactionDate":"2026-04-17","dueDate":"2026-05-17","currency":"USD","subtotal":99.9,"taxAmount":8.24,"totalAmount":108.14,"customerId":"cust_123","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}],"nextCursor":null,"hasMore":false,"remainingCount":0}},"emptyPage":{"summary":"No sales orders found","value":{"objectType":"list","url":"/v1/sage-50/sales-orders","data":[],"nextCursor":null,"hasMore":false,"remainingCount":0}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"listSage50SalesOrders","summary":"Get Sales Orders","description":"Gets sales orders from the selected Sage company through one country-neutral route.\n\n### When to use\n- Use this route when you need a page of sales orders for sync, browsing, or search flows.\n- Prefer `updatedSince` plus `cursor` for incremental sync and resumable imports.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Pagination\n- Use `limit` to control page size.\n- Use `cursor` to continue from the previous page.\n- Use `updatedSince` when the connected Sage company supports incremental filtering.\n\n### Response shape\nReturns the standard list wrapper with normalized Sage resource objects inside `data`.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst salesOrders = await client.sage50.salesOrders.list({\n  connectionId: \"conn_123\",\n  limit: 20\n});\n\nconsole.log(salesOrders.data);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nsalesOrders = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/sales-orders?limit=20\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\nsalesOrders.raise_for_status()\nsalesOrders = salesOrders.json()\nprint(salesOrders[\"data\"])"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/sales-orders?limit=20\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/sales-orders?limit=20\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"limit","in":"query","required":false,"description":"How many records to return at once.","schema":{"type":"integer","minimum":1,"maximum":150,"default":100,"example":100}},{"name":"cursor","in":"query","required":false,"description":"The next-page marker from a previous response.","schema":{"type":"string","minLength":1,"example":"cur_eyJvZmZzZXQiOjEwMH0"}},{"name":"updatedSince","in":"query","required":false,"description":"Only return records changed after this time, when the connected Sage company can support that filter.","schema":{"type":"string","format":"date-time","example":"2026-04-01T00:00:00.000Z"}}]},"post":{"tags":["Sales Orders"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"externalId":{"type":"string","nullable":true,"minLength":1},"revisionNumber":{"type":"string","nullable":true,"minLength":1},"documentNumber":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"dueDate":{"type":"string","nullable":true,"minLength":1},"currency":{"type":"string","nullable":true,"minLength":1},"subtotal":{"type":"number","nullable":true},"taxAmount":{"type":"number","nullable":true},"totalAmount":{"type":"number","nullable":true},"customerId":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"lineId":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitPrice":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"additionalProperties":{"nullable":true}},"examples":{"createExample":{"summary":"Create Sales Orders","value":{"externalId":"salesOrder_external_123","documentNumber":"SO-1001","status":"open","transactionDate":"2026-04-17","dueDate":"2026-05-17","currency":"USD","subtotal":99.9,"taxAmount":8.24,"totalAmount":108.14,"customerId":"cust_123","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}}}}},"required":true,"description":"The sales orders record you want created in Sage. Example payload matches the generated SDK request model.\n\n### What to send\n- Send the normalized fields your app wants Sage to create.\n- Use the same field names shown in the examples and generated SDK models.\n\n### Retry behavior\nAlways send `Idempotency-Key` on create and update requests. Reuse the same key when retrying the same logical action."},"responses":{"200":{"description":"The sales orders Sage created.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_sales_order"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"documentNumber":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"dueDate":{"type":"string","nullable":true,"minLength":1},"currency":{"type":"string","nullable":true,"minLength":1},"subtotal":{"type":"number","nullable":true},"taxAmount":{"type":"number","nullable":true},"totalAmount":{"type":"number","nullable":true},"customerId":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"lineId":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitPrice":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"salesOrders":{"summary":"Sales Orders","value":{"id":"salesOrder_123","objectType":"sage50_sales_order","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"SALESORDERS-123"},"documentNumber":"SO-1001","status":"open","transactionDate":"2026-04-17","dueDate":"2026-05-17","currency":"USD","subtotal":99.9,"taxAmount":8.24,"totalAmount":108.14,"customerId":"cust_123","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"missingIdempotencyKey":{"summary":"Idempotency key required","value":{"error":{"message":"Missing required Idempotency-Key header","userFacingMessage":"Send an idempotency key and try again.","type":"validation_error","code":"IDEMPOTENCY_KEY_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"422":{"description":"Sage validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"sageValidationFailed":{"summary":"Sage rejected the request","value":{"error":{"message":"Sage rejected the sales order because one or more fields were invalid.","userFacingMessage":"Review the sales order details and try again.","type":"integration_validation_error","code":"SAGE_VALIDATION_FAILED","httpStatusCode":422,"requestId":"req_123","integrationCode":"VAL-1001","retryable":false,"correlationId":null,"details":{"fieldErrors":[{"field":"name","message":"Name is required."}]}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"createSage50SalesOrders","summary":"Create Sales Order","description":"Create sales order in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when your app is the source of truth for a new sales order.\n- Send an idempotency key whenever a network retry might happen.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Retry behavior\n- Send `Idempotency-Key` on every create and update request.\n- Reuse the same idempotency key when retrying the same logical action so Sage does not apply it twice.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst salesOrder = await client.sage50.salesOrders.create({\n  connectionId: \"conn_123\",\n  idempotencyKey: \"idem_20260417_0001\",\n  externalId: \"salesOrder_external_123\",\n  documentNumber: \"SO-1001\",\n  status: \"open\",\n  transactionDate: \"2026-04-17\",\n  dueDate: \"2026-05-17\",\n  currency: \"USD\",\n  subtotal: 99.9,\n  taxAmount: 8.24,\n  totalAmount: 108.14,\n  customerId: \"cust_123\",\n  lines: [\n    {\n      lineId: \"line_123\",\n      itemId: \"item_123\",\n      accountId: \"acct_4000\",\n      description: \"Widget\",\n      quantity: 2,\n      unitPrice: 49.95,\n      amount: 99.9\n    }\n  ]\n});\n\nconsole.log(salesOrder);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nsalesOrder = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/sales-orders\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\",\n        \"Idempotency-Key\": \"idem_20260417_0001\"\n    },\n    json={\n        \"externalId\": \"salesOrder_external_123\",\n        \"documentNumber\": \"SO-1001\",\n        \"status\": \"open\",\n        \"transactionDate\": \"2026-04-17\",\n        \"dueDate\": \"2026-05-17\",\n        \"currency\": \"USD\",\n        \"subtotal\": 99.9,\n        \"taxAmount\": 8.24,\n        \"totalAmount\": 108.14,\n        \"customerId\": \"cust_123\",\n        \"lines\": [\n            {\n                \"lineId\": \"line_123\",\n                \"itemId\": \"item_123\",\n                \"accountId\": \"acct_4000\",\n                \"description\": \"Widget\",\n                \"quantity\": 2,\n                \"unitPrice\": 49.95,\n                \"amount\": 99.9\n            }\n        ]\n    },\n)\nsalesOrder.raise_for_status()\nsalesOrder = salesOrder.json()\nprint(salesOrder)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/sales-orders\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .header(\"Idempotency-Key\", \"idem_20260417_0001\")\n    .header(\"Content-Type\", \"application/json\")\n    .POST(HttpRequest.BodyPublishers.ofString(\"{\\n  \\\"externalId\\\": \\\"salesOrder_external_123\\\",\\n  \\\"documentNumber\\\": \\\"SO-1001\\\",\\n  \\\"status\\\": \\\"open\\\",\\n  \\\"transactionDate\\\": \\\"2026-04-17\\\",\\n  \\\"dueDate\\\": \\\"2026-05-17\\\",\\n  \\\"currency\\\": \\\"USD\\\",\\n  \\\"subtotal\\\": 99.9,\\n  \\\"taxAmount\\\": 8.24,\\n  \\\"totalAmount\\\": 108.14,\\n  \\\"customerId\\\": \\\"cust_123\\\",\\n  \\\"lines\\\": [\\n    {\\n      \\\"lineId\\\": \\\"line_123\\\",\\n      \\\"itemId\\\": \\\"item_123\\\",\\n      \\\"accountId\\\": \\\"acct_4000\\\",\\n      \\\"description\\\": \\\"Widget\\\",\\n      \\\"quantity\\\": 2,\\n      \\\"unitPrice\\\": 49.95,\\n      \\\"amount\\\": 99.9\\n    }\\n  ]\\n}\"));\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/sales-orders\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\" \\\n  --header \"Idempotency-Key: idem_20260417_0001\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n  \"externalId\": \"salesOrder_external_123\",\n  \"documentNumber\": \"SO-1001\",\n  \"status\": \"open\",\n  \"transactionDate\": \"2026-04-17\",\n  \"dueDate\": \"2026-05-17\",\n  \"currency\": \"USD\",\n  \"subtotal\": 99.9,\n  \"taxAmount\": 8.24,\n  \"totalAmount\": 108.14,\n  \"customerId\": \"cust_123\",\n  \"lines\": [\n    {\n      \"lineId\": \"line_123\",\n      \"itemId\": \"item_123\",\n      \"accountId\": \"acct_4000\",\n      \"description\": \"Widget\",\n      \"quantity\": 2,\n      \"unitPrice\": 49.95,\n      \"amount\": 99.9\n    }\n  ]\n}'"}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique key for this create or update. Reuse the same key when retrying the same action so Sage does not do it twice.","schema":{"type":"string","minLength":1,"example":"idem_20260417_0001"}}]}},"/v1/sage-50/sales-orders/{id}":{"get":{"tags":["Sales Orders"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"src_123"},"required":true,"name":"id","in":"path"},{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}}],"responses":{"200":{"description":"One Sage 50 sales order.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_sales_order"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"documentNumber":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"dueDate":{"type":"string","nullable":true,"minLength":1},"currency":{"type":"string","nullable":true,"minLength":1},"subtotal":{"type":"number","nullable":true},"taxAmount":{"type":"number","nullable":true},"totalAmount":{"type":"number","nullable":true},"customerId":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"lineId":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitPrice":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"salesOrders":{"summary":"Sales Orders","value":{"id":"salesOrder_123","objectType":"sage50_sales_order","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"SALESORDERS-123"},"documentNumber":"SO-1001","status":"open","transactionDate":"2026-04-17","dueDate":"2026-05-17","currency":"USD","subtotal":99.9,"taxAmount":8.24,"totalAmount":108.14,"customerId":"cust_123","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"notFound":{"summary":"Sales Orders not found","value":{"error":{"message":"The requested sales order could not be found in Sage.","userFacingMessage":"Choose an existing sales order and try again.","type":"not_found_error","code":"NOT_FOUND","httpStatusCode":404,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"getSage50SalesOrders","summary":"Get one Sales Order","description":"Get one sales order in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when you already know the id for one sales order.\n- Use the list route first when you need discovery or pagination.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst salesOrder = await client.sage50.salesOrders.get({\n  connectionId: \"conn_123\",\n  id: \"salesOrder_123\"\n});\n\nconsole.log(salesOrder);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nsalesOrder = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/sales-orders/salesOrder_123\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\nsalesOrder.raise_for_status()\nsalesOrder = salesOrder.json()\nprint(salesOrder)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/sales-orders/salesOrder_123\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/sales-orders/salesOrder_123\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}]},"post":{"tags":["Sales Orders"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"src_123"},"required":true,"name":"id","in":"path"},{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique key for this create or update. Reuse the same key when retrying the same action so Sage does not do it twice.","schema":{"type":"string","minLength":1,"example":"idem_20260417_0001"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"externalId":{"type":"string","nullable":true,"minLength":1},"revisionNumber":{"type":"string","nullable":true,"minLength":1},"documentNumber":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"dueDate":{"type":"string","nullable":true,"minLength":1},"currency":{"type":"string","nullable":true,"minLength":1},"subtotal":{"type":"number","nullable":true},"taxAmount":{"type":"number","nullable":true},"totalAmount":{"type":"number","nullable":true},"customerId":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"lineId":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitPrice":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"additionalProperties":{"nullable":true}},"examples":{"updateExample":{"summary":"Update Sales Orders","value":{"revisionNumber":"7","status":"open","dueDate":"2026-05-17","transactionDate":"2026-04-17","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}}}}},"required":true,"description":"The sales orders changes you want saved in Sage. Example payload matches the generated SDK request model.\n\n### What to send\n- Send only the fields you want Sage to change.\n- Use the same field names shown in the examples and generated SDK models.\n\n### Concurrency\nSend the latest `revisionNumber` when Sage returns one so updates stay aligned with the current desktop record.\n\n### Retry behavior\nAlways send `Idempotency-Key` on create and update requests. Reuse the same key when retrying the same logical action."},"responses":{"200":{"description":"The sales orders after Sage saved the update.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_sales_order"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"documentNumber":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"dueDate":{"type":"string","nullable":true,"minLength":1},"currency":{"type":"string","nullable":true,"minLength":1},"subtotal":{"type":"number","nullable":true},"taxAmount":{"type":"number","nullable":true},"totalAmount":{"type":"number","nullable":true},"customerId":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"lineId":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitPrice":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"salesOrders":{"summary":"Sales Orders","value":{"id":"salesOrder_123","objectType":"sage50_sales_order","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"SALESORDERS-123"},"documentNumber":"SO-1001","status":"open","transactionDate":"2026-04-17","dueDate":"2026-05-17","currency":"USD","subtotal":99.9,"taxAmount":8.24,"totalAmount":108.14,"customerId":"cust_123","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"missingIdempotencyKey":{"summary":"Idempotency key required","value":{"error":{"message":"Missing required Idempotency-Key header","userFacingMessage":"Send an idempotency key and try again.","type":"validation_error","code":"IDEMPOTENCY_KEY_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"422":{"description":"Sage validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"sageValidationFailed":{"summary":"Sage rejected the request","value":{"error":{"message":"Sage rejected the sales order because one or more fields were invalid.","userFacingMessage":"Review the sales order details and try again.","type":"integration_validation_error","code":"SAGE_VALIDATION_FAILED","httpStatusCode":422,"requestId":"req_123","integrationCode":"VAL-1001","retryable":false,"correlationId":null,"details":{"fieldErrors":[{"field":"name","message":"Name is required."}]}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"updateSage50SalesOrders","summary":"Update Sales Order","description":"Update sales order in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when your app needs to save changes to an existing sales order.\n- Send the latest `revisionNumber` when Sage provides one so updates stay concurrency-safe.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Retry behavior\n- Send `Idempotency-Key` on every create and update request.\n- Reuse the same idempotency key when retrying the same logical action so Sage does not apply it twice.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst salesOrder = await client.sage50.salesOrders.update({\n  connectionId: \"conn_123\",\n  id: \"salesOrder_123\",\n  idempotencyKey: \"idem_20260417_0001\",\n  revisionNumber: \"7\",\n  status: \"open\",\n  dueDate: \"2026-05-17\",\n  transactionDate: \"2026-04-17\",\n  lines: [\n    {\n      lineId: \"line_123\",\n      itemId: \"item_123\",\n      accountId: \"acct_4000\",\n      description: \"Widget\",\n      quantity: 2,\n      unitPrice: 49.95,\n      amount: 99.9\n    }\n  ]\n});\n\nconsole.log(salesOrder);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nsalesOrder = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/sales-orders/salesOrder_123\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\",\n        \"Idempotency-Key\": \"idem_20260417_0001\"\n    },\n    json={\n        \"revisionNumber\": \"7\",\n        \"status\": \"open\",\n        \"dueDate\": \"2026-05-17\",\n        \"transactionDate\": \"2026-04-17\",\n        \"lines\": [\n            {\n                \"lineId\": \"line_123\",\n                \"itemId\": \"item_123\",\n                \"accountId\": \"acct_4000\",\n                \"description\": \"Widget\",\n                \"quantity\": 2,\n                \"unitPrice\": 49.95,\n                \"amount\": 99.9\n            }\n        ]\n    },\n)\nsalesOrder.raise_for_status()\nsalesOrder = salesOrder.json()\nprint(salesOrder)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/sales-orders/salesOrder_123\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .header(\"Idempotency-Key\", \"idem_20260417_0001\")\n    .header(\"Content-Type\", \"application/json\")\n    .POST(HttpRequest.BodyPublishers.ofString(\"{\\n  \\\"revisionNumber\\\": \\\"7\\\",\\n  \\\"status\\\": \\\"open\\\",\\n  \\\"dueDate\\\": \\\"2026-05-17\\\",\\n  \\\"transactionDate\\\": \\\"2026-04-17\\\",\\n  \\\"lines\\\": [\\n    {\\n      \\\"lineId\\\": \\\"line_123\\\",\\n      \\\"itemId\\\": \\\"item_123\\\",\\n      \\\"accountId\\\": \\\"acct_4000\\\",\\n      \\\"description\\\": \\\"Widget\\\",\\n      \\\"quantity\\\": 2,\\n      \\\"unitPrice\\\": 49.95,\\n      \\\"amount\\\": 99.9\\n    }\\n  ]\\n}\"));\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/sales-orders/salesOrder_123\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\" \\\n  --header \"Idempotency-Key: idem_20260417_0001\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n  \"revisionNumber\": \"7\",\n  \"status\": \"open\",\n  \"dueDate\": \"2026-05-17\",\n  \"transactionDate\": \"2026-04-17\",\n  \"lines\": [\n    {\n      \"lineId\": \"line_123\",\n      \"itemId\": \"item_123\",\n      \"accountId\": \"acct_4000\",\n      \"description\": \"Widget\",\n      \"quantity\": 2,\n      \"unitPrice\": 49.95,\n      \"amount\": 99.9\n    }\n  ]\n}'"}]}},"/v1/sage-50/sales-invoices":{"get":{"tags":["Sales Invoices"],"responses":{"200":{"description":"A page of Sage 50 sales invoices.","content":{"application/json":{"schema":{"type":"object","properties":{"objectType":{"type":"string","enum":["list"]},"url":{"type":"string","minLength":1},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_sales_invoice"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"documentNumber":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"dueDate":{"type":"string","nullable":true,"minLength":1},"currency":{"type":"string","nullable":true,"minLength":1},"subtotal":{"type":"number","nullable":true},"taxAmount":{"type":"number","nullable":true},"totalAmount":{"type":"number","nullable":true},"customerId":{"type":"string","nullable":true,"minLength":1},"invoiceNumber":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"lineId":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitPrice":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}}},"nextCursor":{"type":"string","nullable":true},"hasMore":{"type":"boolean"},"remainingCount":{"type":"integer","minimum":0}},"required":["objectType","url","data","nextCursor","hasMore","remainingCount"]},"examples":{"list":{"summary":"Sales Invoices page","value":{"objectType":"list","url":"/v1/sage-50/sales-invoices","data":[{"id":"salesInvoice_123","objectType":"sage50_sales_invoice","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"SALESINVOICES-123"},"documentNumber":"SI-1001","status":"posted","transactionDate":"2026-04-17","dueDate":"2026-05-17","currency":"USD","subtotal":99.9,"taxAmount":8.24,"totalAmount":108.14,"customerId":"cust_123","invoiceNumber":"SI-1001","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}],"nextCursor":null,"hasMore":false,"remainingCount":0}},"emptyPage":{"summary":"No sales invoices found","value":{"objectType":"list","url":"/v1/sage-50/sales-invoices","data":[],"nextCursor":null,"hasMore":false,"remainingCount":0}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"listSage50SalesInvoices","summary":"Get Sales Invoices","description":"Gets sales invoices from the selected Sage company through one country-neutral route.\n\n### When to use\n- Use this route when you need a page of sales invoices for sync, browsing, or search flows.\n- Prefer `updatedSince` plus `cursor` for incremental sync and resumable imports.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Pagination\n- Use `limit` to control page size.\n- Use `cursor` to continue from the previous page.\n- Use `updatedSince` when the connected Sage company supports incremental filtering.\n\n### Response shape\nReturns the standard list wrapper with normalized Sage resource objects inside `data`.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst salesInvoices = await client.sage50.salesInvoices.list({\n  connectionId: \"conn_123\",\n  limit: 20\n});\n\nconsole.log(salesInvoices.data);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nsalesInvoices = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/sales-invoices?limit=20\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\nsalesInvoices.raise_for_status()\nsalesInvoices = salesInvoices.json()\nprint(salesInvoices[\"data\"])"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/sales-invoices?limit=20\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/sales-invoices?limit=20\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"limit","in":"query","required":false,"description":"How many records to return at once.","schema":{"type":"integer","minimum":1,"maximum":150,"default":100,"example":100}},{"name":"cursor","in":"query","required":false,"description":"The next-page marker from a previous response.","schema":{"type":"string","minLength":1,"example":"cur_eyJvZmZzZXQiOjEwMH0"}},{"name":"updatedSince","in":"query","required":false,"description":"Only return records changed after this time, when the connected Sage company can support that filter.","schema":{"type":"string","format":"date-time","example":"2026-04-01T00:00:00.000Z"}}]},"post":{"tags":["Sales Invoices"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"externalId":{"type":"string","nullable":true,"minLength":1},"revisionNumber":{"type":"string","nullable":true,"minLength":1},"documentNumber":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"dueDate":{"type":"string","nullable":true,"minLength":1},"currency":{"type":"string","nullable":true,"minLength":1},"subtotal":{"type":"number","nullable":true},"taxAmount":{"type":"number","nullable":true},"totalAmount":{"type":"number","nullable":true},"customerId":{"type":"string","nullable":true,"minLength":1},"invoiceNumber":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"lineId":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitPrice":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"additionalProperties":{"nullable":true}},"examples":{"createExample":{"summary":"Create Sales Invoices","value":{"externalId":"salesInvoice_external_123","documentNumber":"SI-1001","status":"posted","transactionDate":"2026-04-17","dueDate":"2026-05-17","currency":"USD","subtotal":99.9,"taxAmount":8.24,"totalAmount":108.14,"customerId":"cust_123","invoiceNumber":"SI-1001","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}}}}},"required":true,"description":"The sales invoices record you want created in Sage. Example payload matches the generated SDK request model.\n\n### What to send\n- Send the normalized fields your app wants Sage to create.\n- Use the same field names shown in the examples and generated SDK models.\n\n### Retry behavior\nAlways send `Idempotency-Key` on create and update requests. Reuse the same key when retrying the same logical action."},"responses":{"200":{"description":"The sales invoices Sage created.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_sales_invoice"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"documentNumber":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"dueDate":{"type":"string","nullable":true,"minLength":1},"currency":{"type":"string","nullable":true,"minLength":1},"subtotal":{"type":"number","nullable":true},"taxAmount":{"type":"number","nullable":true},"totalAmount":{"type":"number","nullable":true},"customerId":{"type":"string","nullable":true,"minLength":1},"invoiceNumber":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"lineId":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitPrice":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"salesInvoices":{"summary":"Sales Invoices","value":{"id":"salesInvoice_123","objectType":"sage50_sales_invoice","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"SALESINVOICES-123"},"documentNumber":"SI-1001","status":"posted","transactionDate":"2026-04-17","dueDate":"2026-05-17","currency":"USD","subtotal":99.9,"taxAmount":8.24,"totalAmount":108.14,"customerId":"cust_123","invoiceNumber":"SI-1001","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"missingIdempotencyKey":{"summary":"Idempotency key required","value":{"error":{"message":"Missing required Idempotency-Key header","userFacingMessage":"Send an idempotency key and try again.","type":"validation_error","code":"IDEMPOTENCY_KEY_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"422":{"description":"Sage validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"sageValidationFailed":{"summary":"Sage rejected the request","value":{"error":{"message":"Sage rejected the sales invoice because one or more fields were invalid.","userFacingMessage":"Review the sales invoice details and try again.","type":"integration_validation_error","code":"SAGE_VALIDATION_FAILED","httpStatusCode":422,"requestId":"req_123","integrationCode":"VAL-1001","retryable":false,"correlationId":null,"details":{"fieldErrors":[{"field":"name","message":"Name is required."}]}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"createSage50SalesInvoices","summary":"Create Sales Invoice","description":"Create sales invoice in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when your app is the source of truth for a new sales invoice.\n- Send an idempotency key whenever a network retry might happen.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Retry behavior\n- Send `Idempotency-Key` on every create and update request.\n- Reuse the same idempotency key when retrying the same logical action so Sage does not apply it twice.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst salesInvoice = await client.sage50.salesInvoices.create({\n  connectionId: \"conn_123\",\n  idempotencyKey: \"idem_20260417_0001\",\n  externalId: \"salesInvoice_external_123\",\n  documentNumber: \"SI-1001\",\n  status: \"posted\",\n  transactionDate: \"2026-04-17\",\n  dueDate: \"2026-05-17\",\n  currency: \"USD\",\n  subtotal: 99.9,\n  taxAmount: 8.24,\n  totalAmount: 108.14,\n  customerId: \"cust_123\",\n  invoiceNumber: \"SI-1001\",\n  lines: [\n    {\n      lineId: \"line_123\",\n      itemId: \"item_123\",\n      accountId: \"acct_4000\",\n      description: \"Widget\",\n      quantity: 2,\n      unitPrice: 49.95,\n      amount: 99.9\n    }\n  ]\n});\n\nconsole.log(salesInvoice);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nsalesInvoice = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/sales-invoices\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\",\n        \"Idempotency-Key\": \"idem_20260417_0001\"\n    },\n    json={\n        \"externalId\": \"salesInvoice_external_123\",\n        \"documentNumber\": \"SI-1001\",\n        \"status\": \"posted\",\n        \"transactionDate\": \"2026-04-17\",\n        \"dueDate\": \"2026-05-17\",\n        \"currency\": \"USD\",\n        \"subtotal\": 99.9,\n        \"taxAmount\": 8.24,\n        \"totalAmount\": 108.14,\n        \"customerId\": \"cust_123\",\n        \"invoiceNumber\": \"SI-1001\",\n        \"lines\": [\n            {\n                \"lineId\": \"line_123\",\n                \"itemId\": \"item_123\",\n                \"accountId\": \"acct_4000\",\n                \"description\": \"Widget\",\n                \"quantity\": 2,\n                \"unitPrice\": 49.95,\n                \"amount\": 99.9\n            }\n        ]\n    },\n)\nsalesInvoice.raise_for_status()\nsalesInvoice = salesInvoice.json()\nprint(salesInvoice)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/sales-invoices\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .header(\"Idempotency-Key\", \"idem_20260417_0001\")\n    .header(\"Content-Type\", \"application/json\")\n    .POST(HttpRequest.BodyPublishers.ofString(\"{\\n  \\\"externalId\\\": \\\"salesInvoice_external_123\\\",\\n  \\\"documentNumber\\\": \\\"SI-1001\\\",\\n  \\\"status\\\": \\\"posted\\\",\\n  \\\"transactionDate\\\": \\\"2026-04-17\\\",\\n  \\\"dueDate\\\": \\\"2026-05-17\\\",\\n  \\\"currency\\\": \\\"USD\\\",\\n  \\\"subtotal\\\": 99.9,\\n  \\\"taxAmount\\\": 8.24,\\n  \\\"totalAmount\\\": 108.14,\\n  \\\"customerId\\\": \\\"cust_123\\\",\\n  \\\"invoiceNumber\\\": \\\"SI-1001\\\",\\n  \\\"lines\\\": [\\n    {\\n      \\\"lineId\\\": \\\"line_123\\\",\\n      \\\"itemId\\\": \\\"item_123\\\",\\n      \\\"accountId\\\": \\\"acct_4000\\\",\\n      \\\"description\\\": \\\"Widget\\\",\\n      \\\"quantity\\\": 2,\\n      \\\"unitPrice\\\": 49.95,\\n      \\\"amount\\\": 99.9\\n    }\\n  ]\\n}\"));\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/sales-invoices\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\" \\\n  --header \"Idempotency-Key: idem_20260417_0001\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n  \"externalId\": \"salesInvoice_external_123\",\n  \"documentNumber\": \"SI-1001\",\n  \"status\": \"posted\",\n  \"transactionDate\": \"2026-04-17\",\n  \"dueDate\": \"2026-05-17\",\n  \"currency\": \"USD\",\n  \"subtotal\": 99.9,\n  \"taxAmount\": 8.24,\n  \"totalAmount\": 108.14,\n  \"customerId\": \"cust_123\",\n  \"invoiceNumber\": \"SI-1001\",\n  \"lines\": [\n    {\n      \"lineId\": \"line_123\",\n      \"itemId\": \"item_123\",\n      \"accountId\": \"acct_4000\",\n      \"description\": \"Widget\",\n      \"quantity\": 2,\n      \"unitPrice\": 49.95,\n      \"amount\": 99.9\n    }\n  ]\n}'"}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique key for this create or update. Reuse the same key when retrying the same action so Sage does not do it twice.","schema":{"type":"string","minLength":1,"example":"idem_20260417_0001"}}]}},"/v1/sage-50/sales-invoices/{id}":{"get":{"tags":["Sales Invoices"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"src_123"},"required":true,"name":"id","in":"path"},{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}}],"responses":{"200":{"description":"One Sage 50 sales invoice.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_sales_invoice"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"documentNumber":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"dueDate":{"type":"string","nullable":true,"minLength":1},"currency":{"type":"string","nullable":true,"minLength":1},"subtotal":{"type":"number","nullable":true},"taxAmount":{"type":"number","nullable":true},"totalAmount":{"type":"number","nullable":true},"customerId":{"type":"string","nullable":true,"minLength":1},"invoiceNumber":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"lineId":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitPrice":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"salesInvoices":{"summary":"Sales Invoices","value":{"id":"salesInvoice_123","objectType":"sage50_sales_invoice","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"SALESINVOICES-123"},"documentNumber":"SI-1001","status":"posted","transactionDate":"2026-04-17","dueDate":"2026-05-17","currency":"USD","subtotal":99.9,"taxAmount":8.24,"totalAmount":108.14,"customerId":"cust_123","invoiceNumber":"SI-1001","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"notFound":{"summary":"Sales Invoices not found","value":{"error":{"message":"The requested sales invoice could not be found in Sage.","userFacingMessage":"Choose an existing sales invoice and try again.","type":"not_found_error","code":"NOT_FOUND","httpStatusCode":404,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"getSage50SalesInvoices","summary":"Get one Sales Invoice","description":"Get one sales invoice in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when you already know the id for one sales invoice.\n- Use the list route first when you need discovery or pagination.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst salesInvoice = await client.sage50.salesInvoices.get({\n  connectionId: \"conn_123\",\n  id: \"salesInvoice_123\"\n});\n\nconsole.log(salesInvoice);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nsalesInvoice = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/sales-invoices/salesInvoice_123\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\nsalesInvoice.raise_for_status()\nsalesInvoice = salesInvoice.json()\nprint(salesInvoice)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/sales-invoices/salesInvoice_123\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/sales-invoices/salesInvoice_123\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}]},"post":{"tags":["Sales Invoices"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"src_123"},"required":true,"name":"id","in":"path"},{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique key for this create or update. Reuse the same key when retrying the same action so Sage does not do it twice.","schema":{"type":"string","minLength":1,"example":"idem_20260417_0001"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"externalId":{"type":"string","nullable":true,"minLength":1},"revisionNumber":{"type":"string","nullable":true,"minLength":1},"documentNumber":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"dueDate":{"type":"string","nullable":true,"minLength":1},"currency":{"type":"string","nullable":true,"minLength":1},"subtotal":{"type":"number","nullable":true},"taxAmount":{"type":"number","nullable":true},"totalAmount":{"type":"number","nullable":true},"customerId":{"type":"string","nullable":true,"minLength":1},"invoiceNumber":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"lineId":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitPrice":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"additionalProperties":{"nullable":true}},"examples":{"updateExample":{"summary":"Update Sales Invoices","value":{"revisionNumber":"7","status":"posted","dueDate":"2026-05-17","transactionDate":"2026-04-17","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}}}}},"required":true,"description":"The sales invoices changes you want saved in Sage. Example payload matches the generated SDK request model.\n\n### What to send\n- Send only the fields you want Sage to change.\n- Use the same field names shown in the examples and generated SDK models.\n\n### Concurrency\nSend the latest `revisionNumber` when Sage returns one so updates stay aligned with the current desktop record.\n\n### Retry behavior\nAlways send `Idempotency-Key` on create and update requests. Reuse the same key when retrying the same logical action."},"responses":{"200":{"description":"The sales invoices after Sage saved the update.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_sales_invoice"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"documentNumber":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"dueDate":{"type":"string","nullable":true,"minLength":1},"currency":{"type":"string","nullable":true,"minLength":1},"subtotal":{"type":"number","nullable":true},"taxAmount":{"type":"number","nullable":true},"totalAmount":{"type":"number","nullable":true},"customerId":{"type":"string","nullable":true,"minLength":1},"invoiceNumber":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"lineId":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitPrice":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"salesInvoices":{"summary":"Sales Invoices","value":{"id":"salesInvoice_123","objectType":"sage50_sales_invoice","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"SALESINVOICES-123"},"documentNumber":"SI-1001","status":"posted","transactionDate":"2026-04-17","dueDate":"2026-05-17","currency":"USD","subtotal":99.9,"taxAmount":8.24,"totalAmount":108.14,"customerId":"cust_123","invoiceNumber":"SI-1001","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"missingIdempotencyKey":{"summary":"Idempotency key required","value":{"error":{"message":"Missing required Idempotency-Key header","userFacingMessage":"Send an idempotency key and try again.","type":"validation_error","code":"IDEMPOTENCY_KEY_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"422":{"description":"Sage validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"sageValidationFailed":{"summary":"Sage rejected the request","value":{"error":{"message":"Sage rejected the sales invoice because one or more fields were invalid.","userFacingMessage":"Review the sales invoice details and try again.","type":"integration_validation_error","code":"SAGE_VALIDATION_FAILED","httpStatusCode":422,"requestId":"req_123","integrationCode":"VAL-1001","retryable":false,"correlationId":null,"details":{"fieldErrors":[{"field":"name","message":"Name is required."}]}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"updateSage50SalesInvoices","summary":"Update Sales Invoice","description":"Update sales invoice in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when your app needs to save changes to an existing sales invoice.\n- Send the latest `revisionNumber` when Sage provides one so updates stay concurrency-safe.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Retry behavior\n- Send `Idempotency-Key` on every create and update request.\n- Reuse the same idempotency key when retrying the same logical action so Sage does not apply it twice.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst salesInvoice = await client.sage50.salesInvoices.update({\n  connectionId: \"conn_123\",\n  id: \"salesInvoice_123\",\n  idempotencyKey: \"idem_20260417_0001\",\n  revisionNumber: \"7\",\n  status: \"posted\",\n  dueDate: \"2026-05-17\",\n  transactionDate: \"2026-04-17\",\n  lines: [\n    {\n      lineId: \"line_123\",\n      itemId: \"item_123\",\n      accountId: \"acct_4000\",\n      description: \"Widget\",\n      quantity: 2,\n      unitPrice: 49.95,\n      amount: 99.9\n    }\n  ]\n});\n\nconsole.log(salesInvoice);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nsalesInvoice = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/sales-invoices/salesInvoice_123\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\",\n        \"Idempotency-Key\": \"idem_20260417_0001\"\n    },\n    json={\n        \"revisionNumber\": \"7\",\n        \"status\": \"posted\",\n        \"dueDate\": \"2026-05-17\",\n        \"transactionDate\": \"2026-04-17\",\n        \"lines\": [\n            {\n                \"lineId\": \"line_123\",\n                \"itemId\": \"item_123\",\n                \"accountId\": \"acct_4000\",\n                \"description\": \"Widget\",\n                \"quantity\": 2,\n                \"unitPrice\": 49.95,\n                \"amount\": 99.9\n            }\n        ]\n    },\n)\nsalesInvoice.raise_for_status()\nsalesInvoice = salesInvoice.json()\nprint(salesInvoice)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/sales-invoices/salesInvoice_123\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .header(\"Idempotency-Key\", \"idem_20260417_0001\")\n    .header(\"Content-Type\", \"application/json\")\n    .POST(HttpRequest.BodyPublishers.ofString(\"{\\n  \\\"revisionNumber\\\": \\\"7\\\",\\n  \\\"status\\\": \\\"posted\\\",\\n  \\\"dueDate\\\": \\\"2026-05-17\\\",\\n  \\\"transactionDate\\\": \\\"2026-04-17\\\",\\n  \\\"lines\\\": [\\n    {\\n      \\\"lineId\\\": \\\"line_123\\\",\\n      \\\"itemId\\\": \\\"item_123\\\",\\n      \\\"accountId\\\": \\\"acct_4000\\\",\\n      \\\"description\\\": \\\"Widget\\\",\\n      \\\"quantity\\\": 2,\\n      \\\"unitPrice\\\": 49.95,\\n      \\\"amount\\\": 99.9\\n    }\\n  ]\\n}\"));\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/sales-invoices/salesInvoice_123\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\" \\\n  --header \"Idempotency-Key: idem_20260417_0001\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n  \"revisionNumber\": \"7\",\n  \"status\": \"posted\",\n  \"dueDate\": \"2026-05-17\",\n  \"transactionDate\": \"2026-04-17\",\n  \"lines\": [\n    {\n      \"lineId\": \"line_123\",\n      \"itemId\": \"item_123\",\n      \"accountId\": \"acct_4000\",\n      \"description\": \"Widget\",\n      \"quantity\": 2,\n      \"unitPrice\": 49.95,\n      \"amount\": 99.9\n    }\n  ]\n}'"}]}},"/v1/sage-50/invoices":{"get":{"tags":["Invoices"],"responses":{"200":{"description":"A page of Sage 50 invoices.","content":{"application/json":{"schema":{"type":"object","properties":{"objectType":{"type":"string","enum":["list"]},"url":{"type":"string","minLength":1},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_invoice"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"documentNumber":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"dueDate":{"type":"string","nullable":true,"minLength":1},"currency":{"type":"string","nullable":true,"minLength":1},"subtotal":{"type":"number","nullable":true},"taxAmount":{"type":"number","nullable":true},"totalAmount":{"type":"number","nullable":true},"customerId":{"type":"string","nullable":true,"minLength":1},"invoiceNumber":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"lineId":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitPrice":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}}},"nextCursor":{"type":"string","nullable":true},"hasMore":{"type":"boolean"},"remainingCount":{"type":"integer","minimum":0}},"required":["objectType","url","data","nextCursor","hasMore","remainingCount"]},"examples":{"list":{"summary":"Invoices page","value":{"objectType":"list","url":"/v1/sage-50/invoices","data":[{"id":"invoice_123","objectType":"sage50_invoice","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"INVOICES-123"},"documentNumber":"INV-1001","status":"posted","transactionDate":"2026-04-17","dueDate":"2026-05-17","currency":"USD","subtotal":99.9,"taxAmount":8.24,"totalAmount":108.14,"customerId":"cust_123","invoiceNumber":"INV-1001","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}],"nextCursor":null,"hasMore":false,"remainingCount":0}},"emptyPage":{"summary":"No invoices found","value":{"objectType":"list","url":"/v1/sage-50/invoices","data":[],"nextCursor":null,"hasMore":false,"remainingCount":0}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"listSage50Invoices","summary":"Get invoices from Sage 50","description":"Gets invoices from the selected Sage company through one country-neutral route.\n\n### When to use\n- Use this route when you need a page of invoices for sync, browsing, or search flows.\n- Prefer `updatedSince` plus `cursor` for incremental sync and resumable imports.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Pagination\n- Use `limit` to control page size.\n- Use `cursor` to continue from the previous page.\n- Use `updatedSince` when the connected Sage company supports incremental filtering.\n\n### Response shape\nReturns the standard list wrapper with normalized Sage resource objects inside `data`.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst invoices = await client.sage50.invoices.list({\n  connectionId: \"conn_123\",\n  limit: 20,\n});\n\nconsole.log(invoices.data);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\ninvoices = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/invoices?limit=20\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\ninvoices.raise_for_status()\ninvoices = invoices.json()\nprint(invoices[\"data\"])"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/invoices?limit=20\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/invoices?limit=20\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"limit","in":"query","required":false,"description":"How many records to return at once.","schema":{"type":"integer","minimum":1,"maximum":150,"default":100,"example":100}},{"name":"cursor","in":"query","required":false,"description":"The next-page marker from a previous response.","schema":{"type":"string","minLength":1,"example":"cur_eyJvZmZzZXQiOjEwMH0"}},{"name":"updatedSince","in":"query","required":false,"description":"Only return records changed after this time, when the connected Sage company can support that filter.","schema":{"type":"string","format":"date-time","example":"2026-04-01T00:00:00.000Z"}}]},"post":{"tags":["Invoices"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"externalId":{"type":"string","nullable":true,"minLength":1},"revisionNumber":{"type":"string","nullable":true,"minLength":1},"documentNumber":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"dueDate":{"type":"string","nullable":true,"minLength":1},"currency":{"type":"string","nullable":true,"minLength":1},"subtotal":{"type":"number","nullable":true},"taxAmount":{"type":"number","nullable":true},"totalAmount":{"type":"number","nullable":true},"customerId":{"type":"string","nullable":true,"minLength":1},"invoiceNumber":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"lineId":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitPrice":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"additionalProperties":{"nullable":true}},"examples":{"createExample":{"summary":"Create Invoices","value":{"externalId":"invoice_external_123","documentNumber":"INV-1001","status":"posted","transactionDate":"2026-04-17","dueDate":"2026-05-17","currency":"USD","subtotal":99.9,"taxAmount":8.24,"totalAmount":108.14,"customerId":"cust_123","invoiceNumber":"INV-1001","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}}}}},"required":true,"description":"The invoices record you want created in Sage. Example payload matches the generated SDK request model.\n\n### What to send\n- Send the normalized fields your app wants Sage to create.\n- Use the same field names shown in the examples and generated SDK models.\n\n### Retry behavior\nAlways send `Idempotency-Key` on create and update requests. Reuse the same key when retrying the same logical action."},"responses":{"200":{"description":"The invoices Sage created.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_invoice"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"documentNumber":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"dueDate":{"type":"string","nullable":true,"minLength":1},"currency":{"type":"string","nullable":true,"minLength":1},"subtotal":{"type":"number","nullable":true},"taxAmount":{"type":"number","nullable":true},"totalAmount":{"type":"number","nullable":true},"customerId":{"type":"string","nullable":true,"minLength":1},"invoiceNumber":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"lineId":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitPrice":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"invoices":{"summary":"Invoices","value":{"id":"invoice_123","objectType":"sage50_invoice","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"INVOICES-123"},"documentNumber":"INV-1001","status":"posted","transactionDate":"2026-04-17","dueDate":"2026-05-17","currency":"USD","subtotal":99.9,"taxAmount":8.24,"totalAmount":108.14,"customerId":"cust_123","invoiceNumber":"INV-1001","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"missingIdempotencyKey":{"summary":"Idempotency key required","value":{"error":{"message":"Missing required Idempotency-Key header","userFacingMessage":"Send an idempotency key and try again.","type":"validation_error","code":"IDEMPOTENCY_KEY_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"422":{"description":"Sage validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"sageValidationFailed":{"summary":"Sage rejected the request","value":{"error":{"message":"Sage rejected the invoice because one or more fields were invalid.","userFacingMessage":"Review the invoice details and try again.","type":"integration_validation_error","code":"SAGE_VALIDATION_FAILED","httpStatusCode":422,"requestId":"req_123","integrationCode":"VAL-1001","retryable":false,"correlationId":null,"details":{"fieldErrors":[{"field":"name","message":"Name is required."}]}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"createSage50Invoice","summary":"Create a Sage 50 invoice","description":"Create invoice in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when your app is the source of truth for a new invoice.\n- Send an idempotency key whenever a network retry might happen.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Retry behavior\n- Send `Idempotency-Key` on every create and update request.\n- Reuse the same idempotency key when retrying the same logical action so Sage does not apply it twice.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst invoice = await client.sage50.invoices.create({\n  connectionId: \"conn_123\",\n  idempotencyKey: \"idem_20260417_0001\",\n  customerId: \"cust_123\",\n  invoiceDate: \"2026-04-17\",\n  lines: [\n    {\n      itemId: \"item_123\",\n      quantity: 2,\n      unitPrice: 49.95,\n    },\n  ],\n  memo: \"Created through the Sage Connector API\",\n});\n\nconsole.log(invoice);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\ninvoice = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/invoices\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\",\n        \"Idempotency-Key\": \"idem_20260417_0001\"\n    },\n    json={\n        \"externalId\": \"invoice_external_123\",\n        \"documentNumber\": \"INV-1001\",\n        \"status\": \"posted\",\n        \"transactionDate\": \"2026-04-17\",\n        \"dueDate\": \"2026-05-17\",\n        \"currency\": \"USD\",\n        \"subtotal\": 99.9,\n        \"taxAmount\": 8.24,\n        \"totalAmount\": 108.14,\n        \"customerId\": \"cust_123\",\n        \"invoiceNumber\": \"INV-1001\",\n        \"lines\": [\n            {\n                \"lineId\": \"line_123\",\n                \"itemId\": \"item_123\",\n                \"accountId\": \"acct_4000\",\n                \"description\": \"Widget\",\n                \"quantity\": 2,\n                \"unitPrice\": 49.95,\n                \"amount\": 99.9\n            }\n        ]\n    },\n)\ninvoice.raise_for_status()\ninvoice = invoice.json()\nprint(invoice)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/invoices\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .header(\"Idempotency-Key\", \"idem_20260417_0001\")\n    .header(\"Content-Type\", \"application/json\")\n    .POST(HttpRequest.BodyPublishers.ofString(\"{\\n  \\\"externalId\\\": \\\"invoice_external_123\\\",\\n  \\\"documentNumber\\\": \\\"INV-1001\\\",\\n  \\\"status\\\": \\\"posted\\\",\\n  \\\"transactionDate\\\": \\\"2026-04-17\\\",\\n  \\\"dueDate\\\": \\\"2026-05-17\\\",\\n  \\\"currency\\\": \\\"USD\\\",\\n  \\\"subtotal\\\": 99.9,\\n  \\\"taxAmount\\\": 8.24,\\n  \\\"totalAmount\\\": 108.14,\\n  \\\"customerId\\\": \\\"cust_123\\\",\\n  \\\"invoiceNumber\\\": \\\"INV-1001\\\",\\n  \\\"lines\\\": [\\n    {\\n      \\\"lineId\\\": \\\"line_123\\\",\\n      \\\"itemId\\\": \\\"item_123\\\",\\n      \\\"accountId\\\": \\\"acct_4000\\\",\\n      \\\"description\\\": \\\"Widget\\\",\\n      \\\"quantity\\\": 2,\\n      \\\"unitPrice\\\": 49.95,\\n      \\\"amount\\\": 99.9\\n    }\\n  ]\\n}\"));\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/invoices\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\" \\\n  --header \"Idempotency-Key: idem_20260417_0001\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n  \"externalId\": \"invoice_external_123\",\n  \"documentNumber\": \"INV-1001\",\n  \"status\": \"posted\",\n  \"transactionDate\": \"2026-04-17\",\n  \"dueDate\": \"2026-05-17\",\n  \"currency\": \"USD\",\n  \"subtotal\": 99.9,\n  \"taxAmount\": 8.24,\n  \"totalAmount\": 108.14,\n  \"customerId\": \"cust_123\",\n  \"invoiceNumber\": \"INV-1001\",\n  \"lines\": [\n    {\n      \"lineId\": \"line_123\",\n      \"itemId\": \"item_123\",\n      \"accountId\": \"acct_4000\",\n      \"description\": \"Widget\",\n      \"quantity\": 2,\n      \"unitPrice\": 49.95,\n      \"amount\": 99.9\n    }\n  ]\n}'"}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique key for this create or update. Reuse the same key when retrying the same action so Sage does not do it twice.","schema":{"type":"string","minLength":1,"example":"idem_20260417_0001"}}]}},"/v1/sage-50/invoices/{id}":{"get":{"tags":["Invoices"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"src_123"},"required":true,"name":"id","in":"path"},{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}}],"responses":{"200":{"description":"One Sage 50 invoice.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_invoice"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"documentNumber":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"dueDate":{"type":"string","nullable":true,"minLength":1},"currency":{"type":"string","nullable":true,"minLength":1},"subtotal":{"type":"number","nullable":true},"taxAmount":{"type":"number","nullable":true},"totalAmount":{"type":"number","nullable":true},"customerId":{"type":"string","nullable":true,"minLength":1},"invoiceNumber":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"lineId":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitPrice":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"invoices":{"summary":"Invoices","value":{"id":"invoice_123","objectType":"sage50_invoice","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"INVOICES-123"},"documentNumber":"INV-1001","status":"posted","transactionDate":"2026-04-17","dueDate":"2026-05-17","currency":"USD","subtotal":99.9,"taxAmount":8.24,"totalAmount":108.14,"customerId":"cust_123","invoiceNumber":"INV-1001","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"notFound":{"summary":"Invoices not found","value":{"error":{"message":"The requested invoice could not be found in Sage.","userFacingMessage":"Choose an existing invoice and try again.","type":"not_found_error","code":"NOT_FOUND","httpStatusCode":404,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"getSage50Invoice","summary":"Get one Sage 50 invoice","description":"Get one invoice in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when you already know the id for one invoice.\n- Use the list route first when you need discovery or pagination.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst invoice = await client.sage50.invoices.get({\n  connectionId: \"conn_123\",\n  id: \"inv_123\",\n});\n\nconsole.log(invoice);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\ninvoice = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/invoices/invoice_123\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\ninvoice.raise_for_status()\ninvoice = invoice.json()\nprint(invoice)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/invoices/invoice_123\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/invoices/invoice_123\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}]},"post":{"tags":["Invoices"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"src_123"},"required":true,"name":"id","in":"path"},{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique key for this create or update. Reuse the same key when retrying the same action so Sage does not do it twice.","schema":{"type":"string","minLength":1,"example":"idem_20260417_0001"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"externalId":{"type":"string","nullable":true,"minLength":1},"revisionNumber":{"type":"string","nullable":true,"minLength":1},"documentNumber":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"dueDate":{"type":"string","nullable":true,"minLength":1},"currency":{"type":"string","nullable":true,"minLength":1},"subtotal":{"type":"number","nullable":true},"taxAmount":{"type":"number","nullable":true},"totalAmount":{"type":"number","nullable":true},"customerId":{"type":"string","nullable":true,"minLength":1},"invoiceNumber":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"lineId":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitPrice":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"additionalProperties":{"nullable":true}},"examples":{"updateExample":{"summary":"Update Invoices","value":{"revisionNumber":"7","status":"posted","dueDate":"2026-05-17","transactionDate":"2026-04-17","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}}}}},"required":true,"description":"The invoices changes you want saved in Sage. Example payload matches the generated SDK request model.\n\n### What to send\n- Send only the fields you want Sage to change.\n- Use the same field names shown in the examples and generated SDK models.\n\n### Concurrency\nSend the latest `revisionNumber` when Sage returns one so updates stay aligned with the current desktop record.\n\n### Retry behavior\nAlways send `Idempotency-Key` on create and update requests. Reuse the same key when retrying the same logical action."},"responses":{"200":{"description":"The invoices after Sage saved the update.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_invoice"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"documentNumber":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"dueDate":{"type":"string","nullable":true,"minLength":1},"currency":{"type":"string","nullable":true,"minLength":1},"subtotal":{"type":"number","nullable":true},"taxAmount":{"type":"number","nullable":true},"totalAmount":{"type":"number","nullable":true},"customerId":{"type":"string","nullable":true,"minLength":1},"invoiceNumber":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"lineId":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitPrice":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"invoices":{"summary":"Invoices","value":{"id":"invoice_123","objectType":"sage50_invoice","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"INVOICES-123"},"documentNumber":"INV-1001","status":"posted","transactionDate":"2026-04-17","dueDate":"2026-05-17","currency":"USD","subtotal":99.9,"taxAmount":8.24,"totalAmount":108.14,"customerId":"cust_123","invoiceNumber":"INV-1001","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"missingIdempotencyKey":{"summary":"Idempotency key required","value":{"error":{"message":"Missing required Idempotency-Key header","userFacingMessage":"Send an idempotency key and try again.","type":"validation_error","code":"IDEMPOTENCY_KEY_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"422":{"description":"Sage validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"sageValidationFailed":{"summary":"Sage rejected the request","value":{"error":{"message":"Sage rejected the invoice because one or more fields were invalid.","userFacingMessage":"Review the invoice details and try again.","type":"integration_validation_error","code":"SAGE_VALIDATION_FAILED","httpStatusCode":422,"requestId":"req_123","integrationCode":"VAL-1001","retryable":false,"correlationId":null,"details":{"fieldErrors":[{"field":"name","message":"Name is required."}]}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"updateSage50Invoice","summary":"Update a Sage 50 invoice","description":"Update invoice in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when your app needs to save changes to an existing invoice.\n- Send the latest `revisionNumber` when Sage provides one so updates stay concurrency-safe.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Retry behavior\n- Send `Idempotency-Key` on every create and update request.\n- Reuse the same idempotency key when retrying the same logical action so Sage does not apply it twice.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst invoice = await client.sage50.invoices.update({\n  connectionId: \"conn_123\",\n  idempotencyKey: \"idem_20260417_0002\",\n  id: \"inv_123\",\n  revisionNumber: \"7\",\n  memo: \"Updated through the Sage Connector API\",\n});\n\nconsole.log(invoice);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\ninvoice = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/invoices/invoice_123\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\",\n        \"Idempotency-Key\": \"idem_20260417_0001\"\n    },\n    json={\n        \"revisionNumber\": \"7\",\n        \"status\": \"posted\",\n        \"dueDate\": \"2026-05-17\",\n        \"transactionDate\": \"2026-04-17\",\n        \"lines\": [\n            {\n                \"lineId\": \"line_123\",\n                \"itemId\": \"item_123\",\n                \"accountId\": \"acct_4000\",\n                \"description\": \"Widget\",\n                \"quantity\": 2,\n                \"unitPrice\": 49.95,\n                \"amount\": 99.9\n            }\n        ]\n    },\n)\ninvoice.raise_for_status()\ninvoice = invoice.json()\nprint(invoice)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/invoices/invoice_123\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .header(\"Idempotency-Key\", \"idem_20260417_0001\")\n    .header(\"Content-Type\", \"application/json\")\n    .POST(HttpRequest.BodyPublishers.ofString(\"{\\n  \\\"revisionNumber\\\": \\\"7\\\",\\n  \\\"status\\\": \\\"posted\\\",\\n  \\\"dueDate\\\": \\\"2026-05-17\\\",\\n  \\\"transactionDate\\\": \\\"2026-04-17\\\",\\n  \\\"lines\\\": [\\n    {\\n      \\\"lineId\\\": \\\"line_123\\\",\\n      \\\"itemId\\\": \\\"item_123\\\",\\n      \\\"accountId\\\": \\\"acct_4000\\\",\\n      \\\"description\\\": \\\"Widget\\\",\\n      \\\"quantity\\\": 2,\\n      \\\"unitPrice\\\": 49.95,\\n      \\\"amount\\\": 99.9\\n    }\\n  ]\\n}\"));\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/invoices/invoice_123\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\" \\\n  --header \"Idempotency-Key: idem_20260417_0001\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n  \"revisionNumber\": \"7\",\n  \"status\": \"posted\",\n  \"dueDate\": \"2026-05-17\",\n  \"transactionDate\": \"2026-04-17\",\n  \"lines\": [\n    {\n      \"lineId\": \"line_123\",\n      \"itemId\": \"item_123\",\n      \"accountId\": \"acct_4000\",\n      \"description\": \"Widget\",\n      \"quantity\": 2,\n      \"unitPrice\": 49.95,\n      \"amount\": 99.9\n    }\n  ]\n}'"}]}},"/v1/sage-50/sales-credit-memos":{"get":{"tags":["Sales Credit Memos"],"responses":{"200":{"description":"A page of Sage 50 sales credit memos.","content":{"application/json":{"schema":{"type":"object","properties":{"objectType":{"type":"string","enum":["list"]},"url":{"type":"string","minLength":1},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_sales_credit_memo"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"documentNumber":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"dueDate":{"type":"string","nullable":true,"minLength":1},"currency":{"type":"string","nullable":true,"minLength":1},"subtotal":{"type":"number","nullable":true},"taxAmount":{"type":"number","nullable":true},"totalAmount":{"type":"number","nullable":true},"customerId":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"lineId":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitPrice":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}}},"nextCursor":{"type":"string","nullable":true},"hasMore":{"type":"boolean"},"remainingCount":{"type":"integer","minimum":0}},"required":["objectType","url","data","nextCursor","hasMore","remainingCount"]},"examples":{"list":{"summary":"Sales Credit Memos page","value":{"objectType":"list","url":"/v1/sage-50/sales-credit-memos","data":[{"id":"salesCreditMemo_123","objectType":"sage50_sales_credit_memo","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"SALESCREDITMEMOS-123"},"documentNumber":"SCM-1001","status":"posted","transactionDate":"2026-04-17","dueDate":"2026-05-17","currency":"USD","subtotal":49.95,"taxAmount":4.12,"totalAmount":54.07,"customerId":"cust_123","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}],"nextCursor":null,"hasMore":false,"remainingCount":0}},"emptyPage":{"summary":"No sales credit memos found","value":{"objectType":"list","url":"/v1/sage-50/sales-credit-memos","data":[],"nextCursor":null,"hasMore":false,"remainingCount":0}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"listSage50SalesCreditMemos","summary":"Get Sales Credit Memos","description":"Gets sales credit memos from the selected Sage company through one country-neutral route.\n\n### When to use\n- Use this route when you need a page of sales credit memos for sync, browsing, or search flows.\n- Prefer `updatedSince` plus `cursor` for incremental sync and resumable imports.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Pagination\n- Use `limit` to control page size.\n- Use `cursor` to continue from the previous page.\n- Use `updatedSince` when the connected Sage company supports incremental filtering.\n\n### Response shape\nReturns the standard list wrapper with normalized Sage resource objects inside `data`.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst salesCreditMemos = await client.sage50.salesCreditMemos.list({\n  connectionId: \"conn_123\",\n  limit: 20\n});\n\nconsole.log(salesCreditMemos.data);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nsalesCreditMemos = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/sales-credit-memos?limit=20\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\nsalesCreditMemos.raise_for_status()\nsalesCreditMemos = salesCreditMemos.json()\nprint(salesCreditMemos[\"data\"])"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/sales-credit-memos?limit=20\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/sales-credit-memos?limit=20\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"limit","in":"query","required":false,"description":"How many records to return at once.","schema":{"type":"integer","minimum":1,"maximum":150,"default":100,"example":100}},{"name":"cursor","in":"query","required":false,"description":"The next-page marker from a previous response.","schema":{"type":"string","minLength":1,"example":"cur_eyJvZmZzZXQiOjEwMH0"}},{"name":"updatedSince","in":"query","required":false,"description":"Only return records changed after this time, when the connected Sage company can support that filter.","schema":{"type":"string","format":"date-time","example":"2026-04-01T00:00:00.000Z"}}]},"post":{"tags":["Sales Credit Memos"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"externalId":{"type":"string","nullable":true,"minLength":1},"revisionNumber":{"type":"string","nullable":true,"minLength":1},"documentNumber":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"dueDate":{"type":"string","nullable":true,"minLength":1},"currency":{"type":"string","nullable":true,"minLength":1},"subtotal":{"type":"number","nullable":true},"taxAmount":{"type":"number","nullable":true},"totalAmount":{"type":"number","nullable":true},"customerId":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"lineId":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitPrice":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"additionalProperties":{"nullable":true}},"examples":{"createExample":{"summary":"Create Sales Credit Memos","value":{"externalId":"salesCreditMemo_external_123","documentNumber":"SCM-1001","status":"posted","transactionDate":"2026-04-17","dueDate":"2026-05-17","currency":"USD","subtotal":49.95,"taxAmount":4.12,"totalAmount":54.07,"customerId":"cust_123","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}}}}},"required":true,"description":"The sales credit memos record you want created in Sage. Example payload matches the generated SDK request model.\n\n### What to send\n- Send the normalized fields your app wants Sage to create.\n- Use the same field names shown in the examples and generated SDK models.\n\n### Retry behavior\nAlways send `Idempotency-Key` on create and update requests. Reuse the same key when retrying the same logical action."},"responses":{"200":{"description":"The sales credit memos Sage created.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_sales_credit_memo"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"documentNumber":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"dueDate":{"type":"string","nullable":true,"minLength":1},"currency":{"type":"string","nullable":true,"minLength":1},"subtotal":{"type":"number","nullable":true},"taxAmount":{"type":"number","nullable":true},"totalAmount":{"type":"number","nullable":true},"customerId":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"lineId":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitPrice":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"salesCreditMemos":{"summary":"Sales Credit Memos","value":{"id":"salesCreditMemo_123","objectType":"sage50_sales_credit_memo","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"SALESCREDITMEMOS-123"},"documentNumber":"SCM-1001","status":"posted","transactionDate":"2026-04-17","dueDate":"2026-05-17","currency":"USD","subtotal":49.95,"taxAmount":4.12,"totalAmount":54.07,"customerId":"cust_123","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"missingIdempotencyKey":{"summary":"Idempotency key required","value":{"error":{"message":"Missing required Idempotency-Key header","userFacingMessage":"Send an idempotency key and try again.","type":"validation_error","code":"IDEMPOTENCY_KEY_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"422":{"description":"Sage validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"sageValidationFailed":{"summary":"Sage rejected the request","value":{"error":{"message":"Sage rejected the sales credit memo because one or more fields were invalid.","userFacingMessage":"Review the sales credit memo details and try again.","type":"integration_validation_error","code":"SAGE_VALIDATION_FAILED","httpStatusCode":422,"requestId":"req_123","integrationCode":"VAL-1001","retryable":false,"correlationId":null,"details":{"fieldErrors":[{"field":"name","message":"Name is required."}]}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"createSage50SalesCreditMemos","summary":"Create Sales Credit Memo","description":"Create sales credit memo in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when your app is the source of truth for a new sales credit memo.\n- Send an idempotency key whenever a network retry might happen.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Retry behavior\n- Send `Idempotency-Key` on every create and update request.\n- Reuse the same idempotency key when retrying the same logical action so Sage does not apply it twice.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst salesCreditMemo = await client.sage50.salesCreditMemos.create({\n  connectionId: \"conn_123\",\n  idempotencyKey: \"idem_20260417_0001\",\n  externalId: \"salesCreditMemo_external_123\",\n  documentNumber: \"SCM-1001\",\n  status: \"posted\",\n  transactionDate: \"2026-04-17\",\n  dueDate: \"2026-05-17\",\n  currency: \"USD\",\n  subtotal: 49.95,\n  taxAmount: 4.12,\n  totalAmount: 54.07,\n  customerId: \"cust_123\",\n  lines: [\n    {\n      lineId: \"line_123\",\n      itemId: \"item_123\",\n      accountId: \"acct_4000\",\n      description: \"Widget\",\n      quantity: 2,\n      unitPrice: 49.95,\n      amount: 99.9\n    }\n  ]\n});\n\nconsole.log(salesCreditMemo);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nsalesCreditMemo = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/sales-credit-memos\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\",\n        \"Idempotency-Key\": \"idem_20260417_0001\"\n    },\n    json={\n        \"externalId\": \"salesCreditMemo_external_123\",\n        \"documentNumber\": \"SCM-1001\",\n        \"status\": \"posted\",\n        \"transactionDate\": \"2026-04-17\",\n        \"dueDate\": \"2026-05-17\",\n        \"currency\": \"USD\",\n        \"subtotal\": 49.95,\n        \"taxAmount\": 4.12,\n        \"totalAmount\": 54.07,\n        \"customerId\": \"cust_123\",\n        \"lines\": [\n            {\n                \"lineId\": \"line_123\",\n                \"itemId\": \"item_123\",\n                \"accountId\": \"acct_4000\",\n                \"description\": \"Widget\",\n                \"quantity\": 2,\n                \"unitPrice\": 49.95,\n                \"amount\": 99.9\n            }\n        ]\n    },\n)\nsalesCreditMemo.raise_for_status()\nsalesCreditMemo = salesCreditMemo.json()\nprint(salesCreditMemo)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/sales-credit-memos\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .header(\"Idempotency-Key\", \"idem_20260417_0001\")\n    .header(\"Content-Type\", \"application/json\")\n    .POST(HttpRequest.BodyPublishers.ofString(\"{\\n  \\\"externalId\\\": \\\"salesCreditMemo_external_123\\\",\\n  \\\"documentNumber\\\": \\\"SCM-1001\\\",\\n  \\\"status\\\": \\\"posted\\\",\\n  \\\"transactionDate\\\": \\\"2026-04-17\\\",\\n  \\\"dueDate\\\": \\\"2026-05-17\\\",\\n  \\\"currency\\\": \\\"USD\\\",\\n  \\\"subtotal\\\": 49.95,\\n  \\\"taxAmount\\\": 4.12,\\n  \\\"totalAmount\\\": 54.07,\\n  \\\"customerId\\\": \\\"cust_123\\\",\\n  \\\"lines\\\": [\\n    {\\n      \\\"lineId\\\": \\\"line_123\\\",\\n      \\\"itemId\\\": \\\"item_123\\\",\\n      \\\"accountId\\\": \\\"acct_4000\\\",\\n      \\\"description\\\": \\\"Widget\\\",\\n      \\\"quantity\\\": 2,\\n      \\\"unitPrice\\\": 49.95,\\n      \\\"amount\\\": 99.9\\n    }\\n  ]\\n}\"));\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/sales-credit-memos\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\" \\\n  --header \"Idempotency-Key: idem_20260417_0001\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n  \"externalId\": \"salesCreditMemo_external_123\",\n  \"documentNumber\": \"SCM-1001\",\n  \"status\": \"posted\",\n  \"transactionDate\": \"2026-04-17\",\n  \"dueDate\": \"2026-05-17\",\n  \"currency\": \"USD\",\n  \"subtotal\": 49.95,\n  \"taxAmount\": 4.12,\n  \"totalAmount\": 54.07,\n  \"customerId\": \"cust_123\",\n  \"lines\": [\n    {\n      \"lineId\": \"line_123\",\n      \"itemId\": \"item_123\",\n      \"accountId\": \"acct_4000\",\n      \"description\": \"Widget\",\n      \"quantity\": 2,\n      \"unitPrice\": 49.95,\n      \"amount\": 99.9\n    }\n  ]\n}'"}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique key for this create or update. Reuse the same key when retrying the same action so Sage does not do it twice.","schema":{"type":"string","minLength":1,"example":"idem_20260417_0001"}}]}},"/v1/sage-50/sales-credit-memos/{id}":{"get":{"tags":["Sales Credit Memos"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"src_123"},"required":true,"name":"id","in":"path"},{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}}],"responses":{"200":{"description":"One Sage 50 sales credit memo.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_sales_credit_memo"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"documentNumber":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"dueDate":{"type":"string","nullable":true,"minLength":1},"currency":{"type":"string","nullable":true,"minLength":1},"subtotal":{"type":"number","nullable":true},"taxAmount":{"type":"number","nullable":true},"totalAmount":{"type":"number","nullable":true},"customerId":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"lineId":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitPrice":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"salesCreditMemos":{"summary":"Sales Credit Memos","value":{"id":"salesCreditMemo_123","objectType":"sage50_sales_credit_memo","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"SALESCREDITMEMOS-123"},"documentNumber":"SCM-1001","status":"posted","transactionDate":"2026-04-17","dueDate":"2026-05-17","currency":"USD","subtotal":49.95,"taxAmount":4.12,"totalAmount":54.07,"customerId":"cust_123","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"notFound":{"summary":"Sales Credit Memos not found","value":{"error":{"message":"The requested sales credit memo could not be found in Sage.","userFacingMessage":"Choose an existing sales credit memo and try again.","type":"not_found_error","code":"NOT_FOUND","httpStatusCode":404,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"getSage50SalesCreditMemos","summary":"Get one Sales Credit Memo","description":"Get one sales credit memo in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when you already know the id for one sales credit memo.\n- Use the list route first when you need discovery or pagination.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst salesCreditMemo = await client.sage50.salesCreditMemos.get({\n  connectionId: \"conn_123\",\n  id: \"salesCreditMemo_123\"\n});\n\nconsole.log(salesCreditMemo);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nsalesCreditMemo = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/sales-credit-memos/salesCreditMemo_123\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\nsalesCreditMemo.raise_for_status()\nsalesCreditMemo = salesCreditMemo.json()\nprint(salesCreditMemo)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/sales-credit-memos/salesCreditMemo_123\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/sales-credit-memos/salesCreditMemo_123\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}]},"post":{"tags":["Sales Credit Memos"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"src_123"},"required":true,"name":"id","in":"path"},{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique key for this create or update. Reuse the same key when retrying the same action so Sage does not do it twice.","schema":{"type":"string","minLength":1,"example":"idem_20260417_0001"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"externalId":{"type":"string","nullable":true,"minLength":1},"revisionNumber":{"type":"string","nullable":true,"minLength":1},"documentNumber":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"dueDate":{"type":"string","nullable":true,"minLength":1},"currency":{"type":"string","nullable":true,"minLength":1},"subtotal":{"type":"number","nullable":true},"taxAmount":{"type":"number","nullable":true},"totalAmount":{"type":"number","nullable":true},"customerId":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"lineId":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitPrice":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"additionalProperties":{"nullable":true}},"examples":{"updateExample":{"summary":"Update Sales Credit Memos","value":{"revisionNumber":"7","status":"posted","dueDate":"2026-05-17","transactionDate":"2026-04-17","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}}}}},"required":true,"description":"The sales credit memos changes you want saved in Sage. Example payload matches the generated SDK request model.\n\n### What to send\n- Send only the fields you want Sage to change.\n- Use the same field names shown in the examples and generated SDK models.\n\n### Concurrency\nSend the latest `revisionNumber` when Sage returns one so updates stay aligned with the current desktop record.\n\n### Retry behavior\nAlways send `Idempotency-Key` on create and update requests. Reuse the same key when retrying the same logical action."},"responses":{"200":{"description":"The sales credit memos after Sage saved the update.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_sales_credit_memo"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"documentNumber":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"dueDate":{"type":"string","nullable":true,"minLength":1},"currency":{"type":"string","nullable":true,"minLength":1},"subtotal":{"type":"number","nullable":true},"taxAmount":{"type":"number","nullable":true},"totalAmount":{"type":"number","nullable":true},"customerId":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"lineId":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitPrice":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"salesCreditMemos":{"summary":"Sales Credit Memos","value":{"id":"salesCreditMemo_123","objectType":"sage50_sales_credit_memo","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"SALESCREDITMEMOS-123"},"documentNumber":"SCM-1001","status":"posted","transactionDate":"2026-04-17","dueDate":"2026-05-17","currency":"USD","subtotal":49.95,"taxAmount":4.12,"totalAmount":54.07,"customerId":"cust_123","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"missingIdempotencyKey":{"summary":"Idempotency key required","value":{"error":{"message":"Missing required Idempotency-Key header","userFacingMessage":"Send an idempotency key and try again.","type":"validation_error","code":"IDEMPOTENCY_KEY_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"422":{"description":"Sage validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"sageValidationFailed":{"summary":"Sage rejected the request","value":{"error":{"message":"Sage rejected the sales credit memo because one or more fields were invalid.","userFacingMessage":"Review the sales credit memo details and try again.","type":"integration_validation_error","code":"SAGE_VALIDATION_FAILED","httpStatusCode":422,"requestId":"req_123","integrationCode":"VAL-1001","retryable":false,"correlationId":null,"details":{"fieldErrors":[{"field":"name","message":"Name is required."}]}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"updateSage50SalesCreditMemos","summary":"Update Sales Credit Memo","description":"Update sales credit memo in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when your app needs to save changes to an existing sales credit memo.\n- Send the latest `revisionNumber` when Sage provides one so updates stay concurrency-safe.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Retry behavior\n- Send `Idempotency-Key` on every create and update request.\n- Reuse the same idempotency key when retrying the same logical action so Sage does not apply it twice.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst salesCreditMemo = await client.sage50.salesCreditMemos.update({\n  connectionId: \"conn_123\",\n  id: \"salesCreditMemo_123\",\n  idempotencyKey: \"idem_20260417_0001\",\n  revisionNumber: \"7\",\n  status: \"posted\",\n  dueDate: \"2026-05-17\",\n  transactionDate: \"2026-04-17\",\n  lines: [\n    {\n      lineId: \"line_123\",\n      itemId: \"item_123\",\n      accountId: \"acct_4000\",\n      description: \"Widget\",\n      quantity: 2,\n      unitPrice: 49.95,\n      amount: 99.9\n    }\n  ]\n});\n\nconsole.log(salesCreditMemo);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nsalesCreditMemo = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/sales-credit-memos/salesCreditMemo_123\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\",\n        \"Idempotency-Key\": \"idem_20260417_0001\"\n    },\n    json={\n        \"revisionNumber\": \"7\",\n        \"status\": \"posted\",\n        \"dueDate\": \"2026-05-17\",\n        \"transactionDate\": \"2026-04-17\",\n        \"lines\": [\n            {\n                \"lineId\": \"line_123\",\n                \"itemId\": \"item_123\",\n                \"accountId\": \"acct_4000\",\n                \"description\": \"Widget\",\n                \"quantity\": 2,\n                \"unitPrice\": 49.95,\n                \"amount\": 99.9\n            }\n        ]\n    },\n)\nsalesCreditMemo.raise_for_status()\nsalesCreditMemo = salesCreditMemo.json()\nprint(salesCreditMemo)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/sales-credit-memos/salesCreditMemo_123\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .header(\"Idempotency-Key\", \"idem_20260417_0001\")\n    .header(\"Content-Type\", \"application/json\")\n    .POST(HttpRequest.BodyPublishers.ofString(\"{\\n  \\\"revisionNumber\\\": \\\"7\\\",\\n  \\\"status\\\": \\\"posted\\\",\\n  \\\"dueDate\\\": \\\"2026-05-17\\\",\\n  \\\"transactionDate\\\": \\\"2026-04-17\\\",\\n  \\\"lines\\\": [\\n    {\\n      \\\"lineId\\\": \\\"line_123\\\",\\n      \\\"itemId\\\": \\\"item_123\\\",\\n      \\\"accountId\\\": \\\"acct_4000\\\",\\n      \\\"description\\\": \\\"Widget\\\",\\n      \\\"quantity\\\": 2,\\n      \\\"unitPrice\\\": 49.95,\\n      \\\"amount\\\": 99.9\\n    }\\n  ]\\n}\"));\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/sales-credit-memos/salesCreditMemo_123\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\" \\\n  --header \"Idempotency-Key: idem_20260417_0001\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n  \"revisionNumber\": \"7\",\n  \"status\": \"posted\",\n  \"dueDate\": \"2026-05-17\",\n  \"transactionDate\": \"2026-04-17\",\n  \"lines\": [\n    {\n      \"lineId\": \"line_123\",\n      \"itemId\": \"item_123\",\n      \"accountId\": \"acct_4000\",\n      \"description\": \"Widget\",\n      \"quantity\": 2,\n      \"unitPrice\": 49.95,\n      \"amount\": 99.9\n    }\n  ]\n}'"}]}},"/v1/sage-50/receipts":{"get":{"tags":["Receipts"],"responses":{"200":{"description":"A page of Sage 50 receipts.","content":{"application/json":{"schema":{"type":"object","properties":{"objectType":{"type":"string","enum":["list"]},"url":{"type":"string","minLength":1},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_receipt"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"customerId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"totalAmount":{"type":"number","nullable":true},"currency":{"type":"string","nullable":true,"minLength":1},"referenceNumber":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"lineId":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitPrice":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}}},"nextCursor":{"type":"string","nullable":true},"hasMore":{"type":"boolean"},"remainingCount":{"type":"integer","minimum":0}},"required":["objectType","url","data","nextCursor","hasMore","remainingCount"]},"examples":{"list":{"summary":"Receipts page","value":{"objectType":"list","url":"/v1/sage-50/receipts","data":[{"id":"receipt_123","objectType":"sage50_receipt","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"RECEIPTS-123"},"customerId":"cust_123","accountId":"acct_1000","transactionDate":"2026-04-17","totalAmount":108.14,"currency":"USD","referenceNumber":"RCPT-1001","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}],"nextCursor":null,"hasMore":false,"remainingCount":0}},"emptyPage":{"summary":"No receipts found","value":{"objectType":"list","url":"/v1/sage-50/receipts","data":[],"nextCursor":null,"hasMore":false,"remainingCount":0}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"listSage50Receipts","summary":"Get Receipts","description":"Gets receipts from the selected Sage company through one country-neutral route.\n\n### When to use\n- Use this route when you need a page of receipts for sync, browsing, or search flows.\n- Prefer `updatedSince` plus `cursor` for incremental sync and resumable imports.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Pagination\n- Use `limit` to control page size.\n- Use `cursor` to continue from the previous page.\n- Use `updatedSince` when the connected Sage company supports incremental filtering.\n\n### Response shape\nReturns the standard list wrapper with normalized Sage resource objects inside `data`.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst receipts = await client.sage50.receipts.list({\n  connectionId: \"conn_123\",\n  limit: 20\n});\n\nconsole.log(receipts.data);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nreceipts = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/receipts?limit=20\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\nreceipts.raise_for_status()\nreceipts = receipts.json()\nprint(receipts[\"data\"])"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/receipts?limit=20\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/receipts?limit=20\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"limit","in":"query","required":false,"description":"How many records to return at once.","schema":{"type":"integer","minimum":1,"maximum":150,"default":100,"example":100}},{"name":"cursor","in":"query","required":false,"description":"The next-page marker from a previous response.","schema":{"type":"string","minLength":1,"example":"cur_eyJvZmZzZXQiOjEwMH0"}},{"name":"updatedSince","in":"query","required":false,"description":"Only return records changed after this time, when the connected Sage company can support that filter.","schema":{"type":"string","format":"date-time","example":"2026-04-01T00:00:00.000Z"}}]},"post":{"tags":["Receipts"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"externalId":{"type":"string","nullable":true,"minLength":1},"revisionNumber":{"type":"string","nullable":true,"minLength":1},"customerId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"totalAmount":{"type":"number","nullable":true},"currency":{"type":"string","nullable":true,"minLength":1},"referenceNumber":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"lineId":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitPrice":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"additionalProperties":{"nullable":true}},"examples":{"createExample":{"summary":"Create Receipts","value":{"externalId":"receipt_external_123","customerId":"cust_123","accountId":"acct_1000","transactionDate":"2026-04-17","totalAmount":108.14,"currency":"USD","referenceNumber":"RCPT-1001","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}}}}},"required":true,"description":"The receipts record you want created in Sage. Example payload matches the generated SDK request model.\n\n### What to send\n- Send the normalized fields your app wants Sage to create.\n- Use the same field names shown in the examples and generated SDK models.\n\n### Retry behavior\nAlways send `Idempotency-Key` on create and update requests. Reuse the same key when retrying the same logical action."},"responses":{"200":{"description":"The receipts Sage created.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_receipt"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"customerId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"totalAmount":{"type":"number","nullable":true},"currency":{"type":"string","nullable":true,"minLength":1},"referenceNumber":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"lineId":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitPrice":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"receipts":{"summary":"Receipts","value":{"id":"receipt_123","objectType":"sage50_receipt","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"RECEIPTS-123"},"customerId":"cust_123","accountId":"acct_1000","transactionDate":"2026-04-17","totalAmount":108.14,"currency":"USD","referenceNumber":"RCPT-1001","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"missingIdempotencyKey":{"summary":"Idempotency key required","value":{"error":{"message":"Missing required Idempotency-Key header","userFacingMessage":"Send an idempotency key and try again.","type":"validation_error","code":"IDEMPOTENCY_KEY_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"422":{"description":"Sage validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"sageValidationFailed":{"summary":"Sage rejected the request","value":{"error":{"message":"Sage rejected the receipt because one or more fields were invalid.","userFacingMessage":"Review the receipt details and try again.","type":"integration_validation_error","code":"SAGE_VALIDATION_FAILED","httpStatusCode":422,"requestId":"req_123","integrationCode":"VAL-1001","retryable":false,"correlationId":null,"details":{"fieldErrors":[{"field":"name","message":"Name is required."}]}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"createSage50Receipts","summary":"Create Receipt","description":"Create receipt in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when your app is the source of truth for a new receipt.\n- Send an idempotency key whenever a network retry might happen.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Retry behavior\n- Send `Idempotency-Key` on every create and update request.\n- Reuse the same idempotency key when retrying the same logical action so Sage does not apply it twice.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst receipt = await client.sage50.receipts.create({\n  connectionId: \"conn_123\",\n  idempotencyKey: \"idem_20260417_0001\",\n  externalId: \"receipt_external_123\",\n  customerId: \"cust_123\",\n  accountId: \"acct_1000\",\n  transactionDate: \"2026-04-17\",\n  totalAmount: 108.14,\n  currency: \"USD\",\n  referenceNumber: \"RCPT-1001\",\n  lines: [\n    {\n      lineId: \"line_123\",\n      itemId: \"item_123\",\n      accountId: \"acct_4000\",\n      description: \"Widget\",\n      quantity: 2,\n      unitPrice: 49.95,\n      amount: 99.9\n    }\n  ]\n});\n\nconsole.log(receipt);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nreceipt = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/receipts\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\",\n        \"Idempotency-Key\": \"idem_20260417_0001\"\n    },\n    json={\n        \"externalId\": \"receipt_external_123\",\n        \"customerId\": \"cust_123\",\n        \"accountId\": \"acct_1000\",\n        \"transactionDate\": \"2026-04-17\",\n        \"totalAmount\": 108.14,\n        \"currency\": \"USD\",\n        \"referenceNumber\": \"RCPT-1001\",\n        \"lines\": [\n            {\n                \"lineId\": \"line_123\",\n                \"itemId\": \"item_123\",\n                \"accountId\": \"acct_4000\",\n                \"description\": \"Widget\",\n                \"quantity\": 2,\n                \"unitPrice\": 49.95,\n                \"amount\": 99.9\n            }\n        ]\n    },\n)\nreceipt.raise_for_status()\nreceipt = receipt.json()\nprint(receipt)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/receipts\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .header(\"Idempotency-Key\", \"idem_20260417_0001\")\n    .header(\"Content-Type\", \"application/json\")\n    .POST(HttpRequest.BodyPublishers.ofString(\"{\\n  \\\"externalId\\\": \\\"receipt_external_123\\\",\\n  \\\"customerId\\\": \\\"cust_123\\\",\\n  \\\"accountId\\\": \\\"acct_1000\\\",\\n  \\\"transactionDate\\\": \\\"2026-04-17\\\",\\n  \\\"totalAmount\\\": 108.14,\\n  \\\"currency\\\": \\\"USD\\\",\\n  \\\"referenceNumber\\\": \\\"RCPT-1001\\\",\\n  \\\"lines\\\": [\\n    {\\n      \\\"lineId\\\": \\\"line_123\\\",\\n      \\\"itemId\\\": \\\"item_123\\\",\\n      \\\"accountId\\\": \\\"acct_4000\\\",\\n      \\\"description\\\": \\\"Widget\\\",\\n      \\\"quantity\\\": 2,\\n      \\\"unitPrice\\\": 49.95,\\n      \\\"amount\\\": 99.9\\n    }\\n  ]\\n}\"));\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/receipts\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\" \\\n  --header \"Idempotency-Key: idem_20260417_0001\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n  \"externalId\": \"receipt_external_123\",\n  \"customerId\": \"cust_123\",\n  \"accountId\": \"acct_1000\",\n  \"transactionDate\": \"2026-04-17\",\n  \"totalAmount\": 108.14,\n  \"currency\": \"USD\",\n  \"referenceNumber\": \"RCPT-1001\",\n  \"lines\": [\n    {\n      \"lineId\": \"line_123\",\n      \"itemId\": \"item_123\",\n      \"accountId\": \"acct_4000\",\n      \"description\": \"Widget\",\n      \"quantity\": 2,\n      \"unitPrice\": 49.95,\n      \"amount\": 99.9\n    }\n  ]\n}'"}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique key for this create or update. Reuse the same key when retrying the same action so Sage does not do it twice.","schema":{"type":"string","minLength":1,"example":"idem_20260417_0001"}}]}},"/v1/sage-50/receipts/{id}":{"get":{"tags":["Receipts"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"src_123"},"required":true,"name":"id","in":"path"},{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}}],"responses":{"200":{"description":"One Sage 50 receipt.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_receipt"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"customerId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"totalAmount":{"type":"number","nullable":true},"currency":{"type":"string","nullable":true,"minLength":1},"referenceNumber":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"lineId":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitPrice":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"receipts":{"summary":"Receipts","value":{"id":"receipt_123","objectType":"sage50_receipt","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"RECEIPTS-123"},"customerId":"cust_123","accountId":"acct_1000","transactionDate":"2026-04-17","totalAmount":108.14,"currency":"USD","referenceNumber":"RCPT-1001","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"notFound":{"summary":"Receipts not found","value":{"error":{"message":"The requested receipt could not be found in Sage.","userFacingMessage":"Choose an existing receipt and try again.","type":"not_found_error","code":"NOT_FOUND","httpStatusCode":404,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"getSage50Receipts","summary":"Get one Receipt","description":"Get one receipt in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when you already know the id for one receipt.\n- Use the list route first when you need discovery or pagination.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst receipt = await client.sage50.receipts.get({\n  connectionId: \"conn_123\",\n  id: \"receipt_123\"\n});\n\nconsole.log(receipt);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nreceipt = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/receipts/receipt_123\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\nreceipt.raise_for_status()\nreceipt = receipt.json()\nprint(receipt)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/receipts/receipt_123\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/receipts/receipt_123\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}]},"post":{"tags":["Receipts"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"src_123"},"required":true,"name":"id","in":"path"},{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique key for this create or update. Reuse the same key when retrying the same action so Sage does not do it twice.","schema":{"type":"string","minLength":1,"example":"idem_20260417_0001"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"externalId":{"type":"string","nullable":true,"minLength":1},"revisionNumber":{"type":"string","nullable":true,"minLength":1},"customerId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"totalAmount":{"type":"number","nullable":true},"currency":{"type":"string","nullable":true,"minLength":1},"referenceNumber":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"lineId":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitPrice":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"additionalProperties":{"nullable":true}},"examples":{"updateExample":{"summary":"Update Receipts","value":{"revisionNumber":"7","transactionDate":"2026-04-17","referenceNumber":"RCPT-1001","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}}}}},"required":true,"description":"The receipts changes you want saved in Sage. Example payload matches the generated SDK request model.\n\n### What to send\n- Send only the fields you want Sage to change.\n- Use the same field names shown in the examples and generated SDK models.\n\n### Concurrency\nSend the latest `revisionNumber` when Sage returns one so updates stay aligned with the current desktop record.\n\n### Retry behavior\nAlways send `Idempotency-Key` on create and update requests. Reuse the same key when retrying the same logical action."},"responses":{"200":{"description":"The receipts after Sage saved the update.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_receipt"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"customerId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"totalAmount":{"type":"number","nullable":true},"currency":{"type":"string","nullable":true,"minLength":1},"referenceNumber":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"lineId":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitPrice":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"receipts":{"summary":"Receipts","value":{"id":"receipt_123","objectType":"sage50_receipt","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"RECEIPTS-123"},"customerId":"cust_123","accountId":"acct_1000","transactionDate":"2026-04-17","totalAmount":108.14,"currency":"USD","referenceNumber":"RCPT-1001","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"missingIdempotencyKey":{"summary":"Idempotency key required","value":{"error":{"message":"Missing required Idempotency-Key header","userFacingMessage":"Send an idempotency key and try again.","type":"validation_error","code":"IDEMPOTENCY_KEY_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"422":{"description":"Sage validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"sageValidationFailed":{"summary":"Sage rejected the request","value":{"error":{"message":"Sage rejected the receipt because one or more fields were invalid.","userFacingMessage":"Review the receipt details and try again.","type":"integration_validation_error","code":"SAGE_VALIDATION_FAILED","httpStatusCode":422,"requestId":"req_123","integrationCode":"VAL-1001","retryable":false,"correlationId":null,"details":{"fieldErrors":[{"field":"name","message":"Name is required."}]}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"updateSage50Receipts","summary":"Update Receipt","description":"Update receipt in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when your app needs to save changes to an existing receipt.\n- Send the latest `revisionNumber` when Sage provides one so updates stay concurrency-safe.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Retry behavior\n- Send `Idempotency-Key` on every create and update request.\n- Reuse the same idempotency key when retrying the same logical action so Sage does not apply it twice.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst receipt = await client.sage50.receipts.update({\n  connectionId: \"conn_123\",\n  id: \"receipt_123\",\n  idempotencyKey: \"idem_20260417_0001\",\n  revisionNumber: \"7\",\n  transactionDate: \"2026-04-17\",\n  referenceNumber: \"RCPT-1001\",\n  lines: [\n    {\n      lineId: \"line_123\",\n      itemId: \"item_123\",\n      accountId: \"acct_4000\",\n      description: \"Widget\",\n      quantity: 2,\n      unitPrice: 49.95,\n      amount: 99.9\n    }\n  ]\n});\n\nconsole.log(receipt);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nreceipt = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/receipts/receipt_123\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\",\n        \"Idempotency-Key\": \"idem_20260417_0001\"\n    },\n    json={\n        \"revisionNumber\": \"7\",\n        \"transactionDate\": \"2026-04-17\",\n        \"referenceNumber\": \"RCPT-1001\",\n        \"lines\": [\n            {\n                \"lineId\": \"line_123\",\n                \"itemId\": \"item_123\",\n                \"accountId\": \"acct_4000\",\n                \"description\": \"Widget\",\n                \"quantity\": 2,\n                \"unitPrice\": 49.95,\n                \"amount\": 99.9\n            }\n        ]\n    },\n)\nreceipt.raise_for_status()\nreceipt = receipt.json()\nprint(receipt)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/receipts/receipt_123\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .header(\"Idempotency-Key\", \"idem_20260417_0001\")\n    .header(\"Content-Type\", \"application/json\")\n    .POST(HttpRequest.BodyPublishers.ofString(\"{\\n  \\\"revisionNumber\\\": \\\"7\\\",\\n  \\\"transactionDate\\\": \\\"2026-04-17\\\",\\n  \\\"referenceNumber\\\": \\\"RCPT-1001\\\",\\n  \\\"lines\\\": [\\n    {\\n      \\\"lineId\\\": \\\"line_123\\\",\\n      \\\"itemId\\\": \\\"item_123\\\",\\n      \\\"accountId\\\": \\\"acct_4000\\\",\\n      \\\"description\\\": \\\"Widget\\\",\\n      \\\"quantity\\\": 2,\\n      \\\"unitPrice\\\": 49.95,\\n      \\\"amount\\\": 99.9\\n    }\\n  ]\\n}\"));\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/receipts/receipt_123\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\" \\\n  --header \"Idempotency-Key: idem_20260417_0001\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n  \"revisionNumber\": \"7\",\n  \"transactionDate\": \"2026-04-17\",\n  \"referenceNumber\": \"RCPT-1001\",\n  \"lines\": [\n    {\n      \"lineId\": \"line_123\",\n      \"itemId\": \"item_123\",\n      \"accountId\": \"acct_4000\",\n      \"description\": \"Widget\",\n      \"quantity\": 2,\n      \"unitPrice\": 49.95,\n      \"amount\": 99.9\n    }\n  ]\n}'"}]}},"/v1/sage-50/deposits":{"get":{"tags":["Deposits"],"responses":{"200":{"description":"A page of Sage 50 deposits.","content":{"application/json":{"schema":{"type":"object","properties":{"objectType":{"type":"string","enum":["list"]},"url":{"type":"string","minLength":1},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_deposit"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"accountId":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"totalAmount":{"type":"number","nullable":true},"currency":{"type":"string","nullable":true,"minLength":1},"referenceNumber":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"lineId":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitPrice":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}}},"nextCursor":{"type":"string","nullable":true},"hasMore":{"type":"boolean"},"remainingCount":{"type":"integer","minimum":0}},"required":["objectType","url","data","nextCursor","hasMore","remainingCount"]},"examples":{"list":{"summary":"Deposits page","value":{"objectType":"list","url":"/v1/sage-50/deposits","data":[{"id":"deposit_123","objectType":"sage50_deposit","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"DEPOSITS-123"},"accountId":"acct_1000","transactionDate":"2026-04-17","totalAmount":108.14,"currency":"USD","referenceNumber":"DEP-1001","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}],"nextCursor":null,"hasMore":false,"remainingCount":0}},"emptyPage":{"summary":"No deposits found","value":{"objectType":"list","url":"/v1/sage-50/deposits","data":[],"nextCursor":null,"hasMore":false,"remainingCount":0}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"listSage50Deposits","summary":"Get Deposits","description":"Gets deposits from the selected Sage company through one country-neutral route.\n\n### When to use\n- Use this route when you need a page of deposits for sync, browsing, or search flows.\n- Prefer `updatedSince` plus `cursor` for incremental sync and resumable imports.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Pagination\n- Use `limit` to control page size.\n- Use `cursor` to continue from the previous page.\n- Use `updatedSince` when the connected Sage company supports incremental filtering.\n\n### Response shape\nReturns the standard list wrapper with normalized Sage resource objects inside `data`.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst deposits = await client.sage50.deposits.list({\n  connectionId: \"conn_123\",\n  limit: 20\n});\n\nconsole.log(deposits.data);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\ndeposits = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/deposits?limit=20\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\ndeposits.raise_for_status()\ndeposits = deposits.json()\nprint(deposits[\"data\"])"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/deposits?limit=20\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/deposits?limit=20\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"limit","in":"query","required":false,"description":"How many records to return at once.","schema":{"type":"integer","minimum":1,"maximum":150,"default":100,"example":100}},{"name":"cursor","in":"query","required":false,"description":"The next-page marker from a previous response.","schema":{"type":"string","minLength":1,"example":"cur_eyJvZmZzZXQiOjEwMH0"}},{"name":"updatedSince","in":"query","required":false,"description":"Only return records changed after this time, when the connected Sage company can support that filter.","schema":{"type":"string","format":"date-time","example":"2026-04-01T00:00:00.000Z"}}]},"post":{"tags":["Deposits"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"externalId":{"type":"string","nullable":true,"minLength":1},"revisionNumber":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"totalAmount":{"type":"number","nullable":true},"currency":{"type":"string","nullable":true,"minLength":1},"referenceNumber":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"lineId":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitPrice":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"additionalProperties":{"nullable":true}},"examples":{"createExample":{"summary":"Create Deposits","value":{"externalId":"deposit_external_123","accountId":"acct_1000","transactionDate":"2026-04-17","totalAmount":108.14,"currency":"USD","referenceNumber":"DEP-1001","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}}}}},"required":true,"description":"The deposits record you want created in Sage. Example payload matches the generated SDK request model.\n\n### What to send\n- Send the normalized fields your app wants Sage to create.\n- Use the same field names shown in the examples and generated SDK models.\n\n### Retry behavior\nAlways send `Idempotency-Key` on create and update requests. Reuse the same key when retrying the same logical action."},"responses":{"200":{"description":"The deposits Sage created.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_deposit"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"accountId":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"totalAmount":{"type":"number","nullable":true},"currency":{"type":"string","nullable":true,"minLength":1},"referenceNumber":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"lineId":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitPrice":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"deposits":{"summary":"Deposits","value":{"id":"deposit_123","objectType":"sage50_deposit","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"DEPOSITS-123"},"accountId":"acct_1000","transactionDate":"2026-04-17","totalAmount":108.14,"currency":"USD","referenceNumber":"DEP-1001","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"missingIdempotencyKey":{"summary":"Idempotency key required","value":{"error":{"message":"Missing required Idempotency-Key header","userFacingMessage":"Send an idempotency key and try again.","type":"validation_error","code":"IDEMPOTENCY_KEY_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"422":{"description":"Sage validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"sageValidationFailed":{"summary":"Sage rejected the request","value":{"error":{"message":"Sage rejected the deposit because one or more fields were invalid.","userFacingMessage":"Review the deposit details and try again.","type":"integration_validation_error","code":"SAGE_VALIDATION_FAILED","httpStatusCode":422,"requestId":"req_123","integrationCode":"VAL-1001","retryable":false,"correlationId":null,"details":{"fieldErrors":[{"field":"name","message":"Name is required."}]}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"createSage50Deposits","summary":"Create Deposit","description":"Create deposit in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when your app is the source of truth for a new deposit.\n- Send an idempotency key whenever a network retry might happen.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Retry behavior\n- Send `Idempotency-Key` on every create and update request.\n- Reuse the same idempotency key when retrying the same logical action so Sage does not apply it twice.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst deposit = await client.sage50.deposits.create({\n  connectionId: \"conn_123\",\n  idempotencyKey: \"idem_20260417_0001\",\n  externalId: \"deposit_external_123\",\n  accountId: \"acct_1000\",\n  transactionDate: \"2026-04-17\",\n  totalAmount: 108.14,\n  currency: \"USD\",\n  referenceNumber: \"DEP-1001\",\n  lines: [\n    {\n      lineId: \"line_123\",\n      itemId: \"item_123\",\n      accountId: \"acct_4000\",\n      description: \"Widget\",\n      quantity: 2,\n      unitPrice: 49.95,\n      amount: 99.9\n    }\n  ]\n});\n\nconsole.log(deposit);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\ndeposit = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/deposits\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\",\n        \"Idempotency-Key\": \"idem_20260417_0001\"\n    },\n    json={\n        \"externalId\": \"deposit_external_123\",\n        \"accountId\": \"acct_1000\",\n        \"transactionDate\": \"2026-04-17\",\n        \"totalAmount\": 108.14,\n        \"currency\": \"USD\",\n        \"referenceNumber\": \"DEP-1001\",\n        \"lines\": [\n            {\n                \"lineId\": \"line_123\",\n                \"itemId\": \"item_123\",\n                \"accountId\": \"acct_4000\",\n                \"description\": \"Widget\",\n                \"quantity\": 2,\n                \"unitPrice\": 49.95,\n                \"amount\": 99.9\n            }\n        ]\n    },\n)\ndeposit.raise_for_status()\ndeposit = deposit.json()\nprint(deposit)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/deposits\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .header(\"Idempotency-Key\", \"idem_20260417_0001\")\n    .header(\"Content-Type\", \"application/json\")\n    .POST(HttpRequest.BodyPublishers.ofString(\"{\\n  \\\"externalId\\\": \\\"deposit_external_123\\\",\\n  \\\"accountId\\\": \\\"acct_1000\\\",\\n  \\\"transactionDate\\\": \\\"2026-04-17\\\",\\n  \\\"totalAmount\\\": 108.14,\\n  \\\"currency\\\": \\\"USD\\\",\\n  \\\"referenceNumber\\\": \\\"DEP-1001\\\",\\n  \\\"lines\\\": [\\n    {\\n      \\\"lineId\\\": \\\"line_123\\\",\\n      \\\"itemId\\\": \\\"item_123\\\",\\n      \\\"accountId\\\": \\\"acct_4000\\\",\\n      \\\"description\\\": \\\"Widget\\\",\\n      \\\"quantity\\\": 2,\\n      \\\"unitPrice\\\": 49.95,\\n      \\\"amount\\\": 99.9\\n    }\\n  ]\\n}\"));\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/deposits\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\" \\\n  --header \"Idempotency-Key: idem_20260417_0001\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n  \"externalId\": \"deposit_external_123\",\n  \"accountId\": \"acct_1000\",\n  \"transactionDate\": \"2026-04-17\",\n  \"totalAmount\": 108.14,\n  \"currency\": \"USD\",\n  \"referenceNumber\": \"DEP-1001\",\n  \"lines\": [\n    {\n      \"lineId\": \"line_123\",\n      \"itemId\": \"item_123\",\n      \"accountId\": \"acct_4000\",\n      \"description\": \"Widget\",\n      \"quantity\": 2,\n      \"unitPrice\": 49.95,\n      \"amount\": 99.9\n    }\n  ]\n}'"}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique key for this create or update. Reuse the same key when retrying the same action so Sage does not do it twice.","schema":{"type":"string","minLength":1,"example":"idem_20260417_0001"}}]}},"/v1/sage-50/deposits/{id}":{"get":{"tags":["Deposits"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"src_123"},"required":true,"name":"id","in":"path"},{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}}],"responses":{"200":{"description":"One Sage 50 deposit.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_deposit"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"accountId":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"totalAmount":{"type":"number","nullable":true},"currency":{"type":"string","nullable":true,"minLength":1},"referenceNumber":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"lineId":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitPrice":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"deposits":{"summary":"Deposits","value":{"id":"deposit_123","objectType":"sage50_deposit","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"DEPOSITS-123"},"accountId":"acct_1000","transactionDate":"2026-04-17","totalAmount":108.14,"currency":"USD","referenceNumber":"DEP-1001","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"notFound":{"summary":"Deposits not found","value":{"error":{"message":"The requested deposit could not be found in Sage.","userFacingMessage":"Choose an existing deposit and try again.","type":"not_found_error","code":"NOT_FOUND","httpStatusCode":404,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"getSage50Deposits","summary":"Get one Deposit","description":"Get one deposit in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when you already know the id for one deposit.\n- Use the list route first when you need discovery or pagination.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst deposit = await client.sage50.deposits.get({\n  connectionId: \"conn_123\",\n  id: \"deposit_123\"\n});\n\nconsole.log(deposit);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\ndeposit = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/deposits/deposit_123\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\ndeposit.raise_for_status()\ndeposit = deposit.json()\nprint(deposit)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/deposits/deposit_123\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/deposits/deposit_123\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}]},"post":{"tags":["Deposits"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"src_123"},"required":true,"name":"id","in":"path"},{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique key for this create or update. Reuse the same key when retrying the same action so Sage does not do it twice.","schema":{"type":"string","minLength":1,"example":"idem_20260417_0001"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"externalId":{"type":"string","nullable":true,"minLength":1},"revisionNumber":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"totalAmount":{"type":"number","nullable":true},"currency":{"type":"string","nullable":true,"minLength":1},"referenceNumber":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"lineId":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitPrice":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"additionalProperties":{"nullable":true}},"examples":{"updateExample":{"summary":"Update Deposits","value":{"revisionNumber":"7","transactionDate":"2026-04-17","referenceNumber":"DEP-1001","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}}}}},"required":true,"description":"The deposits changes you want saved in Sage. Example payload matches the generated SDK request model.\n\n### What to send\n- Send only the fields you want Sage to change.\n- Use the same field names shown in the examples and generated SDK models.\n\n### Concurrency\nSend the latest `revisionNumber` when Sage returns one so updates stay aligned with the current desktop record.\n\n### Retry behavior\nAlways send `Idempotency-Key` on create and update requests. Reuse the same key when retrying the same logical action."},"responses":{"200":{"description":"The deposits after Sage saved the update.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_deposit"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"accountId":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"totalAmount":{"type":"number","nullable":true},"currency":{"type":"string","nullable":true,"minLength":1},"referenceNumber":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"lineId":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitPrice":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"deposits":{"summary":"Deposits","value":{"id":"deposit_123","objectType":"sage50_deposit","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"DEPOSITS-123"},"accountId":"acct_1000","transactionDate":"2026-04-17","totalAmount":108.14,"currency":"USD","referenceNumber":"DEP-1001","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"missingIdempotencyKey":{"summary":"Idempotency key required","value":{"error":{"message":"Missing required Idempotency-Key header","userFacingMessage":"Send an idempotency key and try again.","type":"validation_error","code":"IDEMPOTENCY_KEY_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"422":{"description":"Sage validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"sageValidationFailed":{"summary":"Sage rejected the request","value":{"error":{"message":"Sage rejected the deposit because one or more fields were invalid.","userFacingMessage":"Review the deposit details and try again.","type":"integration_validation_error","code":"SAGE_VALIDATION_FAILED","httpStatusCode":422,"requestId":"req_123","integrationCode":"VAL-1001","retryable":false,"correlationId":null,"details":{"fieldErrors":[{"field":"name","message":"Name is required."}]}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"updateSage50Deposits","summary":"Update Deposit","description":"Update deposit in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when your app needs to save changes to an existing deposit.\n- Send the latest `revisionNumber` when Sage provides one so updates stay concurrency-safe.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Retry behavior\n- Send `Idempotency-Key` on every create and update request.\n- Reuse the same idempotency key when retrying the same logical action so Sage does not apply it twice.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst deposit = await client.sage50.deposits.update({\n  connectionId: \"conn_123\",\n  id: \"deposit_123\",\n  idempotencyKey: \"idem_20260417_0001\",\n  revisionNumber: \"7\",\n  transactionDate: \"2026-04-17\",\n  referenceNumber: \"DEP-1001\",\n  lines: [\n    {\n      lineId: \"line_123\",\n      itemId: \"item_123\",\n      accountId: \"acct_4000\",\n      description: \"Widget\",\n      quantity: 2,\n      unitPrice: 49.95,\n      amount: 99.9\n    }\n  ]\n});\n\nconsole.log(deposit);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\ndeposit = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/deposits/deposit_123\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\",\n        \"Idempotency-Key\": \"idem_20260417_0001\"\n    },\n    json={\n        \"revisionNumber\": \"7\",\n        \"transactionDate\": \"2026-04-17\",\n        \"referenceNumber\": \"DEP-1001\",\n        \"lines\": [\n            {\n                \"lineId\": \"line_123\",\n                \"itemId\": \"item_123\",\n                \"accountId\": \"acct_4000\",\n                \"description\": \"Widget\",\n                \"quantity\": 2,\n                \"unitPrice\": 49.95,\n                \"amount\": 99.9\n            }\n        ]\n    },\n)\ndeposit.raise_for_status()\ndeposit = deposit.json()\nprint(deposit)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/deposits/deposit_123\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .header(\"Idempotency-Key\", \"idem_20260417_0001\")\n    .header(\"Content-Type\", \"application/json\")\n    .POST(HttpRequest.BodyPublishers.ofString(\"{\\n  \\\"revisionNumber\\\": \\\"7\\\",\\n  \\\"transactionDate\\\": \\\"2026-04-17\\\",\\n  \\\"referenceNumber\\\": \\\"DEP-1001\\\",\\n  \\\"lines\\\": [\\n    {\\n      \\\"lineId\\\": \\\"line_123\\\",\\n      \\\"itemId\\\": \\\"item_123\\\",\\n      \\\"accountId\\\": \\\"acct_4000\\\",\\n      \\\"description\\\": \\\"Widget\\\",\\n      \\\"quantity\\\": 2,\\n      \\\"unitPrice\\\": 49.95,\\n      \\\"amount\\\": 99.9\\n    }\\n  ]\\n}\"));\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/deposits/deposit_123\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\" \\\n  --header \"Idempotency-Key: idem_20260417_0001\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n  \"revisionNumber\": \"7\",\n  \"transactionDate\": \"2026-04-17\",\n  \"referenceNumber\": \"DEP-1001\",\n  \"lines\": [\n    {\n      \"lineId\": \"line_123\",\n      \"itemId\": \"item_123\",\n      \"accountId\": \"acct_4000\",\n      \"description\": \"Widget\",\n      \"quantity\": 2,\n      \"unitPrice\": 49.95,\n      \"amount\": 99.9\n    }\n  ]\n}'"}]}},"/v1/sage-50/purchase-orders":{"get":{"tags":["Purchase Orders"],"responses":{"200":{"description":"A page of Sage 50 purchase orders.","content":{"application/json":{"schema":{"type":"object","properties":{"objectType":{"type":"string","enum":["list"]},"url":{"type":"string","minLength":1},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_purchase_order"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"documentNumber":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"dueDate":{"type":"string","nullable":true,"minLength":1},"currency":{"type":"string","nullable":true,"minLength":1},"subtotal":{"type":"number","nullable":true},"taxAmount":{"type":"number","nullable":true},"totalAmount":{"type":"number","nullable":true},"vendorId":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"lineId":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitPrice":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}}},"nextCursor":{"type":"string","nullable":true},"hasMore":{"type":"boolean"},"remainingCount":{"type":"integer","minimum":0}},"required":["objectType","url","data","nextCursor","hasMore","remainingCount"]},"examples":{"list":{"summary":"Purchase Orders page","value":{"objectType":"list","url":"/v1/sage-50/purchase-orders","data":[{"id":"purchaseOrder_123","objectType":"sage50_purchase_order","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"PURCHASEORDERS-123"},"documentNumber":"PO-1001","status":"open","transactionDate":"2026-04-17","dueDate":"2026-05-17","currency":"USD","subtotal":59,"taxAmount":4.87,"totalAmount":63.87,"vendorId":"vendor_123","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}],"nextCursor":null,"hasMore":false,"remainingCount":0}},"emptyPage":{"summary":"No purchase orders found","value":{"objectType":"list","url":"/v1/sage-50/purchase-orders","data":[],"nextCursor":null,"hasMore":false,"remainingCount":0}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"listSage50PurchaseOrders","summary":"Get Purchase Orders","description":"Gets purchase orders from the selected Sage company through one country-neutral route.\n\n### When to use\n- Use this route when you need a page of purchase orders for sync, browsing, or search flows.\n- Prefer `updatedSince` plus `cursor` for incremental sync and resumable imports.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Pagination\n- Use `limit` to control page size.\n- Use `cursor` to continue from the previous page.\n- Use `updatedSince` when the connected Sage company supports incremental filtering.\n\n### Response shape\nReturns the standard list wrapper with normalized Sage resource objects inside `data`.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst purchaseOrders = await client.sage50.purchaseOrders.list({\n  connectionId: \"conn_123\",\n  limit: 20\n});\n\nconsole.log(purchaseOrders.data);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\npurchaseOrders = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/purchase-orders?limit=20\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\npurchaseOrders.raise_for_status()\npurchaseOrders = purchaseOrders.json()\nprint(purchaseOrders[\"data\"])"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/purchase-orders?limit=20\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/purchase-orders?limit=20\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"limit","in":"query","required":false,"description":"How many records to return at once.","schema":{"type":"integer","minimum":1,"maximum":150,"default":100,"example":100}},{"name":"cursor","in":"query","required":false,"description":"The next-page marker from a previous response.","schema":{"type":"string","minLength":1,"example":"cur_eyJvZmZzZXQiOjEwMH0"}},{"name":"updatedSince","in":"query","required":false,"description":"Only return records changed after this time, when the connected Sage company can support that filter.","schema":{"type":"string","format":"date-time","example":"2026-04-01T00:00:00.000Z"}}]},"post":{"tags":["Purchase Orders"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"externalId":{"type":"string","nullable":true,"minLength":1},"revisionNumber":{"type":"string","nullable":true,"minLength":1},"documentNumber":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"dueDate":{"type":"string","nullable":true,"minLength":1},"currency":{"type":"string","nullable":true,"minLength":1},"subtotal":{"type":"number","nullable":true},"taxAmount":{"type":"number","nullable":true},"totalAmount":{"type":"number","nullable":true},"vendorId":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"lineId":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitPrice":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"additionalProperties":{"nullable":true}},"examples":{"createExample":{"summary":"Create Purchase Orders","value":{"externalId":"purchaseOrder_external_123","documentNumber":"PO-1001","status":"open","transactionDate":"2026-04-17","dueDate":"2026-05-17","currency":"USD","subtotal":59,"taxAmount":4.87,"totalAmount":63.87,"vendorId":"vendor_123","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}}}}},"required":true,"description":"The purchase orders record you want created in Sage. Example payload matches the generated SDK request model.\n\n### What to send\n- Send the normalized fields your app wants Sage to create.\n- Use the same field names shown in the examples and generated SDK models.\n\n### Retry behavior\nAlways send `Idempotency-Key` on create and update requests. Reuse the same key when retrying the same logical action."},"responses":{"200":{"description":"The purchase orders Sage created.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_purchase_order"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"documentNumber":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"dueDate":{"type":"string","nullable":true,"minLength":1},"currency":{"type":"string","nullable":true,"minLength":1},"subtotal":{"type":"number","nullable":true},"taxAmount":{"type":"number","nullable":true},"totalAmount":{"type":"number","nullable":true},"vendorId":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"lineId":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitPrice":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"purchaseOrders":{"summary":"Purchase Orders","value":{"id":"purchaseOrder_123","objectType":"sage50_purchase_order","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"PURCHASEORDERS-123"},"documentNumber":"PO-1001","status":"open","transactionDate":"2026-04-17","dueDate":"2026-05-17","currency":"USD","subtotal":59,"taxAmount":4.87,"totalAmount":63.87,"vendorId":"vendor_123","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"missingIdempotencyKey":{"summary":"Idempotency key required","value":{"error":{"message":"Missing required Idempotency-Key header","userFacingMessage":"Send an idempotency key and try again.","type":"validation_error","code":"IDEMPOTENCY_KEY_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"422":{"description":"Sage validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"sageValidationFailed":{"summary":"Sage rejected the request","value":{"error":{"message":"Sage rejected the purchase order because one or more fields were invalid.","userFacingMessage":"Review the purchase order details and try again.","type":"integration_validation_error","code":"SAGE_VALIDATION_FAILED","httpStatusCode":422,"requestId":"req_123","integrationCode":"VAL-1001","retryable":false,"correlationId":null,"details":{"fieldErrors":[{"field":"name","message":"Name is required."}]}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"createSage50PurchaseOrders","summary":"Create Purchase Order","description":"Create purchase order in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when your app is the source of truth for a new purchase order.\n- Send an idempotency key whenever a network retry might happen.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Retry behavior\n- Send `Idempotency-Key` on every create and update request.\n- Reuse the same idempotency key when retrying the same logical action so Sage does not apply it twice.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst purchaseOrder = await client.sage50.purchaseOrders.create({\n  connectionId: \"conn_123\",\n  idempotencyKey: \"idem_20260417_0001\",\n  externalId: \"purchaseOrder_external_123\",\n  documentNumber: \"PO-1001\",\n  status: \"open\",\n  transactionDate: \"2026-04-17\",\n  dueDate: \"2026-05-17\",\n  currency: \"USD\",\n  subtotal: 59,\n  taxAmount: 4.87,\n  totalAmount: 63.87,\n  vendorId: \"vendor_123\",\n  lines: [\n    {\n      lineId: \"line_123\",\n      itemId: \"item_123\",\n      accountId: \"acct_4000\",\n      description: \"Widget\",\n      quantity: 2,\n      unitPrice: 49.95,\n      amount: 99.9\n    }\n  ]\n});\n\nconsole.log(purchaseOrder);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\npurchaseOrder = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/purchase-orders\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\",\n        \"Idempotency-Key\": \"idem_20260417_0001\"\n    },\n    json={\n        \"externalId\": \"purchaseOrder_external_123\",\n        \"documentNumber\": \"PO-1001\",\n        \"status\": \"open\",\n        \"transactionDate\": \"2026-04-17\",\n        \"dueDate\": \"2026-05-17\",\n        \"currency\": \"USD\",\n        \"subtotal\": 59,\n        \"taxAmount\": 4.87,\n        \"totalAmount\": 63.87,\n        \"vendorId\": \"vendor_123\",\n        \"lines\": [\n            {\n                \"lineId\": \"line_123\",\n                \"itemId\": \"item_123\",\n                \"accountId\": \"acct_4000\",\n                \"description\": \"Widget\",\n                \"quantity\": 2,\n                \"unitPrice\": 49.95,\n                \"amount\": 99.9\n            }\n        ]\n    },\n)\npurchaseOrder.raise_for_status()\npurchaseOrder = purchaseOrder.json()\nprint(purchaseOrder)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/purchase-orders\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .header(\"Idempotency-Key\", \"idem_20260417_0001\")\n    .header(\"Content-Type\", \"application/json\")\n    .POST(HttpRequest.BodyPublishers.ofString(\"{\\n  \\\"externalId\\\": \\\"purchaseOrder_external_123\\\",\\n  \\\"documentNumber\\\": \\\"PO-1001\\\",\\n  \\\"status\\\": \\\"open\\\",\\n  \\\"transactionDate\\\": \\\"2026-04-17\\\",\\n  \\\"dueDate\\\": \\\"2026-05-17\\\",\\n  \\\"currency\\\": \\\"USD\\\",\\n  \\\"subtotal\\\": 59,\\n  \\\"taxAmount\\\": 4.87,\\n  \\\"totalAmount\\\": 63.87,\\n  \\\"vendorId\\\": \\\"vendor_123\\\",\\n  \\\"lines\\\": [\\n    {\\n      \\\"lineId\\\": \\\"line_123\\\",\\n      \\\"itemId\\\": \\\"item_123\\\",\\n      \\\"accountId\\\": \\\"acct_4000\\\",\\n      \\\"description\\\": \\\"Widget\\\",\\n      \\\"quantity\\\": 2,\\n      \\\"unitPrice\\\": 49.95,\\n      \\\"amount\\\": 99.9\\n    }\\n  ]\\n}\"));\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/purchase-orders\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\" \\\n  --header \"Idempotency-Key: idem_20260417_0001\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n  \"externalId\": \"purchaseOrder_external_123\",\n  \"documentNumber\": \"PO-1001\",\n  \"status\": \"open\",\n  \"transactionDate\": \"2026-04-17\",\n  \"dueDate\": \"2026-05-17\",\n  \"currency\": \"USD\",\n  \"subtotal\": 59,\n  \"taxAmount\": 4.87,\n  \"totalAmount\": 63.87,\n  \"vendorId\": \"vendor_123\",\n  \"lines\": [\n    {\n      \"lineId\": \"line_123\",\n      \"itemId\": \"item_123\",\n      \"accountId\": \"acct_4000\",\n      \"description\": \"Widget\",\n      \"quantity\": 2,\n      \"unitPrice\": 49.95,\n      \"amount\": 99.9\n    }\n  ]\n}'"}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique key for this create or update. Reuse the same key when retrying the same action so Sage does not do it twice.","schema":{"type":"string","minLength":1,"example":"idem_20260417_0001"}}]}},"/v1/sage-50/purchase-orders/{id}":{"get":{"tags":["Purchase Orders"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"src_123"},"required":true,"name":"id","in":"path"},{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}}],"responses":{"200":{"description":"One Sage 50 purchase order.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_purchase_order"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"documentNumber":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"dueDate":{"type":"string","nullable":true,"minLength":1},"currency":{"type":"string","nullable":true,"minLength":1},"subtotal":{"type":"number","nullable":true},"taxAmount":{"type":"number","nullable":true},"totalAmount":{"type":"number","nullable":true},"vendorId":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"lineId":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitPrice":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"purchaseOrders":{"summary":"Purchase Orders","value":{"id":"purchaseOrder_123","objectType":"sage50_purchase_order","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"PURCHASEORDERS-123"},"documentNumber":"PO-1001","status":"open","transactionDate":"2026-04-17","dueDate":"2026-05-17","currency":"USD","subtotal":59,"taxAmount":4.87,"totalAmount":63.87,"vendorId":"vendor_123","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"notFound":{"summary":"Purchase Orders not found","value":{"error":{"message":"The requested purchase order could not be found in Sage.","userFacingMessage":"Choose an existing purchase order and try again.","type":"not_found_error","code":"NOT_FOUND","httpStatusCode":404,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"getSage50PurchaseOrders","summary":"Get one Purchase Order","description":"Get one purchase order in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when you already know the id for one purchase order.\n- Use the list route first when you need discovery or pagination.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst purchaseOrder = await client.sage50.purchaseOrders.get({\n  connectionId: \"conn_123\",\n  id: \"purchaseOrder_123\"\n});\n\nconsole.log(purchaseOrder);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\npurchaseOrder = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/purchase-orders/purchaseOrder_123\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\npurchaseOrder.raise_for_status()\npurchaseOrder = purchaseOrder.json()\nprint(purchaseOrder)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/purchase-orders/purchaseOrder_123\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/purchase-orders/purchaseOrder_123\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}]},"post":{"tags":["Purchase Orders"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"src_123"},"required":true,"name":"id","in":"path"},{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique key for this create or update. Reuse the same key when retrying the same action so Sage does not do it twice.","schema":{"type":"string","minLength":1,"example":"idem_20260417_0001"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"externalId":{"type":"string","nullable":true,"minLength":1},"revisionNumber":{"type":"string","nullable":true,"minLength":1},"documentNumber":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"dueDate":{"type":"string","nullable":true,"minLength":1},"currency":{"type":"string","nullable":true,"minLength":1},"subtotal":{"type":"number","nullable":true},"taxAmount":{"type":"number","nullable":true},"totalAmount":{"type":"number","nullable":true},"vendorId":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"lineId":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitPrice":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"additionalProperties":{"nullable":true}},"examples":{"updateExample":{"summary":"Update Purchase Orders","value":{"revisionNumber":"7","status":"open","dueDate":"2026-05-17","transactionDate":"2026-04-17","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}}}}},"required":true,"description":"The purchase orders changes you want saved in Sage. Example payload matches the generated SDK request model.\n\n### What to send\n- Send only the fields you want Sage to change.\n- Use the same field names shown in the examples and generated SDK models.\n\n### Concurrency\nSend the latest `revisionNumber` when Sage returns one so updates stay aligned with the current desktop record.\n\n### Retry behavior\nAlways send `Idempotency-Key` on create and update requests. Reuse the same key when retrying the same logical action."},"responses":{"200":{"description":"The purchase orders after Sage saved the update.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_purchase_order"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"documentNumber":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"dueDate":{"type":"string","nullable":true,"minLength":1},"currency":{"type":"string","nullable":true,"minLength":1},"subtotal":{"type":"number","nullable":true},"taxAmount":{"type":"number","nullable":true},"totalAmount":{"type":"number","nullable":true},"vendorId":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"lineId":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitPrice":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"purchaseOrders":{"summary":"Purchase Orders","value":{"id":"purchaseOrder_123","objectType":"sage50_purchase_order","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"PURCHASEORDERS-123"},"documentNumber":"PO-1001","status":"open","transactionDate":"2026-04-17","dueDate":"2026-05-17","currency":"USD","subtotal":59,"taxAmount":4.87,"totalAmount":63.87,"vendorId":"vendor_123","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"missingIdempotencyKey":{"summary":"Idempotency key required","value":{"error":{"message":"Missing required Idempotency-Key header","userFacingMessage":"Send an idempotency key and try again.","type":"validation_error","code":"IDEMPOTENCY_KEY_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"422":{"description":"Sage validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"sageValidationFailed":{"summary":"Sage rejected the request","value":{"error":{"message":"Sage rejected the purchase order because one or more fields were invalid.","userFacingMessage":"Review the purchase order details and try again.","type":"integration_validation_error","code":"SAGE_VALIDATION_FAILED","httpStatusCode":422,"requestId":"req_123","integrationCode":"VAL-1001","retryable":false,"correlationId":null,"details":{"fieldErrors":[{"field":"name","message":"Name is required."}]}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"updateSage50PurchaseOrders","summary":"Update Purchase Order","description":"Update purchase order in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when your app needs to save changes to an existing purchase order.\n- Send the latest `revisionNumber` when Sage provides one so updates stay concurrency-safe.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Retry behavior\n- Send `Idempotency-Key` on every create and update request.\n- Reuse the same idempotency key when retrying the same logical action so Sage does not apply it twice.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst purchaseOrder = await client.sage50.purchaseOrders.update({\n  connectionId: \"conn_123\",\n  id: \"purchaseOrder_123\",\n  idempotencyKey: \"idem_20260417_0001\",\n  revisionNumber: \"7\",\n  status: \"open\",\n  dueDate: \"2026-05-17\",\n  transactionDate: \"2026-04-17\",\n  lines: [\n    {\n      lineId: \"line_123\",\n      itemId: \"item_123\",\n      accountId: \"acct_4000\",\n      description: \"Widget\",\n      quantity: 2,\n      unitPrice: 49.95,\n      amount: 99.9\n    }\n  ]\n});\n\nconsole.log(purchaseOrder);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\npurchaseOrder = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/purchase-orders/purchaseOrder_123\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\",\n        \"Idempotency-Key\": \"idem_20260417_0001\"\n    },\n    json={\n        \"revisionNumber\": \"7\",\n        \"status\": \"open\",\n        \"dueDate\": \"2026-05-17\",\n        \"transactionDate\": \"2026-04-17\",\n        \"lines\": [\n            {\n                \"lineId\": \"line_123\",\n                \"itemId\": \"item_123\",\n                \"accountId\": \"acct_4000\",\n                \"description\": \"Widget\",\n                \"quantity\": 2,\n                \"unitPrice\": 49.95,\n                \"amount\": 99.9\n            }\n        ]\n    },\n)\npurchaseOrder.raise_for_status()\npurchaseOrder = purchaseOrder.json()\nprint(purchaseOrder)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/purchase-orders/purchaseOrder_123\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .header(\"Idempotency-Key\", \"idem_20260417_0001\")\n    .header(\"Content-Type\", \"application/json\")\n    .POST(HttpRequest.BodyPublishers.ofString(\"{\\n  \\\"revisionNumber\\\": \\\"7\\\",\\n  \\\"status\\\": \\\"open\\\",\\n  \\\"dueDate\\\": \\\"2026-05-17\\\",\\n  \\\"transactionDate\\\": \\\"2026-04-17\\\",\\n  \\\"lines\\\": [\\n    {\\n      \\\"lineId\\\": \\\"line_123\\\",\\n      \\\"itemId\\\": \\\"item_123\\\",\\n      \\\"accountId\\\": \\\"acct_4000\\\",\\n      \\\"description\\\": \\\"Widget\\\",\\n      \\\"quantity\\\": 2,\\n      \\\"unitPrice\\\": 49.95,\\n      \\\"amount\\\": 99.9\\n    }\\n  ]\\n}\"));\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/purchase-orders/purchaseOrder_123\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\" \\\n  --header \"Idempotency-Key: idem_20260417_0001\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n  \"revisionNumber\": \"7\",\n  \"status\": \"open\",\n  \"dueDate\": \"2026-05-17\",\n  \"transactionDate\": \"2026-04-17\",\n  \"lines\": [\n    {\n      \"lineId\": \"line_123\",\n      \"itemId\": \"item_123\",\n      \"accountId\": \"acct_4000\",\n      \"description\": \"Widget\",\n      \"quantity\": 2,\n      \"unitPrice\": 49.95,\n      \"amount\": 99.9\n    }\n  ]\n}'"}]}},"/v1/sage-50/purchase-invoices":{"get":{"tags":["Purchase Invoices"],"responses":{"200":{"description":"A page of Sage 50 purchase invoices.","content":{"application/json":{"schema":{"type":"object","properties":{"objectType":{"type":"string","enum":["list"]},"url":{"type":"string","minLength":1},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_purchase_invoice"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"documentNumber":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"dueDate":{"type":"string","nullable":true,"minLength":1},"currency":{"type":"string","nullable":true,"minLength":1},"subtotal":{"type":"number","nullable":true},"taxAmount":{"type":"number","nullable":true},"totalAmount":{"type":"number","nullable":true},"vendorId":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"lineId":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitPrice":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}}},"nextCursor":{"type":"string","nullable":true},"hasMore":{"type":"boolean"},"remainingCount":{"type":"integer","minimum":0}},"required":["objectType","url","data","nextCursor","hasMore","remainingCount"]},"examples":{"list":{"summary":"Purchase Invoices page","value":{"objectType":"list","url":"/v1/sage-50/purchase-invoices","data":[{"id":"purchaseInvoice_123","objectType":"sage50_purchase_invoice","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"PURCHASEINVOICES-123"},"documentNumber":"PI-1001","status":"posted","transactionDate":"2026-04-17","dueDate":"2026-05-17","currency":"USD","subtotal":59,"taxAmount":4.87,"totalAmount":63.87,"vendorId":"vendor_123","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}],"nextCursor":null,"hasMore":false,"remainingCount":0}},"emptyPage":{"summary":"No purchase invoices found","value":{"objectType":"list","url":"/v1/sage-50/purchase-invoices","data":[],"nextCursor":null,"hasMore":false,"remainingCount":0}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"listSage50PurchaseInvoices","summary":"Get Purchase Invoices","description":"Gets purchase invoices from the selected Sage company through one country-neutral route.\n\n### When to use\n- Use this route when you need a page of purchase invoices for sync, browsing, or search flows.\n- Prefer `updatedSince` plus `cursor` for incremental sync and resumable imports.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Pagination\n- Use `limit` to control page size.\n- Use `cursor` to continue from the previous page.\n- Use `updatedSince` when the connected Sage company supports incremental filtering.\n\n### Response shape\nReturns the standard list wrapper with normalized Sage resource objects inside `data`.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst purchaseInvoices = await client.sage50.purchaseInvoices.list({\n  connectionId: \"conn_123\",\n  limit: 20\n});\n\nconsole.log(purchaseInvoices.data);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\npurchaseInvoices = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/purchase-invoices?limit=20\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\npurchaseInvoices.raise_for_status()\npurchaseInvoices = purchaseInvoices.json()\nprint(purchaseInvoices[\"data\"])"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/purchase-invoices?limit=20\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/purchase-invoices?limit=20\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"limit","in":"query","required":false,"description":"How many records to return at once.","schema":{"type":"integer","minimum":1,"maximum":150,"default":100,"example":100}},{"name":"cursor","in":"query","required":false,"description":"The next-page marker from a previous response.","schema":{"type":"string","minLength":1,"example":"cur_eyJvZmZzZXQiOjEwMH0"}},{"name":"updatedSince","in":"query","required":false,"description":"Only return records changed after this time, when the connected Sage company can support that filter.","schema":{"type":"string","format":"date-time","example":"2026-04-01T00:00:00.000Z"}}]},"post":{"tags":["Purchase Invoices"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"externalId":{"type":"string","nullable":true,"minLength":1},"revisionNumber":{"type":"string","nullable":true,"minLength":1},"documentNumber":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"dueDate":{"type":"string","nullable":true,"minLength":1},"currency":{"type":"string","nullable":true,"minLength":1},"subtotal":{"type":"number","nullable":true},"taxAmount":{"type":"number","nullable":true},"totalAmount":{"type":"number","nullable":true},"vendorId":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"lineId":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitPrice":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"additionalProperties":{"nullable":true}},"examples":{"createExample":{"summary":"Create Purchase Invoices","value":{"externalId":"purchaseInvoice_external_123","documentNumber":"PI-1001","status":"posted","transactionDate":"2026-04-17","dueDate":"2026-05-17","currency":"USD","subtotal":59,"taxAmount":4.87,"totalAmount":63.87,"vendorId":"vendor_123","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}}}}},"required":true,"description":"The purchase invoices record you want created in Sage. Example payload matches the generated SDK request model.\n\n### What to send\n- Send the normalized fields your app wants Sage to create.\n- Use the same field names shown in the examples and generated SDK models.\n\n### Retry behavior\nAlways send `Idempotency-Key` on create and update requests. Reuse the same key when retrying the same logical action."},"responses":{"200":{"description":"The purchase invoices Sage created.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_purchase_invoice"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"documentNumber":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"dueDate":{"type":"string","nullable":true,"minLength":1},"currency":{"type":"string","nullable":true,"minLength":1},"subtotal":{"type":"number","nullable":true},"taxAmount":{"type":"number","nullable":true},"totalAmount":{"type":"number","nullable":true},"vendorId":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"lineId":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitPrice":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"purchaseInvoices":{"summary":"Purchase Invoices","value":{"id":"purchaseInvoice_123","objectType":"sage50_purchase_invoice","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"PURCHASEINVOICES-123"},"documentNumber":"PI-1001","status":"posted","transactionDate":"2026-04-17","dueDate":"2026-05-17","currency":"USD","subtotal":59,"taxAmount":4.87,"totalAmount":63.87,"vendorId":"vendor_123","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"missingIdempotencyKey":{"summary":"Idempotency key required","value":{"error":{"message":"Missing required Idempotency-Key header","userFacingMessage":"Send an idempotency key and try again.","type":"validation_error","code":"IDEMPOTENCY_KEY_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"422":{"description":"Sage validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"sageValidationFailed":{"summary":"Sage rejected the request","value":{"error":{"message":"Sage rejected the purchase invoice because one or more fields were invalid.","userFacingMessage":"Review the purchase invoice details and try again.","type":"integration_validation_error","code":"SAGE_VALIDATION_FAILED","httpStatusCode":422,"requestId":"req_123","integrationCode":"VAL-1001","retryable":false,"correlationId":null,"details":{"fieldErrors":[{"field":"name","message":"Name is required."}]}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"createSage50PurchaseInvoices","summary":"Create Purchase Invoice","description":"Create purchase invoice in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when your app is the source of truth for a new purchase invoice.\n- Send an idempotency key whenever a network retry might happen.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Retry behavior\n- Send `Idempotency-Key` on every create and update request.\n- Reuse the same idempotency key when retrying the same logical action so Sage does not apply it twice.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst purchaseInvoice = await client.sage50.purchaseInvoices.create({\n  connectionId: \"conn_123\",\n  idempotencyKey: \"idem_20260417_0001\",\n  externalId: \"purchaseInvoice_external_123\",\n  documentNumber: \"PI-1001\",\n  status: \"posted\",\n  transactionDate: \"2026-04-17\",\n  dueDate: \"2026-05-17\",\n  currency: \"USD\",\n  subtotal: 59,\n  taxAmount: 4.87,\n  totalAmount: 63.87,\n  vendorId: \"vendor_123\",\n  lines: [\n    {\n      lineId: \"line_123\",\n      itemId: \"item_123\",\n      accountId: \"acct_4000\",\n      description: \"Widget\",\n      quantity: 2,\n      unitPrice: 49.95,\n      amount: 99.9\n    }\n  ]\n});\n\nconsole.log(purchaseInvoice);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\npurchaseInvoice = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/purchase-invoices\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\",\n        \"Idempotency-Key\": \"idem_20260417_0001\"\n    },\n    json={\n        \"externalId\": \"purchaseInvoice_external_123\",\n        \"documentNumber\": \"PI-1001\",\n        \"status\": \"posted\",\n        \"transactionDate\": \"2026-04-17\",\n        \"dueDate\": \"2026-05-17\",\n        \"currency\": \"USD\",\n        \"subtotal\": 59,\n        \"taxAmount\": 4.87,\n        \"totalAmount\": 63.87,\n        \"vendorId\": \"vendor_123\",\n        \"lines\": [\n            {\n                \"lineId\": \"line_123\",\n                \"itemId\": \"item_123\",\n                \"accountId\": \"acct_4000\",\n                \"description\": \"Widget\",\n                \"quantity\": 2,\n                \"unitPrice\": 49.95,\n                \"amount\": 99.9\n            }\n        ]\n    },\n)\npurchaseInvoice.raise_for_status()\npurchaseInvoice = purchaseInvoice.json()\nprint(purchaseInvoice)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/purchase-invoices\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .header(\"Idempotency-Key\", \"idem_20260417_0001\")\n    .header(\"Content-Type\", \"application/json\")\n    .POST(HttpRequest.BodyPublishers.ofString(\"{\\n  \\\"externalId\\\": \\\"purchaseInvoice_external_123\\\",\\n  \\\"documentNumber\\\": \\\"PI-1001\\\",\\n  \\\"status\\\": \\\"posted\\\",\\n  \\\"transactionDate\\\": \\\"2026-04-17\\\",\\n  \\\"dueDate\\\": \\\"2026-05-17\\\",\\n  \\\"currency\\\": \\\"USD\\\",\\n  \\\"subtotal\\\": 59,\\n  \\\"taxAmount\\\": 4.87,\\n  \\\"totalAmount\\\": 63.87,\\n  \\\"vendorId\\\": \\\"vendor_123\\\",\\n  \\\"lines\\\": [\\n    {\\n      \\\"lineId\\\": \\\"line_123\\\",\\n      \\\"itemId\\\": \\\"item_123\\\",\\n      \\\"accountId\\\": \\\"acct_4000\\\",\\n      \\\"description\\\": \\\"Widget\\\",\\n      \\\"quantity\\\": 2,\\n      \\\"unitPrice\\\": 49.95,\\n      \\\"amount\\\": 99.9\\n    }\\n  ]\\n}\"));\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/purchase-invoices\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\" \\\n  --header \"Idempotency-Key: idem_20260417_0001\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n  \"externalId\": \"purchaseInvoice_external_123\",\n  \"documentNumber\": \"PI-1001\",\n  \"status\": \"posted\",\n  \"transactionDate\": \"2026-04-17\",\n  \"dueDate\": \"2026-05-17\",\n  \"currency\": \"USD\",\n  \"subtotal\": 59,\n  \"taxAmount\": 4.87,\n  \"totalAmount\": 63.87,\n  \"vendorId\": \"vendor_123\",\n  \"lines\": [\n    {\n      \"lineId\": \"line_123\",\n      \"itemId\": \"item_123\",\n      \"accountId\": \"acct_4000\",\n      \"description\": \"Widget\",\n      \"quantity\": 2,\n      \"unitPrice\": 49.95,\n      \"amount\": 99.9\n    }\n  ]\n}'"}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique key for this create or update. Reuse the same key when retrying the same action so Sage does not do it twice.","schema":{"type":"string","minLength":1,"example":"idem_20260417_0001"}}]}},"/v1/sage-50/purchase-invoices/{id}":{"get":{"tags":["Purchase Invoices"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"src_123"},"required":true,"name":"id","in":"path"},{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}}],"responses":{"200":{"description":"One Sage 50 purchase invoice.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_purchase_invoice"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"documentNumber":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"dueDate":{"type":"string","nullable":true,"minLength":1},"currency":{"type":"string","nullable":true,"minLength":1},"subtotal":{"type":"number","nullable":true},"taxAmount":{"type":"number","nullable":true},"totalAmount":{"type":"number","nullable":true},"vendorId":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"lineId":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitPrice":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"purchaseInvoices":{"summary":"Purchase Invoices","value":{"id":"purchaseInvoice_123","objectType":"sage50_purchase_invoice","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"PURCHASEINVOICES-123"},"documentNumber":"PI-1001","status":"posted","transactionDate":"2026-04-17","dueDate":"2026-05-17","currency":"USD","subtotal":59,"taxAmount":4.87,"totalAmount":63.87,"vendorId":"vendor_123","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"notFound":{"summary":"Purchase Invoices not found","value":{"error":{"message":"The requested purchase invoice could not be found in Sage.","userFacingMessage":"Choose an existing purchase invoice and try again.","type":"not_found_error","code":"NOT_FOUND","httpStatusCode":404,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"getSage50PurchaseInvoices","summary":"Get one Purchase Invoice","description":"Get one purchase invoice in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when you already know the id for one purchase invoice.\n- Use the list route first when you need discovery or pagination.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst purchaseInvoice = await client.sage50.purchaseInvoices.get({\n  connectionId: \"conn_123\",\n  id: \"purchaseInvoice_123\"\n});\n\nconsole.log(purchaseInvoice);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\npurchaseInvoice = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/purchase-invoices/purchaseInvoice_123\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\npurchaseInvoice.raise_for_status()\npurchaseInvoice = purchaseInvoice.json()\nprint(purchaseInvoice)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/purchase-invoices/purchaseInvoice_123\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/purchase-invoices/purchaseInvoice_123\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}]},"post":{"tags":["Purchase Invoices"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"src_123"},"required":true,"name":"id","in":"path"},{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique key for this create or update. Reuse the same key when retrying the same action so Sage does not do it twice.","schema":{"type":"string","minLength":1,"example":"idem_20260417_0001"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"externalId":{"type":"string","nullable":true,"minLength":1},"revisionNumber":{"type":"string","nullable":true,"minLength":1},"documentNumber":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"dueDate":{"type":"string","nullable":true,"minLength":1},"currency":{"type":"string","nullable":true,"minLength":1},"subtotal":{"type":"number","nullable":true},"taxAmount":{"type":"number","nullable":true},"totalAmount":{"type":"number","nullable":true},"vendorId":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"lineId":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitPrice":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"additionalProperties":{"nullable":true}},"examples":{"updateExample":{"summary":"Update Purchase Invoices","value":{"revisionNumber":"7","status":"posted","dueDate":"2026-05-17","transactionDate":"2026-04-17","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}}}}},"required":true,"description":"The purchase invoices changes you want saved in Sage. Example payload matches the generated SDK request model.\n\n### What to send\n- Send only the fields you want Sage to change.\n- Use the same field names shown in the examples and generated SDK models.\n\n### Concurrency\nSend the latest `revisionNumber` when Sage returns one so updates stay aligned with the current desktop record.\n\n### Retry behavior\nAlways send `Idempotency-Key` on create and update requests. Reuse the same key when retrying the same logical action."},"responses":{"200":{"description":"The purchase invoices after Sage saved the update.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_purchase_invoice"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"documentNumber":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"dueDate":{"type":"string","nullable":true,"minLength":1},"currency":{"type":"string","nullable":true,"minLength":1},"subtotal":{"type":"number","nullable":true},"taxAmount":{"type":"number","nullable":true},"totalAmount":{"type":"number","nullable":true},"vendorId":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"lineId":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitPrice":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"purchaseInvoices":{"summary":"Purchase Invoices","value":{"id":"purchaseInvoice_123","objectType":"sage50_purchase_invoice","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"PURCHASEINVOICES-123"},"documentNumber":"PI-1001","status":"posted","transactionDate":"2026-04-17","dueDate":"2026-05-17","currency":"USD","subtotal":59,"taxAmount":4.87,"totalAmount":63.87,"vendorId":"vendor_123","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"missingIdempotencyKey":{"summary":"Idempotency key required","value":{"error":{"message":"Missing required Idempotency-Key header","userFacingMessage":"Send an idempotency key and try again.","type":"validation_error","code":"IDEMPOTENCY_KEY_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"422":{"description":"Sage validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"sageValidationFailed":{"summary":"Sage rejected the request","value":{"error":{"message":"Sage rejected the purchase invoice because one or more fields were invalid.","userFacingMessage":"Review the purchase invoice details and try again.","type":"integration_validation_error","code":"SAGE_VALIDATION_FAILED","httpStatusCode":422,"requestId":"req_123","integrationCode":"VAL-1001","retryable":false,"correlationId":null,"details":{"fieldErrors":[{"field":"name","message":"Name is required."}]}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"updateSage50PurchaseInvoices","summary":"Update Purchase Invoice","description":"Update purchase invoice in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when your app needs to save changes to an existing purchase invoice.\n- Send the latest `revisionNumber` when Sage provides one so updates stay concurrency-safe.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Retry behavior\n- Send `Idempotency-Key` on every create and update request.\n- Reuse the same idempotency key when retrying the same logical action so Sage does not apply it twice.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst purchaseInvoice = await client.sage50.purchaseInvoices.update({\n  connectionId: \"conn_123\",\n  id: \"purchaseInvoice_123\",\n  idempotencyKey: \"idem_20260417_0001\",\n  revisionNumber: \"7\",\n  status: \"posted\",\n  dueDate: \"2026-05-17\",\n  transactionDate: \"2026-04-17\",\n  lines: [\n    {\n      lineId: \"line_123\",\n      itemId: \"item_123\",\n      accountId: \"acct_4000\",\n      description: \"Widget\",\n      quantity: 2,\n      unitPrice: 49.95,\n      amount: 99.9\n    }\n  ]\n});\n\nconsole.log(purchaseInvoice);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\npurchaseInvoice = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/purchase-invoices/purchaseInvoice_123\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\",\n        \"Idempotency-Key\": \"idem_20260417_0001\"\n    },\n    json={\n        \"revisionNumber\": \"7\",\n        \"status\": \"posted\",\n        \"dueDate\": \"2026-05-17\",\n        \"transactionDate\": \"2026-04-17\",\n        \"lines\": [\n            {\n                \"lineId\": \"line_123\",\n                \"itemId\": \"item_123\",\n                \"accountId\": \"acct_4000\",\n                \"description\": \"Widget\",\n                \"quantity\": 2,\n                \"unitPrice\": 49.95,\n                \"amount\": 99.9\n            }\n        ]\n    },\n)\npurchaseInvoice.raise_for_status()\npurchaseInvoice = purchaseInvoice.json()\nprint(purchaseInvoice)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/purchase-invoices/purchaseInvoice_123\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .header(\"Idempotency-Key\", \"idem_20260417_0001\")\n    .header(\"Content-Type\", \"application/json\")\n    .POST(HttpRequest.BodyPublishers.ofString(\"{\\n  \\\"revisionNumber\\\": \\\"7\\\",\\n  \\\"status\\\": \\\"posted\\\",\\n  \\\"dueDate\\\": \\\"2026-05-17\\\",\\n  \\\"transactionDate\\\": \\\"2026-04-17\\\",\\n  \\\"lines\\\": [\\n    {\\n      \\\"lineId\\\": \\\"line_123\\\",\\n      \\\"itemId\\\": \\\"item_123\\\",\\n      \\\"accountId\\\": \\\"acct_4000\\\",\\n      \\\"description\\\": \\\"Widget\\\",\\n      \\\"quantity\\\": 2,\\n      \\\"unitPrice\\\": 49.95,\\n      \\\"amount\\\": 99.9\\n    }\\n  ]\\n}\"));\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/purchase-invoices/purchaseInvoice_123\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\" \\\n  --header \"Idempotency-Key: idem_20260417_0001\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n  \"revisionNumber\": \"7\",\n  \"status\": \"posted\",\n  \"dueDate\": \"2026-05-17\",\n  \"transactionDate\": \"2026-04-17\",\n  \"lines\": [\n    {\n      \"lineId\": \"line_123\",\n      \"itemId\": \"item_123\",\n      \"accountId\": \"acct_4000\",\n      \"description\": \"Widget\",\n      \"quantity\": 2,\n      \"unitPrice\": 49.95,\n      \"amount\": 99.9\n    }\n  ]\n}'"}]}},"/v1/sage-50/vendor-credit-memos":{"get":{"tags":["Vendor Credit Memos"],"responses":{"200":{"description":"A page of Sage 50 vendor credit memos.","content":{"application/json":{"schema":{"type":"object","properties":{"objectType":{"type":"string","enum":["list"]},"url":{"type":"string","minLength":1},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_vendor_credit_memo"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"documentNumber":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"dueDate":{"type":"string","nullable":true,"minLength":1},"currency":{"type":"string","nullable":true,"minLength":1},"subtotal":{"type":"number","nullable":true},"taxAmount":{"type":"number","nullable":true},"totalAmount":{"type":"number","nullable":true},"vendorId":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"lineId":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitPrice":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}}},"nextCursor":{"type":"string","nullable":true},"hasMore":{"type":"boolean"},"remainingCount":{"type":"integer","minimum":0}},"required":["objectType","url","data","nextCursor","hasMore","remainingCount"]},"examples":{"list":{"summary":"Vendor Credit Memos page","value":{"objectType":"list","url":"/v1/sage-50/vendor-credit-memos","data":[{"id":"vendorCreditMemo_123","objectType":"sage50_vendor_credit_memo","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"VENDORCREDITMEMOS-123"},"documentNumber":"VCM-1001","status":"posted","transactionDate":"2026-04-17","dueDate":"2026-05-17","currency":"USD","subtotal":20,"taxAmount":1.65,"totalAmount":21.65,"vendorId":"vendor_123","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}],"nextCursor":null,"hasMore":false,"remainingCount":0}},"emptyPage":{"summary":"No vendor credit memos found","value":{"objectType":"list","url":"/v1/sage-50/vendor-credit-memos","data":[],"nextCursor":null,"hasMore":false,"remainingCount":0}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"listSage50VendorCreditMemos","summary":"Get Vendor Credit Memos","description":"Gets vendor credit memos from the selected Sage company through one country-neutral route.\n\n### When to use\n- Use this route when you need a page of vendor credit memos for sync, browsing, or search flows.\n- Prefer `updatedSince` plus `cursor` for incremental sync and resumable imports.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Pagination\n- Use `limit` to control page size.\n- Use `cursor` to continue from the previous page.\n- Use `updatedSince` when the connected Sage company supports incremental filtering.\n\n### Response shape\nReturns the standard list wrapper with normalized Sage resource objects inside `data`.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst vendorCreditMemos = await client.sage50.vendorCreditMemos.list({\n  connectionId: \"conn_123\",\n  limit: 20\n});\n\nconsole.log(vendorCreditMemos.data);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nvendorCreditMemos = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/vendor-credit-memos?limit=20\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\nvendorCreditMemos.raise_for_status()\nvendorCreditMemos = vendorCreditMemos.json()\nprint(vendorCreditMemos[\"data\"])"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/vendor-credit-memos?limit=20\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/vendor-credit-memos?limit=20\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"limit","in":"query","required":false,"description":"How many records to return at once.","schema":{"type":"integer","minimum":1,"maximum":150,"default":100,"example":100}},{"name":"cursor","in":"query","required":false,"description":"The next-page marker from a previous response.","schema":{"type":"string","minLength":1,"example":"cur_eyJvZmZzZXQiOjEwMH0"}},{"name":"updatedSince","in":"query","required":false,"description":"Only return records changed after this time, when the connected Sage company can support that filter.","schema":{"type":"string","format":"date-time","example":"2026-04-01T00:00:00.000Z"}}]},"post":{"tags":["Vendor Credit Memos"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"externalId":{"type":"string","nullable":true,"minLength":1},"revisionNumber":{"type":"string","nullable":true,"minLength":1},"documentNumber":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"dueDate":{"type":"string","nullable":true,"minLength":1},"currency":{"type":"string","nullable":true,"minLength":1},"subtotal":{"type":"number","nullable":true},"taxAmount":{"type":"number","nullable":true},"totalAmount":{"type":"number","nullable":true},"vendorId":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"lineId":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitPrice":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"additionalProperties":{"nullable":true}},"examples":{"createExample":{"summary":"Create Vendor Credit Memos","value":{"externalId":"vendorCreditMemo_external_123","documentNumber":"VCM-1001","status":"posted","transactionDate":"2026-04-17","dueDate":"2026-05-17","currency":"USD","subtotal":20,"taxAmount":1.65,"totalAmount":21.65,"vendorId":"vendor_123","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}}}}},"required":true,"description":"The vendor credit memos record you want created in Sage. Example payload matches the generated SDK request model.\n\n### What to send\n- Send the normalized fields your app wants Sage to create.\n- Use the same field names shown in the examples and generated SDK models.\n\n### Retry behavior\nAlways send `Idempotency-Key` on create and update requests. Reuse the same key when retrying the same logical action."},"responses":{"200":{"description":"The vendor credit memos Sage created.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_vendor_credit_memo"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"documentNumber":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"dueDate":{"type":"string","nullable":true,"minLength":1},"currency":{"type":"string","nullable":true,"minLength":1},"subtotal":{"type":"number","nullable":true},"taxAmount":{"type":"number","nullable":true},"totalAmount":{"type":"number","nullable":true},"vendorId":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"lineId":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitPrice":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"vendorCreditMemos":{"summary":"Vendor Credit Memos","value":{"id":"vendorCreditMemo_123","objectType":"sage50_vendor_credit_memo","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"VENDORCREDITMEMOS-123"},"documentNumber":"VCM-1001","status":"posted","transactionDate":"2026-04-17","dueDate":"2026-05-17","currency":"USD","subtotal":20,"taxAmount":1.65,"totalAmount":21.65,"vendorId":"vendor_123","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"missingIdempotencyKey":{"summary":"Idempotency key required","value":{"error":{"message":"Missing required Idempotency-Key header","userFacingMessage":"Send an idempotency key and try again.","type":"validation_error","code":"IDEMPOTENCY_KEY_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"422":{"description":"Sage validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"sageValidationFailed":{"summary":"Sage rejected the request","value":{"error":{"message":"Sage rejected the vendor credit memo because one or more fields were invalid.","userFacingMessage":"Review the vendor credit memo details and try again.","type":"integration_validation_error","code":"SAGE_VALIDATION_FAILED","httpStatusCode":422,"requestId":"req_123","integrationCode":"VAL-1001","retryable":false,"correlationId":null,"details":{"fieldErrors":[{"field":"name","message":"Name is required."}]}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"createSage50VendorCreditMemos","summary":"Create Vendor Credit Memo","description":"Create vendor credit memo in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when your app is the source of truth for a new vendor credit memo.\n- Send an idempotency key whenever a network retry might happen.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Retry behavior\n- Send `Idempotency-Key` on every create and update request.\n- Reuse the same idempotency key when retrying the same logical action so Sage does not apply it twice.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst vendorCreditMemo = await client.sage50.vendorCreditMemos.create({\n  connectionId: \"conn_123\",\n  idempotencyKey: \"idem_20260417_0001\",\n  externalId: \"vendorCreditMemo_external_123\",\n  documentNumber: \"VCM-1001\",\n  status: \"posted\",\n  transactionDate: \"2026-04-17\",\n  dueDate: \"2026-05-17\",\n  currency: \"USD\",\n  subtotal: 20,\n  taxAmount: 1.65,\n  totalAmount: 21.65,\n  vendorId: \"vendor_123\",\n  lines: [\n    {\n      lineId: \"line_123\",\n      itemId: \"item_123\",\n      accountId: \"acct_4000\",\n      description: \"Widget\",\n      quantity: 2,\n      unitPrice: 49.95,\n      amount: 99.9\n    }\n  ]\n});\n\nconsole.log(vendorCreditMemo);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nvendorCreditMemo = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/vendor-credit-memos\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\",\n        \"Idempotency-Key\": \"idem_20260417_0001\"\n    },\n    json={\n        \"externalId\": \"vendorCreditMemo_external_123\",\n        \"documentNumber\": \"VCM-1001\",\n        \"status\": \"posted\",\n        \"transactionDate\": \"2026-04-17\",\n        \"dueDate\": \"2026-05-17\",\n        \"currency\": \"USD\",\n        \"subtotal\": 20,\n        \"taxAmount\": 1.65,\n        \"totalAmount\": 21.65,\n        \"vendorId\": \"vendor_123\",\n        \"lines\": [\n            {\n                \"lineId\": \"line_123\",\n                \"itemId\": \"item_123\",\n                \"accountId\": \"acct_4000\",\n                \"description\": \"Widget\",\n                \"quantity\": 2,\n                \"unitPrice\": 49.95,\n                \"amount\": 99.9\n            }\n        ]\n    },\n)\nvendorCreditMemo.raise_for_status()\nvendorCreditMemo = vendorCreditMemo.json()\nprint(vendorCreditMemo)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/vendor-credit-memos\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .header(\"Idempotency-Key\", \"idem_20260417_0001\")\n    .header(\"Content-Type\", \"application/json\")\n    .POST(HttpRequest.BodyPublishers.ofString(\"{\\n  \\\"externalId\\\": \\\"vendorCreditMemo_external_123\\\",\\n  \\\"documentNumber\\\": \\\"VCM-1001\\\",\\n  \\\"status\\\": \\\"posted\\\",\\n  \\\"transactionDate\\\": \\\"2026-04-17\\\",\\n  \\\"dueDate\\\": \\\"2026-05-17\\\",\\n  \\\"currency\\\": \\\"USD\\\",\\n  \\\"subtotal\\\": 20,\\n  \\\"taxAmount\\\": 1.65,\\n  \\\"totalAmount\\\": 21.65,\\n  \\\"vendorId\\\": \\\"vendor_123\\\",\\n  \\\"lines\\\": [\\n    {\\n      \\\"lineId\\\": \\\"line_123\\\",\\n      \\\"itemId\\\": \\\"item_123\\\",\\n      \\\"accountId\\\": \\\"acct_4000\\\",\\n      \\\"description\\\": \\\"Widget\\\",\\n      \\\"quantity\\\": 2,\\n      \\\"unitPrice\\\": 49.95,\\n      \\\"amount\\\": 99.9\\n    }\\n  ]\\n}\"));\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/vendor-credit-memos\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\" \\\n  --header \"Idempotency-Key: idem_20260417_0001\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n  \"externalId\": \"vendorCreditMemo_external_123\",\n  \"documentNumber\": \"VCM-1001\",\n  \"status\": \"posted\",\n  \"transactionDate\": \"2026-04-17\",\n  \"dueDate\": \"2026-05-17\",\n  \"currency\": \"USD\",\n  \"subtotal\": 20,\n  \"taxAmount\": 1.65,\n  \"totalAmount\": 21.65,\n  \"vendorId\": \"vendor_123\",\n  \"lines\": [\n    {\n      \"lineId\": \"line_123\",\n      \"itemId\": \"item_123\",\n      \"accountId\": \"acct_4000\",\n      \"description\": \"Widget\",\n      \"quantity\": 2,\n      \"unitPrice\": 49.95,\n      \"amount\": 99.9\n    }\n  ]\n}'"}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique key for this create or update. Reuse the same key when retrying the same action so Sage does not do it twice.","schema":{"type":"string","minLength":1,"example":"idem_20260417_0001"}}]}},"/v1/sage-50/vendor-credit-memos/{id}":{"get":{"tags":["Vendor Credit Memos"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"src_123"},"required":true,"name":"id","in":"path"},{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}}],"responses":{"200":{"description":"One Sage 50 vendor credit memo.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_vendor_credit_memo"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"documentNumber":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"dueDate":{"type":"string","nullable":true,"minLength":1},"currency":{"type":"string","nullable":true,"minLength":1},"subtotal":{"type":"number","nullable":true},"taxAmount":{"type":"number","nullable":true},"totalAmount":{"type":"number","nullable":true},"vendorId":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"lineId":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitPrice":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"vendorCreditMemos":{"summary":"Vendor Credit Memos","value":{"id":"vendorCreditMemo_123","objectType":"sage50_vendor_credit_memo","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"VENDORCREDITMEMOS-123"},"documentNumber":"VCM-1001","status":"posted","transactionDate":"2026-04-17","dueDate":"2026-05-17","currency":"USD","subtotal":20,"taxAmount":1.65,"totalAmount":21.65,"vendorId":"vendor_123","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"notFound":{"summary":"Vendor Credit Memos not found","value":{"error":{"message":"The requested vendor credit memo could not be found in Sage.","userFacingMessage":"Choose an existing vendor credit memo and try again.","type":"not_found_error","code":"NOT_FOUND","httpStatusCode":404,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"getSage50VendorCreditMemos","summary":"Get one Vendor Credit Memo","description":"Get one vendor credit memo in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when you already know the id for one vendor credit memo.\n- Use the list route first when you need discovery or pagination.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst vendorCreditMemo = await client.sage50.vendorCreditMemos.get({\n  connectionId: \"conn_123\",\n  id: \"vendorCreditMemo_123\"\n});\n\nconsole.log(vendorCreditMemo);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nvendorCreditMemo = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/vendor-credit-memos/vendorCreditMemo_123\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\nvendorCreditMemo.raise_for_status()\nvendorCreditMemo = vendorCreditMemo.json()\nprint(vendorCreditMemo)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/vendor-credit-memos/vendorCreditMemo_123\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/vendor-credit-memos/vendorCreditMemo_123\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}]},"post":{"tags":["Vendor Credit Memos"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"src_123"},"required":true,"name":"id","in":"path"},{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique key for this create or update. Reuse the same key when retrying the same action so Sage does not do it twice.","schema":{"type":"string","minLength":1,"example":"idem_20260417_0001"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"externalId":{"type":"string","nullable":true,"minLength":1},"revisionNumber":{"type":"string","nullable":true,"minLength":1},"documentNumber":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"dueDate":{"type":"string","nullable":true,"minLength":1},"currency":{"type":"string","nullable":true,"minLength":1},"subtotal":{"type":"number","nullable":true},"taxAmount":{"type":"number","nullable":true},"totalAmount":{"type":"number","nullable":true},"vendorId":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"lineId":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitPrice":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"additionalProperties":{"nullable":true}},"examples":{"updateExample":{"summary":"Update Vendor Credit Memos","value":{"revisionNumber":"7","status":"posted","dueDate":"2026-05-17","transactionDate":"2026-04-17","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}}}}},"required":true,"description":"The vendor credit memos changes you want saved in Sage. Example payload matches the generated SDK request model.\n\n### What to send\n- Send only the fields you want Sage to change.\n- Use the same field names shown in the examples and generated SDK models.\n\n### Concurrency\nSend the latest `revisionNumber` when Sage returns one so updates stay aligned with the current desktop record.\n\n### Retry behavior\nAlways send `Idempotency-Key` on create and update requests. Reuse the same key when retrying the same logical action."},"responses":{"200":{"description":"The vendor credit memos after Sage saved the update.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_vendor_credit_memo"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"documentNumber":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"dueDate":{"type":"string","nullable":true,"minLength":1},"currency":{"type":"string","nullable":true,"minLength":1},"subtotal":{"type":"number","nullable":true},"taxAmount":{"type":"number","nullable":true},"totalAmount":{"type":"number","nullable":true},"vendorId":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"lineId":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitPrice":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"vendorCreditMemos":{"summary":"Vendor Credit Memos","value":{"id":"vendorCreditMemo_123","objectType":"sage50_vendor_credit_memo","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"VENDORCREDITMEMOS-123"},"documentNumber":"VCM-1001","status":"posted","transactionDate":"2026-04-17","dueDate":"2026-05-17","currency":"USD","subtotal":20,"taxAmount":1.65,"totalAmount":21.65,"vendorId":"vendor_123","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"missingIdempotencyKey":{"summary":"Idempotency key required","value":{"error":{"message":"Missing required Idempotency-Key header","userFacingMessage":"Send an idempotency key and try again.","type":"validation_error","code":"IDEMPOTENCY_KEY_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"422":{"description":"Sage validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"sageValidationFailed":{"summary":"Sage rejected the request","value":{"error":{"message":"Sage rejected the vendor credit memo because one or more fields were invalid.","userFacingMessage":"Review the vendor credit memo details and try again.","type":"integration_validation_error","code":"SAGE_VALIDATION_FAILED","httpStatusCode":422,"requestId":"req_123","integrationCode":"VAL-1001","retryable":false,"correlationId":null,"details":{"fieldErrors":[{"field":"name","message":"Name is required."}]}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"updateSage50VendorCreditMemos","summary":"Update Vendor Credit Memo","description":"Update vendor credit memo in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when your app needs to save changes to an existing vendor credit memo.\n- Send the latest `revisionNumber` when Sage provides one so updates stay concurrency-safe.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Retry behavior\n- Send `Idempotency-Key` on every create and update request.\n- Reuse the same idempotency key when retrying the same logical action so Sage does not apply it twice.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst vendorCreditMemo = await client.sage50.vendorCreditMemos.update({\n  connectionId: \"conn_123\",\n  id: \"vendorCreditMemo_123\",\n  idempotencyKey: \"idem_20260417_0001\",\n  revisionNumber: \"7\",\n  status: \"posted\",\n  dueDate: \"2026-05-17\",\n  transactionDate: \"2026-04-17\",\n  lines: [\n    {\n      lineId: \"line_123\",\n      itemId: \"item_123\",\n      accountId: \"acct_4000\",\n      description: \"Widget\",\n      quantity: 2,\n      unitPrice: 49.95,\n      amount: 99.9\n    }\n  ]\n});\n\nconsole.log(vendorCreditMemo);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nvendorCreditMemo = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/vendor-credit-memos/vendorCreditMemo_123\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\",\n        \"Idempotency-Key\": \"idem_20260417_0001\"\n    },\n    json={\n        \"revisionNumber\": \"7\",\n        \"status\": \"posted\",\n        \"dueDate\": \"2026-05-17\",\n        \"transactionDate\": \"2026-04-17\",\n        \"lines\": [\n            {\n                \"lineId\": \"line_123\",\n                \"itemId\": \"item_123\",\n                \"accountId\": \"acct_4000\",\n                \"description\": \"Widget\",\n                \"quantity\": 2,\n                \"unitPrice\": 49.95,\n                \"amount\": 99.9\n            }\n        ]\n    },\n)\nvendorCreditMemo.raise_for_status()\nvendorCreditMemo = vendorCreditMemo.json()\nprint(vendorCreditMemo)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/vendor-credit-memos/vendorCreditMemo_123\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .header(\"Idempotency-Key\", \"idem_20260417_0001\")\n    .header(\"Content-Type\", \"application/json\")\n    .POST(HttpRequest.BodyPublishers.ofString(\"{\\n  \\\"revisionNumber\\\": \\\"7\\\",\\n  \\\"status\\\": \\\"posted\\\",\\n  \\\"dueDate\\\": \\\"2026-05-17\\\",\\n  \\\"transactionDate\\\": \\\"2026-04-17\\\",\\n  \\\"lines\\\": [\\n    {\\n      \\\"lineId\\\": \\\"line_123\\\",\\n      \\\"itemId\\\": \\\"item_123\\\",\\n      \\\"accountId\\\": \\\"acct_4000\\\",\\n      \\\"description\\\": \\\"Widget\\\",\\n      \\\"quantity\\\": 2,\\n      \\\"unitPrice\\\": 49.95,\\n      \\\"amount\\\": 99.9\\n    }\\n  ]\\n}\"));\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/vendor-credit-memos/vendorCreditMemo_123\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\" \\\n  --header \"Idempotency-Key: idem_20260417_0001\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n  \"revisionNumber\": \"7\",\n  \"status\": \"posted\",\n  \"dueDate\": \"2026-05-17\",\n  \"transactionDate\": \"2026-04-17\",\n  \"lines\": [\n    {\n      \"lineId\": \"line_123\",\n      \"itemId\": \"item_123\",\n      \"accountId\": \"acct_4000\",\n      \"description\": \"Widget\",\n      \"quantity\": 2,\n      \"unitPrice\": 49.95,\n      \"amount\": 99.9\n    }\n  ]\n}'"}]}},"/v1/sage-50/vendor-payments":{"get":{"tags":["Vendor Payments"],"responses":{"200":{"description":"A page of Sage 50 vendor payments.","content":{"application/json":{"schema":{"type":"object","properties":{"objectType":{"type":"string","enum":["list"]},"url":{"type":"string","minLength":1},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_vendor_payment"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"vendorId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"totalAmount":{"type":"number","nullable":true},"currency":{"type":"string","nullable":true,"minLength":1},"referenceNumber":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"lineId":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitPrice":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}}},"nextCursor":{"type":"string","nullable":true},"hasMore":{"type":"boolean"},"remainingCount":{"type":"integer","minimum":0}},"required":["objectType","url","data","nextCursor","hasMore","remainingCount"]},"examples":{"list":{"summary":"Vendor Payments page","value":{"objectType":"list","url":"/v1/sage-50/vendor-payments","data":[{"id":"vendorPayment_123","objectType":"sage50_vendor_payment","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"VENDORPAYMENTS-123"},"vendorId":"vendor_123","accountId":"acct_1000","transactionDate":"2026-04-17","totalAmount":63.87,"currency":"USD","referenceNumber":"PAY-1001","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}],"nextCursor":null,"hasMore":false,"remainingCount":0}},"emptyPage":{"summary":"No vendor payments found","value":{"objectType":"list","url":"/v1/sage-50/vendor-payments","data":[],"nextCursor":null,"hasMore":false,"remainingCount":0}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"listSage50VendorPayments","summary":"Get Vendor Payments","description":"Gets vendor payments from the selected Sage company through one country-neutral route.\n\n### When to use\n- Use this route when you need a page of vendor payments for sync, browsing, or search flows.\n- Prefer `updatedSince` plus `cursor` for incremental sync and resumable imports.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Pagination\n- Use `limit` to control page size.\n- Use `cursor` to continue from the previous page.\n- Use `updatedSince` when the connected Sage company supports incremental filtering.\n\n### Response shape\nReturns the standard list wrapper with normalized Sage resource objects inside `data`.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst vendorPayments = await client.sage50.vendorPayments.list({\n  connectionId: \"conn_123\",\n  limit: 20\n});\n\nconsole.log(vendorPayments.data);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nvendorPayments = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/vendor-payments?limit=20\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\nvendorPayments.raise_for_status()\nvendorPayments = vendorPayments.json()\nprint(vendorPayments[\"data\"])"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/vendor-payments?limit=20\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/vendor-payments?limit=20\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"limit","in":"query","required":false,"description":"How many records to return at once.","schema":{"type":"integer","minimum":1,"maximum":150,"default":100,"example":100}},{"name":"cursor","in":"query","required":false,"description":"The next-page marker from a previous response.","schema":{"type":"string","minLength":1,"example":"cur_eyJvZmZzZXQiOjEwMH0"}},{"name":"updatedSince","in":"query","required":false,"description":"Only return records changed after this time, when the connected Sage company can support that filter.","schema":{"type":"string","format":"date-time","example":"2026-04-01T00:00:00.000Z"}}]},"post":{"tags":["Vendor Payments"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"externalId":{"type":"string","nullable":true,"minLength":1},"revisionNumber":{"type":"string","nullable":true,"minLength":1},"vendorId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"totalAmount":{"type":"number","nullable":true},"currency":{"type":"string","nullable":true,"minLength":1},"referenceNumber":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"lineId":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitPrice":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"additionalProperties":{"nullable":true}},"examples":{"createExample":{"summary":"Create Vendor Payments","value":{"externalId":"vendorPayment_external_123","vendorId":"vendor_123","accountId":"acct_1000","transactionDate":"2026-04-17","totalAmount":63.87,"currency":"USD","referenceNumber":"PAY-1001","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}}}}},"required":true,"description":"The vendor payments record you want created in Sage. Example payload matches the generated SDK request model.\n\n### What to send\n- Send the normalized fields your app wants Sage to create.\n- Use the same field names shown in the examples and generated SDK models.\n\n### Retry behavior\nAlways send `Idempotency-Key` on create and update requests. Reuse the same key when retrying the same logical action."},"responses":{"200":{"description":"The vendor payments Sage created.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_vendor_payment"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"vendorId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"totalAmount":{"type":"number","nullable":true},"currency":{"type":"string","nullable":true,"minLength":1},"referenceNumber":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"lineId":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitPrice":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"vendorPayments":{"summary":"Vendor Payments","value":{"id":"vendorPayment_123","objectType":"sage50_vendor_payment","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"VENDORPAYMENTS-123"},"vendorId":"vendor_123","accountId":"acct_1000","transactionDate":"2026-04-17","totalAmount":63.87,"currency":"USD","referenceNumber":"PAY-1001","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"missingIdempotencyKey":{"summary":"Idempotency key required","value":{"error":{"message":"Missing required Idempotency-Key header","userFacingMessage":"Send an idempotency key and try again.","type":"validation_error","code":"IDEMPOTENCY_KEY_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"422":{"description":"Sage validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"sageValidationFailed":{"summary":"Sage rejected the request","value":{"error":{"message":"Sage rejected the vendor payment because one or more fields were invalid.","userFacingMessage":"Review the vendor payment details and try again.","type":"integration_validation_error","code":"SAGE_VALIDATION_FAILED","httpStatusCode":422,"requestId":"req_123","integrationCode":"VAL-1001","retryable":false,"correlationId":null,"details":{"fieldErrors":[{"field":"name","message":"Name is required."}]}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"createSage50VendorPayments","summary":"Create Vendor Payment","description":"Create vendor payment in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when your app is the source of truth for a new vendor payment.\n- Send an idempotency key whenever a network retry might happen.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Retry behavior\n- Send `Idempotency-Key` on every create and update request.\n- Reuse the same idempotency key when retrying the same logical action so Sage does not apply it twice.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst vendorPayment = await client.sage50.vendorPayments.create({\n  connectionId: \"conn_123\",\n  idempotencyKey: \"idem_20260417_0001\",\n  externalId: \"vendorPayment_external_123\",\n  vendorId: \"vendor_123\",\n  accountId: \"acct_1000\",\n  transactionDate: \"2026-04-17\",\n  totalAmount: 63.87,\n  currency: \"USD\",\n  referenceNumber: \"PAY-1001\",\n  lines: [\n    {\n      lineId: \"line_123\",\n      itemId: \"item_123\",\n      accountId: \"acct_4000\",\n      description: \"Widget\",\n      quantity: 2,\n      unitPrice: 49.95,\n      amount: 99.9\n    }\n  ]\n});\n\nconsole.log(vendorPayment);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nvendorPayment = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/vendor-payments\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\",\n        \"Idempotency-Key\": \"idem_20260417_0001\"\n    },\n    json={\n        \"externalId\": \"vendorPayment_external_123\",\n        \"vendorId\": \"vendor_123\",\n        \"accountId\": \"acct_1000\",\n        \"transactionDate\": \"2026-04-17\",\n        \"totalAmount\": 63.87,\n        \"currency\": \"USD\",\n        \"referenceNumber\": \"PAY-1001\",\n        \"lines\": [\n            {\n                \"lineId\": \"line_123\",\n                \"itemId\": \"item_123\",\n                \"accountId\": \"acct_4000\",\n                \"description\": \"Widget\",\n                \"quantity\": 2,\n                \"unitPrice\": 49.95,\n                \"amount\": 99.9\n            }\n        ]\n    },\n)\nvendorPayment.raise_for_status()\nvendorPayment = vendorPayment.json()\nprint(vendorPayment)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/vendor-payments\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .header(\"Idempotency-Key\", \"idem_20260417_0001\")\n    .header(\"Content-Type\", \"application/json\")\n    .POST(HttpRequest.BodyPublishers.ofString(\"{\\n  \\\"externalId\\\": \\\"vendorPayment_external_123\\\",\\n  \\\"vendorId\\\": \\\"vendor_123\\\",\\n  \\\"accountId\\\": \\\"acct_1000\\\",\\n  \\\"transactionDate\\\": \\\"2026-04-17\\\",\\n  \\\"totalAmount\\\": 63.87,\\n  \\\"currency\\\": \\\"USD\\\",\\n  \\\"referenceNumber\\\": \\\"PAY-1001\\\",\\n  \\\"lines\\\": [\\n    {\\n      \\\"lineId\\\": \\\"line_123\\\",\\n      \\\"itemId\\\": \\\"item_123\\\",\\n      \\\"accountId\\\": \\\"acct_4000\\\",\\n      \\\"description\\\": \\\"Widget\\\",\\n      \\\"quantity\\\": 2,\\n      \\\"unitPrice\\\": 49.95,\\n      \\\"amount\\\": 99.9\\n    }\\n  ]\\n}\"));\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/vendor-payments\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\" \\\n  --header \"Idempotency-Key: idem_20260417_0001\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n  \"externalId\": \"vendorPayment_external_123\",\n  \"vendorId\": \"vendor_123\",\n  \"accountId\": \"acct_1000\",\n  \"transactionDate\": \"2026-04-17\",\n  \"totalAmount\": 63.87,\n  \"currency\": \"USD\",\n  \"referenceNumber\": \"PAY-1001\",\n  \"lines\": [\n    {\n      \"lineId\": \"line_123\",\n      \"itemId\": \"item_123\",\n      \"accountId\": \"acct_4000\",\n      \"description\": \"Widget\",\n      \"quantity\": 2,\n      \"unitPrice\": 49.95,\n      \"amount\": 99.9\n    }\n  ]\n}'"}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique key for this create or update. Reuse the same key when retrying the same action so Sage does not do it twice.","schema":{"type":"string","minLength":1,"example":"idem_20260417_0001"}}]}},"/v1/sage-50/vendor-payments/{id}":{"get":{"tags":["Vendor Payments"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"src_123"},"required":true,"name":"id","in":"path"},{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}}],"responses":{"200":{"description":"One Sage 50 vendor payment.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_vendor_payment"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"vendorId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"totalAmount":{"type":"number","nullable":true},"currency":{"type":"string","nullable":true,"minLength":1},"referenceNumber":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"lineId":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitPrice":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"vendorPayments":{"summary":"Vendor Payments","value":{"id":"vendorPayment_123","objectType":"sage50_vendor_payment","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"VENDORPAYMENTS-123"},"vendorId":"vendor_123","accountId":"acct_1000","transactionDate":"2026-04-17","totalAmount":63.87,"currency":"USD","referenceNumber":"PAY-1001","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"notFound":{"summary":"Vendor Payments not found","value":{"error":{"message":"The requested vendor payment could not be found in Sage.","userFacingMessage":"Choose an existing vendor payment and try again.","type":"not_found_error","code":"NOT_FOUND","httpStatusCode":404,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"getSage50VendorPayments","summary":"Get one Vendor Payment","description":"Get one vendor payment in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when you already know the id for one vendor payment.\n- Use the list route first when you need discovery or pagination.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst vendorPayment = await client.sage50.vendorPayments.get({\n  connectionId: \"conn_123\",\n  id: \"vendorPayment_123\"\n});\n\nconsole.log(vendorPayment);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nvendorPayment = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/vendor-payments/vendorPayment_123\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\nvendorPayment.raise_for_status()\nvendorPayment = vendorPayment.json()\nprint(vendorPayment)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/vendor-payments/vendorPayment_123\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/vendor-payments/vendorPayment_123\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}]},"post":{"tags":["Vendor Payments"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"src_123"},"required":true,"name":"id","in":"path"},{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique key for this create or update. Reuse the same key when retrying the same action so Sage does not do it twice.","schema":{"type":"string","minLength":1,"example":"idem_20260417_0001"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"externalId":{"type":"string","nullable":true,"minLength":1},"revisionNumber":{"type":"string","nullable":true,"minLength":1},"vendorId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"totalAmount":{"type":"number","nullable":true},"currency":{"type":"string","nullable":true,"minLength":1},"referenceNumber":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"lineId":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitPrice":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"additionalProperties":{"nullable":true}},"examples":{"updateExample":{"summary":"Update Vendor Payments","value":{"revisionNumber":"7","transactionDate":"2026-04-17","referenceNumber":"PAY-1001","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}}}}},"required":true,"description":"The vendor payments changes you want saved in Sage. Example payload matches the generated SDK request model.\n\n### What to send\n- Send only the fields you want Sage to change.\n- Use the same field names shown in the examples and generated SDK models.\n\n### Concurrency\nSend the latest `revisionNumber` when Sage returns one so updates stay aligned with the current desktop record.\n\n### Retry behavior\nAlways send `Idempotency-Key` on create and update requests. Reuse the same key when retrying the same logical action."},"responses":{"200":{"description":"The vendor payments after Sage saved the update.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_vendor_payment"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"vendorId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"totalAmount":{"type":"number","nullable":true},"currency":{"type":"string","nullable":true,"minLength":1},"referenceNumber":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"lineId":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitPrice":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"vendorPayments":{"summary":"Vendor Payments","value":{"id":"vendorPayment_123","objectType":"sage50_vendor_payment","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"VENDORPAYMENTS-123"},"vendorId":"vendor_123","accountId":"acct_1000","transactionDate":"2026-04-17","totalAmount":63.87,"currency":"USD","referenceNumber":"PAY-1001","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"missingIdempotencyKey":{"summary":"Idempotency key required","value":{"error":{"message":"Missing required Idempotency-Key header","userFacingMessage":"Send an idempotency key and try again.","type":"validation_error","code":"IDEMPOTENCY_KEY_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"422":{"description":"Sage validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"sageValidationFailed":{"summary":"Sage rejected the request","value":{"error":{"message":"Sage rejected the vendor payment because one or more fields were invalid.","userFacingMessage":"Review the vendor payment details and try again.","type":"integration_validation_error","code":"SAGE_VALIDATION_FAILED","httpStatusCode":422,"requestId":"req_123","integrationCode":"VAL-1001","retryable":false,"correlationId":null,"details":{"fieldErrors":[{"field":"name","message":"Name is required."}]}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"updateSage50VendorPayments","summary":"Update Vendor Payment","description":"Update vendor payment in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when your app needs to save changes to an existing vendor payment.\n- Send the latest `revisionNumber` when Sage provides one so updates stay concurrency-safe.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Retry behavior\n- Send `Idempotency-Key` on every create and update request.\n- Reuse the same idempotency key when retrying the same logical action so Sage does not apply it twice.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst vendorPayment = await client.sage50.vendorPayments.update({\n  connectionId: \"conn_123\",\n  id: \"vendorPayment_123\",\n  idempotencyKey: \"idem_20260417_0001\",\n  revisionNumber: \"7\",\n  transactionDate: \"2026-04-17\",\n  referenceNumber: \"PAY-1001\",\n  lines: [\n    {\n      lineId: \"line_123\",\n      itemId: \"item_123\",\n      accountId: \"acct_4000\",\n      description: \"Widget\",\n      quantity: 2,\n      unitPrice: 49.95,\n      amount: 99.9\n    }\n  ]\n});\n\nconsole.log(vendorPayment);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nvendorPayment = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/vendor-payments/vendorPayment_123\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\",\n        \"Idempotency-Key\": \"idem_20260417_0001\"\n    },\n    json={\n        \"revisionNumber\": \"7\",\n        \"transactionDate\": \"2026-04-17\",\n        \"referenceNumber\": \"PAY-1001\",\n        \"lines\": [\n            {\n                \"lineId\": \"line_123\",\n                \"itemId\": \"item_123\",\n                \"accountId\": \"acct_4000\",\n                \"description\": \"Widget\",\n                \"quantity\": 2,\n                \"unitPrice\": 49.95,\n                \"amount\": 99.9\n            }\n        ]\n    },\n)\nvendorPayment.raise_for_status()\nvendorPayment = vendorPayment.json()\nprint(vendorPayment)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/vendor-payments/vendorPayment_123\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .header(\"Idempotency-Key\", \"idem_20260417_0001\")\n    .header(\"Content-Type\", \"application/json\")\n    .POST(HttpRequest.BodyPublishers.ofString(\"{\\n  \\\"revisionNumber\\\": \\\"7\\\",\\n  \\\"transactionDate\\\": \\\"2026-04-17\\\",\\n  \\\"referenceNumber\\\": \\\"PAY-1001\\\",\\n  \\\"lines\\\": [\\n    {\\n      \\\"lineId\\\": \\\"line_123\\\",\\n      \\\"itemId\\\": \\\"item_123\\\",\\n      \\\"accountId\\\": \\\"acct_4000\\\",\\n      \\\"description\\\": \\\"Widget\\\",\\n      \\\"quantity\\\": 2,\\n      \\\"unitPrice\\\": 49.95,\\n      \\\"amount\\\": 99.9\\n    }\\n  ]\\n}\"));\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/vendor-payments/vendorPayment_123\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\" \\\n  --header \"Idempotency-Key: idem_20260417_0001\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n  \"revisionNumber\": \"7\",\n  \"transactionDate\": \"2026-04-17\",\n  \"referenceNumber\": \"PAY-1001\",\n  \"lines\": [\n    {\n      \"lineId\": \"line_123\",\n      \"itemId\": \"item_123\",\n      \"accountId\": \"acct_4000\",\n      \"description\": \"Widget\",\n      \"quantity\": 2,\n      \"unitPrice\": 49.95,\n      \"amount\": 99.9\n    }\n  ]\n}'"}]}},"/v1/sage-50/checks":{"get":{"tags":["Checks"],"responses":{"200":{"description":"A page of Sage 50 checks.","content":{"application/json":{"schema":{"type":"object","properties":{"objectType":{"type":"string","enum":["list"]},"url":{"type":"string","minLength":1},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_check"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"vendorId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"totalAmount":{"type":"number","nullable":true},"currency":{"type":"string","nullable":true,"minLength":1},"referenceNumber":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"lineId":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitPrice":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}}},"nextCursor":{"type":"string","nullable":true},"hasMore":{"type":"boolean"},"remainingCount":{"type":"integer","minimum":0}},"required":["objectType","url","data","nextCursor","hasMore","remainingCount"]},"examples":{"list":{"summary":"Checks page","value":{"objectType":"list","url":"/v1/sage-50/checks","data":[{"id":"check_123","objectType":"sage50_check","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"CHECKS-123"},"vendorId":"vendor_123","accountId":"acct_1000","transactionDate":"2026-04-17","totalAmount":63.87,"currency":"USD","referenceNumber":"CHK-1001","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}],"nextCursor":null,"hasMore":false,"remainingCount":0}},"emptyPage":{"summary":"No checks found","value":{"objectType":"list","url":"/v1/sage-50/checks","data":[],"nextCursor":null,"hasMore":false,"remainingCount":0}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"listSage50Checks","summary":"Get Checks","description":"Gets checks from the selected Sage company through one country-neutral route.\n\n### When to use\n- Use this route when you need a page of checks for sync, browsing, or search flows.\n- Prefer `updatedSince` plus `cursor` for incremental sync and resumable imports.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Pagination\n- Use `limit` to control page size.\n- Use `cursor` to continue from the previous page.\n- Use `updatedSince` when the connected Sage company supports incremental filtering.\n\n### Response shape\nReturns the standard list wrapper with normalized Sage resource objects inside `data`.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst checks = await client.sage50.checks.list({\n  connectionId: \"conn_123\",\n  limit: 20\n});\n\nconsole.log(checks.data);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nchecks = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/checks?limit=20\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\nchecks.raise_for_status()\nchecks = checks.json()\nprint(checks[\"data\"])"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/checks?limit=20\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/checks?limit=20\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"limit","in":"query","required":false,"description":"How many records to return at once.","schema":{"type":"integer","minimum":1,"maximum":150,"default":100,"example":100}},{"name":"cursor","in":"query","required":false,"description":"The next-page marker from a previous response.","schema":{"type":"string","minLength":1,"example":"cur_eyJvZmZzZXQiOjEwMH0"}},{"name":"updatedSince","in":"query","required":false,"description":"Only return records changed after this time, when the connected Sage company can support that filter.","schema":{"type":"string","format":"date-time","example":"2026-04-01T00:00:00.000Z"}}]},"post":{"tags":["Checks"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"externalId":{"type":"string","nullable":true,"minLength":1},"revisionNumber":{"type":"string","nullable":true,"minLength":1},"vendorId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"totalAmount":{"type":"number","nullable":true},"currency":{"type":"string","nullable":true,"minLength":1},"referenceNumber":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"lineId":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitPrice":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"additionalProperties":{"nullable":true}},"examples":{"createExample":{"summary":"Create Checks","value":{"externalId":"check_external_123","vendorId":"vendor_123","accountId":"acct_1000","transactionDate":"2026-04-17","totalAmount":63.87,"currency":"USD","referenceNumber":"CHK-1001","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}}}}},"required":true,"description":"The checks record you want created in Sage. Example payload matches the generated SDK request model.\n\n### What to send\n- Send the normalized fields your app wants Sage to create.\n- Use the same field names shown in the examples and generated SDK models.\n\n### Retry behavior\nAlways send `Idempotency-Key` on create and update requests. Reuse the same key when retrying the same logical action."},"responses":{"200":{"description":"The checks Sage created.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_check"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"vendorId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"totalAmount":{"type":"number","nullable":true},"currency":{"type":"string","nullable":true,"minLength":1},"referenceNumber":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"lineId":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitPrice":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"checks":{"summary":"Checks","value":{"id":"check_123","objectType":"sage50_check","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"CHECKS-123"},"vendorId":"vendor_123","accountId":"acct_1000","transactionDate":"2026-04-17","totalAmount":63.87,"currency":"USD","referenceNumber":"CHK-1001","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"missingIdempotencyKey":{"summary":"Idempotency key required","value":{"error":{"message":"Missing required Idempotency-Key header","userFacingMessage":"Send an idempotency key and try again.","type":"validation_error","code":"IDEMPOTENCY_KEY_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"422":{"description":"Sage validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"sageValidationFailed":{"summary":"Sage rejected the request","value":{"error":{"message":"Sage rejected the check because one or more fields were invalid.","userFacingMessage":"Review the check details and try again.","type":"integration_validation_error","code":"SAGE_VALIDATION_FAILED","httpStatusCode":422,"requestId":"req_123","integrationCode":"VAL-1001","retryable":false,"correlationId":null,"details":{"fieldErrors":[{"field":"name","message":"Name is required."}]}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"createSage50Checks","summary":"Create Check","description":"Create check in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when your app is the source of truth for a new check.\n- Send an idempotency key whenever a network retry might happen.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Retry behavior\n- Send `Idempotency-Key` on every create and update request.\n- Reuse the same idempotency key when retrying the same logical action so Sage does not apply it twice.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst check = await client.sage50.checks.create({\n  connectionId: \"conn_123\",\n  idempotencyKey: \"idem_20260417_0001\",\n  externalId: \"check_external_123\",\n  vendorId: \"vendor_123\",\n  accountId: \"acct_1000\",\n  transactionDate: \"2026-04-17\",\n  totalAmount: 63.87,\n  currency: \"USD\",\n  referenceNumber: \"CHK-1001\",\n  lines: [\n    {\n      lineId: \"line_123\",\n      itemId: \"item_123\",\n      accountId: \"acct_4000\",\n      description: \"Widget\",\n      quantity: 2,\n      unitPrice: 49.95,\n      amount: 99.9\n    }\n  ]\n});\n\nconsole.log(check);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\ncheck = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/checks\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\",\n        \"Idempotency-Key\": \"idem_20260417_0001\"\n    },\n    json={\n        \"externalId\": \"check_external_123\",\n        \"vendorId\": \"vendor_123\",\n        \"accountId\": \"acct_1000\",\n        \"transactionDate\": \"2026-04-17\",\n        \"totalAmount\": 63.87,\n        \"currency\": \"USD\",\n        \"referenceNumber\": \"CHK-1001\",\n        \"lines\": [\n            {\n                \"lineId\": \"line_123\",\n                \"itemId\": \"item_123\",\n                \"accountId\": \"acct_4000\",\n                \"description\": \"Widget\",\n                \"quantity\": 2,\n                \"unitPrice\": 49.95,\n                \"amount\": 99.9\n            }\n        ]\n    },\n)\ncheck.raise_for_status()\ncheck = check.json()\nprint(check)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/checks\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .header(\"Idempotency-Key\", \"idem_20260417_0001\")\n    .header(\"Content-Type\", \"application/json\")\n    .POST(HttpRequest.BodyPublishers.ofString(\"{\\n  \\\"externalId\\\": \\\"check_external_123\\\",\\n  \\\"vendorId\\\": \\\"vendor_123\\\",\\n  \\\"accountId\\\": \\\"acct_1000\\\",\\n  \\\"transactionDate\\\": \\\"2026-04-17\\\",\\n  \\\"totalAmount\\\": 63.87,\\n  \\\"currency\\\": \\\"USD\\\",\\n  \\\"referenceNumber\\\": \\\"CHK-1001\\\",\\n  \\\"lines\\\": [\\n    {\\n      \\\"lineId\\\": \\\"line_123\\\",\\n      \\\"itemId\\\": \\\"item_123\\\",\\n      \\\"accountId\\\": \\\"acct_4000\\\",\\n      \\\"description\\\": \\\"Widget\\\",\\n      \\\"quantity\\\": 2,\\n      \\\"unitPrice\\\": 49.95,\\n      \\\"amount\\\": 99.9\\n    }\\n  ]\\n}\"));\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/checks\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\" \\\n  --header \"Idempotency-Key: idem_20260417_0001\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n  \"externalId\": \"check_external_123\",\n  \"vendorId\": \"vendor_123\",\n  \"accountId\": \"acct_1000\",\n  \"transactionDate\": \"2026-04-17\",\n  \"totalAmount\": 63.87,\n  \"currency\": \"USD\",\n  \"referenceNumber\": \"CHK-1001\",\n  \"lines\": [\n    {\n      \"lineId\": \"line_123\",\n      \"itemId\": \"item_123\",\n      \"accountId\": \"acct_4000\",\n      \"description\": \"Widget\",\n      \"quantity\": 2,\n      \"unitPrice\": 49.95,\n      \"amount\": 99.9\n    }\n  ]\n}'"}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique key for this create or update. Reuse the same key when retrying the same action so Sage does not do it twice.","schema":{"type":"string","minLength":1,"example":"idem_20260417_0001"}}]}},"/v1/sage-50/checks/{id}":{"get":{"tags":["Checks"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"src_123"},"required":true,"name":"id","in":"path"},{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}}],"responses":{"200":{"description":"One Sage 50 check.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_check"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"vendorId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"totalAmount":{"type":"number","nullable":true},"currency":{"type":"string","nullable":true,"minLength":1},"referenceNumber":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"lineId":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitPrice":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"checks":{"summary":"Checks","value":{"id":"check_123","objectType":"sage50_check","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"CHECKS-123"},"vendorId":"vendor_123","accountId":"acct_1000","transactionDate":"2026-04-17","totalAmount":63.87,"currency":"USD","referenceNumber":"CHK-1001","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"notFound":{"summary":"Checks not found","value":{"error":{"message":"The requested check could not be found in Sage.","userFacingMessage":"Choose an existing check and try again.","type":"not_found_error","code":"NOT_FOUND","httpStatusCode":404,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"getSage50Checks","summary":"Get one Check","description":"Get one check in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when you already know the id for one check.\n- Use the list route first when you need discovery or pagination.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst check = await client.sage50.checks.get({\n  connectionId: \"conn_123\",\n  id: \"check_123\"\n});\n\nconsole.log(check);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\ncheck = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/checks/check_123\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\ncheck.raise_for_status()\ncheck = check.json()\nprint(check)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/checks/check_123\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/checks/check_123\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}]},"post":{"tags":["Checks"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"src_123"},"required":true,"name":"id","in":"path"},{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique key for this create or update. Reuse the same key when retrying the same action so Sage does not do it twice.","schema":{"type":"string","minLength":1,"example":"idem_20260417_0001"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"externalId":{"type":"string","nullable":true,"minLength":1},"revisionNumber":{"type":"string","nullable":true,"minLength":1},"vendorId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"totalAmount":{"type":"number","nullable":true},"currency":{"type":"string","nullable":true,"minLength":1},"referenceNumber":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"lineId":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitPrice":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"additionalProperties":{"nullable":true}},"examples":{"updateExample":{"summary":"Update Checks","value":{"revisionNumber":"7","transactionDate":"2026-04-17","referenceNumber":"CHK-1001","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}}}}},"required":true,"description":"The checks changes you want saved in Sage. Example payload matches the generated SDK request model.\n\n### What to send\n- Send only the fields you want Sage to change.\n- Use the same field names shown in the examples and generated SDK models.\n\n### Concurrency\nSend the latest `revisionNumber` when Sage returns one so updates stay aligned with the current desktop record.\n\n### Retry behavior\nAlways send `Idempotency-Key` on create and update requests. Reuse the same key when retrying the same logical action."},"responses":{"200":{"description":"The checks after Sage saved the update.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_check"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"vendorId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"totalAmount":{"type":"number","nullable":true},"currency":{"type":"string","nullable":true,"minLength":1},"referenceNumber":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"lineId":{"type":"string","nullable":true,"minLength":1},"itemId":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"quantity":{"type":"number","nullable":true},"unitPrice":{"type":"number","nullable":true},"amount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"checks":{"summary":"Checks","value":{"id":"check_123","objectType":"sage50_check","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"CHECKS-123"},"vendorId":"vendor_123","accountId":"acct_1000","transactionDate":"2026-04-17","totalAmount":63.87,"currency":"USD","referenceNumber":"CHK-1001","lines":[{"lineId":"line_123","itemId":"item_123","accountId":"acct_4000","description":"Widget","quantity":2,"unitPrice":49.95,"amount":99.9}]}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"missingIdempotencyKey":{"summary":"Idempotency key required","value":{"error":{"message":"Missing required Idempotency-Key header","userFacingMessage":"Send an idempotency key and try again.","type":"validation_error","code":"IDEMPOTENCY_KEY_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"422":{"description":"Sage validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"sageValidationFailed":{"summary":"Sage rejected the request","value":{"error":{"message":"Sage rejected the check because one or more fields were invalid.","userFacingMessage":"Review the check details and try again.","type":"integration_validation_error","code":"SAGE_VALIDATION_FAILED","httpStatusCode":422,"requestId":"req_123","integrationCode":"VAL-1001","retryable":false,"correlationId":null,"details":{"fieldErrors":[{"field":"name","message":"Name is required."}]}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"updateSage50Checks","summary":"Update Check","description":"Update check in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when your app needs to save changes to an existing check.\n- Send the latest `revisionNumber` when Sage provides one so updates stay concurrency-safe.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Retry behavior\n- Send `Idempotency-Key` on every create and update request.\n- Reuse the same idempotency key when retrying the same logical action so Sage does not apply it twice.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst check = await client.sage50.checks.update({\n  connectionId: \"conn_123\",\n  id: \"check_123\",\n  idempotencyKey: \"idem_20260417_0001\",\n  revisionNumber: \"7\",\n  transactionDate: \"2026-04-17\",\n  referenceNumber: \"CHK-1001\",\n  lines: [\n    {\n      lineId: \"line_123\",\n      itemId: \"item_123\",\n      accountId: \"acct_4000\",\n      description: \"Widget\",\n      quantity: 2,\n      unitPrice: 49.95,\n      amount: 99.9\n    }\n  ]\n});\n\nconsole.log(check);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\ncheck = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/checks/check_123\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\",\n        \"Idempotency-Key\": \"idem_20260417_0001\"\n    },\n    json={\n        \"revisionNumber\": \"7\",\n        \"transactionDate\": \"2026-04-17\",\n        \"referenceNumber\": \"CHK-1001\",\n        \"lines\": [\n            {\n                \"lineId\": \"line_123\",\n                \"itemId\": \"item_123\",\n                \"accountId\": \"acct_4000\",\n                \"description\": \"Widget\",\n                \"quantity\": 2,\n                \"unitPrice\": 49.95,\n                \"amount\": 99.9\n            }\n        ]\n    },\n)\ncheck.raise_for_status()\ncheck = check.json()\nprint(check)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/checks/check_123\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .header(\"Idempotency-Key\", \"idem_20260417_0001\")\n    .header(\"Content-Type\", \"application/json\")\n    .POST(HttpRequest.BodyPublishers.ofString(\"{\\n  \\\"revisionNumber\\\": \\\"7\\\",\\n  \\\"transactionDate\\\": \\\"2026-04-17\\\",\\n  \\\"referenceNumber\\\": \\\"CHK-1001\\\",\\n  \\\"lines\\\": [\\n    {\\n      \\\"lineId\\\": \\\"line_123\\\",\\n      \\\"itemId\\\": \\\"item_123\\\",\\n      \\\"accountId\\\": \\\"acct_4000\\\",\\n      \\\"description\\\": \\\"Widget\\\",\\n      \\\"quantity\\\": 2,\\n      \\\"unitPrice\\\": 49.95,\\n      \\\"amount\\\": 99.9\\n    }\\n  ]\\n}\"));\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/checks/check_123\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\" \\\n  --header \"Idempotency-Key: idem_20260417_0001\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n  \"revisionNumber\": \"7\",\n  \"transactionDate\": \"2026-04-17\",\n  \"referenceNumber\": \"CHK-1001\",\n  \"lines\": [\n    {\n      \"lineId\": \"line_123\",\n      \"itemId\": \"item_123\",\n      \"accountId\": \"acct_4000\",\n      \"description\": \"Widget\",\n      \"quantity\": 2,\n      \"unitPrice\": 49.95,\n      \"amount\": 99.9\n    }\n  ]\n}'"}]}},"/v1/sage-50/accounts":{"get":{"tags":["Accounts"],"responses":{"200":{"description":"A page of Sage 50 accounts.","content":{"application/json":{"schema":{"type":"object","properties":{"objectType":{"type":"string","enum":["list"]},"url":{"type":"string","minLength":1},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_account"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"code":{"type":"string","nullable":true,"minLength":1},"name":{"type":"string","nullable":true,"minLength":1},"accountType":{"type":"string","nullable":true,"minLength":1},"balance":{"type":"number","nullable":true},"currency":{"type":"string","nullable":true,"minLength":1},"isActive":{"type":"boolean","nullable":true}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}}},"nextCursor":{"type":"string","nullable":true},"hasMore":{"type":"boolean"},"remainingCount":{"type":"integer","minimum":0}},"required":["objectType","url","data","nextCursor","hasMore","remainingCount"]},"examples":{"list":{"summary":"Accounts page","value":{"objectType":"list","url":"/v1/sage-50/accounts","data":[{"id":"account_123","objectType":"sage50_account","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"ACCOUNTS-123"},"code":"4000","name":"Sales Revenue","accountType":"income","balance":120034.11,"currency":"USD","isActive":true}],"nextCursor":null,"hasMore":false,"remainingCount":0}},"emptyPage":{"summary":"No accounts found","value":{"objectType":"list","url":"/v1/sage-50/accounts","data":[],"nextCursor":null,"hasMore":false,"remainingCount":0}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"listSage50Accounts","summary":"Get Accounts","description":"Gets accounts from the selected Sage company through one country-neutral route.\n\n### When to use\n- Use this route when you need a page of accounts for sync, browsing, or search flows.\n- Prefer `updatedSince` plus `cursor` for incremental sync and resumable imports.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Pagination\n- Use `limit` to control page size.\n- Use `cursor` to continue from the previous page.\n- Use `updatedSince` when the connected Sage company supports incremental filtering.\n\n### Response shape\nReturns the standard list wrapper with normalized Sage resource objects inside `data`.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst accounts = await client.sage50.accounts.list({\n  connectionId: \"conn_123\",\n  limit: 20\n});\n\nconsole.log(accounts.data);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\naccounts = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/accounts?limit=20\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\naccounts.raise_for_status()\naccounts = accounts.json()\nprint(accounts[\"data\"])"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/accounts?limit=20\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/accounts?limit=20\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"limit","in":"query","required":false,"description":"How many records to return at once.","schema":{"type":"integer","minimum":1,"maximum":150,"default":100,"example":100}},{"name":"cursor","in":"query","required":false,"description":"The next-page marker from a previous response.","schema":{"type":"string","minLength":1,"example":"cur_eyJvZmZzZXQiOjEwMH0"}},{"name":"updatedSince","in":"query","required":false,"description":"Only return records changed after this time, when the connected Sage company can support that filter.","schema":{"type":"string","format":"date-time","example":"2026-04-01T00:00:00.000Z"}}]},"post":{"tags":["Accounts"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"externalId":{"type":"string","nullable":true,"minLength":1},"revisionNumber":{"type":"string","nullable":true,"minLength":1},"code":{"type":"string","nullable":true,"minLength":1},"name":{"type":"string","nullable":true,"minLength":1},"accountType":{"type":"string","nullable":true,"minLength":1},"balance":{"type":"number","nullable":true},"currency":{"type":"string","nullable":true,"minLength":1},"isActive":{"type":"boolean","nullable":true}},"additionalProperties":{"nullable":true}},"examples":{"createExample":{"summary":"Create Accounts","value":{"externalId":"account_external_123","code":"4000","name":"Sales Revenue","accountType":"income","balance":120034.11,"currency":"USD","isActive":true}}}}},"required":true,"description":"The accounts record you want created in Sage. Example payload matches the generated SDK request model.\n\n### What to send\n- Send the normalized fields your app wants Sage to create.\n- Use the same field names shown in the examples and generated SDK models.\n\n### Retry behavior\nAlways send `Idempotency-Key` on create and update requests. Reuse the same key when retrying the same logical action."},"responses":{"200":{"description":"The accounts Sage created.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_account"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"code":{"type":"string","nullable":true,"minLength":1},"name":{"type":"string","nullable":true,"minLength":1},"accountType":{"type":"string","nullable":true,"minLength":1},"balance":{"type":"number","nullable":true},"currency":{"type":"string","nullable":true,"minLength":1},"isActive":{"type":"boolean","nullable":true}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"accounts":{"summary":"Accounts","value":{"id":"account_123","objectType":"sage50_account","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"ACCOUNTS-123"},"code":"4000","name":"Sales Revenue","accountType":"income","balance":120034.11,"currency":"USD","isActive":true}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"missingIdempotencyKey":{"summary":"Idempotency key required","value":{"error":{"message":"Missing required Idempotency-Key header","userFacingMessage":"Send an idempotency key and try again.","type":"validation_error","code":"IDEMPOTENCY_KEY_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"422":{"description":"Sage validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"sageValidationFailed":{"summary":"Sage rejected the request","value":{"error":{"message":"Sage rejected the account because one or more fields were invalid.","userFacingMessage":"Review the account details and try again.","type":"integration_validation_error","code":"SAGE_VALIDATION_FAILED","httpStatusCode":422,"requestId":"req_123","integrationCode":"VAL-1001","retryable":false,"correlationId":null,"details":{"fieldErrors":[{"field":"name","message":"Name is required."}]}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"createSage50Accounts","summary":"Create Account","description":"Create account in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when your app is the source of truth for a new account.\n- Send an idempotency key whenever a network retry might happen.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Retry behavior\n- Send `Idempotency-Key` on every create and update request.\n- Reuse the same idempotency key when retrying the same logical action so Sage does not apply it twice.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst account = await client.sage50.accounts.create({\n  connectionId: \"conn_123\",\n  idempotencyKey: \"idem_20260417_0001\",\n  externalId: \"account_external_123\",\n  code: \"4000\",\n  name: \"Sales Revenue\",\n  accountType: \"income\",\n  balance: 120034.11,\n  currency: \"USD\",\n  isActive: true\n});\n\nconsole.log(account);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\naccount = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/accounts\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\",\n        \"Idempotency-Key\": \"idem_20260417_0001\"\n    },\n    json={\n        \"externalId\": \"account_external_123\",\n        \"code\": \"4000\",\n        \"name\": \"Sales Revenue\",\n        \"accountType\": \"income\",\n        \"balance\": 120034.11,\n        \"currency\": \"USD\",\n        \"isActive\": true\n    },\n)\naccount.raise_for_status()\naccount = account.json()\nprint(account)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/accounts\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .header(\"Idempotency-Key\", \"idem_20260417_0001\")\n    .header(\"Content-Type\", \"application/json\")\n    .POST(HttpRequest.BodyPublishers.ofString(\"{\\n  \\\"externalId\\\": \\\"account_external_123\\\",\\n  \\\"code\\\": \\\"4000\\\",\\n  \\\"name\\\": \\\"Sales Revenue\\\",\\n  \\\"accountType\\\": \\\"income\\\",\\n  \\\"balance\\\": 120034.11,\\n  \\\"currency\\\": \\\"USD\\\",\\n  \\\"isActive\\\": true\\n}\"));\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/accounts\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\" \\\n  --header \"Idempotency-Key: idem_20260417_0001\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n  \"externalId\": \"account_external_123\",\n  \"code\": \"4000\",\n  \"name\": \"Sales Revenue\",\n  \"accountType\": \"income\",\n  \"balance\": 120034.11,\n  \"currency\": \"USD\",\n  \"isActive\": true\n}'"}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique key for this create or update. Reuse the same key when retrying the same action so Sage does not do it twice.","schema":{"type":"string","minLength":1,"example":"idem_20260417_0001"}}]}},"/v1/sage-50/accounts/{id}":{"get":{"tags":["Accounts"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"src_123"},"required":true,"name":"id","in":"path"},{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}}],"responses":{"200":{"description":"One Sage 50 account.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_account"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"code":{"type":"string","nullable":true,"minLength":1},"name":{"type":"string","nullable":true,"minLength":1},"accountType":{"type":"string","nullable":true,"minLength":1},"balance":{"type":"number","nullable":true},"currency":{"type":"string","nullable":true,"minLength":1},"isActive":{"type":"boolean","nullable":true}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"accounts":{"summary":"Accounts","value":{"id":"account_123","objectType":"sage50_account","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"ACCOUNTS-123"},"code":"4000","name":"Sales Revenue","accountType":"income","balance":120034.11,"currency":"USD","isActive":true}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"notFound":{"summary":"Accounts not found","value":{"error":{"message":"The requested account could not be found in Sage.","userFacingMessage":"Choose an existing account and try again.","type":"not_found_error","code":"NOT_FOUND","httpStatusCode":404,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"getSage50Accounts","summary":"Get one Account","description":"Get one account in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when you already know the id for one account.\n- Use the list route first when you need discovery or pagination.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst account = await client.sage50.accounts.get({\n  connectionId: \"conn_123\",\n  id: \"account_123\"\n});\n\nconsole.log(account);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\naccount = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/accounts/account_123\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\naccount.raise_for_status()\naccount = account.json()\nprint(account)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/accounts/account_123\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/accounts/account_123\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}]},"post":{"tags":["Accounts"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"src_123"},"required":true,"name":"id","in":"path"},{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique key for this create or update. Reuse the same key when retrying the same action so Sage does not do it twice.","schema":{"type":"string","minLength":1,"example":"idem_20260417_0001"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"externalId":{"type":"string","nullable":true,"minLength":1},"revisionNumber":{"type":"string","nullable":true,"minLength":1},"code":{"type":"string","nullable":true,"minLength":1},"name":{"type":"string","nullable":true,"minLength":1},"accountType":{"type":"string","nullable":true,"minLength":1},"balance":{"type":"number","nullable":true},"currency":{"type":"string","nullable":true,"minLength":1},"isActive":{"type":"boolean","nullable":true}},"additionalProperties":{"nullable":true}},"examples":{"updateExample":{"summary":"Update Accounts","value":{"revisionNumber":"7","name":"Sales Revenue"}}}}},"required":true,"description":"The accounts changes you want saved in Sage. Example payload matches the generated SDK request model.\n\n### What to send\n- Send only the fields you want Sage to change.\n- Use the same field names shown in the examples and generated SDK models.\n\n### Concurrency\nSend the latest `revisionNumber` when Sage returns one so updates stay aligned with the current desktop record.\n\n### Retry behavior\nAlways send `Idempotency-Key` on create and update requests. Reuse the same key when retrying the same logical action."},"responses":{"200":{"description":"The accounts after Sage saved the update.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_account"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"code":{"type":"string","nullable":true,"minLength":1},"name":{"type":"string","nullable":true,"minLength":1},"accountType":{"type":"string","nullable":true,"minLength":1},"balance":{"type":"number","nullable":true},"currency":{"type":"string","nullable":true,"minLength":1},"isActive":{"type":"boolean","nullable":true}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"accounts":{"summary":"Accounts","value":{"id":"account_123","objectType":"sage50_account","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"ACCOUNTS-123"},"code":"4000","name":"Sales Revenue","accountType":"income","balance":120034.11,"currency":"USD","isActive":true}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"missingIdempotencyKey":{"summary":"Idempotency key required","value":{"error":{"message":"Missing required Idempotency-Key header","userFacingMessage":"Send an idempotency key and try again.","type":"validation_error","code":"IDEMPOTENCY_KEY_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"422":{"description":"Sage validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"sageValidationFailed":{"summary":"Sage rejected the request","value":{"error":{"message":"Sage rejected the account because one or more fields were invalid.","userFacingMessage":"Review the account details and try again.","type":"integration_validation_error","code":"SAGE_VALIDATION_FAILED","httpStatusCode":422,"requestId":"req_123","integrationCode":"VAL-1001","retryable":false,"correlationId":null,"details":{"fieldErrors":[{"field":"name","message":"Name is required."}]}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"updateSage50Accounts","summary":"Update Account","description":"Update account in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when your app needs to save changes to an existing account.\n- Send the latest `revisionNumber` when Sage provides one so updates stay concurrency-safe.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Retry behavior\n- Send `Idempotency-Key` on every create and update request.\n- Reuse the same idempotency key when retrying the same logical action so Sage does not apply it twice.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst account = await client.sage50.accounts.update({\n  connectionId: \"conn_123\",\n  id: \"account_123\",\n  idempotencyKey: \"idem_20260417_0001\",\n  revisionNumber: \"7\",\n  name: \"Sales Revenue\"\n});\n\nconsole.log(account);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\naccount = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/accounts/account_123\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\",\n        \"Idempotency-Key\": \"idem_20260417_0001\"\n    },\n    json={\n        \"revisionNumber\": \"7\",\n        \"name\": \"Sales Revenue\"\n    },\n)\naccount.raise_for_status()\naccount = account.json()\nprint(account)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/accounts/account_123\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .header(\"Idempotency-Key\", \"idem_20260417_0001\")\n    .header(\"Content-Type\", \"application/json\")\n    .POST(HttpRequest.BodyPublishers.ofString(\"{\\n  \\\"revisionNumber\\\": \\\"7\\\",\\n  \\\"name\\\": \\\"Sales Revenue\\\"\\n}\"));\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/accounts/account_123\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\" \\\n  --header \"Idempotency-Key: idem_20260417_0001\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n  \"revisionNumber\": \"7\",\n  \"name\": \"Sales Revenue\"\n}'"}]}},"/v1/sage-50/journal-entries":{"get":{"tags":["Journal Entries"],"responses":{"200":{"description":"A page of Sage 50 journal entries.","content":{"application/json":{"schema":{"type":"object","properties":{"objectType":{"type":"string","enum":["list"]},"url":{"type":"string","minLength":1},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_journal_entry"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"entryNumber":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"memo":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"debitAmount":{"type":"number","nullable":true},"creditAmount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}}},"nextCursor":{"type":"string","nullable":true},"hasMore":{"type":"boolean"},"remainingCount":{"type":"integer","minimum":0}},"required":["objectType","url","data","nextCursor","hasMore","remainingCount"]},"examples":{"list":{"summary":"Journal Entries page","value":{"objectType":"list","url":"/v1/sage-50/journal-entries","data":[{"id":"journalEntry_123","objectType":"sage50_journal_entry","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"JOURNALENTRIES-123"},"entryNumber":"JE-1001","transactionDate":"2026-04-17","memo":"Month-end accrual","lines":[{"accountId":"acct_4000","description":"Revenue recognition","debitAmount":0,"creditAmount":99.9}]}],"nextCursor":null,"hasMore":false,"remainingCount":0}},"emptyPage":{"summary":"No journal entries found","value":{"objectType":"list","url":"/v1/sage-50/journal-entries","data":[],"nextCursor":null,"hasMore":false,"remainingCount":0}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"listSage50JournalEntries","summary":"Get Journal Entries","description":"Gets journal entries from the selected Sage company through one country-neutral route.\n\n### When to use\n- Use this route when you need a page of journal entries for sync, browsing, or search flows.\n- Prefer `updatedSince` plus `cursor` for incremental sync and resumable imports.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Pagination\n- Use `limit` to control page size.\n- Use `cursor` to continue from the previous page.\n- Use `updatedSince` when the connected Sage company supports incremental filtering.\n\n### Response shape\nReturns the standard list wrapper with normalized Sage resource objects inside `data`.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst journalEntries = await client.sage50.journalEntries.list({\n  connectionId: \"conn_123\",\n  limit: 20\n});\n\nconsole.log(journalEntries.data);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\njournalEntries = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/journal-entries?limit=20\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\njournalEntries.raise_for_status()\njournalEntries = journalEntries.json()\nprint(journalEntries[\"data\"])"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/journal-entries?limit=20\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/journal-entries?limit=20\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"limit","in":"query","required":false,"description":"How many records to return at once.","schema":{"type":"integer","minimum":1,"maximum":150,"default":100,"example":100}},{"name":"cursor","in":"query","required":false,"description":"The next-page marker from a previous response.","schema":{"type":"string","minLength":1,"example":"cur_eyJvZmZzZXQiOjEwMH0"}},{"name":"updatedSince","in":"query","required":false,"description":"Only return records changed after this time, when the connected Sage company can support that filter.","schema":{"type":"string","format":"date-time","example":"2026-04-01T00:00:00.000Z"}}]},"post":{"tags":["Journal Entries"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"externalId":{"type":"string","nullable":true,"minLength":1},"revisionNumber":{"type":"string","nullable":true,"minLength":1},"entryNumber":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"memo":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"debitAmount":{"type":"number","nullable":true},"creditAmount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"additionalProperties":{"nullable":true}},"examples":{"createExample":{"summary":"Create Journal Entries","value":{"externalId":"journalEntry_external_123","entryNumber":"JE-1001","transactionDate":"2026-04-17","memo":"Month-end accrual","lines":[{"accountId":"acct_4000","description":"Revenue recognition","debitAmount":0,"creditAmount":99.9}]}}}}},"required":true,"description":"The journal entries record you want created in Sage. Example payload matches the generated SDK request model.\n\n### What to send\n- Send the normalized fields your app wants Sage to create.\n- Use the same field names shown in the examples and generated SDK models.\n\n### Retry behavior\nAlways send `Idempotency-Key` on create and update requests. Reuse the same key when retrying the same logical action."},"responses":{"200":{"description":"The journal entries Sage created.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_journal_entry"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"entryNumber":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"memo":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"debitAmount":{"type":"number","nullable":true},"creditAmount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"journalEntries":{"summary":"Journal Entries","value":{"id":"journalEntry_123","objectType":"sage50_journal_entry","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"JOURNALENTRIES-123"},"entryNumber":"JE-1001","transactionDate":"2026-04-17","memo":"Month-end accrual","lines":[{"accountId":"acct_4000","description":"Revenue recognition","debitAmount":0,"creditAmount":99.9}]}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"missingIdempotencyKey":{"summary":"Idempotency key required","value":{"error":{"message":"Missing required Idempotency-Key header","userFacingMessage":"Send an idempotency key and try again.","type":"validation_error","code":"IDEMPOTENCY_KEY_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"422":{"description":"Sage validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"sageValidationFailed":{"summary":"Sage rejected the request","value":{"error":{"message":"Sage rejected the journal entry because one or more fields were invalid.","userFacingMessage":"Review the journal entry details and try again.","type":"integration_validation_error","code":"SAGE_VALIDATION_FAILED","httpStatusCode":422,"requestId":"req_123","integrationCode":"VAL-1001","retryable":false,"correlationId":null,"details":{"fieldErrors":[{"field":"name","message":"Name is required."}]}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"createSage50JournalEntries","summary":"Create Journal Entry","description":"Create journal entry in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when your app is the source of truth for a new journal entry.\n- Send an idempotency key whenever a network retry might happen.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Retry behavior\n- Send `Idempotency-Key` on every create and update request.\n- Reuse the same idempotency key when retrying the same logical action so Sage does not apply it twice.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst journalEntry = await client.sage50.journalEntries.create({\n  connectionId: \"conn_123\",\n  idempotencyKey: \"idem_20260417_0001\",\n  externalId: \"journalEntry_external_123\",\n  entryNumber: \"JE-1001\",\n  transactionDate: \"2026-04-17\",\n  memo: \"Month-end accrual\",\n  lines: [\n    {\n      accountId: \"acct_4000\",\n      description: \"Revenue recognition\",\n      debitAmount: 0,\n      creditAmount: 99.9\n    }\n  ]\n});\n\nconsole.log(journalEntry);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\njournalEntry = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/journal-entries\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\",\n        \"Idempotency-Key\": \"idem_20260417_0001\"\n    },\n    json={\n        \"externalId\": \"journalEntry_external_123\",\n        \"entryNumber\": \"JE-1001\",\n        \"transactionDate\": \"2026-04-17\",\n        \"memo\": \"Month-end accrual\",\n        \"lines\": [\n            {\n                \"accountId\": \"acct_4000\",\n                \"description\": \"Revenue recognition\",\n                \"debitAmount\": 0,\n                \"creditAmount\": 99.9\n            }\n        ]\n    },\n)\njournalEntry.raise_for_status()\njournalEntry = journalEntry.json()\nprint(journalEntry)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/journal-entries\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .header(\"Idempotency-Key\", \"idem_20260417_0001\")\n    .header(\"Content-Type\", \"application/json\")\n    .POST(HttpRequest.BodyPublishers.ofString(\"{\\n  \\\"externalId\\\": \\\"journalEntry_external_123\\\",\\n  \\\"entryNumber\\\": \\\"JE-1001\\\",\\n  \\\"transactionDate\\\": \\\"2026-04-17\\\",\\n  \\\"memo\\\": \\\"Month-end accrual\\\",\\n  \\\"lines\\\": [\\n    {\\n      \\\"accountId\\\": \\\"acct_4000\\\",\\n      \\\"description\\\": \\\"Revenue recognition\\\",\\n      \\\"debitAmount\\\": 0,\\n      \\\"creditAmount\\\": 99.9\\n    }\\n  ]\\n}\"));\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/journal-entries\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\" \\\n  --header \"Idempotency-Key: idem_20260417_0001\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n  \"externalId\": \"journalEntry_external_123\",\n  \"entryNumber\": \"JE-1001\",\n  \"transactionDate\": \"2026-04-17\",\n  \"memo\": \"Month-end accrual\",\n  \"lines\": [\n    {\n      \"accountId\": \"acct_4000\",\n      \"description\": \"Revenue recognition\",\n      \"debitAmount\": 0,\n      \"creditAmount\": 99.9\n    }\n  ]\n}'"}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique key for this create or update. Reuse the same key when retrying the same action so Sage does not do it twice.","schema":{"type":"string","minLength":1,"example":"idem_20260417_0001"}}]}},"/v1/sage-50/journal-entries/{id}":{"get":{"tags":["Journal Entries"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"src_123"},"required":true,"name":"id","in":"path"},{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}}],"responses":{"200":{"description":"One Sage 50 journal entry.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_journal_entry"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"entryNumber":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"memo":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"debitAmount":{"type":"number","nullable":true},"creditAmount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"journalEntries":{"summary":"Journal Entries","value":{"id":"journalEntry_123","objectType":"sage50_journal_entry","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"JOURNALENTRIES-123"},"entryNumber":"JE-1001","transactionDate":"2026-04-17","memo":"Month-end accrual","lines":[{"accountId":"acct_4000","description":"Revenue recognition","debitAmount":0,"creditAmount":99.9}]}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"notFound":{"summary":"Journal Entries not found","value":{"error":{"message":"The requested journal entry could not be found in Sage.","userFacingMessage":"Choose an existing journal entry and try again.","type":"not_found_error","code":"NOT_FOUND","httpStatusCode":404,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"getSage50JournalEntries","summary":"Get one Journal Entry","description":"Get one journal entry in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when you already know the id for one journal entry.\n- Use the list route first when you need discovery or pagination.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst journalEntry = await client.sage50.journalEntries.get({\n  connectionId: \"conn_123\",\n  id: \"journalEntry_123\"\n});\n\nconsole.log(journalEntry);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\njournalEntry = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/journal-entries/journalEntry_123\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\njournalEntry.raise_for_status()\njournalEntry = journalEntry.json()\nprint(journalEntry)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/journal-entries/journalEntry_123\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/journal-entries/journalEntry_123\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}]},"post":{"tags":["Journal Entries"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"src_123"},"required":true,"name":"id","in":"path"},{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique key for this create or update. Reuse the same key when retrying the same action so Sage does not do it twice.","schema":{"type":"string","minLength":1,"example":"idem_20260417_0001"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"externalId":{"type":"string","nullable":true,"minLength":1},"revisionNumber":{"type":"string","nullable":true,"minLength":1},"entryNumber":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"memo":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"debitAmount":{"type":"number","nullable":true},"creditAmount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"additionalProperties":{"nullable":true}},"examples":{"updateExample":{"summary":"Update Journal Entries","value":{"revisionNumber":"7","transactionDate":"2026-04-17","lines":[{"accountId":"acct_4000","description":"Revenue recognition","debitAmount":0,"creditAmount":99.9}]}}}}},"required":true,"description":"The journal entries changes you want saved in Sage. Example payload matches the generated SDK request model.\n\n### What to send\n- Send only the fields you want Sage to change.\n- Use the same field names shown in the examples and generated SDK models.\n\n### Concurrency\nSend the latest `revisionNumber` when Sage returns one so updates stay aligned with the current desktop record.\n\n### Retry behavior\nAlways send `Idempotency-Key` on create and update requests. Reuse the same key when retrying the same logical action."},"responses":{"200":{"description":"The journal entries after Sage saved the update.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_journal_entry"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"entryNumber":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"memo":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"accountId":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1},"debitAmount":{"type":"number","nullable":true},"creditAmount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"journalEntries":{"summary":"Journal Entries","value":{"id":"journalEntry_123","objectType":"sage50_journal_entry","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"JOURNALENTRIES-123"},"entryNumber":"JE-1001","transactionDate":"2026-04-17","memo":"Month-end accrual","lines":[{"accountId":"acct_4000","description":"Revenue recognition","debitAmount":0,"creditAmount":99.9}]}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"missingIdempotencyKey":{"summary":"Idempotency key required","value":{"error":{"message":"Missing required Idempotency-Key header","userFacingMessage":"Send an idempotency key and try again.","type":"validation_error","code":"IDEMPOTENCY_KEY_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"422":{"description":"Sage validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"sageValidationFailed":{"summary":"Sage rejected the request","value":{"error":{"message":"Sage rejected the journal entry because one or more fields were invalid.","userFacingMessage":"Review the journal entry details and try again.","type":"integration_validation_error","code":"SAGE_VALIDATION_FAILED","httpStatusCode":422,"requestId":"req_123","integrationCode":"VAL-1001","retryable":false,"correlationId":null,"details":{"fieldErrors":[{"field":"name","message":"Name is required."}]}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"updateSage50JournalEntries","summary":"Update Journal Entry","description":"Update journal entry in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when your app needs to save changes to an existing journal entry.\n- Send the latest `revisionNumber` when Sage provides one so updates stay concurrency-safe.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Retry behavior\n- Send `Idempotency-Key` on every create and update request.\n- Reuse the same idempotency key when retrying the same logical action so Sage does not apply it twice.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst journalEntry = await client.sage50.journalEntries.update({\n  connectionId: \"conn_123\",\n  id: \"journalEntry_123\",\n  idempotencyKey: \"idem_20260417_0001\",\n  revisionNumber: \"7\",\n  transactionDate: \"2026-04-17\",\n  lines: [\n    {\n      accountId: \"acct_4000\",\n      description: \"Revenue recognition\",\n      debitAmount: 0,\n      creditAmount: 99.9\n    }\n  ]\n});\n\nconsole.log(journalEntry);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\njournalEntry = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/journal-entries/journalEntry_123\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\",\n        \"Idempotency-Key\": \"idem_20260417_0001\"\n    },\n    json={\n        \"revisionNumber\": \"7\",\n        \"transactionDate\": \"2026-04-17\",\n        \"lines\": [\n            {\n                \"accountId\": \"acct_4000\",\n                \"description\": \"Revenue recognition\",\n                \"debitAmount\": 0,\n                \"creditAmount\": 99.9\n            }\n        ]\n    },\n)\njournalEntry.raise_for_status()\njournalEntry = journalEntry.json()\nprint(journalEntry)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/journal-entries/journalEntry_123\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .header(\"Idempotency-Key\", \"idem_20260417_0001\")\n    .header(\"Content-Type\", \"application/json\")\n    .POST(HttpRequest.BodyPublishers.ofString(\"{\\n  \\\"revisionNumber\\\": \\\"7\\\",\\n  \\\"transactionDate\\\": \\\"2026-04-17\\\",\\n  \\\"lines\\\": [\\n    {\\n      \\\"accountId\\\": \\\"acct_4000\\\",\\n      \\\"description\\\": \\\"Revenue recognition\\\",\\n      \\\"debitAmount\\\": 0,\\n      \\\"creditAmount\\\": 99.9\\n    }\\n  ]\\n}\"));\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/journal-entries/journalEntry_123\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\" \\\n  --header \"Idempotency-Key: idem_20260417_0001\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n  \"revisionNumber\": \"7\",\n  \"transactionDate\": \"2026-04-17\",\n  \"lines\": [\n    {\n      \"accountId\": \"acct_4000\",\n      \"description\": \"Revenue recognition\",\n      \"debitAmount\": 0,\n      \"creditAmount\": 99.9\n    }\n  ]\n}'"}]}},"/v1/sage-50/departments":{"get":{"tags":["Departments"],"responses":{"200":{"description":"A page of Sage 50 departments.","content":{"application/json":{"schema":{"type":"object","properties":{"objectType":{"type":"string","enum":["list"]},"url":{"type":"string","minLength":1},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_department"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"code":{"type":"string","nullable":true,"minLength":1},"name":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}}},"nextCursor":{"type":"string","nullable":true},"hasMore":{"type":"boolean"},"remainingCount":{"type":"integer","minimum":0}},"required":["objectType","url","data","nextCursor","hasMore","remainingCount"]},"examples":{"list":{"summary":"Departments page","value":{"objectType":"list","url":"/v1/sage-50/departments","data":[{"id":"department_123","objectType":"sage50_department","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"DEPARTMENTS-123"},"code":"OPS","name":"Operations","description":"Operations department"}],"nextCursor":null,"hasMore":false,"remainingCount":0}},"emptyPage":{"summary":"No departments found","value":{"objectType":"list","url":"/v1/sage-50/departments","data":[],"nextCursor":null,"hasMore":false,"remainingCount":0}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"listSage50Departments","summary":"Get Departments","description":"Gets departments from the selected Sage company through one country-neutral route.\n\n### When to use\n- Use this route when you need a page of departments for sync, browsing, or search flows.\n- Prefer `updatedSince` plus `cursor` for incremental sync and resumable imports.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Pagination\n- Use `limit` to control page size.\n- Use `cursor` to continue from the previous page.\n- Use `updatedSince` when the connected Sage company supports incremental filtering.\n\n### Response shape\nReturns the standard list wrapper with normalized Sage resource objects inside `data`.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst departments = await client.sage50.departments.list({\n  connectionId: \"conn_123\",\n  limit: 20\n});\n\nconsole.log(departments.data);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\ndepartments = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/departments?limit=20\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\ndepartments.raise_for_status()\ndepartments = departments.json()\nprint(departments[\"data\"])"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/departments?limit=20\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/departments?limit=20\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"limit","in":"query","required":false,"description":"How many records to return at once.","schema":{"type":"integer","minimum":1,"maximum":150,"default":100,"example":100}},{"name":"cursor","in":"query","required":false,"description":"The next-page marker from a previous response.","schema":{"type":"string","minLength":1,"example":"cur_eyJvZmZzZXQiOjEwMH0"}},{"name":"updatedSince","in":"query","required":false,"description":"Only return records changed after this time, when the connected Sage company can support that filter.","schema":{"type":"string","format":"date-time","example":"2026-04-01T00:00:00.000Z"}}]},"post":{"tags":["Departments"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"externalId":{"type":"string","nullable":true,"minLength":1},"revisionNumber":{"type":"string","nullable":true,"minLength":1},"code":{"type":"string","nullable":true,"minLength":1},"name":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1}},"additionalProperties":{"nullable":true}},"examples":{"createExample":{"summary":"Create Departments","value":{"externalId":"department_external_123","code":"OPS","name":"Operations","description":"Operations department"}}}}},"required":true,"description":"The departments record you want created in Sage. Example payload matches the generated SDK request model.\n\n### What to send\n- Send the normalized fields your app wants Sage to create.\n- Use the same field names shown in the examples and generated SDK models.\n\n### Retry behavior\nAlways send `Idempotency-Key` on create and update requests. Reuse the same key when retrying the same logical action."},"responses":{"200":{"description":"The departments Sage created.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_department"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"code":{"type":"string","nullable":true,"minLength":1},"name":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"departments":{"summary":"Departments","value":{"id":"department_123","objectType":"sage50_department","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"DEPARTMENTS-123"},"code":"OPS","name":"Operations","description":"Operations department"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"missingIdempotencyKey":{"summary":"Idempotency key required","value":{"error":{"message":"Missing required Idempotency-Key header","userFacingMessage":"Send an idempotency key and try again.","type":"validation_error","code":"IDEMPOTENCY_KEY_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"422":{"description":"Sage validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"sageValidationFailed":{"summary":"Sage rejected the request","value":{"error":{"message":"Sage rejected the department because one or more fields were invalid.","userFacingMessage":"Review the department details and try again.","type":"integration_validation_error","code":"SAGE_VALIDATION_FAILED","httpStatusCode":422,"requestId":"req_123","integrationCode":"VAL-1001","retryable":false,"correlationId":null,"details":{"fieldErrors":[{"field":"name","message":"Name is required."}]}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"createSage50Departments","summary":"Create Department","description":"Create department in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when your app is the source of truth for a new department.\n- Send an idempotency key whenever a network retry might happen.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Retry behavior\n- Send `Idempotency-Key` on every create and update request.\n- Reuse the same idempotency key when retrying the same logical action so Sage does not apply it twice.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst department = await client.sage50.departments.create({\n  connectionId: \"conn_123\",\n  idempotencyKey: \"idem_20260417_0001\",\n  externalId: \"department_external_123\",\n  code: \"OPS\",\n  name: \"Operations\",\n  description: \"Operations department\"\n});\n\nconsole.log(department);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\ndepartment = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/departments\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\",\n        \"Idempotency-Key\": \"idem_20260417_0001\"\n    },\n    json={\n        \"externalId\": \"department_external_123\",\n        \"code\": \"OPS\",\n        \"name\": \"Operations\",\n        \"description\": \"Operations department\"\n    },\n)\ndepartment.raise_for_status()\ndepartment = department.json()\nprint(department)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/departments\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .header(\"Idempotency-Key\", \"idem_20260417_0001\")\n    .header(\"Content-Type\", \"application/json\")\n    .POST(HttpRequest.BodyPublishers.ofString(\"{\\n  \\\"externalId\\\": \\\"department_external_123\\\",\\n  \\\"code\\\": \\\"OPS\\\",\\n  \\\"name\\\": \\\"Operations\\\",\\n  \\\"description\\\": \\\"Operations department\\\"\\n}\"));\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/departments\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\" \\\n  --header \"Idempotency-Key: idem_20260417_0001\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n  \"externalId\": \"department_external_123\",\n  \"code\": \"OPS\",\n  \"name\": \"Operations\",\n  \"description\": \"Operations department\"\n}'"}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique key for this create or update. Reuse the same key when retrying the same action so Sage does not do it twice.","schema":{"type":"string","minLength":1,"example":"idem_20260417_0001"}}]}},"/v1/sage-50/departments/{id}":{"get":{"tags":["Departments"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"src_123"},"required":true,"name":"id","in":"path"},{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}}],"responses":{"200":{"description":"One Sage 50 department.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_department"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"code":{"type":"string","nullable":true,"minLength":1},"name":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"departments":{"summary":"Departments","value":{"id":"department_123","objectType":"sage50_department","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"DEPARTMENTS-123"},"code":"OPS","name":"Operations","description":"Operations department"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"notFound":{"summary":"Departments not found","value":{"error":{"message":"The requested department could not be found in Sage.","userFacingMessage":"Choose an existing department and try again.","type":"not_found_error","code":"NOT_FOUND","httpStatusCode":404,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"getSage50Departments","summary":"Get one Department","description":"Get one department in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when you already know the id for one department.\n- Use the list route first when you need discovery or pagination.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst department = await client.sage50.departments.get({\n  connectionId: \"conn_123\",\n  id: \"department_123\"\n});\n\nconsole.log(department);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\ndepartment = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/departments/department_123\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\ndepartment.raise_for_status()\ndepartment = department.json()\nprint(department)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/departments/department_123\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/departments/department_123\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}]},"post":{"tags":["Departments"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"src_123"},"required":true,"name":"id","in":"path"},{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique key for this create or update. Reuse the same key when retrying the same action so Sage does not do it twice.","schema":{"type":"string","minLength":1,"example":"idem_20260417_0001"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"externalId":{"type":"string","nullable":true,"minLength":1},"revisionNumber":{"type":"string","nullable":true,"minLength":1},"code":{"type":"string","nullable":true,"minLength":1},"name":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1}},"additionalProperties":{"nullable":true}},"examples":{"updateExample":{"summary":"Update Departments","value":{"revisionNumber":"7","name":"Operations","description":"Operations department"}}}}},"required":true,"description":"The departments changes you want saved in Sage. Example payload matches the generated SDK request model.\n\n### What to send\n- Send only the fields you want Sage to change.\n- Use the same field names shown in the examples and generated SDK models.\n\n### Concurrency\nSend the latest `revisionNumber` when Sage returns one so updates stay aligned with the current desktop record.\n\n### Retry behavior\nAlways send `Idempotency-Key` on create and update requests. Reuse the same key when retrying the same logical action."},"responses":{"200":{"description":"The departments after Sage saved the update.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_department"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"code":{"type":"string","nullable":true,"minLength":1},"name":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"departments":{"summary":"Departments","value":{"id":"department_123","objectType":"sage50_department","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"DEPARTMENTS-123"},"code":"OPS","name":"Operations","description":"Operations department"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"missingIdempotencyKey":{"summary":"Idempotency key required","value":{"error":{"message":"Missing required Idempotency-Key header","userFacingMessage":"Send an idempotency key and try again.","type":"validation_error","code":"IDEMPOTENCY_KEY_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"422":{"description":"Sage validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"sageValidationFailed":{"summary":"Sage rejected the request","value":{"error":{"message":"Sage rejected the department because one or more fields were invalid.","userFacingMessage":"Review the department details and try again.","type":"integration_validation_error","code":"SAGE_VALIDATION_FAILED","httpStatusCode":422,"requestId":"req_123","integrationCode":"VAL-1001","retryable":false,"correlationId":null,"details":{"fieldErrors":[{"field":"name","message":"Name is required."}]}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"updateSage50Departments","summary":"Update Department","description":"Update department in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when your app needs to save changes to an existing department.\n- Send the latest `revisionNumber` when Sage provides one so updates stay concurrency-safe.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Retry behavior\n- Send `Idempotency-Key` on every create and update request.\n- Reuse the same idempotency key when retrying the same logical action so Sage does not apply it twice.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst department = await client.sage50.departments.update({\n  connectionId: \"conn_123\",\n  id: \"department_123\",\n  idempotencyKey: \"idem_20260417_0001\",\n  revisionNumber: \"7\",\n  name: \"Operations\",\n  description: \"Operations department\"\n});\n\nconsole.log(department);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\ndepartment = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/departments/department_123\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\",\n        \"Idempotency-Key\": \"idem_20260417_0001\"\n    },\n    json={\n        \"revisionNumber\": \"7\",\n        \"name\": \"Operations\",\n        \"description\": \"Operations department\"\n    },\n)\ndepartment.raise_for_status()\ndepartment = department.json()\nprint(department)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/departments/department_123\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .header(\"Idempotency-Key\", \"idem_20260417_0001\")\n    .header(\"Content-Type\", \"application/json\")\n    .POST(HttpRequest.BodyPublishers.ofString(\"{\\n  \\\"revisionNumber\\\": \\\"7\\\",\\n  \\\"name\\\": \\\"Operations\\\",\\n  \\\"description\\\": \\\"Operations department\\\"\\n}\"));\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/departments/department_123\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\" \\\n  --header \"Idempotency-Key: idem_20260417_0001\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n  \"revisionNumber\": \"7\",\n  \"name\": \"Operations\",\n  \"description\": \"Operations department\"\n}'"}]}},"/v1/sage-50/tax-codes":{"get":{"tags":["Tax Codes"],"responses":{"200":{"description":"A page of Sage 50 tax codes.","content":{"application/json":{"schema":{"type":"object","properties":{"objectType":{"type":"string","enum":["list"]},"url":{"type":"string","minLength":1},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_tax_code"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"code":{"type":"string","nullable":true,"minLength":1},"name":{"type":"string","nullable":true,"minLength":1},"rate":{"type":"number","nullable":true},"description":{"type":"string","nullable":true,"minLength":1}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}}},"nextCursor":{"type":"string","nullable":true},"hasMore":{"type":"boolean"},"remainingCount":{"type":"integer","minimum":0}},"required":["objectType","url","data","nextCursor","hasMore","remainingCount"]},"examples":{"list":{"summary":"Tax Codes page","value":{"objectType":"list","url":"/v1/sage-50/tax-codes","data":[{"id":"taxCode_123","objectType":"sage50_tax_code","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"TAXCODES-123"},"code":"TAX","name":"Standard Tax","rate":7.25,"description":"Default sales tax"}],"nextCursor":null,"hasMore":false,"remainingCount":0}},"emptyPage":{"summary":"No tax codes found","value":{"objectType":"list","url":"/v1/sage-50/tax-codes","data":[],"nextCursor":null,"hasMore":false,"remainingCount":0}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"listSage50TaxCodes","summary":"Get Tax Codes","description":"Gets tax codes from the selected Sage company through one country-neutral route.\n\n### When to use\n- Use this route when you need a page of tax codes for sync, browsing, or search flows.\n- Prefer `updatedSince` plus `cursor` for incremental sync and resumable imports.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Pagination\n- Use `limit` to control page size.\n- Use `cursor` to continue from the previous page.\n- Use `updatedSince` when the connected Sage company supports incremental filtering.\n\n### Response shape\nReturns the standard list wrapper with normalized Sage resource objects inside `data`.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst taxCodes = await client.sage50.taxCodes.list({\n  connectionId: \"conn_123\",\n  limit: 20\n});\n\nconsole.log(taxCodes.data);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\ntaxCodes = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/tax-codes?limit=20\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\ntaxCodes.raise_for_status()\ntaxCodes = taxCodes.json()\nprint(taxCodes[\"data\"])"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/tax-codes?limit=20\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/tax-codes?limit=20\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"limit","in":"query","required":false,"description":"How many records to return at once.","schema":{"type":"integer","minimum":1,"maximum":150,"default":100,"example":100}},{"name":"cursor","in":"query","required":false,"description":"The next-page marker from a previous response.","schema":{"type":"string","minLength":1,"example":"cur_eyJvZmZzZXQiOjEwMH0"}},{"name":"updatedSince","in":"query","required":false,"description":"Only return records changed after this time, when the connected Sage company can support that filter.","schema":{"type":"string","format":"date-time","example":"2026-04-01T00:00:00.000Z"}}]},"post":{"tags":["Tax Codes"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"externalId":{"type":"string","nullable":true,"minLength":1},"revisionNumber":{"type":"string","nullable":true,"minLength":1},"code":{"type":"string","nullable":true,"minLength":1},"name":{"type":"string","nullable":true,"minLength":1},"rate":{"type":"number","nullable":true},"description":{"type":"string","nullable":true,"minLength":1}},"additionalProperties":{"nullable":true}},"examples":{"createExample":{"summary":"Create Tax Codes","value":{"externalId":"taxCode_external_123","code":"TAX","name":"Standard Tax","rate":7.25,"description":"Default sales tax"}}}}},"required":true,"description":"The tax codes record you want created in Sage. Example payload matches the generated SDK request model.\n\n### What to send\n- Send the normalized fields your app wants Sage to create.\n- Use the same field names shown in the examples and generated SDK models.\n\n### Retry behavior\nAlways send `Idempotency-Key` on create and update requests. Reuse the same key when retrying the same logical action."},"responses":{"200":{"description":"The tax codes Sage created.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_tax_code"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"code":{"type":"string","nullable":true,"minLength":1},"name":{"type":"string","nullable":true,"minLength":1},"rate":{"type":"number","nullable":true},"description":{"type":"string","nullable":true,"minLength":1}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"taxCodes":{"summary":"Tax Codes","value":{"id":"taxCode_123","objectType":"sage50_tax_code","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"TAXCODES-123"},"code":"TAX","name":"Standard Tax","rate":7.25,"description":"Default sales tax"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"missingIdempotencyKey":{"summary":"Idempotency key required","value":{"error":{"message":"Missing required Idempotency-Key header","userFacingMessage":"Send an idempotency key and try again.","type":"validation_error","code":"IDEMPOTENCY_KEY_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"422":{"description":"Sage validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"sageValidationFailed":{"summary":"Sage rejected the request","value":{"error":{"message":"Sage rejected the tax code because one or more fields were invalid.","userFacingMessage":"Review the tax code details and try again.","type":"integration_validation_error","code":"SAGE_VALIDATION_FAILED","httpStatusCode":422,"requestId":"req_123","integrationCode":"VAL-1001","retryable":false,"correlationId":null,"details":{"fieldErrors":[{"field":"name","message":"Name is required."}]}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"createSage50TaxCodes","summary":"Create Tax Code","description":"Create tax code in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when your app is the source of truth for a new tax code.\n- Send an idempotency key whenever a network retry might happen.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Retry behavior\n- Send `Idempotency-Key` on every create and update request.\n- Reuse the same idempotency key when retrying the same logical action so Sage does not apply it twice.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst taxCode = await client.sage50.taxCodes.create({\n  connectionId: \"conn_123\",\n  idempotencyKey: \"idem_20260417_0001\",\n  externalId: \"taxCode_external_123\",\n  code: \"TAX\",\n  name: \"Standard Tax\",\n  rate: 7.25,\n  description: \"Default sales tax\"\n});\n\nconsole.log(taxCode);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\ntaxCode = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/tax-codes\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\",\n        \"Idempotency-Key\": \"idem_20260417_0001\"\n    },\n    json={\n        \"externalId\": \"taxCode_external_123\",\n        \"code\": \"TAX\",\n        \"name\": \"Standard Tax\",\n        \"rate\": 7.25,\n        \"description\": \"Default sales tax\"\n    },\n)\ntaxCode.raise_for_status()\ntaxCode = taxCode.json()\nprint(taxCode)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/tax-codes\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .header(\"Idempotency-Key\", \"idem_20260417_0001\")\n    .header(\"Content-Type\", \"application/json\")\n    .POST(HttpRequest.BodyPublishers.ofString(\"{\\n  \\\"externalId\\\": \\\"taxCode_external_123\\\",\\n  \\\"code\\\": \\\"TAX\\\",\\n  \\\"name\\\": \\\"Standard Tax\\\",\\n  \\\"rate\\\": 7.25,\\n  \\\"description\\\": \\\"Default sales tax\\\"\\n}\"));\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/tax-codes\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\" \\\n  --header \"Idempotency-Key: idem_20260417_0001\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n  \"externalId\": \"taxCode_external_123\",\n  \"code\": \"TAX\",\n  \"name\": \"Standard Tax\",\n  \"rate\": 7.25,\n  \"description\": \"Default sales tax\"\n}'"}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique key for this create or update. Reuse the same key when retrying the same action so Sage does not do it twice.","schema":{"type":"string","minLength":1,"example":"idem_20260417_0001"}}]}},"/v1/sage-50/tax-codes/{id}":{"get":{"tags":["Tax Codes"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"src_123"},"required":true,"name":"id","in":"path"},{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}}],"responses":{"200":{"description":"One Sage 50 tax code.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_tax_code"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"code":{"type":"string","nullable":true,"minLength":1},"name":{"type":"string","nullable":true,"minLength":1},"rate":{"type":"number","nullable":true},"description":{"type":"string","nullable":true,"minLength":1}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"taxCodes":{"summary":"Tax Codes","value":{"id":"taxCode_123","objectType":"sage50_tax_code","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"TAXCODES-123"},"code":"TAX","name":"Standard Tax","rate":7.25,"description":"Default sales tax"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"notFound":{"summary":"Tax Codes not found","value":{"error":{"message":"The requested tax code could not be found in Sage.","userFacingMessage":"Choose an existing tax code and try again.","type":"not_found_error","code":"NOT_FOUND","httpStatusCode":404,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"getSage50TaxCodes","summary":"Get one Tax Code","description":"Get one tax code in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when you already know the id for one tax code.\n- Use the list route first when you need discovery or pagination.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst taxCode = await client.sage50.taxCodes.get({\n  connectionId: \"conn_123\",\n  id: \"taxCode_123\"\n});\n\nconsole.log(taxCode);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\ntaxCode = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/tax-codes/taxCode_123\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\ntaxCode.raise_for_status()\ntaxCode = taxCode.json()\nprint(taxCode)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/tax-codes/taxCode_123\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/tax-codes/taxCode_123\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}]},"post":{"tags":["Tax Codes"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"src_123"},"required":true,"name":"id","in":"path"},{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique key for this create or update. Reuse the same key when retrying the same action so Sage does not do it twice.","schema":{"type":"string","minLength":1,"example":"idem_20260417_0001"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"externalId":{"type":"string","nullable":true,"minLength":1},"revisionNumber":{"type":"string","nullable":true,"minLength":1},"code":{"type":"string","nullable":true,"minLength":1},"name":{"type":"string","nullable":true,"minLength":1},"rate":{"type":"number","nullable":true},"description":{"type":"string","nullable":true,"minLength":1}},"additionalProperties":{"nullable":true}},"examples":{"updateExample":{"summary":"Update Tax Codes","value":{"revisionNumber":"7","name":"Standard Tax","description":"Default sales tax"}}}}},"required":true,"description":"The tax codes changes you want saved in Sage. Example payload matches the generated SDK request model.\n\n### What to send\n- Send only the fields you want Sage to change.\n- Use the same field names shown in the examples and generated SDK models.\n\n### Concurrency\nSend the latest `revisionNumber` when Sage returns one so updates stay aligned with the current desktop record.\n\n### Retry behavior\nAlways send `Idempotency-Key` on create and update requests. Reuse the same key when retrying the same logical action."},"responses":{"200":{"description":"The tax codes after Sage saved the update.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_tax_code"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"code":{"type":"string","nullable":true,"minLength":1},"name":{"type":"string","nullable":true,"minLength":1},"rate":{"type":"number","nullable":true},"description":{"type":"string","nullable":true,"minLength":1}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"taxCodes":{"summary":"Tax Codes","value":{"id":"taxCode_123","objectType":"sage50_tax_code","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"TAXCODES-123"},"code":"TAX","name":"Standard Tax","rate":7.25,"description":"Default sales tax"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"missingIdempotencyKey":{"summary":"Idempotency key required","value":{"error":{"message":"Missing required Idempotency-Key header","userFacingMessage":"Send an idempotency key and try again.","type":"validation_error","code":"IDEMPOTENCY_KEY_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"422":{"description":"Sage validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"sageValidationFailed":{"summary":"Sage rejected the request","value":{"error":{"message":"Sage rejected the tax code because one or more fields were invalid.","userFacingMessage":"Review the tax code details and try again.","type":"integration_validation_error","code":"SAGE_VALIDATION_FAILED","httpStatusCode":422,"requestId":"req_123","integrationCode":"VAL-1001","retryable":false,"correlationId":null,"details":{"fieldErrors":[{"field":"name","message":"Name is required."}]}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"updateSage50TaxCodes","summary":"Update Tax Code","description":"Update tax code in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when your app needs to save changes to an existing tax code.\n- Send the latest `revisionNumber` when Sage provides one so updates stay concurrency-safe.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Retry behavior\n- Send `Idempotency-Key` on every create and update request.\n- Reuse the same idempotency key when retrying the same logical action so Sage does not apply it twice.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst taxCode = await client.sage50.taxCodes.update({\n  connectionId: \"conn_123\",\n  id: \"taxCode_123\",\n  idempotencyKey: \"idem_20260417_0001\",\n  revisionNumber: \"7\",\n  name: \"Standard Tax\",\n  description: \"Default sales tax\"\n});\n\nconsole.log(taxCode);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\ntaxCode = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/tax-codes/taxCode_123\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\",\n        \"Idempotency-Key\": \"idem_20260417_0001\"\n    },\n    json={\n        \"revisionNumber\": \"7\",\n        \"name\": \"Standard Tax\",\n        \"description\": \"Default sales tax\"\n    },\n)\ntaxCode.raise_for_status()\ntaxCode = taxCode.json()\nprint(taxCode)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/tax-codes/taxCode_123\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .header(\"Idempotency-Key\", \"idem_20260417_0001\")\n    .header(\"Content-Type\", \"application/json\")\n    .POST(HttpRequest.BodyPublishers.ofString(\"{\\n  \\\"revisionNumber\\\": \\\"7\\\",\\n  \\\"name\\\": \\\"Standard Tax\\\",\\n  \\\"description\\\": \\\"Default sales tax\\\"\\n}\"));\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/tax-codes/taxCode_123\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\" \\\n  --header \"Idempotency-Key: idem_20260417_0001\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n  \"revisionNumber\": \"7\",\n  \"name\": \"Standard Tax\",\n  \"description\": \"Default sales tax\"\n}'"}]}},"/v1/sage-50/tax-agencies":{"get":{"tags":["Tax Agencies"],"responses":{"200":{"description":"A page of Sage 50 tax agencies.","content":{"application/json":{"schema":{"type":"object","properties":{"objectType":{"type":"string","enum":["list"]},"url":{"type":"string","minLength":1},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_tax_agency"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"code":{"type":"string","nullable":true,"minLength":1},"name":{"type":"string","nullable":true,"minLength":1},"rate":{"type":"number","nullable":true},"authority":{"type":"string","nullable":true,"minLength":1}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}}},"nextCursor":{"type":"string","nullable":true},"hasMore":{"type":"boolean"},"remainingCount":{"type":"integer","minimum":0}},"required":["objectType","url","data","nextCursor","hasMore","remainingCount"]},"examples":{"list":{"summary":"Tax Agencies page","value":{"objectType":"list","url":"/v1/sage-50/tax-agencies","data":[{"id":"taxAgency_123","objectType":"sage50_tax_agency","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"TAXAGENCIES-123"},"code":"STATE","name":"State Revenue Department","rate":7.25,"authority":"State Revenue Department"}],"nextCursor":null,"hasMore":false,"remainingCount":0}},"emptyPage":{"summary":"No tax agencies found","value":{"objectType":"list","url":"/v1/sage-50/tax-agencies","data":[],"nextCursor":null,"hasMore":false,"remainingCount":0}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"listSage50TaxAgencies","summary":"Get Tax Agencies","description":"Gets tax agencies from the selected Sage company through one country-neutral route.\n\n### When to use\n- Use this route when you need a page of tax agencies for sync, browsing, or search flows.\n- Prefer `updatedSince` plus `cursor` for incremental sync and resumable imports.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Pagination\n- Use `limit` to control page size.\n- Use `cursor` to continue from the previous page.\n- Use `updatedSince` when the connected Sage company supports incremental filtering.\n\n### Response shape\nReturns the standard list wrapper with normalized Sage resource objects inside `data`.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst taxAgencies = await client.sage50.taxAgencies.list({\n  connectionId: \"conn_123\",\n  limit: 20\n});\n\nconsole.log(taxAgencies.data);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\ntaxAgencies = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/tax-agencies?limit=20\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\ntaxAgencies.raise_for_status()\ntaxAgencies = taxAgencies.json()\nprint(taxAgencies[\"data\"])"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/tax-agencies?limit=20\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/tax-agencies?limit=20\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"limit","in":"query","required":false,"description":"How many records to return at once.","schema":{"type":"integer","minimum":1,"maximum":150,"default":100,"example":100}},{"name":"cursor","in":"query","required":false,"description":"The next-page marker from a previous response.","schema":{"type":"string","minLength":1,"example":"cur_eyJvZmZzZXQiOjEwMH0"}},{"name":"updatedSince","in":"query","required":false,"description":"Only return records changed after this time, when the connected Sage company can support that filter.","schema":{"type":"string","format":"date-time","example":"2026-04-01T00:00:00.000Z"}}]},"post":{"tags":["Tax Agencies"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"externalId":{"type":"string","nullable":true,"minLength":1},"revisionNumber":{"type":"string","nullable":true,"minLength":1},"code":{"type":"string","nullable":true,"minLength":1},"name":{"type":"string","nullable":true,"minLength":1},"rate":{"type":"number","nullable":true},"authority":{"type":"string","nullable":true,"minLength":1}},"additionalProperties":{"nullable":true}},"examples":{"createExample":{"summary":"Create Tax Agencies","value":{"externalId":"taxAgency_external_123","code":"STATE","name":"State Revenue Department","rate":7.25,"authority":"State Revenue Department"}}}}},"required":true,"description":"The tax agencies record you want created in Sage. Example payload matches the generated SDK request model.\n\n### What to send\n- Send the normalized fields your app wants Sage to create.\n- Use the same field names shown in the examples and generated SDK models.\n\n### Retry behavior\nAlways send `Idempotency-Key` on create and update requests. Reuse the same key when retrying the same logical action."},"responses":{"200":{"description":"The tax agencies Sage created.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_tax_agency"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"code":{"type":"string","nullable":true,"minLength":1},"name":{"type":"string","nullable":true,"minLength":1},"rate":{"type":"number","nullable":true},"authority":{"type":"string","nullable":true,"minLength":1}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"taxAgencies":{"summary":"Tax Agencies","value":{"id":"taxAgency_123","objectType":"sage50_tax_agency","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"TAXAGENCIES-123"},"code":"STATE","name":"State Revenue Department","rate":7.25,"authority":"State Revenue Department"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"missingIdempotencyKey":{"summary":"Idempotency key required","value":{"error":{"message":"Missing required Idempotency-Key header","userFacingMessage":"Send an idempotency key and try again.","type":"validation_error","code":"IDEMPOTENCY_KEY_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"422":{"description":"Sage validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"sageValidationFailed":{"summary":"Sage rejected the request","value":{"error":{"message":"Sage rejected the tax agency because one or more fields were invalid.","userFacingMessage":"Review the tax agency details and try again.","type":"integration_validation_error","code":"SAGE_VALIDATION_FAILED","httpStatusCode":422,"requestId":"req_123","integrationCode":"VAL-1001","retryable":false,"correlationId":null,"details":{"fieldErrors":[{"field":"name","message":"Name is required."}]}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"createSage50TaxAgencies","summary":"Create Tax Agency","description":"Create tax agency in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when your app is the source of truth for a new tax agency.\n- Send an idempotency key whenever a network retry might happen.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Retry behavior\n- Send `Idempotency-Key` on every create and update request.\n- Reuse the same idempotency key when retrying the same logical action so Sage does not apply it twice.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst taxAgency = await client.sage50.taxAgencies.create({\n  connectionId: \"conn_123\",\n  idempotencyKey: \"idem_20260417_0001\",\n  externalId: \"taxAgency_external_123\",\n  code: \"STATE\",\n  name: \"State Revenue Department\",\n  rate: 7.25,\n  authority: \"State Revenue Department\"\n});\n\nconsole.log(taxAgency);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\ntaxAgency = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/tax-agencies\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\",\n        \"Idempotency-Key\": \"idem_20260417_0001\"\n    },\n    json={\n        \"externalId\": \"taxAgency_external_123\",\n        \"code\": \"STATE\",\n        \"name\": \"State Revenue Department\",\n        \"rate\": 7.25,\n        \"authority\": \"State Revenue Department\"\n    },\n)\ntaxAgency.raise_for_status()\ntaxAgency = taxAgency.json()\nprint(taxAgency)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/tax-agencies\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .header(\"Idempotency-Key\", \"idem_20260417_0001\")\n    .header(\"Content-Type\", \"application/json\")\n    .POST(HttpRequest.BodyPublishers.ofString(\"{\\n  \\\"externalId\\\": \\\"taxAgency_external_123\\\",\\n  \\\"code\\\": \\\"STATE\\\",\\n  \\\"name\\\": \\\"State Revenue Department\\\",\\n  \\\"rate\\\": 7.25,\\n  \\\"authority\\\": \\\"State Revenue Department\\\"\\n}\"));\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/tax-agencies\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\" \\\n  --header \"Idempotency-Key: idem_20260417_0001\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n  \"externalId\": \"taxAgency_external_123\",\n  \"code\": \"STATE\",\n  \"name\": \"State Revenue Department\",\n  \"rate\": 7.25,\n  \"authority\": \"State Revenue Department\"\n}'"}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique key for this create or update. Reuse the same key when retrying the same action so Sage does not do it twice.","schema":{"type":"string","minLength":1,"example":"idem_20260417_0001"}}]}},"/v1/sage-50/tax-agencies/{id}":{"get":{"tags":["Tax Agencies"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"src_123"},"required":true,"name":"id","in":"path"},{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}}],"responses":{"200":{"description":"One Sage 50 tax agency.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_tax_agency"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"code":{"type":"string","nullable":true,"minLength":1},"name":{"type":"string","nullable":true,"minLength":1},"rate":{"type":"number","nullable":true},"authority":{"type":"string","nullable":true,"minLength":1}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"taxAgencies":{"summary":"Tax Agencies","value":{"id":"taxAgency_123","objectType":"sage50_tax_agency","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"TAXAGENCIES-123"},"code":"STATE","name":"State Revenue Department","rate":7.25,"authority":"State Revenue Department"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"notFound":{"summary":"Tax Agencies not found","value":{"error":{"message":"The requested tax agency could not be found in Sage.","userFacingMessage":"Choose an existing tax agency and try again.","type":"not_found_error","code":"NOT_FOUND","httpStatusCode":404,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"getSage50TaxAgencies","summary":"Get one Tax Agency","description":"Get one tax agency in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when you already know the id for one tax agency.\n- Use the list route first when you need discovery or pagination.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst taxAgency = await client.sage50.taxAgencies.get({\n  connectionId: \"conn_123\",\n  id: \"taxAgency_123\"\n});\n\nconsole.log(taxAgency);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\ntaxAgency = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/tax-agencies/taxAgency_123\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\ntaxAgency.raise_for_status()\ntaxAgency = taxAgency.json()\nprint(taxAgency)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/tax-agencies/taxAgency_123\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/tax-agencies/taxAgency_123\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}]},"post":{"tags":["Tax Agencies"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"src_123"},"required":true,"name":"id","in":"path"},{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique key for this create or update. Reuse the same key when retrying the same action so Sage does not do it twice.","schema":{"type":"string","minLength":1,"example":"idem_20260417_0001"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"externalId":{"type":"string","nullable":true,"minLength":1},"revisionNumber":{"type":"string","nullable":true,"minLength":1},"code":{"type":"string","nullable":true,"minLength":1},"name":{"type":"string","nullable":true,"minLength":1},"rate":{"type":"number","nullable":true},"authority":{"type":"string","nullable":true,"minLength":1}},"additionalProperties":{"nullable":true}},"examples":{"updateExample":{"summary":"Update Tax Agencies","value":{"revisionNumber":"7","name":"State Revenue Department"}}}}},"required":true,"description":"The tax agencies changes you want saved in Sage. Example payload matches the generated SDK request model.\n\n### What to send\n- Send only the fields you want Sage to change.\n- Use the same field names shown in the examples and generated SDK models.\n\n### Concurrency\nSend the latest `revisionNumber` when Sage returns one so updates stay aligned with the current desktop record.\n\n### Retry behavior\nAlways send `Idempotency-Key` on create and update requests. Reuse the same key when retrying the same logical action."},"responses":{"200":{"description":"The tax agencies after Sage saved the update.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_tax_agency"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"code":{"type":"string","nullable":true,"minLength":1},"name":{"type":"string","nullable":true,"minLength":1},"rate":{"type":"number","nullable":true},"authority":{"type":"string","nullable":true,"minLength":1}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"taxAgencies":{"summary":"Tax Agencies","value":{"id":"taxAgency_123","objectType":"sage50_tax_agency","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"TAXAGENCIES-123"},"code":"STATE","name":"State Revenue Department","rate":7.25,"authority":"State Revenue Department"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"missingIdempotencyKey":{"summary":"Idempotency key required","value":{"error":{"message":"Missing required Idempotency-Key header","userFacingMessage":"Send an idempotency key and try again.","type":"validation_error","code":"IDEMPOTENCY_KEY_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"422":{"description":"Sage validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"sageValidationFailed":{"summary":"Sage rejected the request","value":{"error":{"message":"Sage rejected the tax agency because one or more fields were invalid.","userFacingMessage":"Review the tax agency details and try again.","type":"integration_validation_error","code":"SAGE_VALIDATION_FAILED","httpStatusCode":422,"requestId":"req_123","integrationCode":"VAL-1001","retryable":false,"correlationId":null,"details":{"fieldErrors":[{"field":"name","message":"Name is required."}]}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"updateSage50TaxAgencies","summary":"Update Tax Agency","description":"Update tax agency in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when your app needs to save changes to an existing tax agency.\n- Send the latest `revisionNumber` when Sage provides one so updates stay concurrency-safe.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Retry behavior\n- Send `Idempotency-Key` on every create and update request.\n- Reuse the same idempotency key when retrying the same logical action so Sage does not apply it twice.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst taxAgency = await client.sage50.taxAgencies.update({\n  connectionId: \"conn_123\",\n  id: \"taxAgency_123\",\n  idempotencyKey: \"idem_20260417_0001\",\n  revisionNumber: \"7\",\n  name: \"State Revenue Department\"\n});\n\nconsole.log(taxAgency);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\ntaxAgency = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/tax-agencies/taxAgency_123\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\",\n        \"Idempotency-Key\": \"idem_20260417_0001\"\n    },\n    json={\n        \"revisionNumber\": \"7\",\n        \"name\": \"State Revenue Department\"\n    },\n)\ntaxAgency.raise_for_status()\ntaxAgency = taxAgency.json()\nprint(taxAgency)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/tax-agencies/taxAgency_123\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .header(\"Idempotency-Key\", \"idem_20260417_0001\")\n    .header(\"Content-Type\", \"application/json\")\n    .POST(HttpRequest.BodyPublishers.ofString(\"{\\n  \\\"revisionNumber\\\": \\\"7\\\",\\n  \\\"name\\\": \\\"State Revenue Department\\\"\\n}\"));\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/tax-agencies/taxAgency_123\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\" \\\n  --header \"Idempotency-Key: idem_20260417_0001\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n  \"revisionNumber\": \"7\",\n  \"name\": \"State Revenue Department\"\n}'"}]}},"/v1/sage-50/bank-accounts":{"get":{"tags":["Bank Accounts"],"responses":{"200":{"description":"A page of Sage 50 bank accounts.","content":{"application/json":{"schema":{"type":"object","properties":{"objectType":{"type":"string","enum":["list"]},"url":{"type":"string","minLength":1},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_bank_account"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"accountNumber":{"type":"string","nullable":true,"minLength":1},"name":{"type":"string","nullable":true,"minLength":1},"currency":{"type":"string","nullable":true,"minLength":1},"balance":{"type":"number","nullable":true},"isActive":{"type":"boolean","nullable":true}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}}},"nextCursor":{"type":"string","nullable":true},"hasMore":{"type":"boolean"},"remainingCount":{"type":"integer","minimum":0}},"required":["objectType","url","data","nextCursor","hasMore","remainingCount"]},"examples":{"list":{"summary":"Bank Accounts page","value":{"objectType":"list","url":"/v1/sage-50/bank-accounts","data":[{"id":"bankAccount_123","objectType":"sage50_bank_account","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"BANKACCOUNTS-123"},"accountNumber":"****1234","name":"Operating Account","currency":"USD","balance":50234.19,"isActive":true}],"nextCursor":null,"hasMore":false,"remainingCount":0}},"emptyPage":{"summary":"No bank accounts found","value":{"objectType":"list","url":"/v1/sage-50/bank-accounts","data":[],"nextCursor":null,"hasMore":false,"remainingCount":0}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"listSage50BankAccounts","summary":"Get Bank Accounts","description":"Gets bank accounts from the selected Sage company through one country-neutral route.\n\n### When to use\n- Use this route when you need a page of bank accounts for sync, browsing, or search flows.\n- Prefer `updatedSince` plus `cursor` for incremental sync and resumable imports.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Pagination\n- Use `limit` to control page size.\n- Use `cursor` to continue from the previous page.\n- Use `updatedSince` when the connected Sage company supports incremental filtering.\n\n### Response shape\nReturns the standard list wrapper with normalized Sage resource objects inside `data`.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst bankAccounts = await client.sage50.bankAccounts.list({\n  connectionId: \"conn_123\",\n  limit: 20\n});\n\nconsole.log(bankAccounts.data);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nbankAccounts = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/bank-accounts?limit=20\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\nbankAccounts.raise_for_status()\nbankAccounts = bankAccounts.json()\nprint(bankAccounts[\"data\"])"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/bank-accounts?limit=20\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/bank-accounts?limit=20\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"limit","in":"query","required":false,"description":"How many records to return at once.","schema":{"type":"integer","minimum":1,"maximum":150,"default":100,"example":100}},{"name":"cursor","in":"query","required":false,"description":"The next-page marker from a previous response.","schema":{"type":"string","minLength":1,"example":"cur_eyJvZmZzZXQiOjEwMH0"}},{"name":"updatedSince","in":"query","required":false,"description":"Only return records changed after this time, when the connected Sage company can support that filter.","schema":{"type":"string","format":"date-time","example":"2026-04-01T00:00:00.000Z"}}]},"post":{"tags":["Bank Accounts"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"externalId":{"type":"string","nullable":true,"minLength":1},"revisionNumber":{"type":"string","nullable":true,"minLength":1},"accountNumber":{"type":"string","nullable":true,"minLength":1},"name":{"type":"string","nullable":true,"minLength":1},"currency":{"type":"string","nullable":true,"minLength":1},"balance":{"type":"number","nullable":true},"isActive":{"type":"boolean","nullable":true}},"additionalProperties":{"nullable":true}},"examples":{"createExample":{"summary":"Create Bank Accounts","value":{"externalId":"bankAccount_external_123","accountNumber":"****1234","name":"Operating Account","currency":"USD","balance":50234.19,"isActive":true}}}}},"required":true,"description":"The bank accounts record you want created in Sage. Example payload matches the generated SDK request model.\n\n### What to send\n- Send the normalized fields your app wants Sage to create.\n- Use the same field names shown in the examples and generated SDK models.\n\n### Retry behavior\nAlways send `Idempotency-Key` on create and update requests. Reuse the same key when retrying the same logical action."},"responses":{"200":{"description":"The bank accounts Sage created.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_bank_account"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"accountNumber":{"type":"string","nullable":true,"minLength":1},"name":{"type":"string","nullable":true,"minLength":1},"currency":{"type":"string","nullable":true,"minLength":1},"balance":{"type":"number","nullable":true},"isActive":{"type":"boolean","nullable":true}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"bankAccounts":{"summary":"Bank Accounts","value":{"id":"bankAccount_123","objectType":"sage50_bank_account","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"BANKACCOUNTS-123"},"accountNumber":"****1234","name":"Operating Account","currency":"USD","balance":50234.19,"isActive":true}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"missingIdempotencyKey":{"summary":"Idempotency key required","value":{"error":{"message":"Missing required Idempotency-Key header","userFacingMessage":"Send an idempotency key and try again.","type":"validation_error","code":"IDEMPOTENCY_KEY_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"422":{"description":"Sage validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"sageValidationFailed":{"summary":"Sage rejected the request","value":{"error":{"message":"Sage rejected the bank account because one or more fields were invalid.","userFacingMessage":"Review the bank account details and try again.","type":"integration_validation_error","code":"SAGE_VALIDATION_FAILED","httpStatusCode":422,"requestId":"req_123","integrationCode":"VAL-1001","retryable":false,"correlationId":null,"details":{"fieldErrors":[{"field":"name","message":"Name is required."}]}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"createSage50BankAccounts","summary":"Create Bank Account","description":"Create bank account in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when your app is the source of truth for a new bank account.\n- Send an idempotency key whenever a network retry might happen.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Retry behavior\n- Send `Idempotency-Key` on every create and update request.\n- Reuse the same idempotency key when retrying the same logical action so Sage does not apply it twice.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst bankAccount = await client.sage50.bankAccounts.create({\n  connectionId: \"conn_123\",\n  idempotencyKey: \"idem_20260417_0001\",\n  externalId: \"bankAccount_external_123\",\n  accountNumber: \"****1234\",\n  name: \"Operating Account\",\n  currency: \"USD\",\n  balance: 50234.19,\n  isActive: true\n});\n\nconsole.log(bankAccount);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nbankAccount = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/bank-accounts\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\",\n        \"Idempotency-Key\": \"idem_20260417_0001\"\n    },\n    json={\n        \"externalId\": \"bankAccount_external_123\",\n        \"accountNumber\": \"****1234\",\n        \"name\": \"Operating Account\",\n        \"currency\": \"USD\",\n        \"balance\": 50234.19,\n        \"isActive\": true\n    },\n)\nbankAccount.raise_for_status()\nbankAccount = bankAccount.json()\nprint(bankAccount)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/bank-accounts\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .header(\"Idempotency-Key\", \"idem_20260417_0001\")\n    .header(\"Content-Type\", \"application/json\")\n    .POST(HttpRequest.BodyPublishers.ofString(\"{\\n  \\\"externalId\\\": \\\"bankAccount_external_123\\\",\\n  \\\"accountNumber\\\": \\\"****1234\\\",\\n  \\\"name\\\": \\\"Operating Account\\\",\\n  \\\"currency\\\": \\\"USD\\\",\\n  \\\"balance\\\": 50234.19,\\n  \\\"isActive\\\": true\\n}\"));\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/bank-accounts\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\" \\\n  --header \"Idempotency-Key: idem_20260417_0001\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n  \"externalId\": \"bankAccount_external_123\",\n  \"accountNumber\": \"****1234\",\n  \"name\": \"Operating Account\",\n  \"currency\": \"USD\",\n  \"balance\": 50234.19,\n  \"isActive\": true\n}'"}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique key for this create or update. Reuse the same key when retrying the same action so Sage does not do it twice.","schema":{"type":"string","minLength":1,"example":"idem_20260417_0001"}}]}},"/v1/sage-50/bank-accounts/{id}":{"get":{"tags":["Bank Accounts"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"src_123"},"required":true,"name":"id","in":"path"},{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}}],"responses":{"200":{"description":"One Sage 50 bank account.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_bank_account"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"accountNumber":{"type":"string","nullable":true,"minLength":1},"name":{"type":"string","nullable":true,"minLength":1},"currency":{"type":"string","nullable":true,"minLength":1},"balance":{"type":"number","nullable":true},"isActive":{"type":"boolean","nullable":true}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"bankAccounts":{"summary":"Bank Accounts","value":{"id":"bankAccount_123","objectType":"sage50_bank_account","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"BANKACCOUNTS-123"},"accountNumber":"****1234","name":"Operating Account","currency":"USD","balance":50234.19,"isActive":true}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"notFound":{"summary":"Bank Accounts not found","value":{"error":{"message":"The requested bank account could not be found in Sage.","userFacingMessage":"Choose an existing bank account and try again.","type":"not_found_error","code":"NOT_FOUND","httpStatusCode":404,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"getSage50BankAccounts","summary":"Get one Bank Account","description":"Get one bank account in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when you already know the id for one bank account.\n- Use the list route first when you need discovery or pagination.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst bankAccount = await client.sage50.bankAccounts.get({\n  connectionId: \"conn_123\",\n  id: \"bankAccount_123\"\n});\n\nconsole.log(bankAccount);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nbankAccount = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/bank-accounts/bankAccount_123\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\nbankAccount.raise_for_status()\nbankAccount = bankAccount.json()\nprint(bankAccount)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/bank-accounts/bankAccount_123\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/bank-accounts/bankAccount_123\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}]},"post":{"tags":["Bank Accounts"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"src_123"},"required":true,"name":"id","in":"path"},{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique key for this create or update. Reuse the same key when retrying the same action so Sage does not do it twice.","schema":{"type":"string","minLength":1,"example":"idem_20260417_0001"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"externalId":{"type":"string","nullable":true,"minLength":1},"revisionNumber":{"type":"string","nullable":true,"minLength":1},"accountNumber":{"type":"string","nullable":true,"minLength":1},"name":{"type":"string","nullable":true,"minLength":1},"currency":{"type":"string","nullable":true,"minLength":1},"balance":{"type":"number","nullable":true},"isActive":{"type":"boolean","nullable":true}},"additionalProperties":{"nullable":true}},"examples":{"updateExample":{"summary":"Update Bank Accounts","value":{"revisionNumber":"7","name":"Operating Account"}}}}},"required":true,"description":"The bank accounts changes you want saved in Sage. Example payload matches the generated SDK request model.\n\n### What to send\n- Send only the fields you want Sage to change.\n- Use the same field names shown in the examples and generated SDK models.\n\n### Concurrency\nSend the latest `revisionNumber` when Sage returns one so updates stay aligned with the current desktop record.\n\n### Retry behavior\nAlways send `Idempotency-Key` on create and update requests. Reuse the same key when retrying the same logical action."},"responses":{"200":{"description":"The bank accounts after Sage saved the update.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_bank_account"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"accountNumber":{"type":"string","nullable":true,"minLength":1},"name":{"type":"string","nullable":true,"minLength":1},"currency":{"type":"string","nullable":true,"minLength":1},"balance":{"type":"number","nullable":true},"isActive":{"type":"boolean","nullable":true}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"bankAccounts":{"summary":"Bank Accounts","value":{"id":"bankAccount_123","objectType":"sage50_bank_account","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"BANKACCOUNTS-123"},"accountNumber":"****1234","name":"Operating Account","currency":"USD","balance":50234.19,"isActive":true}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"missingIdempotencyKey":{"summary":"Idempotency key required","value":{"error":{"message":"Missing required Idempotency-Key header","userFacingMessage":"Send an idempotency key and try again.","type":"validation_error","code":"IDEMPOTENCY_KEY_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"422":{"description":"Sage validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"sageValidationFailed":{"summary":"Sage rejected the request","value":{"error":{"message":"Sage rejected the bank account because one or more fields were invalid.","userFacingMessage":"Review the bank account details and try again.","type":"integration_validation_error","code":"SAGE_VALIDATION_FAILED","httpStatusCode":422,"requestId":"req_123","integrationCode":"VAL-1001","retryable":false,"correlationId":null,"details":{"fieldErrors":[{"field":"name","message":"Name is required."}]}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"updateSage50BankAccounts","summary":"Update Bank Account","description":"Update bank account in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when your app needs to save changes to an existing bank account.\n- Send the latest `revisionNumber` when Sage provides one so updates stay concurrency-safe.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Retry behavior\n- Send `Idempotency-Key` on every create and update request.\n- Reuse the same idempotency key when retrying the same logical action so Sage does not apply it twice.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst bankAccount = await client.sage50.bankAccounts.update({\n  connectionId: \"conn_123\",\n  id: \"bankAccount_123\",\n  idempotencyKey: \"idem_20260417_0001\",\n  revisionNumber: \"7\",\n  name: \"Operating Account\"\n});\n\nconsole.log(bankAccount);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nbankAccount = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/bank-accounts/bankAccount_123\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\",\n        \"Idempotency-Key\": \"idem_20260417_0001\"\n    },\n    json={\n        \"revisionNumber\": \"7\",\n        \"name\": \"Operating Account\"\n    },\n)\nbankAccount.raise_for_status()\nbankAccount = bankAccount.json()\nprint(bankAccount)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/bank-accounts/bankAccount_123\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .header(\"Idempotency-Key\", \"idem_20260417_0001\")\n    .header(\"Content-Type\", \"application/json\")\n    .POST(HttpRequest.BodyPublishers.ofString(\"{\\n  \\\"revisionNumber\\\": \\\"7\\\",\\n  \\\"name\\\": \\\"Operating Account\\\"\\n}\"));\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/bank-accounts/bankAccount_123\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\" \\\n  --header \"Idempotency-Key: idem_20260417_0001\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n  \"revisionNumber\": \"7\",\n  \"name\": \"Operating Account\"\n}'"}]}},"/v1/sage-50/bank-transactions":{"get":{"tags":["Bank Transactions"],"responses":{"200":{"description":"A page of Sage 50 bank transactions.","content":{"application/json":{"schema":{"type":"object","properties":{"objectType":{"type":"string","enum":["list"]},"url":{"type":"string","minLength":1},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_bank_transaction"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"accountId":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"totalAmount":{"type":"number","nullable":true},"currency":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"referenceNumber":{"type":"string","nullable":true,"minLength":1}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}}},"nextCursor":{"type":"string","nullable":true},"hasMore":{"type":"boolean"},"remainingCount":{"type":"integer","minimum":0}},"required":["objectType","url","data","nextCursor","hasMore","remainingCount"]},"examples":{"list":{"summary":"Bank Transactions page","value":{"objectType":"list","url":"/v1/sage-50/bank-transactions","data":[{"id":"bankTransaction_123","objectType":"sage50_bank_transaction","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"BANKTRANSACTIONS-123"},"accountId":"bank_123","transactionDate":"2026-04-17","totalAmount":-225,"currency":"USD","status":"posted","referenceNumber":"BANK-1001"}],"nextCursor":null,"hasMore":false,"remainingCount":0}},"emptyPage":{"summary":"No bank transactions found","value":{"objectType":"list","url":"/v1/sage-50/bank-transactions","data":[],"nextCursor":null,"hasMore":false,"remainingCount":0}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"listSage50BankTransactions","summary":"Get Bank Transactions","description":"Gets bank transactions from the selected Sage company through one country-neutral route.\n\n### When to use\n- Use this route when you need a page of bank transactions for sync, browsing, or search flows.\n- Prefer `updatedSince` plus `cursor` for incremental sync and resumable imports.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Pagination\n- Use `limit` to control page size.\n- Use `cursor` to continue from the previous page.\n- Use `updatedSince` when the connected Sage company supports incremental filtering.\n\n### Response shape\nReturns the standard list wrapper with normalized Sage resource objects inside `data`.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst bankTransactions = await client.sage50.bankTransactions.list({\n  connectionId: \"conn_123\",\n  limit: 20\n});\n\nconsole.log(bankTransactions.data);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nbankTransactions = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/bank-transactions?limit=20\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\nbankTransactions.raise_for_status()\nbankTransactions = bankTransactions.json()\nprint(bankTransactions[\"data\"])"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/bank-transactions?limit=20\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/bank-transactions?limit=20\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"limit","in":"query","required":false,"description":"How many records to return at once.","schema":{"type":"integer","minimum":1,"maximum":150,"default":100,"example":100}},{"name":"cursor","in":"query","required":false,"description":"The next-page marker from a previous response.","schema":{"type":"string","minLength":1,"example":"cur_eyJvZmZzZXQiOjEwMH0"}},{"name":"updatedSince","in":"query","required":false,"description":"Only return records changed after this time, when the connected Sage company can support that filter.","schema":{"type":"string","format":"date-time","example":"2026-04-01T00:00:00.000Z"}}]},"post":{"tags":["Bank Transactions"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"externalId":{"type":"string","nullable":true,"minLength":1},"revisionNumber":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"totalAmount":{"type":"number","nullable":true},"currency":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"referenceNumber":{"type":"string","nullable":true,"minLength":1}},"additionalProperties":{"nullable":true}},"examples":{"createExample":{"summary":"Create Bank Transactions","value":{"externalId":"bankTransaction_external_123","accountId":"bank_123","transactionDate":"2026-04-17","totalAmount":-225,"currency":"USD","status":"posted","referenceNumber":"BANK-1001"}}}}},"required":true,"description":"The bank transactions record you want created in Sage. Example payload matches the generated SDK request model.\n\n### What to send\n- Send the normalized fields your app wants Sage to create.\n- Use the same field names shown in the examples and generated SDK models.\n\n### Retry behavior\nAlways send `Idempotency-Key` on create and update requests. Reuse the same key when retrying the same logical action."},"responses":{"200":{"description":"The bank transactions Sage created.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_bank_transaction"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"accountId":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"totalAmount":{"type":"number","nullable":true},"currency":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"referenceNumber":{"type":"string","nullable":true,"minLength":1}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"bankTransactions":{"summary":"Bank Transactions","value":{"id":"bankTransaction_123","objectType":"sage50_bank_transaction","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"BANKTRANSACTIONS-123"},"accountId":"bank_123","transactionDate":"2026-04-17","totalAmount":-225,"currency":"USD","status":"posted","referenceNumber":"BANK-1001"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"missingIdempotencyKey":{"summary":"Idempotency key required","value":{"error":{"message":"Missing required Idempotency-Key header","userFacingMessage":"Send an idempotency key and try again.","type":"validation_error","code":"IDEMPOTENCY_KEY_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"422":{"description":"Sage validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"sageValidationFailed":{"summary":"Sage rejected the request","value":{"error":{"message":"Sage rejected the bank transaction because one or more fields were invalid.","userFacingMessage":"Review the bank transaction details and try again.","type":"integration_validation_error","code":"SAGE_VALIDATION_FAILED","httpStatusCode":422,"requestId":"req_123","integrationCode":"VAL-1001","retryable":false,"correlationId":null,"details":{"fieldErrors":[{"field":"name","message":"Name is required."}]}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"createSage50BankTransactions","summary":"Create Bank Transaction","description":"Create bank transaction in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when your app is the source of truth for a new bank transaction.\n- Send an idempotency key whenever a network retry might happen.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Retry behavior\n- Send `Idempotency-Key` on every create and update request.\n- Reuse the same idempotency key when retrying the same logical action so Sage does not apply it twice.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst bankTransaction = await client.sage50.bankTransactions.create({\n  connectionId: \"conn_123\",\n  idempotencyKey: \"idem_20260417_0001\",\n  externalId: \"bankTransaction_external_123\",\n  accountId: \"bank_123\",\n  transactionDate: \"2026-04-17\",\n  totalAmount: -225,\n  currency: \"USD\",\n  status: \"posted\",\n  referenceNumber: \"BANK-1001\"\n});\n\nconsole.log(bankTransaction);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nbankTransaction = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/bank-transactions\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\",\n        \"Idempotency-Key\": \"idem_20260417_0001\"\n    },\n    json={\n        \"externalId\": \"bankTransaction_external_123\",\n        \"accountId\": \"bank_123\",\n        \"transactionDate\": \"2026-04-17\",\n        \"totalAmount\": -225,\n        \"currency\": \"USD\",\n        \"status\": \"posted\",\n        \"referenceNumber\": \"BANK-1001\"\n    },\n)\nbankTransaction.raise_for_status()\nbankTransaction = bankTransaction.json()\nprint(bankTransaction)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/bank-transactions\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .header(\"Idempotency-Key\", \"idem_20260417_0001\")\n    .header(\"Content-Type\", \"application/json\")\n    .POST(HttpRequest.BodyPublishers.ofString(\"{\\n  \\\"externalId\\\": \\\"bankTransaction_external_123\\\",\\n  \\\"accountId\\\": \\\"bank_123\\\",\\n  \\\"transactionDate\\\": \\\"2026-04-17\\\",\\n  \\\"totalAmount\\\": -225,\\n  \\\"currency\\\": \\\"USD\\\",\\n  \\\"status\\\": \\\"posted\\\",\\n  \\\"referenceNumber\\\": \\\"BANK-1001\\\"\\n}\"));\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/bank-transactions\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\" \\\n  --header \"Idempotency-Key: idem_20260417_0001\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n  \"externalId\": \"bankTransaction_external_123\",\n  \"accountId\": \"bank_123\",\n  \"transactionDate\": \"2026-04-17\",\n  \"totalAmount\": -225,\n  \"currency\": \"USD\",\n  \"status\": \"posted\",\n  \"referenceNumber\": \"BANK-1001\"\n}'"}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique key for this create or update. Reuse the same key when retrying the same action so Sage does not do it twice.","schema":{"type":"string","minLength":1,"example":"idem_20260417_0001"}}]}},"/v1/sage-50/bank-transactions/{id}":{"get":{"tags":["Bank Transactions"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"src_123"},"required":true,"name":"id","in":"path"},{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}}],"responses":{"200":{"description":"One Sage 50 bank transaction.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_bank_transaction"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"accountId":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"totalAmount":{"type":"number","nullable":true},"currency":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"referenceNumber":{"type":"string","nullable":true,"minLength":1}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"bankTransactions":{"summary":"Bank Transactions","value":{"id":"bankTransaction_123","objectType":"sage50_bank_transaction","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"BANKTRANSACTIONS-123"},"accountId":"bank_123","transactionDate":"2026-04-17","totalAmount":-225,"currency":"USD","status":"posted","referenceNumber":"BANK-1001"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"notFound":{"summary":"Bank Transactions not found","value":{"error":{"message":"The requested bank transaction could not be found in Sage.","userFacingMessage":"Choose an existing bank transaction and try again.","type":"not_found_error","code":"NOT_FOUND","httpStatusCode":404,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"getSage50BankTransactions","summary":"Get one Bank Transaction","description":"Get one bank transaction in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when you already know the id for one bank transaction.\n- Use the list route first when you need discovery or pagination.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst bankTransaction = await client.sage50.bankTransactions.get({\n  connectionId: \"conn_123\",\n  id: \"bankTransaction_123\"\n});\n\nconsole.log(bankTransaction);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nbankTransaction = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/bank-transactions/bankTransaction_123\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\nbankTransaction.raise_for_status()\nbankTransaction = bankTransaction.json()\nprint(bankTransaction)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/bank-transactions/bankTransaction_123\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/bank-transactions/bankTransaction_123\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}]},"post":{"tags":["Bank Transactions"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"src_123"},"required":true,"name":"id","in":"path"},{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique key for this create or update. Reuse the same key when retrying the same action so Sage does not do it twice.","schema":{"type":"string","minLength":1,"example":"idem_20260417_0001"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"externalId":{"type":"string","nullable":true,"minLength":1},"revisionNumber":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"totalAmount":{"type":"number","nullable":true},"currency":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"referenceNumber":{"type":"string","nullable":true,"minLength":1}},"additionalProperties":{"nullable":true}},"examples":{"updateExample":{"summary":"Update Bank Transactions","value":{"revisionNumber":"7","status":"posted","transactionDate":"2026-04-17","referenceNumber":"BANK-1001"}}}}},"required":true,"description":"The bank transactions changes you want saved in Sage. Example payload matches the generated SDK request model.\n\n### What to send\n- Send only the fields you want Sage to change.\n- Use the same field names shown in the examples and generated SDK models.\n\n### Concurrency\nSend the latest `revisionNumber` when Sage returns one so updates stay aligned with the current desktop record.\n\n### Retry behavior\nAlways send `Idempotency-Key` on create and update requests. Reuse the same key when retrying the same logical action."},"responses":{"200":{"description":"The bank transactions after Sage saved the update.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_bank_transaction"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"accountId":{"type":"string","nullable":true,"minLength":1},"transactionDate":{"type":"string","nullable":true,"minLength":1},"totalAmount":{"type":"number","nullable":true},"currency":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"referenceNumber":{"type":"string","nullable":true,"minLength":1}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"bankTransactions":{"summary":"Bank Transactions","value":{"id":"bankTransaction_123","objectType":"sage50_bank_transaction","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"BANKTRANSACTIONS-123"},"accountId":"bank_123","transactionDate":"2026-04-17","totalAmount":-225,"currency":"USD","status":"posted","referenceNumber":"BANK-1001"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"missingIdempotencyKey":{"summary":"Idempotency key required","value":{"error":{"message":"Missing required Idempotency-Key header","userFacingMessage":"Send an idempotency key and try again.","type":"validation_error","code":"IDEMPOTENCY_KEY_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"422":{"description":"Sage validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"sageValidationFailed":{"summary":"Sage rejected the request","value":{"error":{"message":"Sage rejected the bank transaction because one or more fields were invalid.","userFacingMessage":"Review the bank transaction details and try again.","type":"integration_validation_error","code":"SAGE_VALIDATION_FAILED","httpStatusCode":422,"requestId":"req_123","integrationCode":"VAL-1001","retryable":false,"correlationId":null,"details":{"fieldErrors":[{"field":"name","message":"Name is required."}]}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"updateSage50BankTransactions","summary":"Update Bank Transaction","description":"Update bank transaction in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when your app needs to save changes to an existing bank transaction.\n- Send the latest `revisionNumber` when Sage provides one so updates stay concurrency-safe.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Retry behavior\n- Send `Idempotency-Key` on every create and update request.\n- Reuse the same idempotency key when retrying the same logical action so Sage does not apply it twice.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst bankTransaction = await client.sage50.bankTransactions.update({\n  connectionId: \"conn_123\",\n  id: \"bankTransaction_123\",\n  idempotencyKey: \"idem_20260417_0001\",\n  revisionNumber: \"7\",\n  status: \"posted\",\n  transactionDate: \"2026-04-17\",\n  referenceNumber: \"BANK-1001\"\n});\n\nconsole.log(bankTransaction);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nbankTransaction = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/bank-transactions/bankTransaction_123\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\",\n        \"Idempotency-Key\": \"idem_20260417_0001\"\n    },\n    json={\n        \"revisionNumber\": \"7\",\n        \"status\": \"posted\",\n        \"transactionDate\": \"2026-04-17\",\n        \"referenceNumber\": \"BANK-1001\"\n    },\n)\nbankTransaction.raise_for_status()\nbankTransaction = bankTransaction.json()\nprint(bankTransaction)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/bank-transactions/bankTransaction_123\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .header(\"Idempotency-Key\", \"idem_20260417_0001\")\n    .header(\"Content-Type\", \"application/json\")\n    .POST(HttpRequest.BodyPublishers.ofString(\"{\\n  \\\"revisionNumber\\\": \\\"7\\\",\\n  \\\"status\\\": \\\"posted\\\",\\n  \\\"transactionDate\\\": \\\"2026-04-17\\\",\\n  \\\"referenceNumber\\\": \\\"BANK-1001\\\"\\n}\"));\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/bank-transactions/bankTransaction_123\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\" \\\n  --header \"Idempotency-Key: idem_20260417_0001\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n  \"revisionNumber\": \"7\",\n  \"status\": \"posted\",\n  \"transactionDate\": \"2026-04-17\",\n  \"referenceNumber\": \"BANK-1001\"\n}'"}]}},"/v1/sage-50/bank-reconciliations":{"get":{"tags":["Bank Reconciliations"],"responses":{"200":{"description":"A page of Sage 50 bank reconciliations.","content":{"application/json":{"schema":{"type":"object","properties":{"objectType":{"type":"string","enum":["list"]},"url":{"type":"string","minLength":1},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_bank_reconciliation"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"accountId":{"type":"string","nullable":true,"minLength":1},"statementDate":{"type":"string","nullable":true,"minLength":1},"statementEndingBalance":{"type":"number","nullable":true},"status":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"transactionId":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"clearedAmount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}}},"nextCursor":{"type":"string","nullable":true},"hasMore":{"type":"boolean"},"remainingCount":{"type":"integer","minimum":0}},"required":["objectType","url","data","nextCursor","hasMore","remainingCount"]},"examples":{"list":{"summary":"Bank Reconciliations page","value":{"objectType":"list","url":"/v1/sage-50/bank-reconciliations","data":[{"id":"bankReconciliation_123","objectType":"sage50_bank_reconciliation","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"BANKRECONCILIATIONS-123"},"accountId":"bank_123","statementDate":"2026-04-30","statementEndingBalance":50009.19,"status":"in_progress","lines":[{"transactionId":"txn_123","status":"cleared","clearedAmount":99.9}]}],"nextCursor":null,"hasMore":false,"remainingCount":0}},"emptyPage":{"summary":"No bank reconciliations found","value":{"objectType":"list","url":"/v1/sage-50/bank-reconciliations","data":[],"nextCursor":null,"hasMore":false,"remainingCount":0}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"listSage50BankReconciliations","summary":"Get Bank Reconciliations","description":"Gets bank reconciliations from the selected Sage company through one country-neutral route.\n\n### When to use\n- Use this route when you need a page of bank reconciliations for sync, browsing, or search flows.\n- Prefer `updatedSince` plus `cursor` for incremental sync and resumable imports.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Pagination\n- Use `limit` to control page size.\n- Use `cursor` to continue from the previous page.\n- Use `updatedSince` when the connected Sage company supports incremental filtering.\n\n### Response shape\nReturns the standard list wrapper with normalized Sage resource objects inside `data`.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst bankReconciliations = await client.sage50.bankReconciliations.list({\n  connectionId: \"conn_123\",\n  limit: 20\n});\n\nconsole.log(bankReconciliations.data);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nbankReconciliations = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/bank-reconciliations?limit=20\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\nbankReconciliations.raise_for_status()\nbankReconciliations = bankReconciliations.json()\nprint(bankReconciliations[\"data\"])"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/bank-reconciliations?limit=20\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/bank-reconciliations?limit=20\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"limit","in":"query","required":false,"description":"How many records to return at once.","schema":{"type":"integer","minimum":1,"maximum":150,"default":100,"example":100}},{"name":"cursor","in":"query","required":false,"description":"The next-page marker from a previous response.","schema":{"type":"string","minLength":1,"example":"cur_eyJvZmZzZXQiOjEwMH0"}},{"name":"updatedSince","in":"query","required":false,"description":"Only return records changed after this time, when the connected Sage company can support that filter.","schema":{"type":"string","format":"date-time","example":"2026-04-01T00:00:00.000Z"}}]},"post":{"tags":["Bank Reconciliations"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"externalId":{"type":"string","nullable":true,"minLength":1},"revisionNumber":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"statementDate":{"type":"string","nullable":true,"minLength":1},"statementEndingBalance":{"type":"number","nullable":true},"status":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"transactionId":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"clearedAmount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"additionalProperties":{"nullable":true}},"examples":{"createExample":{"summary":"Create Bank Reconciliations","value":{"externalId":"bankReconciliation_external_123","accountId":"bank_123","statementDate":"2026-04-30","statementEndingBalance":50009.19,"status":"in_progress","lines":[{"transactionId":"txn_123","status":"cleared","clearedAmount":99.9}]}}}}},"required":true,"description":"The bank reconciliations record you want created in Sage. Example payload matches the generated SDK request model.\n\n### What to send\n- Send the normalized fields your app wants Sage to create.\n- Use the same field names shown in the examples and generated SDK models.\n\n### Retry behavior\nAlways send `Idempotency-Key` on create and update requests. Reuse the same key when retrying the same logical action."},"responses":{"200":{"description":"The bank reconciliations Sage created.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_bank_reconciliation"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"accountId":{"type":"string","nullable":true,"minLength":1},"statementDate":{"type":"string","nullable":true,"minLength":1},"statementEndingBalance":{"type":"number","nullable":true},"status":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"transactionId":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"clearedAmount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"bankReconciliations":{"summary":"Bank Reconciliations","value":{"id":"bankReconciliation_123","objectType":"sage50_bank_reconciliation","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"BANKRECONCILIATIONS-123"},"accountId":"bank_123","statementDate":"2026-04-30","statementEndingBalance":50009.19,"status":"in_progress","lines":[{"transactionId":"txn_123","status":"cleared","clearedAmount":99.9}]}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"missingIdempotencyKey":{"summary":"Idempotency key required","value":{"error":{"message":"Missing required Idempotency-Key header","userFacingMessage":"Send an idempotency key and try again.","type":"validation_error","code":"IDEMPOTENCY_KEY_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"422":{"description":"Sage validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"sageValidationFailed":{"summary":"Sage rejected the request","value":{"error":{"message":"Sage rejected the bank reconciliation because one or more fields were invalid.","userFacingMessage":"Review the bank reconciliation details and try again.","type":"integration_validation_error","code":"SAGE_VALIDATION_FAILED","httpStatusCode":422,"requestId":"req_123","integrationCode":"VAL-1001","retryable":false,"correlationId":null,"details":{"fieldErrors":[{"field":"name","message":"Name is required."}]}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"createSage50BankReconciliations","summary":"Create Bank Reconciliation","description":"Create bank reconciliation in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when your app is the source of truth for a new bank reconciliation.\n- Send an idempotency key whenever a network retry might happen.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Retry behavior\n- Send `Idempotency-Key` on every create and update request.\n- Reuse the same idempotency key when retrying the same logical action so Sage does not apply it twice.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst bankReconciliation = await client.sage50.bankReconciliations.create({\n  connectionId: \"conn_123\",\n  idempotencyKey: \"idem_20260417_0001\",\n  externalId: \"bankReconciliation_external_123\",\n  accountId: \"bank_123\",\n  statementDate: \"2026-04-30\",\n  statementEndingBalance: 50009.19,\n  status: \"in_progress\",\n  lines: [\n    {\n      transactionId: \"txn_123\",\n      status: \"cleared\",\n      clearedAmount: 99.9\n    }\n  ]\n});\n\nconsole.log(bankReconciliation);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nbankReconciliation = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/bank-reconciliations\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\",\n        \"Idempotency-Key\": \"idem_20260417_0001\"\n    },\n    json={\n        \"externalId\": \"bankReconciliation_external_123\",\n        \"accountId\": \"bank_123\",\n        \"statementDate\": \"2026-04-30\",\n        \"statementEndingBalance\": 50009.19,\n        \"status\": \"in_progress\",\n        \"lines\": [\n            {\n                \"transactionId\": \"txn_123\",\n                \"status\": \"cleared\",\n                \"clearedAmount\": 99.9\n            }\n        ]\n    },\n)\nbankReconciliation.raise_for_status()\nbankReconciliation = bankReconciliation.json()\nprint(bankReconciliation)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/bank-reconciliations\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .header(\"Idempotency-Key\", \"idem_20260417_0001\")\n    .header(\"Content-Type\", \"application/json\")\n    .POST(HttpRequest.BodyPublishers.ofString(\"{\\n  \\\"externalId\\\": \\\"bankReconciliation_external_123\\\",\\n  \\\"accountId\\\": \\\"bank_123\\\",\\n  \\\"statementDate\\\": \\\"2026-04-30\\\",\\n  \\\"statementEndingBalance\\\": 50009.19,\\n  \\\"status\\\": \\\"in_progress\\\",\\n  \\\"lines\\\": [\\n    {\\n      \\\"transactionId\\\": \\\"txn_123\\\",\\n      \\\"status\\\": \\\"cleared\\\",\\n      \\\"clearedAmount\\\": 99.9\\n    }\\n  ]\\n}\"));\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/bank-reconciliations\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\" \\\n  --header \"Idempotency-Key: idem_20260417_0001\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n  \"externalId\": \"bankReconciliation_external_123\",\n  \"accountId\": \"bank_123\",\n  \"statementDate\": \"2026-04-30\",\n  \"statementEndingBalance\": 50009.19,\n  \"status\": \"in_progress\",\n  \"lines\": [\n    {\n      \"transactionId\": \"txn_123\",\n      \"status\": \"cleared\",\n      \"clearedAmount\": 99.9\n    }\n  ]\n}'"}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique key for this create or update. Reuse the same key when retrying the same action so Sage does not do it twice.","schema":{"type":"string","minLength":1,"example":"idem_20260417_0001"}}]}},"/v1/sage-50/bank-reconciliations/{id}":{"get":{"tags":["Bank Reconciliations"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"src_123"},"required":true,"name":"id","in":"path"},{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}}],"responses":{"200":{"description":"One Sage 50 bank reconciliation.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_bank_reconciliation"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"accountId":{"type":"string","nullable":true,"minLength":1},"statementDate":{"type":"string","nullable":true,"minLength":1},"statementEndingBalance":{"type":"number","nullable":true},"status":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"transactionId":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"clearedAmount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"bankReconciliations":{"summary":"Bank Reconciliations","value":{"id":"bankReconciliation_123","objectType":"sage50_bank_reconciliation","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"BANKRECONCILIATIONS-123"},"accountId":"bank_123","statementDate":"2026-04-30","statementEndingBalance":50009.19,"status":"in_progress","lines":[{"transactionId":"txn_123","status":"cleared","clearedAmount":99.9}]}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"notFound":{"summary":"Bank Reconciliations not found","value":{"error":{"message":"The requested bank reconciliation could not be found in Sage.","userFacingMessage":"Choose an existing bank reconciliation and try again.","type":"not_found_error","code":"NOT_FOUND","httpStatusCode":404,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"getSage50BankReconciliations","summary":"Get one Bank Reconciliation","description":"Get one bank reconciliation in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when you already know the id for one bank reconciliation.\n- Use the list route first when you need discovery or pagination.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst bankReconciliation = await client.sage50.bankReconciliations.get({\n  connectionId: \"conn_123\",\n  id: \"bankReconciliation_123\"\n});\n\nconsole.log(bankReconciliation);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nbankReconciliation = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/bank-reconciliations/bankReconciliation_123\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\nbankReconciliation.raise_for_status()\nbankReconciliation = bankReconciliation.json()\nprint(bankReconciliation)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/bank-reconciliations/bankReconciliation_123\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/bank-reconciliations/bankReconciliation_123\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}]},"post":{"tags":["Bank Reconciliations"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"src_123"},"required":true,"name":"id","in":"path"},{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique key for this create or update. Reuse the same key when retrying the same action so Sage does not do it twice.","schema":{"type":"string","minLength":1,"example":"idem_20260417_0001"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"externalId":{"type":"string","nullable":true,"minLength":1},"revisionNumber":{"type":"string","nullable":true,"minLength":1},"accountId":{"type":"string","nullable":true,"minLength":1},"statementDate":{"type":"string","nullable":true,"minLength":1},"statementEndingBalance":{"type":"number","nullable":true},"status":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"transactionId":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"clearedAmount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"additionalProperties":{"nullable":true}},"examples":{"updateExample":{"summary":"Update Bank Reconciliations","value":{"revisionNumber":"7","status":"in_progress","lines":[{"transactionId":"txn_123","status":"cleared","clearedAmount":99.9}]}}}}},"required":true,"description":"The bank reconciliations changes you want saved in Sage. Example payload matches the generated SDK request model.\n\n### What to send\n- Send only the fields you want Sage to change.\n- Use the same field names shown in the examples and generated SDK models.\n\n### Concurrency\nSend the latest `revisionNumber` when Sage returns one so updates stay aligned with the current desktop record.\n\n### Retry behavior\nAlways send `Idempotency-Key` on create and update requests. Reuse the same key when retrying the same logical action."},"responses":{"200":{"description":"The bank reconciliations after Sage saved the update.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_bank_reconciliation"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"accountId":{"type":"string","nullable":true,"minLength":1},"statementDate":{"type":"string","nullable":true,"minLength":1},"statementEndingBalance":{"type":"number","nullable":true},"status":{"type":"string","nullable":true,"minLength":1},"lines":{"type":"array","nullable":true,"items":{"type":"object","properties":{"transactionId":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"clearedAmount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}}}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"bankReconciliations":{"summary":"Bank Reconciliations","value":{"id":"bankReconciliation_123","objectType":"sage50_bank_reconciliation","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"BANKRECONCILIATIONS-123"},"accountId":"bank_123","statementDate":"2026-04-30","statementEndingBalance":50009.19,"status":"in_progress","lines":[{"transactionId":"txn_123","status":"cleared","clearedAmount":99.9}]}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"missingIdempotencyKey":{"summary":"Idempotency key required","value":{"error":{"message":"Missing required Idempotency-Key header","userFacingMessage":"Send an idempotency key and try again.","type":"validation_error","code":"IDEMPOTENCY_KEY_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"422":{"description":"Sage validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"sageValidationFailed":{"summary":"Sage rejected the request","value":{"error":{"message":"Sage rejected the bank reconciliation because one or more fields were invalid.","userFacingMessage":"Review the bank reconciliation details and try again.","type":"integration_validation_error","code":"SAGE_VALIDATION_FAILED","httpStatusCode":422,"requestId":"req_123","integrationCode":"VAL-1001","retryable":false,"correlationId":null,"details":{"fieldErrors":[{"field":"name","message":"Name is required."}]}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"updateSage50BankReconciliations","summary":"Update Bank Reconciliation","description":"Update bank reconciliation in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when your app needs to save changes to an existing bank reconciliation.\n- Send the latest `revisionNumber` when Sage provides one so updates stay concurrency-safe.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Retry behavior\n- Send `Idempotency-Key` on every create and update request.\n- Reuse the same idempotency key when retrying the same logical action so Sage does not apply it twice.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst bankReconciliation = await client.sage50.bankReconciliations.update({\n  connectionId: \"conn_123\",\n  id: \"bankReconciliation_123\",\n  idempotencyKey: \"idem_20260417_0001\",\n  revisionNumber: \"7\",\n  status: \"in_progress\",\n  lines: [\n    {\n      transactionId: \"txn_123\",\n      status: \"cleared\",\n      clearedAmount: 99.9\n    }\n  ]\n});\n\nconsole.log(bankReconciliation);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nbankReconciliation = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/bank-reconciliations/bankReconciliation_123\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\",\n        \"Idempotency-Key\": \"idem_20260417_0001\"\n    },\n    json={\n        \"revisionNumber\": \"7\",\n        \"status\": \"in_progress\",\n        \"lines\": [\n            {\n                \"transactionId\": \"txn_123\",\n                \"status\": \"cleared\",\n                \"clearedAmount\": 99.9\n            }\n        ]\n    },\n)\nbankReconciliation.raise_for_status()\nbankReconciliation = bankReconciliation.json()\nprint(bankReconciliation)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/bank-reconciliations/bankReconciliation_123\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .header(\"Idempotency-Key\", \"idem_20260417_0001\")\n    .header(\"Content-Type\", \"application/json\")\n    .POST(HttpRequest.BodyPublishers.ofString(\"{\\n  \\\"revisionNumber\\\": \\\"7\\\",\\n  \\\"status\\\": \\\"in_progress\\\",\\n  \\\"lines\\\": [\\n    {\\n      \\\"transactionId\\\": \\\"txn_123\\\",\\n      \\\"status\\\": \\\"cleared\\\",\\n      \\\"clearedAmount\\\": 99.9\\n    }\\n  ]\\n}\"));\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/bank-reconciliations/bankReconciliation_123\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\" \\\n  --header \"Idempotency-Key: idem_20260417_0001\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n  \"revisionNumber\": \"7\",\n  \"status\": \"in_progress\",\n  \"lines\": [\n    {\n      \"transactionId\": \"txn_123\",\n      \"status\": \"cleared\",\n      \"clearedAmount\": 99.9\n    }\n  ]\n}'"}]}},"/v1/sage-50/jobs":{"get":{"tags":["Jobs"],"responses":{"200":{"description":"A page of Sage 50 jobs.","content":{"application/json":{"schema":{"type":"object","properties":{"objectType":{"type":"string","enum":["list"]},"url":{"type":"string","minLength":1},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_job"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"code":{"type":"string","nullable":true,"minLength":1},"name":{"type":"string","nullable":true,"minLength":1},"customerId":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"budgetAmount":{"type":"number","nullable":true}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}}},"nextCursor":{"type":"string","nullable":true},"hasMore":{"type":"boolean"},"remainingCount":{"type":"integer","minimum":0}},"required":["objectType","url","data","nextCursor","hasMore","remainingCount"]},"examples":{"list":{"summary":"Jobs page","value":{"objectType":"list","url":"/v1/sage-50/jobs","data":[{"id":"job_123","objectType":"sage50_job","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"JOBS-123"},"code":"JOB-100","name":"Main Street Buildout","customerId":"cust_123","status":"active","budgetAmount":125000}],"nextCursor":null,"hasMore":false,"remainingCount":0}},"emptyPage":{"summary":"No jobs found","value":{"objectType":"list","url":"/v1/sage-50/jobs","data":[],"nextCursor":null,"hasMore":false,"remainingCount":0}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"listSage50Jobs","summary":"Get Jobs","description":"Gets jobs from the selected Sage company through one country-neutral route.\n\n### When to use\n- Use this route when you need a page of jobs for sync, browsing, or search flows.\n- Prefer `updatedSince` plus `cursor` for incremental sync and resumable imports.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Pagination\n- Use `limit` to control page size.\n- Use `cursor` to continue from the previous page.\n- Use `updatedSince` when the connected Sage company supports incremental filtering.\n\n### Response shape\nReturns the standard list wrapper with normalized Sage resource objects inside `data`.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst jobs = await client.sage50.jobs.list({\n  connectionId: \"conn_123\",\n  limit: 20\n});\n\nconsole.log(jobs.data);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\njobs = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/jobs?limit=20\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\njobs.raise_for_status()\njobs = jobs.json()\nprint(jobs[\"data\"])"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/jobs?limit=20\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/jobs?limit=20\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"limit","in":"query","required":false,"description":"How many records to return at once.","schema":{"type":"integer","minimum":1,"maximum":150,"default":100,"example":100}},{"name":"cursor","in":"query","required":false,"description":"The next-page marker from a previous response.","schema":{"type":"string","minLength":1,"example":"cur_eyJvZmZzZXQiOjEwMH0"}},{"name":"updatedSince","in":"query","required":false,"description":"Only return records changed after this time, when the connected Sage company can support that filter.","schema":{"type":"string","format":"date-time","example":"2026-04-01T00:00:00.000Z"}}]},"post":{"tags":["Jobs"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"externalId":{"type":"string","nullable":true,"minLength":1},"revisionNumber":{"type":"string","nullable":true,"minLength":1},"code":{"type":"string","nullable":true,"minLength":1},"name":{"type":"string","nullable":true,"minLength":1},"customerId":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"budgetAmount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}},"examples":{"createExample":{"summary":"Create Jobs","value":{"externalId":"job_external_123","code":"JOB-100","name":"Main Street Buildout","customerId":"cust_123","status":"active","budgetAmount":125000}}}}},"required":true,"description":"The jobs record you want created in Sage. Example payload matches the generated SDK request model.\n\n### What to send\n- Send the normalized fields your app wants Sage to create.\n- Use the same field names shown in the examples and generated SDK models.\n\n### Retry behavior\nAlways send `Idempotency-Key` on create and update requests. Reuse the same key when retrying the same logical action."},"responses":{"200":{"description":"The jobs Sage created.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_job"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"code":{"type":"string","nullable":true,"minLength":1},"name":{"type":"string","nullable":true,"minLength":1},"customerId":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"budgetAmount":{"type":"number","nullable":true}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"jobs":{"summary":"Jobs","value":{"id":"job_123","objectType":"sage50_job","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"JOBS-123"},"code":"JOB-100","name":"Main Street Buildout","customerId":"cust_123","status":"active","budgetAmount":125000}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"missingIdempotencyKey":{"summary":"Idempotency key required","value":{"error":{"message":"Missing required Idempotency-Key header","userFacingMessage":"Send an idempotency key and try again.","type":"validation_error","code":"IDEMPOTENCY_KEY_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"422":{"description":"Sage validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"sageValidationFailed":{"summary":"Sage rejected the request","value":{"error":{"message":"Sage rejected the job because one or more fields were invalid.","userFacingMessage":"Review the job details and try again.","type":"integration_validation_error","code":"SAGE_VALIDATION_FAILED","httpStatusCode":422,"requestId":"req_123","integrationCode":"VAL-1001","retryable":false,"correlationId":null,"details":{"fieldErrors":[{"field":"name","message":"Name is required."}]}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"createSage50Jobs","summary":"Create Job","description":"Create job in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when your app is the source of truth for a new job.\n- Send an idempotency key whenever a network retry might happen.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Retry behavior\n- Send `Idempotency-Key` on every create and update request.\n- Reuse the same idempotency key when retrying the same logical action so Sage does not apply it twice.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst job = await client.sage50.jobs.create({\n  connectionId: \"conn_123\",\n  idempotencyKey: \"idem_20260417_0001\",\n  externalId: \"job_external_123\",\n  code: \"JOB-100\",\n  name: \"Main Street Buildout\",\n  customerId: \"cust_123\",\n  status: \"active\",\n  budgetAmount: 125000\n});\n\nconsole.log(job);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\njob = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/jobs\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\",\n        \"Idempotency-Key\": \"idem_20260417_0001\"\n    },\n    json={\n        \"externalId\": \"job_external_123\",\n        \"code\": \"JOB-100\",\n        \"name\": \"Main Street Buildout\",\n        \"customerId\": \"cust_123\",\n        \"status\": \"active\",\n        \"budgetAmount\": 125000\n    },\n)\njob.raise_for_status()\njob = job.json()\nprint(job)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/jobs\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .header(\"Idempotency-Key\", \"idem_20260417_0001\")\n    .header(\"Content-Type\", \"application/json\")\n    .POST(HttpRequest.BodyPublishers.ofString(\"{\\n  \\\"externalId\\\": \\\"job_external_123\\\",\\n  \\\"code\\\": \\\"JOB-100\\\",\\n  \\\"name\\\": \\\"Main Street Buildout\\\",\\n  \\\"customerId\\\": \\\"cust_123\\\",\\n  \\\"status\\\": \\\"active\\\",\\n  \\\"budgetAmount\\\": 125000\\n}\"));\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/jobs\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\" \\\n  --header \"Idempotency-Key: idem_20260417_0001\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n  \"externalId\": \"job_external_123\",\n  \"code\": \"JOB-100\",\n  \"name\": \"Main Street Buildout\",\n  \"customerId\": \"cust_123\",\n  \"status\": \"active\",\n  \"budgetAmount\": 125000\n}'"}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique key for this create or update. Reuse the same key when retrying the same action so Sage does not do it twice.","schema":{"type":"string","minLength":1,"example":"idem_20260417_0001"}}]}},"/v1/sage-50/jobs/{id}":{"get":{"tags":["Jobs"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"src_123"},"required":true,"name":"id","in":"path"},{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}}],"responses":{"200":{"description":"One Sage 50 job.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_job"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"code":{"type":"string","nullable":true,"minLength":1},"name":{"type":"string","nullable":true,"minLength":1},"customerId":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"budgetAmount":{"type":"number","nullable":true}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"jobs":{"summary":"Jobs","value":{"id":"job_123","objectType":"sage50_job","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"JOBS-123"},"code":"JOB-100","name":"Main Street Buildout","customerId":"cust_123","status":"active","budgetAmount":125000}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"notFound":{"summary":"Jobs not found","value":{"error":{"message":"The requested job could not be found in Sage.","userFacingMessage":"Choose an existing job and try again.","type":"not_found_error","code":"NOT_FOUND","httpStatusCode":404,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"getSage50Jobs","summary":"Get one Job","description":"Get one job in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when you already know the id for one job.\n- Use the list route first when you need discovery or pagination.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst job = await client.sage50.jobs.get({\n  connectionId: \"conn_123\",\n  id: \"job_123\"\n});\n\nconsole.log(job);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\njob = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/jobs/job_123\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\njob.raise_for_status()\njob = job.json()\nprint(job)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/jobs/job_123\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/jobs/job_123\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}]},"post":{"tags":["Jobs"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"src_123"},"required":true,"name":"id","in":"path"},{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique key for this create or update. Reuse the same key when retrying the same action so Sage does not do it twice.","schema":{"type":"string","minLength":1,"example":"idem_20260417_0001"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"externalId":{"type":"string","nullable":true,"minLength":1},"revisionNumber":{"type":"string","nullable":true,"minLength":1},"code":{"type":"string","nullable":true,"minLength":1},"name":{"type":"string","nullable":true,"minLength":1},"customerId":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"budgetAmount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}},"examples":{"updateExample":{"summary":"Update Jobs","value":{"revisionNumber":"7","name":"Main Street Buildout","status":"active"}}}}},"required":true,"description":"The jobs changes you want saved in Sage. Example payload matches the generated SDK request model.\n\n### What to send\n- Send only the fields you want Sage to change.\n- Use the same field names shown in the examples and generated SDK models.\n\n### Concurrency\nSend the latest `revisionNumber` when Sage returns one so updates stay aligned with the current desktop record.\n\n### Retry behavior\nAlways send `Idempotency-Key` on create and update requests. Reuse the same key when retrying the same logical action."},"responses":{"200":{"description":"The jobs after Sage saved the update.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_job"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"code":{"type":"string","nullable":true,"minLength":1},"name":{"type":"string","nullable":true,"minLength":1},"customerId":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"budgetAmount":{"type":"number","nullable":true}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"jobs":{"summary":"Jobs","value":{"id":"job_123","objectType":"sage50_job","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"JOBS-123"},"code":"JOB-100","name":"Main Street Buildout","customerId":"cust_123","status":"active","budgetAmount":125000}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"missingIdempotencyKey":{"summary":"Idempotency key required","value":{"error":{"message":"Missing required Idempotency-Key header","userFacingMessage":"Send an idempotency key and try again.","type":"validation_error","code":"IDEMPOTENCY_KEY_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"422":{"description":"Sage validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"sageValidationFailed":{"summary":"Sage rejected the request","value":{"error":{"message":"Sage rejected the job because one or more fields were invalid.","userFacingMessage":"Review the job details and try again.","type":"integration_validation_error","code":"SAGE_VALIDATION_FAILED","httpStatusCode":422,"requestId":"req_123","integrationCode":"VAL-1001","retryable":false,"correlationId":null,"details":{"fieldErrors":[{"field":"name","message":"Name is required."}]}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"updateSage50Jobs","summary":"Update Job","description":"Update job in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when your app needs to save changes to an existing job.\n- Send the latest `revisionNumber` when Sage provides one so updates stay concurrency-safe.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Retry behavior\n- Send `Idempotency-Key` on every create and update request.\n- Reuse the same idempotency key when retrying the same logical action so Sage does not apply it twice.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst job = await client.sage50.jobs.update({\n  connectionId: \"conn_123\",\n  id: \"job_123\",\n  idempotencyKey: \"idem_20260417_0001\",\n  revisionNumber: \"7\",\n  name: \"Main Street Buildout\",\n  status: \"active\"\n});\n\nconsole.log(job);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\njob = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/jobs/job_123\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\",\n        \"Idempotency-Key\": \"idem_20260417_0001\"\n    },\n    json={\n        \"revisionNumber\": \"7\",\n        \"name\": \"Main Street Buildout\",\n        \"status\": \"active\"\n    },\n)\njob.raise_for_status()\njob = job.json()\nprint(job)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/jobs/job_123\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .header(\"Idempotency-Key\", \"idem_20260417_0001\")\n    .header(\"Content-Type\", \"application/json\")\n    .POST(HttpRequest.BodyPublishers.ofString(\"{\\n  \\\"revisionNumber\\\": \\\"7\\\",\\n  \\\"name\\\": \\\"Main Street Buildout\\\",\\n  \\\"status\\\": \\\"active\\\"\\n}\"));\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/jobs/job_123\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\" \\\n  --header \"Idempotency-Key: idem_20260417_0001\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n  \"revisionNumber\": \"7\",\n  \"name\": \"Main Street Buildout\",\n  \"status\": \"active\"\n}'"}]}},"/v1/sage-50/phases":{"get":{"tags":["Phases"],"responses":{"200":{"description":"A page of Sage 50 phases.","content":{"application/json":{"schema":{"type":"object","properties":{"objectType":{"type":"string","enum":["list"]},"url":{"type":"string","minLength":1},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_phase"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"jobId":{"type":"string","nullable":true,"minLength":1},"code":{"type":"string","nullable":true,"minLength":1},"name":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"budgetAmount":{"type":"number","nullable":true}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}}},"nextCursor":{"type":"string","nullable":true},"hasMore":{"type":"boolean"},"remainingCount":{"type":"integer","minimum":0}},"required":["objectType","url","data","nextCursor","hasMore","remainingCount"]},"examples":{"list":{"summary":"Phases page","value":{"objectType":"list","url":"/v1/sage-50/phases","data":[{"id":"phase_123","objectType":"sage50_phase","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"PHASES-123"},"jobId":"job_123","code":"PH-10","name":"Planning","status":"active","budgetAmount":15000}],"nextCursor":null,"hasMore":false,"remainingCount":0}},"emptyPage":{"summary":"No phases found","value":{"objectType":"list","url":"/v1/sage-50/phases","data":[],"nextCursor":null,"hasMore":false,"remainingCount":0}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"listSage50Phases","summary":"Get Phases","description":"Gets phases from the selected Sage company through one country-neutral route.\n\n### When to use\n- Use this route when you need a page of phases for sync, browsing, or search flows.\n- Prefer `updatedSince` plus `cursor` for incremental sync and resumable imports.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Pagination\n- Use `limit` to control page size.\n- Use `cursor` to continue from the previous page.\n- Use `updatedSince` when the connected Sage company supports incremental filtering.\n\n### Response shape\nReturns the standard list wrapper with normalized Sage resource objects inside `data`.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst phases = await client.sage50.phases.list({\n  connectionId: \"conn_123\",\n  limit: 20\n});\n\nconsole.log(phases.data);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nphases = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/phases?limit=20\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\nphases.raise_for_status()\nphases = phases.json()\nprint(phases[\"data\"])"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/phases?limit=20\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/phases?limit=20\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"limit","in":"query","required":false,"description":"How many records to return at once.","schema":{"type":"integer","minimum":1,"maximum":150,"default":100,"example":100}},{"name":"cursor","in":"query","required":false,"description":"The next-page marker from a previous response.","schema":{"type":"string","minLength":1,"example":"cur_eyJvZmZzZXQiOjEwMH0"}},{"name":"updatedSince","in":"query","required":false,"description":"Only return records changed after this time, when the connected Sage company can support that filter.","schema":{"type":"string","format":"date-time","example":"2026-04-01T00:00:00.000Z"}}]},"post":{"tags":["Phases"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"externalId":{"type":"string","nullable":true,"minLength":1},"revisionNumber":{"type":"string","nullable":true,"minLength":1},"jobId":{"type":"string","nullable":true,"minLength":1},"code":{"type":"string","nullable":true,"minLength":1},"name":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"budgetAmount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}},"examples":{"createExample":{"summary":"Create Phases","value":{"externalId":"phase_external_123","jobId":"job_123","code":"PH-10","name":"Planning","status":"active","budgetAmount":15000}}}}},"required":true,"description":"The phases record you want created in Sage. Example payload matches the generated SDK request model.\n\n### What to send\n- Send the normalized fields your app wants Sage to create.\n- Use the same field names shown in the examples and generated SDK models.\n\n### Retry behavior\nAlways send `Idempotency-Key` on create and update requests. Reuse the same key when retrying the same logical action."},"responses":{"200":{"description":"The phases Sage created.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_phase"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"jobId":{"type":"string","nullable":true,"minLength":1},"code":{"type":"string","nullable":true,"minLength":1},"name":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"budgetAmount":{"type":"number","nullable":true}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"phases":{"summary":"Phases","value":{"id":"phase_123","objectType":"sage50_phase","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"PHASES-123"},"jobId":"job_123","code":"PH-10","name":"Planning","status":"active","budgetAmount":15000}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"missingIdempotencyKey":{"summary":"Idempotency key required","value":{"error":{"message":"Missing required Idempotency-Key header","userFacingMessage":"Send an idempotency key and try again.","type":"validation_error","code":"IDEMPOTENCY_KEY_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"422":{"description":"Sage validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"sageValidationFailed":{"summary":"Sage rejected the request","value":{"error":{"message":"Sage rejected the phase because one or more fields were invalid.","userFacingMessage":"Review the phase details and try again.","type":"integration_validation_error","code":"SAGE_VALIDATION_FAILED","httpStatusCode":422,"requestId":"req_123","integrationCode":"VAL-1001","retryable":false,"correlationId":null,"details":{"fieldErrors":[{"field":"name","message":"Name is required."}]}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"createSage50Phases","summary":"Create Phase","description":"Create phase in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when your app is the source of truth for a new phase.\n- Send an idempotency key whenever a network retry might happen.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Retry behavior\n- Send `Idempotency-Key` on every create and update request.\n- Reuse the same idempotency key when retrying the same logical action so Sage does not apply it twice.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst phase = await client.sage50.phases.create({\n  connectionId: \"conn_123\",\n  idempotencyKey: \"idem_20260417_0001\",\n  externalId: \"phase_external_123\",\n  jobId: \"job_123\",\n  code: \"PH-10\",\n  name: \"Planning\",\n  status: \"active\",\n  budgetAmount: 15000\n});\n\nconsole.log(phase);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nphase = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/phases\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\",\n        \"Idempotency-Key\": \"idem_20260417_0001\"\n    },\n    json={\n        \"externalId\": \"phase_external_123\",\n        \"jobId\": \"job_123\",\n        \"code\": \"PH-10\",\n        \"name\": \"Planning\",\n        \"status\": \"active\",\n        \"budgetAmount\": 15000\n    },\n)\nphase.raise_for_status()\nphase = phase.json()\nprint(phase)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/phases\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .header(\"Idempotency-Key\", \"idem_20260417_0001\")\n    .header(\"Content-Type\", \"application/json\")\n    .POST(HttpRequest.BodyPublishers.ofString(\"{\\n  \\\"externalId\\\": \\\"phase_external_123\\\",\\n  \\\"jobId\\\": \\\"job_123\\\",\\n  \\\"code\\\": \\\"PH-10\\\",\\n  \\\"name\\\": \\\"Planning\\\",\\n  \\\"status\\\": \\\"active\\\",\\n  \\\"budgetAmount\\\": 15000\\n}\"));\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/phases\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\" \\\n  --header \"Idempotency-Key: idem_20260417_0001\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n  \"externalId\": \"phase_external_123\",\n  \"jobId\": \"job_123\",\n  \"code\": \"PH-10\",\n  \"name\": \"Planning\",\n  \"status\": \"active\",\n  \"budgetAmount\": 15000\n}'"}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique key for this create or update. Reuse the same key when retrying the same action so Sage does not do it twice.","schema":{"type":"string","minLength":1,"example":"idem_20260417_0001"}}]}},"/v1/sage-50/phases/{id}":{"get":{"tags":["Phases"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"src_123"},"required":true,"name":"id","in":"path"},{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}}],"responses":{"200":{"description":"One Sage 50 phase.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_phase"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"jobId":{"type":"string","nullable":true,"minLength":1},"code":{"type":"string","nullable":true,"minLength":1},"name":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"budgetAmount":{"type":"number","nullable":true}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"phases":{"summary":"Phases","value":{"id":"phase_123","objectType":"sage50_phase","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"PHASES-123"},"jobId":"job_123","code":"PH-10","name":"Planning","status":"active","budgetAmount":15000}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"notFound":{"summary":"Phases not found","value":{"error":{"message":"The requested phase could not be found in Sage.","userFacingMessage":"Choose an existing phase and try again.","type":"not_found_error","code":"NOT_FOUND","httpStatusCode":404,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"getSage50Phases","summary":"Get one Phase","description":"Get one phase in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when you already know the id for one phase.\n- Use the list route first when you need discovery or pagination.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst phase = await client.sage50.phases.get({\n  connectionId: \"conn_123\",\n  id: \"phase_123\"\n});\n\nconsole.log(phase);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nphase = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/phases/phase_123\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\nphase.raise_for_status()\nphase = phase.json()\nprint(phase)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/phases/phase_123\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/phases/phase_123\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}]},"post":{"tags":["Phases"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"src_123"},"required":true,"name":"id","in":"path"},{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique key for this create or update. Reuse the same key when retrying the same action so Sage does not do it twice.","schema":{"type":"string","minLength":1,"example":"idem_20260417_0001"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"externalId":{"type":"string","nullable":true,"minLength":1},"revisionNumber":{"type":"string","nullable":true,"minLength":1},"jobId":{"type":"string","nullable":true,"minLength":1},"code":{"type":"string","nullable":true,"minLength":1},"name":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"budgetAmount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}},"examples":{"updateExample":{"summary":"Update Phases","value":{"revisionNumber":"7","name":"Planning","status":"active"}}}}},"required":true,"description":"The phases changes you want saved in Sage. Example payload matches the generated SDK request model.\n\n### What to send\n- Send only the fields you want Sage to change.\n- Use the same field names shown in the examples and generated SDK models.\n\n### Concurrency\nSend the latest `revisionNumber` when Sage returns one so updates stay aligned with the current desktop record.\n\n### Retry behavior\nAlways send `Idempotency-Key` on create and update requests. Reuse the same key when retrying the same logical action."},"responses":{"200":{"description":"The phases after Sage saved the update.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_phase"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"jobId":{"type":"string","nullable":true,"minLength":1},"code":{"type":"string","nullable":true,"minLength":1},"name":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"budgetAmount":{"type":"number","nullable":true}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"phases":{"summary":"Phases","value":{"id":"phase_123","objectType":"sage50_phase","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"PHASES-123"},"jobId":"job_123","code":"PH-10","name":"Planning","status":"active","budgetAmount":15000}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"missingIdempotencyKey":{"summary":"Idempotency key required","value":{"error":{"message":"Missing required Idempotency-Key header","userFacingMessage":"Send an idempotency key and try again.","type":"validation_error","code":"IDEMPOTENCY_KEY_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"422":{"description":"Sage validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"sageValidationFailed":{"summary":"Sage rejected the request","value":{"error":{"message":"Sage rejected the phase because one or more fields were invalid.","userFacingMessage":"Review the phase details and try again.","type":"integration_validation_error","code":"SAGE_VALIDATION_FAILED","httpStatusCode":422,"requestId":"req_123","integrationCode":"VAL-1001","retryable":false,"correlationId":null,"details":{"fieldErrors":[{"field":"name","message":"Name is required."}]}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"updateSage50Phases","summary":"Update Phase","description":"Update phase in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when your app needs to save changes to an existing phase.\n- Send the latest `revisionNumber` when Sage provides one so updates stay concurrency-safe.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Retry behavior\n- Send `Idempotency-Key` on every create and update request.\n- Reuse the same idempotency key when retrying the same logical action so Sage does not apply it twice.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst phase = await client.sage50.phases.update({\n  connectionId: \"conn_123\",\n  id: \"phase_123\",\n  idempotencyKey: \"idem_20260417_0001\",\n  revisionNumber: \"7\",\n  name: \"Planning\",\n  status: \"active\"\n});\n\nconsole.log(phase);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nphase = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/phases/phase_123\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\",\n        \"Idempotency-Key\": \"idem_20260417_0001\"\n    },\n    json={\n        \"revisionNumber\": \"7\",\n        \"name\": \"Planning\",\n        \"status\": \"active\"\n    },\n)\nphase.raise_for_status()\nphase = phase.json()\nprint(phase)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/phases/phase_123\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .header(\"Idempotency-Key\", \"idem_20260417_0001\")\n    .header(\"Content-Type\", \"application/json\")\n    .POST(HttpRequest.BodyPublishers.ofString(\"{\\n  \\\"revisionNumber\\\": \\\"7\\\",\\n  \\\"name\\\": \\\"Planning\\\",\\n  \\\"status\\\": \\\"active\\\"\\n}\"));\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/phases/phase_123\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\" \\\n  --header \"Idempotency-Key: idem_20260417_0001\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n  \"revisionNumber\": \"7\",\n  \"name\": \"Planning\",\n  \"status\": \"active\"\n}'"}]}},"/v1/sage-50/cost-codes":{"get":{"tags":["Cost Codes"],"responses":{"200":{"description":"A page of Sage 50 cost codes.","content":{"application/json":{"schema":{"type":"object","properties":{"objectType":{"type":"string","enum":["list"]},"url":{"type":"string","minLength":1},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_cost_code"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"phaseId":{"type":"string","nullable":true,"minLength":1},"code":{"type":"string","nullable":true,"minLength":1},"name":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"budgetAmount":{"type":"number","nullable":true}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}}},"nextCursor":{"type":"string","nullable":true},"hasMore":{"type":"boolean"},"remainingCount":{"type":"integer","minimum":0}},"required":["objectType","url","data","nextCursor","hasMore","remainingCount"]},"examples":{"list":{"summary":"Cost Codes page","value":{"objectType":"list","url":"/v1/sage-50/cost-codes","data":[{"id":"costCode_123","objectType":"sage50_cost_code","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"COSTCODES-123"},"phaseId":"phase_123","code":"CC-100","name":"Labor","status":"active","budgetAmount":6000}],"nextCursor":null,"hasMore":false,"remainingCount":0}},"emptyPage":{"summary":"No cost codes found","value":{"objectType":"list","url":"/v1/sage-50/cost-codes","data":[],"nextCursor":null,"hasMore":false,"remainingCount":0}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"listSage50CostCodes","summary":"Get Cost Codes","description":"Gets cost codes from the selected Sage company through one country-neutral route.\n\n### When to use\n- Use this route when you need a page of cost codes for sync, browsing, or search flows.\n- Prefer `updatedSince` plus `cursor` for incremental sync and resumable imports.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Pagination\n- Use `limit` to control page size.\n- Use `cursor` to continue from the previous page.\n- Use `updatedSince` when the connected Sage company supports incremental filtering.\n\n### Response shape\nReturns the standard list wrapper with normalized Sage resource objects inside `data`.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst costCodes = await client.sage50.costCodes.list({\n  connectionId: \"conn_123\",\n  limit: 20\n});\n\nconsole.log(costCodes.data);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\ncostCodes = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/cost-codes?limit=20\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\ncostCodes.raise_for_status()\ncostCodes = costCodes.json()\nprint(costCodes[\"data\"])"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/cost-codes?limit=20\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/cost-codes?limit=20\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"limit","in":"query","required":false,"description":"How many records to return at once.","schema":{"type":"integer","minimum":1,"maximum":150,"default":100,"example":100}},{"name":"cursor","in":"query","required":false,"description":"The next-page marker from a previous response.","schema":{"type":"string","minLength":1,"example":"cur_eyJvZmZzZXQiOjEwMH0"}},{"name":"updatedSince","in":"query","required":false,"description":"Only return records changed after this time, when the connected Sage company can support that filter.","schema":{"type":"string","format":"date-time","example":"2026-04-01T00:00:00.000Z"}}]},"post":{"tags":["Cost Codes"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"externalId":{"type":"string","nullable":true,"minLength":1},"revisionNumber":{"type":"string","nullable":true,"minLength":1},"phaseId":{"type":"string","nullable":true,"minLength":1},"code":{"type":"string","nullable":true,"minLength":1},"name":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"budgetAmount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}},"examples":{"createExample":{"summary":"Create Cost Codes","value":{"externalId":"costCode_external_123","phaseId":"phase_123","code":"CC-100","name":"Labor","status":"active","budgetAmount":6000}}}}},"required":true,"description":"The cost codes record you want created in Sage. Example payload matches the generated SDK request model.\n\n### What to send\n- Send the normalized fields your app wants Sage to create.\n- Use the same field names shown in the examples and generated SDK models.\n\n### Retry behavior\nAlways send `Idempotency-Key` on create and update requests. Reuse the same key when retrying the same logical action."},"responses":{"200":{"description":"The cost codes Sage created.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_cost_code"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"phaseId":{"type":"string","nullable":true,"minLength":1},"code":{"type":"string","nullable":true,"minLength":1},"name":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"budgetAmount":{"type":"number","nullable":true}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"costCodes":{"summary":"Cost Codes","value":{"id":"costCode_123","objectType":"sage50_cost_code","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"COSTCODES-123"},"phaseId":"phase_123","code":"CC-100","name":"Labor","status":"active","budgetAmount":6000}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"missingIdempotencyKey":{"summary":"Idempotency key required","value":{"error":{"message":"Missing required Idempotency-Key header","userFacingMessage":"Send an idempotency key and try again.","type":"validation_error","code":"IDEMPOTENCY_KEY_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"422":{"description":"Sage validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"sageValidationFailed":{"summary":"Sage rejected the request","value":{"error":{"message":"Sage rejected the cost code because one or more fields were invalid.","userFacingMessage":"Review the cost code details and try again.","type":"integration_validation_error","code":"SAGE_VALIDATION_FAILED","httpStatusCode":422,"requestId":"req_123","integrationCode":"VAL-1001","retryable":false,"correlationId":null,"details":{"fieldErrors":[{"field":"name","message":"Name is required."}]}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"createSage50CostCodes","summary":"Create Cost Code","description":"Create cost code in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when your app is the source of truth for a new cost code.\n- Send an idempotency key whenever a network retry might happen.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Retry behavior\n- Send `Idempotency-Key` on every create and update request.\n- Reuse the same idempotency key when retrying the same logical action so Sage does not apply it twice.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst costCode = await client.sage50.costCodes.create({\n  connectionId: \"conn_123\",\n  idempotencyKey: \"idem_20260417_0001\",\n  externalId: \"costCode_external_123\",\n  phaseId: \"phase_123\",\n  code: \"CC-100\",\n  name: \"Labor\",\n  status: \"active\",\n  budgetAmount: 6000\n});\n\nconsole.log(costCode);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\ncostCode = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/cost-codes\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\",\n        \"Idempotency-Key\": \"idem_20260417_0001\"\n    },\n    json={\n        \"externalId\": \"costCode_external_123\",\n        \"phaseId\": \"phase_123\",\n        \"code\": \"CC-100\",\n        \"name\": \"Labor\",\n        \"status\": \"active\",\n        \"budgetAmount\": 6000\n    },\n)\ncostCode.raise_for_status()\ncostCode = costCode.json()\nprint(costCode)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/cost-codes\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .header(\"Idempotency-Key\", \"idem_20260417_0001\")\n    .header(\"Content-Type\", \"application/json\")\n    .POST(HttpRequest.BodyPublishers.ofString(\"{\\n  \\\"externalId\\\": \\\"costCode_external_123\\\",\\n  \\\"phaseId\\\": \\\"phase_123\\\",\\n  \\\"code\\\": \\\"CC-100\\\",\\n  \\\"name\\\": \\\"Labor\\\",\\n  \\\"status\\\": \\\"active\\\",\\n  \\\"budgetAmount\\\": 6000\\n}\"));\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/cost-codes\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\" \\\n  --header \"Idempotency-Key: idem_20260417_0001\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n  \"externalId\": \"costCode_external_123\",\n  \"phaseId\": \"phase_123\",\n  \"code\": \"CC-100\",\n  \"name\": \"Labor\",\n  \"status\": \"active\",\n  \"budgetAmount\": 6000\n}'"}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique key for this create or update. Reuse the same key when retrying the same action so Sage does not do it twice.","schema":{"type":"string","minLength":1,"example":"idem_20260417_0001"}}]}},"/v1/sage-50/cost-codes/{id}":{"get":{"tags":["Cost Codes"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"src_123"},"required":true,"name":"id","in":"path"},{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}}],"responses":{"200":{"description":"One Sage 50 cost code.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_cost_code"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"phaseId":{"type":"string","nullable":true,"minLength":1},"code":{"type":"string","nullable":true,"minLength":1},"name":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"budgetAmount":{"type":"number","nullable":true}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"costCodes":{"summary":"Cost Codes","value":{"id":"costCode_123","objectType":"sage50_cost_code","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"COSTCODES-123"},"phaseId":"phase_123","code":"CC-100","name":"Labor","status":"active","budgetAmount":6000}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"notFound":{"summary":"Cost Codes not found","value":{"error":{"message":"The requested cost code could not be found in Sage.","userFacingMessage":"Choose an existing cost code and try again.","type":"not_found_error","code":"NOT_FOUND","httpStatusCode":404,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"getSage50CostCodes","summary":"Get one Cost Code","description":"Get one cost code in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when you already know the id for one cost code.\n- Use the list route first when you need discovery or pagination.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst costCode = await client.sage50.costCodes.get({\n  connectionId: \"conn_123\",\n  id: \"costCode_123\"\n});\n\nconsole.log(costCode);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\ncostCode = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/cost-codes/costCode_123\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\ncostCode.raise_for_status()\ncostCode = costCode.json()\nprint(costCode)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/cost-codes/costCode_123\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/cost-codes/costCode_123\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}]},"post":{"tags":["Cost Codes"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"src_123"},"required":true,"name":"id","in":"path"},{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique key for this create or update. Reuse the same key when retrying the same action so Sage does not do it twice.","schema":{"type":"string","minLength":1,"example":"idem_20260417_0001"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"externalId":{"type":"string","nullable":true,"minLength":1},"revisionNumber":{"type":"string","nullable":true,"minLength":1},"phaseId":{"type":"string","nullable":true,"minLength":1},"code":{"type":"string","nullable":true,"minLength":1},"name":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"budgetAmount":{"type":"number","nullable":true}},"additionalProperties":{"nullable":true}},"examples":{"updateExample":{"summary":"Update Cost Codes","value":{"revisionNumber":"7","name":"Labor","status":"active"}}}}},"required":true,"description":"The cost codes changes you want saved in Sage. Example payload matches the generated SDK request model.\n\n### What to send\n- Send only the fields you want Sage to change.\n- Use the same field names shown in the examples and generated SDK models.\n\n### Concurrency\nSend the latest `revisionNumber` when Sage returns one so updates stay aligned with the current desktop record.\n\n### Retry behavior\nAlways send `Idempotency-Key` on create and update requests. Reuse the same key when retrying the same logical action."},"responses":{"200":{"description":"The cost codes after Sage saved the update.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_cost_code"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"phaseId":{"type":"string","nullable":true,"minLength":1},"code":{"type":"string","nullable":true,"minLength":1},"name":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"budgetAmount":{"type":"number","nullable":true}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"costCodes":{"summary":"Cost Codes","value":{"id":"costCode_123","objectType":"sage50_cost_code","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"COSTCODES-123"},"phaseId":"phase_123","code":"CC-100","name":"Labor","status":"active","budgetAmount":6000}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"missingIdempotencyKey":{"summary":"Idempotency key required","value":{"error":{"message":"Missing required Idempotency-Key header","userFacingMessage":"Send an idempotency key and try again.","type":"validation_error","code":"IDEMPOTENCY_KEY_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"422":{"description":"Sage validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"sageValidationFailed":{"summary":"Sage rejected the request","value":{"error":{"message":"Sage rejected the cost code because one or more fields were invalid.","userFacingMessage":"Review the cost code details and try again.","type":"integration_validation_error","code":"SAGE_VALIDATION_FAILED","httpStatusCode":422,"requestId":"req_123","integrationCode":"VAL-1001","retryable":false,"correlationId":null,"details":{"fieldErrors":[{"field":"name","message":"Name is required."}]}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"updateSage50CostCodes","summary":"Update Cost Code","description":"Update cost code in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when your app needs to save changes to an existing cost code.\n- Send the latest `revisionNumber` when Sage provides one so updates stay concurrency-safe.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Retry behavior\n- Send `Idempotency-Key` on every create and update request.\n- Reuse the same idempotency key when retrying the same logical action so Sage does not apply it twice.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst costCode = await client.sage50.costCodes.update({\n  connectionId: \"conn_123\",\n  id: \"costCode_123\",\n  idempotencyKey: \"idem_20260417_0001\",\n  revisionNumber: \"7\",\n  name: \"Labor\",\n  status: \"active\"\n});\n\nconsole.log(costCode);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\ncostCode = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/cost-codes/costCode_123\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\",\n        \"Idempotency-Key\": \"idem_20260417_0001\"\n    },\n    json={\n        \"revisionNumber\": \"7\",\n        \"name\": \"Labor\",\n        \"status\": \"active\"\n    },\n)\ncostCode.raise_for_status()\ncostCode = costCode.json()\nprint(costCode)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/cost-codes/costCode_123\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .header(\"Idempotency-Key\", \"idem_20260417_0001\")\n    .header(\"Content-Type\", \"application/json\")\n    .POST(HttpRequest.BodyPublishers.ofString(\"{\\n  \\\"revisionNumber\\\": \\\"7\\\",\\n  \\\"name\\\": \\\"Labor\\\",\\n  \\\"status\\\": \\\"active\\\"\\n}\"));\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/cost-codes/costCode_123\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\" \\\n  --header \"Idempotency-Key: idem_20260417_0001\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n  \"revisionNumber\": \"7\",\n  \"name\": \"Labor\",\n  \"status\": \"active\"\n}'"}]}},"/v1/sage-50/change-orders":{"get":{"tags":["Change Orders"],"responses":{"200":{"description":"A page of Sage 50 change orders.","content":{"application/json":{"schema":{"type":"object","properties":{"objectType":{"type":"string","enum":["list"]},"url":{"type":"string","minLength":1},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_change_order"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"jobId":{"type":"string","nullable":true,"minLength":1},"changeOrderNumber":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"totalAmount":{"type":"number","nullable":true},"description":{"type":"string","nullable":true,"minLength":1}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}}},"nextCursor":{"type":"string","nullable":true},"hasMore":{"type":"boolean"},"remainingCount":{"type":"integer","minimum":0}},"required":["objectType","url","data","nextCursor","hasMore","remainingCount"]},"examples":{"list":{"summary":"Change Orders page","value":{"objectType":"list","url":"/v1/sage-50/change-orders","data":[{"id":"changeOrder_123","objectType":"sage50_change_order","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"CHANGEORDERS-123"},"jobId":"job_123","changeOrderNumber":"CO-1001","status":"approved","totalAmount":4200,"description":"Additional site prep"}],"nextCursor":null,"hasMore":false,"remainingCount":0}},"emptyPage":{"summary":"No change orders found","value":{"objectType":"list","url":"/v1/sage-50/change-orders","data":[],"nextCursor":null,"hasMore":false,"remainingCount":0}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"listSage50ChangeOrders","summary":"Get Change Orders","description":"Gets change orders from the selected Sage company through one country-neutral route.\n\n### When to use\n- Use this route when you need a page of change orders for sync, browsing, or search flows.\n- Prefer `updatedSince` plus `cursor` for incremental sync and resumable imports.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Pagination\n- Use `limit` to control page size.\n- Use `cursor` to continue from the previous page.\n- Use `updatedSince` when the connected Sage company supports incremental filtering.\n\n### Response shape\nReturns the standard list wrapper with normalized Sage resource objects inside `data`.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst changeOrders = await client.sage50.changeOrders.list({\n  connectionId: \"conn_123\",\n  limit: 20\n});\n\nconsole.log(changeOrders.data);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nchangeOrders = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/change-orders?limit=20\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\nchangeOrders.raise_for_status()\nchangeOrders = changeOrders.json()\nprint(changeOrders[\"data\"])"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/change-orders?limit=20\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/change-orders?limit=20\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"limit","in":"query","required":false,"description":"How many records to return at once.","schema":{"type":"integer","minimum":1,"maximum":150,"default":100,"example":100}},{"name":"cursor","in":"query","required":false,"description":"The next-page marker from a previous response.","schema":{"type":"string","minLength":1,"example":"cur_eyJvZmZzZXQiOjEwMH0"}},{"name":"updatedSince","in":"query","required":false,"description":"Only return records changed after this time, when the connected Sage company can support that filter.","schema":{"type":"string","format":"date-time","example":"2026-04-01T00:00:00.000Z"}}]},"post":{"tags":["Change Orders"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"externalId":{"type":"string","nullable":true,"minLength":1},"revisionNumber":{"type":"string","nullable":true,"minLength":1},"jobId":{"type":"string","nullable":true,"minLength":1},"changeOrderNumber":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"totalAmount":{"type":"number","nullable":true},"description":{"type":"string","nullable":true,"minLength":1}},"additionalProperties":{"nullable":true}},"examples":{"createExample":{"summary":"Create Change Orders","value":{"externalId":"changeOrder_external_123","jobId":"job_123","changeOrderNumber":"CO-1001","status":"approved","totalAmount":4200,"description":"Additional site prep"}}}}},"required":true,"description":"The change orders record you want created in Sage. Example payload matches the generated SDK request model.\n\n### What to send\n- Send the normalized fields your app wants Sage to create.\n- Use the same field names shown in the examples and generated SDK models.\n\n### Retry behavior\nAlways send `Idempotency-Key` on create and update requests. Reuse the same key when retrying the same logical action."},"responses":{"200":{"description":"The change orders Sage created.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_change_order"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"jobId":{"type":"string","nullable":true,"minLength":1},"changeOrderNumber":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"totalAmount":{"type":"number","nullable":true},"description":{"type":"string","nullable":true,"minLength":1}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"changeOrders":{"summary":"Change Orders","value":{"id":"changeOrder_123","objectType":"sage50_change_order","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"CHANGEORDERS-123"},"jobId":"job_123","changeOrderNumber":"CO-1001","status":"approved","totalAmount":4200,"description":"Additional site prep"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"missingIdempotencyKey":{"summary":"Idempotency key required","value":{"error":{"message":"Missing required Idempotency-Key header","userFacingMessage":"Send an idempotency key and try again.","type":"validation_error","code":"IDEMPOTENCY_KEY_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"422":{"description":"Sage validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"sageValidationFailed":{"summary":"Sage rejected the request","value":{"error":{"message":"Sage rejected the change order because one or more fields were invalid.","userFacingMessage":"Review the change order details and try again.","type":"integration_validation_error","code":"SAGE_VALIDATION_FAILED","httpStatusCode":422,"requestId":"req_123","integrationCode":"VAL-1001","retryable":false,"correlationId":null,"details":{"fieldErrors":[{"field":"name","message":"Name is required."}]}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"createSage50ChangeOrders","summary":"Create Change Order","description":"Create change order in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when your app is the source of truth for a new change order.\n- Send an idempotency key whenever a network retry might happen.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Retry behavior\n- Send `Idempotency-Key` on every create and update request.\n- Reuse the same idempotency key when retrying the same logical action so Sage does not apply it twice.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst changeOrder = await client.sage50.changeOrders.create({\n  connectionId: \"conn_123\",\n  idempotencyKey: \"idem_20260417_0001\",\n  externalId: \"changeOrder_external_123\",\n  jobId: \"job_123\",\n  changeOrderNumber: \"CO-1001\",\n  status: \"approved\",\n  totalAmount: 4200,\n  description: \"Additional site prep\"\n});\n\nconsole.log(changeOrder);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nchangeOrder = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/change-orders\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\",\n        \"Idempotency-Key\": \"idem_20260417_0001\"\n    },\n    json={\n        \"externalId\": \"changeOrder_external_123\",\n        \"jobId\": \"job_123\",\n        \"changeOrderNumber\": \"CO-1001\",\n        \"status\": \"approved\",\n        \"totalAmount\": 4200,\n        \"description\": \"Additional site prep\"\n    },\n)\nchangeOrder.raise_for_status()\nchangeOrder = changeOrder.json()\nprint(changeOrder)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/change-orders\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .header(\"Idempotency-Key\", \"idem_20260417_0001\")\n    .header(\"Content-Type\", \"application/json\")\n    .POST(HttpRequest.BodyPublishers.ofString(\"{\\n  \\\"externalId\\\": \\\"changeOrder_external_123\\\",\\n  \\\"jobId\\\": \\\"job_123\\\",\\n  \\\"changeOrderNumber\\\": \\\"CO-1001\\\",\\n  \\\"status\\\": \\\"approved\\\",\\n  \\\"totalAmount\\\": 4200,\\n  \\\"description\\\": \\\"Additional site prep\\\"\\n}\"));\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/change-orders\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\" \\\n  --header \"Idempotency-Key: idem_20260417_0001\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n  \"externalId\": \"changeOrder_external_123\",\n  \"jobId\": \"job_123\",\n  \"changeOrderNumber\": \"CO-1001\",\n  \"status\": \"approved\",\n  \"totalAmount\": 4200,\n  \"description\": \"Additional site prep\"\n}'"}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique key for this create or update. Reuse the same key when retrying the same action so Sage does not do it twice.","schema":{"type":"string","minLength":1,"example":"idem_20260417_0001"}}]}},"/v1/sage-50/change-orders/{id}":{"get":{"tags":["Change Orders"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"src_123"},"required":true,"name":"id","in":"path"},{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}}],"responses":{"200":{"description":"One Sage 50 change order.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_change_order"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"jobId":{"type":"string","nullable":true,"minLength":1},"changeOrderNumber":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"totalAmount":{"type":"number","nullable":true},"description":{"type":"string","nullable":true,"minLength":1}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"changeOrders":{"summary":"Change Orders","value":{"id":"changeOrder_123","objectType":"sage50_change_order","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"CHANGEORDERS-123"},"jobId":"job_123","changeOrderNumber":"CO-1001","status":"approved","totalAmount":4200,"description":"Additional site prep"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"notFound":{"summary":"Change Orders not found","value":{"error":{"message":"The requested change order could not be found in Sage.","userFacingMessage":"Choose an existing change order and try again.","type":"not_found_error","code":"NOT_FOUND","httpStatusCode":404,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"getSage50ChangeOrders","summary":"Get one Change Order","description":"Get one change order in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when you already know the id for one change order.\n- Use the list route first when you need discovery or pagination.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst changeOrder = await client.sage50.changeOrders.get({\n  connectionId: \"conn_123\",\n  id: \"changeOrder_123\"\n});\n\nconsole.log(changeOrder);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nchangeOrder = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/change-orders/changeOrder_123\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\nchangeOrder.raise_for_status()\nchangeOrder = changeOrder.json()\nprint(changeOrder)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/change-orders/changeOrder_123\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/change-orders/changeOrder_123\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}]},"post":{"tags":["Change Orders"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"src_123"},"required":true,"name":"id","in":"path"},{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique key for this create or update. Reuse the same key when retrying the same action so Sage does not do it twice.","schema":{"type":"string","minLength":1,"example":"idem_20260417_0001"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"externalId":{"type":"string","nullable":true,"minLength":1},"revisionNumber":{"type":"string","nullable":true,"minLength":1},"jobId":{"type":"string","nullable":true,"minLength":1},"changeOrderNumber":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"totalAmount":{"type":"number","nullable":true},"description":{"type":"string","nullable":true,"minLength":1}},"additionalProperties":{"nullable":true}},"examples":{"updateExample":{"summary":"Update Change Orders","value":{"revisionNumber":"7","description":"Additional site prep","status":"approved"}}}}},"required":true,"description":"The change orders changes you want saved in Sage. Example payload matches the generated SDK request model.\n\n### What to send\n- Send only the fields you want Sage to change.\n- Use the same field names shown in the examples and generated SDK models.\n\n### Concurrency\nSend the latest `revisionNumber` when Sage returns one so updates stay aligned with the current desktop record.\n\n### Retry behavior\nAlways send `Idempotency-Key` on create and update requests. Reuse the same key when retrying the same logical action."},"responses":{"200":{"description":"The change orders after Sage saved the update.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_change_order"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"jobId":{"type":"string","nullable":true,"minLength":1},"changeOrderNumber":{"type":"string","nullable":true,"minLength":1},"status":{"type":"string","nullable":true,"minLength":1},"totalAmount":{"type":"number","nullable":true},"description":{"type":"string","nullable":true,"minLength":1}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"changeOrders":{"summary":"Change Orders","value":{"id":"changeOrder_123","objectType":"sage50_change_order","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"CHANGEORDERS-123"},"jobId":"job_123","changeOrderNumber":"CO-1001","status":"approved","totalAmount":4200,"description":"Additional site prep"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"missingIdempotencyKey":{"summary":"Idempotency key required","value":{"error":{"message":"Missing required Idempotency-Key header","userFacingMessage":"Send an idempotency key and try again.","type":"validation_error","code":"IDEMPOTENCY_KEY_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"422":{"description":"Sage validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"sageValidationFailed":{"summary":"Sage rejected the request","value":{"error":{"message":"Sage rejected the change order because one or more fields were invalid.","userFacingMessage":"Review the change order details and try again.","type":"integration_validation_error","code":"SAGE_VALIDATION_FAILED","httpStatusCode":422,"requestId":"req_123","integrationCode":"VAL-1001","retryable":false,"correlationId":null,"details":{"fieldErrors":[{"field":"name","message":"Name is required."}]}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"updateSage50ChangeOrders","summary":"Update Change Order","description":"Update change order in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when your app needs to save changes to an existing change order.\n- Send the latest `revisionNumber` when Sage provides one so updates stay concurrency-safe.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Retry behavior\n- Send `Idempotency-Key` on every create and update request.\n- Reuse the same idempotency key when retrying the same logical action so Sage does not apply it twice.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst changeOrder = await client.sage50.changeOrders.update({\n  connectionId: \"conn_123\",\n  id: \"changeOrder_123\",\n  idempotencyKey: \"idem_20260417_0001\",\n  revisionNumber: \"7\",\n  description: \"Additional site prep\",\n  status: \"approved\"\n});\n\nconsole.log(changeOrder);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nchangeOrder = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/change-orders/changeOrder_123\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\",\n        \"Idempotency-Key\": \"idem_20260417_0001\"\n    },\n    json={\n        \"revisionNumber\": \"7\",\n        \"description\": \"Additional site prep\",\n        \"status\": \"approved\"\n    },\n)\nchangeOrder.raise_for_status()\nchangeOrder = changeOrder.json()\nprint(changeOrder)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/change-orders/changeOrder_123\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .header(\"Idempotency-Key\", \"idem_20260417_0001\")\n    .header(\"Content-Type\", \"application/json\")\n    .POST(HttpRequest.BodyPublishers.ofString(\"{\\n  \\\"revisionNumber\\\": \\\"7\\\",\\n  \\\"description\\\": \\\"Additional site prep\\\",\\n  \\\"status\\\": \\\"approved\\\"\\n}\"));\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/change-orders/changeOrder_123\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\" \\\n  --header \"Idempotency-Key: idem_20260417_0001\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n  \"revisionNumber\": \"7\",\n  \"description\": \"Additional site prep\",\n  \"status\": \"approved\"\n}'"}]}},"/v1/sage-50/fixed-assets":{"get":{"tags":["Fixed Assets"],"responses":{"200":{"description":"A page of Sage 50 fixed assets.","content":{"application/json":{"schema":{"type":"object","properties":{"objectType":{"type":"string","enum":["list"]},"url":{"type":"string","minLength":1},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_fixed_asset"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"assetNumber":{"type":"string","nullable":true,"minLength":1},"name":{"type":"string","nullable":true,"minLength":1},"purchaseDate":{"type":"string","nullable":true,"minLength":1},"purchaseCost":{"type":"number","nullable":true},"status":{"type":"string","nullable":true,"minLength":1}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}}},"nextCursor":{"type":"string","nullable":true},"hasMore":{"type":"boolean"},"remainingCount":{"type":"integer","minimum":0}},"required":["objectType","url","data","nextCursor","hasMore","remainingCount"]},"examples":{"list":{"summary":"Fixed Assets page","value":{"objectType":"list","url":"/v1/sage-50/fixed-assets","data":[{"id":"fixedAsset_123","objectType":"sage50_fixed_asset","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"FIXEDASSETS-123"},"assetNumber":"FA-1001","name":"Forklift","purchaseDate":"2025-11-01","purchaseCost":18400,"status":"active"}],"nextCursor":null,"hasMore":false,"remainingCount":0}},"emptyPage":{"summary":"No fixed assets found","value":{"objectType":"list","url":"/v1/sage-50/fixed-assets","data":[],"nextCursor":null,"hasMore":false,"remainingCount":0}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"listSage50FixedAssets","summary":"Get Fixed Assets","description":"Gets fixed assets from the selected Sage company through one country-neutral route.\n\n### When to use\n- Use this route when you need a page of fixed assets for sync, browsing, or search flows.\n- Prefer `updatedSince` plus `cursor` for incremental sync and resumable imports.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Pagination\n- Use `limit` to control page size.\n- Use `cursor` to continue from the previous page.\n- Use `updatedSince` when the connected Sage company supports incremental filtering.\n\n### Response shape\nReturns the standard list wrapper with normalized Sage resource objects inside `data`.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst fixedAssets = await client.sage50.fixedAssets.list({\n  connectionId: \"conn_123\",\n  limit: 20\n});\n\nconsole.log(fixedAssets.data);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nfixedAssets = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/fixed-assets?limit=20\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\nfixedAssets.raise_for_status()\nfixedAssets = fixedAssets.json()\nprint(fixedAssets[\"data\"])"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/fixed-assets?limit=20\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/fixed-assets?limit=20\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"limit","in":"query","required":false,"description":"How many records to return at once.","schema":{"type":"integer","minimum":1,"maximum":150,"default":100,"example":100}},{"name":"cursor","in":"query","required":false,"description":"The next-page marker from a previous response.","schema":{"type":"string","minLength":1,"example":"cur_eyJvZmZzZXQiOjEwMH0"}},{"name":"updatedSince","in":"query","required":false,"description":"Only return records changed after this time, when the connected Sage company can support that filter.","schema":{"type":"string","format":"date-time","example":"2026-04-01T00:00:00.000Z"}}]},"post":{"tags":["Fixed Assets"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"externalId":{"type":"string","nullable":true,"minLength":1},"revisionNumber":{"type":"string","nullable":true,"minLength":1},"assetNumber":{"type":"string","nullable":true,"minLength":1},"name":{"type":"string","nullable":true,"minLength":1},"purchaseDate":{"type":"string","nullable":true,"minLength":1},"purchaseCost":{"type":"number","nullable":true},"status":{"type":"string","nullable":true,"minLength":1}},"additionalProperties":{"nullable":true}},"examples":{"createExample":{"summary":"Create Fixed Assets","value":{"externalId":"fixedAsset_external_123","assetNumber":"FA-1001","name":"Forklift","purchaseDate":"2025-11-01","purchaseCost":18400,"status":"active"}}}}},"required":true,"description":"The fixed assets record you want created in Sage. Example payload matches the generated SDK request model.\n\n### What to send\n- Send the normalized fields your app wants Sage to create.\n- Use the same field names shown in the examples and generated SDK models.\n\n### Retry behavior\nAlways send `Idempotency-Key` on create and update requests. Reuse the same key when retrying the same logical action."},"responses":{"200":{"description":"The fixed assets Sage created.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_fixed_asset"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"assetNumber":{"type":"string","nullable":true,"minLength":1},"name":{"type":"string","nullable":true,"minLength":1},"purchaseDate":{"type":"string","nullable":true,"minLength":1},"purchaseCost":{"type":"number","nullable":true},"status":{"type":"string","nullable":true,"minLength":1}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"fixedAssets":{"summary":"Fixed Assets","value":{"id":"fixedAsset_123","objectType":"sage50_fixed_asset","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"FIXEDASSETS-123"},"assetNumber":"FA-1001","name":"Forklift","purchaseDate":"2025-11-01","purchaseCost":18400,"status":"active"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"missingIdempotencyKey":{"summary":"Idempotency key required","value":{"error":{"message":"Missing required Idempotency-Key header","userFacingMessage":"Send an idempotency key and try again.","type":"validation_error","code":"IDEMPOTENCY_KEY_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"422":{"description":"Sage validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"sageValidationFailed":{"summary":"Sage rejected the request","value":{"error":{"message":"Sage rejected the fixed asset because one or more fields were invalid.","userFacingMessage":"Review the fixed asset details and try again.","type":"integration_validation_error","code":"SAGE_VALIDATION_FAILED","httpStatusCode":422,"requestId":"req_123","integrationCode":"VAL-1001","retryable":false,"correlationId":null,"details":{"fieldErrors":[{"field":"name","message":"Name is required."}]}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"createSage50FixedAssets","summary":"Create Fixed Asset","description":"Create fixed asset in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when your app is the source of truth for a new fixed asset.\n- Send an idempotency key whenever a network retry might happen.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Retry behavior\n- Send `Idempotency-Key` on every create and update request.\n- Reuse the same idempotency key when retrying the same logical action so Sage does not apply it twice.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst fixedAsset = await client.sage50.fixedAssets.create({\n  connectionId: \"conn_123\",\n  idempotencyKey: \"idem_20260417_0001\",\n  externalId: \"fixedAsset_external_123\",\n  assetNumber: \"FA-1001\",\n  name: \"Forklift\",\n  purchaseDate: \"2025-11-01\",\n  purchaseCost: 18400,\n  status: \"active\"\n});\n\nconsole.log(fixedAsset);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nfixedAsset = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/fixed-assets\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\",\n        \"Idempotency-Key\": \"idem_20260417_0001\"\n    },\n    json={\n        \"externalId\": \"fixedAsset_external_123\",\n        \"assetNumber\": \"FA-1001\",\n        \"name\": \"Forklift\",\n        \"purchaseDate\": \"2025-11-01\",\n        \"purchaseCost\": 18400,\n        \"status\": \"active\"\n    },\n)\nfixedAsset.raise_for_status()\nfixedAsset = fixedAsset.json()\nprint(fixedAsset)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/fixed-assets\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .header(\"Idempotency-Key\", \"idem_20260417_0001\")\n    .header(\"Content-Type\", \"application/json\")\n    .POST(HttpRequest.BodyPublishers.ofString(\"{\\n  \\\"externalId\\\": \\\"fixedAsset_external_123\\\",\\n  \\\"assetNumber\\\": \\\"FA-1001\\\",\\n  \\\"name\\\": \\\"Forklift\\\",\\n  \\\"purchaseDate\\\": \\\"2025-11-01\\\",\\n  \\\"purchaseCost\\\": 18400,\\n  \\\"status\\\": \\\"active\\\"\\n}\"));\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/fixed-assets\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\" \\\n  --header \"Idempotency-Key: idem_20260417_0001\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n  \"externalId\": \"fixedAsset_external_123\",\n  \"assetNumber\": \"FA-1001\",\n  \"name\": \"Forklift\",\n  \"purchaseDate\": \"2025-11-01\",\n  \"purchaseCost\": 18400,\n  \"status\": \"active\"\n}'"}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique key for this create or update. Reuse the same key when retrying the same action so Sage does not do it twice.","schema":{"type":"string","minLength":1,"example":"idem_20260417_0001"}}]}},"/v1/sage-50/fixed-assets/{id}":{"get":{"tags":["Fixed Assets"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"src_123"},"required":true,"name":"id","in":"path"},{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}}],"responses":{"200":{"description":"One Sage 50 fixed asset.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_fixed_asset"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"assetNumber":{"type":"string","nullable":true,"minLength":1},"name":{"type":"string","nullable":true,"minLength":1},"purchaseDate":{"type":"string","nullable":true,"minLength":1},"purchaseCost":{"type":"number","nullable":true},"status":{"type":"string","nullable":true,"minLength":1}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"fixedAssets":{"summary":"Fixed Assets","value":{"id":"fixedAsset_123","objectType":"sage50_fixed_asset","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"FIXEDASSETS-123"},"assetNumber":"FA-1001","name":"Forklift","purchaseDate":"2025-11-01","purchaseCost":18400,"status":"active"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"notFound":{"summary":"Fixed Assets not found","value":{"error":{"message":"The requested fixed asset could not be found in Sage.","userFacingMessage":"Choose an existing fixed asset and try again.","type":"not_found_error","code":"NOT_FOUND","httpStatusCode":404,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"getSage50FixedAssets","summary":"Get one Fixed Asset","description":"Get one fixed asset in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when you already know the id for one fixed asset.\n- Use the list route first when you need discovery or pagination.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst fixedAsset = await client.sage50.fixedAssets.get({\n  connectionId: \"conn_123\",\n  id: \"fixedAsset_123\"\n});\n\nconsole.log(fixedAsset);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nfixedAsset = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/fixed-assets/fixedAsset_123\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\nfixedAsset.raise_for_status()\nfixedAsset = fixedAsset.json()\nprint(fixedAsset)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/fixed-assets/fixedAsset_123\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/fixed-assets/fixedAsset_123\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}]},"post":{"tags":["Fixed Assets"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"src_123"},"required":true,"name":"id","in":"path"},{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique key for this create or update. Reuse the same key when retrying the same action so Sage does not do it twice.","schema":{"type":"string","minLength":1,"example":"idem_20260417_0001"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"externalId":{"type":"string","nullable":true,"minLength":1},"revisionNumber":{"type":"string","nullable":true,"minLength":1},"assetNumber":{"type":"string","nullable":true,"minLength":1},"name":{"type":"string","nullable":true,"minLength":1},"purchaseDate":{"type":"string","nullable":true,"minLength":1},"purchaseCost":{"type":"number","nullable":true},"status":{"type":"string","nullable":true,"minLength":1}},"additionalProperties":{"nullable":true}},"examples":{"updateExample":{"summary":"Update Fixed Assets","value":{"revisionNumber":"7","name":"Forklift","status":"active"}}}}},"required":true,"description":"The fixed assets changes you want saved in Sage. Example payload matches the generated SDK request model.\n\n### What to send\n- Send only the fields you want Sage to change.\n- Use the same field names shown in the examples and generated SDK models.\n\n### Concurrency\nSend the latest `revisionNumber` when Sage returns one so updates stay aligned with the current desktop record.\n\n### Retry behavior\nAlways send `Idempotency-Key` on create and update requests. Reuse the same key when retrying the same logical action."},"responses":{"200":{"description":"The fixed assets after Sage saved the update.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_fixed_asset"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"assetNumber":{"type":"string","nullable":true,"minLength":1},"name":{"type":"string","nullable":true,"minLength":1},"purchaseDate":{"type":"string","nullable":true,"minLength":1},"purchaseCost":{"type":"number","nullable":true},"status":{"type":"string","nullable":true,"minLength":1}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"fixedAssets":{"summary":"Fixed Assets","value":{"id":"fixedAsset_123","objectType":"sage50_fixed_asset","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"FIXEDASSETS-123"},"assetNumber":"FA-1001","name":"Forklift","purchaseDate":"2025-11-01","purchaseCost":18400,"status":"active"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"missingIdempotencyKey":{"summary":"Idempotency key required","value":{"error":{"message":"Missing required Idempotency-Key header","userFacingMessage":"Send an idempotency key and try again.","type":"validation_error","code":"IDEMPOTENCY_KEY_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"422":{"description":"Sage validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"sageValidationFailed":{"summary":"Sage rejected the request","value":{"error":{"message":"Sage rejected the fixed asset because one or more fields were invalid.","userFacingMessage":"Review the fixed asset details and try again.","type":"integration_validation_error","code":"SAGE_VALIDATION_FAILED","httpStatusCode":422,"requestId":"req_123","integrationCode":"VAL-1001","retryable":false,"correlationId":null,"details":{"fieldErrors":[{"field":"name","message":"Name is required."}]}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"updateSage50FixedAssets","summary":"Update Fixed Asset","description":"Update fixed asset in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when your app needs to save changes to an existing fixed asset.\n- Send the latest `revisionNumber` when Sage provides one so updates stay concurrency-safe.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Retry behavior\n- Send `Idempotency-Key` on every create and update request.\n- Reuse the same idempotency key when retrying the same logical action so Sage does not apply it twice.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst fixedAsset = await client.sage50.fixedAssets.update({\n  connectionId: \"conn_123\",\n  id: \"fixedAsset_123\",\n  idempotencyKey: \"idem_20260417_0001\",\n  revisionNumber: \"7\",\n  name: \"Forklift\",\n  status: \"active\"\n});\n\nconsole.log(fixedAsset);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nfixedAsset = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/fixed-assets/fixedAsset_123\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\",\n        \"Idempotency-Key\": \"idem_20260417_0001\"\n    },\n    json={\n        \"revisionNumber\": \"7\",\n        \"name\": \"Forklift\",\n        \"status\": \"active\"\n    },\n)\nfixedAsset.raise_for_status()\nfixedAsset = fixedAsset.json()\nprint(fixedAsset)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/fixed-assets/fixedAsset_123\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .header(\"Idempotency-Key\", \"idem_20260417_0001\")\n    .header(\"Content-Type\", \"application/json\")\n    .POST(HttpRequest.BodyPublishers.ofString(\"{\\n  \\\"revisionNumber\\\": \\\"7\\\",\\n  \\\"name\\\": \\\"Forklift\\\",\\n  \\\"status\\\": \\\"active\\\"\\n}\"));\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/fixed-assets/fixedAsset_123\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\" \\\n  --header \"Idempotency-Key: idem_20260417_0001\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n  \"revisionNumber\": \"7\",\n  \"name\": \"Forklift\",\n  \"status\": \"active\"\n}'"}]}},"/v1/sage-50/attachments":{"get":{"tags":["Attachments"],"responses":{"200":{"description":"A page of Sage 50 attachments.","content":{"application/json":{"schema":{"type":"object","properties":{"objectType":{"type":"string","enum":["list"]},"url":{"type":"string","minLength":1},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_attachment"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"fileName":{"type":"string","nullable":true,"minLength":1},"contentType":{"type":"string","nullable":true,"minLength":1},"fileSize":{"type":"number","nullable":true},"downloadUrl":{"type":"string","nullable":true,"minLength":1},"target":{"type":"object","nullable":true,"properties":{"resourceType":{"type":"string","nullable":true,"minLength":1},"resourceId":{"type":"string","nullable":true,"minLength":1}},"additionalProperties":{"nullable":true}}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}}},"nextCursor":{"type":"string","nullable":true},"hasMore":{"type":"boolean"},"remainingCount":{"type":"integer","minimum":0}},"required":["objectType","url","data","nextCursor","hasMore","remainingCount"]},"examples":{"list":{"summary":"Attachments page","value":{"objectType":"list","url":"/v1/sage-50/attachments","data":[{"id":"attachment_123","objectType":"sage50_attachment","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"ATTACHMENTS-123"},"fileName":"invoice-1001.pdf","contentType":"application/pdf","fileSize":48213,"downloadUrl":"https://example.com/files/invoice-1001.pdf","target":{"resourceType":"sage50_invoice","resourceId":"inv_123"}}],"nextCursor":null,"hasMore":false,"remainingCount":0}},"emptyPage":{"summary":"No attachments found","value":{"objectType":"list","url":"/v1/sage-50/attachments","data":[],"nextCursor":null,"hasMore":false,"remainingCount":0}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"listSage50Attachments","summary":"Get Attachments","description":"Gets attachments from the selected Sage company through one country-neutral route.\n\n### When to use\n- Use this route when you need a page of attachments for sync, browsing, or search flows.\n- Prefer `updatedSince` plus `cursor` for incremental sync and resumable imports.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Pagination\n- Use `limit` to control page size.\n- Use `cursor` to continue from the previous page.\n- Use `updatedSince` when the connected Sage company supports incremental filtering.\n\n### Response shape\nReturns the standard list wrapper with normalized Sage resource objects inside `data`.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst attachments = await client.sage50.attachments.list({\n  connectionId: \"conn_123\",\n  limit: 20\n});\n\nconsole.log(attachments.data);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nattachments = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/attachments?limit=20\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\nattachments.raise_for_status()\nattachments = attachments.json()\nprint(attachments[\"data\"])"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/attachments?limit=20\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/attachments?limit=20\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"limit","in":"query","required":false,"description":"How many records to return at once.","schema":{"type":"integer","minimum":1,"maximum":150,"default":100,"example":100}},{"name":"cursor","in":"query","required":false,"description":"The next-page marker from a previous response.","schema":{"type":"string","minLength":1,"example":"cur_eyJvZmZzZXQiOjEwMH0"}},{"name":"updatedSince","in":"query","required":false,"description":"Only return records changed after this time, when the connected Sage company can support that filter.","schema":{"type":"string","format":"date-time","example":"2026-04-01T00:00:00.000Z"}}]},"post":{"tags":["Attachments"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"externalId":{"type":"string","nullable":true,"minLength":1},"revisionNumber":{"type":"string","nullable":true,"minLength":1},"fileName":{"type":"string","nullable":true,"minLength":1},"contentType":{"type":"string","nullable":true,"minLength":1},"fileSize":{"type":"number","nullable":true},"downloadUrl":{"type":"string","nullable":true,"minLength":1},"target":{"type":"object","nullable":true,"properties":{"resourceType":{"type":"string","nullable":true,"minLength":1},"resourceId":{"type":"string","nullable":true,"minLength":1}},"additionalProperties":{"nullable":true}}},"additionalProperties":{"nullable":true}},"examples":{"createExample":{"summary":"Create Attachments","value":{"externalId":"attachment_external_123","fileName":"invoice-1001.pdf","contentType":"application/pdf","fileSize":48213,"downloadUrl":"https://example.com/files/invoice-1001.pdf","target":{"resourceType":"sage50_invoice","resourceId":"inv_123"}}}}}},"required":true,"description":"The attachments record you want created in Sage. Example payload matches the generated SDK request model.\n\n### What to send\n- Send the normalized fields your app wants Sage to create.\n- Use the same field names shown in the examples and generated SDK models.\n\n### Retry behavior\nAlways send `Idempotency-Key` on create and update requests. Reuse the same key when retrying the same logical action."},"responses":{"200":{"description":"The attachments Sage created.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_attachment"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"fileName":{"type":"string","nullable":true,"minLength":1},"contentType":{"type":"string","nullable":true,"minLength":1},"fileSize":{"type":"number","nullable":true},"downloadUrl":{"type":"string","nullable":true,"minLength":1},"target":{"type":"object","nullable":true,"properties":{"resourceType":{"type":"string","nullable":true,"minLength":1},"resourceId":{"type":"string","nullable":true,"minLength":1}},"additionalProperties":{"nullable":true}}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"attachments":{"summary":"Attachments","value":{"id":"attachment_123","objectType":"sage50_attachment","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"ATTACHMENTS-123"},"fileName":"invoice-1001.pdf","contentType":"application/pdf","fileSize":48213,"downloadUrl":"https://example.com/files/invoice-1001.pdf","target":{"resourceType":"sage50_invoice","resourceId":"inv_123"}}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"missingIdempotencyKey":{"summary":"Idempotency key required","value":{"error":{"message":"Missing required Idempotency-Key header","userFacingMessage":"Send an idempotency key and try again.","type":"validation_error","code":"IDEMPOTENCY_KEY_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"422":{"description":"Sage validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"sageValidationFailed":{"summary":"Sage rejected the request","value":{"error":{"message":"Sage rejected the attachment because one or more fields were invalid.","userFacingMessage":"Review the attachment details and try again.","type":"integration_validation_error","code":"SAGE_VALIDATION_FAILED","httpStatusCode":422,"requestId":"req_123","integrationCode":"VAL-1001","retryable":false,"correlationId":null,"details":{"fieldErrors":[{"field":"name","message":"Name is required."}]}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"createSage50Attachments","summary":"Create Attachment","description":"Create attachment in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when your app is the source of truth for a new attachment.\n- Send an idempotency key whenever a network retry might happen.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Retry behavior\n- Send `Idempotency-Key` on every create and update request.\n- Reuse the same idempotency key when retrying the same logical action so Sage does not apply it twice.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst attachment = await client.sage50.attachments.create({\n  connectionId: \"conn_123\",\n  idempotencyKey: \"idem_20260417_0001\",\n  externalId: \"attachment_external_123\",\n  fileName: \"invoice-1001.pdf\",\n  contentType: \"application/pdf\",\n  fileSize: 48213,\n  downloadUrl: \"https://example.com/files/invoice-1001.pdf\",\n  target: {\n    resourceType: \"sage50_invoice\",\n    resourceId: \"inv_123\"\n  }\n});\n\nconsole.log(attachment);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nattachment = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/attachments\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\",\n        \"Idempotency-Key\": \"idem_20260417_0001\"\n    },\n    json={\n        \"externalId\": \"attachment_external_123\",\n        \"fileName\": \"invoice-1001.pdf\",\n        \"contentType\": \"application/pdf\",\n        \"fileSize\": 48213,\n        \"downloadUrl\": \"https://example.com/files/invoice-1001.pdf\",\n        \"target\": {\n            \"resourceType\": \"sage50_invoice\",\n            \"resourceId\": \"inv_123\"\n        }\n    },\n)\nattachment.raise_for_status()\nattachment = attachment.json()\nprint(attachment)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/attachments\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .header(\"Idempotency-Key\", \"idem_20260417_0001\")\n    .header(\"Content-Type\", \"application/json\")\n    .POST(HttpRequest.BodyPublishers.ofString(\"{\\n  \\\"externalId\\\": \\\"attachment_external_123\\\",\\n  \\\"fileName\\\": \\\"invoice-1001.pdf\\\",\\n  \\\"contentType\\\": \\\"application/pdf\\\",\\n  \\\"fileSize\\\": 48213,\\n  \\\"downloadUrl\\\": \\\"https://example.com/files/invoice-1001.pdf\\\",\\n  \\\"target\\\": {\\n    \\\"resourceType\\\": \\\"sage50_invoice\\\",\\n    \\\"resourceId\\\": \\\"inv_123\\\"\\n  }\\n}\"));\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/attachments\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\" \\\n  --header \"Idempotency-Key: idem_20260417_0001\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n  \"externalId\": \"attachment_external_123\",\n  \"fileName\": \"invoice-1001.pdf\",\n  \"contentType\": \"application/pdf\",\n  \"fileSize\": 48213,\n  \"downloadUrl\": \"https://example.com/files/invoice-1001.pdf\",\n  \"target\": {\n    \"resourceType\": \"sage50_invoice\",\n    \"resourceId\": \"inv_123\"\n  }\n}'"}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique key for this create or update. Reuse the same key when retrying the same action so Sage does not do it twice.","schema":{"type":"string","minLength":1,"example":"idem_20260417_0001"}}]}},"/v1/sage-50/attachments/{id}":{"get":{"tags":["Attachments"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"src_123"},"required":true,"name":"id","in":"path"},{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}}],"responses":{"200":{"description":"One Sage 50 attachment.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_attachment"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"fileName":{"type":"string","nullable":true,"minLength":1},"contentType":{"type":"string","nullable":true,"minLength":1},"fileSize":{"type":"number","nullable":true},"downloadUrl":{"type":"string","nullable":true,"minLength":1},"target":{"type":"object","nullable":true,"properties":{"resourceType":{"type":"string","nullable":true,"minLength":1},"resourceId":{"type":"string","nullable":true,"minLength":1}},"additionalProperties":{"nullable":true}}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"attachments":{"summary":"Attachments","value":{"id":"attachment_123","objectType":"sage50_attachment","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"ATTACHMENTS-123"},"fileName":"invoice-1001.pdf","contentType":"application/pdf","fileSize":48213,"downloadUrl":"https://example.com/files/invoice-1001.pdf","target":{"resourceType":"sage50_invoice","resourceId":"inv_123"}}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"notFound":{"summary":"Attachments not found","value":{"error":{"message":"The requested attachment could not be found in Sage.","userFacingMessage":"Choose an existing attachment and try again.","type":"not_found_error","code":"NOT_FOUND","httpStatusCode":404,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"getSage50Attachments","summary":"Get one Attachment","description":"Get one attachment in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when you already know the id for one attachment.\n- Use the list route first when you need discovery or pagination.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst attachment = await client.sage50.attachments.get({\n  connectionId: \"conn_123\",\n  id: \"attachment_123\"\n});\n\nconsole.log(attachment);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nattachment = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/attachments/attachment_123\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\nattachment.raise_for_status()\nattachment = attachment.json()\nprint(attachment)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/attachments/attachment_123\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/attachments/attachment_123\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}]},"post":{"tags":["Attachments"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"src_123"},"required":true,"name":"id","in":"path"},{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique key for this create or update. Reuse the same key when retrying the same action so Sage does not do it twice.","schema":{"type":"string","minLength":1,"example":"idem_20260417_0001"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"externalId":{"type":"string","nullable":true,"minLength":1},"revisionNumber":{"type":"string","nullable":true,"minLength":1},"fileName":{"type":"string","nullable":true,"minLength":1},"contentType":{"type":"string","nullable":true,"minLength":1},"fileSize":{"type":"number","nullable":true},"downloadUrl":{"type":"string","nullable":true,"minLength":1},"target":{"type":"object","nullable":true,"properties":{"resourceType":{"type":"string","nullable":true,"minLength":1},"resourceId":{"type":"string","nullable":true,"minLength":1}},"additionalProperties":{"nullable":true}}},"additionalProperties":{"nullable":true}},"examples":{"updateExample":{"summary":"Update Attachments","value":{"revisionNumber":"7","fileName":"invoice-1001.pdf","contentType":"application/pdf"}}}}},"required":true,"description":"The attachments changes you want saved in Sage. Example payload matches the generated SDK request model.\n\n### What to send\n- Send only the fields you want Sage to change.\n- Use the same field names shown in the examples and generated SDK models.\n\n### Concurrency\nSend the latest `revisionNumber` when Sage returns one so updates stay aligned with the current desktop record.\n\n### Retry behavior\nAlways send `Idempotency-Key` on create and update requests. Reuse the same key when retrying the same logical action."},"responses":{"200":{"description":"The attachments after Sage saved the update.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_attachment"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"fileName":{"type":"string","nullable":true,"minLength":1},"contentType":{"type":"string","nullable":true,"minLength":1},"fileSize":{"type":"number","nullable":true},"downloadUrl":{"type":"string","nullable":true,"minLength":1},"target":{"type":"object","nullable":true,"properties":{"resourceType":{"type":"string","nullable":true,"minLength":1},"resourceId":{"type":"string","nullable":true,"minLength":1}},"additionalProperties":{"nullable":true}}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"attachments":{"summary":"Attachments","value":{"id":"attachment_123","objectType":"sage50_attachment","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"ATTACHMENTS-123"},"fileName":"invoice-1001.pdf","contentType":"application/pdf","fileSize":48213,"downloadUrl":"https://example.com/files/invoice-1001.pdf","target":{"resourceType":"sage50_invoice","resourceId":"inv_123"}}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"missingIdempotencyKey":{"summary":"Idempotency key required","value":{"error":{"message":"Missing required Idempotency-Key header","userFacingMessage":"Send an idempotency key and try again.","type":"validation_error","code":"IDEMPOTENCY_KEY_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"422":{"description":"Sage validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"sageValidationFailed":{"summary":"Sage rejected the request","value":{"error":{"message":"Sage rejected the attachment because one or more fields were invalid.","userFacingMessage":"Review the attachment details and try again.","type":"integration_validation_error","code":"SAGE_VALIDATION_FAILED","httpStatusCode":422,"requestId":"req_123","integrationCode":"VAL-1001","retryable":false,"correlationId":null,"details":{"fieldErrors":[{"field":"name","message":"Name is required."}]}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"updateSage50Attachments","summary":"Update Attachment","description":"Update attachment in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when your app needs to save changes to an existing attachment.\n- Send the latest `revisionNumber` when Sage provides one so updates stay concurrency-safe.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Retry behavior\n- Send `Idempotency-Key` on every create and update request.\n- Reuse the same idempotency key when retrying the same logical action so Sage does not apply it twice.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst attachment = await client.sage50.attachments.update({\n  connectionId: \"conn_123\",\n  id: \"attachment_123\",\n  idempotencyKey: \"idem_20260417_0001\",\n  revisionNumber: \"7\",\n  fileName: \"invoice-1001.pdf\",\n  contentType: \"application/pdf\"\n});\n\nconsole.log(attachment);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nattachment = requests.post(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/attachments/attachment_123\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\",\n        \"Idempotency-Key\": \"idem_20260417_0001\"\n    },\n    json={\n        \"revisionNumber\": \"7\",\n        \"fileName\": \"invoice-1001.pdf\",\n        \"contentType\": \"application/pdf\"\n    },\n)\nattachment.raise_for_status()\nattachment = attachment.json()\nprint(attachment)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/attachments/attachment_123\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .header(\"Idempotency-Key\", \"idem_20260417_0001\")\n    .header(\"Content-Type\", \"application/json\")\n    .POST(HttpRequest.BodyPublishers.ofString(\"{\\n  \\\"revisionNumber\\\": \\\"7\\\",\\n  \\\"fileName\\\": \\\"invoice-1001.pdf\\\",\\n  \\\"contentType\\\": \\\"application/pdf\\\"\\n}\"));\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/attachments/attachment_123\" \\\n  --request POST \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\" \\\n  --header \"Idempotency-Key: idem_20260417_0001\" \\\n  --header \"Content-Type: application/json\" \\\n  --data '{\n  \"revisionNumber\": \"7\",\n  \"fileName\": \"invoice-1001.pdf\",\n  \"contentType\": \"application/pdf\"\n}'"}]}},"/v1/sage-50/reports":{"get":{"tags":["Reports"],"responses":{"200":{"description":"A page of Sage 50 reports.","content":{"application/json":{"schema":{"type":"object","properties":{"objectType":{"type":"string","enum":["list"]},"url":{"type":"string","minLength":1},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_report"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"name":{"type":"string","nullable":true,"minLength":1},"reportType":{"type":"string","nullable":true,"minLength":1},"format":{"type":"string","nullable":true,"minLength":1},"lastRunAt":{"type":"string","nullable":true,"minLength":1}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}}},"nextCursor":{"type":"string","nullable":true},"hasMore":{"type":"boolean"},"remainingCount":{"type":"integer","minimum":0}},"required":["objectType","url","data","nextCursor","hasMore","remainingCount"]},"examples":{"list":{"summary":"Reports page","value":{"objectType":"list","url":"/v1/sage-50/reports","data":[{"id":"report_123","objectType":"sage50_report","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"REPORTS-123"},"name":"Aged Receivables","reportType":"financial","format":"pdf","lastRunAt":"2026-04-17T16:00:00.000Z"}],"nextCursor":null,"hasMore":false,"remainingCount":0}},"emptyPage":{"summary":"No reports found","value":{"objectType":"list","url":"/v1/sage-50/reports","data":[],"nextCursor":null,"hasMore":false,"remainingCount":0}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"listSage50Reports","summary":"Get Reports","description":"Gets reports from the selected Sage company through one country-neutral route.\n\n### When to use\n- Use this route when you need a page of reports for sync, browsing, or search flows.\n- Prefer `updatedSince` plus `cursor` for incremental sync and resumable imports.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Pagination\n- Use `limit` to control page size.\n- Use `cursor` to continue from the previous page.\n- Use `updatedSince` when the connected Sage company supports incremental filtering.\n\n### Response shape\nReturns the standard list wrapper with normalized Sage resource objects inside `data`.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst reports = await client.sage50.reports.list({\n  connectionId: \"conn_123\",\n  limit: 20\n});\n\nconsole.log(reports.data);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nreports = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/reports?limit=20\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\nreports.raise_for_status()\nreports = reports.json()\nprint(reports[\"data\"])"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/reports?limit=20\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/reports?limit=20\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"limit","in":"query","required":false,"description":"How many records to return at once.","schema":{"type":"integer","minimum":1,"maximum":150,"default":100,"example":100}},{"name":"cursor","in":"query","required":false,"description":"The next-page marker from a previous response.","schema":{"type":"string","minLength":1,"example":"cur_eyJvZmZzZXQiOjEwMH0"}},{"name":"updatedSince","in":"query","required":false,"description":"Only return records changed after this time, when the connected Sage company can support that filter.","schema":{"type":"string","format":"date-time","example":"2026-04-01T00:00:00.000Z"}}]}},"/v1/sage-50/reports/{id}":{"get":{"tags":["Reports"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"src_123"},"required":true,"name":"id","in":"path"},{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}}],"responses":{"200":{"description":"One Sage 50 report.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_report"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"name":{"type":"string","nullable":true,"minLength":1},"reportType":{"type":"string","nullable":true,"minLength":1},"format":{"type":"string","nullable":true,"minLength":1},"lastRunAt":{"type":"string","nullable":true,"minLength":1}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"reports":{"summary":"Reports","value":{"id":"report_123","objectType":"sage50_report","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"REPORTS-123"},"name":"Aged Receivables","reportType":"financial","format":"pdf","lastRunAt":"2026-04-17T16:00:00.000Z"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"notFound":{"summary":"Reports not found","value":{"error":{"message":"The requested report could not be found in Sage.","userFacingMessage":"Choose an existing report and try again.","type":"not_found_error","code":"NOT_FOUND","httpStatusCode":404,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"getSage50Reports","summary":"Get one Report","description":"Get one report in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when you already know the id for one report.\n- Use the list route first when you need discovery or pagination.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst report = await client.sage50.reports.get({\n  connectionId: \"conn_123\",\n  id: \"report_123\"\n});\n\nconsole.log(report);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nreport = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/reports/report_123\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\nreport.raise_for_status()\nreport = report.json()\nprint(report)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/reports/report_123\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/reports/report_123\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}]}},"/v1/sage-50/native-resources":{"get":{"tags":["Native Resources"],"responses":{"200":{"description":"A page of Sage 50 native resources.","content":{"application/json":{"schema":{"type":"object","properties":{"objectType":{"type":"string","enum":["list"]},"url":{"type":"string","minLength":1},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_native_resource"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"name":{"type":"string","nullable":true,"minLength":1},"nativeResourceType":{"type":"string","nullable":true,"minLength":1},"nativePath":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}}},"nextCursor":{"type":"string","nullable":true},"hasMore":{"type":"boolean"},"remainingCount":{"type":"integer","minimum":0}},"required":["objectType","url","data","nextCursor","hasMore","remainingCount"]},"examples":{"list":{"summary":"Native Resources page","value":{"objectType":"list","url":"/v1/sage-50/native-resources","data":[{"id":"nativeResource_123","objectType":"sage50_native_resource","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"NATIVERESOURCES-123"},"name":"Sales Journal","nativeResourceType":"report","nativePath":"Reports/Sales Journal","description":"Original Sage resource path"}],"nextCursor":null,"hasMore":false,"remainingCount":0}},"emptyPage":{"summary":"No native resources found","value":{"objectType":"list","url":"/v1/sage-50/native-resources","data":[],"nextCursor":null,"hasMore":false,"remainingCount":0}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"listSage50NativeResources","summary":"Get Native Resources","description":"Gets native resources from the selected Sage company through one country-neutral route.\n\n### When to use\n- Use this route when you need a page of native resources for sync, browsing, or search flows.\n- Prefer `updatedSince` plus `cursor` for incremental sync and resumable imports.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Pagination\n- Use `limit` to control page size.\n- Use `cursor` to continue from the previous page.\n- Use `updatedSince` when the connected Sage company supports incremental filtering.\n\n### Response shape\nReturns the standard list wrapper with normalized Sage resource objects inside `data`.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst nativeResources = await client.sage50.nativeResources.list({\n  connectionId: \"conn_123\",\n  limit: 20\n});\n\nconsole.log(nativeResources.data);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nnativeResources = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/native-resources?limit=20\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\nnativeResources.raise_for_status()\nnativeResources = nativeResources.json()\nprint(nativeResources[\"data\"])"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/native-resources?limit=20\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/native-resources?limit=20\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}],"parameters":[{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}},{"name":"limit","in":"query","required":false,"description":"How many records to return at once.","schema":{"type":"integer","minimum":1,"maximum":150,"default":100,"example":100}},{"name":"cursor","in":"query","required":false,"description":"The next-page marker from a previous response.","schema":{"type":"string","minLength":1,"example":"cur_eyJvZmZzZXQiOjEwMH0"}},{"name":"updatedSince","in":"query","required":false,"description":"Only return records changed after this time, when the connected Sage company can support that filter.","schema":{"type":"string","format":"date-time","example":"2026-04-01T00:00:00.000Z"}}]}},"/v1/sage-50/native-resources/{id}":{"get":{"tags":["Native Resources"],"parameters":[{"schema":{"type":"string","minLength":1,"example":"src_123"},"required":true,"name":"id","in":"path"},{"name":"Sage-Connection-Id","in":"header","required":false,"description":"Choose which connected Sage company should answer this request. If the account has only one active Sage connection, you can leave this out.","schema":{"type":"string","minLength":1,"example":"conn_123"}}],"responses":{"200":{"description":"One Sage 50 native resource.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"objectType":{"type":"string","enum":["sage50_native_resource"]},"createdAt":{"type":"string","nullable":true,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"revisionNumber":{"type":"string","nullable":true},"source":{"type":"object","properties":{"connectorType":{"type":"string","enum":["sage50-us","sage50-uk"]},"nativeId":{"type":"string","nullable":true,"minLength":1}},"required":["connectorType","nativeId"]},"name":{"type":"string","nullable":true,"minLength":1},"nativeResourceType":{"type":"string","nullable":true,"minLength":1},"nativePath":{"type":"string","nullable":true,"minLength":1},"description":{"type":"string","nullable":true,"minLength":1}},"required":["id","objectType","createdAt","updatedAt","revisionNumber","source"],"additionalProperties":{"nullable":true}},"examples":{"nativeResources":{"summary":"Native Resources","value":{"id":"nativeResource_123","objectType":"sage50_native_resource","createdAt":"2026-04-17T15:00:00.000Z","updatedAt":"2026-04-17T16:00:00.000Z","revisionNumber":"7","source":{"connectorType":"sage50-us","nativeId":"NATIVERESOURCES-123"},"name":"Sales Journal","nativeResourceType":"report","nativePath":"Reports/Sales Journal","description":"Original Sage resource path"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionIdRequired":{"summary":"Connection selection required","value":{"error":{"message":"Multiple active connections found; include Sage-Connection-Id","userFacingMessage":"Choose which Sage company to use and try again.","type":"validation_error","code":"CONNECTION_ID_REQUIRED","httpStatusCode":400,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"notFound":{"summary":"Native Resources not found","value":{"error":{"message":"The requested native resource could not be found in Sage.","userFacingMessage":"Choose an existing native resource and try again.","type":"not_found_error","code":"NOT_FOUND","httpStatusCode":404,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"409":{"description":"Connection unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectionUnavailable":{"summary":"No active connection is available","value":{"error":{"message":"No active Sage connection is available","userFacingMessage":"Reconnect Sage or choose a different company and try again.","type":"conflict_error","code":"NO_ACTIVE_CONNECTION","httpStatusCode":409,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":null,"details":{}}}}}}}},"502":{"description":"Connector failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorFailed":{"summary":"Connector reported a structured failure","value":{"error":{"message":"Connector reported command failure without a structured error","userFacingMessage":"Sage could not finish that action. Try again or contact support if it keeps happening.","type":"integration_execution_error","code":"CONNECTOR_COMMAND_FAILED","httpStatusCode":502,"requestId":"req_123","integrationCode":null,"retryable":false,"correlationId":"cmd_123","details":{}}}}}}}},"504":{"description":"Connector timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicErrorResponse"},"examples":{"connectorTimedOut":{"summary":"Connector timed out","value":{"error":{"message":"The Sage connector did not finish before the timeout window ended.","userFacingMessage":"Sage is taking longer than expected. Try again in a moment.","type":"timeout_error","code":"CONNECTOR_TIMEOUT","httpStatusCode":504,"requestId":"req_123","integrationCode":null,"retryable":true,"correlationId":"cmd_123","details":{}}}}}}}}},"operationId":"getSage50NativeResources","summary":"Get one Native Resource","description":"Get one native resource in the selected Sage company through the same public shape for Sage 50 US and Sage 50 UK.\n\n### When to use\n- Use this route when you already know the id for one native resource.\n- Use the list route first when you need discovery or pagination.\n\n### Connection behavior\n- Send `Sage-Connection-Id` when the account has more than one active Sage connection.\n- If only one active connection exists, the header may be omitted.\n\n### Country behavior\nThe selected connection decides whether the backend talks to Sage 50 US or Sage 50 UK. The path, error shape, and normalized object shape stay the same.\n\n### Response shape\nReturns one normalized Sage resource object with stable `id`, `objectType`, `source`, and `revisionNumber` fields.","x-codeSamples":[{"lang":"TypeScript","label":"Official SDK","source":"import { createClient } from \"@sage-connector/ts-sdk\";\n\nconst client = createClient({\n  apiKey: process.env.SAGE_CONNECTOR_API_KEY!,\n});\n\nconst nativeResource = await client.sage50.nativeResources.get({\n  connectionId: \"conn_123\",\n  id: \"nativeResource_123\"\n});\n\nconsole.log(nativeResource);"},{"lang":"Python","label":"HTTP API","source":"import os\nimport requests\n\nnativeResource = requests.get(\n    os.environ[\"SAGE_CONNECTOR_API_URL\"] + \"/v1/sage-50/native-resources/nativeResource_123\",\n    headers={\n        \"Authorization\": f\"Bearer {os.environ['SAGE_CONNECTOR_API_KEY']}\",\n        \"Sage-Connection-Id\": \"conn_123\"\n    },\n)\nnativeResource.raise_for_status()\nnativeResource = nativeResource.json()\nprint(nativeResource)"},{"lang":"Java","label":"HTTP API","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nvar client = HttpClient.newHttpClient();\nvar requestBuilder = HttpRequest.newBuilder()\n    .uri(URI.create(System.getenv(\"SAGE_CONNECTOR_API_URL\") + \"/v1/sage-50/native-resources/nativeResource_123\"))\n    .header(\"Authorization\", \"Bearer \" + System.getenv(\"SAGE_CONNECTOR_API_KEY\"))\n    .header(\"Sage-Connection-Id\", \"conn_123\")\n    .GET();\nvar request = requestBuilder.build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.body());"},{"lang":"Shell","label":"cURL","source":"curl \"$SAGE_CONNECTOR_API_URL/v1/sage-50/native-resources/nativeResource_123\" \\\n  --request GET \\\n  --header \"Authorization: Bearer $SAGE_CONNECTOR_API_KEY\" \\\n  --header \"Sage-Connection-Id: conn_123\""}]}},"/v2/connections/{connectionId}/info":{"get":{"operationId":"getSageInfo","summary":"Get Sage version and resource capabilities","description":"Read the connection's country, detected Sage and SDK versions, schema version and adapter operations. API-key, connection and Sage-user permissions can further restrict those operations. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","tags":["Sage"],"security":[{"SageApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":false,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"responses":{"200":{"description":"Detected country, version and supported resource operations","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"edition":{"type":"string","enum":["sage50-uk"]},"sageVersion":{"type":"string"},"sdoVersion":{"type":"string"},"schemaVersion":{"type":"string","enum":["26.3","27.2","28.1","29.2","30.1","31.1","32.1","33.1","34.1"]},"programType":{"type":"integer"},"resources":{"type":"array","items":{"type":"object","properties":{"resource":{"type":"string","enum":["customers","suppliers","items","accounts","bank-accounts","invoices","sales-orders","purchase-orders","fixed-assets","price-lists","customer-addresses","supplier-addresses","company-addresses"]},"operations":{"type":"array","items":{"type":"string","enum":["list","get","create","update","delete"]}}},"required":["resource","operations"],"additionalProperties":false}}},"required":["edition","sageVersion","sdoVersion","schemaVersion","programType","resources"],"additionalProperties":false},{"type":"object","properties":{"edition":{"type":"string","enum":["sage50-us"]},"sageVersion":{"type":"string","nullable":true},"apiVersion":{"type":"string"},"schemaVersion":{"type":"string","enum":["2026.1"]},"resources":{"type":"array","items":{"type":"object","properties":{"resource":{"type":"string","enum":["accounts","customers","suppliers","items","employees","jobs","budgets","quotes","proposals","sales-orders","invoices","customer-credit-memos","receipts","advance-receipts","payments","advance-payments","customer-payments","supplier-receipts","purchase-orders","purchase-invoices","supplier-credit-memos","journal-entries","tax-codes","tax-agencies"]},"operations":{"type":"array","items":{"type":"string","enum":["list","get","create","update","delete"]}}},"required":["resource","operations"],"additionalProperties":false}}},"required":["edition","sageVersion","apiVersion","schemaVersion","resources"],"additionalProperties":false}]}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}}},"/v2/connections/{connectionId}/customers":{"get":{"operationId":"resource_customers_list","summary":"List customers","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for UK and US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"required":false,"name":"limit","in":"query"},{"schema":{"type":"integer","nullable":true,"minimum":0,"maximum":1000000,"default":0},"required":false,"name":"offset","in":"query"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":false,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/Uk26_3_customers_get"},{"$ref":"#/components/schemas/Uk27_2_customers_get"},{"$ref":"#/components/schemas/Uk28_1_customers_get"},{"$ref":"#/components/schemas/Uk29_2_customers_get"},{"$ref":"#/components/schemas/Uk30_1_customers_get"},{"$ref":"#/components/schemas/Uk31_1_customers_get"},{"$ref":"#/components/schemas/Uk32_1_customers_get"},{"$ref":"#/components/schemas/Uk33_1_customers_get"},{"$ref":"#/components/schemas/Uk34_1_customers_get"},{"$ref":"#/components/schemas/Us2026_1_customers_get"}]}},"nextOffset":{"type":"integer","nullable":true}},"required":["data","nextOffset"]}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}},"post":{"operationId":"resource_customers_create","summary":"Create customers","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for UK and US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":true,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/Uk26_3_customers_create"},{"$ref":"#/components/schemas/Uk27_2_customers_create"},{"$ref":"#/components/schemas/Uk28_1_customers_create"},{"$ref":"#/components/schemas/Uk29_2_customers_create"},{"$ref":"#/components/schemas/Uk30_1_customers_create"},{"$ref":"#/components/schemas/Uk31_1_customers_create"},{"$ref":"#/components/schemas/Uk32_1_customers_create"},{"$ref":"#/components/schemas/Uk33_1_customers_create"},{"$ref":"#/components/schemas/Uk34_1_customers_create"},{"$ref":"#/components/schemas/Us2026_1_customers_create"}]}}}},"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/Uk26_3_customers_get"},{"$ref":"#/components/schemas/Uk27_2_customers_get"},{"$ref":"#/components/schemas/Uk28_1_customers_get"},{"$ref":"#/components/schemas/Uk29_2_customers_get"},{"$ref":"#/components/schemas/Uk30_1_customers_get"},{"$ref":"#/components/schemas/Uk31_1_customers_get"},{"$ref":"#/components/schemas/Uk32_1_customers_get"},{"$ref":"#/components/schemas/Uk33_1_customers_get"},{"$ref":"#/components/schemas/Uk34_1_customers_get"},{"$ref":"#/components/schemas/Us2026_1_customers_get"}]}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}}},"/v2/connections/{connectionId}/customers/{id}":{"get":{"operationId":"resource_customers_get","summary":"Get customers","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for UK and US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"string","minLength":1,"maxLength":256,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings."},"required":true,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings.","name":"id","in":"path"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":false,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/Uk26_3_customers_get"},{"$ref":"#/components/schemas/Uk27_2_customers_get"},{"$ref":"#/components/schemas/Uk28_1_customers_get"},{"$ref":"#/components/schemas/Uk29_2_customers_get"},{"$ref":"#/components/schemas/Uk30_1_customers_get"},{"$ref":"#/components/schemas/Uk31_1_customers_get"},{"$ref":"#/components/schemas/Uk32_1_customers_get"},{"$ref":"#/components/schemas/Uk33_1_customers_get"},{"$ref":"#/components/schemas/Uk34_1_customers_get"},{"$ref":"#/components/schemas/Us2026_1_customers_get"}]}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}},"patch":{"operationId":"resource_customers_update","summary":"Update customers","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for UK and US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"string","minLength":1,"maxLength":256,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings."},"required":true,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings.","name":"id","in":"path"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":true,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/Uk26_3_customers_update"},{"$ref":"#/components/schemas/Uk27_2_customers_update"},{"$ref":"#/components/schemas/Uk28_1_customers_update"},{"$ref":"#/components/schemas/Uk29_2_customers_update"},{"$ref":"#/components/schemas/Uk30_1_customers_update"},{"$ref":"#/components/schemas/Uk31_1_customers_update"},{"$ref":"#/components/schemas/Uk32_1_customers_update"},{"$ref":"#/components/schemas/Uk33_1_customers_update"},{"$ref":"#/components/schemas/Uk34_1_customers_update"},{"$ref":"#/components/schemas/Us2026_1_customers_update"}]}}}},"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/Uk26_3_customers_get"},{"$ref":"#/components/schemas/Uk27_2_customers_get"},{"$ref":"#/components/schemas/Uk28_1_customers_get"},{"$ref":"#/components/schemas/Uk29_2_customers_get"},{"$ref":"#/components/schemas/Uk30_1_customers_get"},{"$ref":"#/components/schemas/Uk31_1_customers_get"},{"$ref":"#/components/schemas/Uk32_1_customers_get"},{"$ref":"#/components/schemas/Uk33_1_customers_get"},{"$ref":"#/components/schemas/Uk34_1_customers_get"},{"$ref":"#/components/schemas/Us2026_1_customers_get"}]}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}},"delete":{"operationId":"resource_customers_delete","summary":"Delete customers","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for UK and US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"string","minLength":1,"maxLength":256,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings."},"required":true,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings.","name":"id","in":"path"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":true,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"deleted":{"type":"boolean","enum":[true]}},"required":["id","deleted"]}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}}},"/v2/connections/{connectionId}/suppliers":{"get":{"operationId":"resource_suppliers_list","summary":"List suppliers","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for UK and US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"required":false,"name":"limit","in":"query"},{"schema":{"type":"integer","nullable":true,"minimum":0,"maximum":1000000,"default":0},"required":false,"name":"offset","in":"query"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":false,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/Uk26_3_suppliers_get"},{"$ref":"#/components/schemas/Uk27_2_suppliers_get"},{"$ref":"#/components/schemas/Uk28_1_suppliers_get"},{"$ref":"#/components/schemas/Uk29_2_suppliers_get"},{"$ref":"#/components/schemas/Uk30_1_suppliers_get"},{"$ref":"#/components/schemas/Uk31_1_suppliers_get"},{"$ref":"#/components/schemas/Uk32_1_suppliers_get"},{"$ref":"#/components/schemas/Uk33_1_suppliers_get"},{"$ref":"#/components/schemas/Uk34_1_suppliers_get"},{"$ref":"#/components/schemas/Us2026_1_suppliers_get"}]}},"nextOffset":{"type":"integer","nullable":true}},"required":["data","nextOffset"]}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}},"post":{"operationId":"resource_suppliers_create","summary":"Create suppliers","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for UK and US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":true,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/Uk26_3_suppliers_create"},{"$ref":"#/components/schemas/Uk27_2_suppliers_create"},{"$ref":"#/components/schemas/Uk28_1_suppliers_create"},{"$ref":"#/components/schemas/Uk29_2_suppliers_create"},{"$ref":"#/components/schemas/Uk30_1_suppliers_create"},{"$ref":"#/components/schemas/Uk31_1_suppliers_create"},{"$ref":"#/components/schemas/Uk32_1_suppliers_create"},{"$ref":"#/components/schemas/Uk33_1_suppliers_create"},{"$ref":"#/components/schemas/Uk34_1_suppliers_create"},{"$ref":"#/components/schemas/Us2026_1_suppliers_create"}]}}}},"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/Uk26_3_suppliers_get"},{"$ref":"#/components/schemas/Uk27_2_suppliers_get"},{"$ref":"#/components/schemas/Uk28_1_suppliers_get"},{"$ref":"#/components/schemas/Uk29_2_suppliers_get"},{"$ref":"#/components/schemas/Uk30_1_suppliers_get"},{"$ref":"#/components/schemas/Uk31_1_suppliers_get"},{"$ref":"#/components/schemas/Uk32_1_suppliers_get"},{"$ref":"#/components/schemas/Uk33_1_suppliers_get"},{"$ref":"#/components/schemas/Uk34_1_suppliers_get"},{"$ref":"#/components/schemas/Us2026_1_suppliers_get"}]}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}}},"/v2/connections/{connectionId}/suppliers/{id}":{"get":{"operationId":"resource_suppliers_get","summary":"Get suppliers","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for UK and US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"string","minLength":1,"maxLength":256,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings."},"required":true,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings.","name":"id","in":"path"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":false,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/Uk26_3_suppliers_get"},{"$ref":"#/components/schemas/Uk27_2_suppliers_get"},{"$ref":"#/components/schemas/Uk28_1_suppliers_get"},{"$ref":"#/components/schemas/Uk29_2_suppliers_get"},{"$ref":"#/components/schemas/Uk30_1_suppliers_get"},{"$ref":"#/components/schemas/Uk31_1_suppliers_get"},{"$ref":"#/components/schemas/Uk32_1_suppliers_get"},{"$ref":"#/components/schemas/Uk33_1_suppliers_get"},{"$ref":"#/components/schemas/Uk34_1_suppliers_get"},{"$ref":"#/components/schemas/Us2026_1_suppliers_get"}]}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}},"patch":{"operationId":"resource_suppliers_update","summary":"Update suppliers","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for UK and US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"string","minLength":1,"maxLength":256,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings."},"required":true,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings.","name":"id","in":"path"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":true,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/Uk26_3_suppliers_update"},{"$ref":"#/components/schemas/Uk27_2_suppliers_update"},{"$ref":"#/components/schemas/Uk28_1_suppliers_update"},{"$ref":"#/components/schemas/Uk29_2_suppliers_update"},{"$ref":"#/components/schemas/Uk30_1_suppliers_update"},{"$ref":"#/components/schemas/Uk31_1_suppliers_update"},{"$ref":"#/components/schemas/Uk32_1_suppliers_update"},{"$ref":"#/components/schemas/Uk33_1_suppliers_update"},{"$ref":"#/components/schemas/Uk34_1_suppliers_update"},{"$ref":"#/components/schemas/Us2026_1_suppliers_update"}]}}}},"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/Uk26_3_suppliers_get"},{"$ref":"#/components/schemas/Uk27_2_suppliers_get"},{"$ref":"#/components/schemas/Uk28_1_suppliers_get"},{"$ref":"#/components/schemas/Uk29_2_suppliers_get"},{"$ref":"#/components/schemas/Uk30_1_suppliers_get"},{"$ref":"#/components/schemas/Uk31_1_suppliers_get"},{"$ref":"#/components/schemas/Uk32_1_suppliers_get"},{"$ref":"#/components/schemas/Uk33_1_suppliers_get"},{"$ref":"#/components/schemas/Uk34_1_suppliers_get"},{"$ref":"#/components/schemas/Us2026_1_suppliers_get"}]}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}},"delete":{"operationId":"resource_suppliers_delete","summary":"Delete suppliers","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for UK and US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"string","minLength":1,"maxLength":256,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings."},"required":true,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings.","name":"id","in":"path"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":true,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"deleted":{"type":"boolean","enum":[true]}},"required":["id","deleted"]}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}}},"/v2/connections/{connectionId}/items":{"get":{"operationId":"resource_items_list","summary":"List items","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for UK and US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"required":false,"name":"limit","in":"query"},{"schema":{"type":"integer","nullable":true,"minimum":0,"maximum":1000000,"default":0},"required":false,"name":"offset","in":"query"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":false,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/Uk26_3_items_get"},{"$ref":"#/components/schemas/Uk27_2_items_get"},{"$ref":"#/components/schemas/Uk28_1_items_get"},{"$ref":"#/components/schemas/Uk29_2_items_get"},{"$ref":"#/components/schemas/Uk30_1_items_get"},{"$ref":"#/components/schemas/Uk31_1_items_get"},{"$ref":"#/components/schemas/Uk32_1_items_get"},{"$ref":"#/components/schemas/Uk33_1_items_get"},{"$ref":"#/components/schemas/Uk34_1_items_get"},{"$ref":"#/components/schemas/Us2026_1_items_get"}]}},"nextOffset":{"type":"integer","nullable":true}},"required":["data","nextOffset"]}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}},"post":{"operationId":"resource_items_create","summary":"Create items","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for UK connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":true,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/Uk26_3_items_create"},{"$ref":"#/components/schemas/Uk27_2_items_create"},{"$ref":"#/components/schemas/Uk28_1_items_create"},{"$ref":"#/components/schemas/Uk29_2_items_create"},{"$ref":"#/components/schemas/Uk30_1_items_create"},{"$ref":"#/components/schemas/Uk31_1_items_create"},{"$ref":"#/components/schemas/Uk32_1_items_create"},{"$ref":"#/components/schemas/Uk33_1_items_create"},{"$ref":"#/components/schemas/Uk34_1_items_create"}]}}}},"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/Uk26_3_items_get"},{"$ref":"#/components/schemas/Uk27_2_items_get"},{"$ref":"#/components/schemas/Uk28_1_items_get"},{"$ref":"#/components/schemas/Uk29_2_items_get"},{"$ref":"#/components/schemas/Uk30_1_items_get"},{"$ref":"#/components/schemas/Uk31_1_items_get"},{"$ref":"#/components/schemas/Uk32_1_items_get"},{"$ref":"#/components/schemas/Uk33_1_items_get"},{"$ref":"#/components/schemas/Uk34_1_items_get"}]}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}}},"/v2/connections/{connectionId}/items/{id}":{"get":{"operationId":"resource_items_get","summary":"Get items","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for UK and US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"string","minLength":1,"maxLength":256,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings."},"required":true,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings.","name":"id","in":"path"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":false,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/Uk26_3_items_get"},{"$ref":"#/components/schemas/Uk27_2_items_get"},{"$ref":"#/components/schemas/Uk28_1_items_get"},{"$ref":"#/components/schemas/Uk29_2_items_get"},{"$ref":"#/components/schemas/Uk30_1_items_get"},{"$ref":"#/components/schemas/Uk31_1_items_get"},{"$ref":"#/components/schemas/Uk32_1_items_get"},{"$ref":"#/components/schemas/Uk33_1_items_get"},{"$ref":"#/components/schemas/Uk34_1_items_get"},{"$ref":"#/components/schemas/Us2026_1_items_get"}]}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}},"patch":{"operationId":"resource_items_update","summary":"Update items","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for UK connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"string","minLength":1,"maxLength":256,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings."},"required":true,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings.","name":"id","in":"path"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":true,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/Uk26_3_items_update"},{"$ref":"#/components/schemas/Uk27_2_items_update"},{"$ref":"#/components/schemas/Uk28_1_items_update"},{"$ref":"#/components/schemas/Uk29_2_items_update"},{"$ref":"#/components/schemas/Uk30_1_items_update"},{"$ref":"#/components/schemas/Uk31_1_items_update"},{"$ref":"#/components/schemas/Uk32_1_items_update"},{"$ref":"#/components/schemas/Uk33_1_items_update"},{"$ref":"#/components/schemas/Uk34_1_items_update"}]}}}},"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/Uk26_3_items_get"},{"$ref":"#/components/schemas/Uk27_2_items_get"},{"$ref":"#/components/schemas/Uk28_1_items_get"},{"$ref":"#/components/schemas/Uk29_2_items_get"},{"$ref":"#/components/schemas/Uk30_1_items_get"},{"$ref":"#/components/schemas/Uk31_1_items_get"},{"$ref":"#/components/schemas/Uk32_1_items_get"},{"$ref":"#/components/schemas/Uk33_1_items_get"},{"$ref":"#/components/schemas/Uk34_1_items_get"}]}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}},"delete":{"operationId":"resource_items_delete","summary":"Delete items","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for UK connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"string","minLength":1,"maxLength":256,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings."},"required":true,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings.","name":"id","in":"path"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":true,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"deleted":{"type":"boolean","enum":[true]}},"required":["id","deleted"]}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}}},"/v2/connections/{connectionId}/accounts":{"get":{"operationId":"resource_accounts_list","summary":"List accounts","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for UK and US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"required":false,"name":"limit","in":"query"},{"schema":{"type":"integer","nullable":true,"minimum":0,"maximum":1000000,"default":0},"required":false,"name":"offset","in":"query"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":false,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/Uk26_3_accounts_get"},{"$ref":"#/components/schemas/Uk27_2_accounts_get"},{"$ref":"#/components/schemas/Uk28_1_accounts_get"},{"$ref":"#/components/schemas/Uk29_2_accounts_get"},{"$ref":"#/components/schemas/Uk30_1_accounts_get"},{"$ref":"#/components/schemas/Uk31_1_accounts_get"},{"$ref":"#/components/schemas/Uk32_1_accounts_get"},{"$ref":"#/components/schemas/Uk33_1_accounts_get"},{"$ref":"#/components/schemas/Uk34_1_accounts_get"},{"$ref":"#/components/schemas/Us2026_1_accounts_get"}]}},"nextOffset":{"type":"integer","nullable":true}},"required":["data","nextOffset"]}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}},"post":{"operationId":"resource_accounts_create","summary":"Create accounts","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":true,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Us2026_1_accounts_create"}}}},"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Us2026_1_accounts_get"}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}}},"/v2/connections/{connectionId}/accounts/{id}":{"get":{"operationId":"resource_accounts_get","summary":"Get accounts","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for UK and US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"string","minLength":1,"maxLength":256,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings."},"required":true,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings.","name":"id","in":"path"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":false,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/Uk26_3_accounts_get"},{"$ref":"#/components/schemas/Uk27_2_accounts_get"},{"$ref":"#/components/schemas/Uk28_1_accounts_get"},{"$ref":"#/components/schemas/Uk29_2_accounts_get"},{"$ref":"#/components/schemas/Uk30_1_accounts_get"},{"$ref":"#/components/schemas/Uk31_1_accounts_get"},{"$ref":"#/components/schemas/Uk32_1_accounts_get"},{"$ref":"#/components/schemas/Uk33_1_accounts_get"},{"$ref":"#/components/schemas/Uk34_1_accounts_get"},{"$ref":"#/components/schemas/Us2026_1_accounts_get"}]}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}},"patch":{"operationId":"resource_accounts_update","summary":"Update accounts","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"string","minLength":1,"maxLength":256,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings."},"required":true,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings.","name":"id","in":"path"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":true,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Us2026_1_accounts_update"}}}},"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Us2026_1_accounts_get"}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}},"delete":{"operationId":"resource_accounts_delete","summary":"Delete accounts","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"string","minLength":1,"maxLength":256,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings."},"required":true,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings.","name":"id","in":"path"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":true,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"deleted":{"type":"boolean","enum":[true]}},"required":["id","deleted"]}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}}},"/v2/connections/{connectionId}/bank-accounts":{"get":{"operationId":"resource_bank_accounts_list","summary":"List bank accounts","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for UK connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"required":false,"name":"limit","in":"query"},{"schema":{"type":"integer","nullable":true,"minimum":0,"maximum":1000000,"default":0},"required":false,"name":"offset","in":"query"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":false,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/Uk26_3_bank_accounts_get"},{"$ref":"#/components/schemas/Uk27_2_bank_accounts_get"},{"$ref":"#/components/schemas/Uk28_1_bank_accounts_get"},{"$ref":"#/components/schemas/Uk29_2_bank_accounts_get"},{"$ref":"#/components/schemas/Uk30_1_bank_accounts_get"},{"$ref":"#/components/schemas/Uk31_1_bank_accounts_get"},{"$ref":"#/components/schemas/Uk32_1_bank_accounts_get"},{"$ref":"#/components/schemas/Uk33_1_bank_accounts_get"},{"$ref":"#/components/schemas/Uk34_1_bank_accounts_get"}]}},"nextOffset":{"type":"integer","nullable":true}},"required":["data","nextOffset"]}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}}},"/v2/connections/{connectionId}/bank-accounts/{id}":{"get":{"operationId":"resource_bank_accounts_get","summary":"Get bank accounts","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for UK connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"string","minLength":1,"maxLength":256,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings."},"required":true,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings.","name":"id","in":"path"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":false,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/Uk26_3_bank_accounts_get"},{"$ref":"#/components/schemas/Uk27_2_bank_accounts_get"},{"$ref":"#/components/schemas/Uk28_1_bank_accounts_get"},{"$ref":"#/components/schemas/Uk29_2_bank_accounts_get"},{"$ref":"#/components/schemas/Uk30_1_bank_accounts_get"},{"$ref":"#/components/schemas/Uk31_1_bank_accounts_get"},{"$ref":"#/components/schemas/Uk32_1_bank_accounts_get"},{"$ref":"#/components/schemas/Uk33_1_bank_accounts_get"},{"$ref":"#/components/schemas/Uk34_1_bank_accounts_get"}]}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}}},"/v2/connections/{connectionId}/invoices":{"get":{"operationId":"resource_invoices_list","summary":"List invoices","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for UK and US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"required":false,"name":"limit","in":"query"},{"schema":{"type":"integer","nullable":true,"minimum":0,"maximum":1000000,"default":0},"required":false,"name":"offset","in":"query"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":false,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/Uk26_3_invoices_get"},{"$ref":"#/components/schemas/Uk27_2_invoices_get"},{"$ref":"#/components/schemas/Uk28_1_invoices_get"},{"$ref":"#/components/schemas/Uk29_2_invoices_get"},{"$ref":"#/components/schemas/Uk30_1_invoices_get"},{"$ref":"#/components/schemas/Uk31_1_invoices_get"},{"$ref":"#/components/schemas/Uk32_1_invoices_get"},{"$ref":"#/components/schemas/Uk33_1_invoices_get"},{"$ref":"#/components/schemas/Uk34_1_invoices_get"},{"$ref":"#/components/schemas/Us2026_1_invoices_get"}]}},"nextOffset":{"type":"integer","nullable":true}},"required":["data","nextOffset"]}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}},"post":{"operationId":"resource_invoices_create","summary":"Create invoices","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":true,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Us2026_1_invoices_create"}}}},"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Us2026_1_invoices_get"}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}}},"/v2/connections/{connectionId}/invoices/{id}":{"get":{"operationId":"resource_invoices_get","summary":"Get invoices","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for UK and US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"string","minLength":1,"maxLength":256,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings."},"required":true,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings.","name":"id","in":"path"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":false,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/Uk26_3_invoices_get"},{"$ref":"#/components/schemas/Uk27_2_invoices_get"},{"$ref":"#/components/schemas/Uk28_1_invoices_get"},{"$ref":"#/components/schemas/Uk29_2_invoices_get"},{"$ref":"#/components/schemas/Uk30_1_invoices_get"},{"$ref":"#/components/schemas/Uk31_1_invoices_get"},{"$ref":"#/components/schemas/Uk32_1_invoices_get"},{"$ref":"#/components/schemas/Uk33_1_invoices_get"},{"$ref":"#/components/schemas/Uk34_1_invoices_get"},{"$ref":"#/components/schemas/Us2026_1_invoices_get"}]}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}},"patch":{"operationId":"resource_invoices_update","summary":"Update invoices","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"string","minLength":1,"maxLength":256,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings."},"required":true,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings.","name":"id","in":"path"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":true,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Us2026_1_invoices_update"}}}},"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Us2026_1_invoices_get"}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}},"delete":{"operationId":"resource_invoices_delete","summary":"Delete invoices","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"string","minLength":1,"maxLength":256,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings."},"required":true,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings.","name":"id","in":"path"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":true,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"deleted":{"type":"boolean","enum":[true]}},"required":["id","deleted"]}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}}},"/v2/connections/{connectionId}/sales-orders":{"get":{"operationId":"resource_sales_orders_list","summary":"List sales orders","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for UK and US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"required":false,"name":"limit","in":"query"},{"schema":{"type":"integer","nullable":true,"minimum":0,"maximum":1000000,"default":0},"required":false,"name":"offset","in":"query"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":false,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/Uk26_3_sales_orders_get"},{"$ref":"#/components/schemas/Uk27_2_sales_orders_get"},{"$ref":"#/components/schemas/Uk28_1_sales_orders_get"},{"$ref":"#/components/schemas/Uk29_2_sales_orders_get"},{"$ref":"#/components/schemas/Uk30_1_sales_orders_get"},{"$ref":"#/components/schemas/Uk31_1_sales_orders_get"},{"$ref":"#/components/schemas/Uk32_1_sales_orders_get"},{"$ref":"#/components/schemas/Uk33_1_sales_orders_get"},{"$ref":"#/components/schemas/Uk34_1_sales_orders_get"},{"$ref":"#/components/schemas/Us2026_1_sales_orders_get"}]}},"nextOffset":{"type":"integer","nullable":true}},"required":["data","nextOffset"]}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}},"post":{"operationId":"resource_sales_orders_create","summary":"Create sales orders","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":true,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Us2026_1_sales_orders_create"}}}},"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Us2026_1_sales_orders_get"}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}}},"/v2/connections/{connectionId}/sales-orders/{id}":{"get":{"operationId":"resource_sales_orders_get","summary":"Get sales orders","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for UK and US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"string","minLength":1,"maxLength":256,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings."},"required":true,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings.","name":"id","in":"path"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":false,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/Uk26_3_sales_orders_get"},{"$ref":"#/components/schemas/Uk27_2_sales_orders_get"},{"$ref":"#/components/schemas/Uk28_1_sales_orders_get"},{"$ref":"#/components/schemas/Uk29_2_sales_orders_get"},{"$ref":"#/components/schemas/Uk30_1_sales_orders_get"},{"$ref":"#/components/schemas/Uk31_1_sales_orders_get"},{"$ref":"#/components/schemas/Uk32_1_sales_orders_get"},{"$ref":"#/components/schemas/Uk33_1_sales_orders_get"},{"$ref":"#/components/schemas/Uk34_1_sales_orders_get"},{"$ref":"#/components/schemas/Us2026_1_sales_orders_get"}]}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}},"patch":{"operationId":"resource_sales_orders_update","summary":"Update sales orders","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"string","minLength":1,"maxLength":256,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings."},"required":true,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings.","name":"id","in":"path"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":true,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Us2026_1_sales_orders_update"}}}},"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Us2026_1_sales_orders_get"}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}},"delete":{"operationId":"resource_sales_orders_delete","summary":"Delete sales orders","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"string","minLength":1,"maxLength":256,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings."},"required":true,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings.","name":"id","in":"path"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":true,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"deleted":{"type":"boolean","enum":[true]}},"required":["id","deleted"]}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}}},"/v2/connections/{connectionId}/purchase-orders":{"get":{"operationId":"resource_purchase_orders_list","summary":"List purchase orders","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for UK and US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"required":false,"name":"limit","in":"query"},{"schema":{"type":"integer","nullable":true,"minimum":0,"maximum":1000000,"default":0},"required":false,"name":"offset","in":"query"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":false,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/Uk26_3_purchase_orders_get"},{"$ref":"#/components/schemas/Uk27_2_purchase_orders_get"},{"$ref":"#/components/schemas/Uk28_1_purchase_orders_get"},{"$ref":"#/components/schemas/Uk29_2_purchase_orders_get"},{"$ref":"#/components/schemas/Uk30_1_purchase_orders_get"},{"$ref":"#/components/schemas/Uk31_1_purchase_orders_get"},{"$ref":"#/components/schemas/Uk32_1_purchase_orders_get"},{"$ref":"#/components/schemas/Uk33_1_purchase_orders_get"},{"$ref":"#/components/schemas/Uk34_1_purchase_orders_get"},{"$ref":"#/components/schemas/Us2026_1_purchase_orders_get"}]}},"nextOffset":{"type":"integer","nullable":true}},"required":["data","nextOffset"]}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}},"post":{"operationId":"resource_purchase_orders_create","summary":"Create purchase orders","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":true,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Us2026_1_purchase_orders_create"}}}},"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Us2026_1_purchase_orders_get"}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}}},"/v2/connections/{connectionId}/purchase-orders/{id}":{"get":{"operationId":"resource_purchase_orders_get","summary":"Get purchase orders","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for UK and US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"string","minLength":1,"maxLength":256,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings."},"required":true,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings.","name":"id","in":"path"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":false,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/Uk26_3_purchase_orders_get"},{"$ref":"#/components/schemas/Uk27_2_purchase_orders_get"},{"$ref":"#/components/schemas/Uk28_1_purchase_orders_get"},{"$ref":"#/components/schemas/Uk29_2_purchase_orders_get"},{"$ref":"#/components/schemas/Uk30_1_purchase_orders_get"},{"$ref":"#/components/schemas/Uk31_1_purchase_orders_get"},{"$ref":"#/components/schemas/Uk32_1_purchase_orders_get"},{"$ref":"#/components/schemas/Uk33_1_purchase_orders_get"},{"$ref":"#/components/schemas/Uk34_1_purchase_orders_get"},{"$ref":"#/components/schemas/Us2026_1_purchase_orders_get"}]}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}},"patch":{"operationId":"resource_purchase_orders_update","summary":"Update purchase orders","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"string","minLength":1,"maxLength":256,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings."},"required":true,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings.","name":"id","in":"path"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":true,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Us2026_1_purchase_orders_update"}}}},"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Us2026_1_purchase_orders_get"}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}},"delete":{"operationId":"resource_purchase_orders_delete","summary":"Delete purchase orders","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"string","minLength":1,"maxLength":256,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings."},"required":true,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings.","name":"id","in":"path"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":true,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"deleted":{"type":"boolean","enum":[true]}},"required":["id","deleted"]}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}}},"/v2/connections/{connectionId}/fixed-assets":{"get":{"operationId":"resource_fixed_assets_list","summary":"List fixed assets","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for UK connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"required":false,"name":"limit","in":"query"},{"schema":{"type":"integer","nullable":true,"minimum":0,"maximum":1000000,"default":0},"required":false,"name":"offset","in":"query"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":false,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/Uk26_3_fixed_assets_get"},{"$ref":"#/components/schemas/Uk27_2_fixed_assets_get"},{"$ref":"#/components/schemas/Uk28_1_fixed_assets_get"},{"$ref":"#/components/schemas/Uk29_2_fixed_assets_get"},{"$ref":"#/components/schemas/Uk30_1_fixed_assets_get"},{"$ref":"#/components/schemas/Uk31_1_fixed_assets_get"},{"$ref":"#/components/schemas/Uk32_1_fixed_assets_get"},{"$ref":"#/components/schemas/Uk33_1_fixed_assets_get"},{"$ref":"#/components/schemas/Uk34_1_fixed_assets_get"}]}},"nextOffset":{"type":"integer","nullable":true}},"required":["data","nextOffset"]}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}}},"/v2/connections/{connectionId}/fixed-assets/{id}":{"get":{"operationId":"resource_fixed_assets_get","summary":"Get fixed assets","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for UK connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"string","minLength":1,"maxLength":256,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings."},"required":true,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings.","name":"id","in":"path"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":false,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/Uk26_3_fixed_assets_get"},{"$ref":"#/components/schemas/Uk27_2_fixed_assets_get"},{"$ref":"#/components/schemas/Uk28_1_fixed_assets_get"},{"$ref":"#/components/schemas/Uk29_2_fixed_assets_get"},{"$ref":"#/components/schemas/Uk30_1_fixed_assets_get"},{"$ref":"#/components/schemas/Uk31_1_fixed_assets_get"},{"$ref":"#/components/schemas/Uk32_1_fixed_assets_get"},{"$ref":"#/components/schemas/Uk33_1_fixed_assets_get"},{"$ref":"#/components/schemas/Uk34_1_fixed_assets_get"}]}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}}},"/v2/connections/{connectionId}/price-lists":{"get":{"operationId":"resource_price_lists_list","summary":"List price lists","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for UK connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"required":false,"name":"limit","in":"query"},{"schema":{"type":"integer","nullable":true,"minimum":0,"maximum":1000000,"default":0},"required":false,"name":"offset","in":"query"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":false,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/Uk26_3_price_lists_get"},{"$ref":"#/components/schemas/Uk27_2_price_lists_get"},{"$ref":"#/components/schemas/Uk28_1_price_lists_get"},{"$ref":"#/components/schemas/Uk29_2_price_lists_get"},{"$ref":"#/components/schemas/Uk30_1_price_lists_get"},{"$ref":"#/components/schemas/Uk31_1_price_lists_get"},{"$ref":"#/components/schemas/Uk32_1_price_lists_get"},{"$ref":"#/components/schemas/Uk33_1_price_lists_get"},{"$ref":"#/components/schemas/Uk34_1_price_lists_get"}]}},"nextOffset":{"type":"integer","nullable":true}},"required":["data","nextOffset"]}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}}},"/v2/connections/{connectionId}/price-lists/{id}":{"get":{"operationId":"resource_price_lists_get","summary":"Get price lists","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for UK connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"string","minLength":1,"maxLength":256,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings."},"required":true,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings.","name":"id","in":"path"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":false,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/Uk26_3_price_lists_get"},{"$ref":"#/components/schemas/Uk27_2_price_lists_get"},{"$ref":"#/components/schemas/Uk28_1_price_lists_get"},{"$ref":"#/components/schemas/Uk29_2_price_lists_get"},{"$ref":"#/components/schemas/Uk30_1_price_lists_get"},{"$ref":"#/components/schemas/Uk31_1_price_lists_get"},{"$ref":"#/components/schemas/Uk32_1_price_lists_get"},{"$ref":"#/components/schemas/Uk33_1_price_lists_get"},{"$ref":"#/components/schemas/Uk34_1_price_lists_get"}]}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}}},"/v2/connections/{connectionId}/customer-addresses":{"get":{"operationId":"resource_customer_addresses_list","summary":"List customer addresses","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for UK connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"required":false,"name":"limit","in":"query"},{"schema":{"type":"integer","nullable":true,"minimum":0,"maximum":1000000,"default":0},"required":false,"name":"offset","in":"query"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":false,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/Uk26_3_customer_addresses_get"},{"$ref":"#/components/schemas/Uk27_2_customer_addresses_get"},{"$ref":"#/components/schemas/Uk28_1_customer_addresses_get"},{"$ref":"#/components/schemas/Uk29_2_customer_addresses_get"},{"$ref":"#/components/schemas/Uk30_1_customer_addresses_get"},{"$ref":"#/components/schemas/Uk31_1_customer_addresses_get"},{"$ref":"#/components/schemas/Uk32_1_customer_addresses_get"},{"$ref":"#/components/schemas/Uk33_1_customer_addresses_get"},{"$ref":"#/components/schemas/Uk34_1_customer_addresses_get"}]}},"nextOffset":{"type":"integer","nullable":true}},"required":["data","nextOffset"]}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}}},"/v2/connections/{connectionId}/customer-addresses/{id}":{"get":{"operationId":"resource_customer_addresses_get","summary":"Get customer addresses","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for UK connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"string","minLength":1,"maxLength":256,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings."},"required":true,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings.","name":"id","in":"path"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":false,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/Uk26_3_customer_addresses_get"},{"$ref":"#/components/schemas/Uk27_2_customer_addresses_get"},{"$ref":"#/components/schemas/Uk28_1_customer_addresses_get"},{"$ref":"#/components/schemas/Uk29_2_customer_addresses_get"},{"$ref":"#/components/schemas/Uk30_1_customer_addresses_get"},{"$ref":"#/components/schemas/Uk31_1_customer_addresses_get"},{"$ref":"#/components/schemas/Uk32_1_customer_addresses_get"},{"$ref":"#/components/schemas/Uk33_1_customer_addresses_get"},{"$ref":"#/components/schemas/Uk34_1_customer_addresses_get"}]}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}}},"/v2/connections/{connectionId}/supplier-addresses":{"get":{"operationId":"resource_supplier_addresses_list","summary":"List supplier addresses","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for UK connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"required":false,"name":"limit","in":"query"},{"schema":{"type":"integer","nullable":true,"minimum":0,"maximum":1000000,"default":0},"required":false,"name":"offset","in":"query"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":false,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/Uk26_3_supplier_addresses_get"},{"$ref":"#/components/schemas/Uk27_2_supplier_addresses_get"},{"$ref":"#/components/schemas/Uk28_1_supplier_addresses_get"},{"$ref":"#/components/schemas/Uk29_2_supplier_addresses_get"},{"$ref":"#/components/schemas/Uk30_1_supplier_addresses_get"},{"$ref":"#/components/schemas/Uk31_1_supplier_addresses_get"},{"$ref":"#/components/schemas/Uk32_1_supplier_addresses_get"},{"$ref":"#/components/schemas/Uk33_1_supplier_addresses_get"},{"$ref":"#/components/schemas/Uk34_1_supplier_addresses_get"}]}},"nextOffset":{"type":"integer","nullable":true}},"required":["data","nextOffset"]}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}}},"/v2/connections/{connectionId}/supplier-addresses/{id}":{"get":{"operationId":"resource_supplier_addresses_get","summary":"Get supplier addresses","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for UK connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"string","minLength":1,"maxLength":256,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings."},"required":true,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings.","name":"id","in":"path"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":false,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/Uk26_3_supplier_addresses_get"},{"$ref":"#/components/schemas/Uk27_2_supplier_addresses_get"},{"$ref":"#/components/schemas/Uk28_1_supplier_addresses_get"},{"$ref":"#/components/schemas/Uk29_2_supplier_addresses_get"},{"$ref":"#/components/schemas/Uk30_1_supplier_addresses_get"},{"$ref":"#/components/schemas/Uk31_1_supplier_addresses_get"},{"$ref":"#/components/schemas/Uk32_1_supplier_addresses_get"},{"$ref":"#/components/schemas/Uk33_1_supplier_addresses_get"},{"$ref":"#/components/schemas/Uk34_1_supplier_addresses_get"}]}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}}},"/v2/connections/{connectionId}/company-addresses":{"get":{"operationId":"resource_company_addresses_list","summary":"List company addresses","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for UK connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"required":false,"name":"limit","in":"query"},{"schema":{"type":"integer","nullable":true,"minimum":0,"maximum":1000000,"default":0},"required":false,"name":"offset","in":"query"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":false,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/Uk26_3_company_addresses_get"},{"$ref":"#/components/schemas/Uk27_2_company_addresses_get"},{"$ref":"#/components/schemas/Uk28_1_company_addresses_get"},{"$ref":"#/components/schemas/Uk29_2_company_addresses_get"},{"$ref":"#/components/schemas/Uk30_1_company_addresses_get"},{"$ref":"#/components/schemas/Uk31_1_company_addresses_get"},{"$ref":"#/components/schemas/Uk32_1_company_addresses_get"},{"$ref":"#/components/schemas/Uk33_1_company_addresses_get"},{"$ref":"#/components/schemas/Uk34_1_company_addresses_get"}]}},"nextOffset":{"type":"integer","nullable":true}},"required":["data","nextOffset"]}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}}},"/v2/connections/{connectionId}/company-addresses/{id}":{"get":{"operationId":"resource_company_addresses_get","summary":"Get company addresses","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for UK connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"string","minLength":1,"maxLength":256,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings."},"required":true,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings.","name":"id","in":"path"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":false,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/Uk26_3_company_addresses_get"},{"$ref":"#/components/schemas/Uk27_2_company_addresses_get"},{"$ref":"#/components/schemas/Uk28_1_company_addresses_get"},{"$ref":"#/components/schemas/Uk29_2_company_addresses_get"},{"$ref":"#/components/schemas/Uk30_1_company_addresses_get"},{"$ref":"#/components/schemas/Uk31_1_company_addresses_get"},{"$ref":"#/components/schemas/Uk32_1_company_addresses_get"},{"$ref":"#/components/schemas/Uk33_1_company_addresses_get"},{"$ref":"#/components/schemas/Uk34_1_company_addresses_get"}]}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}}},"/v2/connections/{connectionId}/employees":{"get":{"operationId":"resource_employees_list","summary":"List employees","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"required":false,"name":"limit","in":"query"},{"schema":{"type":"integer","nullable":true,"minimum":0,"maximum":1000000,"default":0},"required":false,"name":"offset","in":"query"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":false,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Us2026_1_employees_get"}},"nextOffset":{"type":"integer","nullable":true}},"required":["data","nextOffset"]}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}}},"/v2/connections/{connectionId}/employees/{id}":{"get":{"operationId":"resource_employees_get","summary":"Get employees","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"string","minLength":1,"maxLength":256,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings."},"required":true,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings.","name":"id","in":"path"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":false,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Us2026_1_employees_get"}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}}},"/v2/connections/{connectionId}/jobs":{"get":{"operationId":"resource_jobs_list","summary":"List jobs","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"required":false,"name":"limit","in":"query"},{"schema":{"type":"integer","nullable":true,"minimum":0,"maximum":1000000,"default":0},"required":false,"name":"offset","in":"query"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":false,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Us2026_1_jobs_get"}},"nextOffset":{"type":"integer","nullable":true}},"required":["data","nextOffset"]}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}}},"/v2/connections/{connectionId}/jobs/{id}":{"get":{"operationId":"resource_jobs_get","summary":"Get jobs","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"string","minLength":1,"maxLength":256,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings."},"required":true,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings.","name":"id","in":"path"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":false,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Us2026_1_jobs_get"}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}}},"/v2/connections/{connectionId}/budgets":{"get":{"operationId":"resource_budgets_list","summary":"List budgets","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"required":false,"name":"limit","in":"query"},{"schema":{"type":"integer","nullable":true,"minimum":0,"maximum":1000000,"default":0},"required":false,"name":"offset","in":"query"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":false,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Us2026_1_budgets_get"}},"nextOffset":{"type":"integer","nullable":true}},"required":["data","nextOffset"]}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}}},"/v2/connections/{connectionId}/budgets/{id}":{"get":{"operationId":"resource_budgets_get","summary":"Get budgets","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"string","minLength":1,"maxLength":256,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings."},"required":true,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings.","name":"id","in":"path"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":false,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Us2026_1_budgets_get"}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}}},"/v2/connections/{connectionId}/quotes":{"get":{"operationId":"resource_quotes_list","summary":"List quotes","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"required":false,"name":"limit","in":"query"},{"schema":{"type":"integer","nullable":true,"minimum":0,"maximum":1000000,"default":0},"required":false,"name":"offset","in":"query"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":false,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Us2026_1_quotes_get"}},"nextOffset":{"type":"integer","nullable":true}},"required":["data","nextOffset"]}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}},"post":{"operationId":"resource_quotes_create","summary":"Create quotes","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":true,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Us2026_1_quotes_create"}}}},"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Us2026_1_quotes_get"}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}}},"/v2/connections/{connectionId}/quotes/{id}":{"get":{"operationId":"resource_quotes_get","summary":"Get quotes","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"string","minLength":1,"maxLength":256,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings."},"required":true,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings.","name":"id","in":"path"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":false,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Us2026_1_quotes_get"}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}},"patch":{"operationId":"resource_quotes_update","summary":"Update quotes","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"string","minLength":1,"maxLength":256,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings."},"required":true,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings.","name":"id","in":"path"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":true,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Us2026_1_quotes_update"}}}},"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Us2026_1_quotes_get"}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}},"delete":{"operationId":"resource_quotes_delete","summary":"Delete quotes","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"string","minLength":1,"maxLength":256,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings."},"required":true,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings.","name":"id","in":"path"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":true,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"deleted":{"type":"boolean","enum":[true]}},"required":["id","deleted"]}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}}},"/v2/connections/{connectionId}/proposals":{"get":{"operationId":"resource_proposals_list","summary":"List proposals","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"required":false,"name":"limit","in":"query"},{"schema":{"type":"integer","nullable":true,"minimum":0,"maximum":1000000,"default":0},"required":false,"name":"offset","in":"query"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":false,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Us2026_1_proposals_get"}},"nextOffset":{"type":"integer","nullable":true}},"required":["data","nextOffset"]}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}}},"/v2/connections/{connectionId}/proposals/{id}":{"get":{"operationId":"resource_proposals_get","summary":"Get proposals","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"string","minLength":1,"maxLength":256,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings."},"required":true,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings.","name":"id","in":"path"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":false,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Us2026_1_proposals_get"}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}}},"/v2/connections/{connectionId}/customer-credit-memos":{"get":{"operationId":"resource_customer_credit_memos_list","summary":"List customer credit memos","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"required":false,"name":"limit","in":"query"},{"schema":{"type":"integer","nullable":true,"minimum":0,"maximum":1000000,"default":0},"required":false,"name":"offset","in":"query"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":false,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Us2026_1_customer_credit_memos_get"}},"nextOffset":{"type":"integer","nullable":true}},"required":["data","nextOffset"]}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}},"post":{"operationId":"resource_customer_credit_memos_create","summary":"Create customer credit memos","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":true,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Us2026_1_customer_credit_memos_create"}}}},"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Us2026_1_customer_credit_memos_get"}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}}},"/v2/connections/{connectionId}/customer-credit-memos/{id}":{"get":{"operationId":"resource_customer_credit_memos_get","summary":"Get customer credit memos","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"string","minLength":1,"maxLength":256,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings."},"required":true,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings.","name":"id","in":"path"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":false,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Us2026_1_customer_credit_memos_get"}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}},"patch":{"operationId":"resource_customer_credit_memos_update","summary":"Update customer credit memos","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"string","minLength":1,"maxLength":256,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings."},"required":true,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings.","name":"id","in":"path"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":true,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Us2026_1_customer_credit_memos_update"}}}},"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Us2026_1_customer_credit_memos_get"}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}},"delete":{"operationId":"resource_customer_credit_memos_delete","summary":"Delete customer credit memos","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"string","minLength":1,"maxLength":256,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings."},"required":true,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings.","name":"id","in":"path"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":true,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"deleted":{"type":"boolean","enum":[true]}},"required":["id","deleted"]}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}}},"/v2/connections/{connectionId}/receipts":{"get":{"operationId":"resource_receipts_list","summary":"List receipts","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"required":false,"name":"limit","in":"query"},{"schema":{"type":"integer","nullable":true,"minimum":0,"maximum":1000000,"default":0},"required":false,"name":"offset","in":"query"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":false,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Us2026_1_receipts_get"}},"nextOffset":{"type":"integer","nullable":true}},"required":["data","nextOffset"]}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}},"post":{"operationId":"resource_receipts_create","summary":"Create receipts","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":true,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Us2026_1_receipts_create"}}}},"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Us2026_1_receipts_get"}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}}},"/v2/connections/{connectionId}/receipts/{id}":{"get":{"operationId":"resource_receipts_get","summary":"Get receipts","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"string","minLength":1,"maxLength":256,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings."},"required":true,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings.","name":"id","in":"path"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":false,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Us2026_1_receipts_get"}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}},"patch":{"operationId":"resource_receipts_update","summary":"Update receipts","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"string","minLength":1,"maxLength":256,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings."},"required":true,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings.","name":"id","in":"path"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":true,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Us2026_1_receipts_update"}}}},"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Us2026_1_receipts_get"}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}},"delete":{"operationId":"resource_receipts_delete","summary":"Delete receipts","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"string","minLength":1,"maxLength":256,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings."},"required":true,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings.","name":"id","in":"path"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":true,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"deleted":{"type":"boolean","enum":[true]}},"required":["id","deleted"]}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}}},"/v2/connections/{connectionId}/advance-receipts":{"get":{"operationId":"resource_advance_receipts_list","summary":"List advance receipts","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"required":false,"name":"limit","in":"query"},{"schema":{"type":"integer","nullable":true,"minimum":0,"maximum":1000000,"default":0},"required":false,"name":"offset","in":"query"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":false,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Us2026_1_advance_receipts_get"}},"nextOffset":{"type":"integer","nullable":true}},"required":["data","nextOffset"]}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}},"post":{"operationId":"resource_advance_receipts_create","summary":"Create advance receipts","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":true,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Us2026_1_advance_receipts_create"}}}},"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Us2026_1_advance_receipts_get"}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}}},"/v2/connections/{connectionId}/advance-receipts/{id}":{"get":{"operationId":"resource_advance_receipts_get","summary":"Get advance receipts","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"string","minLength":1,"maxLength":256,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings."},"required":true,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings.","name":"id","in":"path"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":false,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Us2026_1_advance_receipts_get"}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}},"patch":{"operationId":"resource_advance_receipts_update","summary":"Update advance receipts","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"string","minLength":1,"maxLength":256,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings."},"required":true,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings.","name":"id","in":"path"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":true,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Us2026_1_advance_receipts_update"}}}},"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Us2026_1_advance_receipts_get"}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}},"delete":{"operationId":"resource_advance_receipts_delete","summary":"Delete advance receipts","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"string","minLength":1,"maxLength":256,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings."},"required":true,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings.","name":"id","in":"path"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":true,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"deleted":{"type":"boolean","enum":[true]}},"required":["id","deleted"]}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}}},"/v2/connections/{connectionId}/payments":{"get":{"operationId":"resource_payments_list","summary":"List payments","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"required":false,"name":"limit","in":"query"},{"schema":{"type":"integer","nullable":true,"minimum":0,"maximum":1000000,"default":0},"required":false,"name":"offset","in":"query"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":false,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Us2026_1_payments_get"}},"nextOffset":{"type":"integer","nullable":true}},"required":["data","nextOffset"]}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}},"post":{"operationId":"resource_payments_create","summary":"Create payments","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":true,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Us2026_1_payments_create"}}}},"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Us2026_1_payments_get"}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}}},"/v2/connections/{connectionId}/payments/{id}":{"get":{"operationId":"resource_payments_get","summary":"Get payments","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"string","minLength":1,"maxLength":256,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings."},"required":true,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings.","name":"id","in":"path"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":false,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Us2026_1_payments_get"}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}},"patch":{"operationId":"resource_payments_update","summary":"Update payments","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"string","minLength":1,"maxLength":256,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings."},"required":true,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings.","name":"id","in":"path"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":true,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Us2026_1_payments_update"}}}},"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Us2026_1_payments_get"}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}},"delete":{"operationId":"resource_payments_delete","summary":"Delete payments","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"string","minLength":1,"maxLength":256,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings."},"required":true,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings.","name":"id","in":"path"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":true,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"deleted":{"type":"boolean","enum":[true]}},"required":["id","deleted"]}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}}},"/v2/connections/{connectionId}/advance-payments":{"get":{"operationId":"resource_advance_payments_list","summary":"List advance payments","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"required":false,"name":"limit","in":"query"},{"schema":{"type":"integer","nullable":true,"minimum":0,"maximum":1000000,"default":0},"required":false,"name":"offset","in":"query"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":false,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Us2026_1_advance_payments_get"}},"nextOffset":{"type":"integer","nullable":true}},"required":["data","nextOffset"]}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}}},"/v2/connections/{connectionId}/advance-payments/{id}":{"get":{"operationId":"resource_advance_payments_get","summary":"Get advance payments","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"string","minLength":1,"maxLength":256,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings."},"required":true,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings.","name":"id","in":"path"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":false,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Us2026_1_advance_payments_get"}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}}},"/v2/connections/{connectionId}/customer-payments":{"get":{"operationId":"resource_customer_payments_list","summary":"List customer payments","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"required":false,"name":"limit","in":"query"},{"schema":{"type":"integer","nullable":true,"minimum":0,"maximum":1000000,"default":0},"required":false,"name":"offset","in":"query"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":false,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Us2026_1_customer_payments_get"}},"nextOffset":{"type":"integer","nullable":true}},"required":["data","nextOffset"]}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}}},"/v2/connections/{connectionId}/customer-payments/{id}":{"get":{"operationId":"resource_customer_payments_get","summary":"Get customer payments","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"string","minLength":1,"maxLength":256,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings."},"required":true,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings.","name":"id","in":"path"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":false,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Us2026_1_customer_payments_get"}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}}},"/v2/connections/{connectionId}/supplier-receipts":{"get":{"operationId":"resource_supplier_receipts_list","summary":"List supplier receipts","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"required":false,"name":"limit","in":"query"},{"schema":{"type":"integer","nullable":true,"minimum":0,"maximum":1000000,"default":0},"required":false,"name":"offset","in":"query"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":false,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Us2026_1_supplier_receipts_get"}},"nextOffset":{"type":"integer","nullable":true}},"required":["data","nextOffset"]}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}}},"/v2/connections/{connectionId}/supplier-receipts/{id}":{"get":{"operationId":"resource_supplier_receipts_get","summary":"Get supplier receipts","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"string","minLength":1,"maxLength":256,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings."},"required":true,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings.","name":"id","in":"path"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":false,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Us2026_1_supplier_receipts_get"}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}}},"/v2/connections/{connectionId}/purchase-invoices":{"get":{"operationId":"resource_purchase_invoices_list","summary":"List purchase invoices","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"required":false,"name":"limit","in":"query"},{"schema":{"type":"integer","nullable":true,"minimum":0,"maximum":1000000,"default":0},"required":false,"name":"offset","in":"query"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":false,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Us2026_1_purchase_invoices_get"}},"nextOffset":{"type":"integer","nullable":true}},"required":["data","nextOffset"]}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}},"post":{"operationId":"resource_purchase_invoices_create","summary":"Create purchase invoices","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":true,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Us2026_1_purchase_invoices_create"}}}},"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Us2026_1_purchase_invoices_get"}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}}},"/v2/connections/{connectionId}/purchase-invoices/{id}":{"get":{"operationId":"resource_purchase_invoices_get","summary":"Get purchase invoices","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"string","minLength":1,"maxLength":256,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings."},"required":true,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings.","name":"id","in":"path"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":false,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Us2026_1_purchase_invoices_get"}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}},"patch":{"operationId":"resource_purchase_invoices_update","summary":"Update purchase invoices","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"string","minLength":1,"maxLength":256,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings."},"required":true,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings.","name":"id","in":"path"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":true,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Us2026_1_purchase_invoices_update"}}}},"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Us2026_1_purchase_invoices_get"}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}},"delete":{"operationId":"resource_purchase_invoices_delete","summary":"Delete purchase invoices","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"string","minLength":1,"maxLength":256,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings."},"required":true,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings.","name":"id","in":"path"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":true,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"deleted":{"type":"boolean","enum":[true]}},"required":["id","deleted"]}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}}},"/v2/connections/{connectionId}/supplier-credit-memos":{"get":{"operationId":"resource_supplier_credit_memos_list","summary":"List supplier credit memos","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"required":false,"name":"limit","in":"query"},{"schema":{"type":"integer","nullable":true,"minimum":0,"maximum":1000000,"default":0},"required":false,"name":"offset","in":"query"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":false,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Us2026_1_supplier_credit_memos_get"}},"nextOffset":{"type":"integer","nullable":true}},"required":["data","nextOffset"]}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}}},"/v2/connections/{connectionId}/supplier-credit-memos/{id}":{"get":{"operationId":"resource_supplier_credit_memos_get","summary":"Get supplier credit memos","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"string","minLength":1,"maxLength":256,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings."},"required":true,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings.","name":"id","in":"path"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":false,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Us2026_1_supplier_credit_memos_get"}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}}},"/v2/connections/{connectionId}/journal-entries":{"get":{"operationId":"resource_journal_entries_list","summary":"List journal entries","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"required":false,"name":"limit","in":"query"},{"schema":{"type":"integer","nullable":true,"minimum":0,"maximum":1000000,"default":0},"required":false,"name":"offset","in":"query"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":false,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Us2026_1_journal_entries_get"}},"nextOffset":{"type":"integer","nullable":true}},"required":["data","nextOffset"]}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}},"post":{"operationId":"resource_journal_entries_create","summary":"Create journal entries","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":true,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Us2026_1_journal_entries_create"}}}},"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Us2026_1_journal_entries_get"}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}}},"/v2/connections/{connectionId}/journal-entries/{id}":{"get":{"operationId":"resource_journal_entries_get","summary":"Get journal entries","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"string","minLength":1,"maxLength":256,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings."},"required":true,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings.","name":"id","in":"path"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":false,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Us2026_1_journal_entries_get"}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}},"patch":{"operationId":"resource_journal_entries_update","summary":"Update journal entries","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"string","minLength":1,"maxLength":256,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings."},"required":true,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings.","name":"id","in":"path"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":true,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Us2026_1_journal_entries_update"}}}},"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Us2026_1_journal_entries_get"}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}},"delete":{"operationId":"resource_journal_entries_delete","summary":"Delete journal entries","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"string","minLength":1,"maxLength":256,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings."},"required":true,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings.","name":"id","in":"path"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":true,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"deleted":{"type":"boolean","enum":[true]}},"required":["id","deleted"]}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}}},"/v2/connections/{connectionId}/tax-codes":{"get":{"operationId":"resource_tax_codes_list","summary":"List tax codes","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"required":false,"name":"limit","in":"query"},{"schema":{"type":"integer","nullable":true,"minimum":0,"maximum":1000000,"default":0},"required":false,"name":"offset","in":"query"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":false,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Us2026_1_tax_codes_get"}},"nextOffset":{"type":"integer","nullable":true}},"required":["data","nextOffset"]}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}}},"/v2/connections/{connectionId}/tax-codes/{id}":{"get":{"operationId":"resource_tax_codes_get","summary":"Get tax codes","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"string","minLength":1,"maxLength":256,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings."},"required":true,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings.","name":"id","in":"path"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":false,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Us2026_1_tax_codes_get"}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}}},"/v2/connections/{connectionId}/tax-agencies":{"get":{"operationId":"resource_tax_agencies_list","summary":"List tax agencies","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"required":false,"name":"limit","in":"query"},{"schema":{"type":"integer","nullable":true,"minimum":0,"maximum":1000000,"default":0},"required":false,"name":"offset","in":"query"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":false,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Us2026_1_tax_agencies_get"}},"nextOffset":{"type":"integer","nullable":true}},"required":["data","nextOffset"]}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}}},"/v2/connections/{connectionId}/tax-agencies/{id}":{"get":{"operationId":"resource_tax_agencies_get","summary":"Get tax agencies","tags":["Sage resources"],"security":[{"SageApiKey":[]}],"description":"Supported for US connections. The connection selects its country and SDK model automatically; use /info to select the matching DTO. A 202 response contains an operation to poll. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"string","minLength":1,"maxLength":256,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings."},"required":true,"description":"Record ID returned by Sage. US IDs are UUIDs; UK IDs are opaque strings.","name":"id","in":"path"},{"schema":{"type":"string","enum":["wait","immediate"],"default":"wait","description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async."},"required":false,"description":"Wait up to 15 seconds by default, or return immediately. Pending operations return 202. An explicit mode takes precedence over Prefer: respond-async.","name":"completionMode","in":"query"},{"schema":{"type":"string","pattern":"^[\\x21-\\x7e]{1,128}$"},"required":false,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","enum":["respond-async"]},"required":false,"name":"Prefer","in":"header"}],"responses":{"200":{"description":"Operation completed","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Us2026_1_tax_agencies_get"}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."},"Retry-After":{"schema":{"type":"string","enum":["2"],"description":"Seconds before polling a pending operation."},"required":false,"description":"Seconds before polling a pending operation."}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","headers":{"Location":{"schema":{"type":"string","description":"Relative operation status URL, available after enqueue."},"required":false,"description":"Relative operation status URL, available after enqueue."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}}},"/v2/connections/{connectionId}/operations/{operationId}":{"get":{"operationId":"getDurableOperation","summary":"Get operation result","description":"Poll the operation returned by an asynchronous request. A 202 response is still pending. Reuse the original operation instead of resubmitting a write. Operations have a maximum five-minute lifetime after enqueue, including time waiting for the SDK. Each connection admits at most 100 nonterminal operations; this is a queue bound, not a throughput guarantee. Connections are served in turn, preserving FIFO within each connection; the desktop connector serializes SDK execution. A native SDK operation has a 60-second limit within the remaining operation lifetime. Expired reads and writes that were never dispatched return DELIVERY_TIMEOUT. A write that was dispatched may return OUTCOME_UNKNOWN; read and reconcile before another write. Completed results and cloud Idempotency-Key matches are retained for at least seven days after completion. The desktop retains acknowledged mutation job IDs for eight days; this does not extend cloud Idempotency-Key retention. Reconcile uncertain writes before retrying after that retention window. completionMode=wait is the default and waits up to 15 seconds. completionMode=immediate skips waiting. Pending operations return 202 and continue running. Prefer: respond-async remains supported when completionMode is omitted; an explicit mode takes precedence. Poll statusUrl or Location and honor Retry-After; reuse the original Idempotency-Key when retrying. Changing completionMode does not create a new operation.","tags":["Operations"],"security":[{"SageApiKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"operationId","in":"path"}],"responses":{"200":{"description":"Completed operation","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"202":{"description":"Queued or running; acceptance does not guarantee completion before the five-minute deadline. Follow Location or poll statusUrl; do not resubmit with a new idempotency key.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"connectionId":{"type":"string","format":"uuid"},"operation":{"type":"string","enum":["company.get","customers.list","items.list","info.get","uk.list","uk.get","uk.create","uk.update","uk.delete","us.list","us.get","us.create","us.update","us.delete"]},"state":{"type":"string","enum":["queued","dispatched","accepted","succeeded","failed","cancelled"]},"createdAt":{"type":"integer","minimum":0},"completedAt":{"type":"integer","nullable":true,"minimum":0},"result":{"type":"object","nullable":true,"properties":{"v":{"type":"number","enum":[2]},"type":{"type":"string","enum":["command.result"]},"connectionId":{"type":"string","format":"uuid"},"jobId":{"type":"string","format":"uuid"},"attemptId":{"type":"string","format":"uuid"},"success":{"type":"boolean"},"payload":{"type":"object","nullable":true,"properties":{}},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string","minLength":1,"maxLength":80},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["code","message"],"additionalProperties":false},"sdkMs":{"type":"number","minimum":0,"maximum":90000}},"required":["v","type","connectionId","jobId","attemptId","success","payload","error","sdkMs"],"additionalProperties":false},"statusUrl":{"type":"string","maxLength":256}},"required":["id","connectionId","operation","state","createdAt","completedAt","result","statusUrl"],"additionalProperties":false}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Operation not granted","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Sage rejected the operation or its outcome needs reconciliation","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Result too large; request a smaller page","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"429":{"description":"The connection already has 100 nonterminal operations. Existing idempotency-key replays remain available at capacity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}}},"/v2/accounts/{accountId}/connections/{connectionId}/webhooks/{endpointId}":{"put":{"operationId":"registerSageWebhook","tags":["Webhooks"],"summary":"Register or update a webhook endpoint","security":[{"SagePortalAuth":[]}],"description":"Register up to 10 HTTPS endpoints using an account-authorized bearer token. Each endpoint receives operation.completed; changes additionally subscribes to resources supported by the connection country and requires its uk.list or us.list permission. The fastest requested interval runs after each completed scan, not as a freshness guarantee. US snapshots require two matching complete public SDK scans. Events are at least once and may arrive out of order. Verify HMAC-SHA256(timestamp + '.' + rawBody), deduplicate id, and use sequence to reject older state. resource.reset requires a full refresh. Polls coalesce intermediate edits; a create and delete between scans cannot be observed. Deletion requires two complete snapshots. The US SDK exposes no restore generation: restoring a backup with the same company GUID and schema is observed as ordinary record changes.","callbacks":{"event":{"{$request.body#/url}":{"post":{"summary":"Sage operation completion or resource change","security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SageWebhookEvent"}}}},"parameters":[{"in":"header","name":"webhook-id","required":true,"schema":{"type":"string"}},{"in":"header","name":"webhook-timestamp","required":true,"schema":{"type":"string"}},{"in":"header","name":"webhook-signature","required":true,"schema":{"type":"string"},"description":"v1=<hex HMAC-SHA256(timestamp + '.' + rawBody)>. Reject stale timestamps and compare signatures in constant time."}],"responses":{"200":{"description":"Received. Non-2xx responses retry up to 12 times with exponential backoff. Deduplicate the event ID."}}}}}},"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"accountId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"endpointId","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SageWebhookEndpointRequest"}}}},"responses":{"204":{"description":"Endpoint registered; Windows polling configuration updated"},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid portal access token","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Token does not authorize this account or change subscription","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"409":{"description":"Maximum 10 webhook endpoints per connection","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"413":{"description":"Request body exceeds 16 KiB","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}},"delete":{"operationId":"removeSageWebhook","tags":["Webhooks"],"summary":"Remove a webhook endpoint","description":"Remove this endpoint and cancel its pending deliveries. Other endpoints remain active.","security":[{"SagePortalAuth":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"accountId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"endpointId","in":"path"}],"responses":{"204":{"description":"Endpoint removed; its pending deliveries cancelled. An in-flight request may still arrive."},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid portal access token","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Token does not authorize this account or change subscription","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}}},"/v2/accounts/{accountId}/connections/{connectionId}/webhooks":{"get":{"operationId":"listSageWebhooks","tags":["Webhooks"],"summary":"List webhook endpoints","description":"Read the registered endpoints and their change subscriptions. Secrets are never returned.","security":[{"SagePortalAuth":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"connectionId","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"accountId","in":"path"}],"responses":{"200":{"description":"Registered endpoints; secrets are never returned","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","maxLength":2048,"format":"uri"},"changes":{"type":"object","properties":{"resources":{"type":"array","items":{"anyOf":[{"type":"string","enum":["customers","suppliers","items","accounts","bank-accounts","invoices","sales-orders","purchase-orders","fixed-assets","price-lists","customer-addresses","supplier-addresses","company-addresses"]},{"type":"string","enum":["accounts","customers","suppliers","items","employees","jobs","budgets","quotes","proposals","sales-orders","invoices","customer-credit-memos","receipts","advance-receipts","payments","advance-payments","customer-payments","supplier-receipts","purchase-orders","purchase-invoices","supplier-credit-memos","journal-entries","tax-codes","tax-agencies"]}]},"minItems":1,"maxItems":24},"intervalSeconds":{"type":"integer","enum":[60,300,900]}},"required":["resources","intervalSeconds"],"additionalProperties":false},"id":{"type":"string","format":"uuid"}},"required":["url","id"],"additionalProperties":false}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"401":{"description":"Invalid portal access token","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"403":{"description":"Token does not authorize this account or change subscription","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"404":{"description":"Connection, record or operation not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"anyOf":[{"type":"string"},{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}]},"operationId":{"type":"string","format":"uuid"}},"required":["error"]}}}}}}}},"security":[{"bearerAuth":[]}],"servers":[{"url":"http://localhost:8788","description":"Local Wrangler development server"}],"tags":[{"name":"System","description":"Simple checks that the API is ready."},{"name":"Connections","description":"Sage companies that are ready for your app to use."},{"name":"Capabilities","description":"The Sage 50 resources available for the selected company."},{"name":"Company","description":"Sage 50 company."},{"name":"Customers","description":"Sage 50 customers."},{"name":"Customer Contacts","description":"Sage 50 customer contacts."},{"name":"Customer Addresses","description":"Sage 50 customer addresses."},{"name":"Vendors","description":"Sage 50 vendors."},{"name":"Vendor Contacts","description":"Sage 50 vendor contacts."},{"name":"Vendor Addresses","description":"Sage 50 vendor addresses."},{"name":"Items","description":"Sage 50 items."},{"name":"Item Categories","description":"Sage 50 item categories."},{"name":"Item Prices","description":"Sage 50 item prices."},{"name":"Inventory Adjustments","description":"Sage 50 inventory adjustments."},{"name":"Inventory Transactions","description":"Sage 50 inventory transactions."},{"name":"Quotes","description":"Sage 50 quotes."},{"name":"Proposals","description":"Sage 50 proposals."},{"name":"Sales Orders","description":"Sage 50 sales orders."},{"name":"Sales Invoices","description":"Sage 50 sales invoices."},{"name":"Invoices","description":"Sage 50 invoices."},{"name":"Sales Credit Memos","description":"Sage 50 sales credit memos."},{"name":"Receipts","description":"Sage 50 receipts."},{"name":"Deposits","description":"Sage 50 deposits."},{"name":"Purchase Orders","description":"Sage 50 purchase orders."},{"name":"Purchase Invoices","description":"Sage 50 purchase invoices."},{"name":"Vendor Credit Memos","description":"Sage 50 vendor credit memos."},{"name":"Vendor Payments","description":"Sage 50 vendor payments."},{"name":"Checks","description":"Sage 50 checks."},{"name":"Accounts","description":"Sage 50 accounts."},{"name":"Journal Entries","description":"Sage 50 journal entries."},{"name":"Departments","description":"Sage 50 departments."},{"name":"Tax Codes","description":"Sage 50 tax codes."},{"name":"Tax Agencies","description":"Sage 50 tax agencies."},{"name":"Bank Accounts","description":"Sage 50 bank accounts."},{"name":"Bank Transactions","description":"Sage 50 bank transactions."},{"name":"Bank Reconciliations","description":"Sage 50 bank reconciliations."},{"name":"Jobs","description":"Sage 50 jobs."},{"name":"Phases","description":"Sage 50 phases."},{"name":"Cost Codes","description":"Sage 50 cost codes."},{"name":"Change Orders","description":"Sage 50 change orders."},{"name":"Fixed Assets","description":"Sage 50 fixed assets."},{"name":"Attachments","description":"Sage 50 attachments."},{"name":"Reports","description":"Sage 50 reports."},{"name":"Native Resources","description":"Sage 50 native resources."}],"x-docsPath":"docs/api-and-websocket-protocol-plan.md","x-serverConfigurationNote":"Set the production server URL when publishing the public API spec.","x-protocolSchemaVersion":"2026-04-17","x-scalar-sdk-installation":[{"lang":"TypeScript","description":"Install the official TypeScript SDK from npm.","source":"npm install @sage-connector/ts-sdk"}],"x-sdkGeneration":{"goal":"Generate friendly SDKs for TypeScript, Python, Java, and other languages from this OpenAPI file.","currentOfficialSdk":"TypeScript","languageTargets":["TypeScript","Python","Java","C#","Go","Ruby"],"resourceStyle":"Use resource names and method names that feel natural in code, such as sage50.salesInvoices.create() or sage50.customers.list().","modelStyle":"Emit concrete models for every Sage 50 resource and mutation request. Avoid anonymous map types when a stable resource object exists in this document.","errorStyle":"Wrap non-2xx responses in a language-native API error class that exposes error.message, error.userFacingMessage, error.code, error.type, error.httpStatusCode, error.requestId, error.integrationCode, and error.retryable.","retryStyle":"SDKs may safely retry connection failures and retryable errors. Create and update calls should reuse the same Idempotency-Key when retried."},"x-generatedArtifacts":["packages/ts-sdk/openapi.json","packages/ts-sdk/src/generated.ts","packages/contracts/generated/json-schema","packages/contracts/generated/asyncapi","dotnet/Adapter.Abstractions/Generated/ConnectorProtocol.g.cs","dotnet/Adapter.Abstractions/Generated/Sage50CapabilityCatalog.g.cs"]}