sender, receiver and payer nodes
Parties in the delivery process
There are three parties that are included in ISF for each delivery process, described in
the following nodes (all three nodes are obligatory):
- /sender/ - describes from whom the shipment will be dispatched
- /receiver/ - describes to whom the package will be delivered
- /payer/ - describes who will pay for the packages each with optional attributes:
- @id for internal identification (e.g. sender-123, customer-62 or payer-68),
- @language for notification purposes.
All of these three nodes have a similar structure, the similarities and differences are described
in this chapter. The following nodes are used:
- /external_id/ (optional) - contains a user ID that is used in an external courier system
- /address/ (obligatory) - contains address data for the current party including the following nodes:
- /name/ - the name of the recipient or the contact person for companies
- /company/ - the name of the company
- /country/ - the name of the country in the ISO 3166-1 alpha-2 format (e.g. PL, US, DE)
- /subdivision/ - the name of the subdivision (region, province, state, etc.) in the ISO 3166-2 format (e.g. PL-ZP, US-DC, DE-BB)
- /postcode/ - the postal code
- /city/ - the name of the city
- /address/ - one node for the name of the street, the house/building number, the floor/department/room number to be divided by the courier/broker if necessary
- /telephone/ - the telephone number (only for /sender/ and /payer/, the recipient telephone will be passed in /receiver/contact/)
- /type/ - enables the distinction between “private” (houses and flats) and “business” (companies and pickup points) addresses
- /notifications/ (optional)
There are three types of notifications included in ISF - text (SMS), e-mail and voice (audio) messages. The language used in the notifications depends on the language setting for the /sender/ and the /receiver/ in the particular nodes. The following nodes are designed to facilitate those notifications:
- /text/ - enables text (SMS) messages with the following options:
- use the optional /text/@number attribute to specify a telephone number for notifications (other than the obligatory number in /receiver/contact/telephone/)
- if the courier enables defining the contents of the text notification, the expected text should be passed directly in the /text/ node
- use the optional /text/@type attribute to choose the types of events that result in messages being sent:
- @type=”create” - The shipment has been created in the courier system
- @type=”ship” (default for /receiver/) - The shipment is on the way (has been picked up by the courier or delivered to his facility)
- @type=”courier” - The shipment has been picked up by the delivering driver in the destination city
- @type=”delivery” (default for /sender/) - The shipment has been delivered
- @type=”exception” - There has been an issue with the package which requires customer's attention
- /email/ - enables e-mail notifications with the following options:
- use the optional /email@address attribute to specify an e-mail address for notifications (other than the address in /receiver/contact/email/)
- if the courier enables defining the contents of the e-mail notification, the expected text should be passed directly in the /email/ node
- use the optional /email@type attribute to choose the types of events that result in messages being sent:
- @type=”create” - The shipment has been created in the courier system
- @type=”ship” (default for /receiver/) - The shipment is on the way (has been picked
up by the courier or delivered to his facility) - @type=”courier” - The shipment has been picked up by the delivering driver in the
destination city - @type=”delivery” (default for /sender/) - The shipment has been delivered
- @type=”exception” - There has been an issue with the package which requires customer's attention
- use the /bounce/ node to define the e-mail address for undeliverable notifications in the @address attribute
- /voice/ - enables voice notifications (automated or human) with the optional /voice@number attribute to specify a telephone number for notifications (other than the obligatory number in
- /receiver/contact/telephone/)
Additional nodes are available for the particular parties:
- /sender/
- /return_address/ (optional) - the address for undeliverable packages with the following nodes:
- /name/ - the name of the recipient or the contact person for companies
- /company/ - the name of the company
- /country/ - the name of the country in the ISO 3166-1 alpha-2 format (e.g. PL, US, DE)
- /subdivision/ - the name of the subdivision (region, province, state, etc.) in the ISO 3166-2 format (e.g. PL-ZP, US-DC, DE-BB)
- /postcode/ - the postal code
- /city/ - the name of the city
- /address/ - one node for the name of the street, the house/building number, the floor/department/room number to be divided by the courier/broker if necessary
- /telephone/ - the telephone number
- /type/ - enables the distinction between “private” (houses and flats) and “business” (companies and pickup points) addresses
- /receiver/
- /contact/ (obligatory) - contains details about the person responsible for receiving the package with the following nodes:
- /name/ (optional) - name of the contact person
- /telephone/ (obligatory) - telephone number of the recipient, used as the default number for notifications (if not otherwise specified in /receiver/notifications/)
- /email/ (optional) - e-mail address
- /pickup_point/ (optional) - contains details for pickup points owned by the courier (e.g. own warehouse, service point, paketshop) or owned externally (e.g. a pickup in a shop, or a stationary branch of an online shop) with the following nodes:
- /id/ - contains the unique identification number of the location
- /country/ - the name of the country in the ISO 3166-1 alpha-2 format (e.g. PL, US, DE)/subdivision/ - the name of the subdivision (region, province, state, etc.) in the ISO 3166-2 format (e.g. PL-ZP, US-DC, DE-BB)
- /postcode/ - the postal code
- /city/ - the name of the city
- /address/ - one node for the name of the street, the house/building number, the floor/department/room number to be divided by the courier/broker if necessary.
- /contact/ (obligatory) - contains details about the person responsible for receiving the package with the following nodes:
- /payer/
- /address/tax_id/ - enables passing tax identification number (e.g. NIP, Steuer-IdNr.).
Updated 9 months ago
Did this page help you?