> For the complete documentation index, see [llms.txt](https://docs.flowretail.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.flowretail.com/docs/developers/api-documentation/accounting-configs/set-the-store-specific-account-number-for-a-product.md).

# Set the store specific account number for a product

Set the account number used for this product when it is sold in this store.

The account is applied to the order line when the sale becomes a receipt. It takes precedence over the account number configured centrally on the product, and over the store's product group configuration.

Three product kinds are the exception. A product sold under the VAT margin scheme keeps booking to the margin sales and margin VAT accounts on the accounting report, Navision, 24Seven and VismaNet, so the override has no effect there — but Unimicro, VismaBusiness and XLedger do not implement the margin scheme and will use this account for those lines. A package wrapper product is not booked at all — only its components are, and an override set on a component does apply. On a Flow gift card product the account is used as the gift card settlement account, not a revenue account.

The product's VAT type determines the VAT group, so no vatCodeUid is needed.

Creates the override if it does not exist, replaces it if it does. An empty account is rejected — use DELETE to remove an override.

Required permissions: ACCOUNTING\_CONFIG

```json
{"openapi":"3.0.2","info":{"title":"Flow Retail API version 2","version":"2.0.0"},"tags":[{"name":"AccountingConfigs","description":"AccountingConfigs"}],"servers":[{"description":"Flow Retail Production","url":"https://api.flowretail.com/v2"},{"description":"Flow Retail Stage","url":"https://api.stage.flowretail.com/v2"}],"security":[{"accessToken":[]},{"authToken":[]},{"integrationToken":[]}],"components":{"securitySchemes":{"accessToken":{"description":"Access token recevied after user login with a deviceToken","scheme":"bearer","type":"http"},"authToken":{"description":"Token received from the auth service","scheme":"bearer","type":"http"},"integrationToken":{"scheme":"bearer","type":"http"}},"responses":{"AccountingConfigsProductResponse":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountingConfigsProductResponseSchema"}}}}},"schemas":{"AccountingConfigsProductResponseSchema":{"title":"AccountingConfigsProductSchema","type":"object","required":["productUid","sku","productName","account"],"properties":{"productUid":{"$ref":"#/components/schemas/UID"},"sku":{"type":"string","description":"The product's SKU"},"productName":{"type":"string","description":"The product's name"},"account":{"description":"Account number","type":"string"}}},"UID":{"title":"UID","type":"string","pattern":"^[A-Za-z0-9-_]+"},"AccountingConfigsProductRequestSchema":{"title":"AccountingConfigsProductRequestSchema","description":"Set the store specific account number for a product.\nThe product's VAT type determines the VAT group, so no vatCodeUid is needed.","type":"object","required":["account"],"properties":{"account":{"type":"string","minLength":1,"description":"Account number. Must not be empty — use DELETE to remove the override."}}}},"requestBodies":{"AccountingConfigsProductRequest":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountingConfigsProductRequestSchema"}}}}}},"paths":{"/tenants/{tenantUid}/stores/{storeUid}/accountingConfigs/products/{productUid}":{"put":{"summary":"Set the store specific account number for a product","tags":["AccountingConfigs"],"responses":{"200":{"$ref":"#/components/responses/AccountingConfigsProductResponse"}},"operationId":"put-tenants-stores-accountingConfigs-product","description":"Set the account number used for this product when it is sold in this store.\n\nThe account is applied to the order line when the sale becomes a receipt.\nIt takes precedence over the account number configured centrally on the\nproduct, and over the store's product group configuration.\n\nThree product kinds are the exception. A product sold under the VAT\nmargin scheme keeps booking to the margin sales and margin VAT accounts\non the accounting report, Navision, 24Seven and VismaNet, so the override\nhas no effect there — but Unimicro, VismaBusiness and XLedger do not\nimplement the margin scheme and will use this account for those lines.\nA package wrapper product is not booked at all — only its components are,\nand an override set on a component does apply. On a Flow gift card\nproduct the account is used as the gift card settlement account, not a\nrevenue account.\n\nThe product's VAT type determines the VAT group, so no vatCodeUid is needed.\n\nCreates the override if it does not exist, replaces it if it does. An empty\naccount is rejected — use DELETE to remove an override.\n\nRequired permissions: ACCOUNTING_CONFIG","requestBody":{"$ref":"#/components/requestBodies/AccountingConfigsProductRequest"}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.flowretail.com/docs/developers/api-documentation/accounting-configs/set-the-store-specific-account-number-for-a-product.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
