Platforms that buy goods or services from suppliers and resell them to customers under their own name (undisclosed agent, buy/resell model). Typical cases: booking platforms, marketplaces, creator and freelancer platforms paying out their providers.Nocotax records the resulting documents, calculates the tax and produces the reports your accountant needs. It does not move money: payouts and customer payments stay in your own systems, and you record them in Nocotax.
Drives the tax calculation. Defaults to D10000000.
automatic_tax_calculation.enabled
No
Lets Nocotax determine rates, exemptions and registrations.
items[].order_reference
No
The only link between a sales line and the purchase lines of the same order. Without it, you cannot reconcile or compute margin per order. Inherited from the document when omitted.
items[].period
No
The service date or period of the line. Without it, reports fall back on the invoice date, which is the day you finalize the invoice. See Accounting periods. Inherited from the document when omitted.
payment_terms / due_date
No
Needed to track overdue invoices.
Set order_reference and period on every line, even when you could set them once on the document: purchase invoices usually aggregate several orders, so the document-level value is not enough.
Do I need separate accounts for test and production?No. Each Nocotax account has two modes: testmode for sandbox testing and livemode for production. Data is isolated between modes.Can I use the same organization as both supplier and customer?Yes, but it’s not a good practice. External organizations can have multiple roles simultaneously (MERCHANT and BUYER), but for testing purposes it’s easier to separate flows.How do credit notes work in this model?Credit notes work the same way in both flows. They reduce the amount remaining to pay on invoices and automatically adjust AP/AR balances. See Refunds and cancellations.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Nocotax documentation","colors":{"primary":"#ef8188","light":"#f3a0a5","dark":"#e95861"},"logo":{"light":"https://mintcdn.com/nocotaxapp/WfJR-zpgCwvUhhi-/logo/light.png?fit=max\u0026auto=format\u0026n=WfJR-zpgCwvUhhi-\u0026q=85\u0026s=fae9a0aa746dfb989240b9285165f570","dark":"https://mintcdn.com/nocotaxapp/WfJR-zpgCwvUhhi-/logo/light.png?fit=max\u0026auto=format\u0026n=WfJR-zpgCwvUhhi-\u0026q=85\u0026s=fae9a0aa746dfb989240b9285165f570"},"favicon":"https://mintcdn.com/nocotaxapp/WfJR-zpgCwvUhhi-/favicon.svg?fit=max\u0026auto=format\u0026n=WfJR-zpgCwvUhhi-\u0026q=85\u0026s=5b40e3d93f9c5049581d31949ffb136e","navbar":{"links":[{"href":"mailto:gaultier@nocotax.app","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.nocotax.app"}},"footer":{"socials":{"x":"https://x.com/nocotax","linkedin":"https://www.linkedin.com/company/nocotax"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"Documentation Home","icon":"book-open-cover","href":"https://docs.nocotax.app"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"nocotaxapp","hasAudioNarration":false,"actualSubdomain":"nocotaxapp","customDomains":["docs.nocotax.app"],"gitSource":{"type":"github","owner":"zuuno","repo":"nocotax-app","deployBranch":"master","contentDirectory":"public/docs","isPrivate":false,"mountPath":"","label":""},"chroma":{"latestBuiltDeploymentHistoryId":"6ad0ae886bfa8281ff2213ef","collectionId":"2635461d-55db-4f86-b5c1-182ce346acc2","liveDeploymentHistoryId":"6ad0ae886bfa8281ff2213ef","schemaVersion":"v3"},"entitlements":{},"buildId":"6aede12b4549cdf23e035a73","clientVersion":"0.0.4074","searchFilterCounts":[{"language":"default","tag":"API reference","count":33},{"language":"default","tag":"Guides","count":19},{"language":"default","tag":"Invoicing APIs","count":13},{"language":"default","tag":"Invoices","count":11},{"language":"default","tag":"Implementation guides","count":8},{"language":"default","tag":"Marketplace integration (undisclosed agents)","count":8},{"language":"default","tag":"Core APIs","count":8},{"language":"default","tag":"Recurring APIs","count":7},{"language":"default","tag":"Billing and invoicing","count":6},{"language":"default","tag":"Organizations","count":6}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"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":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"undisclosed-agents/overview","slug":"/undisclosed-agents/overview","pageMetadata":{"title":"Marketplace integration overview","description":"How to record the orders of a buy/resell marketplace in Nocotax, from order to month-end close.","href":"/undisclosed-agents/overview"},"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: \"How to record the orders of a buy/resell marketplace in Nocotax, from order to month-end close.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`who-this-is-for`,children:`Who this is for`}),`\n`,_jsx(_components.p,{children:`Platforms that buy goods or services from suppliers and resell them to customers under their own name (undisclosed agent, buy/resell model). Typical cases: booking platforms, marketplaces, creator and freelancer platforms paying out their providers.`}),`\n`,_jsx(_components.p,{children:`Nocotax records the resulting documents, calculates the tax and produces the reports your accountant needs. It does not move money: payouts and customer payments stay in your own systems, and you record them in Nocotax.`}),`\n`,_jsx(Heading,{level:`2`,id:`how-an-order-maps-to-nocotax`,children:`How an order maps to Nocotax`}),`\n`,_jsx(_components.p,{children:`For each order, two flows are involved:`}),`\n`,_jsx(CodeBlock,{numberOfLines:`3`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Customer ← sales invoice ← Platform (revenue, flow=sales)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Platform ← purchase invoice ← Supplier (cost, flow=purchases, self-billed)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Event in your system`}),_jsx(_components.th,{children:`Nocotax object`}),_jsx(_components.th,{children:`Guide`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Order is completed`}),_jsx(_components.td,{children:`Sales invoice to the customer`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/undisclosed-agents/order-to-invoices`,children:`Order to invoices`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Supplier is owed their share`}),_jsx(_components.td,{children:`Line on a purchase invoice (self-billing)`}),_jsxs(_components.td,{children:[_jsx(_components.a,{href:`/undisclosed-agents/order-to-invoices`,children:`Order to invoices`}),`, `,_jsx(_components.a,{href:`/undisclosed-agents/self-billing`,children:`Self-billing`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Customer pays`}),_jsx(_components.td,{children:`Payment attached to the sales invoice`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/undisclosed-agents/payments-and-payouts`,children:`Payments and payouts`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Supplier is paid out`}),_jsx(_components.td,{children:`Transfer attached to the purchase invoice`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/undisclosed-agents/payments-and-payouts`,children:`Payments and payouts`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Order is refunded or corrected`}),_jsx(_components.td,{children:`Credit note, or invoice cancellation`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/undisclosed-agents/refunds-and-cancellations`,children:`Refunds and cancellations`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Month or year ends`}),_jsx(_components.td,{children:`Exports and reconciliation`}),_jsxs(_components.td,{children:[_jsx(_components.a,{href:`/undisclosed-agents/accounting-periods`,children:`Accounting periods`}),`, `,_jsx(_components.a,{href:`/undisclosed-agents/reconciliation-and-close`,children:`Reconciliation and close`})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`what-to-send-and-why`,children:`What to send, and why`}),`\n`,_jsx(_components.p,{children:`Only a few fields are required. The optional ones below are what makes reconciliation possible later: Nocotax only knows what you send.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Why it matters`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`flow`})}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`sales`}),` or `,_jsx(_components.code,{children:`purchases`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`currency`})}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`ISO code. All amounts of a document are in this currency.`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`customer_id`}),` / `,_jsx(_components.code,{children:`supplier_id`})]}),_jsx(_components.td,{children:`Yes for the counterparty`}),_jsx(_components.td,{children:`The other side of the document. Your own organization is the default for the other field.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`items[].title`})}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Appears on the document.`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`items[].extratax_amount`}),` or `,_jsx(_components.code,{children:`unit_extratax_amount`})]}),_jsx(_components.td,{children:`One amount is required`}),_jsxs(_components.td,{children:[`See `,_jsx(_components.a,{href:`/billing-invoicing/invoices/overview#amounts-totals-vs-unit-prices`,children:`amounts`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`items[].product.tax_code`})}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Drives the tax calculation. Defaults to `,_jsx(_components.code,{children:`D10000000`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`automatic_tax_calculation.enabled`})}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Lets Nocotax determine rates, exemptions and registrations.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:_jsx(_components.code,{children:`items[].order_reference`})})}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`The only link between a sales line and the purchase lines of the same order. Without it, you cannot reconcile or compute margin per order. Inherited from the document when omitted.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:_jsx(_components.code,{children:`items[].period`})})}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`The service date or period of the line. Without it, reports fall back on the invoice date, which is the day you finalize the invoice. See `,_jsx(_components.a,{href:`/undisclosed-agents/accounting-periods`,children:`Accounting periods`}),`. Inherited from the document when omitted.`]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`payment_terms`}),` / `,_jsx(_components.code,{children:`due_date`})]}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Needed to track overdue invoices.`})]})]})]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`Set `,_jsx(_components.code,{children:`order_reference`}),` and `,_jsx(_components.code,{children:`period`}),` on every line, even when you could set them once on the document: purchase invoices usually aggregate several orders, so the document-level value is not enough.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`before-you-start`,children:`Before you start`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Create your account and finish the onboarding: default currency, timezone, your organization and its tax registrations. See `,_jsx(_components.a,{href:`/development`,children:`Start developing`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Create one organization per supplier (`,_jsx(_components.code,{children:`ownership=external`}),`, role `,_jsx(_components.code,{children:`MERCHANT`}),`) and per customer (`,_jsx(_components.code,{children:`BUYER`}),`). See `,_jsx(_components.a,{href:`/billing-invoicing/organizations/overview`,children:`Organizations`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Add the tax registrations of your platform and of the organizations that need one. See `,_jsx(_components.a,{href:`/billing-invoicing/organizations/tax-registrations`,children:`Tax registrations`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Test everything with your `,_jsx(_components.code,{children:`testmode`}),` API key first. Test and live data are isolated.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`go-live-checklist`,children:`Go-live checklist`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Every order produces exactly one sales invoice, and you store its Nocotax `,_jsx(_components.code,{children:`id`}),` next to your order.`]}),`\n`,_jsxs(_components.li,{children:[`Every supplier cost is recorded as purchase invoice lines carrying the `,_jsx(_components.code,{children:`order_reference`}),` of the order.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`period`}),` is set on every line.`]}),`\n`,_jsx(_components.li,{children:`Invoices are finalized right after creation, so that the invoice date is close to the service date.`}),`\n`,_jsx(_components.li,{children:`Customer payments and supplier payouts are recorded when they happen.`}),`\n`,_jsx(_components.li,{children:`Refunds go through credit notes or cancellation, never through edits.`}),`\n`,_jsxs(_components.li,{children:[`At month-end, you ran the checks in `,_jsx(_components.a,{href:`/undisclosed-agents/reconciliation-and-close`,children:`Reconciliation and close`}),`.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`common-questions`,children:`Common questions`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Do I need separate accounts for test and production?`})}),`\n`,_jsxs(_components.p,{children:[`No. Each Nocotax account has two modes: `,_jsx(_components.code,{children:`testmode`}),` for sandbox testing and `,_jsx(_components.code,{children:`livemode`}),` for production. Data is isolated between modes.`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Can I use the same organization as both supplier and customer?`})}),`\n`,_jsxs(_components.p,{children:[`Yes, but it’s not a good practice. External organizations can have multiple roles simultaneously (`,_jsx(_components.code,{children:`MERCHANT`}),` and `,_jsx(_components.code,{children:`BUYER`}),`), but for testing purposes it’s easier to separate flows.`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`How do credit notes work in this model?`})}),`\n`,_jsxs(_components.p,{children:[`Credit notes work the same way in both flows. They reduce the amount remaining to pay on invoices and automatically adjust AP/AR balances. See `,_jsx(_components.a,{href:`/undisclosed-agents/refunds-and-cancellations`,children:`Refunds and cancellations`}),`.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Marketplace integration overview","description":"How to record the orders of a buy/resell marketplace in Nocotax, from order to month-end close.","href":"/undisclosed-agents/overview"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Who this is for","slug":"who-this-is-for","depth":2,"children":[]},{"title":"How an order maps to Nocotax","slug":"how-an-order-maps-to-nocotax","depth":2,"children":[]},{"title":"What to send, and why","slug":"what-to-send-and-why","depth":2,"children":[]},{"title":"Before you start","slug":"before-you-start","depth":2,"children":[]},{"title":"Go-live checklist","slug":"go-live-checklist","depth":2,"children":[]},{"title":"Common questions","slug":"common-questions","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"nocotaxapp","siteName":"Nocotax documentation","title":"Marketplace integration overview - Nocotax documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-06T14:16:17.608Z","originalFileLocation":"undisclosed-agents/overview.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=\"How to record the orders of a buy/resell marketplace in Nocotax, from order to month-end close.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Nocotax documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/nocotaxapp/HmcAkdht29A1--h5/_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/nocotaxapp/HmcAkdht29A1--h5/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/nocotaxapp/HmcAkdht29A1--h5/_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/nocotaxapp/HmcAkdht29A1--h5/_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/nocotaxapp/HmcAkdht29A1--h5/_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/nocotaxapp/HmcAkdht29A1--h5/_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/nocotaxapp/HmcAkdht29A1--h5/_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/nocotaxapp/HmcAkdht29A1--h5/_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/nocotaxapp/HmcAkdht29A1--h5/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Marketplace integration overview - Nocotax documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"How to record the orders of a buy/resell marketplace in Nocotax, from order to month-end close.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Nocotax documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.nocotax.app/undisclosed-agents/overview\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://nocotaxapp.mintlify.site/_mintlify/api/og/v2?division=Marketplace+integration+%28undisclosed+agents%29\u0026amp;title=Marketplace+integration+overview\u0026amp;description=How+to+record+the+orders+of+a+buy%2Fresell+marketplace+in+Nocotax%2C+from+order+to+month-end+close.\u0026amp;theme=d98030429c491bb2e4aeb3b2\u0026amp;signature=acce8812d14a392807922e70d45353a2b74ba6cbd9c01575675445fd0b3bed39\">\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=\"Marketplace integration overview - Nocotax documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"How to record the orders of a buy/resell marketplace in Nocotax, from order to month-end close.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://nocotaxapp.mintlify.site/_mintlify/api/og/v2?division=Marketplace+integration+%28undisclosed+agents%29\u0026amp;title=Marketplace+integration+overview\u0026amp;description=How+to+record+the+orders+of+a+buy%2Fresell+marketplace+in+Nocotax%2C+from+order+to+month-end+close.\u0026amp;theme=d98030429c491bb2e4aeb3b2\u0026amp;signature=acce8812d14a392807922e70d45353a2b74ba6cbd9c01575675445fd0b3bed39\">\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/nocotaxapp/HmcAkdht29A1--h5/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Nocotax documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#ef8188\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.nocotax.app/undisclosed-agents/overview\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/undisclosed-agents/overview.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.nocotax.app/#organization\",\"name\":\"Nocotax documentation\",\"url\":\"https://docs.nocotax.app\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/nocotaxapp/WfJR-zpgCwvUhhi-/logo/light.png?fit=max\u0026auto=format\u0026n=WfJR-zpgCwvUhhi-\u0026q=85\u0026s=fae9a0aa746dfb989240b9285165f570\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.nocotax.app#website\",\"name\":\"Nocotax documentation\",\"url\":\"https://docs.nocotax.app\",\"publisher\":{\"@id\":\"https://docs.nocotax.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.nocotax.app/undisclosed-agents/overview#webpage\",\"url\":\"https://docs.nocotax.app/undisclosed-agents/overview\",\"name\":\"Marketplace integration overview\",\"description\":\"How to record the orders of a buy/resell marketplace in Nocotax, from order to month-end close.\",\"dateModified\":\"2026-11-06T14:16:17.608Z\",\"isPartOf\":{\"@id\":\"https://docs.nocotax.app#website\"},\"breadcrumb\":{\"@id\":\"https://docs.nocotax.app/undisclosed-agents/overview#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.nocotax.app/undisclosed-agents/overview#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Nocotax documentation\",\"item\":\"https://docs.nocotax.app\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Marketplace integration overview\",\"item\":\"https://docs.nocotax.app/undisclosed-agents/overview\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.nocotax.app/undisclosed-agents/overview#article\",\"headline\":\"Marketplace integration overview\",\"name\":\"Marketplace integration overview\",\"description\":\"How to record the orders of a buy/resell marketplace in Nocotax, from order to month-end close.\",\"url\":\"https://docs.nocotax.app/undisclosed-agents/overview\",\"mainEntityOfPage\":{\"@id\":\"https://docs.nocotax.app/undisclosed-agents/overview#webpage\"},\"dateModified\":\"2026-11-06T14:16:17.608Z\",\"publisher\":{\"@id\":\"https://docs.nocotax.app/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.nocotax.app#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Nocotax documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Nocotax documentation","nav":{"global":{"anchors":[{"anchor":"Documentation Home","icon":"book-open-cover","href":"https://docs.nocotax.app"}]},"tabs":[{"tab":"Guides","groups":[{"group":"Getting started","pages":[{"title":"Overview","href":""},{"group":"Account Configuration","expanded":false,"pages":[{"title":"Tax Configuration","href":"/tax-configuration"},{"title":"Platform Models","href":"/platform-models"}]},{"title":"Start developing","href":"/development"},{"title":"Quickstart guides","href":"/quickstart"}]},{"group":"Billing and invoicing","pages":[{"group":"Organizations","expanded":false,"pages":[{"title":"Organizations Overview","href":"/billing-invoicing/organizations/overview"},{"title":"Tax Registrations","href":"/billing-invoicing/organizations/tax-registrations"}]},{"group":"Invoices","expanded":false,"pages":[{"title":"Invoices Overview","href":"/billing-invoicing/invoices/overview"},{"title":"Invoices Lifecycle","href":"/billing-invoicing/invoices/lifecycle"},{"title":"Managing Taxes on Invoices","href":"/billing-invoicing/invoices/taxes"},{"title":"Invoice Payments","description":"Configure payment terms, track due dates, and reconcile payments on invoices.","href":"/billing-invoicing/invoices/payments"}]}]},{"group":"Implementation guides","pages":[{"group":"Marketplace integration (undisclosed agents)","expanded":true,"pages":[{"title":"Marketplace integration overview","href":"/undisclosed-agents/overview"},{"title":"Record an order","description":"Turn an order into a sales invoice and purchase invoice lines, with the references needed for reconciliation.","href":"/undisclosed-agents/order-to-invoices"},{"title":"Customer Invoicing","href":"/undisclosed-agents/customer-invoicing"},{"title":"Self-Billing for Supplier Payouts","href":"/undisclosed-agents/self-billing"},{"title":"Payments and payouts","href":"/undisclosed-agents/payments-and-payouts"},{"title":"Refunds and cancellations","href":"/undisclosed-agents/refunds-and-cancellations"},{"title":"Accounting periods","href":"/undisclosed-agents/accounting-periods"},{"title":"Reconciliation and close","href":"/undisclosed-agents/reconciliation-and-close"}]}]}]},{"tab":"API reference","pages":[{"title":"API reference","href":"/api-reference/introduction"}]}]},"basePath":"","title":"Marketplace integration overview - Nocotax documentation","buildId":"dpl_BLQvU86QFwq3AhPofSTw6q8dGWKm","deploymentId":"dpl_BLQvU86QFwq3AhPofSTw6q8dGWKm","dynamics":[],"chunks":[]}