You are here: File Descriptions > Banking > APVFHXXXYYY - BA Voucher Header Temporary File

# APVFHXXXYYY - BA Voucher Header Temporary File

The AP Voucher Form Header Temporary File contains the check and totals information for each voucher that will be output using the BBj Forms Object. The file name contains the company ID (xxx) and a unique sequence number associated with a particular BBj session.

There is one record for each voucher.

| Template: | DIM APVFHXXXYYY:"FORMID:C(8*), VCHRNUM:C(7*), CHKDATE:C(10*), VENDID:C(6*), VENDADD1:C(30*), VENDADD2:C(30*), VENDADD3:C(30*), VENDADD4:C(30*), VENDADD5:C(30*), VENDACCT:C(25*), GRSAMT:C(14*), DEDAMT:C(14*), CHKAMT:C(14*), DEP1ACCT:C(20*), DEP1RCODE:C(9*), DEP1AMT:C(14*), PAGES:N(5*)"

Key Definitions

| Key Number | Field | Description
| 0 | [1:1:8] | Form ID
|  | __________ |
|  | 1 segments |

BA Voucher Header Temporary File

| File Name: | APVFHXXXYYY | Record Size: | 313(392)
| File Type: | Mkeyed - Dynamic | Number of Keys: | 1

| Field | Field Name | Description | A/N | Length | Note
| 1 | FORMID | Form ID | A | 8 |
| 2 | VCHRNUM | Voucher Number | A | 7 |
| 3 | CHKDATE | Check Date (Formatted) | A | 10 |
| 4 | VENDID | Vendor ID | A | 6 |
| 5 | VENDADD1 | Vendor Address Line 1 | A | 30 |
| 6 | VENDADD2 | Vendor Address Line 2 | A | 30 |
| 7 | VENDADD3 | Vendor Address Line 3 | A | 30 |
| 8 | VENDADD4 | Vendor Address Line 4 | A | 30 |
| 9 | VENDADD5 | Vendor Address Line 5 | A | 30 |
| 10 | VENDACCT | Vendor Account Number | A | 25 |
| 11 | GRSAMT | Gross Amount (Formatted | A | 14 |
| 12 | DEDAMT | Discount Amount (Formatted) | A | 14 |
| 13 | CHKAMT | Check Amount (Formatted) | A | 14 |
| 14 | DEP1ACCT | Deposit 1 Account Number | A | 20 |
| 15 | DEP1RCODE | Deposit 1 Routing Code | A | 9 |
| 16 | DEP1AMT | Deposit 1 Amount (Formatted) | A | 14 |
| 17 | PAGES | Number of Pages | N | 5 |