Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Helpers/UXML.php
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ public function toTagsArray(Certificate $certificate, ?string $invoiceHash, ?str
new TaxNumber($this->get("cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme/cbc:CompanyID")->asText()), // VAT registration number of the seller
new InvoiceDate($issueDate . 'T' . $issueTime), // invoice date as Zulu ISO8601 - Time stamp of the invoice (date and time)
new InvoiceTotalAmount($this->get("cac:LegalMonetaryTotal/cbc:TaxInclusiveAmount")->asText()), //Invoice total (with VAT)
new InvoiceTaxAmount($this->get("cac:TaxTotal")->asText()), // VAT total
new InvoiceTaxAmount($this->get("cac:TaxTotal/cbc:TaxAmount")->asText()), // VAT total
new InvoiceHash($invoiceHash), // Hash of XML invoice
new InvoiceDigitalSignature($digitalSignature), // ECDSA signature
new PublicKey(base64_decode($certificate->getPlainPublicKey())) //ECDSA public key
Expand Down