Templates Overview

Punchout ships protocol-specific template profiles so teams can start from tested defaults instead of manual mapping.

Scope

  • Source fixtures are shipped in app/code/MageB2B/Punchout/etc/mapping/templates/*.json.
  • Templates are synced into Magento on setup:upgrade.
  • Each template has a stable code, protocol, direction, and predefined mapping rules.

OCI

cXML

Template Matrix

Template CodeProtocolDirectionTarget SystemUse CaseDetails
oci_outbound_coreOCIOutboundGenericStandard OCI cart transferOCI and SAP
oci_outbound_extendedOCIOutboundGenericAdditional OCI extension fieldsOCI and SAP
sap_oci_v4_outbound_coreOCI 4.0OutboundSAPSAP OCI 4 baselineOCI and SAP
sap_oci_v5_outbound_coreOCI 5.0OutboundSAPSAP OCI 5 baselineOCI and SAP
sap_oci_v5_outbound_hierarchyOCI 5.0OutboundSAPParent/child and material group flowOCI and SAP
sap_oci_v5_outbound_secureOCI 5.0OutboundSAPFail-fast required mapping setOCI and SAP
cxml_outbound_corecXMLOutboundGenericStandard PunchOutOrderMessagecXML Core
cxml_outbound_level2cXMLOutboundGenericOptional level-2 enrichmentscXML Core
ariba_cxml_outbound_corecXMLOutboundSAP AribaAriba baselineAriba
ariba_cxml_outbound_level2cXMLOutboundSAP AribaAriba level-2 with extrinsicsAriba
ariba_cxml_outbound_level2_strictcXMLOutboundSAP AribaStrict Ariba level-2 enforcementAriba
coupa_cxml_inbound_posr_1_2_014cXML 1.2.014InboundCoupaSetup request normalizationCoupa
coupa_cxml_outbound_poom_1_2_023cXML 1.2.023OutboundCoupaPOOM outbound baselineCoupa
coupa_cxml_outbound_poom_1_2_023_strictcXML 1.2.023OutboundCoupaStrict POOM outboundCoupa
oracle_cxml_outbound_1b_corecXML 1bOutboundOracle ProcurementOracle baselineOracle
oracle_cxml_outbound_1b_core_strictcXML 1bOutboundOracle ProcurementStrict Oracle profileOracle

How to Choose

  1. Pick protocol and direction first (OCI outbound, cXML inbound, or cXML outbound).
  2. Pick target platform pack (generic, SAP, Ariba, Coupa, Oracle).
  3. Start with core for rollout, move to strict only when source data quality is stable.

Found an issue with this documentation? Let us know