Interface IZUGFeRDExportableItem

    • Method Detail

      • getItemAllowances

        @Deprecated
        default IZUGFeRDAllowanceCharge[] getItemAllowances()
        Deprecated.
        item level discounts
        Returns:
        array of the discounts on a single item
      • getItemCharges

        @Deprecated
        default IZUGFeRDAllowanceCharge[] getItemCharges()
        Deprecated.
        item level price additions
        Returns:
        array of the additional charges on the item
      • getCharges

        @Deprecated
        default IZUGFeRDAllowanceCharge[] getCharges()
        Deprecated.
        item level price additions
        Returns:
        array of the additional charges on the item
      • getBuyerOrderReferencedDocumentID

        default java.lang.String getBuyerOrderReferencedDocumentID()
        buyer order reference document id
        Returns:
        the document id (defaults to null)
      • getBuyerOrderReferencedDocumentLineID

        default java.lang.String getBuyerOrderReferencedDocumentLineID()
        BT 132 (issue https://github.com/ZUGFeRD/mustangproject/issues/247)
        Returns:
        the line ID of the order (BT-132)
      • getPrice

        java.math.BigDecimal getPrice()
        The price of one item excl. taxes
        Returns:
        The price of one item excl. taxes
      • getQuantity

        java.math.BigDecimal getQuantity()
        how many get billed
        Specified by:
        getQuantity in interface IAbsoluteValueProvider
        Returns:
        the quantity of the item
      • getBasisQuantity

        default java.math.BigDecimal getBasisQuantity()
        how many items units per price
        Returns:
        item units per price
      • getAdditionalReferencedDocumentID

        @Deprecated
        default java.lang.String getAdditionalReferencedDocumentID()
        Deprecated.
        the ID of an additionally referenced document for this item
        Returns:
        the id as string
      • getAdditionalReferences

        default IReferencedDocument[] getAdditionalReferences()
        allows to specify multiple references (billing information)
        Returns:
        the referenced documents
      • getReferencedDocuments

        default IReferencedDocument[] getReferencedDocuments()
        allows to specify multiple(!) referenced documents along with e.g. their typecodes
        Returns:
        the referenced documents
      • getNotes

        default java.lang.String[] getNotes()
        descriptive texts
        Returns:
        an array of strings of item specific "includedNotes", text values
      • getDetailedDeliveryPeriodFrom

        default java.util.Date getDetailedDeliveryPeriodFrom()
        specifies the item level delivery period (there is also one on document level), this will be included in a BillingSpecifiedPeriod element
        Returns:
        the beginning of the delivery period
      • getDetailedDeliveryPeriodTo

        default java.util.Date getDetailedDeliveryPeriodTo()
        specifies the item level delivery period (there is also one on document level), this will be included in a BillingSpecifiedPeriod element
        Returns:
        the end of the delivery period
      • getItemTotalAllowances

        default IZUGFeRDAllowanceCharge[] getItemTotalAllowances()
        get all (allowances and charges) SpecifiedTradeAllowanceCharges
        Returns:
        the real item lecel SpecifiedTradeAllowanceCharges
      • getId

        default java.lang.String getId()
        Returns:
        the line ID
      • getNotesWithSubjectCode

        default java.util.List<IncludedNote> getNotesWithSubjectCode()
        A grouping of business terms to indicate accounting-relevant free texts including a qualification of these. The information are written to the same xml nodes like getNotes() but with explicit subjectCode.
        Returns:
        list of the notes
      • getAccountingReference

        default java.lang.String getAccountingReference()