Retrieve transaction

Use this request to retrieve the record for a specified transaction.

To retrieve the transaction's record, use a GET method and the following URL:

https://services.taxamo.com/api/v2/transactions/:key

where :key is the Transaction Key of the transaction you want to retrieve.

For example:

$ curl -H "Private-Token: priv_***********" 'https://services.taxamo.com/api/v2/transactions/TYGYAAAABWvKsHyzI67tUz1As6Bc'

Details

TypeValue
Endpoint/api/v2/transactions/:key
MethodGET
API ReferenceRetrieve transaction

Query Parameters

ParameterDescription
private_tokenPrivate token.
keyThe Transaction Key.

Example Response

The following is an example of the information that is returned after a successful request:

{
  "transaction": {
    "order_date": "2015-02-02T00:00:00Z",
    "status": "N",
    "buyer_name": "",
    "deducted_tax_amount": 0,
    "manual": true,
    "custom_fields": null,
    "transaction_lines": [
      {
        "line_key": "THdzq2QNFMmS1_7N",
        "custom_id": "1",
        "quantity": 1,
        "product_type": "default",
        "total_amount": 123.00,
        "amount": 100.00,
        "tax_amount": 23.00,
        "line_num": 1,
        "tax_name": "European VAT",
        "tax_rate": 23,
        "unit_price": 100.00
      }
    ],
    "create_timestamp": "2015-02-02T10:23:40Z",
    "key": "TYGYAAAABWvKsHyzI67tUz1As6Bc",
    "test": true,
    "tax_country_code": "IE",
    "tax_timezone": "GB",
    "invoice_address": {

    },
    "currency_code": "EUR",
    "total_amount": 123.00,
    "amount": 100.00,
    "tax_amount": 23.00,
    "evidence": null,
    "invoice_date": "2015-02-02T00:00:00Z",
    "additional_currencies": {
      "invoice": {

      }
    },
    "billing_country_code": "IE",
    "tax_entity_name": "Ireland",
    "update_timestamp": 1422872620077,
    "invoice_place": "Killorglin232323",
    "tax_supported": true,
    "supply_date": "2015-02-02T00:00:00Z"
  }
}