num-num/ubl-invoice

PartyIdentification doesn't have attribute schemeID

marwan2 opened this issue · 0 comments

In Party Class, the PartyIdentificationID may have an attribute for schemeID, such as:

$writer->write([
    Schema::CAC . 'PartyIdentification' => [
        'name' => Schema::CBC . 'ID',
        'value' => $this->partyIdentificationId,
        'attributes' => [
            'schemeID' => $this->partyIdentificationSchemeId ?? 'OTH'
        ]
    ],
]);