From 608c59b54353702416388e4f7d7bd45554f70cf8 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Wed, 10 Apr 2024 22:37:35 +1000 Subject: [PATCH] Fixes for fattura pa --- app/Services/EDocument/Standards/FatturaPA.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Services/EDocument/Standards/FatturaPA.php b/app/Services/EDocument/Standards/FatturaPA.php index 267064569fa4..e2466417543b 100644 --- a/app/Services/EDocument/Standards/FatturaPA.php +++ b/app/Services/EDocument/Standards/FatturaPA.php @@ -203,7 +203,7 @@ class FatturaPA extends AbstractService $datiAnagrafici->setAnagrafica($anagrafica); $sede = new Sede(Indirizzo: $this->invoice->client->address1, - CAP: $this->invoice->client->postal_code, + CAP: (int)$this->invoice->client->postal_code, Comune: $this->invoice->client->city, Provincia: $this->invoice->client->state);