A purchase invoice document in Microsoft Dynamics GP.
Property |
Type |
Length |
Default |
Description |
---|---|---|---|---|
Key |
N/A |
N/A |
The purchase transaction key object that uniquely identifies the purchase invoice. |
|
VendorDocument |
string |
20 |
N/A |
The transaction number assigned by the vendor to this document. |
Date |
dateTime |
N/A |
If blank, set to the system date. |
The date of the purchase invoice. |
BatchKey |
N/A |
N/A |
The batch key object that specifies the batch the purchase invoice is part of. |
|
VendorKey |
N/A |
N/A |
The vendor key object that specified the vendor for the transaction. |
|
VendorName |
string |
64 |
If not provided, set based on the vendor key. |
The name of the vendor. |
Reference |
string |
17 |
N/A |
The reference number for the purchase invoice. |
Subtotal |
N/A |
N/A |
The subtotal for the purchase invoice. This property is read-only. |
|
TradeDiscountAmount |
N/A |
0 |
The amount of the trade discount for the purchase invoice. |
|
FreightAmount |
N/A |
0 |
The freight amount for the purchase invoice. |
|
MiscellaneousAmount |
N/A |
0 |
The amount of miscellaneous charges for the purchase invoice. |
|
TaxAmount |
N/A |
0 |
The total tax amount for the purchase invoice. If a value is not provided it is calculated. |
|
Amount1099 |
N/A |
0 |
The amount to include on the vendor's 1099 statement. |
|
PaymentTermsKey |
N/A |
Empty |
The payment terms key object that specifies the payment terms for the purchase. |
|
Terms |
N/A |
N/A |
Specifies the payment terms (such as the discount) for the purchase. |
|
CreatedBy |
string |
N/A |
N/A |
The user who created the purchase invoice. This property is read-only. |
TaxScheduleKey |
N/A |
N/A |
The tax schedule key object that identifies the tax schedule for the purchasing company specific to the items being purchased. |
|
FreightTaxBasis |
N/A |
Nontaxable |
Specifies how taxes are calculated on freight for the purchase. |
|
MiscellaneousTaxBasis |
N/A |
Nontaxable |
Specifies how taxes are calculated on miscellaneous costs for the purchase. |
|
FreightTaxScheduleKey |
N/A |
Empty |
The tax schedule key object that identifies the tax schedule to use when calculating tax for the freight amount. |
|
MiscellaneousTax |
N/A |
Empty |
The tax schedule key object that identifies the tax schedule to use when calculating tax for the miscellaneous amount. |
|
FreightTaxAmount |
N/A |
0 |
The freight tax amount. |
|
MiscellaneousTaxAmount |
N/A |
0 |
The miscellaneous tax amount. |
|
CurrencyKey |
N/A |
Empty |
The currency key object that specifies the currency the purchase was transacted in. |
|
ExchangeRate |
decimal |
N/A |
N/A |
The exchange rate of the purchase invoice. Set this value only for multi-currency transactions. If there is triangulation and both rates are fixed, this is the originating to Euro fixed rate. Otherwise this is the variable rate. |
ExchangeDate |
dateTime |
N/A |
N/A |
The exchange date associated with the exchange rate provided. |
VoucherNumber |
string |
20 |
Empty |
The voucher number for the vendor. |
RemitToAddressKey |
N/A |
Defaulted from the vendor |
The address key object that specifies where to remit payment for the purchase. |
|
GeneralLedgerPosting |
dateTime |
N/A |
Empty |
The date that will be used as the posting date in General Ledger. |
PostedDate |
dateTime |
N/A |
N/A |
The date the transaction was posted. |
PostedBy |
string |
N/A |
Set to the user ID who posted the purchase invoice. |
The user who posted the purchase invoice. This property is read-only. |
CreatedDate |
dateTime |
N/A |
System date |
The date the purchase invoice was created. This property is read-only. |
ModifiedDate |
dateTime |
N/A |
System date |
The date the purchase invoice was last modified. This property is read-only. |
TransactionState |
N/A |
N/A |
The state of the purchase invoice. This property is read-only. |
|
AuditTrailCode |
string |
N/A |
N/A |
The internally assigned audit trail code that gets saved on the record at the time the transaction is posted. This property is read-only. |
Distributions |
N/A |
N/A |
The collection of distributions for the purchase invoice. |
|
FreightTaxes |
N/A |
N/A |
The collection of freight taxes for the purchase invoice. |
|
MiscellaneousTaxes |
N/A |
N/A |
The collection of miscellaneous taxes for the purchase invoice. |
|
Taxes |
N/A |
N/A |
The collection of taxes for the purchase invoice. |
|
Lines |
N/A |
N/A |
A collection of purchase invoice lines for the purchase invoice. |