From a8fa851e8a9a9841aceffbc07fe658f3e75526af Mon Sep 17 00:00:00 2001 From: Jasper Briers Date: Tue, 18 Aug 2026 10:09:55 +0200 Subject: [PATCH] Fix currencyID in PaymentTerms The currencyID was hardcoded to 'EUR', it now uses Generator::$currencyID, same as it is done in other places. --- src/PaymentTerms.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PaymentTerms.php b/src/PaymentTerms.php index d6ae258..662ae20 100644 --- a/src/PaymentTerms.php +++ b/src/PaymentTerms.php @@ -104,7 +104,7 @@ public function xmlSerialize(Writer $writer): void 'name' => Schema::CBC . 'Amount', 'value' => NumberFormatter::format($this->amount, 2), 'attributes' => [ - 'currencyID' => 'EUR' + 'currencyID' => Generator::$currencyID ] ] ]);