Calculate billing summary (Subscription Manager to Global-e)
Subscription Manager calls Global-e to calculate the recurring billing summary - the selected shipping option (physical / hybrid subscriptions) and duties and taxes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Global-e Docs","colors":{"primary":"#F15A2B","light":"#F57C00","dark":"#C2451F"},"logo":{"light":"https://mintcdn.com/globale-enterprise/xvASI8IP64Cj0kr_/logo/light.png?fit=max\u0026auto=format\u0026n=xvASI8IP64Cj0kr_\u0026q=85\u0026s=3b5849fa849995b81b219c94b874d44f","dark":"https://mintcdn.com/globale-enterprise/xvASI8IP64Cj0kr_/logo/dark.png?fit=max\u0026auto=format\u0026n=xvASI8IP64Cj0kr_\u0026q=85\u0026s=4b3c45ba5ba14d2aadb54b500e20183c","href":"/introduction"},"favicon":"https://mintcdn.com/globale-enterprise/tw35F3WiyJ8sxtxX/favicon.png?fit=max\u0026auto=format\u0026n=tw35F3WiyJ8sxtxX\u0026q=85\u0026s=261a34ff25dc6eee4c7acf742bba08b5","api":{"playground":{"display":"simple"}},"background":{"decoration":"gradient"},"navbar":{"links":[{"href":"https://status.global-e.com/","label":"Status Page"},{"href":"https://trustcenter.global-e.com","label":"Trust Center"},{"href":"/contact-us","label":"Escalating a Ticket"}]},"styling":{"eyebrows":"breadcrumbs","latex":true},"contextual":{"options":[],"display":"header"},"interaction":{"drilldown":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"globale-enterprise","hasAudioNarration":false,"actualSubdomain":"globale-enterprise","customDomains":["docs.global-e.com"],"gitSource":{"type":"gitlab","owner":"global-e/product","repo":"mintlify-docs","deployBranch":"main","contentDirectory":"enterprise","isPrivate":true,"projectId":84016925,"mountPath":"","label":""},"chroma":{"collectionId":"512fb028-3e65-4b3e-a3cf-b3550e4b3bb3","liveDeploymentHistoryId":"6ae36b0095eb8a3e5a09981b","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae36b0095eb8a3e5a09981b"},"feedback":{"thumbs":false},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae36b0095eb8a3e5a09981b","clientVersion":"0.0.4043","searchFilterCounts":[{"language":"default","tag":"Documentation","count":477},{"language":"default","tag":"Topics","count":477},{"language":"default","tag":"eCommerce Integration","count":182},{"language":"default","tag":"API Reference","count":80},{"language":"default","tag":"Global-e: The Basics","count":74},{"language":"default","tag":"SDK and API","count":53},{"language":"default","tag":"SFCC","count":48},{"language":"default","tag":"Merchant Portal","count":44},{"language":"default","tag":"New Returns Portal for All Platforms (Excluding Shopify)","count":44},{"language":"default","tag":"New Returns Portal for Shopify","count":38}],"searchSettings":{"maxResults":15}},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","href":"/_mintlify/custom/globale-enterprise/bdd88c3538cea5b1/style.css"}],"page":{"pagePath":"api-reference/calculate-billing-summary","slug":"/api-reference/calculate-billing-summary","pageMetadata":{"contextual":{"options":[{"title":"View YAML","description":"Open the OpenAPI spec for this endpoint","icon":"file-code","href":"/api-reference/specs/billingsummarycalculate.yaml"},"download-spec","copy","view","chatgpt","claude"]},"title":"Calculate billing summary (Subscription Manager to Global-e)","sidebarTitle":"Calculate billing summary","description":"Subscription Manager calls Global-e to calculate the recurring billing summary - the selected shipping option (physical / hybrid subscriptions) and duties and taxes","openapi":"api-reference/specs/billingsummarycalculate.yaml POST /subscriptions/billing-summary/calculate","href":"/api-reference/calculate-billing-summary"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Subscription Manager calls Global-e to calculate the recurring billing summary - the selected shipping option (physical / hybrid subscriptions) and duties and taxes\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,p:`p`,..._provideComponents(),...props.components},{Note}=_components;if(!Note)_missingMdxReference(`Note`,true);return _jsx(Note,{children:_jsxs(_components.p,{children:[`Part of the `,_jsx(_components.a,{href:`/subscription-connector`,children:`Subscription Connector`}),` integration guide — see it for when and how to use this endpoint.`]})})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"contextual":{"options":[{"title":"View YAML","description":"Open the OpenAPI spec for this endpoint","icon":"file-code","href":"/api-reference/specs/billingsummarycalculate.yaml"},"download-spec","copy","view","chatgpt","claude"]},"title":"Calculate billing summary (Subscription Manager to Global-e)","sidebarTitle":"Calculate billing summary","description":"Subscription Manager calls Global-e to calculate the recurring billing summary - the selected shipping option (physical / hybrid subscriptions) and duties and taxes","openapi":"api-reference/specs/billingsummarycalculate.yaml POST /subscriptions/billing-summary/calculate","href":"/api-reference/calculate-billing-summary"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/globale-enterprise/3a1555eec05adf43/feedback-link.js","/_mintlify/custom/globale-enterprise/07a4be9d6ed97624/footer-legal.js","/_mintlify/custom/globale-enterprise/49711f0bc5d1b97e/country-table.js","/_mintlify/custom/globale-enterprise/d9fcdd3337ee5e98/assistant-open-full.js"],"openApiReferenceData":{"operation":{"tags":["Billing summary"],"summary":"Calculate billing summary","operationId":"calculateBillingSummary","description":"Subscription Manager calls Global-e to calculate the recurring billing summary - the selected shipping option (physical / hybrid subscriptions) and duties and taxes","parameters":["99bb1042-9215-4461-94dc-5d32852d0bb7"],"requestBody":"82218f57-b699-4429-aca6-8ec652ae17fa","responses":{"200":"be4cc1e4-5cdf-4c5d-8476-60bec02b7261","400":"814c6db7-d203-4be7-8586-1f75784258de","401":"098523a2-e0db-40c2-8316-a650f3e03d8b","403":"a0363a4e-8421-4292-9085-62eaa2da19f6","404":"372dc23f-3160-416c-9a6e-e5e7871997f3","409":"98481aca-2a74-4c81-8330-52f1217cb3ce","422":"d5594404-f458-405e-b460-6fa145058be2","500":"f9ae3c01-e57d-4e46-abbb-fae324edfd27","default":"c233c993-22bc-4022-a550-9e13b0e89f0a"},"x-codeSamples":[{"lang":"curl","source":"curl -X POST \"https://{globale_api_domain}/subscriptions/billing-summary/calculate\" \\\n -H \"Authorization: Bearer {JWT Token}\" \\\n -H \"Idempotency-Key: 3f1a7c2e-9b40-4d6f-8a21-5c9e0b7d4a11\" \\\n -H \"Content-Type: application/json\" \\\n -d '{\"subscriptionId\":\"123456\",\"merchantGuid\":\"1234567890\",\"currencyCode\":\"USD\",\"products\":[{\"code\":\"PROD-001\",\"quantity\":2,\"price\":149.99}]}'"}],"method":"post","type":"path","servers":["118eecdf-8284-4930-984e-b31fcb2597a2"],"security":[],"path":"/subscriptions/billing-summary/calculate","baseUrlOptions":["https://{globale_api_domain}"],"title":"Calculate billing summary","codeSamples":[{"lang":"curl","source":"curl -X POST \"https://{globale_api_domain}/subscriptions/billing-summary/calculate\" \\\n -H \"Authorization: Bearer {JWT Token}\" \\\n -H \"Idempotency-Key: 3f1a7c2e-9b40-4d6f-8a21-5c9e0b7d4a11\" \\\n -H \"Content-Type: application/json\" \\\n -d '{\"subscriptionId\":\"123456\",\"merchantGuid\":\"1234567890\",\"currencyCode\":\"USD\",\"products\":[{\"code\":\"PROD-001\",\"quantity\":2,\"price\":149.99}]}'"}],"requiredOnlyExamples":false,"requestExampleType":"codeSamples","responseExampleType":"generated"},"dependencies":{"parameters":{"99bb1042-9215-4461-94dc-5d32852d0bb7":{"name":"Idempotency-Key","in":"header","required":true,"description":"Unique identifier for the request; the same value must be sent on retries so the operation is applied at most once.","schema":{"type":"string","format":"uuid","isRequired":true,"description":"Unique identifier for the request; the same value must be sent on retries so the operation is applied at most once.","uniqueKey":"","typeLabel":"string\u003cuuid>"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["subscriptionId","merchantGuid","currencyCode","products"],"properties":{"subscriptionId":{"type":"string","maxLength":100,"description":"Unique identifier of subscription in the subscription manager.","isRequired":true,"uniqueKey":"subscriptionId","typeLabel":"string"},"merchantGuid":{"type":"string","format":"uuid","description":"Global-e merchant unique identifier","isRequired":true,"uniqueKey":"merchantGuid","typeLabel":"string\u003cuuid>"},"currencyCode":{"type":"string","description":"ISO 4217 currency code","pattern":"^[A-Z]{3}$","isRequired":true,"uniqueKey":"currencyCode","typeLabel":"string"},"products":{"type":"array","description":"List of products","minItems":1,"items":{"type":"object","description":"Fields which describe a product","required":["code","quantity","price"],"properties":{"code":{"type":"string","description":"Unique product identifier","isRequired":true,"uniqueKey":"products.items.[INDEX].code","typeLabel":"string"},"quantity":{"type":"integer","format":"int32","description":"Products quantity value.","isRequired":true,"uniqueKey":"products.items.[INDEX].quantity","typeLabel":"integer\u003cint32>"},"price":{"type":"number","format":"double","description":"Product price","isRequired":true,"uniqueKey":"products.items.[INDEX].price","typeLabel":"number\u003cdouble>"}},"uniqueKey":"products.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"products","typeLabel":"object[]"},"discounts":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","description":"Discount code","uniqueKey":"discounts.items.[INDEX].code","typeLabel":"string"},"type":{"type":"string","enum":["Cart"],"description":"Discount type. Only \"Cart\" is supported, for both cart-level and product-level discounts; any other value is rejected with 400 VALIDATION_FAILED","uniqueKey":"discounts.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"amount":{"type":"number","format":"double","description":"Discount amount, greater than 0","uniqueKey":"discounts.items.[INDEX].amount","typeLabel":"number\u003cdouble>"},"productCode":{"oneOf":[{"type":"string","description":"null for order-level, productCode for product-level","uniqueKey":"discounts.items.[INDEX].productCode.oneOf.0","typeLabel":"string"},{"type":"null","description":"null for order-level, productCode for product-level","uniqueKey":"discounts.items.[INDEX].productCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"discounts.items.[INDEX].productCode","typeLabel":"string | null"}},"uniqueKey":"discounts.items.[INDEX]","typeLabel":"object"},"description":"Applied discounts for this cycle; not persisted on the subscription.","uniqueKey":"discounts","typeLabel":"object[]"},"shippingAmount":{"type":"number","format":"double","minimum":0,"description":"Shipping amount charged to the shopper for this cycle. 0 means free shipping; omit to let Global-e price it","uniqueKey":"shippingAmount","typeLabel":"number\u003cdouble>"}},"uniqueKey":"","typeLabel":"object"},"example":{"subscriptionId":"123456","merchantGuid":"1234567890","currencyCode":"USD","products":[{"code":"PROD-001","quantity":2,"price":149.99}],"shippingAmount":5},"examples":{"Example":{"title":"Example","value":{"subscriptionId":"123456","merchantGuid":"1234567890","currencyCode":"USD","products":[{"code":"PROD-001","quantity":2,"price":149.99}],"shippingAmount":5}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"be4cc1e4-5cdf-4c5d-8476-60bec02b7261":{"description":"Billing summary - selected shipping option and duties and taxes values.","content":{"application/json":{"schema":{"type":"object","required":["externalReference","dtResults"],"properties":{"externalReference":{"type":"string","maxLength":50,"description":"Unique identifier for the request","isRequired":true,"uniqueKey":"externalReference","typeLabel":"string"},"dtResults":{"type":"array","description":"Array of duty/tax calculation results","items":{"type":"object","required":["deliveryId","status","lineItems","additionalFees","totals"],"properties":{"deliveryId":{"type":"string","maxLength":50,"description":"Delivery identifier. Always \"0\"","isRequired":true,"uniqueKey":"dtResults.items.[INDEX].deliveryId","typeLabel":"string"},"status":{"type":"object","description":"Calculation status (isSuccessful, error)","required":["isSuccessful"],"properties":{"isSuccessful":{"type":"boolean","description":"Status success","isRequired":true,"uniqueKey":"dtResults.items.[INDEX].status.isSuccessful","typeLabel":"boolean"},"error":{"type":"object","description":"Error details","required":["code","description"],"properties":{"code":{"type":"integer","description":"Error code","isRequired":true,"uniqueKey":"dtResults.items.[INDEX].status.error.code","typeLabel":"integer"},"description":{"type":"string","maxLength":500,"description":"Error description","isRequired":true,"uniqueKey":"dtResults.items.[INDEX].status.error.description","typeLabel":"string"}},"uniqueKey":"dtResults.items.[INDEX].status.error","typeLabel":"object"}},"isRequired":true,"uniqueKey":"dtResults.items.[INDEX].status","typeLabel":"object"},"lineItems":{"type":"array","description":"Array of line items with duties/taxes","items":{"type":"object","required":["index","code","hsCode","dutyLines","taxLines"],"properties":{"index":{"type":"string","maxLength":50,"description":"Item index","isRequired":true,"uniqueKey":"dtResults.items.[INDEX].lineItems.items.[INDEX].index","typeLabel":"string"},"code":{"type":"string","maxLength":50,"description":"Product code","isRequired":true,"uniqueKey":"dtResults.items.[INDEX].lineItems.items.[INDEX].code","typeLabel":"string"},"hsCode":{"type":"string","maxLength":10,"description":"Harmonized System code","isRequired":true,"uniqueKey":"dtResults.items.[INDEX].lineItems.items.[INDEX].hsCode","typeLabel":"string"},"dutyLines":{"type":"array","description":"Array of duty lines","items":{"type":"object","required":["name","price"],"properties":{"name":{"type":"string","maxLength":100,"description":"Name","isRequired":true,"uniqueKey":"dtResults.items.[INDEX].lineItems.items.[INDEX].dutyLines.items.[INDEX].name","typeLabel":"string"},"price":{"type":"number","description":"Price","isRequired":true,"uniqueKey":"dtResults.items.[INDEX].lineItems.items.[INDEX].dutyLines.items.[INDEX].price","typeLabel":"number"},"rate":{"type":"number","description":"Rate","uniqueKey":"dtResults.items.[INDEX].lineItems.items.[INDEX].dutyLines.items.[INDEX].rate","typeLabel":"number"}},"uniqueKey":"dtResults.items.[INDEX].lineItems.items.[INDEX].dutyLines.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"dtResults.items.[INDEX].lineItems.items.[INDEX].dutyLines","typeLabel":"object[]"},"taxLines":{"type":"array","description":"Array of tax lines","items":{"type":"object","required":["name","price","rate"],"properties":{"name":{"type":"string","maxLength":100,"description":"Name","isRequired":true,"uniqueKey":"dtResults.items.[INDEX].lineItems.items.[INDEX].taxLines.items.[INDEX].name","typeLabel":"string"},"price":{"type":"number","description":"Price","isRequired":true,"uniqueKey":"dtResults.items.[INDEX].lineItems.items.[INDEX].taxLines.items.[INDEX].price","typeLabel":"number"},"rate":{"type":"number","description":"Rate","isRequired":true,"uniqueKey":"dtResults.items.[INDEX].lineItems.items.[INDEX].taxLines.items.[INDEX].rate","typeLabel":"number"}},"uniqueKey":"dtResults.items.[INDEX].lineItems.items.[INDEX].taxLines.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"dtResults.items.[INDEX].lineItems.items.[INDEX].taxLines","typeLabel":"object[]"}},"uniqueKey":"dtResults.items.[INDEX].lineItems.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"dtResults.items.[INDEX].lineItems","typeLabel":"object[]"},"additionalFees":{"type":"array","description":"Additional fees (e.g. clearance)","items":{"type":"object","required":["name","price"],"properties":{"name":{"type":"string","maxLength":100,"description":"Name","isRequired":true,"uniqueKey":"dtResults.items.[INDEX].additionalFees.items.[INDEX].name","typeLabel":"string"},"price":{"type":"number","description":"Price","isRequired":true,"uniqueKey":"dtResults.items.[INDEX].additionalFees.items.[INDEX].price","typeLabel":"number"}},"uniqueKey":"dtResults.items.[INDEX].additionalFees.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"dtResults.items.[INDEX].additionalFees","typeLabel":"object[]"},"totals":{"type":"object","description":"Total breakdown (taxes, duties, fees)","required":["taxes","duties","additionalFees"],"properties":{"taxes":{"type":"number","description":"Total taxes paid by customer","isRequired":true,"uniqueKey":"dtResults.items.[INDEX].totals.taxes","typeLabel":"number"},"duties":{"type":"number","description":"Total duties paid by customer","isRequired":true,"uniqueKey":"dtResults.items.[INDEX].totals.duties","typeLabel":"number"},"additionalFees":{"type":"number","description":"Total additional fees paid by customer","isRequired":true,"uniqueKey":"dtResults.items.[INDEX].totals.additionalFees","typeLabel":"number"}},"isRequired":true,"uniqueKey":"dtResults.items.[INDEX].totals","typeLabel":"object"},"shippingServiceCode":{"type":"string","maxLength":50,"description":"Shipping service code","uniqueKey":"dtResults.items.[INDEX].shippingServiceCode","typeLabel":"string"},"shipping":{"type":"object","description":"Shipping tax lines","required":["taxLines"],"properties":{"taxLines":{"type":"array","description":"Shipping taxes","items":{"type":"object","required":["name","price","rate"],"properties":{"name":{"type":"string","maxLength":100,"description":"Name","isRequired":true,"uniqueKey":"dtResults.items.[INDEX].shipping.taxLines.items.[INDEX].name","typeLabel":"string"},"price":{"type":"number","description":"Price","isRequired":true,"uniqueKey":"dtResults.items.[INDEX].shipping.taxLines.items.[INDEX].price","typeLabel":"number"},"rate":{"type":"number","description":"Rate","isRequired":true,"uniqueKey":"dtResults.items.[INDEX].shipping.taxLines.items.[INDEX].rate","typeLabel":"number"}},"uniqueKey":"dtResults.items.[INDEX].shipping.taxLines.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"dtResults.items.[INDEX].shipping.taxLines","typeLabel":"object[]"}},"uniqueKey":"dtResults.items.[INDEX].shipping","typeLabel":"object"}},"uniqueKey":"dtResults.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"dtResults","typeLabel":"object[]"},"selectedShippingOption":{"type":"object","description":"Shipping option selected for the recurring order (physical / hybrid subscriptions). Not returned for digital-only subscriptions.","required":["optionId","name","price","currencyCode"],"properties":{"optionId":{"type":"string","maxLength":50,"description":"Identifier of the selected shipping option","isRequired":true,"uniqueKey":"selectedShippingOption.optionId","typeLabel":"string"},"name":{"type":"string","maxLength":100,"description":"Display name of the shipping service","isRequired":true,"uniqueKey":"selectedShippingOption.name","typeLabel":"string"},"price":{"type":"number","format":"double","minimum":0,"description":"Cost of the shipping option in the requested currency","isRequired":true,"uniqueKey":"selectedShippingOption.price","typeLabel":"number\u003cdouble>"},"currencyCode":{"type":"string","description":"ISO 4217 currency code","pattern":"^[A-Z]{3}$","isRequired":true,"uniqueKey":"selectedShippingOption.currencyCode","typeLabel":"string"}},"uniqueKey":"selectedShippingOption","typeLabel":"object"},"fxRates":{"type":"array","description":"Foreign exchange rates used in calculations","items":{"type":"object","required":["fxRate","fxMarginRate","fxRateServiceProviderId","currencyFrom","currencyTo"],"properties":{"fxRate":{"type":"number","description":"Exchange rate","isRequired":true,"uniqueKey":"fxRates.items.[INDEX].fxRate","typeLabel":"number"},"fxMarginRate":{"type":"number","description":"Margin rate coefficient","isRequired":true,"uniqueKey":"fxRates.items.[INDEX].fxMarginRate","typeLabel":"number"},"fxRateServiceProviderId":{"type":"integer","description":"Rate provider ID","isRequired":true,"uniqueKey":"fxRates.items.[INDEX].fxRateServiceProviderId","typeLabel":"integer"},"currencyFrom":{"type":"string","maxLength":3,"description":"Source currency (ISO 3)","isRequired":true,"uniqueKey":"fxRates.items.[INDEX].currencyFrom","typeLabel":"string"},"currencyTo":{"type":"string","maxLength":3,"description":"Target currency (ISO 3)","isRequired":true,"uniqueKey":"fxRates.items.[INDEX].currencyTo","typeLabel":"string"}},"uniqueKey":"fxRates.items.[INDEX]","typeLabel":"object"},"uniqueKey":"fxRates","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"physical_subscription":{"title":"physical_subscription","value":{"externalReference":"req-7890","selectedShippingOption":{"optionId":"1042","name":"DHL Standard","price":6.99,"currencyCode":"USD"},"dtResults":[{"deliveryId":"0","shippingServiceCode":"STD-SHMID","status":{"isSuccessful":true},"lineItems":[{"index":"111","code":"item-001","hsCode":"123456","dutyLines":[{"name":"Import Duty","price":2,"rate":0.02}],"taxLines":[{"name":"Sales Tax","price":1.5,"rate":0.1}]}],"shipping":{"taxLines":[{"name":"Sales Tax","price":1.5,"rate":0.1}]},"additionalFees":[{"name":"Formal Clearance Fee","price":15}],"totals":{"taxes":3,"duties":2,"additionalFees":15}}],"fxRates":[{"fxRate":3.75,"fxMarginRate":1.02,"fxRateServiceProviderId":5,"currencyFrom":"ILS","currencyTo":"USD"}]}},"digital_only_subscription":{"title":"digital_only_subscription","value":{"externalReference":"req-7890","dtResults":[{"deliveryId":"0","status":{"isSuccessful":true},"lineItems":[{"index":"111","code":"item-001","hsCode":"123456","dutyLines":[],"taxLines":[{"name":"Sales Tax","price":1.5,"rate":0.1}]}],"additionalFees":[],"totals":{"taxes":1.5,"duties":0,"additionalFees":0}}]}},"calculation_failed":{"title":"calculation_failed","value":{"externalReference":"req-7890","dtResults":[{"deliveryId":"0","status":{"isSuccessful":false,"error":{"code":1,"description":"Delivery total is above OverformalClearanceThreshold"}},"lineItems":[],"additionalFees":[],"totals":{"taxes":0,"duties":0,"additionalFees":0}}]}}},"exampleType":"examples"}},"exampleType":"examples"},"814c6db7-d203-4be7-8586-1f75784258de":{"description":"Bad Request - Invalid input data","content":{"application/json":{"schema":{"type":"object","description":"Error response structure","required":["error","code"],"properties":{"error":{"type":"string","description":"Human-readable error message","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"Machine-readable error code. Codes documented for the Subscriptions integration:\n\n| Code | HTTP status | Description | Typical cause |\n| --- | --- | --- | --- |\n| INVALID_ORDER_ID | 400 | Invalid order ID format | Malformed order ID |\n| INVALID_SUBSCRIPTION_ID | 400 | Invalid subscription ID | Malformed subscription ID |\n| INVALID_PRODUCT_CODE | 400 | Invalid product code | Unknown product code |\n| UNAUTHORIZED | 401 | Authentication failed | Invalid or missing credentials |\n| INSUFFICIENT_PERMISSIONS | 403 | Insufficient permissions | User lacks required permissions |\n| ORDER_NOT_FOUND | 404 | Order not found | Order ID doesn't exist |\n| SUBSCRIPTION_NOT_FOUND | 404 | Subscription not found | Subscription ID doesn't exist |\n| SUBSCRIPTION_DETAILS_NOT_FOUND | 404 | Subscription details not found | Details not found in Global-e |\n| PRODUCT_NOT_FOUND | 404 | Product not found | Product code doesn't exist |\n| EXTERNAL_REFERENCE_NOT_FOUND | 404 | External reference not found | Invalid externalReferenceId |\n| IDEMPOTENCY_KEY_CONFLICT | 409 | Idempotency key conflict | Duplicate idempotency key |\n| NO_SHIPPING_OPTION_AVAILABLE | 422 | No shipping option available | No shipping option for the subscription's destination |\n| INVALID_ADDRESS | 422 | Shipping address failed validation | Address failed validation on address update |\n| COUNTRY_CHANGE_NOT_ALLOWED | 422 | Country change rejected | The shipping address country cannot be changed |\n| VALIDATION_FAILED | 422 | Validation failed | Missing/invalid field |\n| INTERNAL_ERROR | 500 | Internal server error | Unexpected server error |","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"description":{"type":"string","description":"Detailed error description","uniqueKey":"description","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"invalid_order_id":{"title":"invalid_order_id","value":{"error":"Invalid OrderId format","code":"INVALID_ORDER_ID","description":"The provided OrderId is not in the correct format."}}},"exampleType":"examples"}},"exampleType":"examples"},"098523a2-e0db-40c2-8316-a650f3e03d8b":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","description":"Error response structure","required":["error","code"],"properties":{"error":{"type":"string","description":"Human-readable error message","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"Machine-readable error code. Codes documented for the Subscriptions integration:\n\n| Code | HTTP status | Description | Typical cause |\n| --- | --- | --- | --- |\n| INVALID_ORDER_ID | 400 | Invalid order ID format | Malformed order ID |\n| INVALID_SUBSCRIPTION_ID | 400 | Invalid subscription ID | Malformed subscription ID |\n| INVALID_PRODUCT_CODE | 400 | Invalid product code | Unknown product code |\n| UNAUTHORIZED | 401 | Authentication failed | Invalid or missing credentials |\n| INSUFFICIENT_PERMISSIONS | 403 | Insufficient permissions | User lacks required permissions |\n| ORDER_NOT_FOUND | 404 | Order not found | Order ID doesn't exist |\n| SUBSCRIPTION_NOT_FOUND | 404 | Subscription not found | Subscription ID doesn't exist |\n| SUBSCRIPTION_DETAILS_NOT_FOUND | 404 | Subscription details not found | Details not found in Global-e |\n| PRODUCT_NOT_FOUND | 404 | Product not found | Product code doesn't exist |\n| EXTERNAL_REFERENCE_NOT_FOUND | 404 | External reference not found | Invalid externalReferenceId |\n| IDEMPOTENCY_KEY_CONFLICT | 409 | Idempotency key conflict | Duplicate idempotency key |\n| NO_SHIPPING_OPTION_AVAILABLE | 422 | No shipping option available | No shipping option for the subscription's destination |\n| INVALID_ADDRESS | 422 | Shipping address failed validation | Address failed validation on address update |\n| COUNTRY_CHANGE_NOT_ALLOWED | 422 | Country change rejected | The shipping address country cannot be changed |\n| VALIDATION_FAILED | 422 | Validation failed | Missing/invalid field |\n| INTERNAL_ERROR | 500 | Internal server error | Unexpected server error |","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"description":{"type":"string","description":"Detailed error description","uniqueKey":"description","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"unauthorized":{"title":"unauthorized","value":{"error":"Invalid API Key","code":"UNAUTHORIZED","description":"Invalid API Key"}}},"exampleType":"examples"}},"exampleType":"examples"},"a0363a4e-8421-4292-9085-62eaa2da19f6":{"description":"Forbidden - Insufficient permissions","content":{"application/json":{"schema":{"type":"object","description":"Error response structure","required":["error","code"],"properties":{"error":{"type":"string","description":"Human-readable error message","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"Machine-readable error code. Codes documented for the Subscriptions integration:\n\n| Code | HTTP status | Description | Typical cause |\n| --- | --- | --- | --- |\n| INVALID_ORDER_ID | 400 | Invalid order ID format | Malformed order ID |\n| INVALID_SUBSCRIPTION_ID | 400 | Invalid subscription ID | Malformed subscription ID |\n| INVALID_PRODUCT_CODE | 400 | Invalid product code | Unknown product code |\n| UNAUTHORIZED | 401 | Authentication failed | Invalid or missing credentials |\n| INSUFFICIENT_PERMISSIONS | 403 | Insufficient permissions | User lacks required permissions |\n| ORDER_NOT_FOUND | 404 | Order not found | Order ID doesn't exist |\n| SUBSCRIPTION_NOT_FOUND | 404 | Subscription not found | Subscription ID doesn't exist |\n| SUBSCRIPTION_DETAILS_NOT_FOUND | 404 | Subscription details not found | Details not found in Global-e |\n| PRODUCT_NOT_FOUND | 404 | Product not found | Product code doesn't exist |\n| EXTERNAL_REFERENCE_NOT_FOUND | 404 | External reference not found | Invalid externalReferenceId |\n| IDEMPOTENCY_KEY_CONFLICT | 409 | Idempotency key conflict | Duplicate idempotency key |\n| NO_SHIPPING_OPTION_AVAILABLE | 422 | No shipping option available | No shipping option for the subscription's destination |\n| INVALID_ADDRESS | 422 | Shipping address failed validation | Address failed validation on address update |\n| COUNTRY_CHANGE_NOT_ALLOWED | 422 | Country change rejected | The shipping address country cannot be changed |\n| VALIDATION_FAILED | 422 | Validation failed | Missing/invalid field |\n| INTERNAL_ERROR | 500 | Internal server error | Unexpected server error |","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"description":{"type":"string","description":"Detailed error description","uniqueKey":"description","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"insufficient_permissions":{"title":"insufficient_permissions","value":{"error":"Access denied","code":"INSUFFICIENT_PERMISSIONS","description":"User does not have permission to perform the operation."}}},"exampleType":"examples"}},"exampleType":"examples"},"372dc23f-3160-416c-9a6e-e5e7871997f3":{"description":"Object not found","content":{"application/json":{"schema":{"type":"object","description":"Error response structure","required":["error","code"],"properties":{"error":{"type":"string","description":"Human-readable error message","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"Machine-readable error code. Codes documented for the Subscriptions integration:\n\n| Code | HTTP status | Description | Typical cause |\n| --- | --- | --- | --- |\n| INVALID_ORDER_ID | 400 | Invalid order ID format | Malformed order ID |\n| INVALID_SUBSCRIPTION_ID | 400 | Invalid subscription ID | Malformed subscription ID |\n| INVALID_PRODUCT_CODE | 400 | Invalid product code | Unknown product code |\n| UNAUTHORIZED | 401 | Authentication failed | Invalid or missing credentials |\n| INSUFFICIENT_PERMISSIONS | 403 | Insufficient permissions | User lacks required permissions |\n| ORDER_NOT_FOUND | 404 | Order not found | Order ID doesn't exist |\n| SUBSCRIPTION_NOT_FOUND | 404 | Subscription not found | Subscription ID doesn't exist |\n| SUBSCRIPTION_DETAILS_NOT_FOUND | 404 | Subscription details not found | Details not found in Global-e |\n| PRODUCT_NOT_FOUND | 404 | Product not found | Product code doesn't exist |\n| EXTERNAL_REFERENCE_NOT_FOUND | 404 | External reference not found | Invalid externalReferenceId |\n| IDEMPOTENCY_KEY_CONFLICT | 409 | Idempotency key conflict | Duplicate idempotency key |\n| NO_SHIPPING_OPTION_AVAILABLE | 422 | No shipping option available | No shipping option for the subscription's destination |\n| INVALID_ADDRESS | 422 | Shipping address failed validation | Address failed validation on address update |\n| COUNTRY_CHANGE_NOT_ALLOWED | 422 | Country change rejected | The shipping address country cannot be changed |\n| VALIDATION_FAILED | 422 | Validation failed | Missing/invalid field |\n| INTERNAL_ERROR | 500 | Internal server error | Unexpected server error |","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"description":{"type":"string","description":"Detailed error description","uniqueKey":"description","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"subscription_details_not_found":{"title":"subscription_details_not_found","value":{"error":"Subscription details not found","code":"SUBSCRIPTION_DETAILS_NOT_FOUND","description":"No subscription details found for the specified subscriptionId."}},"product_not_found":{"title":"product_not_found","value":{"error":"Product not found","code":"PRODUCT_NOT_FOUND","description":"No product found for the specified code."}}},"exampleType":"examples"}},"exampleType":"examples"},"98481aca-2a74-4c81-8330-52f1217cb3ce":{"description":"Conflict - Idempotency key conflict","content":{"application/json":{"schema":{"type":"object","description":"Error response structure","required":["error","code"],"properties":{"error":{"type":"string","description":"Human-readable error message","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"Machine-readable error code. Codes documented for the Subscriptions integration:\n\n| Code | HTTP status | Description | Typical cause |\n| --- | --- | --- | --- |\n| INVALID_ORDER_ID | 400 | Invalid order ID format | Malformed order ID |\n| INVALID_SUBSCRIPTION_ID | 400 | Invalid subscription ID | Malformed subscription ID |\n| INVALID_PRODUCT_CODE | 400 | Invalid product code | Unknown product code |\n| UNAUTHORIZED | 401 | Authentication failed | Invalid or missing credentials |\n| INSUFFICIENT_PERMISSIONS | 403 | Insufficient permissions | User lacks required permissions |\n| ORDER_NOT_FOUND | 404 | Order not found | Order ID doesn't exist |\n| SUBSCRIPTION_NOT_FOUND | 404 | Subscription not found | Subscription ID doesn't exist |\n| SUBSCRIPTION_DETAILS_NOT_FOUND | 404 | Subscription details not found | Details not found in Global-e |\n| PRODUCT_NOT_FOUND | 404 | Product not found | Product code doesn't exist |\n| EXTERNAL_REFERENCE_NOT_FOUND | 404 | External reference not found | Invalid externalReferenceId |\n| IDEMPOTENCY_KEY_CONFLICT | 409 | Idempotency key conflict | Duplicate idempotency key |\n| NO_SHIPPING_OPTION_AVAILABLE | 422 | No shipping option available | No shipping option for the subscription's destination |\n| INVALID_ADDRESS | 422 | Shipping address failed validation | Address failed validation on address update |\n| COUNTRY_CHANGE_NOT_ALLOWED | 422 | Country change rejected | The shipping address country cannot be changed |\n| VALIDATION_FAILED | 422 | Validation failed | Missing/invalid field |\n| INTERNAL_ERROR | 500 | Internal server error | Unexpected server error |","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"description":{"type":"string","description":"Detailed error description","uniqueKey":"description","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"idempotency_key_conflict":{"title":"idempotency_key_conflict","value":{"error":"Idempotency key conflict","code":"IDEMPOTENCY_KEY_CONFLICT","description":"Request already in use. Use a different Idempotency-Key for new operation."}}},"exampleType":"examples"}},"exampleType":"examples"},"d5594404-f458-405e-b460-6fa145058be2":{"description":"Unprocessable Content - the request is valid but cannot be fulfilled","content":{"application/json":{"schema":{"type":"object","description":"Error response structure","required":["error","code"],"properties":{"error":{"type":"string","description":"Human-readable error message","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"Machine-readable error code. Codes documented for the Subscriptions integration:\n\n| Code | HTTP status | Description | Typical cause |\n| --- | --- | --- | --- |\n| INVALID_ORDER_ID | 400 | Invalid order ID format | Malformed order ID |\n| INVALID_SUBSCRIPTION_ID | 400 | Invalid subscription ID | Malformed subscription ID |\n| INVALID_PRODUCT_CODE | 400 | Invalid product code | Unknown product code |\n| UNAUTHORIZED | 401 | Authentication failed | Invalid or missing credentials |\n| INSUFFICIENT_PERMISSIONS | 403 | Insufficient permissions | User lacks required permissions |\n| ORDER_NOT_FOUND | 404 | Order not found | Order ID doesn't exist |\n| SUBSCRIPTION_NOT_FOUND | 404 | Subscription not found | Subscription ID doesn't exist |\n| SUBSCRIPTION_DETAILS_NOT_FOUND | 404 | Subscription details not found | Details not found in Global-e |\n| PRODUCT_NOT_FOUND | 404 | Product not found | Product code doesn't exist |\n| EXTERNAL_REFERENCE_NOT_FOUND | 404 | External reference not found | Invalid externalReferenceId |\n| IDEMPOTENCY_KEY_CONFLICT | 409 | Idempotency key conflict | Duplicate idempotency key |\n| NO_SHIPPING_OPTION_AVAILABLE | 422 | No shipping option available | No shipping option for the subscription's destination |\n| INVALID_ADDRESS | 422 | Shipping address failed validation | Address failed validation on address update |\n| COUNTRY_CHANGE_NOT_ALLOWED | 422 | Country change rejected | The shipping address country cannot be changed |\n| VALIDATION_FAILED | 422 | Validation failed | Missing/invalid field |\n| INTERNAL_ERROR | 500 | Internal server error | Unexpected server error |","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"description":{"type":"string","description":"Detailed error description","uniqueKey":"description","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"no_shipping_option_available":{"title":"no_shipping_option_available","value":{"error":"No shipping option available","code":"NO_SHIPPING_OPTION_AVAILABLE","description":"No shipping option could be selected for the subscription's destination."}},"products_restricted":{"title":"products_restricted","value":{"error":"Product restricted for destination","code":"PRODUCT_RESTRICTED","description":"SKU-002: This product cannot be shipped to your location. SKU-008: This product cannot be shipped to your location. SKU-009: This product cannot be shipped to your location."}}},"exampleType":"examples"}},"exampleType":"examples"},"f9ae3c01-e57d-4e46-abbb-fae324edfd27":{"description":"Internal Server Error","content":{"application/json":{"schema":{"type":"object","description":"Error response structure","required":["error","code"],"properties":{"error":{"type":"string","description":"Human-readable error message","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"Machine-readable error code. Codes documented for the Subscriptions integration:\n\n| Code | HTTP status | Description | Typical cause |\n| --- | --- | --- | --- |\n| INVALID_ORDER_ID | 400 | Invalid order ID format | Malformed order ID |\n| INVALID_SUBSCRIPTION_ID | 400 | Invalid subscription ID | Malformed subscription ID |\n| INVALID_PRODUCT_CODE | 400 | Invalid product code | Unknown product code |\n| UNAUTHORIZED | 401 | Authentication failed | Invalid or missing credentials |\n| INSUFFICIENT_PERMISSIONS | 403 | Insufficient permissions | User lacks required permissions |\n| ORDER_NOT_FOUND | 404 | Order not found | Order ID doesn't exist |\n| SUBSCRIPTION_NOT_FOUND | 404 | Subscription not found | Subscription ID doesn't exist |\n| SUBSCRIPTION_DETAILS_NOT_FOUND | 404 | Subscription details not found | Details not found in Global-e |\n| PRODUCT_NOT_FOUND | 404 | Product not found | Product code doesn't exist |\n| EXTERNAL_REFERENCE_NOT_FOUND | 404 | External reference not found | Invalid externalReferenceId |\n| IDEMPOTENCY_KEY_CONFLICT | 409 | Idempotency key conflict | Duplicate idempotency key |\n| NO_SHIPPING_OPTION_AVAILABLE | 422 | No shipping option available | No shipping option for the subscription's destination |\n| INVALID_ADDRESS | 422 | Shipping address failed validation | Address failed validation on address update |\n| COUNTRY_CHANGE_NOT_ALLOWED | 422 | Country change rejected | The shipping address country cannot be changed |\n| VALIDATION_FAILED | 422 | Validation failed | Missing/invalid field |\n| INTERNAL_ERROR | 500 | Internal server error | Unexpected server error |","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"description":{"type":"string","description":"Detailed error description","uniqueKey":"description","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"internal_error":{"title":"internal_error","value":{"error":"Internal server error","code":"INTERNAL_ERROR","description":"An unexpected error occurred while processing the request."}}},"exampleType":"examples"}},"exampleType":"examples"},"c233c993-22bc-4022-a550-9e13b0e89f0a":{"description":"General error structure","content":{"application/json":{"schema":{"type":"object","description":"Error response structure","required":["error","code"],"properties":{"error":{"type":"string","description":"Human-readable error message","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"Machine-readable error code. Codes documented for the Subscriptions integration:\n\n| Code | HTTP status | Description | Typical cause |\n| --- | --- | --- | --- |\n| INVALID_ORDER_ID | 400 | Invalid order ID format | Malformed order ID |\n| INVALID_SUBSCRIPTION_ID | 400 | Invalid subscription ID | Malformed subscription ID |\n| INVALID_PRODUCT_CODE | 400 | Invalid product code | Unknown product code |\n| UNAUTHORIZED | 401 | Authentication failed | Invalid or missing credentials |\n| INSUFFICIENT_PERMISSIONS | 403 | Insufficient permissions | User lacks required permissions |\n| ORDER_NOT_FOUND | 404 | Order not found | Order ID doesn't exist |\n| SUBSCRIPTION_NOT_FOUND | 404 | Subscription not found | Subscription ID doesn't exist |\n| SUBSCRIPTION_DETAILS_NOT_FOUND | 404 | Subscription details not found | Details not found in Global-e |\n| PRODUCT_NOT_FOUND | 404 | Product not found | Product code doesn't exist |\n| EXTERNAL_REFERENCE_NOT_FOUND | 404 | External reference not found | Invalid externalReferenceId |\n| IDEMPOTENCY_KEY_CONFLICT | 409 | Idempotency key conflict | Duplicate idempotency key |\n| NO_SHIPPING_OPTION_AVAILABLE | 422 | No shipping option available | No shipping option for the subscription's destination |\n| INVALID_ADDRESS | 422 | Shipping address failed validation | Address failed validation on address update |\n| COUNTRY_CHANGE_NOT_ALLOWED | 422 | Country change rejected | The shipping address country cannot be changed |\n| VALIDATION_FAILED | 422 | Validation failed | Missing/invalid field |\n| INTERNAL_ERROR | 500 | Internal server error | Unexpected server error |","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"description":{"type":"string","description":"Detailed error description","uniqueKey":"description","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","code":"\u003cstring>","description":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{},"servers":{"118eecdf-8284-4930-984e-b31fcb2597a2":{"url":"https://{globale_api_domain}","variables":{"globale_api_domain":{"default":"globale_api_domain","description":"Global-e API host, supplied to the merchant by Global-e."}}}}},"originalFileLocation":"api-reference/specs/billingsummarycalculate.yaml"},"subdomain":"globale-enterprise","siteName":"Global-e Docs","title":"Calculate billing summary (Subscription Manager to Global-e) - Global-e Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-06T08:24:26.614Z","originalFileLocation":"api-reference/calculate-billing-summary.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Subscription Manager calls Global-e to calculate the recurring billing summary - the selected shipping option (physical / hybrid subscriptions) and duties and taxes\">\u003cmeta data-mint-head name=\"application-name\" content=\"Global-e Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/globale-enterprise/EOVvyAKmQUMv4BUM/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/globale-enterprise/EOVvyAKmQUMv4BUM/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/globale-enterprise/EOVvyAKmQUMv4BUM/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/globale-enterprise/EOVvyAKmQUMv4BUM/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/globale-enterprise/EOVvyAKmQUMv4BUM/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/globale-enterprise/EOVvyAKmQUMv4BUM/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/globale-enterprise/EOVvyAKmQUMv4BUM/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/globale-enterprise/EOVvyAKmQUMv4BUM/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/globale-enterprise/EOVvyAKmQUMv4BUM/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Calculate billing summary (Subscription Manager to Global-e) - Global-e Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Subscription Manager calls Global-e to calculate the recurring billing summary - the selected shipping option (physical / hybrid subscriptions) and duties and taxes\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Global-e Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.global-e.com/api-reference/calculate-billing-summary\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://globale-enterprise.mintlify.app/_mintlify/api/og/v2?division=Subscriptions\u0026amp;title=Calculate+billing+summary+%28Subscription+Manager+to+Global-e%29\u0026amp;description=Subscription+Manager+calls+Global-e+to+calculate+the+recurring+billing+summary+-+the+selected+shipping+option+%28physical+%2F+hybrid+subscriptions%29+and+duties+and+t\u0026amp;theme=ba448c405b24dd48494124de\u0026amp;signature=88089de9bc88b8667518e53eaaafe759aa08c43428f0eaf4549b7975d90c6dcf\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Calculate billing summary (Subscription Manager to Global-e) - Global-e Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Subscription Manager calls Global-e to calculate the recurring billing summary - the selected shipping option (physical / hybrid subscriptions) and duties and taxes\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://globale-enterprise.mintlify.app/_mintlify/api/og/v2?division=Subscriptions\u0026amp;title=Calculate+billing+summary+%28Subscription+Manager+to+Global-e%29\u0026amp;description=Subscription+Manager+calls+Global-e+to+calculate+the+recurring+billing+summary+-+the+selected+shipping+option+%28physical+%2F+hybrid+subscriptions%29+and+duties+and+t\u0026amp;theme=ba448c405b24dd48494124de\u0026amp;signature=88089de9bc88b8667518e53eaaafe759aa08c43428f0eaf4549b7975d90c6dcf\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/globale-enterprise/EOVvyAKmQUMv4BUM/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Global-e Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#F15A2B\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.global-e.com/api-reference/calculate-billing-summary\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/calculate-billing-summary.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.global-e.com/#organization\",\"name\":\"Global-e Docs\",\"url\":\"https://docs.global-e.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/globale-enterprise/xvASI8IP64Cj0kr_/logo/light.png?fit=max\u0026auto=format\u0026n=xvASI8IP64Cj0kr_\u0026q=85\u0026s=3b5849fa849995b81b219c94b874d44f\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.global-e.com#website\",\"name\":\"Global-e Docs\",\"url\":\"https://docs.global-e.com\",\"publisher\":{\"@id\":\"https://docs.global-e.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.global-e.com/api-reference/calculate-billing-summary#webpage\",\"url\":\"https://docs.global-e.com/api-reference/calculate-billing-summary\",\"name\":\"Calculate billing summary (Subscription Manager to Global-e)\",\"description\":\"Subscription Manager calls Global-e to calculate the recurring billing summary - the selected shipping option (physical / hybrid subscriptions) and duties and taxes\",\"dateModified\":\"2026-10-06T08:24:26.614Z\",\"isPartOf\":{\"@id\":\"https://docs.global-e.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.global-e.com/api-reference/calculate-billing-summary#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.global-e.com/api-reference/calculate-billing-summary#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Subscriptions\",\"item\":\"https://docs.global-e.com/api-reference/get-subscription-and-payment-reference-details\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Calculate billing summary (Subscription Manager to Global-e)\",\"item\":\"https://docs.global-e.com/api-reference/calculate-billing-summary\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.global-e.com/api-reference/calculate-billing-summary#apireference\",\"headline\":\"Calculate billing summary (Subscription Manager to Global-e)\",\"name\":\"Calculate billing summary (Subscription Manager to Global-e)\",\"description\":\"Subscription Manager calls Global-e to calculate the recurring billing summary - the selected shipping option (physical / hybrid subscriptions) and duties and taxes\",\"url\":\"https://docs.global-e.com/api-reference/calculate-billing-summary\",\"mainEntityOfPage\":{\"@id\":\"https://docs.global-e.com/api-reference/calculate-billing-summary#webpage\"},\"dateModified\":\"2026-10-06T08:24:26.614Z\",\"publisher\":{\"@id\":\"https://docs.global-e.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.global-e.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Global-e Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Global-e Docs","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/global-e-enablement-platform"}]},{"tab":"API Reference","groups":[{"group":"Overview","pages":[{"title":"API Reference","href":"/api-reference/overview"},{"title":"API Authentication","href":"/api-authentication"}]},{"group":"Shipping","pages":[{"title":"Get shipping documents (Merchant to Global-e)","sidebarTitle":"Get shipping documents","openapi":"api-reference/specs/getshippingdocuments.yaml POST /Order/GetShippingDocuments","href":"/api-reference/get-shipping-documents"},{"title":"Get shipping details (Merchant to Global-e)","sidebarTitle":"Get shipping details","openapi":"api-reference/specs/getshippingdetails.yaml POST /ShippingDetails/GetShippingDetails","href":"/api-reference/get-shipping-details"},{"title":"Get shipping details extended (Merchant to Global-e)","sidebarTitle":"Get shipping details extended","openapi":"api-reference/specs/getshippingdetailsextended.yaml POST /ShippingDetails/GetShippingDetailsExtended","href":"/api-reference/get-shipping-details-extended"},{"title":"Dispatch orders (Merchant to Global-e)","sidebarTitle":"Dispatch orders","openapi":"api-reference/specs/dispatchorders.yaml POST /Order/DispatchOrders","href":"/api-reference/dispatch-orders"},{"title":"Dispatch consolidated shipment (Merchant to Global-e)","sidebarTitle":"Dispatch consolidated shipment","openapi":"api-reference/specs/dispatchconsolidatedshipment.yaml POST /Order/DispatchConsolidatedShipment","href":"/api-reference/dispatch-consolidated-shipment"},{"title":"Get tracking events (Merchant to Global-e)","sidebarTitle":"Get tracking events","openapi":"api-reference/specs/gettrackingevents.yaml POST /Shipment/GetTrackingEvents","href":"/api-reference/get-tracking-events"},{"title":"Void parcel (Merchant to Global-e)","sidebarTitle":"Void parcel","openapi":"api-reference/specs/voidparcel.yaml POST /Parcel/VoidParcel","href":"/api-reference/void-parcel"},{"title":"Submit bonded information (Merchant to Global-e)","sidebarTitle":"Submit bonded information","openapi":"api-reference/specs/submitbondedinformation.yaml POST /api/merchant/parcels/bonded-information","href":"/api-reference/submit-bonded-information"},{"title":"Upload shipment documents (Merchant to Global-e)","sidebarTitle":"Upload shipment documents","openapi":"api-reference/specs/uploadshipmentdocuments.yaml POST /api/shipments/documents/upload","href":"/api-reference/upload-shipment-documents"},{"title":"Get shipment information (Merchant to Global-e)","sidebarTitle":"Get shipment information","openapi":"api-reference/specs/getshipmentinformation.yaml GET /api/shipments/{trackingNumber}","href":"/api-reference/get-shipment-information"}]},{"group":"Orders","pages":[{"title":"Create order (Merchant to Global-e)","sidebarTitle":"Create order","openapi":"api-reference/specs/createorder.yaml POST /checkout/CreateOrder","href":"/api-reference/create-order"},{"title":"Edit order (Merchant to Global-e)","sidebarTitle":"Edit order","openapi":"api-reference/specs/editorder.yaml POST /api/orders/changes","href":"/api-reference/edit-order"},{"title":"Quote order changes (Merchant to Global-e)","sidebarTitle":"Quote order changes","openapi":"api-reference/specs/editorder.yaml POST /api/orders/changes/quote","href":"/api-reference/edit-order-quote"},{"title":"Update Order Dispatch","openapi":"api-reference/specs/updateorderdispatch.yaml POST /Order/UpdateOrderDispatch","href":"/api-reference/update-order-dispatch"},{"title":"Update parcel status (Merchant to Global-e)","sidebarTitle":"Update parcel status","openapi":"api-reference/specs/updateparcelstatus.yaml POST /orders/{orderId}/parcels/{parcelCode}/statuses","href":"/api-reference/update-parcel-status"},{"title":"Update Order Status","openapi":"api-reference/specs/updateorderstatus.yaml POST /Order/UpdateOrderStatus","href":"/api-reference/update-order-status"},{"title":"Create order refund (Merchant to Global-e)","sidebarTitle":"Create order refund","openapi":"api-reference/specs/createorderrefund.yaml POST /Order/CreateOrderRefund","href":"/api-reference/create-order-refund"},{"title":"Create order platform (Merchant to Global-e)","sidebarTitle":"Create order platform","openapi":"api-reference/specs/createorderplatform.yaml POST /Checkout/CreateOrderPlatform","href":"/api-reference/create-order-platform"},{"title":"Update Order Products (Merchant to Global-e)","sidebarTitle":"Update Order Products","openapi":"api-reference/specs/updateorderproducts.yaml POST /Order/UpdateOrderProducts","href":"/api-reference/update-order-products"},{"title":"UpdateOrderDispatchV2","openapi":"api-reference/specs/updateorderdispatchv2.yaml POST /Order/UpdateOrderDispatchV2","href":"/api-reference/update-order-dispatch-v2"},{"title":"Create Additional Required Documents (Merchant to Global-e)","sidebarTitle":"Create Additional Required Documents","openapi":"api-reference/specs/createadditionalrequireddocuments.yaml POST /additional-required-documents","href":"/api-reference/create-additional-required-documents"},{"title":"Get refund details (Merchant to Global-e)","sidebarTitle":"Get refund details","openapi":"api-reference/specs/getrefunddetails.yaml GET /v1/orders/{orderId}/refunds","href":"/api-reference/get-refund-details"},{"title":"Sending Bulk Emails (Merchant to Global-e)","sidebarTitle":"Sending Bulk Emails","openapi":"api-reference/specs/sendbulkemails.yaml POST /emails","href":"/api-reference/send-bulk-emails"}]},{"group":"Returns","pages":[{"title":"Get return shipping options (Merchant to Global-e)","sidebarTitle":"Get return shipping options","openapi":"api-reference/specs/getreturnshippingoptions.yaml POST /Return/GetReturnShippingOptions","href":"/api-reference/get-return-shipping-options"},{"title":"Get return documents (Merchant to Global-e)","sidebarTitle":"Get return documents","openapi":"api-reference/specs/getreturndocuments.yaml POST /Return/GetReturnDocuments","href":"/api-reference/get-return-documents"},{"title":"Update RMA (Merchant to Global-e)","sidebarTitle":"Update RMA","openapi":"api-reference/specs/updaterma.yaml POST /Return/UpdateRMA","href":"/api-reference/update-rma"}]},{"group":"Gift Cards","pages":[{"title":"Validate gift card","openapi":"api-reference/specs/giftcards.yaml POST /ValidateGiftCard","href":"/api-reference/validate-gift-card"},{"title":"Redeem gift card","openapi":"api-reference/specs/giftcards.yaml POST /RedeemGiftCard","href":"/api-reference/redeem-gift-card"},{"title":"Refund gift card","openapi":"api-reference/specs/giftcards.yaml POST /RefundGiftCard","href":"/api-reference/refund-gift-card"}]},{"group":"Checkout","pages":[{"title":"SendCartV2 (Merchant to Global-e)","sidebarTitle":"SendCartV2","openapi":"api-reference/specs/sendcartv2.yaml POST /Checkout/SendCartV2","href":"/api-reference/send-cart-v2"}]},{"group":"Pricing","pages":[{"title":"Get catalog prices (Merchant to Global-e)","sidebarTitle":"Get catalog prices","openapi":"api-reference/specs/getcatalogprices.yaml POST /Browsing/GetCatalogPrices","href":"/api-reference/get-catalog-prices"},{"title":"GetMerchantPriceDetails (Merchant to Global-e)","sidebarTitle":"GetMerchantPriceDetails","openapi":"api-reference/specs/getmerchantpricedetails.yaml GET /externalapi/GetMerchantPriceDetails","href":"/api-reference/get-merchant-price-details"}]},{"group":"Browsing \u0026 Catalog","pages":[{"title":"Active hub details (Merchant to Global-e)","sidebarTitle":"Active hub details","openapi":"api-reference/specs/activehubdetails.yaml POST /Browsing/ActiveHubDetails","href":"/api-reference/active-hub-details"},{"title":"App settings (Merchant to Global-e)","sidebarTitle":"App settings","openapi":"api-reference/specs/appsettings.yaml POST /Browsing/AppSettings","href":"/api-reference/app-settings"},{"title":"App version (Merchant to Global-e)","sidebarTitle":"App version","openapi":"api-reference/specs/appversion.yaml POST /Browsing/AppVersion","href":"/api-reference/app-version"},{"title":"Countries (Merchant to Global-e)","sidebarTitle":"Countries","openapi":"api-reference/specs/countries.yaml POST /Browsing/Countries","href":"/api-reference/countries"},{"title":"Country coefficients (Merchant to Global-e)","sidebarTitle":"Country coefficients","openapi":"api-reference/specs/countrycoefficients.yaml POST /Browsing/CountryCoefficients","href":"/api-reference/country-coefficients"},{"title":"Currencies (Merchant to Global-e)","sidebarTitle":"Currencies","openapi":"api-reference/specs/currencies.yaml POST /Browsing/Currencies","href":"/api-reference/currencies"},{"title":"Currency Rates (Merchant to Global-e)","sidebarTitle":"Currency Rates","openapi":"api-reference/specs/currencyrates.yaml POST /Browsing/CurrencyRates","href":"/api-reference/currency-rates"},{"title":"Location by IP (Merchant to Global-e)","sidebarTitle":"Location by IP","openapi":"api-reference/specs/locationbyip.yaml POST /Browsing/LocationByIP","href":"/api-reference/location-by-ip"},{"title":"Location default culture (Merchant to Global-e)","sidebarTitle":"Location default culture","openapi":"api-reference/specs/locationdefaultculture.yaml POST /Browsing/LocationDefaultCulture","href":"/api-reference/location-default-culture"},{"title":"Locations Default Cultures List (Merchant to Global-e)","sidebarTitle":"Locations Default Cultures List","openapi":"api-reference/specs/locationsdefaultcultureslist.yaml POST /Browsing/LocationsDefaultCulturesList","href":"/api-reference/locations-default-cultures-list"},{"title":"Product Countries (Merchant to Global-e)","sidebarTitle":"Product Countries","openapi":"api-reference/specs/productcountries.yaml POST /Browsing/ProductCountryS","href":"/api-reference/product-countries"},{"title":"Recent Product Countries (Merchant to Global-e)","sidebarTitle":"Recent Product Countries","openapi":"api-reference/specs/recentproductcountries.yaml POST /Browsing/RecentProductCountryS","href":"/api-reference/recent-product-countries"},{"title":"Regions (Merchant to Global-e)","sidebarTitle":"Regions","openapi":"api-reference/specs/regions.yaml POST /Browsing/Regions","href":"/api-reference/regions"},{"title":"Rounding rules (Merchant to Global-e)","sidebarTitle":"Rounding rules","openapi":"api-reference/specs/roundingrules.yaml POST /Browsing/RoundingRules","href":"/api-reference/rounding-rules"},{"title":"Save products list (Merchant to Global-e)","sidebarTitle":"Save products list","openapi":"api-reference/specs/saveproductslist.yaml POST /Browsing/SaveProductsList","href":"/api-reference/save-products-list"},{"title":"Save Products Bulk (Merchant to Global-e)","sidebarTitle":"Save Products Bulk","openapi":"api-reference/specs/saveproductsbulk.yaml POST /Bulk/SaveProductsBulk","href":"/api-reference/save-products-bulk"},{"title":"Shipping Options (Merchant to Global-e)","sidebarTitle":"Shipping Options","openapi":"api-reference/specs/shippingoptions.yaml POST /Browsing/ShippingOptions","href":"/api-reference/shipping-options"},{"title":"VAT Category Countries (Merchant to Global-e)","sidebarTitle":"VAT Category Countries","openapi":"api-reference/specs/vatcategorycountries.yaml POST /Browsing/VATCategoryCountryS","href":"/api-reference/vat-category-countries"}]},{"group":"Subscriptions","pages":[{"title":"Get subscription and payment reference details (Merchant to Global-e)","sidebarTitle":"Get subscription and payment reference details","openapi":"api-reference/specs/getsubscriptionandpaymentreferencedetails.yaml GET /Payments/Subscriptions/{merchantGuid}","href":"/api-reference/get-subscription-and-payment-reference-details"},{"title":"Subscription notifications (Subscription Manager to Global-e)","sidebarTitle":"Subscription notifications","description":"Subscription Manager informs Global-e about subscription's updates.","openapi":"api-reference/specs/subscriptionnotifications.yaml POST /subscriptions/notifications","href":"/api-reference/subscription-notifications"},{"title":"Calculate billing summary (Subscription Manager to Global-e)","sidebarTitle":"Calculate billing summary","openapi":"api-reference/specs/billingsummarycalculate.yaml POST /subscriptions/billing-summary/calculate","href":"/api-reference/calculate-billing-summary"},{"title":"Create recurring payment (Subscription Manager to Global-e)","sidebarTitle":"Create recurring payment","description":"Subscription Manager trigger Global-e to perform a recurring payment","openapi":"api-reference/specs/recurringpayments.yaml POST /subscriptions/recurringPayments","href":"/api-reference/create-recurring-payment"},{"title":"Update a subscription (Subscription Manager to Global-e)","sidebarTitle":"Update a subscription","openapi":"api-reference/specs/updatesubscription.yaml PATCH /subscriptions/{subscriptionId}","href":"/api-reference/update-subscription"}]},{"group":"Webhooks","pages":[{"group":"Orders","pages":[{"title":"Send Order To Merchant (Global-e to Merchant)","sidebarTitle":"Send Order To Merchant","openapi":"api-reference/specs/sendordertomerchant.yaml POST /order-update-create-url","href":"/api-reference/send-order-to-merchant"},{"title":"Send additional required documents to merchant (Global-e to Merchant)","sidebarTitle":"Send additional required documents to merchant","openapi":"api-reference/specs/sendadditionalrequireddocumentstomerchant.yaml POST /send-additional-required-documents-url","href":"/api-reference/send-additional-required-documents-to-merchant"},{"title":"Notify order refund (Global-e to Merchant)","sidebarTitle":"Notify order refund","openapi":"api-reference/specs/notifyorderrefund.yaml POST /order-refund-url","href":"/api-reference/notify-order-refund"},{"title":"Update Order Shipping Info (Global-e to Merchant)","sidebarTitle":"Update Order Shipping Info","openapi":"api-reference/specs/updateordershippinginfo.yaml POST /order-shipping-info-update-only-url","href":"/api-reference/update-order-shipping-info"},{"title":"Update Order Status (Global-e to Merchant)","sidebarTitle":"Update Order Status","openapi":"api-reference/specs/updateorderstatusfromglobale.yaml POST /order-status-update-url","href":"/api-reference/update-order-status-from-globale"},{"title":"Send RMA Info to Merchant (Global-e to Merchant)","sidebarTitle":"Send RMA Info to Merchant","openapi":"api-reference/specs/sendrmainfomerchant.yaml POST /rma-info-to-merchant-url","href":"/api-reference/send-rma-info-merchant"},{"title":"Perform Order Payment (Global-e to Merchant)","sidebarTitle":"Perform Order Payment","openapi":"api-reference/specs/performorderpayment.yaml POST /order-payment-only-url","href":"/api-reference/perform-order-payment"}]},{"group":"Checkout \u0026 Cart","pages":[{"title":"Get Checkout Cart Info (Global-e to Merchant)","sidebarTitle":"Get Checkout Cart Info","openapi":"api-reference/specs/getcheckoutcartinfo.yaml GET /get-checkout-cart-info-url","href":"/api-reference/get-checkout-cart-info"},{"title":"Validate Stock (Global-e to Merchant)","sidebarTitle":"Validate Stock","openapi":"api-reference/specs/validatestock.yaml POST /checkout-validate-cart-stock-url","href":"/api-reference/validate-stock"},{"title":"ValidateVoucher (Global-e to Merchant)","sidebarTitle":"ValidateVoucher","openapi":"api-reference/specs/validatevoucher.yaml POST /checkout-validate-cart-voucher-url","href":"/api-reference/validate-voucher"},{"title":"Client apply loyalty vouchers (Global-e to Merchant)","sidebarTitle":"Client apply loyalty vouchers","openapi":"api-reference/specs/clientapplyloyaltyvouchers.yaml POST /ClientApplyLoyaltyVouchers","href":"/api-reference/client-apply-loyalty-vouchers"},{"title":"RemoveRestrictedProducts (Global-e to Merchant)","sidebarTitle":"RemoveRestrictedProducts","openapi":"api-reference/specs/removerestrictedproducts.yaml POST /remove-restricted-products-url","href":"/api-reference/remove-restricted-products"}]},{"group":"Fulfillment","pages":[{"title":"Update Parcel Dispatch","openapi":"api-reference/specs/updateparceldispatch.yaml POST /UpdateParcelDispatch","href":"/api-reference/update-parcel-dispatch"}]},{"group":"Subscriptions","pages":[{"title":"Recurring payment notifications (Global-e to Subscription Manager)","sidebarTitle":"Recurring payment notifications","openapi":"api-reference/specs/recurringpaymentnotifications.yaml POST /subscriptions/recurringPayments/notifications","href":"/api-reference/recurring-payment-notifications"}]}]},{"group":"Shared Objects","pages":[{"title":"Attributes","href":"/api-reference/objects/attributes"},{"title":"BillingDetails","href":"/api-reference/objects/billing-details"},{"title":"Brand","href":"/api-reference/objects/brand"},{"title":"Category","href":"/api-reference/objects/category"},{"title":"DiscountsList","href":"/api-reference/objects/discounts-list"},{"title":"Parcel","href":"/api-reference/objects/parcel"},{"title":"ShippingDetails","href":"/api-reference/objects/shipping-details"},{"title":"UserIdNumberType","href":"/api-reference/objects/user-id-number-type"},{"title":"VATRateType","href":"/api-reference/objects/vat-rate-type"}]}]}]},"basePath":"","title":"Calculate billing summary (Subscription Manager to Global-e) - Global-e Docs","buildId":"dpl_G9nrg4qeJSZtah1Ziwbc2n6WkLch","deploymentId":"dpl_G9nrg4qeJSZtah1Ziwbc2n6WkLch","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-B7XKH4J3.js","utils-lOYzL7z-.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DF6jUUIM.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Dpsj5f7C.js","snippetPresets-CYeiDe8v.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-CUFz1YZ_.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-D8H_iLS4.js","shallow-DdluZBHX.js","getApiPlaygroundDisplay-B9922vev.js","CodeSnippet-CMoRNGYs.js","CodeSnippets-DwyrPHuw.js","Page-DSVu9Ucl.js","getPastedJson-G-zIvlHh.js","icon-B03fnEy0.js","MethodPill-CW7teklc.js","DuplicateIcon-CtO8eekd.js","createIcon-DZTKdM_A.js","DynamicMarkdown-D5M2At0B.js","SectionHeading-C_2NaA2U.js","axios-vUo_bRtp.js","Markdown-D7QRHV3m.js","clsx-D1Z-ELXV.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-lvhuD9Du.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-CKfC4ywL.js"]}