How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Anrok Transactions API

This documentation describes how to use Anrok's Transactions API to synchronize transactions between Anrok and your billing system, as well as calculate sales tax for new invoices. Use of this API is generally recommended for sellers with custom billing systems or workflows that prevent you from using one of our pre-built platform integrations. Sellers utilizing Stripe Subscriptions or Checkout may also use this API to calculate and add tax on initial invoices, while continuing to use Anrok's Stripe integration to manage tax for subsequent billing cycles.# Invoice lifecycle1. When an invoice is created: the billing system should call the `createEphemeral` endpoint to calculate the sales tax amount.1. When an invoice is updated: same as above.1. When an invoice is finalized and ready to send to the customer: the billing system should call the `createOrUpdate` endpoint so that the transaction is recorded in Anrok.1. When an invoice is paid: Anrok does not need to be notified. Sellers are required to remit sales tax to a state upon invoice, not receipt of payment.While the above covers a standard invoice lifecycle, the Transactions API also includes endpoints for exceptional states like voiding and negating invoices, which are described below.

Anrok Transactions API is one of 6 APIs that Anrok publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 1 JSON Schema definition.

Tagged areas include Transaction. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a JSON-LD context, and 1 JSON Schema.

This API exposes 5 operations across 5 paths, and defines 24 schemas. It is described by OpenAPI 3.2.0, at version 1.1.

Requests are made against a single base URL, https://api.anrok.com.

5 operations 5 paths 24 schemas 5 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.1
Base URL
https://api.anrok.com
Authentication
HTTP Bearer
Terms of Service
Resource Areas
1

Authentication & Security 1

Anrok Transactions API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (http). By default, every request must be authenticated.

  • http — The Anrok API uses API keys to authenticate requests. You can view and manage your API keys in [Anrok](https://app.anrok.com/-/api-keys). Use an Authorization…

Paths & Operations 5

Across 5 paths, the API surfaces 5 operations — 5 POST. Each is listed below with its method, path, parameters, and response codes.

Transactions 5

This documentation describes how to use Anrok's Transactions API to synchronize transactions between Anrok and your billing system, as well as calculate sales tax for new invoices…

POST
/v1/seller/transactions/createOrUpdate
Create or update transaction
transactionsCreateOrUpdate body → 200400409429
POST
/v1/seller/transactions/createEphemeral
Create ephemeral transaction
transactionsCreateEphemeral body → 200400409429
POST
/v1/seller/transactions/createNegation
Create negation
transactionsCreateNegation body → 200400409429
POST
/v1/seller/transactions/id:{transactionId}/void
Void transaction
transactionsVoid 1 param body → 200409429
POST
/v1/seller/transactions/list
List transactions
transactionsList body → 200400409429

Schemas 24

The contract defines 24 schemas that model the data the API accepts and returns. The most detailed are NormalTransactionBody (12 properties), Transaction (10 properties), LineItem (8 properties), LineItemJurisTax (7 properties). Each schema is shown below with its type and property counts.

LineItem
object
Line item details
8 properties
CreateEphemeralTransaction
FilingInfoFilter
object
2 properties
LineItemJurisTax
object
Taxes for a line item for a jurisdiction or region.
7 properties
CreateOrUpdateTransaction
JurisSummary
object
Summary of the tax amount due and tax ID validation for a jurisdiction.
5 properties
LastModifiedAfterFilter
object
2 properties
NormalTransactionBody
object
12 properties
CreateTransactionCannotUpdate
object
Error updating transaction
1 property
TransactionLineItem
object
5 properties 2 required
CustomerId
string
The Anrok customer ID used to link transactions for the same customer and to look up tax exemption certificates for a customer. This is typically the billing s…
Transaction
object
10 properties 3 required
NotTaxedReason
object
2 properties
CreateEphemeralTransactionSuccess
object
4 properties
CustomerName
string
The name of the customer. This is used for display purposes only.
TaxAmountDue
object
The tax amount due in the smallest denomination of the currency (e.g. cents or pennies).
3 properties
CommonTransactionProperties
object
4 properties
VoidedTransactionResponse
object
Voided transaction
NormalTransactionResponse
object
Normal transaction
CustomerTaxId
object
The customer VAT registration number for a non-US country
2 properties 2 required
CreateTransactionCannotComputeTaxAmount
object
Error computing tax amount to be collected
2 properties
CustomerLegacyUsOnlyAddress
object
5 properties 1 required
CustomerAddress
object
5 properties
CreateOrUpdateTransactionSuccess

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

anrok-transactions-api-openapi.yml Raw ↑

Other APIs Anrok publishes across the network.

Anrok Customer certificates API
Anrok Filings API
Anrok Product mappings API
Anrok Products API
Anrok Tax ID validation API
Where this information came from

This is an independent, third-party profile of Anrok Transactions API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.