Hi,
LegalMonetaryTotal already supports ChargeTotalAmount through:
- setChargeTotalAmount()
- ChargeTotalAmount XML serialization
However, InvoiceMapper::mapLegalMonetaryTotal() does not map this field from the input array.
Suggested change:
->setAllowanceTotalAmount($data['allowanceTotalAmount'] ?? 0)
->setChargeTotalAmount($data['chargeTotalAmount'] ?? 0);
Hi,
LegalMonetaryTotal already supports ChargeTotalAmount through:
However, InvoiceMapper::mapLegalMonetaryTotal() does not map this field from the input array.
Suggested change: