Skip to content

Commit

Permalink
using PR #21 instead for TLV fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Wesam Alzahir committed Dec 4, 2022
1 parent 427e688 commit 8aeadea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/zatca/qr/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export const generateQR = ({invoice_xml, digital_signature, public_key, certific
const formatted_datetime = moment(datetime).format("YYYY-MM-DDTHH:mm:ss")+"Z";

const qr_tlv = TLV([
Buffer.from(seller_name as String),
seller_name,
VAT_number,
formatted_datetime,
invoice_total,
Expand Down Expand Up @@ -78,7 +78,7 @@ export const generateQR = ({invoice_xml, digital_signature, public_key, certific
const formatted_datetime = moment(datetime).format("YYYY-MM-DDTHH:mm:ss")+"Z";

const qr_tlv = TLV([
Buffer.from(seller_name as String),
seller_name,
VAT_number,
formatted_datetime,
invoice_total,
Expand Down

0 comments on commit 8aeadea

Please sign in to comment.