F03B13
transactionReceipts header: one row per customer receipt or draft with the check amount, unapplied balance, bank account, and G/L batch identity.
Receipt-to-invoice application lives in F03B14; a receipt with RYAAP > 0 has cash not yet matched to invoices.
What the badges mean
- Superseded
- Superseded — a newer table has replaced it, but older scripts still read this one.
- Also in JDE World
- Also present in JDE World A9.x on the same table name.
- master
- Data class: what the table holds — master data, transaction documents, control/setup values, history, or a workfile.
- Read/write access
- Access mode: how the paired program reads or writes this table — R (read), W (write), or R/W (both).
Fields
33 fields · 1 key
33 fields.
| Key | Field | Alias | Description | Type | Length | Flags |
|---|---|---|---|---|---|---|
| Primary key | RYPYID | PYID | System-assigned payment ID — the key that receipt detail rows hang off | Numeric | 15 | |
| RYCKNU | CKNU | Receipt or check number from the customer's remittance | String | 25 | ||
| RYAN8 | AN8 | Customer address book number on the receipt | Numeric | 8 | ||
| RYPYR | PYR | Payor address number when someone other than the customer paid | Numeric | 8 | ||
| RYDMTJ | DMTJ | Receipt date — the date the payment was received | Numeric (DD type: Date) | 6 | ||
| RYDGJ | DGJ | G/L date the receipt posts under | Numeric (DD type: Date) | 6 | ||
| RYVLDT | VLDT | Value/cleared date used for cash forecasting and bank reconciliation | Numeric (DD type: Date) | 6 | ||
| RYPOST | POST | G/L posted code; 'D' when the receipt batch has posted | Character | 1 | ||
| RYCTRY | CTRY | Century of the G/L date | Numeric | 2 | ||
| RYFY | FY | Fiscal year of the G/L date | Numeric | 2 | ||
| RYPN | PN | Fiscal period of the G/L date | Numeric | 2 | ||
| RYCO | CO | Company that received the cash | String | 5 | ||
| RYICUT | ICUT | Batch type (RB receipts) | String | 2 | ||
| RYICU | ICU | Batch number the receipt was entered under | Numeric | 8 | ||
| RYDICJ | DICJ | Batch date | Numeric (DD type: Date) | 6 | ||
| RYCKAM | CKAM | Total receipt amount in domestic currency | Numeric | 15 | ||
| RYAAP | AAP | Unapplied portion of the receipt still open against the customer | Numeric | 15 | ||
| RYBCRC | BCRC | Base (domestic) currency of the company | String | 3 | ||
| RYCRRM | CRRM | Currency mode — domestic or foreign entry | Character | 1 | ||
| RYCRCD | CRCD | Currency the receipt was tendered in | String | 3 | ||
| RYCRR | CRR | Exchange rate applied to the receipt; implied decimals vary by setup | Numeric | 15 | ||
| RYERDJ | ERDJ | Date used to retrieve the exchange rate | Numeric (DD type: Date) | 6 | ||
| RYFCAM | FCAM | Receipt amount in the foreign currency | Numeric | 15 | ||
| RYFAP | FAP | Unapplied amount in the foreign currency | Numeric | 15 | ||
| RYGLBA | GLBA | Short account ID of the bank account the cash hit | String | 8 | ||
| RYTYIN | TYIN | Receipt type code distinguishing cash receipts from drafts and logged receipts | Character | 1 | ||
| RYRYIN | RYIN | Payment instrument the customer used (check, EFT, draft) | Character | 1 | ||
| RYALPH | ALPH | Customer name captured at entry, handy for quick lookups without joining F0101 | String | 40 | ||
| RYVDGJ | VDGJ | G/L date of the void when the receipt was voided | Numeric (DD type: Date) | 6 | ||
| RYVRE | VRE | Void reason code | String | 3 | ||
| RYNFVD | NFVD | NSF/void code flagging bounced or reversed receipts | Character | 1 | ||
| RYDKC | DKC | Date the check cleared the bank | Numeric (DD type: Date) | 6 | ||
| RYDDST | DDST | Draft status when the receipt is a draft working through acceptance/collection | Character | 1 |
Field provenance: hand-curated.
Boilerplate SQL
Starting point for reading F03B13 on Databricks — Julian dates, implied decimals, and padded strings are already converted. Set your Unity Catalog location and filter values below; they’re substituted into the SQL and the copy button.
4 parameters not filled: <catalog>, <schema_data>, <DGJ_FROM>, <DGJ_TO>
-- ============================================================
-- Table : F03B13 Receipts header: one row per customer receipt or draft with the check amount, unapplied balance, bank account, and G/L batch identity.
-- Purpose: Column-selected read of F03B13 — auto-generated from field metadata
-- Grain : One row per RYPYID
-- Notes : Auto-generated skeleton. Julian dates (CYYDDD) are converted to DATE and implied-decimal amounts are scaled (verify decimals in F9210); padded business-unit/UDC keys are TRIMmed. Audit columns (…USER/…PID/…UPMJ) are omitted — see the quirks guide. Set catalog/schema to your Unity Catalog location; fill remaining placeholders (<...>) for your tenant.
-- ============================================================
SELECT
f.RYPYID AS "System-assigned payment ID — the key that receipt detail rows hang off",
f.RYCKNU AS "Receipt or check number from the customer's remittance",
f.RYAN8 AS "Customer address book number on the receipt",
f.RYPYR AS "Payor address number when someone other than the customer paid",
CASE WHEN f.RYDMTJ IS NULL OR f.RYDMTJ = 0 THEN NULL ELSE DATE_ADD(MAKE_DATE(1900 + CAST(f.RYDMTJ AS INT) DIV 1000, 1, 1), CAST(f.RYDMTJ AS INT) % 1000 - 1) END AS "Receipt date — the date the payment was received", -- CYYDDD Julian → DATE
CASE WHEN f.RYDGJ IS NULL OR f.RYDGJ = 0 THEN NULL ELSE DATE_ADD(MAKE_DATE(1900 + CAST(f.RYDGJ AS INT) DIV 1000, 1, 1), CAST(f.RYDGJ AS INT) % 1000 - 1) END AS "G/L date the receipt posts under", -- CYYDDD Julian → DATE
CASE WHEN f.RYVLDT IS NULL OR f.RYVLDT = 0 THEN NULL ELSE DATE_ADD(MAKE_DATE(1900 + CAST(f.RYVLDT AS INT) DIV 1000, 1, 1), CAST(f.RYVLDT AS INT) % 1000 - 1) END AS "Value/cleared date used for cash forecasting and bank reconciliation", -- CYYDDD Julian → DATE
f.RYPOST AS "G/L posted code; 'D' when the receipt batch has posted",
f.RYCTRY AS "Century of the G/L date",
f.RYFY AS "Fiscal year of the G/L date",
f.RYPN AS "Fiscal period of the G/L date",
f.RYCO AS "Company that received the cash",
f.RYICUT AS "Batch type (RB receipts)",
f.RYICU AS "Batch number the receipt was entered under",
CASE WHEN f.RYDICJ IS NULL OR f.RYDICJ = 0 THEN NULL ELSE DATE_ADD(MAKE_DATE(1900 + CAST(f.RYDICJ AS INT) DIV 1000, 1, 1), CAST(f.RYDICJ AS INT) % 1000 - 1) END AS "Batch date", -- CYYDDD Julian → DATE
f.RYCKAM / POWER(10, 2) AS "Total receipt amount in domestic currency", -- implied decimals: 2 (verify in F9210)
f.RYAAP / POWER(10, 2) AS "Unapplied portion of the receipt still open against the customer", -- implied decimals: 2 (verify in F9210)
f.RYBCRC AS "Base (domestic) currency of the company",
f.RYCRRM AS "Currency mode — domestic or foreign entry",
f.RYCRCD AS "Currency the receipt was tendered in",
f.RYCRR AS "Exchange rate applied to the receipt; implied decimals vary by setup",
CASE WHEN f.RYERDJ IS NULL OR f.RYERDJ = 0 THEN NULL ELSE DATE_ADD(MAKE_DATE(1900 + CAST(f.RYERDJ AS INT) DIV 1000, 1, 1), CAST(f.RYERDJ AS INT) % 1000 - 1) END AS "Date used to retrieve the exchange rate", -- CYYDDD Julian → DATE
f.RYFCAM / POWER(10, 2) AS "Receipt amount in the foreign currency", -- implied decimals: 2 (verify in F9210)
f.RYFAP / POWER(10, 2) AS "Unapplied amount in the foreign currency", -- implied decimals: 2 (verify in F9210)
f.RYGLBA AS "Short account ID of the bank account the cash hit",
f.RYTYIN AS "Receipt type code distinguishing cash receipts from drafts and logged receipts",
f.RYRYIN AS "Payment instrument the customer used (check, EFT, draft)",
f.RYALPH AS "Customer name captured at entry, handy for quick lookups without joining F0101",
CASE WHEN f.RYVDGJ IS NULL OR f.RYVDGJ = 0 THEN NULL ELSE DATE_ADD(MAKE_DATE(1900 + CAST(f.RYVDGJ AS INT) DIV 1000, 1, 1), CAST(f.RYVDGJ AS INT) % 1000 - 1) END AS "G/L date of the void when the receipt was voided", -- CYYDDD Julian → DATE
f.RYVRE AS "Void reason code",
f.RYNFVD AS "NSF/void code flagging bounced or reversed receipts",
CASE WHEN f.RYDKC IS NULL OR f.RYDKC = 0 THEN NULL ELSE DATE_ADD(MAKE_DATE(1900 + CAST(f.RYDKC AS INT) DIV 1000, 1, 1), CAST(f.RYDKC AS INT) % 1000 - 1) END AS "Date the check cleared the bank", -- CYYDDD Julian → DATE
f.RYDDST AS "Draft status when the receipt is a draft working through acceptance/collection"
FROM <catalog>.<schema_data>.f03b13 f
WHERE
f.RYDGJ >= <DGJ_FROM> -- Julian CYYDDD, e.g. 126001
-- AND f.RYDGJ <= <DGJ_TO> -- Julian CYYDDD, e.g. 126365
ORDER BY f.RYPYID;Verified September 2026
Relationships
Diagram of 1-hop neighbors — join details below. UDC decode edges point coded fields at their F0005 lookup.
Join details
ON f03b13.RYPYID = f03b14.RZPYID
Programs That Use This Table
R read · W write · R/W read + write
Primary programs
- P03B102Standard Receipts Entry — the screen where cash receipts are entered and applied against open invoices, handling short pays, chargebacks, and unearned discounts.Read/write accessInteractive
- R03B551Update Receipts Header — the batch job in the automatic receipts process that turns uploaded bank payment records into unapplied receipt headers ready for matching.Write accessBatch UBE
Secondary programs
- R03B50Apply Receipts to Invoices — the batch job that matches unapplied receipts to open invoices using execution-list algorithms, completing automatic cash application.Read/write accessBatch UBE
- R03B571Create Automatic Debit Batch — the batch job that builds bank files to pull payment directly from customer accounts for open invoices under automatic debit agreements.Write accessBatch UBE
More Accounts Receivable tables
- F03B14Receipts detail: one row per application of a receipt against an invoice pay item, splitting the cash into payment, discount, write-off, chargeback, and deduction amounts.
- F03012Customer master by line of business: one row per customer address number and company holding A/R credit terms, collection settings, sales defaults, and rolled-up invoice history.
- F03B11Customer ledger: one row per invoice pay item carrying gross, open, discount, and tax amounts plus the dates and status codes that drive A/R aging and collections.