Class CIIToUBL22Converter

    • Constructor Detail

      • CIIToUBL22Converter

        public CIIToUBL22Converter()
    • Method Detail

      • convertToInvoice

        @Nullable
        public oasis.names.specification.ubl.schema.xsd.invoice_22.InvoiceType convertToInvoice​(@Nonnull
                                                                                                un.unece.uncefact.data.standard.crossindustryinvoice._100.CrossIndustryInvoiceType aCIIInvoice,
                                                                                                @Nonnull
                                                                                                com.helger.commons.error.list.ErrorList aErrorList)
      • convertToCreditNote

        @Nullable
        public oasis.names.specification.ubl.schema.xsd.creditnote_22.CreditNoteType convertToCreditNote​(@Nonnull
                                                                                                         un.unece.uncefact.data.standard.crossindustryinvoice._100.CrossIndustryInvoiceType aCIICreditNote,
                                                                                                         @Nonnull
                                                                                                         com.helger.commons.error.list.ErrorList aErrorList)
      • convertCIItoUBL

        @Nullable
        public Serializable convertCIItoUBL​(@Nonnull
                                            un.unece.uncefact.data.standard.crossindustryinvoice._100.CrossIndustryInvoiceType aCIIInvoice,
                                            @Nonnull
                                            com.helger.commons.error.list.ErrorList aErrorList)
        Description copied from class: AbstractCIIToUBLConverter
        Convert CII to UBL
        Specified by:
        convertCIItoUBL in class AbstractCIIToUBLConverter<CIIToUBL22Converter>
        Parameters:
        aCIIInvoice - The CII invoice to be converted. May not be null. Ideally this is a valid CII invoice only and not some handcrafted domain object.
        aErrorList - Error list to be filled. May not be null.
        Returns:
        The parsed InvoiceType or CreditNoteType. May be null in case of error.