El Salvador: from November 3 you can migrate to electronic invoicing v2; the tax authority (Hacienda) set December 1, 2026 as the deadline to start. First request the tests at factura.gob.sv and complete them before going to production. See the migration guide · External API: migrate to /external/v2 before March 30, 2027; on January 1, 2027 the unversioned /external routes are removed. See versioning
Same as POST /sales in v1, plus currency (currency_code, exchange_rate), tax_ids required per line, and strict tax validation (an amount different from the recalculated one returns 422 tax_invalid). Document amounts are in the currency of currency_code; the server converts them to the base currency and the DTE is issued in the country’s legal currency. data.total is the total to pay in base currency and foreign_total is in the document’s currency.
Accepts the optional Idempotency-Key header to retry without duplicating the document (see the parameter).
Optional. Unique key per operation (max. 120 characters; more than 120 returns 422 validation_error). Valid for 24 h per integration. A retry with the same key and the same body returns the original response (same code and body) with the header Idempotent-Replay: true, without issuing again. With a different body or endpoint it returns 422 idempotency_key_reused; while the first request is still in progress, 409 idempotency_in_progress. Only 2xx and 422 responses are stored; a 5xx, 401, 403, 404 or 429 error is not stored and can be retried with the same key.
Calculated mode: if totals.saleTotalToPayment is omitted, the server calculates line amounts, taxes, withholdings and totals; only quantity, price before taxes, discount and tax_ids are needed. Not available for fc (totals_required).
Active distribution (GET /accounting/cost-center-distributions): income is split among its centers by percentage. Mutually exclusive with cost_center_id at the same level (422 Indique centro de costo o distribución, no ambos.).
Country-specific fields of the branch's country for this document (for example, in Guatemala those of fcam, nabn, ncre, ndeb and nev). Must be an object, not a list. Its schema per document type is in adapter.country_data_schema of GET /v2/countries/{code}. It is validated before transmission, and only if the business has electronic invoicing active; an invalid field returns 422 country_data_invalid. In Guatemala the alias gt is also accepted; if both are sent, country_data prevails. El Salvador does not use country_data.
Document currency (3 letters, for example GTQ). Must be active for the business (GET /v2/currencies). If omitted or equal to the base currency, the document is in base currency. All amounts are in this currency.
Units of base currency per 1 unit of currency_code. If omitted, the rate in effect on the document date is used.
Required range: x > 0
Response
Document issued
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"FileXpress","colors":{"primary":"#3064fa","light":"#5b86ff","dark":"#1a3fa0"},"logo":{"light":"https://mintcdn.com/mangostudiossadecv/jiFEsnraDMvj1AVI/images/fx_blue.svg?fit=max\u0026auto=format\u0026n=jiFEsnraDMvj1AVI\u0026q=85\u0026s=561eba8282864c178e1488e9cb48475d","dark":"https://mintcdn.com/mangostudiossadecv/jiFEsnraDMvj1AVI/images/fx_blue.svg?fit=max\u0026auto=format\u0026n=jiFEsnraDMvj1AVI\u0026q=85\u0026s=561eba8282864c178e1488e9cb48475d","href":"https://www.filexpress.app"},"favicon":"https://mintlify.s3.us-west-1.amazonaws.com/mangostudiossadecv/favicon.svg","api":{"playground":{"display":"interactive"},"examples":{"defaults":"all","languages":["curl","javascript","python","php"]}},"appearance":{"default":"light","strict":true},"navbar":{"links":[{"href":"mailto:soporte@filexpress.app","label":"Soporte"}]},"footer":{"socials":{}},"search":{"prompt":"Pregunta sobre FileXpress"},"styling":{"eyebrows":"breadcrumbs","latex":true},"banner":{"content":"**El Salvador:** desde el 3 de noviembre puedes migrar a la facturación electrónica v2; Hacienda fijó el **1 de diciembre de 2026** como fecha límite para iniciar. Primero solicita las pruebas en factura.gob.sv y complétalas antes de pasar a producción. [Ver guía de migración](/docs/sistema/migracion-dte-v2) · **API Externa:** migra a `/external/v2` antes del 30 de marzo de 2027; el 1 de enero de 2027 se eliminan las rutas `/external` sin versión. [Ver versionado](/docs/api/introduccion#versionado)","dismissible":true,"type":"warning"},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"navigation":{"languages":[{"language":"es","href":"docs/paises/el-salvador"},{"language":"en","banner":{"content":"**El Salvador:** from November 3 you can migrate to electronic invoicing v2; the tax authority (Hacienda) set **December 1, 2026** as the deadline to start. First request the tests at factura.gob.sv and complete them before going to production. [See the migration guide](/en/docs/sistema/migracion-dte-v2) · **External API:** migrate to `/external/v2` before March 30, 2027; on January 1, 2027 the unversioned `/external` routes are removed. [See versioning](/en/docs/api/introduccion#versioning)","dismissible":true},"href":"en/docs/paises/el-salvador"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"mangostudiossadecv","hasAudioNarration":false,"actualSubdomain":"mangostudiossadecv","customDomains":["docs.filexpress.app"],"gitSource":{"type":"github","owner":"mangostudios-sv","repo":"filexpress-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae7b7ba66bac705926b00fb","collectionId":"32e56e13-0b76-41cb-93f6-4210594cfbda","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae7b7ba66bac705926b00fb"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ae7b7ba66bac705926b00fb","clientVersion":"0.0.4044","searchFilterCounts":[{"language":"es","tag":"API Externa","count":196},{"language":"en","tag":"External API","count":196},{"language":"es","tag":"Referencia interactiva","count":161},{"language":"en","tag":"Interactive reference","count":161},{"language":"es","tag":"Manual de Usuario","count":83},{"language":"en","tag":"User Manual","count":83},{"language":"es","tag":"Estados Unidos","count":78},{"language":"en","tag":"United States","count":78},{"language":"es","tag":"Contabilidad","count":48},{"language":"en","tag":"Accounting","count":48},{"language":"es","tag":"Recursos Humanos","count":25},{"language":"en","tag":"Human Resources","count":25},{"language":"es","tag":"Inventario","count":17},{"language":"es","tag":"Catálogos","count":17},{"language":"en","tag":"Inventory","count":17},{"language":"en","tag":"Catalogs","count":17},{"language":"es","tag":"Ventas","count":14},{"language":"en","tag":"Sales","count":14},{"language":"es","tag":"Sistema","count":10},{"language":"en","tag":"System","count":10}]},"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":"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},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"en/api-reference/api-v2-·-sales/create-sale-v2","slug":"/en/api-reference/api-v2-·-sales/create-sale-v2","pageMetadata":{"title":"Create sale (v2)","description":"Same as `POST /sales` in v1, plus currency (`currency_code`, `exchange_rate`), `tax_ids` required per line, and strict tax validation (an amount different from the recalculated one returns 422 `tax_invalid`). Document amounts are in the currency of `currency_code`; the server converts them to the base currency and the DTE is issued in the country's legal currency. `data.total` is the total to pay in base currency and `foreign_total` is in the document's currency.\n\nAccepts the optional `Idempotency-Key` header to retry without duplicating the document (see the parameter).\n\n**Required permission:** `sales`","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json post /v2/sales","href":"/en/api-reference/api-v2-·-sales/create-sale-v2","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n strong: \"strong\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsxs(_components.p, {\n children: [\"Same as \", _jsx(_components.code, {\n children: \"POST /sales\"\n }), \" in v1, plus currency (\", _jsx(_components.code, {\n children: \"currency_code\"\n }), \", \", _jsx(_components.code, {\n children: \"exchange_rate\"\n }), \"), \", _jsx(_components.code, {\n children: \"tax_ids\"\n }), \" required per line, and strict tax validation (an amount different from the recalculated one returns 422 \", _jsx(_components.code, {\n children: \"tax_invalid\"\n }), \"). Document amounts are in the currency of \", _jsx(_components.code, {\n children: \"currency_code\"\n }), \"; the server converts them to the base currency and the DTE is issued in the country’s legal currency. \", _jsx(_components.code, {\n children: \"data.total\"\n }), \" is the total to pay in base currency and \", _jsx(_components.code, {\n children: \"foreign_total\"\n }), \" is in the document’s currency.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Accepts the optional \", _jsx(_components.code, {\n children: \"Idempotency-Key\"\n }), \" header to retry without duplicating the document (see the parameter).\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Required permission:\"\n }), \" \", _jsx(_components.code, {\n children: \"sales\"\n })]\n })]\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}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create sale (v2)","description":"Same as `POST /sales` in v1, plus currency (`currency_code`, `exchange_rate`), `tax_ids` required per line, and strict tax validation (an amount different from the recalculated one returns 422 `tax_invalid`). Document amounts are in the currency of `currency_code`; the server converts them to the base currency and the DTE is issued in the country's legal currency. `data.total` is the total to pay in base currency and `foreign_total` is in the document's currency.\n\nAccepts the optional `Idempotency-Key` header to retry without duplicating the document (see the parameter).\n\n**Required permission:** `sales`","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json post /v2/sales","href":"/en/api-reference/api-v2-·-sales/create-sale-v2","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["API v2 · Sales"],"summary":"Create sale (v2)","description":"Same as `POST /sales` in v1, plus currency (`currency_code`, `exchange_rate`), `tax_ids` required per line, and strict tax validation (an amount different from the recalculated one returns 422 `tax_invalid`). Document amounts are in the currency of `currency_code`; the server converts them to the base currency and the DTE is issued in the country's legal currency. `data.total` is the total to pay in base currency and `foreign_total` is in the document's currency.\n\nAccepts the optional `Idempotency-Key` header to retry without duplicating the document (see the parameter).\n\n**Required permission:** `sales`","responses":{"200":"f881cff6-54d3-4eb8-bd20-9ba2919d7b9c","401":"547493e2-dfcd-4e4d-ad32-268780ea0ea8","403":"a4988325-b72b-44f4-a2cf-5908e1897624","409":"6a7e9fa6-f283-4ca9-b6a7-60b0023c14fd","422":"b3aec3d2-de7e-4bfb-84a3-cd5202e76773","429":"ecf4a1c6-3284-49ba-a052-5138c917384c","500":"2260386e-4e9a-4707-990c-6f638bd366f6"},"requestBody":"a0d4134e-b443-42f2-9968-203ff9d92ae7","servers":["f811a785-3527-4af7-9fff-0f6a108167d8"],"parameters":["7f1648df-3eb4-46b9-bb88-784d1287c6a5"],"method":"post","type":"path","security":["bcf8db0b-9cc8-4a77-a78d-d3ca94d8627e"],"path":"/v2/sales","baseUrlOptions":["https://api.filexpress.app/api/external"],"title":"Create sale (v2)","codeSamples":[],"requestExampleLanguages":["bash","javascript","python","php"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"7f1648df-3eb4-46b9-bb88-784d1287c6a5":{"name":"Idempotency-Key","in":"header","required":false,"description":"Optional. Unique key per operation (max. 120 characters; more than 120 returns 422 `validation_error`). Valid for 24 h per integration. A retry with the same key and the same body returns the original response (same code and body) with the header `Idempotent-Replay: true`, without issuing again. With a different body or endpoint it returns 422 `idempotency_key_reused`; while the first request is still in progress, 409 `idempotency_in_progress`. Only 2xx and 422 responses are stored; a 5xx, 401, 403, 404 or 429 error is not stored and can be retried with the same key.","schema":{"type":"string","maxLength":120,"isRequired":false,"description":"Optional. Unique key per operation (max. 120 characters; more than 120 returns 422 `validation_error`). Valid for 24 h per integration. A retry with the same key and the same body returns the original response (same code and body) with the header `Idempotent-Replay: true`, without issuing again. With a different body or endpoint it returns 422 `idempotency_key_reused`; while the first request is still in progress, 409 `idempotency_in_progress`. Only 2xx and 422 responses are stored; a 5xx, 401, 403, 404 or 429 error is not stored and can be retried with the same key.","uniqueKey":"","typeLabel":"string"},"example":"venta-2026-10-21-000123"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"branch_id":{"type":"string","format":"uuid","description":"Issuing branch (GET /branches).","isRequired":true,"uniqueKey":"branch_id","typeLabel":"string\u003cuuid>"},"customer_id":{"type":"string","format":"uuid","description":"Receiving customer.","isRequired":true,"uniqueKey":"customer_id","typeLabel":"string\u003cuuid>"},"document_type":{"type":"string","description":"SV: fc, ccf, fex, nc, nd, nr. US: inv, cm, dm.","enum":["fc","ccf","fex","nc","nd","nr","inv","cm","dm"],"isRequired":true,"uniqueKey":"document_type","typeLabel":"enum\u003cstring>"},"payment_details":{"type":"array","items":{"type":"object","properties":{"amount":{"type":"number","description":"Amount in the document's currency.","isRequired":true,"uniqueKey":"payment_details.items.[INDEX].amount","typeLabel":"number"},"payment_method_id":{"type":"string","format":"uuid","description":"Payment method id, from the country's catalog (`GET /v2/countries/{code}` → `payment_methods[].id`). Recommended: the code is not unique across countries. It must exist and be valid for the branch's country (`payment_method_invalid` otherwise).","uniqueKey":"payment_details.items.[INDEX].payment_method_id","typeLabel":"string\u003cuuid>"},"code":{"type":"string","description":"Deprecated; fallback only if `payment_method_id` is not sent. It is resolved within the branch's country; if it does not exist, `payment_method_invalid`.","uniqueKey":"payment_details.items.[INDEX].code","typeLabel":"string"},"reference":{"type":"string","description":"Reference.","uniqueKey":"payment_details.items.[INDEX].reference","typeLabel":"string"}},"required":["amount"],"uniqueKey":"payment_details.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"payment_details","typeLabel":"object[]"},"products":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"Description.","isRequired":true,"uniqueKey":"products.items.[INDEX].name","typeLabel":"string"},"quantity":{"type":"number","description":"Quantity.","isRequired":true,"uniqueKey":"products.items.[INDEX].quantity","typeLabel":"number"},"price_before_taxes":{"type":"number","description":"Unit price before taxes.","isRequired":true,"uniqueKey":"products.items.[INDEX].price_before_taxes","typeLabel":"number"},"tax_ids":{"type":"array","items":{"type":"string","format":"uuid","uniqueKey":"products.items.[INDEX].tax_ids.items.[INDEX]","typeLabel":"string\u003cuuid>"},"description":"Tax IDs of the line (GET /taxes/branch/{id}). Required: the key must be present; it may be [].","isRequired":true,"uniqueKey":"products.items.[INDEX].tax_ids","typeLabel":"string\u003cuuid>[]"},"id":{"type":"string","format":"uuid","description":"Product in FileXpress (deducts inventory).","uniqueKey":"products.items.[INDEX].id","typeLabel":"string\u003cuuid>"},"sku":{"type":"string","description":"Code.","uniqueKey":"products.items.[INDEX].sku","typeLabel":"string"},"sale_not_suject":{"type":"number","description":"Not subject.","uniqueKey":"products.items.[INDEX].sale_not_suject","typeLabel":"number"},"sale_exent":{"type":"number","description":"Exempt.","uniqueKey":"products.items.[INDEX].sale_exent","typeLabel":"number"},"sale_taxed":{"type":"number","description":"Taxable.","uniqueKey":"products.items.[INDEX].sale_taxed","typeLabel":"number"},"subtotal":{"type":"number","description":"Subtotal before taxes.","uniqueKey":"products.items.[INDEX].subtotal","typeLabel":"number"},"discount":{"type":"number","description":"Discount.","uniqueKey":"products.items.[INDEX].discount","typeLabel":"number"},"type":{"type":"string","description":"Good or service.","enum":["phisical","service"],"uniqueKey":"products.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"cost_center_id":{"type":"string","format":"uuid","description":"Cost center of the line; if missing, that of the sale.","uniqueKey":"products.items.[INDEX].cost_center_id","typeLabel":"string\u003cuuid>"},"cost_center_distribution_id":{"oneOf":[{"type":"string","format":"uuid","description":"Distribution of the line; if the line has neither a center nor a distribution, the sale's is used. Mutually exclusive with `cost_center_id` at the same level (422 `Indique centro de costo o distribución, no ambos.`).","uniqueKey":"products.items.[INDEX].cost_center_distribution_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","description":"Distribution of the line; if the line has neither a center nor a distribution, the sale's is used. Mutually exclusive with `cost_center_id` at the same level (422 `Indique centro de costo o distribución, no ambos.`).","uniqueKey":"products.items.[INDEX].cost_center_distribution_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"products.items.[INDEX].cost_center_distribution_id","typeLabel":"string\u003cuuid> | null"},"taxability":{"type":"string","description":"Calculated mode only. Treatment of the line.","enum":["taxed","exempt","not_subject"],"uniqueKey":"products.items.[INDEX].taxability","typeLabel":"enum\u003cstring>"},"discount_percent":{"type":"number","minimum":0,"maximum":1,"description":"Calculated mode only. Discount as a fraction (0.10 = 10 %). Do not combine with `discount`.","uniqueKey":"products.items.[INDEX].discount_percent","typeLabel":"number"}},"required":["name","quantity","price_before_taxes","tax_ids"],"uniqueKey":"products.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"products","typeLabel":"object[]"},"date":{"type":"string","description":"ISO 8601 date and time. Default: now.","uniqueKey":"date","typeLabel":"string"},"observation":{"type":"string","description":"Notes.","uniqueKey":"observation","typeLabel":"string"},"is_credit":{"type":"boolean","description":"Credit sale.","uniqueKey":"is_credit","typeLabel":"boolean"},"credit_days":{"type":"integer","description":"Credit days.","uniqueKey":"credit_days","typeLabel":"integer"},"project_id":{"type":"string","format":"uuid","description":"Associated project.","uniqueKey":"project_id","typeLabel":"string\u003cuuid>"},"point_of_sale_id":{"type":"string","format":"uuid","description":"Issuing point of sale (of the branch and active). Default: the branch's default.","uniqueKey":"point_of_sale_id","typeLabel":"string\u003cuuid>"},"cost_center_id":{"type":"string","format":"uuid","description":"Cost center of the sale (leaf and active; GET /accounting/cost-centers). Applied to income lines when posting.","uniqueKey":"cost_center_id","typeLabel":"string\u003cuuid>"},"incoterm_id":{"type":"string","format":"uuid","description":"Incoterm (export).","uniqueKey":"incoterm_id","typeLabel":"string\u003cuuid>"},"totals":{"type":"object","properties":{"netTotals":{"type":"number","description":"netTotals","uniqueKey":"totals.netTotals","typeLabel":"number"},"saleTotalNotSuject":{"type":"number","description":"saleTotalNotSuject","uniqueKey":"totals.saleTotalNotSuject","typeLabel":"number"},"saleTotalExent":{"type":"number","description":"saleTotalExent","uniqueKey":"totals.saleTotalExent","typeLabel":"number"},"saleTotalTax":{"type":"number","description":"saleTotalTax","uniqueKey":"totals.saleTotalTax","typeLabel":"number"},"totalTax":{"type":"number","description":"totalTax","uniqueKey":"totals.totalTax","typeLabel":"number"},"totalRetein":{"type":"number","description":"totalRetein","uniqueKey":"totals.totalRetein","typeLabel":"number"},"totalRent":{"type":"number","description":"totalRent","uniqueKey":"totals.totalRent","typeLabel":"number"},"freight":{"type":"number","description":"freight","uniqueKey":"totals.freight","typeLabel":"number"},"insurance":{"type":"number","description":"insurance","uniqueKey":"totals.insurance","typeLabel":"number"},"saleTotalToPayment":{"type":"number","description":"saleTotalToPayment","uniqueKey":"totals.saleTotalToPayment","typeLabel":"number"},"taxes":{"type":"array","items":{"type":"object","properties":{"tax_id":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"totals.taxes.items.[INDEX].tax_id","typeLabel":"string\u003cuuid>"},"amount":{"type":"number","isRequired":true,"uniqueKey":"totals.taxes.items.[INDEX].amount","typeLabel":"number"}},"required":["tax_id","amount"],"uniqueKey":"totals.taxes.items.[INDEX]","typeLabel":"object"},"description":"Taxes applied to the document, in the document's currency.","uniqueKey":"totals.taxes","typeLabel":"object[]"},"withholdings":{"type":"array","items":{"type":"object","properties":{"tax_id":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"totals.withholdings.items.[INDEX].tax_id","typeLabel":"string\u003cuuid>"},"amount":{"type":"number","isRequired":true,"uniqueKey":"totals.withholdings.items.[INDEX].amount","typeLabel":"number"}},"required":["tax_id","amount"],"uniqueKey":"totals.withholdings.items.[INDEX]","typeLabel":"object"},"description":"Withholdings and income tax applied, in the document's currency.","uniqueKey":"totals.withholdings","typeLabel":"object[]"}},"description":"Calculated mode: if `totals.saleTotalToPayment` is omitted, the server calculates line amounts, taxes, withholdings and totals; only quantity, price before taxes, discount and `tax_ids` are needed. Not available for `fc` (`totals_required`).","uniqueKey":"totals","typeLabel":"object"},"cost_center_distribution_id":{"oneOf":[{"type":"string","format":"uuid","description":"Active distribution (GET /accounting/cost-center-distributions): income is split among its centers by percentage. Mutually exclusive with `cost_center_id` at the same level (422 `Indique centro de costo o distribución, no ambos.`).","uniqueKey":"cost_center_distribution_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","description":"Active distribution (GET /accounting/cost-center-distributions): income is split among its centers by percentage. Mutually exclusive with `cost_center_id` at the same level (422 `Indique centro de costo o distribución, no ambos.`).","uniqueKey":"cost_center_distribution_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"cost_center_distribution_id","typeLabel":"string\u003cuuid> | null"},"country_data":{"type":"object","additionalProperties":true,"description":"Country-specific fields of the branch's country for this document (for example, in Guatemala those of `fcam`, `nabn`, `ncre`, `ndeb` and `nev`). Must be an object, not a list. Its schema per document type is in `adapter.country_data_schema` of `GET /v2/countries/{code}`. It is validated before transmission, and only if the business has electronic invoicing active; an invalid field returns 422 `country_data_invalid`. In Guatemala the alias `gt` is also accepted; if both are sent, `country_data` prevails. El Salvador does not use `country_data`.","uniqueKey":"country_data","typeLabel":"object"},"currency_code":{"type":"string","minLength":3,"maxLength":3,"description":"Document currency (3 letters, for example GTQ). Must be active for the business (GET /v2/currencies). If omitted or equal to the base currency, the document is in base currency. All amounts are in this currency.","uniqueKey":"currency_code","typeLabel":"string"},"exchange_rate":{"type":"number","exclusiveMinimum":true,"minimum":0,"description":"Units of base currency per 1 unit of `currency_code`. If omitted, the rate in effect on the document date is used.","uniqueKey":"exchange_rate","typeLabel":"number"}},"required":["branch_id","customer_id","document_type","products","payment_details"],"uniqueKey":"","typeLabel":"object"},"example":{"branch_id":"9d1c5a3e-4b7f-4e2a-9c1d-2f6b8a0e7c11","customer_id":"3b8e2f10-7c4d-4a9e-b1f2-5d6c7e8f9a01","document_type":"ccf","date":"2026-10-21T10:00:00","currency_code":"GTQ","exchange_rate":0.128,"payment_details":[{"payment_method_id":"9d1c5a3e-4b7f-4e2a-9c1d-2f6b8a0e7c11","amount":863.13}],"products":[{"id":"9d1c5a3e-4b7f-4e2a-9c1d-2f6b8a0e7c11","name":"Servicio de transporte","quantity":5,"price_before_taxes":100,"discount":0,"subtotal":500,"sale_taxed":500,"sale_exent":0,"sale_not_suject":0,"tax_ids":["3b8e2f10-7c4d-4a9e-b1f2-5d6c7e8f9a01","5d7e9f10-2a3b-4c5d-8e6f-7a8b9c0d1e2f"]},{"id":"9d1c5a3e-4b7f-4e2a-9c1d-2f6b8a0e7c11","name":"Servicio de carga","quantity":5,"price_before_taxes":50,"discount":0,"subtotal":250,"sale_taxed":250,"sale_exent":0,"sale_not_suject":0,"tax_ids":["3b8e2f10-7c4d-4a9e-b1f2-5d6c7e8f9a01","5d7e9f10-2a3b-4c5d-8e6f-7a8b9c0d1e2f"]}],"totals":{"netTotals":750,"saleTotalNotSuject":0,"saleTotalExent":0,"saleTotalTax":750,"totalTax":97.5,"totalRetein":0,"totalRent":0,"saleTotalToPayment":863.13,"taxes":[{"tax_id":"3b8e2f10-7c4d-4a9e-b1f2-5d6c7e8f9a01","amount":97.5},{"tax_id":"5d7e9f10-2a3b-4c5d-8e6f-7a8b9c0d1e2f","amount":15.63}],"withholdings":[]}},"examples":{"Example":{"title":"Example","value":{"branch_id":"9d1c5a3e-4b7f-4e2a-9c1d-2f6b8a0e7c11","customer_id":"3b8e2f10-7c4d-4a9e-b1f2-5d6c7e8f9a01","document_type":"ccf","date":"2026-10-21T10:00:00","currency_code":"GTQ","exchange_rate":0.128,"payment_details":[{"payment_method_id":"9d1c5a3e-4b7f-4e2a-9c1d-2f6b8a0e7c11","amount":863.13}],"products":[{"id":"9d1c5a3e-4b7f-4e2a-9c1d-2f6b8a0e7c11","name":"Servicio de transporte","quantity":5,"price_before_taxes":100,"discount":0,"subtotal":500,"sale_taxed":500,"sale_exent":0,"sale_not_suject":0,"tax_ids":["3b8e2f10-7c4d-4a9e-b1f2-5d6c7e8f9a01","5d7e9f10-2a3b-4c5d-8e6f-7a8b9c0d1e2f"]},{"id":"9d1c5a3e-4b7f-4e2a-9c1d-2f6b8a0e7c11","name":"Servicio de carga","quantity":5,"price_before_taxes":50,"discount":0,"subtotal":250,"sale_taxed":250,"sale_exent":0,"sale_not_suject":0,"tax_ids":["3b8e2f10-7c4d-4a9e-b1f2-5d6c7e8f9a01","5d7e9f10-2a3b-4c5d-8e6f-7a8b9c0d1e2f"]}],"totals":{"netTotals":750,"saleTotalNotSuject":0,"saleTotalExent":0,"saleTotalTax":750,"totalTax":97.5,"totalRetein":0,"totalRent":0,"saleTotalToPayment":863.13,"taxes":[{"tax_id":"3b8e2f10-7c4d-4a9e-b1f2-5d6c7e8f9a01","amount":97.5},{"tax_id":"5d7e9f10-2a3b-4c5d-8e6f-7a8b9c0d1e2f","amount":15.63}],"withholdings":[]}}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"f881cff6-54d3-4eb8-bd20-9ba2919d7b9c":{"description":"Document issued","content":{"application/json":{"example":{"status":true,"message":"Invoice created successfully","data":{"sale_id":"9d1c5a3e-4b7f-4e2a-9c1d-2f6b8a0e7c11","generation_code":"6F1E2D3C-8A4B-4C5D-9E6F-0A1B2C3D4E5F","control_number":"DTE-03-M001P001-000000000000045","status":"PROCESADO","issue_time":"2026-10-21 10:00:00","stamp":"2026A1B2C3D4E5F6","point_of_sale_id":"9d1c5a3e-4b7f-4e2a-9c1d-2f6b8a0e7c11","establishment_code":"M001","point_of_sale_code":"P001","total":110.48,"currency_code":"GTQ","exchange_rate":"0.12800000","foreign_total":"863.13","base_currency_code":"USD"}},"examples":{"Example":{"title":"Example","value":{"status":true,"message":"Invoice created successfully","data":{"sale_id":"9d1c5a3e-4b7f-4e2a-9c1d-2f6b8a0e7c11","generation_code":"6F1E2D3C-8A4B-4C5D-9E6F-0A1B2C3D4E5F","control_number":"DTE-03-M001P001-000000000000045","status":"PROCESADO","issue_time":"2026-10-21 10:00:00","stamp":"2026A1B2C3D4E5F6","point_of_sale_id":"9d1c5a3e-4b7f-4e2a-9c1d-2f6b8a0e7c11","establishment_code":"M001","point_of_sale_code":"P001","total":110.48,"currency_code":"GTQ","exchange_rate":"0.12800000","foreign_total":"863.13","base_currency_code":"USD"}}}},"exampleType":"examples"}},"headers":{"Idempotent-Replay":{"description":"`true` when the response is the exact replay (same code and body) of a previous request with the same Idempotency-Key. API v2.","schema":{"type":"string","enum":["true"]}}},"exampleType":"examples"},"547493e2-dfcd-4e4d-ad32-268780ea0ea8":{"description":"Missing or invalid API Key","content":{"application/json":{"example":{"status":false,"message":"Invalid API Key."},"examples":{"Example":{"title":"Example","value":{"status":false,"message":"Invalid API Key."}}},"exampleType":"examples"}},"exampleType":"examples"},"a4988325-b72b-44f4-a2cf-5908e1897624":{"description":"Integration without the required permission or deactivated","content":{"application/json":{"example":{"status":false,"message":"This integration does not have the 'hr.employees' permission.","required_scope":"hr.employees"},"examples":{"Example":{"title":"Example","value":{"status":false,"message":"This integration does not have the 'hr.employees' permission.","required_scope":"hr.employees"}}},"exampleType":"examples"}},"exampleType":"examples"},"6a7e9fa6-f283-4ca9-b6a7-60b0023c14fd":{"description":"Another request with the same `Idempotency-Key` is still in progress. Wait and retry with the same key.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"boolean","example":false,"isRequired":true,"uniqueKey":"status","typeLabel":"boolean"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","description":"Stable error code. Evaluate this field instead of the `message` text. Responses from the access layer (API Key, permission, rate limit) and the 404 for a resource of another business may not include it: use the HTTP code.","enum":["currency_not_enabled","exchange_rate_not_found","exchange_rate_invalid","base_currency_not_legal","validation_error","tax_invalid","payment_method_invalid","tax_not_supported_in_expenses","country_not_supported","country_data_invalid","idempotency_key_reused","idempotency_in_progress","unauthorized","forbidden","not_found","rate_limited","error"],"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"errors":{"oneOf":[{"type":"object","description":"Optional. Its shape depends on the error.","additionalProperties":true,"uniqueKey":"errors.oneOf.0","typeLabel":"object"},{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","isRequired":true,"uniqueKey":"errors.oneOf.1.items.[INDEX].field","typeLabel":"string"},"code":{"type":"string","description":"Detail of the tax problem.","enum":["tax_not_found","tax_wrong_effect","tax_country_mismatch","tax_not_in_lines","tax_totals_inconsistent","tax_amount_mismatch","withholding_totals_inconsistent","withholding_amount_mismatch"],"isRequired":true,"uniqueKey":"errors.oneOf.1.items.[INDEX].code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"errors.oneOf.1.items.[INDEX].message","typeLabel":"string"},"tax_id":{"type":"string","format":"uuid","uniqueKey":"errors.oneOf.1.items.[INDEX].tax_id","typeLabel":"string\u003cuuid>"}},"required":["field","code","message"],"uniqueKey":"errors.oneOf.1.items.[INDEX]","typeLabel":"object"},"description":"Optional. Its shape depends on the error.","uniqueKey":"errors.oneOf.1","typeLabel":"object[]"}],"uniqueKey":"errors","typeLabel":"object | object[]"}},"required":["status","message"],"uniqueKey":"","typeLabel":"object"},"example":{"status":false,"code":"idempotency_in_progress","message":"Hay otra solicitud en curso con la misma Idempotency-Key."},"examples":{"Example":{"title":"Example","value":{"status":false,"code":"idempotency_in_progress","message":"Hay otra solicitud en curso con la misma Idempotency-Key."}}},"exampleType":"examples"}},"exampleType":"examples"},"b3aec3d2-de7e-4bfb-84a3-cd5202e76773":{"description":"Validation, currency, tax or idempotency error","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"boolean","example":false,"isRequired":true,"uniqueKey":"status","typeLabel":"boolean"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","description":"Stable error code. Evaluate this field instead of the `message` text. Responses from the access layer (API Key, permission, rate limit) and the 404 for a resource of another business may not include it: use the HTTP code.","enum":["currency_not_enabled","exchange_rate_not_found","exchange_rate_invalid","base_currency_not_legal","validation_error","tax_invalid","payment_method_invalid","tax_not_supported_in_expenses","country_not_supported","country_data_invalid","idempotency_key_reused","idempotency_in_progress","unauthorized","forbidden","not_found","rate_limited","error"],"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"errors":{"oneOf":[{"type":"object","description":"Optional. Its shape depends on the error.","additionalProperties":true,"uniqueKey":"errors.oneOf.0","typeLabel":"object"},{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","isRequired":true,"uniqueKey":"errors.oneOf.1.items.[INDEX].field","typeLabel":"string"},"code":{"type":"string","description":"Detail of the tax problem.","enum":["tax_not_found","tax_wrong_effect","tax_country_mismatch","tax_not_in_lines","tax_totals_inconsistent","tax_amount_mismatch","withholding_totals_inconsistent","withholding_amount_mismatch"],"isRequired":true,"uniqueKey":"errors.oneOf.1.items.[INDEX].code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"errors.oneOf.1.items.[INDEX].message","typeLabel":"string"},"tax_id":{"type":"string","format":"uuid","uniqueKey":"errors.oneOf.1.items.[INDEX].tax_id","typeLabel":"string\u003cuuid>"}},"required":["field","code","message"],"uniqueKey":"errors.oneOf.1.items.[INDEX]","typeLabel":"object"},"description":"Optional. Its shape depends on the error.","uniqueKey":"errors.oneOf.1","typeLabel":"object[]"}],"uniqueKey":"errors","typeLabel":"object | object[]"}},"required":["status","message"],"uniqueKey":"","typeLabel":"object"},"examples":{"tax_invalid":{"title":"tax_invalid","value":{"status":false,"code":"tax_invalid","message":"Impuestos inválidos","errors":[{"field":"invoiceResumenDetail.totalTax","code":"tax_amount_mismatch","message":"totalTax enviado (20) difiere del calculado (13)."}]}},"validation_error":{"title":"validation_error","value":{"status":false,"code":"validation_error","message":"Validation errors","errors":{"products.0.tax_ids":["The products.0.tax_ids field must be present."]}}},"currency_not_enabled":{"title":"currency_not_enabled","value":{"status":false,"code":"currency_not_enabled","message":"La moneda GTQ no está activa para este negocio.","errors":{"currency_code":"La moneda GTQ no está activa."}}},"exchange_rate_not_found":{"title":"exchange_rate_not_found","value":{"status":false,"code":"exchange_rate_not_found","message":"No hay tasa de cambio para GTQ a la fecha 2026-10-21 ni anterior. Registre una tasa de cambio o envíe exchange_rate en el documento.","errors":{"exchange_rate":"Sin tasa de cambio para GTQ al 2026-10-21."}}},"exchange_rate_invalid":{"title":"exchange_rate_invalid","value":{"status":false,"code":"exchange_rate_invalid","message":"La tasa de cambio del documento debe ser un número mayor que cero.","errors":{"exchange_rate":"Debe ser mayor que cero."}}},"base_currency_not_legal":{"title":"base_currency_not_legal","value":{"status":false,"code":"base_currency_not_legal","message":"El documento electrónico debe emitirse en GTQ (moneda legal de GT) y la moneda base del negocio es USD. Corrija la moneda base del negocio antes de emitir en moneda extranjera.","errors":{"currency_code":"La moneda base (USD) no es la moneda legal (GTQ)."}}},"country_data_invalid":{"title":"country_data_invalid","value":{"status":false,"code":"country_data_invalid","message":"country_data inválido para GT","errors":{"periodos":"Debe ser un entero mayor o igual a 1."}}},"idempotency_key_reused":{"title":"idempotency_key_reused","value":{"status":false,"code":"idempotency_key_reused","message":"La Idempotency-Key ya se usó con una solicitud distinta."}},"idempotency_key_too_long":{"title":"idempotency_key_too_long","value":{"status":false,"code":"validation_error","message":"Validation errors","errors":{"Idempotency-Key":["Máximo 120 caracteres."]}}}},"exampleType":"examples"}},"headers":{"Idempotent-Replay":{"description":"`true` when the response is the exact replay (same code and body) of a previous request with the same Idempotency-Key. API v2.","schema":{"type":"string","enum":["true"]}}},"exampleType":"examples"},"ecf4a1c6-3284-49ba-a052-5138c917384c":{"description":"Rate limit exceeded","content":{"application/json":{"example":{"status":false,"message":"Rate limit exceeded. Please try again later.","rate_limit":100},"examples":{"Example":{"title":"Example","value":{"status":false,"message":"Rate limit exceeded. Please try again later.","rate_limit":100}}},"exampleType":"examples"}},"exampleType":"examples"},"2260386e-4e9a-4707-990c-6f638bd366f6":{"description":"Internal error","content":{"application/json":{"example":{"status":false,"message":"An error occurred while creating the invoice"},"examples":{"Example":{"title":"Example","value":{"status":false,"message":"An error occurred while creating the invoice"}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"bcf8db0b-9cc8-4a77-a78d-d3ca94d8627e":{"ApiKey":{"type":"apiKey","in":"header","name":"X-API-Key","description":"Integration API Key (Integrations → New Integration).","scopes":[],"schemeName":"ApiKey"}}},"servers":{"f811a785-3527-4af7-9fff-0f6a108167d8":{"url":"https://api.filexpress.app/api/external","description":"Production (v2 routes are prefixed with /v2)"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"X-API-Key","description":"Integration API Key (Integrations → New Integration).","scopes":[],"schemeName":"ApiKey"},"schema":{"title":"X-API-Key","type":"string","description":"Integration API Key (Integrations → New Integration).","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKey","name":"X-API-Key"}],"title":"ApiKey"}]},"originalFileLocation":"api-reference/openapi.en.json"},"subdomain":"mangostudiossadecv","siteName":"FileXpress","title":"Create sale (v2) - FileXpress","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"es":{"href":"/docs/paises/el-salvador","matchLevel":4},"en":{"href":"/en/api-reference/api-v2-·-sales/create-sale-v2","matchLevel":0}}},"lastModified":"2026-11-01T22:05:59.722Z","originalFileLocation":"en/api-reference/api-v2-·-sales/create-sale-v2.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"light\";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=\"light\"}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=\"Same as POST /sales in v1, plus currency (currency_code, exchange_rate), tax_ids required per line, and strict tax validation (an amount different from the recalculated one returns 422 tax_invalid). Document amounts are in the currency of currency_code; the server converts them to the base currency and the DTE is issued in the country\u0026#x27;s legal currency. data.total is the total to pay in base currency and foreign_total is in the document\u0026#x27;s currency. Accepts the optional Idempotency-Key header to retry without duplicating the document (see the parameter). Required permission: sales\">\u003cmeta data-mint-head name=\"application-name\" content=\"FileXpress\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/svg+xml\" sizes=\"180x180\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/mangostudiossadecv/favicon.svg\">\u003clink data-mint-head rel=\"icon\" type=\"image/svg+xml\" sizes=\"32x32\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/mangostudiossadecv/favicon.svg\">\u003clink data-mint-head rel=\"icon\" type=\"image/svg+xml\" sizes=\"16x16\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/mangostudiossadecv/favicon.svg\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/svg+xml\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/mangostudiossadecv/favicon.svg\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create sale (v2) - FileXpress\">\u003cmeta data-mint-head property=\"og:description\" content=\"Same as POST /sales in v1, plus currency (currency_code, exchange_rate), tax_ids required per line, and strict tax validation (an amount different from the recalculated one returns 422 tax_invalid). Document amounts are in the currency of currency_code; the server converts them to the base currency and the DTE is issued in the country\u0026#x27;s legal currency. data.total is the total to pay in base currency and foreign_total is in the document\u0026#x27;s currency. Accepts the optional Idempotency-Key header to retry without duplicating the document (see the parameter). Required permission: sales\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"FileXpress\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.filexpress.app/en/api-reference/api-v2-·-sales/create-sale-v2\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://mangostudiossadecv.mintlify.app/_mintlify/api/og/v2?division=API+v2+%C2%B7+Sales\u0026amp;title=Create+sale+%28v2%29\u0026amp;description=Same+as+%60POST+%2Fsales%60+in+v1%2C+plus+currency+%28%60currency_code%60%2C+%60exchange_rate%60%29%2C+%60tax_ids%60+required+per+line%2C+and+strict+tax+validation+%28an+amount+different+from+\u0026amp;theme=60220666a180a2a39c0878fb\u0026amp;signature=7e1babd8b1d52370464b551799eed960bcef15b51f16f5669d3a3ea6db64fb0e\">\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=\"Create sale (v2) - FileXpress\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Same as POST /sales in v1, plus currency (currency_code, exchange_rate), tax_ids required per line, and strict tax validation (an amount different from the recalculated one returns 422 tax_invalid). Document amounts are in the currency of currency_code; the server converts them to the base currency and the DTE is issued in the country\u0026#x27;s legal currency. data.total is the total to pay in base currency and foreign_total is in the document\u0026#x27;s currency. Accepts the optional Idempotency-Key header to retry without duplicating the document (see the parameter). Required permission: sales\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://mangostudiossadecv.mintlify.app/_mintlify/api/og/v2?division=API+v2+%C2%B7+Sales\u0026amp;title=Create+sale+%28v2%29\u0026amp;description=Same+as+%60POST+%2Fsales%60+in+v1%2C+plus+currency+%28%60currency_code%60%2C+%60exchange_rate%60%29%2C+%60tax_ids%60+required+per+line%2C+and+strict+tax+validation+%28an+amount+different+from+\u0026amp;theme=60220666a180a2a39c0878fb\u0026amp;signature=7e1babd8b1d52370464b551799eed960bcef15b51f16f5669d3a3ea6db64fb0e\">\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=\"https://mintlify.s3.us-west-1.amazonaws.com/mangostudiossadecv/_generated/favicon/browserconfig.xml?v=3\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"FileXpress\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#3064fa\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.filexpress.app/en/api-reference/api-v2-·-sales/create-sale-v2\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/en/api-reference/api-v2-%C2%B7-sales/create-sale-v2.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.filexpress.app/#organization\",\"name\":\"FileXpress\",\"url\":\"https://docs.filexpress.app\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/mangostudiossadecv/jiFEsnraDMvj1AVI/images/fx_blue.svg?fit=max\u0026auto=format\u0026n=jiFEsnraDMvj1AVI\u0026q=85\u0026s=561eba8282864c178e1488e9cb48475d\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.filexpress.app#website\",\"name\":\"FileXpress\",\"url\":\"https://docs.filexpress.app\",\"publisher\":{\"@id\":\"https://docs.filexpress.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.filexpress.app/en/api-reference/api-v2-%C2%B7-sales/create-sale-v2#webpage\",\"url\":\"https://docs.filexpress.app/en/api-reference/api-v2-%C2%B7-sales/create-sale-v2\",\"name\":\"Create sale (v2)\",\"description\":\"Same as POST /sales in v1, plus currency (currency_code, exchange_rate), tax_ids required per line, and strict tax validation (an amount different from the recalculated one returns 422 tax_invalid). Document amounts are in the currency of currency_code; the server converts them to the base currency and the DTE is issued in the country's legal currency. data.total is the total to pay in base currency and foreign_total is in the document's currency. Accepts the optional Idempotency-Key header to retry without duplicating the document (see the parameter). Required permission: sales\",\"dateModified\":\"2026-11-01T22:05:59.722Z\",\"isPartOf\":{\"@id\":\"https://docs.filexpress.app#website\"},\"breadcrumb\":{\"@id\":\"https://docs.filexpress.app/en/api-reference/api-v2-%C2%B7-sales/create-sale-v2#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.filexpress.app/en/api-reference/api-v2-%C2%B7-sales/create-sale-v2#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Interactive reference\",\"item\":\"https://docs.filexpress.app/en/api-reference/general/list-branches\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create sale (v2)\",\"item\":\"https://docs.filexpress.app/en/api-reference/api-v2-%C2%B7-sales/create-sale-v2\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.filexpress.app/en/api-reference/api-v2-%C2%B7-sales/create-sale-v2#apireference\",\"headline\":\"Create sale (v2)\",\"name\":\"Create sale (v2)\",\"description\":\"Same as POST /sales in v1, plus currency (currency_code, exchange_rate), tax_ids required per line, and strict tax validation (an amount different from the recalculated one returns 422 tax_invalid). Document amounts are in the currency of currency_code; the server converts them to the base currency and the DTE is issued in the country's legal currency. data.total is the total to pay in base currency and foreign_total is in the document's currency. Accepts the optional Idempotency-Key header to retry without duplicating the document (see the parameter). Required permission: sales\",\"url\":\"https://docs.filexpress.app/en/api-reference/api-v2-%C2%B7-sales/create-sale-v2\",\"mainEntityOfPage\":{\"@id\":\"https://docs.filexpress.app/en/api-reference/api-v2-%C2%B7-sales/create-sale-v2#webpage\"},\"dateModified\":\"2026-11-01T22:05:59.722Z\",\"publisher\":{\"@id\":\"https://docs.filexpress.app/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.filexpress.app#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"FileXpress\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"FileXpress","nav":{"global":null,"languages":[{"language":"es","pages":[{"title":"es","href":"/docs/paises/el-salvador"}]},{"language":"en","banner":{"content":"**El Salvador:** from November 3 you can migrate to electronic invoicing v2; the tax authority (Hacienda) set **December 1, 2026** as the deadline to start. First request the tests at factura.gob.sv and complete them before going to production. [See the migration guide](/en/docs/sistema/migracion-dte-v2) · **External API:** migrate to `/external/v2` before March 30, 2027; on January 1, 2027 the unversioned `/external` routes are removed. [See versioning](/en/docs/api/introduccion#versioning)","dismissible":true},"tabs":[{"tab":"User Manual","dropdowns":[{"dropdown":"El Salvador","icon":"flag","groups":[{"group":"Country","pages":[{"title":"FileXpress in El Salvador","icon":"flag","href":"/en/docs/paises/el-salvador"}]},{"group":"Getting Started","pages":[{"title":"What is FileXpress?","icon":"house","href":"/en/docs/introduccion"},{"title":"How to sign in","icon":"right-to-bracket","href":"/en/docs/acceso"},{"title":"Roles and permissions","icon":"shield-halved","href":"/en/docs/roles"}]},{"group":"Dashboard","pages":[{"title":"Dashboard","icon":"chart-line","href":"/en/docs/dashboard"}]},{"group":"Sales","pages":[{"title":"New Sale","icon":"file-invoice","href":"/en/docs/ventas/nueva-venta"},{"title":"Sales drafts","icon":"file-lines","href":"/en/docs/ventas/borradores"},{"title":"Quotations","icon":"file-pen","href":"/en/docs/ventas/cotizaciones"},{"title":"Expenses / Purchases","icon":"receipt","href":"/en/docs/ventas/gastos"},{"title":"Import landed costs (retaceos)","icon":"ship","href":"/en/docs/ventas/retaceos"},{"title":"Customers","icon":"users","href":"/en/docs/ventas/clientes"},{"title":"Suppliers","icon":"truck","href":"/en/docs/ventas/proveedores"},{"title":"Salespeople","icon":"user-tie","href":"/en/docs/ventas/vendedores"},{"title":"Advance Payments","icon":"money-bill-wave","href":"/en/docs/ventas/pagos-anticipados"},{"title":"Donations","icon":"hand-holding-heart","href":"/en/docs/ventas/donaciones"},{"title":"DTE events: returns and special operations","icon":"arrow-rotate-left","href":"/en/docs/ventas/eventos-dte"},{"title":"Promotions","icon":"tag","href":"/en/docs/ventas/promociones"},{"title":"VAT Books","icon":"book-open","href":"/en/docs/ventas/libros-iva"},{"title":"Reports Center","icon":"chart-column","href":"/en/docs/ventas/reportes"}]},{"group":"Products","pages":[{"title":"Product Catalog","icon":"boxes-stacked","href":"/en/docs/productos/catalogo"},{"title":"Product Types","icon":"layer-group","href":"/en/docs/productos/tipos-de-producto"},{"title":"Categories and Brands","icon":"tags","href":"/en/docs/productos/categorias-marcas"},{"title":"Taxes on Products","icon":"percent","href":"/en/docs/productos/impuestos"},{"title":"Price Lists","icon":"tags","href":"/en/docs/productos/listas-precios"}]},{"group":"Inventory","pages":[{"title":"Movements Report","icon":"arrow-right-arrow-left","href":"/en/docs/inventario/movimientos"},{"title":"Inventory Adjustments","icon":"sliders","href":"/en/docs/inventario/ajustes"},{"title":"Batches and Expiration Alerts","icon":"triangle-exclamation","href":"/en/docs/inventario/lotes"},{"title":"Transfers Between Branches","icon":"building-circle-arrow-right","href":"/en/docs/inventario/transferencias"},{"title":"Production","icon":"industry","href":"/en/docs/inventario/produccion"},{"title":"Inventory Tools","icon":"screwdriver-wrench","href":"/en/docs/inventario/herramientas"}]},{"group":"Cash \u0026 POS","pages":[{"title":"Cash Register","icon":"vault","href":"/en/docs/caja/caja-registradora"},{"title":"Point of Sale (POS)","icon":"cash-register","href":"/en/docs/caja/punto-de-venta"},{"title":"Points of sale","icon":"store","href":"/en/docs/caja/puntos-de-venta"}]},{"group":"Finance","pages":[{"title":"Accounts Receivable","icon":"hand-holding-dollar","href":"/en/docs/finanzas/cuentas-cobrar"},{"title":"Accounts Payable","icon":"money-bill-transfer","href":"/en/docs/finanzas/cuentas-pagar"},{"title":"Banks","icon":"building-columns","href":"/en/docs/finanzas/bancos"},{"title":"Card Settlements","icon":"credit-card","href":"/en/docs/finanzas/liquidaciones-tarjeta"},{"title":"Petty Cash","icon":"piggy-bank","href":"/en/docs/finanzas/caja-chica"}]},{"group":"Accounting","pages":[{"title":"Accounting Settings","icon":"gear","href":"/en/docs/contabilidad/configuracion"},{"title":"Chart of Accounts","icon":"sitemap","href":"/en/docs/contabilidad/plan-cuentas"},{"title":"Journal Entries","icon":"book-open","href":"/en/docs/contabilidad/partidas"},{"title":"Cost Centers","icon":"sitemap","href":"/en/docs/contabilidad/centros-de-costo"},{"title":"Budgets","icon":"chart-pie","href":"/en/docs/contabilidad/presupuestos"},{"title":"Process Documents","icon":"wand-magic-sparkles","href":"/en/docs/contabilidad/procesar-documentos"},{"title":"Accounting Periods","icon":"calendar-days","href":"/en/docs/contabilidad/periodos"},{"title":"Accounting Reports","icon":"chart-bar","href":"/en/docs/contabilidad/reportes"},{"title":"Fixed Assets","icon":"computer","href":"/en/docs/contabilidad/activos-fijos"},{"title":"Accounting Consolidation","icon":"layer-group","href":"/en/docs/contabilidad/consolidacion"}]},{"group":"Human Resources","pages":[{"title":"Employees","icon":"id-card","href":"/en/docs/rrhh/empleados"},{"title":"Job Titles","icon":"briefcase","href":"/en/docs/rrhh/puestos"},{"title":"Organizational Chart","icon":"sitemap","href":"/en/docs/rrhh/organigrama"},{"title":"Attendance","icon":"clock","href":"/en/docs/rrhh/asistencia"},{"title":"Time clock","icon":"fingerprint","href":"/en/docs/rrhh/marcaje"},{"title":"Schedules","icon":"calendar-days","href":"/en/docs/rrhh/horarios"},{"title":"Holidays and days off","icon":"umbrella-beach","href":"/en/docs/rrhh/feriados"},{"title":"Labor rules","icon":"scale-balanced","href":"/en/docs/rrhh/reglas-laborales"},{"title":"Schedule compliance","icon":"clipboard-check","href":"/en/docs/rrhh/cumplimiento"},{"title":"Leave and Vacation","icon":"calendar-check","href":"/en/docs/rrhh/permisos"},{"title":"Payrolls","icon":"money-check-dollar","href":"/en/docs/rrhh/nominas"},{"title":"Payroll Policies","icon":"file-contract","href":"/en/docs/rrhh/politicas"},{"title":"Tax Tables","icon":"table-list","href":"/en/docs/rrhh/tablas-impuestos"},{"title":"Employee Loans","icon":"hand-holding-dollar","href":"/en/docs/rrhh/prestamos"},{"title":"Aguinaldo","icon":"gift","href":"/en/docs/rrhh/aguinaldo"},{"title":"Terminations","icon":"file-signature","href":"/en/docs/rrhh/finiquitos"},{"title":"Contract Templates","icon":"file-lines","href":"/en/docs/rrhh/contratos"}]},{"group":"Business Management","pages":[{"title":"Projects","icon":"diagram-project","href":"/en/docs/gestion/proyectos"},{"title":"Work Orders","icon":"screwdriver-wrench","href":"/en/docs/gestion/ordenes-trabajo"},{"title":"Appointments","icon":"calendar-check","href":"/en/docs/gestion/citas"},{"title":"Business Intelligence","icon":"chart-mixed","href":"/en/docs/gestion/bi"},{"title":"Traceability","icon":"diagram-project","href":"/en/docs/gestion/trazabilidad"},{"title":"External Integrations","icon":"plug","href":"/en/docs/gestion/integraciones"}]},{"group":"System","pages":[{"title":"Users","icon":"users-gear","href":"/en/docs/sistema/usuarios"},{"title":"Branch Settings","icon":"gear","href":"/en/docs/sistema/configuracion"},{"title":"Multi-currency","icon":"coins","href":"/en/docs/sistema/multi-moneda"},{"title":"Migration to electronic invoicing v2","icon":"arrow-right-arrow-left","href":"/en/docs/sistema/migracion-dte-v2"},{"title":"User preferences","icon":"palette","href":"/en/docs/sistema/preferencias"},{"title":"Home AI Agent","icon":"wand-magic-sparkles","href":"/en/docs/sistema/agente-ia"},{"title":"AI Assistant","icon":"robot","href":"/en/docs/sistema/asistente-ia"},{"title":"Subscription","icon":"id-badge","href":"/en/docs/sistema/suscripcion"},{"title":"Audit","icon":"shield-check","href":"/en/docs/sistema/auditoria"},{"title":"Support","icon":"life-ring","href":"/en/docs/sistema/soporte"}]}]},{"dropdown":"Guatemala","icon":"flag","groups":[{"group":"Country","pages":[{"title":"FileXpress in Guatemala","icon":"flag","href":"/en/docs/paises/guatemala"}]},{"group":"Getting Started","pages":[{"title":"What is FileXpress?","icon":"house","href":"/en/docs/introduccion"},{"title":"How to sign in","icon":"right-to-bracket","href":"/en/docs/acceso"},{"title":"Roles and permissions","icon":"shield-halved","href":"/en/docs/roles"}]},{"group":"Dashboard","pages":[{"title":"Dashboard","icon":"chart-line","href":"/en/docs/dashboard"}]},{"group":"Sales","pages":[{"title":"New Sale","icon":"file-invoice","href":"/en/docs/ventas/nueva-venta"},{"title":"Sales drafts","icon":"file-lines","href":"/en/docs/ventas/borradores"},{"title":"Quotations","icon":"file-pen","href":"/en/docs/ventas/cotizaciones"},{"title":"Expenses / Purchases","icon":"receipt","href":"/en/docs/ventas/gastos"},{"title":"Import landed costs (retaceos)","icon":"ship","href":"/en/docs/ventas/retaceos"},{"title":"Customers","icon":"users","href":"/en/docs/ventas/clientes"},{"title":"Suppliers","icon":"truck","href":"/en/docs/ventas/proveedores"},{"title":"Salespeople","icon":"user-tie","href":"/en/docs/ventas/vendedores"},{"title":"Advance Payments","icon":"money-bill-wave","href":"/en/docs/ventas/pagos-anticipados"},{"title":"Donations","icon":"hand-holding-heart","href":"/en/docs/ventas/donaciones"},{"title":"Promotions","icon":"tag","href":"/en/docs/ventas/promociones"},{"title":"VAT Books","icon":"book-open","href":"/en/docs/ventas/libros-iva"},{"title":"Reports Center","icon":"chart-column","href":"/en/docs/ventas/reportes"}]},{"group":"Products","pages":[{"title":"Product Catalog","icon":"boxes-stacked","href":"/en/docs/productos/catalogo"},{"title":"Product Types","icon":"layer-group","href":"/en/docs/productos/tipos-de-producto"},{"title":"Categories and Brands","icon":"tags","href":"/en/docs/productos/categorias-marcas"},{"title":"Taxes on Products","icon":"percent","href":"/en/docs/productos/impuestos"},{"title":"Price Lists","icon":"tags","href":"/en/docs/productos/listas-precios"}]},{"group":"Inventory","pages":[{"title":"Movements Report","icon":"arrow-right-arrow-left","href":"/en/docs/inventario/movimientos"},{"title":"Inventory Adjustments","icon":"sliders","href":"/en/docs/inventario/ajustes"},{"title":"Batches and Expiration Alerts","icon":"triangle-exclamation","href":"/en/docs/inventario/lotes"},{"title":"Transfers Between Branches","icon":"building-circle-arrow-right","href":"/en/docs/inventario/transferencias"},{"title":"Production","icon":"industry","href":"/en/docs/inventario/produccion"},{"title":"Inventory Tools","icon":"screwdriver-wrench","href":"/en/docs/inventario/herramientas"}]},{"group":"Cash \u0026 POS","pages":[{"title":"Cash Register","icon":"vault","href":"/en/docs/caja/caja-registradora"},{"title":"Point of Sale (POS)","icon":"cash-register","href":"/en/docs/caja/punto-de-venta"},{"title":"Points of sale","icon":"store","href":"/en/docs/caja/puntos-de-venta"}]},{"group":"Finance","pages":[{"title":"Accounts Receivable","icon":"hand-holding-dollar","href":"/en/docs/finanzas/cuentas-cobrar"},{"title":"Accounts Payable","icon":"money-bill-transfer","href":"/en/docs/finanzas/cuentas-pagar"},{"title":"Banks","icon":"building-columns","href":"/en/docs/finanzas/bancos"},{"title":"Petty Cash","icon":"piggy-bank","href":"/en/docs/finanzas/caja-chica"}]},{"group":"Accounting","pages":[{"title":"Accounting Settings","icon":"gear","href":"/en/docs/contabilidad/configuracion"},{"title":"Chart of Accounts","icon":"sitemap","href":"/en/docs/contabilidad/plan-cuentas"},{"title":"Journal Entries","icon":"book-open","href":"/en/docs/contabilidad/partidas"},{"title":"Cost Centers","icon":"sitemap","href":"/en/docs/contabilidad/centros-de-costo"},{"title":"Budgets","icon":"chart-pie","href":"/en/docs/contabilidad/presupuestos"},{"title":"Process Documents","icon":"wand-magic-sparkles","href":"/en/docs/contabilidad/procesar-documentos"},{"title":"Accounting Periods","icon":"calendar-days","href":"/en/docs/contabilidad/periodos"},{"title":"Accounting Reports","icon":"chart-bar","href":"/en/docs/contabilidad/reportes"},{"title":"Fixed Assets","icon":"computer","href":"/en/docs/contabilidad/activos-fijos"},{"title":"Accounting Consolidation","icon":"layer-group","href":"/en/docs/contabilidad/consolidacion"}]},{"group":"Human Resources","pages":[{"title":"Employees","icon":"id-card","href":"/en/docs/rrhh/empleados"},{"title":"Job Titles","icon":"briefcase","href":"/en/docs/rrhh/puestos"},{"title":"Organizational Chart","icon":"sitemap","href":"/en/docs/rrhh/organigrama"},{"title":"Attendance","icon":"clock","href":"/en/docs/rrhh/asistencia"},{"title":"Time clock","icon":"fingerprint","href":"/en/docs/rrhh/marcaje"},{"title":"Schedules","icon":"calendar-days","href":"/en/docs/rrhh/horarios"},{"title":"Holidays and days off","icon":"umbrella-beach","href":"/en/docs/rrhh/feriados"},{"title":"Labor rules","icon":"scale-balanced","href":"/en/docs/rrhh/reglas-laborales"},{"title":"Schedule compliance","icon":"clipboard-check","href":"/en/docs/rrhh/cumplimiento"},{"title":"Leave and Vacation","icon":"calendar-check","href":"/en/docs/rrhh/permisos"},{"title":"Payrolls","icon":"money-check-dollar","href":"/en/docs/rrhh/nominas"},{"title":"Payroll Policies","icon":"file-contract","href":"/en/docs/rrhh/politicas"},{"title":"Tax Tables","icon":"table-list","href":"/en/docs/rrhh/tablas-impuestos"},{"title":"Employee Loans","icon":"hand-holding-dollar","href":"/en/docs/rrhh/prestamos"},{"title":"Aguinaldo","icon":"gift","href":"/en/docs/rrhh/aguinaldo"},{"title":"Terminations","icon":"file-signature","href":"/en/docs/rrhh/finiquitos"},{"title":"Contract Templates","icon":"file-lines","href":"/en/docs/rrhh/contratos"}]},{"group":"Business Management","pages":[{"title":"Projects","icon":"diagram-project","href":"/en/docs/gestion/proyectos"},{"title":"Work Orders","icon":"screwdriver-wrench","href":"/en/docs/gestion/ordenes-trabajo"},{"title":"Appointments","icon":"calendar-check","href":"/en/docs/gestion/citas"},{"title":"Business Intelligence","icon":"chart-mixed","href":"/en/docs/gestion/bi"},{"title":"Traceability","icon":"diagram-project","href":"/en/docs/gestion/trazabilidad"},{"title":"External Integrations","icon":"plug","href":"/en/docs/gestion/integraciones"}]},{"group":"System","pages":[{"title":"Users","icon":"users-gear","href":"/en/docs/sistema/usuarios"},{"title":"Branch Settings","icon":"gear","href":"/en/docs/sistema/configuracion"},{"title":"Multi-currency","icon":"coins","href":"/en/docs/sistema/multi-moneda"},{"title":"User preferences","icon":"palette","href":"/en/docs/sistema/preferencias"},{"title":"Home AI Agent","icon":"wand-magic-sparkles","href":"/en/docs/sistema/agente-ia"},{"title":"AI Assistant","icon":"robot","href":"/en/docs/sistema/asistente-ia"},{"title":"Subscription","icon":"id-badge","href":"/en/docs/sistema/suscripcion"},{"title":"Audit","icon":"shield-check","href":"/en/docs/sistema/auditoria"},{"title":"Support","icon":"life-ring","href":"/en/docs/sistema/soporte"}]}]},{"dropdown":"United States","icon":"flag","groups":[{"group":"Country","pages":[{"title":"FileXpress in the United States","icon":"flag-usa","href":"/en/docs/paises/estados-unidos"}]},{"group":"Getting Started","pages":[{"title":"What is FileXpress?","icon":"house","href":"/en/docs/introduccion"},{"title":"How to sign in","icon":"right-to-bracket","href":"/en/docs/acceso"},{"title":"Roles and permissions","icon":"shield-halved","href":"/en/docs/roles"}]},{"group":"Dashboard","pages":[{"title":"Dashboard","icon":"chart-line","href":"/en/docs/dashboard"}]},{"group":"Sales","pages":[{"title":"New Sale","icon":"file-invoice","href":"/en/docs/ventas/nueva-venta"},{"title":"Sales drafts","icon":"file-lines","href":"/en/docs/ventas/borradores"},{"title":"Quotations","icon":"file-pen","href":"/en/docs/ventas/cotizaciones"},{"title":"Expenses / Purchases","icon":"receipt","href":"/en/docs/ventas/gastos"},{"title":"Import landed costs (retaceos)","icon":"ship","href":"/en/docs/ventas/retaceos"},{"title":"Customers","icon":"users","href":"/en/docs/ventas/clientes"},{"title":"Suppliers","icon":"truck","href":"/en/docs/ventas/proveedores"},{"title":"Salespeople","icon":"user-tie","href":"/en/docs/ventas/vendedores"},{"title":"Advance Payments","icon":"money-bill-wave","href":"/en/docs/ventas/pagos-anticipados"},{"title":"Donations","icon":"hand-holding-heart","href":"/en/docs/ventas/donaciones"},{"title":"Promotions","icon":"tag","href":"/en/docs/ventas/promociones"},{"title":"VAT Books","icon":"book-open","href":"/en/docs/ventas/libros-iva"},{"title":"Reports Center","icon":"chart-column","href":"/en/docs/ventas/reportes"}]},{"group":"Products","pages":[{"title":"Product Catalog","icon":"boxes-stacked","href":"/en/docs/productos/catalogo"},{"title":"Product Types","icon":"layer-group","href":"/en/docs/productos/tipos-de-producto"},{"title":"Categories and Brands","icon":"tags","href":"/en/docs/productos/categorias-marcas"},{"title":"Taxes on Products","icon":"percent","href":"/en/docs/productos/impuestos"},{"title":"Price Lists","icon":"tags","href":"/en/docs/productos/listas-precios"}]},{"group":"Inventory","pages":[{"title":"Movements Report","icon":"arrow-right-arrow-left","href":"/en/docs/inventario/movimientos"},{"title":"Inventory Adjustments","icon":"sliders","href":"/en/docs/inventario/ajustes"},{"title":"Batches and Expiration Alerts","icon":"triangle-exclamation","href":"/en/docs/inventario/lotes"},{"title":"Transfers Between Branches","icon":"building-circle-arrow-right","href":"/en/docs/inventario/transferencias"},{"title":"Production","icon":"industry","href":"/en/docs/inventario/produccion"},{"title":"Inventory Tools","icon":"screwdriver-wrench","href":"/en/docs/inventario/herramientas"}]},{"group":"Cash \u0026 POS","pages":[{"title":"Cash Register","icon":"vault","href":"/en/docs/caja/caja-registradora"},{"title":"Point of Sale (POS)","icon":"cash-register","href":"/en/docs/caja/punto-de-venta"},{"title":"Points of sale","icon":"store","href":"/en/docs/caja/puntos-de-venta"}]},{"group":"Finance","pages":[{"title":"Accounts Receivable","icon":"hand-holding-dollar","href":"/en/docs/finanzas/cuentas-cobrar"},{"title":"Accounts Payable","icon":"money-bill-transfer","href":"/en/docs/finanzas/cuentas-pagar"},{"title":"Banks","icon":"building-columns","href":"/en/docs/finanzas/bancos"},{"title":"Petty Cash","icon":"piggy-bank","href":"/en/docs/finanzas/caja-chica"}]},{"group":"Accounting","pages":[{"title":"Accounting Settings","icon":"gear","href":"/en/docs/contabilidad/configuracion"},{"title":"Chart of Accounts","icon":"sitemap","href":"/en/docs/contabilidad/plan-cuentas"},{"title":"Journal Entries","icon":"book-open","href":"/en/docs/contabilidad/partidas"},{"title":"Cost Centers","icon":"sitemap","href":"/en/docs/contabilidad/centros-de-costo"},{"title":"Budgets","icon":"chart-pie","href":"/en/docs/contabilidad/presupuestos"},{"title":"Process Documents","icon":"wand-magic-sparkles","href":"/en/docs/contabilidad/procesar-documentos"},{"title":"Accounting Periods","icon":"calendar-days","href":"/en/docs/contabilidad/periodos"},{"title":"Accounting Reports","icon":"chart-bar","href":"/en/docs/contabilidad/reportes"},{"title":"Fixed Assets","icon":"computer","href":"/en/docs/contabilidad/activos-fijos"},{"title":"Accounting Consolidation","icon":"layer-group","href":"/en/docs/contabilidad/consolidacion"}]},{"group":"Human Resources","pages":[{"title":"Employees","icon":"id-card","href":"/en/docs/rrhh/empleados"},{"title":"Job Titles","icon":"briefcase","href":"/en/docs/rrhh/puestos"},{"title":"Organizational Chart","icon":"sitemap","href":"/en/docs/rrhh/organigrama"},{"title":"Attendance","icon":"clock","href":"/en/docs/rrhh/asistencia"},{"title":"Time clock","icon":"fingerprint","href":"/en/docs/rrhh/marcaje"},{"title":"Schedules","icon":"calendar-days","href":"/en/docs/rrhh/horarios"},{"title":"Holidays and days off","icon":"umbrella-beach","href":"/en/docs/rrhh/feriados"},{"title":"Labor rules","icon":"scale-balanced","href":"/en/docs/rrhh/reglas-laborales"},{"title":"Schedule compliance","icon":"clipboard-check","href":"/en/docs/rrhh/cumplimiento"},{"title":"Leave and Vacation","icon":"calendar-check","href":"/en/docs/rrhh/permisos"},{"title":"Payrolls","icon":"money-check-dollar","href":"/en/docs/rrhh/nominas"},{"title":"Payroll Policies","icon":"file-contract","href":"/en/docs/rrhh/politicas"},{"title":"Tax Tables","icon":"table-list","href":"/en/docs/rrhh/tablas-impuestos"},{"title":"Employee Loans","icon":"hand-holding-dollar","href":"/en/docs/rrhh/prestamos"},{"title":"Aguinaldo","icon":"gift","href":"/en/docs/rrhh/aguinaldo"},{"title":"Terminations","icon":"file-signature","href":"/en/docs/rrhh/finiquitos"},{"title":"Contract Templates","icon":"file-lines","href":"/en/docs/rrhh/contratos"}]},{"group":"Business Management","pages":[{"title":"Projects","icon":"diagram-project","href":"/en/docs/gestion/proyectos"},{"title":"Work Orders","icon":"screwdriver-wrench","href":"/en/docs/gestion/ordenes-trabajo"},{"title":"Appointments","icon":"calendar-check","href":"/en/docs/gestion/citas"},{"title":"Business Intelligence","icon":"chart-mixed","href":"/en/docs/gestion/bi"},{"title":"Traceability","icon":"diagram-project","href":"/en/docs/gestion/trazabilidad"},{"title":"External Integrations","icon":"plug","href":"/en/docs/gestion/integraciones"}]},{"group":"System","pages":[{"title":"Users","icon":"users-gear","href":"/en/docs/sistema/usuarios"},{"title":"Branch Settings","icon":"gear","href":"/en/docs/sistema/configuracion"},{"title":"Multi-currency","icon":"coins","href":"/en/docs/sistema/multi-moneda"},{"title":"User preferences","icon":"palette","href":"/en/docs/sistema/preferencias"},{"title":"Home AI Agent","icon":"wand-magic-sparkles","href":"/en/docs/sistema/agente-ia"},{"title":"AI Assistant","icon":"robot","href":"/en/docs/sistema/asistente-ia"},{"title":"Subscription","icon":"id-badge","href":"/en/docs/sistema/suscripcion"},{"title":"Audit","icon":"shield-check","href":"/en/docs/sistema/auditoria"},{"title":"Support","icon":"life-ring","href":"/en/docs/sistema/soporte"}]}]}]},{"tab":"Mobile App","pages":[{"title":"Mobile App","href":"/en/docs/app/introduccion"}]},{"tab":"External API","groups":[{"group":"Getting Started","pages":[{"title":"API Introduction","icon":"code","href":"/en/docs/api/introduccion"}]},{"group":"API v2","pages":[{"title":"API v2: what changes","icon":"code-branch","href":"/en/docs/api/v2/introduccion"},{"title":"Currencies and exchange rates (v2)","icon":"coins","href":"/en/docs/api/v2/monedas-y-tasas"},{"title":"Countries and capabilities (v2)","icon":"earth-americas","href":"/en/docs/api/v2/paises"},{"title":"Sales (v2)","icon":"file-invoice-dollar","href":"/en/docs/api/v2/ventas"},{"title":"Purchases and expenses (v2)","icon":"cart-shopping","href":"/en/docs/api/v2/compras"},{"title":"Payrolls (v2)","icon":"money-check-dollar","href":"/en/docs/api/v2/planillas"}]},{"group":"Billing","pages":[{"title":"Sales","icon":"file-invoice-dollar","href":"/en/docs/api/facturacion/ventas"},{"title":"Purchases and expenses","icon":"cart-shopping","href":"/en/docs/api/facturacion/compras"},{"title":"Customers","icon":"users","href":"/en/docs/api/facturacion/clientes"},{"title":"Providers","icon":"truck","href":"/en/docs/api/facturacion/proveedores"},{"title":"Products","icon":"box","href":"/en/docs/api/facturacion/productos"},{"title":"Catalogs","icon":"list","href":"/en/docs/api/facturacion/catalogos"},{"title":"Branches and points of sale","icon":"store","href":"/en/docs/api/puntos-de-venta"}]},{"group":"Human Resources","pages":[{"title":"Employees","icon":"id-card","href":"/en/docs/api/rrhh/empleados"},{"title":"Attendance","icon":"fingerprint","href":"/en/docs/api/rrhh/asistencia"},{"title":"Labor rules","icon":"scale-balanced","href":"/en/docs/api/rrhh/reglas-laborales"},{"title":"Schedules","icon":"calendar-days","href":"/en/docs/api/rrhh/horarios"},{"title":"Holidays","icon":"umbrella-beach","href":"/en/docs/api/rrhh/feriados"},{"title":"Attendance results","icon":"clipboard-check","href":"/en/docs/api/rrhh/resultados-asistencia"},{"title":"Leave and vacation","icon":"calendar-check","href":"/en/docs/api/rrhh/permisos"},{"title":"Payrolls","icon":"money-check-dollar","href":"/en/docs/api/rrhh/planillas"}]},{"group":"Accounting","pages":[{"title":"Chart of accounts and periods","icon":"sitemap","href":"/en/docs/api/contabilidad/catalogo"},{"title":"Journal entries","icon":"book","href":"/en/docs/api/contabilidad/partidas"},{"title":"Cost centers","icon":"sitemap","href":"/en/docs/api/contabilidad/centros-de-costo"},{"title":"Budgets","icon":"chart-pie","href":"/en/docs/api/contabilidad/presupuestos"},{"title":"Financial statements","icon":"chart-line","href":"/en/docs/api/contabilidad/reportes"}]},{"group":"Inventory","pages":[{"title":"Inventory","icon":"boxes-stacked","href":"/en/docs/api/inventario"}]},{"group":"Projects","pages":[{"title":"Projects","icon":"diagram-project","href":"/en/docs/api/proyectos"}]},{"group":"Receivables \u0026 Payables","pages":[{"title":"Accounts receivable","icon":"hand-holding-dollar","href":"/en/docs/api/cuentas-por-cobrar"},{"title":"Accounts payable","icon":"file-invoice-dollar","href":"/en/docs/api/cuentas-por-pagar"},{"title":"Banks, petty cash funds and checkbooks","icon":"building-columns","href":"/en/docs/api/tesoreria"},{"title":"Create and edit banks, petty cash funds and checkbooks","icon":"vault","href":"/en/docs/api/tesoreria-alta"}]},{"group":"Pricing \u0026 Promotions","pages":[{"title":"Prices and promotions","icon":"tags","href":"/en/docs/api/precios-promociones"}]},{"group":"Cash","pages":[{"title":"Cash register","icon":"cash-register","href":"/en/docs/api/caja"}]},{"group":"Interactive reference","pages":[{"group":"General","pages":[{"title":"List branches","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /branches","href":"/en/api-reference/general/list-branches"}]},{"group":"Billing · Sales","pages":[{"title":"List sales","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /sales","href":"/en/api-reference/billing-·-sales/list-sales"},{"title":"Create sale (DTE)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json post /sales","href":"/en/api-reference/billing-·-sales/create-sale-dte"},{"title":"Get sale","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /sales/{id}","href":"/en/api-reference/billing-·-sales/get-sale"}]},{"group":"Billing · Purchases","pages":[{"title":"Register purchase","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json post /expenses","href":"/en/api-reference/billing-·-purchases/register-purchase"},{"title":"Get purchase","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /expenses/{id}","href":"/en/api-reference/billing-·-purchases/get-purchase"}]},{"group":"Billing · Customers","pages":[{"title":"Create customer","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json post /customers","href":"/en/api-reference/billing-·-customers/create-customer"},{"title":"Get customer","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /customers/{id}","href":"/en/api-reference/billing-·-customers/get-customer"},{"title":"List customers of a branch","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /customers/branch/{id}","href":"/en/api-reference/billing-·-customers/list-customers-of-a-branch"}]},{"group":"Billing · Suppliers","pages":[{"title":"Create supplier","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json post /providers","href":"/en/api-reference/billing-·-suppliers/create-supplier"},{"title":"List suppliers of a branch","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /providers/branch/{id}","href":"/en/api-reference/billing-·-suppliers/list-suppliers-of-a-branch"}]},{"group":"Catalogs","pages":[{"title":"Taxes of a branch","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /taxes/branch/{id}","href":"/en/api-reference/catalogs/taxes-of-a-branch"},{"title":"List countries","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /countries","href":"/en/api-reference/catalogs/list-countries"},{"title":"List departments","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /states","href":"/en/api-reference/catalogs/list-departments"},{"title":"List municipalities","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /cities","href":"/en/api-reference/catalogs/list-municipalities"},{"title":"List economic activities","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /activities","href":"/en/api-reference/catalogs/list-economic-activities"},{"title":"List product categories","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /product-categories","href":"/en/api-reference/catalogs/list-product-categories"},{"title":"List units of measure","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /product-measurements","href":"/en/api-reference/catalogs/list-units-of-measure"},{"title":"List payment methods","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /payment-methods","href":"/en/api-reference/catalogs/list-payment-methods"},{"title":"List incoterms","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /incoterms","href":"/en/api-reference/catalogs/list-incoterms"},{"title":"Get country","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /countries/{id}","href":"/en/api-reference/catalogs/get-country"},{"title":"Get department","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /states/{id}","href":"/en/api-reference/catalogs/get-department"},{"title":"Get municipality","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /cities/{id}","href":"/en/api-reference/catalogs/get-municipality"},{"title":"Get activity","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /activities/{id}","href":"/en/api-reference/catalogs/get-activity"},{"title":"Get category","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /product-categories/{id}","href":"/en/api-reference/catalogs/get-category"},{"title":"Get unit of measure","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /product-measurements/{id}","href":"/en/api-reference/catalogs/get-unit-of-measure"},{"title":"Departments of a country","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /states/country/{id}","href":"/en/api-reference/catalogs/departments-of-a-country"},{"title":"Municipalities of a department","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /cities/state/{id}","href":"/en/api-reference/catalogs/municipalities-of-a-department"}]},{"group":"Billing · Products","pages":[{"title":"Create product","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json post /products","href":"/en/api-reference/billing-·-products/create-product"},{"title":"Get product","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /products/{id}","href":"/en/api-reference/billing-·-products/get-product"},{"title":"Update product","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json put /products/{id}","href":"/en/api-reference/billing-·-products/update-product"},{"title":"Delete product","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json delete /products/{id}","href":"/en/api-reference/billing-·-products/delete-product"},{"title":"List products of a branch","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /products/branch/{id}","href":"/en/api-reference/billing-·-products/list-products-of-a-branch"}]},{"group":"HR · Employees","pages":[{"title":"List employees","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /hr/employees","href":"/en/api-reference/hr-·-employees/list-employees"},{"title":"Create employee","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json post /hr/employees","href":"/en/api-reference/hr-·-employees/create-employee"},{"title":"Get employee","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /hr/employees/{id}","href":"/en/api-reference/hr-·-employees/get-employee"},{"title":"Update employee","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json put /hr/employees/{id}","href":"/en/api-reference/hr-·-employees/update-employee"},{"title":"List job titles","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /hr/job-titles","href":"/en/api-reference/hr-·-employees/list-job-titles"}]},{"group":"HR · Attendance","pages":[{"title":"Get attendance","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /hr/attendances","href":"/en/api-reference/hr-·-attendance/get-attendance"},{"title":"Submit clock-in/out records","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json post /hr/attendances","href":"/en/api-reference/hr-·-attendance/submit-clock-inout-records"}]},{"group":"HR · Leave requests","pages":[{"title":"Get requests","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /hr/leave-requests","href":"/en/api-reference/hr-·-leave-requests/get-requests"},{"title":"Create request","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json post /hr/leave-requests","href":"/en/api-reference/hr-·-leave-requests/create-request"}]},{"group":"HR · Payrolls","pages":[{"title":"List payrolls","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /hr/payrolls","href":"/en/api-reference/hr-·-payrolls/list-payrolls"},{"title":"Payroll detail","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /hr/payrolls/{id}","href":"/en/api-reference/hr-·-payrolls/payroll-detail"},{"title":"Assign cost center to a payroll","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json put /hr/payrolls/{id}/cost-center","href":"/en/api-reference/hr-·-payrolls/assign-cost-center-to-a-payroll"}]},{"group":"Accounting","pages":[{"title":"Chart of accounts","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /accounting/accounts","href":"/en/api-reference/accounting/chart-of-accounts"},{"title":"Accounting periods","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /accounting/periods","href":"/en/api-reference/accounting/accounting-periods"},{"title":"List journal entries","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /accounting/journal-entries","href":"/en/api-reference/accounting/list-journal-entries"},{"title":"Create journal entry (draft)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json post /accounting/journal-entries","href":"/en/api-reference/accounting/create-journal-entry-draft"},{"title":"Get journal entry","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /accounting/journal-entries/{id}","href":"/en/api-reference/accounting/get-journal-entry"},{"title":"Trial balance","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /accounting/reports/trial-balance","href":"/en/api-reference/accounting/trial-balance"},{"title":"Income statement","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /accounting/reports/income-statement","href":"/en/api-reference/accounting/income-statement"},{"title":"Balance sheet","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /accounting/reports/balance-sheet","href":"/en/api-reference/accounting/balance-sheet"},{"title":"List cost centers","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /accounting/cost-centers","href":"/en/api-reference/accounting/list-cost-centers"},{"title":"Create cost center","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json post /accounting/cost-centers","href":"/en/api-reference/accounting/create-cost-center"},{"title":"Get cost center","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /accounting/cost-centers/{id}","href":"/en/api-reference/accounting/get-cost-center"},{"title":"Edit cost center","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json put /accounting/cost-centers/{id}","href":"/en/api-reference/accounting/edit-cost-center"},{"title":"Delete cost center","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json delete /accounting/cost-centers/{id}","href":"/en/api-reference/accounting/delete-cost-center"},{"title":"List journal entry types","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /accounting/entry-types","href":"/en/api-reference/accounting/list-journal-entry-types"},{"title":"Create journal entry type","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json post /accounting/entry-types","href":"/en/api-reference/accounting/create-journal-entry-type"},{"title":"Get journal entry type","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /accounting/entry-types/{id}","href":"/en/api-reference/accounting/get-journal-entry-type"},{"title":"Edit journal entry type","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json put /accounting/entry-types/{id}","href":"/en/api-reference/accounting/edit-journal-entry-type"},{"title":"Delete journal entry type","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json delete /accounting/entry-types/{id}","href":"/en/api-reference/accounting/delete-journal-entry-type"},{"title":"Income statement by cost center","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /accounting/reports/income-statement-by-cost-center","href":"/en/api-reference/accounting/income-statement-by-cost-center"},{"title":"Movements without a cost center","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /accounting/reports/movements-without-cost-center","href":"/en/api-reference/accounting/movements-without-a-cost-center"},{"title":"List distributions","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /accounting/cost-center-distributions","href":"/en/api-reference/accounting/list-distributions"},{"title":"Create distribution","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json post /accounting/cost-center-distributions","href":"/en/api-reference/accounting/create-distribution"},{"title":"Get distribution","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /accounting/cost-center-distributions/{id}","href":"/en/api-reference/accounting/get-distribution"},{"title":"Edit distribution","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json put /accounting/cost-center-distributions/{id}","href":"/en/api-reference/accounting/edit-distribution"},{"title":"Delete distribution","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json delete /accounting/cost-center-distributions/{id}","href":"/en/api-reference/accounting/delete-distribution"},{"title":"List budgets","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /accounting/budgets","href":"/en/api-reference/accounting/list-budgets"},{"title":"Create budget","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json post /accounting/budgets","href":"/en/api-reference/accounting/create-budget"},{"title":"Get budget","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /accounting/budgets/{id}","href":"/en/api-reference/accounting/get-budget"},{"title":"Edit budget","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json put /accounting/budgets/{id}","href":"/en/api-reference/accounting/edit-budget"},{"title":"Delete budget","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json delete /accounting/budgets/{id}","href":"/en/api-reference/accounting/delete-budget"},{"title":"Save budget lines","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json put /accounting/budgets/{id}/lines","href":"/en/api-reference/accounting/save-budget-lines"},{"title":"Change budget status","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json post /accounting/budgets/{id}/status","href":"/en/api-reference/accounting/change-budget-status"},{"title":"Budget vs actual","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /accounting/reports/budget-vs-actual","href":"/en/api-reference/accounting/budget-vs-actual"}]},{"group":"HR · Labor rules","pages":[{"title":"List company rules","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /hr/labor-rules","href":"/en/api-reference/hr-·-labor-rules/list-company-rules"},{"title":"Create rules","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json post /hr/labor-rules","href":"/en/api-reference/hr-·-labor-rules/create-rules"},{"title":"List templates by country","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /hr/labor-rules/templates","href":"/en/api-reference/hr-·-labor-rules/list-templates-by-country"},{"title":"Rules in force on a date","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /hr/labor-rules/effective","href":"/en/api-reference/hr-·-labor-rules/rules-in-force-on-a-date"},{"title":"Copy from template","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json post /hr/labor-rules/from-template","href":"/en/api-reference/hr-·-labor-rules/copy-from-template"},{"title":"Edit rules","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json put /hr/labor-rules/{id}","href":"/en/api-reference/hr-·-labor-rules/edit-rules"}]},{"group":"HR · Schedules","pages":[{"title":"List schedules","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /hr/work-schedules","href":"/en/api-reference/hr-·-schedules/list-schedules"},{"title":"Create schedule","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json post /hr/work-schedules","href":"/en/api-reference/hr-·-schedules/create-schedule"},{"title":"Get schedule","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /hr/work-schedules/{id}","href":"/en/api-reference/hr-·-schedules/get-schedule"},{"title":"Edit schedule","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json put /hr/work-schedules/{id}","href":"/en/api-reference/hr-·-schedules/edit-schedule"},{"title":"Delete schedule","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json delete /hr/work-schedules/{id}","href":"/en/api-reference/hr-·-schedules/delete-schedule"},{"title":"Get assignments","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /hr/schedule-assignments","href":"/en/api-reference/hr-·-schedules/get-assignments"},{"title":"Bulk assign schedule","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json post /hr/schedule-assignments","href":"/en/api-reference/hr-·-schedules/bulk-assign-schedule"},{"title":"Delete assignment","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json delete /hr/schedule-assignments/{id}","href":"/en/api-reference/hr-·-schedules/delete-assignment"}]},{"group":"HR · Holidays","pages":[{"title":"List holidays","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /hr/holidays","href":"/en/api-reference/hr-·-holidays/list-holidays"},{"title":"Create company day off","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json post /hr/holidays","href":"/en/api-reference/hr-·-holidays/create-company-day-off"},{"title":"Edit company day off","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json put /hr/holidays/{id}","href":"/en/api-reference/hr-·-holidays/edit-company-day-off"},{"title":"Delete day off or exclusion","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json delete /hr/holidays/{id}","href":"/en/api-reference/hr-·-holidays/delete-day-off-or-exclusion"},{"title":"Exclude country holiday","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json post /hr/holidays/{id}/exclude","href":"/en/api-reference/hr-·-holidays/exclude-country-holiday"}]},{"group":"HR · Attendance results","pages":[{"title":"Daily results","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /hr/attendance-results","href":"/en/api-reference/hr-·-attendance-results/daily-results"},{"title":"Summary by employee","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /hr/attendance-results/summary","href":"/en/api-reference/hr-·-attendance-results/summary-by-employee"},{"title":"List overtime approvals","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /hr/overtime-approvals","href":"/en/api-reference/hr-·-attendance-results/list-overtime-approvals"},{"title":"Decide overtime for a day","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json post /hr/overtime-approvals/{id}/decide","href":"/en/api-reference/hr-·-attendance-results/decide-overtime-for-a-day"},{"title":"Decide overtime in bulk","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json post /hr/overtime-approvals/bulk","href":"/en/api-reference/hr-·-attendance-results/decide-overtime-in-bulk"}]},{"group":"Inventory","pages":[{"title":"Stock","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /inventory/stock","href":"/en/api-reference/inventory/stock"},{"title":"Inventory movements","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /inventory/movements","href":"/en/api-reference/inventory/inventory-movements"},{"title":"Register adjustment","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json post /inventory/adjustments","href":"/en/api-reference/inventory/register-adjustment"},{"title":"Batches","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /inventory/batches","href":"/en/api-reference/inventory/batches"},{"title":"Inventory alerts","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /inventory/alerts","href":"/en/api-reference/inventory/inventory-alerts"},{"title":"List transfers","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /inventory/transfers","href":"/en/api-reference/inventory/list-transfers"},{"title":"Create transfer","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json post /inventory/transfers","href":"/en/api-reference/inventory/create-transfer"},{"title":"Get transfer","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /inventory/transfers/{id}","href":"/en/api-reference/inventory/get-transfer"},{"title":"Complete transfer","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json post /inventory/transfers/{id}/complete","href":"/en/api-reference/inventory/complete-transfer"},{"title":"Cancel transfer","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json post /inventory/transfers/{id}/cancel","href":"/en/api-reference/inventory/cancel-transfer"}]},{"group":"Projects","pages":[{"title":"List projects","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /projects","href":"/en/api-reference/projects/list-projects"},{"title":"Create project","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json post /projects","href":"/en/api-reference/projects/create-project"},{"title":"Get project","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /projects/{id}","href":"/en/api-reference/projects/get-project"},{"title":"Update project","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json put /projects/{id}","href":"/en/api-reference/projects/update-project"},{"title":"Link documents","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json post /projects/{id}/items","href":"/en/api-reference/projects/link-documents"}]},{"group":"Accounts receivable","pages":[{"title":"List pending invoices","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /receivables","href":"/en/api-reference/accounts-receivable/list-pending-invoices"},{"title":"Current / overdue summary","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /receivables/summary","href":"/en/api-reference/accounts-receivable/current-overdue-summary"},{"title":"Collections history","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /receivables/{saleId}/payments","href":"/en/api-reference/accounts-receivable/collections-history"},{"title":"Register collection","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json post /receivables/payments","href":"/en/api-reference/accounts-receivable/register-collection"},{"title":"Reverse collection","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json post /receivables/payments/{paymentId}/reverse","href":"/en/api-reference/accounts-receivable/reverse-collection"}]},{"group":"Accounts payable","pages":[{"title":"List pending purchases","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /payables","href":"/en/api-reference/accounts-payable/list-pending-purchases"},{"title":"Current / overdue summary","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /payables/summary","href":"/en/api-reference/accounts-payable/current-overdue-summary"},{"title":"Payments history","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /payables/{expenseId}/payments","href":"/en/api-reference/accounts-payable/payments-history"},{"title":"Register payment","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json post /payables/payments","href":"/en/api-reference/accounts-payable/register-payment"},{"title":"Reverse payment","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json post /payables/payments/{paymentId}/reverse","href":"/en/api-reference/accounts-payable/reverse-payment"}]},{"group":"Treasury","pages":[{"title":"List banks","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /treasury/banks","href":"/en/api-reference/treasury/list-banks"},{"title":"Create bank","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json post /treasury/banks","href":"/en/api-reference/treasury/create-bank"},{"title":"List petty cash funds","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /treasury/petty-cashes","href":"/en/api-reference/treasury/list-petty-cash-funds"},{"title":"Create petty cash fund","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json post /treasury/petty-cashes","href":"/en/api-reference/treasury/create-petty-cash-fund"},{"title":"List checkbooks","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /treasury/checkbooks","href":"/en/api-reference/treasury/list-checkbooks"},{"title":"Create checkbook","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json post /treasury/checkbooks","href":"/en/api-reference/treasury/create-checkbook"},{"title":"Edit bank","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json put /treasury/banks/{id}","href":"/en/api-reference/treasury/edit-bank"},{"title":"Edit petty cash fund","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json put /treasury/petty-cashes/{id}","href":"/en/api-reference/treasury/edit-petty-cash-fund"},{"title":"Edit checkbook","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json put /treasury/checkbooks/{id}","href":"/en/api-reference/treasury/edit-checkbook"}]},{"group":"Pricing and promotions","pages":[{"title":"List price lists","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /pricing/price-lists","href":"/en/api-reference/pricing-and-promotions/list-price-lists"},{"title":"Prices of a list","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /pricing/price-lists/{id}/prices","href":"/en/api-reference/pricing-and-promotions/prices-of-a-list"},{"title":"Sync prices","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json put /pricing/price-lists/{id}/prices","href":"/en/api-reference/pricing-and-promotions/sync-prices"},{"title":"List promotions","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /pricing/promotions","href":"/en/api-reference/pricing-and-promotions/list-promotions"},{"title":"Evaluate promotions","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json post /pricing/promotions/evaluate","href":"/en/api-reference/pricing-and-promotions/evaluate-promotions"}]},{"group":"Cash","pages":[{"title":"List cash register closings","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /cash-registers","href":"/en/api-reference/cash/list-cash-register-closings"},{"title":"Open cash register","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /cash-registers/current","href":"/en/api-reference/cash/open-cash-register"},{"title":"Get cash register","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /cash-registers/{id}","href":"/en/api-reference/cash/get-cash-register"},{"title":"Open cash register","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json post /cash-registers/open","href":"/en/api-reference/cash/open-cash-register-1"},{"title":"Register movement","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json post /cash-registers/{id}/movements","href":"/en/api-reference/cash/register-movement"},{"title":"Close cash register","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json post /cash-registers/{id}/close","href":"/en/api-reference/cash/close-cash-register"}]},{"group":"Points of sale","pages":[{"title":"Create point of sale","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json post /branches/{id}/points-of-sale","href":"/en/api-reference/points-of-sale/create-point-of-sale"},{"title":"Edit point of sale","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json put /points-of-sale/{id}","href":"/en/api-reference/points-of-sale/edit-point-of-sale"}]},{"group":"API v2 · General","pages":[{"title":"Check the connection (v2)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /v2/health","href":"/en/api-reference/api-v2-·-general/check-the-connection-v2"}]},{"group":"API v2 · Currencies and rates","pages":[{"title":"List currencies","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /v2/currencies","href":"/en/api-reference/api-v2-·-currencies-and-rates/list-currencies"},{"title":"List exchange rates","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /v2/exchange-rates","href":"/en/api-reference/api-v2-·-currencies-and-rates/list-exchange-rates"},{"title":"Resolve the rate for a document","description":"The rate that would be applied to a document for the given branch, currency and date: the rate for that day or the latest earlier one (a branch rate takes priority over the general one). `exact` is false if an earlier date was used.\n\n**Required permission:** `currencies`","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /v2/exchange-rates/resolve","href":"/en/api-reference/api-v2-·-currencies-and-rates/resolve-the-rate-for-a-document"}]},{"group":"API v2 · Sales","pages":[{"title":"Create sale (v2)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json post /v2/sales","href":"/en/api-reference/api-v2-·-sales/create-sale-v2"},{"title":"Get sale (v2)","description":"Same as v1 plus the currency reference. Amounts in `totals` and `products` are in base currency.\n\n**Required permission:** `sales`","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /v2/sales/{id}","href":"/en/api-reference/api-v2-·-sales/get-sale-v2"}]},{"group":"API v2 · Purchases","pages":[{"title":"Register purchase (v2)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json post /v2/expenses","href":"/en/api-reference/api-v2-·-purchases/register-purchase-v2"},{"title":"Get purchase (v2)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /v2/expenses/{id}","href":"/en/api-reference/api-v2-·-purchases/get-purchase-v2"}]},{"group":"API v2 · Countries","pages":[{"title":"Capabilities and catalogs of a country","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /v2/countries/{code}","href":"/en/api-reference/api-v2-·-countries/capabilities-and-catalogs-of-a-country"}]},{"group":"API v2 · Payrolls","pages":[{"title":"List payrolls (v2)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /v2/hr/payrolls","href":"/en/api-reference/api-v2-·-payrolls/list-payrolls-v2"},{"title":"Get payroll (v2)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json get /v2/hr/payrolls/{id}","href":"/en/api-reference/api-v2-·-payrolls/get-payroll-v2"},{"title":"Assign branch to a payroll (v2)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.json put /v2/hr/payrolls/{id}/branch","href":"/en/api-reference/api-v2-·-payrolls/assign-branch-to-a-payroll-v2"}]}]}]}]}]},"basePath":"","title":"Create sale (v2) - FileXpress","buildId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","deploymentId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","dynamics":["10e4515597","c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["BannerMarkdown-CX_qQQOL.js","dist-BTZUMDnx.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","clsx-xpJZXxdP.js","html-void-elements-mCSPHezU.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","OpenApiReferenceProvider-CS552b7R.js","utils-DDTCYAF2.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-De8ttokP.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DrwRDvAh.js","snippetPresets-DtAN0nWx.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-D5rWArI6.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-O2i12wsz.js","shallow-DV8xABTt.js","getApiPlaygroundDisplay-DBZ0B5Jx.js","CodeSnippet-BVi0tPUX.js","CodeSnippets-CqASbIwY.js","Page-m07pfKpT.js","getPastedJson-DG9vsMS8.js","icon-CXzRSCr8.js","MethodPill-BdKVtEuX.js","DuplicateIcon-CZlmBrJI.js","createIcon-biFEUKPL.js","DynamicMarkdown-B54_zNBF.js","SectionHeading-DwwHK3Pt.js","axios-vUo_bRtp.js","Markdown-DfhCTwyA.js","AssistantPageLink-DqdKa2R4.js"]}