Retrieves a tax service tracking log with a specified ID.
Tax log retrieved.
id | string (ResourceId) <= 50 characters Unique resource ID. |
status | integer Response code of the HTTP request. |
duration | integer Duration of the HTTP request in milliseconds. |
initiatedTime | string <date-time> Date and time the HTTP request is initiated. |
url | string URL of the tax service endpoint. |
method | string Method of the HTTP request. |
request | string Request body of the HTTP request. |
response | string Response body of the HTTP request. |
object (HttpHeaders) HTTP headers. | |
object (HttpHeaders) HTTP headers. | |
entityId | string ID of the resource associated with the tax service request. |
organizationId | string <= 50 characters Unique organization identifier. An organization is an entity that represents a company. For more information, see Obtain an organization ID. |
taxService | string Name of the tax service used for the request. |
taxServiceCredentialSource | string Source of the credentials that are used to send or retrieve data. |
customerId | string ID of the customer associated with the tax service request. |
Array of objects (SelfLink) Related links. | |
Unauthorized access. Invalid credentials used.
Access forbidden.
Resource not found.
const entry = await api.tracking.getTaxTrackingLog({id: 'foobar-001'}); console.log(entry.fields.eventType);
{- "id": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "status": 0,
- "duration": 0,
- "initiatedTime": "2019-08-24T14:15:22Z",
- "url": "string",
- "method": "POST",
- "request": "string",
- "response": "string",
- "requestHeaders": {
- "Content-Type": "application/json",
- "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
}, - "responseHeaders": {
- "Content-Type": "application/json",
- "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
}, - "entityId": "string",
- "organizationId": "org_0YVDM8RC7GDADADSBSMW124JA8",
- "taxService": "taxjar",
- "taxServiceCredentialSource": "default",
- "customerId": "string",
- "_links": [
- {
- "href": "string",
- "rel": "self"
}
]
}