---
title: "OCR for Tax agent in Sweden"
description: "When closing VAT reports for Swedish tax supplier the CID code is calculated based on the Tax registration ID."
lang: en
languages:
  en: https://docs.vismasoftware.no/visma-net-erp/release-notes/2025-07-29-ocr-for-tax-agent-in-sweden/index.md
lastmod: 2025-07-29
---

> Documentation index: https://docs.vismasoftware.no/visma-net-erp/llms.txt


# OCR for Tax agent in Sweden

Last modified July 29, 2025

2025-07-29


Label: accounting:reporting-to-government


Version: 10.59



When closing VAT reports for Swedish tax supplier the CID code is calculated based on the Tax registration ID. This will update the to the created VAT invoice in Supplier ref. no and Payment ref. The CID is created based on the VAT registration ID from the Company or from the Branch if File tax by branch is selected.

If the VAT registration ID is missing or wrong format you will get an error message "The VAT registration ID has the wrong format. Generating the payment reference number failed."

This have to be activated with the Feature toggle AC\_ProposeSwedishOCR by support for selected customers.



---

[View this page](https://docs.vismasoftware.no/visma-net-erp/release-notes/2025-07-29-ocr-for-tax-agent-in-sweden/)
