Transactions

List transactions

Lists transactions in Anrok. These can be filtered by the time they were last modified or by the filing they are associated with. This endpoint is a premium feature. Please contact hello@anrok.com for more information to enable this on your seller account.

post/v1/seller/transactions/list

Request

  • Base URL: https://api.anrok.com
  • URL: https://api.anrok.com/v1/seller/transactions/list
  • Auth: HTTP bearer

Request body

limitinteger

The maximum number of transactions to return.

cursorstring

The cursor to use for pagination. This is the value of the nextCursor field returned from the previous page.

Example request

{
  "filter": {
    "value": "2025-01-01T00:00:00Z"
  },
  "cursor": "eyJleGFtcGxlIjoidGhpcyBpcyBhbiBleGFtcGxlIGN1cnNvciJ9"
}

Response

OK

nextCursorstring

The cursor to use for pagination.

hasMoreboolean

Whether there are more transactions to fetch.

Example response

{
  "transactions": [
    {
      "id": "stripe:in_1JSW342eZvKYlo2C",
      "anrokCreatedTime": "2025-01-01T00:00:00Z",
      "anrokModifiedTime": "2025-01-02T18:00:00Z",
      "sourceBillingSystem": {
        "name": "stripe",
        "integrationId": "si5kec86tpyt",
        "invoiceId": "in_1JSW342eZvKYlo2C"
      },
      "body": {
        "accountingDate": "2025-01-01",
        "taxDate": "2025-01-01",
        "currencyCode": "USD",
        "customer": {
          "id": "cus_1234567890",
          "name": "John Doe"
        },
        "addresses": [
          {
            "address": {
              "city": null,
              "line1": null,
              "region": "TX",
              "country": "US",
              "postalCode": "10101"
            }
          }
        ],
        "inputAmount": 39800,
        "preTaxAmount": "39800",
        "taxAmountDue": {
          "inclusive": "0",
          "exclusive": "2467.6",
          "total": "2467.6"
        },
        "taxAmountAdded": {
          "expected": 2468,
          "seen": 2468
        },
        "invoiceTotalAmountExpected": 42268,
        "jurisSummaries": [
          {
            "id": "us-TX",
            "name": "Texas",
            "preTaxAmount": "39800",
            "taxAmountDue": {
              "inclusive": "0",
              "exclusive": "2467.6",
              "total": "2467.6"
            },
            "taxIdValidation": {
              "processedTaxIds": [
                {
                  "taxId": "1234567890",
                  "isValid": true
                }
              ]
            }
          }
        ],
        "lineItems": [
          {
            "id": "li_1234567890",
            "product": {
              "internalId": "sp3hgz76gve3",
              "externalId": "PLU1",
              "name": "Product 1",
              "productTaxCategory": {
                "type": "standard",
                "id": "saasBusiness",
                "name": "SaaS - General, B2B"
              }
            },
            "quantity": null,
            "unitPrice": null,
            "inputAmount": 39800,
            "preTaxAmount": "39800",
            "taxAmountDue": {
              "inclusive": "0",
              "exclusive": "2467.6",
              "total": "2467.6"
            },
            "jurises": [
              {
                "id": "us-TX",
                "name": "Texas",
                "calc": {
                  "isRemitting": true,
                  "taxes": [
                    {
                      "id": "",
                      "name": "Texas",
                      "nonTaxableAmount": "7960",
                      "exemptions": [],
                      "taxableAmount": "31840",
                      "rate": "0.0625",
                      "taxAmount": {
                        "inclusive": "0",
                        "exclusive": "1990"
                      }
                    },
                    {
                      "id": "4109000",
                      "name": "Hill County",
                      "nonTaxableAmount": "7960",
                      "exemptions": [],
                      "taxableAmount": "31840",
                      "rate": "0.005",
                      "taxAmount": {
                        "inclusive": "0",
                        "exclusive": "159.2"
                      }
                    },
                    {
                      "id": "2109108",
                      "name": "Aquilla",
                      "nonTaxableAmount": "7960",
                      "exemptions": [],
                      "taxableAmount": "31840",
                      "rate": "0.01",
                      "taxAmount": {
                        "inclusive": "0",
                        "exclusive": "318.4"
                      }
                    }
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  ],
  "nextCursor": "eyJleGFtcGxlIjoidGhpcyBpcyBhbiBleGFtcGxlIGN1cnNvciJ9"
}

Changes

No recorded changes to this operation across all 1 revision of this API.