The following table lists the mappings of SAP fields to Global Tax Determination (GTD) standard fields in the RFC_CALCULATE_TAXES_DOC:
| RFC Fields | GTD Request Field | Notes | 
| ITEM_PO | LnItm.lnItmId | |
| POS_NO | LnItm.LnItmNm | |
| GROUP_ID | N/A | |
| COUNTRY | N/A | |
| DIVISION | N/A | |
| PROD_CODE | Default to the prod_code, but if that is null, theAdapter will use matnr instead (if it’s not null). | |
| MATNR | LnItm.goodSrv | Default to the prod_code, but if that is null, theAdapter will use matnr instead (if it’s not null). | 
| GROUP_PROD_CODE | N/A | |
| QUANTITY | LnItm.qnty | |
| UNIT | LnItm.qntyUMCd | |
| APAR_IND | LnItm.trnTp | APAR_IND: ‘V’ = AP ; ‘A’ = ARIf APAR_IND is AR, then trnTp is set to“SALE”. If APAR_IND is AP, thentrnTp is set to “PURCHASE”. IfTAX_TYPE is 3, then APAR_IND is either:RENTAL_NO_OPTION_OWN_AR orRENTAL_NO_OPTION_OWN_AP. | 
| TAX_TYPE | LnItm.trnTp | APAR_IND: ‘V’ = AP ; ‘A’ = ARIf APAR_IND is AR, then trnTp is set to“SALE”. If APAR_IND is AP, thentrnTp is set to “PURCHASE”. IfTAX_TYPE is 3, then APAR_IND is either:RENTAL_NO_OPTION_OWN_AR orRENTAL_NO_OPTION_OWN_AP. | 
| EXEMP_IND | N/A | |
| TAX_DATE | Doc.docDt | |
| TXJCD_ST | LnItm.shipTo,LnItm,billTo,LnItm.LSP,LnItm.LU | The Adapter will default all of these values tothe TXJCD_ST value. However, the ZZTWE values below will take precedence if they arepopulated. | 
| TXJCD_SF | LnItm.shipFrom,LnItm.LOA,LnItm.LOR | The Adapter will default all of these values tothe TXJCD_SF value. However, the ZZTWE values below will take precedence if they arepopulated. | 
| TXJCD_POA | LnItm.LOA | Takes precedence over TXJCD_SF. | 
| TXJCD_POO | LnItm.LOR | Takes precedence over TXJCD_SF. | 
| AMOUNT | LnItm.grossAmt | GROSS_AMOUNT takes precedence overAMOUNT if it’s not null. | 
| GROSS_AMOUNT | LnItm.grossAmt | GROSS_AMOUNT takes precedence overAMOUNT if it’s not null. | 
| FREIGHT_AM | LnItm.grossAmt | If FREIGHT_AM is not null,GROSS_AMOUNT or AMOUNT will be modified. | 
| EXEMPT_AMT | N/A | |
| ACCNT_NO | LnItm.custrVend | |
| ACCNT_CLS | N/A | |
| COST_OBJECT | LnItm.specRulesCds | |
| PTP_IND | LnItm.mtDlvrCd | |
| EXCERTIF | N/A | |
| EXREASON | N/A | |
| USER_DATA | N/A |