Find discounts available for the receipt
customer_id will be used to find active discounts for the purchase.customer.token will be used to resolve customer_id if no customer_id is provided.customer_id and no customer.token will only be applicable for
active discounts given to /
(see)eligible_for_discount set to enable for discountgross_amount to qualify for discountnet base discount reward requires the receipt to include existing
discounts as discount_lines (on item) in order to calculate netA receipt that qualified for discount will have the is_change
property set to true. Any items that has received a discount will be
flagged by is_change and have one or more new entries to its
discount_lines.
The receipt discounts list will be populated with all discounts the
receipt is qualified to receive
scopes:
Documentation Index
Fetch the complete documentation index at: https://docs.dintero.com/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication (token authentication) should be used for accessing the API.
Use Get Token to get an access token for client credentials. Pass the token in the request header:
Authorization: Bearer {access_token}where the access_token is JSON Web Tokens (JWT).
An id that uniquely identifies the account.
9receipt
"714118"
The date and time for the receipt purchase
List all discounts referenced in discount_lines
Details for the delivery
The customer id identifying the customer. (must not have trailing or leading spaces)
255"C13db4f63"
The customer, owner of the receipt
Monetary amount in smallest unit for the currency before discounts
59800
Monetary amount in smallest unit for the currency before discounts with decimal
"59800.01"
Monetary amount in smallest unit for the currency after discounts
47840
Monetary value in smallest unit for the currency after discounts with decimal
"47840.01"
100
The three-character ISO-4217 currency. https://en.wikipedia.org/wiki/ISO_4217
"NOK"
"order12345"
How much more need to be paid before the transaction is completed. Monetary amount in smallest unit for the currency
2050
Monetary value with decimal
"2050.10"
How many items did the customer buy
4
Discount applied to gross amount
"SC999-9991-1828"
0
Monetary amount in smallest unit for the currency
0
0
POS user
"000210"
Name of the POS user
"Ole Anders"
ID of the POS user
"000111"
"Jesper"
Status for the transaction
None, Voided, Posted, Concluded, Cancelled, OnHold, Training, Reprinted "Kunden ønsker mer for info"
Breakdown of the tax to different tax groups
Receipt with discount
"714118"
The date and time for the receipt purchase
An UUID that uniquely identifies the resource
The date-time when the resource was created
The ID of the user/client created the resource
"1c92f7e1-2897-4d46-bdcc-c127a914fb4e"
The date-time when the resource was last updated
The ID of the user/client created the resource
"1c92f7e1-2897-4d46-bdcc-c127a914fb4e"
List all discounts referenced in discount_lines
Details for the delivery
The customer id identifying the customer. (must not have trailing or leading spaces)
255"C13db4f63"
The customer, owner of the receipt
Monetary amount in smallest unit for the currency before discounts
59800
Monetary amount in smallest unit for the currency before discounts with decimal
"59800.01"
Monetary amount in smallest unit for the currency after discounts
47840
Monetary value in smallest unit for the currency after discounts with decimal
"47840.01"
100
The three-character ISO-4217 currency. https://en.wikipedia.org/wiki/ISO_4217
"NOK"
"order12345"
How much more need to be paid before the transaction is completed. Monetary amount in smallest unit for the currency
2050
Monetary value with decimal
"2050.10"
How many items did the customer buy
4
Discount applied to gross amount
"SC999-9991-1828"
0
Monetary amount in smallest unit for the currency
0
0
POS user
"000210"
Name of the POS user
"Ole Anders"
ID of the POS user
"000111"
"Jesper"
Status for the transaction
None, Voided, Posted, Concluded, Cancelled, OnHold, Training, Reprinted "Kunden ønsker mer for info"
Breakdown of the tax to different tax groups