Sample messages
Receipt Export
<?xml version="1.0" encoding="UTF-8"?>
<!--Reference to the Fulfill.dtd and its version that is used for initial validation-->
<!DOCTYPE cXML SYSTEM "http://xml.cXML.org/schemas/cXML/1.2.048/Fulfill.dtd">
<!--payloadID: generated id for each ReceiptRequest consisting the creation date of the
invoice (ex: 20220113131700000) and the hostname (ex: proactiscloud.com)-->
<!--timestamp: date when the ReceiptRequest message was generated-->
<!--xml:lang: language of the buying organization-->
<cXML payloadID="[email protected]" timestamp="2023-12-07T23:00:00+0100" xml:lang="nl-NL">
<!--Contains the From, To and Sender information of a receipt-->
<Header>
<!--Reference to the buying organization of the receipt-->
<From>
<Credential domain="NetworkId">
<!--Name of the buying organization-->
<Identity>DomainName</Identity>
</Credential>
</From>
<!--Reference to the Supplier of the receipt using the Supplier number-->
<To>
<Credential domain="NetworkId">
<!--domain: "NetworkId" (Supplier number)-->
<Identity>SUP0005</Identity>
</Credential>
</To>
<!--Reference to the Sender of the ReceiptRequest-->
<Sender>
<Credential domain="NetworkId">
<Identity>Proactis</Identity>
</Credential>
<UserAgent>proactis-eu-agent</UserAgent>
</Sender>
</Header>
<!--deploymentMode: "test" or "production"-->
<Request deploymentMode="test">
<ReceiptRequest>
<!--receiptID: -->
<!--receiptDate: -->
<ReceiptRequestHeader receiptID="Rec_1000002156" receiptDate="2023-12-07T23:00:00">
<!--ProactisDepartmentId: identifier of the department-->
<Extrinsic name="ProactisDepartmentId">A-5000</Extrinsic>
<!--ProactisCostCenterId: identifier of the cost center-->
<Extrinsic name="ProactisCostCenterId">CC001</Extrinsic>
<!--ProactisCostCenterId: ERP ID of the cost center-->
<Extrinsic name="ProactisCostCenterErpId">CC001</Extrinsic>
</ReceiptRequestHeader>
<!--closeForReceiving specifies whether this would be the last receipt for the order-->
<ReceiptOrder closeForReceiving="yes">
<ReceiptOrderInfo>
<!--Proactis order number and order date-->
<OrderReference orderID="00083051" orderDate="2023-12-08T13:05:23">
<DocumentReference payloadID="[email protected]"/>
</OrderReference>
</ReceiptOrderInfo>
<!--line number of the receipt, quantity received and indicator whether receiving is completed for this line -->
<ReceiptItem receiptLineNumber="1" quantity="10.0000" completedIndicator="yes">
<!--order line number-->
<ReceiptItemReference lineNumber="1">
<ItemID>
<!--article number-->
<SupplierPartID>FF1</SupplierPartID>
</ItemID>
<!--short product name-->
<Description xml:lang="nl-NL">
<ShortName>Pen Red</ShortName>
</Description>
<!--contact address information-->
<ReferenceDocumentInfo>
<Contact>
<Name xml:lang="nl-NL"></Name>
<PostalAddress>
<DeliverTo></DeliverTo>
<Street>Damrak 123</Street>
<City>Amsterdam</City>
<State></State>
<PostalCode>1000 AB</PostalCode>
<Country isoCountryCode="NL">Netherlands</Country>
</PostalAddress>
<Email preferredLang="nl-NL"/>
<Phone name="Business">
<TelephoneNumber>
<CountryCode isoCountryCode="NLD"/>
<AreaOrCityCode></AreaOrCityCode>
<Number></Number>
<Extension></Extension>
</TelephoneNumber>
</Phone>
</Contact>
</ReferenceDocumentInfo>
</ReceiptItemReference>
<UnitRate>
<!--currency code and price per unit-->
<Money currency="EUR">10.0000</Money>
<!--unit of measure-->
<UnitOfMeasure>PCE</UnitOfMeasure>
<PriceBasisQuantity quantity="1.0000" conversionFactor="1.0000">
<UnitOfMeasure>PCE</UnitOfMeasure>
</PriceBasisQuantity>
</UnitRate>
<!--received amount times the unit price-->
<ReceivedAmount>
<Money currency="EUR">100.0000</Money>
</ReceivedAmount>
<!--delivery address information-->
<DeliveryAddress>
<Address isoCountryCode="NL">
<Name xml:lang="nl-NL"/>
<PostalAddress>
<DeliverTo></DeliverTo>
<Street>Damrak 123</Street>
<City>Amsterdam</City>
<State></State>
<PostalCode>1000 AB</PostalCode>
<Country isoCountryCode="NL">Netherlands</Country>
</PostalAddress>
<Email preferredLang="nl-NL"/>
</Address>
</DeliveryAddress>
<!--receiving status. status is configured in Proactis-->
<Classification domain="ItemReceivingCondition" code="Delivery is ok">Delivery is ok</Classification>
<!--quantity ordered-->
<Extrinsic name="ProactisOrderedQuantity">10.0000</Extrinsic>
</ReceiptItem>
</ReceiptOrder>
<!--total amount of the received products or goods-->
<Total>
<Money currency="EUR">100.0000</Money>
</Total>
</ReceiptRequest>
</Request>
</cXML>
Receipt Import
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE cXML SYSTEM "http://xml.cXML.org/schemas/cXML/1.2.021/Fulfill.dtd">
<cXML xml:lang="en" payloadID="[email protected]" timestamp="2021-08-06T10:27:32-10:27">
<Header>
<From>
<Credential domain="NetworkId">
<!-- Proactis customer identifier -->
<Identity>Demo</Identity>
</Credential>
</From>
<To>
<Credential domain="NetworkId">
<!-- Proactis supplier identifier -->
<Identity>SUP0005</Identity>
</Credential>
</To>
<Sender>
<Credential domain="NetworkId">
<!-- Proactis customer identifier -->
<Identity>Demo</Identity>
</Credential>
<UserAgent>User Agent</UserAgent>
</Sender>
</Header>
<Request deploymentMode="production">
<ReceiptRequest>
<!-- REQUIRED: Receipt number and receipt date/time -->
<ReceiptRequestHeader receiptID="Receipt001" receiptDate="2023-06-14T12:01:00" />
<!-- REQUIRED: Remove the closeForReceiving=yes attribute in case additional receipts for the order are expected -->
<ReceiptOrder closeForReceiving="yes">
<ReceiptOrderInfo>
<!-- REQUIRED: Proactis order number. Order date doesn't have to match -->
<OrderReference orderID="00070651" orderDate="2023-01-18T09:40:03">
<!-- REQUIRED: Mandatory element for cXML. not used for retrieving the correct order -->
<DocumentReference payloadID="[email protected]"/>
</OrderReference>
</ReceiptOrderInfo>
<!-- REQUIRED: line number of the receipt, quantity received and indicator whether receiving is completed for this line -->
<ReceiptItem receiptLineNumber="1" quantity="1" completedIndicator="yes">
<!-- REQUIRED: Order line number -->
<ReceiptItemReference lineNumber="1">
<ItemID>
<!-- REQUIRED: Article number -->
<SupplierPartID>FF1</SupplierPartID>
</ItemID>
<!-- OPTIONAL: short product name -->
<Description xml:lang="nl-NL">
<ShortName>Article Name</ShortName>
</Description>
</ReceiptItemReference>
<!-- REQUIRED -->
<UnitRate>
<!-- REQUIRED: currency code and price per unit -->
<Money currency="EUR">1.00</Money>
<!-- REQUIRED: unit of measure -->
<UnitOfMeasure>PCE</UnitOfMeasure>
</UnitRate>
<!-- REQUIRED: Not used but mandatory by cXML -->
<ReceivedAmount>
<!-- REQUIRED: Not used but mandatory by cXML. Money value received -->
<Money currency="EUR">1.00</Money>
</ReceivedAmount>
<!-- REQUIRED: Receiving status. Status is configured in Proactis -->
<Classification domain="ItemReceivingCondition" code="Delivery is ok">Delivery is ok</Classification>
</ReceiptItem>
</ReceiptOrder>
<!-- REQUIRED: Not used but mandatory by cXML -->
<Total>
<!-- REQUIRED: Not used but mandatory by cXML. Total receipt value -->
<Money currency="EUR">1.00</Money>
</Total>
</ReceiptRequest>
</Request>
</cXML>