- Fix Creditnote
<cac:BillingReference>
validation issues, this tag should be optional
- Support for
<cav:Item>
<cac:StandardItemIdentification>
-->cbc:IDPeppol
Scheme identifier - Thanks @dragonfly4 - Support to add
<cac:Attachment>
content without having to use an external file ref but by adding it as a fileStream/fileContents - Thanks @dietercoopman, @bagulho - Add
<cbc:CompanyLegalForm>
to<cac:PartyLegalEntity>
- Thanks @vsadrn - Improved
UNCL4461
support for<cac:PaymentMeans>
- Thanks @TSimkus, @TecsiAron - Add
<cac:OrderLineReference>
support for<cac:InvoiceLine>
- Thanks @TSimkus - Add
<cac:AllowanceCharge>
to<cac:InvoiceLine>
- Thanks @TSimkus - Add support for
<cac:BillingReference>
in Creditnotes - Thanks @UlusoftConsultancy - Add
<cbc:ChargeTotalAmount>
to<cac:LegalMonetaryTotal>
- Thanks @Quazz - Add support for TaxExemptionReason and TaxExemptionReasonCode to
<cac:ClassifiedTaxCategory>
- Thanks @bagulho
- Add support to include multiple
PaymentMeans
- Thanks @Quazz
- Fix
InvoiceTypeCode
documentation dead link - Thanks @TSimkus - Changed
<cbc:MultiplierFactorNumeric />
type fromint
tofloat
- Thanks @TSimkus
- Add list of
VatExemptionCode
options
- Add
<cac:StandardItemIdentification>
to<cac:Item>
- Add
<cac:PayeeParty>
to<Invoice>
- Don't output an InvoiceLine
<cac:TaxScheme />
when no<cac:Price />
was set - Don't output
<cac:Item>
under InvoiceLine unless explicitely set
- Added UNCL5305 codes to be used in various implementations
- Improved default result for UNCL5305 code in
TaxCategory->getId()
ifTaxCategory->setId()
was not used
- Added more EAS codes to be used in various implementations
- Added
EASCode
list with additional EAS codes to be used in various implementations
- Add
PrepaidAmount
toLegalMonetaryTotal
- Add
IssueDate
toOrderReference
- Add
ICDCode
list to be used in various other places - Fixed LegalMonetaryTotal which contained a syntax error
- Added the possibility to use
AdditionalDocumentReference
withoutAttachment
- Thanks @pjcarly - Added
DocumentTypeCode
onAdditionalDocumentReference
- Added setter/getter
InvoicePeriod
DescriptionCode
(VAT date code UNCL2005 subset) - Thanks @markovic131 - Added
PartyIdentificationSchemeName
toParty
- Thanks @tgeorgel - Added deprecation warning for setAdditionalDocumentReference
- Fixed
ContractDocumentReference
XML position - Thanks @markovic131 - Fixed
Name
position inTaxScheme
- Thanks @tgeorgel - Fixed
InvoicePeriod
,OrderReference
,ContractDocumentReference
sorting - Fixed DocumentType which is not a CommonAggregateComponent - Thanks @christopheg
- Add support for the
CreditNote
root tag andCreditNoteLine
tags - Thanks @JorisDebonnet - Added
DocumentDescription
inAdditionalDocumentReference
- Thanks @JorisDebonnet - Added
ExternalReference
(URI
) as an alternative for anEmbeddedDocumentBinaryObject
inAttachment
- Thanks @JorisDebonnet - Fixed the appearing order of
Name
andPercent
inClassifiedTaxCategory
- Thanks @JorisDebonnet - Added
ProfileID
toInvoice
- Thanks @JorisDebonnet - Added support for multiple
AdditionalDocumentReference
children toInvoice
- Thanks @JorisDebonnet - Made
Description
optional inItem
- Thanks @JorisDebonnet - Added
EndpointID
toParty
- Thanks @JorisDebonnet - Made
PartyName
optional inParty
- Thanks @JorisDebonnet - Added PHP 8 support in
composer.json
- Thanks @antal-levente - Added
Address->CountrySubentity()
- Thanks @antal-levente - Fixed
xmlSerialize()
compatibility warnings - Thanks @antal-levente - Fixed number_format null values warning - Thanks @antal-levente
- Add support for
cac:PartyIdentification
schemeId
attribute - Add support for
cac:AllowanceCharge
inPrice
tag
- Changed
InvoiceLine
's defaultUnitCode
from'MON'
toUnitCode::UNIT
(in order to matchPrice
's default UnitCode) - Thanks @JorisDebonnet
- Changed
InvoiceLine
's defaultUnitCode
from'MON'
toUnitCode::UNIT
(in order to matchPrice
's default UnitCode) - Thanks @JorisDebonnet
- Add
<cac:AccountingCost>
child node for<cac:InvoiceLine>
- PHP8 Support — Thanks @ChristianVermeulen
- Added new ContractDocumentReference class & tag
<cac:ContractDocumentReference />
to Invoice — Thanks @mabjavaid - Remove duplicate validation for
id
on invoice — Thanks @mabjavaid - Added new cac:PartyIdentification tag to cac:Party
- Added AdditionalStreetName in Address.php — Thanks @jbputit
- Added year, month and piece as additional units in UnitCode.php — Thanks @jbputit
- Added possibility to set InvoicePeriod in InvoiceLine — Thanks @jbputit
- Added new OrderReferen class & tag
<cac:OrderReference>
to Invoice — Thanks @jbputit
- Support for
<cbc:SupplierAssignedAccountID>
in<cac:AccountingCustomerParty>
— Thanks @eborned
- Add
<cac:BuyersItemIdentification>
child node for<cac:Item>
— Thanks @eborned
- Bugfix: Fix order of
<cbc:DueDate>
node in<Invoice>
- Bugfix: Use correct number formatting when
<cbc:InvoicedQuantity>
in<cac:InvoiceLine>
contains a float value - Bugfix: Use correct number formatting when
<cbc:BaseQuantity>
in<cac:Price>
contains a float value - Bugfix: Use correct number formatting when
<cbc:PriceAmount>
in<cac:Price>
contains a float value
- Add
<cbc:InstructionNote>
to<cac:PaymentMeans>
for non structured payment instructions
- Bugfix in
<cac:Party>
, set correct order for child nodes<cac:PartyLegalEntity>
&<cac:Contact>
— Thanks @stedekay
- Added return type declarations in every class
- Added
PartyTaxScheme
- Added
Party->setPartyTaxScheme()
Party->setTaxCompanyName(string)
has been removed sincePartyTaxScheme
has been addedParty->setTaxCompanyId(string)
has been removed sincePartyTaxScheme
has been addedParty->setTaxScheme(string)
has been removed sincePartyTaxScheme
has been added