Entur Developer
Receipt Partner

Telephone

Telephone model for distribution
countryCode
​string · required

Country code

Example: 47
number
​string · required

Phone number

Example: 61051910

Distribution

Request for sending a receipt to a customer using one or more distribution methods. Will only send email if both email and telephone are provided. To send sms, leave email as null.
email
​string

Email to receive receipt

Example: example@entur.org
​Telephone

Telephone model for distribution

SendReceiptRequest

Request for sending a sale receipt to a customer using one or more distribution methods
orderId
​string · required

Order id to generate receipt

Example: 1234567890
orderVersion
​integer · int32 · required

Which version of the order that should be used to generate a receipt

Example: 1
​Distribution · required

Request for sending a receipt to a customer using one or more distribution methods. Will only send email if both email and telephone are provided. To send sms, leave email as null.

receiptLanguage
​string

Desired language of the receipt. Currently only supporting 'nob' and 'eng'

Example: nob
Default: nob
serialNumber
​string

The desired serial number for the receipt

copyReceipt
​boolean

Set to true when the receipt is a copy.

UserReceiptResponse

Response from a accepted receipt request.
reference
​string · required

Reference to receipt

Example: a49f7259-7285-42ce-b7b0-e48a77fbfb39

ApiError

timestamp
​string · date-time · required
status
​integer · int32 · required
error
​string · required
exception
​string · required
message
​string · required
path
​string · required
title
​string

Short, human-readable summary of the problem

ReceiptType

string · enum
Enum values:
SALE
REFUND
CANCEL
CHANGE
DAY_SUMMARY

Type of receipt

Example: SALE

ReceiptTypeResponse

Response from a successful type query.
receiptType
​ReceiptType · enum

Type of receipt

Enum values:
SALE
REFUND
CANCEL
CHANGE
DAY_SUMMARY
Example: SALE
Did you find what you were looking for?