Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

invoice Class (CrmService)

banner art

[Applies to: Microsoft Dynamics CRM 4.0]

Represents an order that has been billed.

For a list of methods and messages that operate on this class, see Invoice Entity Capabilities.

The invoice class inherits from BusinessEntity. It exposes the following members.

ConstructorDescription
invoiceInitializes a new instance of the invoice class.

Instance PropertyDescription
billto_cityGets or sets the city name in the billing address.
billto_countryGets or sets the country/region name in the billing address.
billto_faxGets or sets the fax number for the billing address.
billto_line1Gets or sets the first line for entering the billing address information.
billto_line2Gets or sets the second line for entering the billing address information.
billto_line3Gets or sets the third line for entering the billing address information.
billto_nameGets or sets the name to enter for the billing address.
billto_postalcodeGets or sets the ZIP code, or postal code in the billing address.
billto_stateorprovinceGets or sets the state or province in the billing address.
billto_telephoneGets or sets the telephone number associated with the billing address.
createdbyGets the ID of the user who created the invoice.
createdonGets the date and time when the invoice was created.
createdonbehalfbyGets the ID of the proxy user who created the invoice record.
customeridGets or sets the ID of the account or contact associated with the invoice.
datedeliveredGets or sets the date all products in the invoice were delivered.
descriptionGets or sets the description of the invoice.
discountamountGets or sets the discount specified as a monetary amount for the invoice.
discountamount_baseGets or sets the base-currency equivalent of the discount specified as a monetary amount for the invoice.
discountpercentageGets or sets the discount specified as a percentage for the invoice.
duedateGets or sets the date by which the invoice has to be paid.
exchangerateGets the exchange rate for the currency associated with the invoice with regard to the base currency.
freightamountGets or sets the cost of freight for the invoice.
freightamount_baseGets or sets the base-currency equivalent for the cost of freight on the invoice.
importsequencenumberGets or sets the ID of the data import or data migration that created this record.
invoiceidGets or sets the ID of the invoice.
invoicenumberGets or sets the invoice number.
ispricelockedGets a value that indicates whether invoice pricing is locked.
lastbackofficesubmitGets or sets the date and time when the invoice was last submitted to Microsoft Great Plains.
modifiedbyGets the ID of the user who last modified the invoice.
modifiedonGets the date and time when the invoice was last modified.
modifiedonbehalfbyGets the ID of the proxy user who last modified the invoice.
nameGets or sets the name of the invoice.
opportunityidGets or sets the ID of the opportunity with which the invoice is associated.
overriddencreatedonGets or sets the date and time that the record was migrated.
owneridGets or sets the ID of the user or team that owns the invoice.
owningbusinessunitGets the ID of the business unit that owns the invoice.
paymenttermscodeGets or sets the payment terms for the invoice.
pricelevelidGets or sets the ID of the price list associated with the invoice.
pricingerrorcodeGets or sets the type of pricing error for the invoice.
prioritycodeGets or sets the priority of the invoice.
salesorderidGets or sets the ID of the order that is associated with the invoice.
shippingmethodcodeGets or sets the method of shipment for the invoice.
shipto_cityGets or sets the city name in the shipping address.
shipto_countryGets or sets the country/region name in the shipping address.
shipto_faxGets or sets the fax number for the shipping address.
shipto_freighttermscodeGets or sets the freight terms for the shipping address.
shipto_line1Gets or sets the first line for entering shipping address information.
shipto_line2Gets or sets the second line for entering shipping address information.
shipto_line3Gets or sets the third line for entering shipping address information.
shipto_nameGets or sets the name to enter for the shipping address.
shipto_postalcodeGets or sets the ZIP code or postal code in the shipping address.
shipto_stateorprovinceGets or sets the state or province in the shipping address.
shipto_telephoneGets or sets the telephone number associated with the shipping address.
statecodeGets the status of the invoice.
statuscodeGets or sets the reason for the status of the invoice.
timezoneruleversionnumberFor internal use only.
totalamountGets the total price for the invoice.
totalamount_baseGets the base-currency equivalent of the total price on the invoice.
totalamountlessfreightGets the total price, minus the freight charges for the invoice.
totalamountlessfreight_baseGets the base-currency equivalent of the total price, minus the freight charges on the invoice.
totaldiscountamountGets the total discount amount for the invoice.
totaldiscountamount_baseGets the base-currency equivalent of the total discount for the invoice.
totallineitemamountGets the total line item amount for the invoice.
totallineitemamount_baseGets the base-currency equivalent of the total line item amount for the invoice.
totallineitemdiscountamountGets the total line item discount for the invoice.
totallineitemdiscountamount_baseGets the base-currency equivalent of the total line item discount for the invoice.
totaltaxGets the total tax for the invoice.
totaltax_baseGets the base-currency equivalent of the total tax for the invoice.
transactioncurrencyidGets or sets the ID of the currency associated with the invoice.
utcconversiontimezonecodeGets or sets the time-zone code in use when the record was created.
willcallGets or sets a value that indicates if the customer will call for the invoiced products or the products that are to be shipped.

Remarks

For more information about entities and attributes, see Using the Metadata Browser and the Customization area of the Web application. To view this information in the Customization area, in the Navigation Pane, click Settings, click Customization, and then click Customize Entities.

Requirements

Web Service: CrmService

See Also

Reference


© 2010 Microsoft Corporation. All rights reserved.


Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.