Skip to content

Get the fees of a patent event

GET /api/v2/external/patents/{patentId}/events/{eventId}/fees

Authentication: x-api-key header, with the patents:read scope. See Authentication and limits.

Returns the fee breakdown of an event (office, agent, Renewr, grace period), all amounts in the invoice currency as decimal strings. Unified estimated|invoiced: while no invoice exists the response carries the projected amounts (feesStatus: ESTIMATED, invoiceId: null); once invoiced it carries the billed amounts (feesStatus: INVOICED).

Path parameters

NameTypeRequiredDescription
eventIdstringYesThe opaque, stable Renewr UUID of the patent event.
patentIdstringYesThe opaque, stable Renewr UUID of the patent.

Response

200 The fee breakdown of the event.

json
{
  "object": "fees",
  "invoiceId": null,
  "eventId": "9f0d1e7a-3b2c-4d5e-8f6a-7b8c9d0e1f2a",
  "patent": {
    "id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
    "providerId": "ACME-2021-0042"
  },
  "currency": "EUR",
  "total": "1250.00",
  "components": [
    {
      "type": "OFFICE",
      "amount": "800.00"
    }
  ],
  "feesStatus": "ESTIMATED",
  "isFxRateFrozen": false
}
Response fields
FieldTypeDescription
objectstringString describing the object type (auto-description). One of: fees.
invoiceIdstring or nullBack-reference to the invoice these fees belong to. Format: uuid.
eventIdstring or nullPublic UUID of the patent event these fees belong to (trace each fee line back to its event). Format: uuid.
patentobjectThe patent this fee line belongs to: identified both ways (Renewr id + your own reference).
patent.idstring or nullRenewr UUID of the patent. Format: uuid.
patent.providerIdstring or nullThe client's own matching reference for that patent.
currencystringISO 4217 currency code the client is invoiced in.
totalstring or nullTotal of all components, in invoice currency (decimal string).
componentsarray of objectsPer-type fee breakdown (Stripe fee_details style); a component that does not apply is absent (never null). Sums to total.
components[].typestringOFFICE (national office) | AGENT (external agent) | RENEWR (service fee) | GRACE_PERIOD (late surcharge). One of: OFFICE, AGENT, RENEWR, GRACE_PERIOD.
components[].amountstringAmount of this component, in invoice currency (decimal string).
feesStatusstringWhether these amounts are ESTIMATED (projected) or INVOICED (final: an invoice exists). One of: ESTIMATED, INVOICED.
isFxRateFrozenbooleanTrue when the FX rate used to compute these fees is frozen.

Errors

Errors use the application/problem+json envelope with stable machine-readable codes. See the Errors guide.

StatusDescription
400Validation failed (validation_failed): carries per-field errors[] with RFC 6901 JSON Pointers.
401Missing or invalid API key (invalid_api_key), or expired key (api_key_expired).
403API key lacks the required scope (insufficient_scope, with requiredScope extension) or the operation is not enabled for this client (forbidden).
404The resource does not exist in your portfolio (not_found).
429Daily API call limit exceeded (rate_limit_exceeded): the Retry-After header gives the seconds until reset.

Example request

bash
curl "https://api.renewr.example/api/v2/external/patents/$PATENT_ID/events/$EVENT_ID/fees" \
  -H "x-api-key: $RENEWR_API_KEY"

Renewr External API v2. Access on invitation.