Sovos Docs

Standard field mappings

The following table lists the SAP field mappings to Tax Determination standard fields in the RFC_CALCULATE_TAXES_DOC.

Table 1. Standard fields
RFC FieldsTax Determination Request FieldNotes
ITEM_POLnItm.lnItmId
POS_NOLnItm.LnItmNm
GROUP_IDN/A
COUNTRYN/A
DIVISIONN/A
PROD_CODEDefault to the prod_code, but if that is null, the connector will use MATNR instead (if it's not null).
MATNRLnItm.goodSrvDefault to the prod_code, but if that is null, the connector will use MATNR instead (if it's not null).
GROUP_PROD_CODEN/A
QUANTITYLnItm.qnty
UNITLnItm.qntyUMCd
APAR_INDLnItm.trnTpAPAR_IND: 'V' = AP ; 'A' = AR If APAR_IND is AR, then trnTp is set to "SALE". If APAR_IND is AP, then trnTp is set to "PURCHASE". If TAX_TYPE is 3, then APAR_IND is either: RENTAL_NO_OPTION_OWN_AR or RENTAL_NO_OPTION_OWN_AP.
TAX_TYPELnItm.trnTpAPAR_IND: 'V' = AP ; 'A' = AR If APAR_IND is AR, then trnTp is set to "SALE". If APAR_IND is AP, then trnTp is set to "PURCHASE". If TAX_TYPE is 3, then APAR_IND is either: RENTAL_NO_OPTION_OWN_AR or RENTAL_NO_OPTION_OWN_AP.
EXEMP_INDN/A
TAX_DATEDoc.docDt
TXJCD_STLnItm.shipTo,LnItm,billTo,LnItm.LSP,LnItm.LU The connector will default all of these values to the TXJCD_ST value. However, the ZZTWE values will take precedence if they are populated.
TXJCD_SF LnItm.shipFrom,LnItm.LOA,LnItm.LORThe connector will default all of these values to the TXJCD_SF value. However, the ZZTWE values will take precedence if they are populated.
TXJCD_POALnItm.LOATakes precedence over TXJCD_SF.
TXJCD_POOLnItm.LORTakes precedence over TXJCD_SF.
AMOUNTLnItm.grossAmtGROSS_AMOUNT takes precedence over AMOUNT if it's not null.
GROSS_AMOUNTLnItm.grossAmtGROSS_AMOUNT takes precedence over AMOUNT if it's not null.
FREIGHT_AM LnItm.grossAmtIf FREIGHT_AM is not null, GROSS_AMOUNT or AMOUNT will be modified.
EXEMPT_AMTN/A
ACCNT_NOLnItm.custrVend
ACCNT_CLSN/A
COST_OBJECTLnItm.specRulesCds
PTP_IND LnItm.mtDlvrCd
EXCERTIFN/A
EXREASONN/A
USER_DATAN/A