easybill / zugferd-php

ZUGFeRD PHP SDK (Factur-X, XRechnung)
https://www.easybill.de
MIT License
75 stars 35 forks source link

Feature Add trade allowance charge #8

Closed MaximilianKresse closed 4 years ago

MaximilianKresse commented 4 years ago

To be able to correctly implement discounts into an invoice I added the Settlement::addAllowanceCharge() method and related properties/tags.

Settlement::addAllowanceCharge() adds "SpecifiedTradeAllowanceCharge"-elements (0 to unbound) into the "ApplicableSupplyChainTradeSettlement" element.

PATROMO commented 4 years ago

@MaximilianKresse thanks.