| Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both | 
|---|
| mnDocvoucherinvoicee | DOC | MATH_NUMERIC | NONE | NONE | 
| A number that identifies the original document, such as a voucher, invoice, or journal entry. On entry forms, you can assign the document 
number or let the system assign it using the Next Numbers program (P0002). Matching document numbers (DOCM) identify related documents
 in the Accounts Receivable and Accounts Payable systems. Examples of original and matching documents are:
Accounts Payable  
  o
 Original document - voucher  
  o Matching document - payment 
Accounts Receivable  
  o Original document - invoice  
  o Matching document -
 receipt 
Note: In the Accounts Receivable system, the following transactions simultaneously generate original and matching documents:
 deductions, unapplied receipts, chargebacks, and drafts.
 | 
| szDocumenttype | DCT | char | NONE | NONE | 
| A user defined code (00/DT) that identifies the origin and purpose of the transaction.  PeopleSoft reserves several prefixes for document 
types, such as, vouchers, invoices, receipts, and timesheets. The reserved document type prefixes for codes are:
P
Accounts payable
 documents
R
Accounts receivable documents 
T
Time and Pay documents
I
Inventory documents 
O
Purchase order documents 
S
Sales order
 documents
 | 
| szCompanykey | KCO | char | NONE | NONE | 
| A number that, with the document number, document type and G/L date, uniquely identifies an original document, such as invoice, voucher, 
or journal entry.
If you use the Next Numbers by Company/Fiscal Year feature, the Automatic Next Numbers program (X0010) uses the
 document company to retrieve the correct next number for that company.
If two or more original documents have the same document number and
 document type, you can use the document company to locate the desired document.
 | 
| szDocumentpayitem | SFX | char | NONE | NONE | 
| A number that identifies the pay item for a voucher or an invoice. The system assigns the pay item number. If the voucher or invoice has 
multiple pay items, the numbers are sequential.
 | 
| mnPayitemextensionnumber | SFXE | MATH_NUMERIC | NONE | NONE | 
| A code to designate an adjusting entry to a pay item on a voucher or invoice. This field is required so that each record is unique. | 
| mnAmountopen | AAP | MATH_NUMERIC | NONE | NONE | 
| The amount of an invoice or voucher pay item that is unpaid. | 
| jdDateduejulian | DDJ | JDEDATE | NONE | NONE | 
| In Accounts Receivable, the date that the net payment is due.
In Accounts Payable, the date that the payment is due to receive a discount 
or, if no discount is offered, the net due date.
The system calculates the due date based on the payment term entered, or you can enter it
 manually. If you enter a negative voucher or invoice (debit or credit memo), the system might use the G/L date as the due date regardless of the
 payment term entered. A processing option in the master business function (P0400047 for vouchers and P03B0011 for invoices) controls how
 the system calculates the due date for debit and credit memos.
 | 
| mnAmountGross | AG | MATH_NUMERIC | NONE | NONE | 
| A value that specifies the total amount of the invoice or voucher pay item. The gross amount might include the tax amount, depending on 
the tax explanation code. The system does not decrease the gross amount when payments are applied. When you void a transaction, the
 system clears the gross amount field.
 | 
| szVendorInvoiceNumber | VINV | char | NONE | NONE | 
| The supplier's invoice number that is used for voucher entry. Voucher entry allows only one invoice per voucher number. If multiple invoice 
numbers exist on a voucher, you must set them up as multiple vouchers or combine the invoices and enter them as one voucher. Depending
 on how you have your accounts payable constants set, the system can do one of the following:
  o  Accept a duplicate invoice number
 without warning or error
  o  Generate a warning message in which the duplicate invoice number can still be accepted
  o  Generate an error
 message
Blank values are treated in the same manner as any other invoice number. Two blank invoice numbers are treated as duplicates.
To test
 for duplicate invoice numbers that might have been entered in error, run the Suspected Duplicate Payments report (R04601).
Note: The
 duplicate invoice number validation is not run for vouchers with document type NO. These vouchers are created by the Generate Reimbursements
 program (R03B610).
 | 
| szCurrencyCodeFrom | CRCD | char | NONE | NONE | 
| A code that identifies the currency of a transaction. 
 | 
| mnForeignGrossAmount | ACR | MATH_NUMERIC | NONE | NONE | 
| The foreign currency amount entered on the transaction. If the Multi-Currency Conversion option on the General Accounting constants is set 
to Y, the foreign amount is multiplied by the exchange rate to arrive at the domestic amount. If the Multi-Currency Conversion option is set to Z,
 the foreign amount is divided by the exchange rate.
 | 
| mnAmountForeignOpen | FAP | MATH_NUMERIC | NONE | NONE | 
| The unpaid foreign amount of a transaction. | 
| jdDateInvoiceJ | DIVJ | JDEDATE | OPT | NONE | 
| The date that either you or the system assigns to an invoice or voucher. This can be either the date of the supplier's invoice to you or the 
date of your invoice to the customer.
 | 
| jdDateForGLandVoucherJULIA | DGJ | JDEDATE | OPT | NONE | 
| A date that identifies the financial period to which the transaction will be posted. You define financial periods for a date pattern code that you 
assign to the company record. The system compares the date that you enter on the transaction to the fiscal date pattern assigned to the
 company to retrieve the appropriate fiscal period number, as well as to perform date validations.
 |