The French public administrations having a bank account in the Trésor Public must advise the UltimateDebtor Name and Identification.
In CreditPayement 001_001_03, the UltmtDbtr markup inside the CdtTrfTxInf (creditTransfertInformation) markup shoul be like
<CdtTrfTxInf>
...
<UltmtDbtr>
<Nm>$payment['ultmtDbtr']</Nm>
<Id>
<OrgId>
<Othr>
<Id>$payment['ultmtDbtrId']</Id>
</Othr>
</OrgId>
</Id>
</UltmtDbtr>
</CdtTrfTxInf>
The ultmtDbtrId array key is added in the in the addPayment function
$creditTransferFile->addPayment([
...
'ultmtDbtr' => 'Debitor Name',
'ultmtDbtrId'=> 'Debitor real iban'
]);
ultmtDbtrId array key need an sephpa and sepautilities update. check :
The French public administrations having a bank account in the Trésor Public must advise the UltimateDebtor Name and Identification.
The ultmtDbtrId array key is added in the in the addPayment function $creditTransferFile->addPayment([ ... 'ultmtDbtr' => 'Debitor Name', 'ultmtDbtrId'=> 'Debitor real iban' ]);
ultmtDbtrId array key need an sephpa and sepautilities update. check :
https://github.com/jmbIFR/Sephpa/commit/6cfe50d042e085e88ae29aa0f30aa5cf62935e38 https://github.com/jmbIFR/SepaUtilities/commit/c8fee55f2aa1c795c1338c0573c8fdab0dd372d5