Skip to main content

MGCLatticeFreeTextInvoiceLineContract

Data contract representing a free text invoice line with main account, amount, quantity, unit price, and tax group details.

Methods​

new​

Initializes a new instance of the MGCLatticeFreeTextInvoiceLineContract class.

  • Visibility: public
  • Returns: void

No parameters.

construct​

Creates a new instance of the MGCLatticeFreeTextInvoiceLineContract class.

  • Visibility: public
  • Returns: MGCLatticeFreeTextInvoiceLineContract A new MGCLatticeFreeTextInvoiceLineContract instance.

No parameters.

parmDescription​

Gets or sets the descriptive text for the journal or transaction.

  • Visibility: public
  • Returns: Description The Description value.
NameTypeOptionalDescription
_descriptionDescriptionYesThe Description value.

parmMainAccountId​

Gets or sets the main ledger account identifier.

  • Visibility: public
  • Returns: str The MainAccountId value.
NameTypeOptionalDescription
_mainAccountIdstrYesThe MainAccountId value.

parmAmountCur​

Gets or sets the line amount in the invoice currency. When 0 it is Quantity x UnitPrice; when both AmountCur and UnitPrice are sent, AmountCur must equal Quantity x UnitPrice. One of the two is required.

  • Visibility: public
  • Returns: AmountCur The AmountCur value.
NameTypeOptionalDescription
_amountCurAmountCurYesThe AmountCur value.

parmQuantity​

Gets or sets the quantity of the invoice line; 0 means 1.

  • Visibility: public
  • Returns: Qty The Quantity value.
NameTypeOptionalDescription
_quantityQtyYesThe Quantity value.

parmUnitPrice​

Gets or sets the unit price of the invoice line. When 0 it is AmountCur / Quantity.

  • Visibility: public
  • Returns: InvoiceUnitPrice The UnitPrice value.
NameTypeOptionalDescription
_unitPriceInvoiceUnitPriceYesThe UnitPrice value.

parmSalesTaxGroup​

Gets or sets the sales tax group for tax calculation.

  • Visibility: public
  • Returns: TaxGroup The SalesTaxGroup value.
NameTypeOptionalDescription
_salesTaxGroupTaxGroupYesThe SalesTaxGroup value.

parmItemSalesTaxGroup​

Gets or sets the item sales tax group for tax calculation.

  • Visibility: public
  • Returns: TaxItemGroup The ItemSalesTaxGroup value.
NameTypeOptionalDescription
_itemSalesTaxGroupTaxItemGroupYesThe ItemSalesTaxGroup value.