Ir al contenido
Odoo Menú
  • Inicia sesión
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • PdV para tiendas
    • PdV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en vivo
    • eLearning
    Cadena de suministro
    • Inventario
    • Manufactura
    • PLM
    • Compras
    • Mantenimiento
    • Calidad
    Recursos humanos
    • Empleados
    • Reclutamiento
    • Vacaciones
    • Evaluaciones
    • Referencias
    • Flotilla
    Marketing
    • Redes sociales
    • Marketing por correo
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyectos
    • Registro de horas
    • Servicio externo
    • Soporte al cliente
    • Planeación
    • Citas
    Productividad
    • Conversaciones
    • Aprobaciones
    • IoT
    • VoIP
    • Artículos
    • WhatsApp
    Aplicaciones externas Studio de Odoo Plataforma de Odoo en la nube
  • Industrias
    Venta minorista
    • Librería
    • Tienda de ropa
    • Mueblería
    • Tienda de abarrotes
    • Ferretería
    • Juguetería
    Alimentos y hospitalidad
    • Bar y pub
    • Restaurante
    • Comida rápida
    • Casa de huéspedes
    • Distribuidora de bebidas
    • Hotel
    Bienes inmuebles
    • Agencia inmobiliaria
    • Estudio de arquitectura
    • Construcción
    • Gestión de propiedades
    • Jardinería
    • Asociación de propietarios
    Consultoría
    • Firma contable
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Manufactura
    • Textil
    • Metal
    • Muebles
    • Comida
    • Cervecería
    • Regalos corporativos
    Salud y ejercicio
    • Club deportivo
    • Óptica
    • Gimnasio
    • Especialistas en bienestar
    • Farmacia
    • Peluquería
    Trades
    • Personal de mantenimiento
    • Hardware y soporte de TI
    • Sistemas de energía solar
    • Zapateros y fabricantes de calzado
    • Servicios de limpieza
    • Servicios de calefacción, ventilación y aire acondicionado
    Otros
    • Organización sin fines de lucro
    • Agencia para la protección del medio ambiente
    • Alquiler de anuncios publicitarios
    • Fotografía
    • Alquiler de bicicletas
    • Distribuidor de software
    Descubre todas las industrias
  • Odoo Community
    Aprende
    • Tutoriales
    • Documentación
    • Certificaciones
    • Capacitación
    • Blog
    • Podcast
    Fortalece la educación
    • Programa educativo
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtén el software
    • Descargar
    • Compara ediciones
    • Versiones
    Colabora
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Conviértete en partner
    • Servicios para partners
    • Registra tu firma contable
    Obtén servicios
    • Encuentra un partner
    • Encuentra un contador
    • Contacta a un consultor
    • Servicios de implementación
    • Referencias de clientes
    • Soporte
    • Actualizaciones
    GitHub YouTube Twitter LinkedIn Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicita una demostración
  • Precios
  • Ayuda
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Ayuda

Byte-Order-Mark missing on CSV export for Datev

Suscribirse

Reciba una notificación cuando haya actividad en esta publicación

Se marcó esta pregunta
accountingcsvformatCSVDatev
1 Responder
141 Vistas
Avatar
Daniel Huying

Using Odoo 18.4.

In the Accounting App, I can go to Reporting->Audit Reports->General Ledger and then via the gear symbol make a DATEV Data export. This creates a zip file named general_ledger_data.zip which contains 3 CSV files EXTF_accounting_entries.csv etc.

The CSV files are created with UTF-8 encoding, but without a ByteOrderMark.

In the official definition of the DATEV format (on https://developer.datev.de/de/file-format/details/datev-format/character-set) it is stated:

Der Default-Zeichensatz für den Import nach DATEV Rechnungswesen ist der Standard ISO-8859-1 bzw. CodePage 1252. Zusätzlich kann DATEV Rechnungswesen auch die Unicode-Standards (UTF-8, -16, -32) interpretieren, sofern die ByteOrderMark (BOM, gilt auch für UTF-8) mitgeliefert wird.

Translation:

The default character set for importing into DATEV Accounting is the ISO-8859-1 standard, code page 1252. Additionally, DATEV Accounting can also interpret the Unicode standards (UTF-8, -16, -32) if the ByteOrderMark (BOM, also applicable to UTF-8) is included.

It seems that the output is not in conformance with the DATEV format definition, since it is UTF-8, but without the ByteOrderMark.

Is there a fix to get the CSV files to be created WITH the ByteOrderMark?

This is not only relevant for DATEV, but also to simply open the CSV files in Microsoft Excel, which will only interpret the characters in UTF-8 files correctly if there is a ByteOrderMark.

1
Avatar
Descartar
Avatar
Zehntech Technologies Inc.
Mejor respuesta

Hello Daniel,

Yes, you are correct in your observation.

Odoo currently generates the DATEV export CSV files using UTF-8 encoding without a Byte Order Mark (BOM). While many systems can interpret UTF-8 without BOM, DATEV and Microsoft Excel often rely on the BOM to correctly detect the encoding, especially for special characters.

Out of the box, Odoo does not provide a setting to include the BOM in these exports. The typical approach is to slightly override the export generation logic via a custom module so that the CSV files are written using UTF-8 with BOM (utf-8-sig) before being added to the ZIP archive.

This is a relatively small customization in the reporting/export code and ensures full compatibility with DATEV’s format requirements and Excel imports.

Hope this works for you! Feel free to reach out for further discussion.

Regards,

Zehntech Technologies Inc.

santosh.sekwadia@zehntech.com

0
Avatar
Descartar
¿Le interesa esta conversación? ¡Participe en ella!

Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.

Registrarse
Publicaciones relacionadas Respuestas Vistas Actividad
How to change date format in odoo14
accounting format odoo
Avatar
Avatar
1
jun 23
3954
How to save a csv file to download it later by clicking another button?
filestore csv CSV v14
Avatar
Avatar
1
oct 21
3262
Fetch list of all created Invoices data for the user, do some calculations and write to csv file
accounting invoice tax csv
Avatar
0
ago 17
4377
How can we export accounting data for external audits?
accounting export format datev
Avatar
Avatar
1
oct 16
6713
'NoneType' object has no attribute 'group' while validating
accounting import csv nonetype
Avatar
1
mar 15
7154
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento en Odoo.sh
  • Soporte
  • Actualizaciones del software
  • Desarrollos personalizados
  • Educación
  • Encuentra un contador
  • Encuentra un partner
  • Conviértete en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contáctanos
  • Empleos
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Legal • Privacidad
  • Seguridad
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk Slovenščina Español (América Latina) Español Svenska ภาษาไทย Türkçe українська Tiếng Việt

Odoo es un conjunto de aplicaciones de código abierto que cubren todas las necesidades de tu empresa: CRM, comercio electrónico, contabilidad, inventario, punto de venta, gestión de proyectos, etc.

La propuesta única de valor de Odoo es ser muy fácil de usar y estar totalmente integrado.

Sitio web hecho con

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now