InvoiceLine - accountsIQ/API-Wiki GitHub Wiki

Presentation of the InvoiceLine data structure. InvoiceLine belongs to an Invoice.

InvoiceLine

InvoiceLine members

Name Type Description Constraints
ActualPrice Decimal Get/Set the actual price of the item, i.e. the price once discounted.
  • Cannot be negative
CreationDate DateTime Get the creation date of the line.
    DeliveryItemID Int32 Get the unique identifier of the delivery line corresponding to the current line.
      DeliveredQuantity Decimal Get the quantity that was already delivered from the Invoice line.
      • Cannot be negative
      • Cannot be less than the invoiced quantity
      DepartmentID String Get/Set the line department identifier.
      • Cannot be empty
      • Cannot be more than 50 characters long
      DiscountRate Decimal Get/Set the line discount rate. This is used to calculate the actual price of an item on a line.
      • Cannot be negative
      • Cannot be >= 1
      GLAccountCode String Get/Set the nominal account code used during the line posting to the transaction table.
      • Cannot be null
      • Cannot be empty
      • Cannot be more than 50 characters long
      GrossAmount Decimal Get/Set the gross amount of the Invoice line.
      • Cannot be negative
      InvoiceID Int32 Get the reference of the Invoice the line belongs to.
        InvoiceItemID Int32 Get the unique identifier of the Invoice line.
          InvoicedQuantity Decimal Get the quantity that was delivered and invoiced from the current Invoice line.
          • Cannot be negative
          LocationID String Get/Set the location ID of by the stock item to be delivered in or out of.
          • Cannot be null
          • Cannot be empty
          • Cannot be more than 50 characters
          NetAmount Decimal Get the net amount of the line.
          • Cannot be negative
          Notes String Get/Set the notes attached to the Invoice.
          • Cannot be more than 2000 characters
          Notes2 String Get/Set the notes attached to the Invoice.
          • Cannot be more than 2000 characters
          OpeningStockGLAccountCode String Get/Set the opening stock GL account code that will be used during the posting of the invoice to the transaction table.
          • Cannot be null
          • Cannot be empty
          • Cannot be more than 50 characters
          OrderItemID Nullable
          Int32
          Get the Order line unique identifier from which the current Invoice line was created from, if the Invoice was created by promoting an Order.
            StockItemCost Decimal Get/Set the stock item cost: used for average costing calculation, cost of sales postings and margin analysis.
            • Cannot be negative
            StockItemDescription String Get/Set the description of the stock item used on the line.
            • Cannot be null
            • Cannot be empty
            • Cannot be more than 500 characters
            StockItemID String Get/Set the stock item used on the Invoice line.
            • Cannot be null
            • Cannot be empty
            • Cannot be more than 50 characters
            • Must be upper case
            StockItemPrice Decimal Get/Set the price at which the stock item is being bought or sold on the current line.
            • Cannot be negative
            SublocationID String Get/Set the sub-location ID of the stock item to be delivered in or out of.
            • Cannot be null
            TaxAmount Decimal Get/Set the tax amount used on the line.
            • Cannot be negative
            TaxCode String Get/Set the tax code used on the Invoice line.
            • Cannot be null
            • Cannot be empty
            • Cannot be more than 50 characters
            TaxRate Decimal Get/Set the tax rate applied on the line.
            • Cannot be negative.

            See Also

            Invoice

            ⚠️ **GitHub.com Fallback** ⚠️