This endpoint is used for retrieving the information about the reported transaction.

Request example

curl --request GET \
  --url https://api-demo.fonoatech.com/Reporting/v1/Transactions/a459c86de3384fa487da72d892e9ef1b \
  --header 'Accept: application/json' \
  --header 'Ocp-Apim-Subscription-Key: 8b144782eec54b159917c8c4a367d694'

❗️

We recommend using a 1000 ms delay between two identical GET requests.

To see a list of possible HTTP status codes, please click here.

Response example (200 OK)

{
  "id": "a459c86de3384fa487da72d892e9ef1b",
  "status": "Completed",
  "message": null,
  "country_code": "de",
  "currency_code": "eur",
  "payment_type": "cash",
  "supplier_uid": "vnnslef7f6aef4ed68d9875ed932jlfrp",
  "customer_uid": "fsopdfafpsfjsldfjslfsmgbmpgpwooir",
  "operator_uid": "c27485a2ec3d4dc2b53ccf838ac396f9",
  "delivery_date": "2021-01-15T01:00:02+00:00",
  "items": [
    {
      "item_number": 1,
      "product_name": "Delivery service",
      "quantity": 1,
      "unit_of_measure": "pcs",
      "unit_price": 10,
      "tax_rate": 19,
      "net_price": 10
    }
  ],
  "total_net_amount": 10,
  "discount": 0,
  "total_tax_amount": 1.9,
  "total_amount": 11.9,
  "raw_request": "Request sent to tax authority (most probably a signed XML)",
  "raw_response": "Response from tax authority (most probably a signed XML)",
  "created": "2021-01-15T01:00:06.2676206+00:00"
}

📘

Examples of the request and response

Examples of the request in more programming languages are available in the console pane on the right-hand side. After clicking on the ‘Try it’ button, you will get a response.

Language
Authentication
Header
URL
Click Try It! to start a request and see the response here!