Generate the signature by creating an SHA256-HMAC hash from the plain signature above, using the signature_secret as the key. Then, Base64-encode the resulting hash and place the final value in the A-Signature header.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Accounting+","description":"Panduan lengkap dan dokumentasi API untuk Accounting+ - Software akuntansi berbasis cloud dengan AI Personal Assistant untuk kemudahan pengelolaan keuangan bisnis Anda.","colors":{"primary":"#03a9fc","light":"#0799c9","dark":"#1871a1"},"logo":{"light":"https://mintcdn.com/accounting-9f6a0801/FK4mprgdTVI9URfw/logo/light.svg?fit=max\u0026auto=format\u0026n=FK4mprgdTVI9URfw\u0026q=85\u0026s=9b14f677aabb7fd30addbfef54bddfba","dark":"https://mintcdn.com/accounting-9f6a0801/FK4mprgdTVI9URfw/logo/dark.svg?fit=max\u0026auto=format\u0026n=FK4mprgdTVI9URfw\u0026q=85\u0026s=991841f1b9124c1216f042dff90b6a32"},"favicon":"/favicon.ico","navbar":{"links":[{"href":"https://runsystem.id","label":"RUN System"}],"primary":{"type":"button","label":"App","href":"https://app.accountingplus.id"}},"footer":{"socials":{"instagram":"https://www.instagram.com/runsystemid","github":"https://github.com/runsystemid","linkedin":"https://linkedin.com/company/runsystemid"}},"seo":{},"integrations":{"posthog":{"apiKey":"phc_N4jCDHEo5RgNjMYce2sw5YSu5QULmBkQWMro715zwE5","apiHost":"https://us.i.posthog.com"}},"metadata":{"timestamp":false},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Landing Page","icon":"house","href":"https://accountingplus.id"},{"anchor":"Video Tutorial","icon":"youtube","href":"https://www.youtube.com/playlist?list=PL-j9u6T81UtBaNtIT0_rYc461movwRGvY\u0026utm_source=docs.accountingplus.id"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"accounting-9f6a0801","hasAudioNarration":false,"actualSubdomain":"accounting-9f6a0801","customDomains":["docs.accountingplus.id"],"gitSource":{"type":"github","owner":"runsystemid","repo":"acc-documentation","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae92a74fdb35cf962aa3512:success","clientVersion":"0.0.4102","searchFilterCounts":[{"language":"default","tag":"Documentation","count":50},{"language":"default","tag":"Panduan Pengguna","count":46},{"language":"default","tag":"API Reference","count":13},{"language":"default","tag":"Koperasi","count":8},{"language":"default","tag":"Penjualan","count":8},{"language":"default","tag":"Data Umum","count":7},{"language":"default","tag":"Akuntansi","count":6},{"language":"default","tag":"Pembelian","count":6},{"language":"default","tag":"Pengenalan","count":4},{"language":"default","tag":"Aset","count":3}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/endpoint/sales-invoice-create","slug":"/api-reference/endpoint/sales-invoice-create","pageMetadata":{"title":"Create Sales Invoice","openapi":"POST /v1/sales-invoices","description":"Create a new sales invoice","href":"/api-reference/endpoint/sales-invoice-create","hidden":false},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Create a new sales invoice\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);return _jsx(CodeBlock,{filename:`Plain Signature`,wrap:`true`,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`path=/v1/sales-invoices\u0026token=YOUR_TOKEN\u0026email=john@gmail.com\u0026tenant_id=841eaf97-c428-47d1-9f6d-c61cc9df7bee`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create Sales Invoice","openapi":"POST /v1/sales-invoices","description":"Create a new sales invoice","href":"/api-reference/endpoint/sales-invoice-create","hidden":false}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Sales Invoices"],"summary":"Create Sales Invoice","description":"Create a new sales invoice","requestBody":"fa824e68-c6eb-4400-9c85-52444a7d1765","responses":{"200":"bac9f8a8-a885-4b6b-b715-99a5852190c1","400":"2451afd5-ca04-4f1a-8dc2-01b7b732be37"},"method":"post","type":"path","servers":["dd76f1b5-31b0-42c5-9cf0-5883d87eafdb"],"security":["51d3327d-6724-46a3-8d17-0b32e6069e72"],"path":"/v1/sales-invoices","baseUrlOptions":["https://staging-openapi.accountingplus.id"],"title":"Create Sales Invoice","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"description":"Sales invoice details","required":true,"content":{"application/json":{"schema":{"type":"object","required":["customer_name","document_date","items"],"properties":{"customer_name":{"type":"string","example":"Mira Ramadhani","isRequired":true,"uniqueKey":"customer_name","typeLabel":"string"},"document_date":{"type":"string","format":"date-time","example":"20/08/2025","isRequired":true,"uniqueKey":"document_date","typeLabel":"string\u003cdate-time>"},"items":{"type":"array","items":{"type":"object","properties":{"item_code":{"type":"string","uniqueKey":"\\items.items.[INDEX].item_code","typeLabel":"string"},"item_name":{"type":"string","uniqueKey":"\\items.items.[INDEX].item_name","typeLabel":"string"},"quantity":{"type":"number","uniqueKey":"\\items.items.[INDEX].quantity","typeLabel":"number"},"unit_of_measurement":{"type":"string","uniqueKey":"\\items.items.[INDEX].unit_of_measurement","typeLabel":"string"},"unit_price":{"type":"number","uniqueKey":"\\items.items.[INDEX].unit_price","typeLabel":"number"},"discount_amount":{"type":"number","uniqueKey":"\\items.items.[INDEX].discount_amount","typeLabel":"number"},"tax_code":{"type":"string","uniqueKey":"\\items.items.[INDEX].tax_code","typeLabel":"string"}},"uniqueKey":"\\items.items.[INDEX]","typeLabel":"object"},"example":[{"item_code":"ITM00001","item_name":"Product A","quantity":2,"unit_of_measurement":"pcs","unit_price":3000,"discount_amount":0,"tax_code":""},{"item_code":"ITM00002","item_name":"Product B","quantity":5,"unit_of_measurement":"pcs","unit_price":1500,"discount_amount":0,"tax_code":""}],"isRequired":true,"uniqueKey":"\\items","typeLabel":"object[]"},"auto_create_payment":{"type":"boolean","example":true,"uniqueKey":"auto_create_payment","typeLabel":"boolean"},"other_amount":{"type":"number","example":0,"uniqueKey":"other_amount","typeLabel":"number"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"customer_name":"Mira Ramadhani","document_date":"20/08/2025","items":[{"item_code":"ITM00001","item_name":"Product A","quantity":2,"unit_of_measurement":"pcs","unit_price":3000,"discount_amount":0,"tax_code":""},{"item_code":"ITM00002","item_name":"Product B","quantity":5,"unit_of_measurement":"pcs","unit_price":1500,"discount_amount":0,"tax_code":""}],"auto_create_payment":true,"other_amount":0}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"bac9f8a8-a885-4b6b-b715-99a5852190c1":{"description":"Sales invoice created successfully","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","example":"00","uniqueKey":"status","typeLabel":"string"},"message":{"type":"string","example":"success","uniqueKey":"message","typeLabel":"string"},"data":{"type":"object","properties":{"auto_create_payment":{"type":"boolean","example":true,"uniqueKey":"data.auto_create_payment","typeLabel":"boolean"},"bank_account_code":{"type":"string","example":"002","uniqueKey":"data.bank_account_code","typeLabel":"string"},"bank_account_name":{"type":"string","example":"Bank","uniqueKey":"data.bank_account_name","typeLabel":"string"},"cancel_reason":{"type":"string","example":"-","uniqueKey":"data.cancel_reason","typeLabel":"string"},"currency_code":{"type":"string","example":"IDR","uniqueKey":"data.currency_code","typeLabel":"string"},"currency_name":{"type":"string","example":"Rupiah Indonesia","uniqueKey":"data.currency_name","typeLabel":"string"},"customer_address":{"type":"string","example":"Jl. Raya No. 123","uniqueKey":"data.customer_address","typeLabel":"string"},"customer_code":{"type":"string","example":"00005","uniqueKey":"data.customer_code","typeLabel":"string"},"customer_name":{"type":"string","example":"Mira Ramadhani","uniqueKey":"data.customer_name","typeLabel":"string"},"description":{"type":"string","example":"From API Integration id 1754626495","uniqueKey":"data.description","typeLabel":"string"},"discount_amount":{"type":"number","example":0,"uniqueKey":"data.discount_amount","typeLabel":"number"},"document_date":{"type":"string","format":"date-time","example":"2029-07-30T00:00:00Z","uniqueKey":"data.document_date","typeLabel":"string\u003cdate-time>"},"document_number":{"type":"string","example":"00004/FPJ/07/29","uniqueKey":"data.document_number","typeLabel":"string"},"document_status":{"type":"string","example":"Final","uniqueKey":"data.document_status","typeLabel":"string"},"due_date":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"data.due_date.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"data.due_date.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.due_date","typeLabel":"string\u003cdate-time> | null"},"other_amount":{"type":"number","example":0,"uniqueKey":"data.other_amount","typeLabel":"number"},"outstanding_amount":{"type":"number","example":0,"uniqueKey":"data.outstanding_amount","typeLabel":"number"},"process_status":{"type":"string","example":"Dibayarkan Sepenuhnya","uniqueKey":"data.process_status","typeLabel":"string"},"rounding_amount":{"type":"number","example":0,"uniqueKey":"data.rounding_amount","typeLabel":"number"},"sales_order_document_number":{"type":"string","example":"","uniqueKey":"data.sales_order_document_number","typeLabel":"string"},"sales_person_code":{"type":"string","example":"","uniqueKey":"data.sales_person_code","typeLabel":"string"},"sales_person_name":{"type":"string","example":"","uniqueKey":"data.sales_person_name","typeLabel":"string"},"sub_total_amount":{"type":"number","example":13500,"uniqueKey":"data.sub_total_amount","typeLabel":"number"},"tax_included_indicator":{"type":"boolean","example":false,"uniqueKey":"data.tax_included_indicator","typeLabel":"boolean"},"total_amount":{"type":"number","example":13500,"uniqueKey":"data.total_amount","typeLabel":"number"},"total_tax_amount":{"type":"number","example":0,"uniqueKey":"data.total_tax_amount","typeLabel":"number"},"items":{"type":"array","items":{"type":"object","properties":{"detail_number":{"type":"string","uniqueKey":"data.\\items.items.[INDEX].detail_number","typeLabel":"string"},"discount_amount":{"type":"number","uniqueKey":"data.\\items.items.[INDEX].discount_amount","typeLabel":"number"},"document_number":{"type":"string","uniqueKey":"data.\\items.items.[INDEX].document_number","typeLabel":"string"},"item_code":{"type":"string","uniqueKey":"data.\\items.items.[INDEX].item_code","typeLabel":"string"},"item_name":{"type":"string","uniqueKey":"data.\\items.items.[INDEX].item_name","typeLabel":"string"},"quantity":{"type":"number","uniqueKey":"data.\\items.items.[INDEX].quantity","typeLabel":"number"},"sub_total_amount":{"type":"number","uniqueKey":"data.\\items.items.[INDEX].sub_total_amount","typeLabel":"number"},"tax_code":{"type":"string","uniqueKey":"data.\\items.items.[INDEX].tax_code","typeLabel":"string"},"tax_name":{"type":"string","uniqueKey":"data.\\items.items.[INDEX].tax_name","typeLabel":"string"},"tax_rate":{"type":"number","uniqueKey":"data.\\items.items.[INDEX].tax_rate","typeLabel":"number"},"total_amount":{"type":"number","uniqueKey":"data.\\items.items.[INDEX].total_amount","typeLabel":"number"},"total_tax_amount":{"type":"number","uniqueKey":"data.\\items.items.[INDEX].total_tax_amount","typeLabel":"number"},"unit_of_measurement_code":{"type":"string","uniqueKey":"data.\\items.items.[INDEX].unit_of_measurement_code","typeLabel":"string"},"unit_of_measurement_name":{"type":"string","uniqueKey":"data.\\items.items.[INDEX].unit_of_measurement_name","typeLabel":"string"},"unit_price":{"type":"number","uniqueKey":"data.\\items.items.[INDEX].unit_price","typeLabel":"number"}},"uniqueKey":"data.\\items.items.[INDEX]","typeLabel":"object"},"example":[{"detail_number":"00001","discount_amount":0,"document_number":"00004/FPJ/07/29","item_code":"ITM00001","item_name":"Product A","quantity":2,"sub_total_amount":6000,"tax_code":"","tax_name":"","tax_rate":0,"total_amount":6000,"total_tax_amount":0,"unit_of_measurement_code":"PCS01","unit_of_measurement_name":"pcs","unit_price":3000},{"detail_number":"00002","discount_amount":0,"document_number":"00004/FPJ/07/29","item_code":"0745114900006","item_name":"Product B","quantity":5,"sub_total_amount":5000,"tax_code":"","tax_name":"","tax_rate":0,"total_amount":5000,"total_tax_amount":0,"unit_of_measurement_code":"PCS01","unit_of_measurement_name":"pcs","unit_price":1000}],"uniqueKey":"data.\\items","typeLabel":"object[]"}},"uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":"00","message":"success","data":{"auto_create_payment":true,"bank_account_code":"002","bank_account_name":"Bank","cancel_reason":"-","currency_code":"IDR","currency_name":"Rupiah Indonesia","customer_address":"Jl. Raya No. 123","customer_code":"00005","customer_name":"Mira Ramadhani","description":"From API Integration id 1754626495","discount_amount":0,"document_date":"2029-07-30T00:00:00Z","document_number":"00004/FPJ/07/29","document_status":"Final","due_date":"2023-11-07T05:31:56Z","other_amount":0,"outstanding_amount":0,"process_status":"Dibayarkan Sepenuhnya","rounding_amount":0,"sales_order_document_number":"","sales_person_code":"","sales_person_name":"","sub_total_amount":13500,"tax_included_indicator":false,"total_amount":13500,"total_tax_amount":0,"items":[{"detail_number":"00001","discount_amount":0,"document_number":"00004/FPJ/07/29","item_code":"ITM00001","item_name":"Product A","quantity":2,"sub_total_amount":6000,"tax_code":"","tax_name":"","tax_rate":0,"total_amount":6000,"total_tax_amount":0,"unit_of_measurement_code":"PCS01","unit_of_measurement_name":"pcs","unit_price":3000},{"detail_number":"00002","discount_amount":0,"document_number":"00004/FPJ/07/29","item_code":"0745114900006","item_name":"Product B","quantity":5,"sub_total_amount":5000,"tax_code":"","tax_name":"","tax_rate":0,"total_amount":5000,"total_tax_amount":0,"unit_of_measurement_code":"PCS01","unit_of_measurement_name":"pcs","unit_price":1000}]}}}},"exampleType":"generated"}},"exampleType":"generated"},"2451afd5-ca04-4f1a-8dc2-01b7b732be37":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","uniqueKey":"status","typeLabel":"string"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"},"traceId":{"type":"string","uniqueKey":"traceId","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Invalid Request 1":{"title":"Invalid Request 1","value":{"status":"ACC03","message":"tax item not valid","traceId":"123e4567-e89b-12d3-a456-426614174000"}},"Invalid Request 2":{"title":"Invalid Request 2","value":{"status":"ACC03","message":"consumption items cannot be used in sales invoice","traceId":"123e4567-e89b-12d3-a456-426614174000"}},"Invalid Request 3":{"title":"Invalid Request 3","value":{"status":"ACC03","message":"item not valid","traceId":"123e4567-e89b-12d3-a456-426614174000"}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"51d3327d-6724-46a3-8d17-0b32e6069e72":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Generate a JWT signed with the `client_secret` and include the `client_id` as a claim in its payload.","scopes":[]},"signatureKey":{"type":"apiKey","in":"header","name":"A-Signature","description":"Generate the signature by creating an `SHA256-HMAC` hash from the plain signature above, using the `signature_secret` as the key. Then, `Base64-encode` the resulting hash and place the final value in the A-Signature header.","scopes":[]},"dataKey":{"type":"apiKey","in":"header","name":"A-Data","description":"Include the `email` and `tenant_id` in the payload as Base64 encoded.","scopes":[]}}},"servers":{"dd76f1b5-31b0-42c5-9cf0-5883d87eafdb":{"url":"https://staging-openapi.accountingplus.id","description":"Main API Server","variables":{"url":{"default":"https://staging-openapi.accountingplus.id","description":"The API base URL"}}}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Generate a JWT signed with the `client_secret` and include the `client_id` as a claim in its payload.","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Generate a JWT signed with the `client_secret` and include the `client_id` as a claim in its payload.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"},{"scheme":{"type":"apiKey","in":"header","name":"A-Signature","description":"Generate the signature by creating an `SHA256-HMAC` hash from the plain signature above, using the `signature_secret` as the key. Then, `Base64-encode` the resulting hash and place the final value in the A-Signature header.","scopes":[]},"schema":{"title":"A-Signature","type":"string","description":"Generate the signature by creating an `SHA256-HMAC` hash from the plain signature above, using the `signature_secret` as the key. Then, `Base64-encode` the resulting hash and place the final value in the A-Signature header.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"signatureKey","name":"A-Signature"},{"scheme":{"type":"apiKey","in":"header","name":"A-Data","description":"Include the `email` and `tenant_id` in the payload as Base64 encoded.","scopes":[]},"schema":{"title":"A-Data","type":"string","description":"Include the `email` and `tenant_id` in the payload as Base64 encoded.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"dataKey","name":"A-Data"}],"title":"bearerAuth \u0026 signatureKey \u0026 dataKey"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"accounting-9f6a0801","siteName":"Accounting+","title":"Create Sales Invoice - Accounting+","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2025-11-04T08:31:01.025Z","originalFileLocation":"api-reference/endpoint/sales-invoice-create.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Create a new sales invoice\">\u003cmeta data-mint-head name=\"application-name\" content=\"Accounting+\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/accounting-9f6a0801/O1xYaBVFXK8I02on/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/accounting-9f6a0801/O1xYaBVFXK8I02on/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/accounting-9f6a0801/O1xYaBVFXK8I02on/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/accounting-9f6a0801/O1xYaBVFXK8I02on/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/accounting-9f6a0801/O1xYaBVFXK8I02on/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/accounting-9f6a0801/O1xYaBVFXK8I02on/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/accounting-9f6a0801/O1xYaBVFXK8I02on/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/accounting-9f6a0801/O1xYaBVFXK8I02on/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/accounting-9f6a0801/O1xYaBVFXK8I02on/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create Sales Invoice - Accounting+\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create a new sales invoice\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Accounting+\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.accountingplus.id/api-reference/endpoint/sales-invoice-create\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://accounting-9f6a0801.mintlify.site/_mintlify/api/og/v2?division=Faktur+Penjualan\u0026amp;title=Create+Sales+Invoice\u0026amp;description=Create+a+new+sales+invoice\u0026amp;theme=899728d8fa87677e3544fa8f\u0026amp;signature=f984dc48228170e12d2aed63f17b94727a707a9f3cc3da56200f086662ea7af9\">\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 Sales Invoice - Accounting+\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create a new sales invoice\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://accounting-9f6a0801.mintlify.site/_mintlify/api/og/v2?division=Faktur+Penjualan\u0026amp;title=Create+Sales+Invoice\u0026amp;description=Create+a+new+sales+invoice\u0026amp;theme=899728d8fa87677e3544fa8f\u0026amp;signature=f984dc48228170e12d2aed63f17b94727a707a9f3cc3da56200f086662ea7af9\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/accounting-9f6a0801/O1xYaBVFXK8I02on/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Accounting+\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#03a9fc\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.accountingplus.id/api-reference/endpoint/sales-invoice-create\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/endpoint/sales-invoice-create.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.accountingplus.id/#organization\",\"name\":\"Accounting+\",\"url\":\"https://docs.accountingplus.id\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/accounting-9f6a0801/FK4mprgdTVI9URfw/logo/light.svg?fit=max\u0026auto=format\u0026n=FK4mprgdTVI9URfw\u0026q=85\u0026s=9b14f677aabb7fd30addbfef54bddfba\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.accountingplus.id#website\",\"name\":\"Accounting+\",\"url\":\"https://docs.accountingplus.id\",\"publisher\":{\"@id\":\"https://docs.accountingplus.id/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.accountingplus.id/api-reference/endpoint/sales-invoice-create#webpage\",\"url\":\"https://docs.accountingplus.id/api-reference/endpoint/sales-invoice-create\",\"name\":\"Create Sales Invoice\",\"description\":\"Create a new sales invoice\",\"dateModified\":\"2025-11-04T08:31:01.025Z\",\"isPartOf\":{\"@id\":\"https://docs.accountingplus.id#website\"},\"breadcrumb\":{\"@id\":\"https://docs.accountingplus.id/api-reference/endpoint/sales-invoice-create#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.accountingplus.id/api-reference/endpoint/sales-invoice-create#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accounting+\",\"item\":\"https://docs.accountingplus.id\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create Sales Invoice\",\"item\":\"https://docs.accountingplus.id/api-reference/endpoint/sales-invoice-create\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.accountingplus.id/api-reference/endpoint/sales-invoice-create#apireference\",\"headline\":\"Create Sales Invoice\",\"name\":\"Create Sales Invoice\",\"description\":\"Create a new sales invoice\",\"url\":\"https://docs.accountingplus.id/api-reference/endpoint/sales-invoice-create\",\"mainEntityOfPage\":{\"@id\":\"https://docs.accountingplus.id/api-reference/endpoint/sales-invoice-create#webpage\"},\"dateModified\":\"2025-11-04T08:31:01.025Z\",\"publisher\":{\"@id\":\"https://docs.accountingplus.id/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.accountingplus.id#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Accounting+\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Accounting+\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/endpoint/sales-invoice-create.md","siteName":"Accounting+","nav":{"global":{"anchors":[{"anchor":"Landing Page","icon":"house","href":"https://accountingplus.id"},{"anchor":"Video Tutorial","icon":"youtube","href":"https://www.youtube.com/playlist?list=PL-j9u6T81UtBaNtIT0_rYc461movwRGvY\u0026utm_source=docs.accountingplus.id"}]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":""}]},{"tab":"API Reference","groups":[{"group":"API Reference","pages":[{"title":"Get Started","href":"/api-reference/get-started"},{"title":"Quickstart","href":"/api-reference/quickstart"},{"title":"Get Token","openapi":"POST /oauth/clients/accesstoken","href":"/api-reference/endpoint/get-token"}]},{"group":"Master Data","pages":[{"title":"List Bank","openapi":"GET /v1/banks","href":"/api-reference/endpoint/bank-list"}]},{"group":"Insight","pages":[{"title":"Accounting","openapi":"GET /v1/dashboard/accountings","href":"/api-reference/endpoint/dashboard-accountings"},{"title":"Monthly Cashflow","openapi":"GET /v1/dashboard/monthly-cashflow","href":"/api-reference/endpoint/dashboard-monthly-cashflow"}]},{"group":"Faktur Pembelian","pages":[{"title":"Create Purchase Invoice","openapi":"POST /v1/purchase-invoices","description":"Create a new purchase invoice","href":"/api-reference/endpoint/purchase-invoice-create"}]},{"group":"Faktur Penjualan","pages":[{"title":"Create Sales Invoice","openapi":"POST /v1/sales-invoices","href":"/api-reference/endpoint/sales-invoice-create"}]},{"group":"Arus Kas \u0026 Bank","pages":[{"title":"Get Voucher Cash Category","openapi":"GET /v1/vouchers/category-cash","description":"Retrieve list of voucher cash categories","href":"/api-reference/endpoint/voucher-category-cash"},{"title":"Create Voucher","openapi":"POST /v1/vouchers","href":"/api-reference/endpoint/voucher-create"}]}]}]},"basePath":"","title":"Create Sales Invoice - Accounting+","buildId":"dpl_596ePT575z4qnAFksq1biRW97aLY","deploymentId":"dpl_596ePT575z4qnAFksq1biRW97aLY","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-C9Wu0MeN.js","utils-jWgu-6Qf.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DBD8f9qn.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-BGuX1ui5.js","snippetPresets-Evy63nQB.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BQHO1lnV.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-B6C8m-t_.js","shallow-BG4cT0fH.js","getApiPlaygroundDisplay-CgEPrE-D.js","CodeSnippet-CU8JyZ9N.js","CodeSnippets-BnxHU32T.js","Page-D6S0Yh6q.js","getPastedJson-CwiYOonh.js","icon-DYDpWmDf.js","MethodPill-C-J-l7_c.js","DuplicateIcon-B6ARwg9w.js","createIcon-Dsv4MtDq.js","DynamicMarkdown-CtasenyM.js","SectionHeading-YNcgYwjB.js","axios-vUo_bRtp.js","Markdown-CwLx6PAg.js","clsx-C3kuh_dz.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CmKHfscc.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-U3mI6Ljh.js"]}