Klasse EbInterface43ToXRechnungUBLConverter

Alle implementierten Schnittstellen:
com.helger.commons.traits.IGenericImplTrait<EbInterface43ToXRechnungUBLConverter>

public class EbInterface43ToXRechnungUBLConverter extends AbstractEbInterfaceToXRechnungUBLConverter<EbInterface43ToXRechnungUBLConverter>
Convert an ebInterface 4.3 invoice to an XRechnung UBL.
Autor:
Philip Helger
  • Konstruktordetails

    • EbInterface43ToXRechnungUBLConverter

      public EbInterface43ToXRechnungUBLConverter(@Nonnull Locale aDisplayLocale, @Nonnull Locale aContentLocale, @Nonnull EXRechnungVersion eXRechnungVersion)
      Constructor.
      Parameter:
      aDisplayLocale - The display locale, e.g. used for the error message. May not be null.
      aContentLocale - The content locale of the invoice. May not be null.
      eXRechnungVersion - The target XRechnung version. May not be null.
  • Methodendetails

    • convert

      @Nullable public oasis.names.specification.ubl.schema.xsd.invoice_21.InvoiceType convert(@Nonnull com.helger.ebinterface.v43.Ebi43InvoiceType 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.
      Parameter:
      aEbiInvoice - The ebInterface invoice to be converted. May not be null.
      aTransformErrorList - The error list that will contain the errors afterwards. May not be null.
      Gibt zurück:
      null only if the basic conversion to UBL fails.