Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

419
Vistas
How to create and parse Tag, Length, Value (TLV) in JavaScript or java and encode it in Base64

The QR code fields shall be encoded in Tag-Length-Value (TLV) format with the tag values specified in the “Tag” column of the adjacent table in the image below.

The TLV encoding shall be as follows:

Tag: the tag value as mentioned above is stored in one byte Length: the length of the byte array resulted from the UTF8 encoding of the field value. The length shall be stored in one byte. Value: the byte array resulting from the UTF8 encoding of the field value.

This image describe my problem:

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

You can generate the required hashes by using this library here.

String qrBarcodeHash = QRBarcodeEncoder.encode(
    new Seller("شركة تجريبية"),
    new TaxNumber("312345678901233"),
    new InvoiceDate("2021-11-18T18:40:34+03:00"),
    new InvoiceTotalAmount("2.30"),
    new InvoiceTaxAmount("0.30")
);
about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda