Class EbInterface50ToXRechnungUBLConverter
- java.lang.Object
-
- at.austriapro.ebinterface.xrechnung.AbstractEbInterfaceXRechnungConverter
-
- at.austriapro.ebinterface.xrechnung.to.AbstractEbInterfaceToXRechnungConverter
-
- at.austriapro.ebinterface.xrechnung.to.ubl.AbstractEbInterfaceToXRechnungUBLConverter
-
- at.austriapro.ebinterface.xrechnung.to.ubl.EbInterface50ToXRechnungUBLConverter
-
public class EbInterface50ToXRechnungUBLConverter extends AbstractEbInterfaceToXRechnungUBLConverter
Convert an ebInterface 5.0 invoice to an XRechnung UBL.- Author:
- Philip Helger
-
-
Field Summary
-
Fields inherited from class at.austriapro.ebinterface.xrechnung.AbstractEbInterfaceXRechnungConverter
m_aContentLocale, m_aDisplayLocale
-
-
Constructor Summary
Constructors Constructor Description EbInterface50ToXRechnungUBLConverter(Locale aDisplayLocale, Locale aContentLocale)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description oasis.names.specification.ubl.schema.xsd.invoice_21.InvoiceTypeconvert(com.helger.ebinterface.v50.Ebi50InvoiceType aEbiInvoice, com.helger.commons.error.list.ErrorList aTransformErrorList)Convert the passed ebInterface invoice to an XRechnung.-
Methods inherited from class at.austriapro.ebinterface.xrechnung.to.ubl.AbstractEbInterfaceToXRechnungUBLConverter
modifyDefaultUBLInvoice
-
Methods inherited from class at.austriapro.ebinterface.xrechnung.AbstractEbInterfaceXRechnungConverter
countWarnings, errorText, warningText
-
-
-
-
Method Detail
-
convert
@Nullable public oasis.names.specification.ubl.schema.xsd.invoice_21.InvoiceType convert(@Nonnull com.helger.ebinterface.v50.Ebi50InvoiceType aEbiInvoice, @Nonnull com.helger.commons.error.list.ErrorList aTransformErrorList)
Convert the passed ebInterface invoice to an XRechnung. This converts the ebInterface first to generic UBL, than adds some XRechnung specific elements and finally validates the XRechnung according to the official Schematrons.- Parameters:
aEbiInvoice- The ebInterface invoice to be converted. May not benull.aTransformErrorList- The error list that will contain the errors afterwards. May not benull.- Returns:
nullonly if the basic conversion to UBL fails.
-
-