---
sourceDocument: Australia Finance and Supply Chain
sourceDocumentLink: https://www.servicenow.com/docs/r/australia/source-to-pay-operations

 Release :

    - australia

ft:locale :

    - en-US

ft:publication_title :

    - Australia Finance and Supply Chain

ft:clusterId :

    - stpop

bundleId :

    - stpop

workflow :

    - Employee


---

# Punchout cXML extension points

# Punchout cXML extension points {#ariaid-title1}

Release version: Australia  
Updated November 5, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read  
Use the PunchoutRequestBuilder and PunchoutResponseParser scripted extension points to
customize the cXML requests that are sent to a punchout supplier and how the cXML responses
from that supplier are parsed.

Each punchout supplier can have its own implementation of an extension point. For a punchout transaction, the system looks for an implementation whose `getSupplierId` method returns the ID of that punchout supplier.
If it finds one, it uses the first matching implementation. If it does not find one, it uses the default implementation.
{#punchout-cxml-extension-points__table_punchout_cxml_ext_points__entry__4}

| Extension point | What it controls | Methods to implement | Default implementation |
|-|-|-|-|
| `sn_spend_intg.PunchoutRequestBuilder` | How the punchout setup request and the punchout order request are built and sent to the supplier. | * `getSupplierId` * `sendPunchoutSetupRequest(payload, sku)` * `sendPunchoutOrderRequest(orderId)` | `DefaultPunchoutRequestBuilder` |
| `sn_spend_intg.PunchoutResponseParser` | How the cXML responses and messages from the supplier are parsed. | * `getSupplierId` * `parsePunchoutSetupResponse(xmlResponse)` * `parsePunchoutOrderMessageResponse(params)` * `parsePunchoutOrderConfirmationResponse(xmlResponse)` * `parsePunchoutShippingConfirmationResponse(xmlResponse)` | `DefaultPunchoutResponseParser` |
[Table 1. Punchout cXML extension points]

{#punchout-cxml-extension-points__table_punchout_cxml_ext_points}  
Note:  
The `initialize` method of your implementation must return the object that implements the methods. The system calls the methods on the object that `initialize` returns.  
Note:  
For `parsePunchoutOrderMessageResponse`, the `params` argument contains the form fields that the supplier site posts, such as `cxml-urlencoded` or `cxml-base64`. The method must return an object that contains the `canvas` value. SPO uses the `canvas` value to decide where to redirect the shopper after the return from the supplier site.

To create an implementation, create a script include and an extension instance for the extension point, as described in [Create script include for punchout supplier products](https://www.servicenow.com/docs/w6ZIjDr7Ej6RY7tXX9J8Ew#create-script-include-supplier "Create script include that enables you to display all the products details for the punchout supplier in Shopping Hub.") and [Create extension instance for the scripted extension point](https://www.servicenow.com/docs/w6ZIjDr7Ej6RY7tXX9J8Ew#create-ext-instance-product-api "Create an extension instance to associate the punchout supplier's script include with the sn_spend_intg.ThirdPartySystemApiExtension scripted extension point."). Use the default implementation as a starting point.

For the extension point that controls how product details from a punchout supplier are displayed in Shopping Hub, see [Configure extension point for Product search API](https://www.servicenow.com/docs/w6ZIjDr7Ej6RY7tXX9J8Ew#configure-ext-point-punchout "The sn_spend_intg.ThirdPartySystemApiExtension scripted extension point provides the configuration that punchout suppliers can use to ensure that all details about their product, such as product's name, brand, manufacturer, price, availability, SKU, and so on, is displayed in Shopping Hub.The sn_spend_intg.ThirdPartySystemApiExtension scripted extension point enables Shopping Hub to search a punchout supplier's catalog through the supplier's search API and to display the product details that the supplier returns, such as name, price, SKU, and image.").

