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|locked|invoiced: before any instruction the response carries the projected amounts (feesStatus: ESTIMATED, invoiceId: null); once a PROCEED instruction is executed the amounts are fixed (feesStatus: LOCKED, invoiceId: null); once invoiced it carries the billed amounts (feesStatus: INVOICED, invoiceId set).

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": "975.00",
  "components": [
    {
      "type": "OFFICE",
      "amount": "800.00"
    },
    {
      "type": "AGENT",
      "amount": "150.00"
    },
    {
      "type": "RENEWR",
      "amount": "25.00"
    }
  ],
  "feesStatus": "ESTIMATED",
  "isFxRateFrozen": false,
  "regularizedInvoiceId": null,
  "regularizationReason": null
}
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; 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).
feesStatusstringESTIMATED (projected, recomputed live) | LOCKED (fixed when the PROCEED instruction was executed, no invoice yet) | INVOICED (an invoice exists, invoiceId set). One of: ESTIMATED, LOCKED, INVOICED.
isFxRateFrozenbooleanTrue when the FX rate used to compute these fees is frozen.
regularizedInvoiceIdstring or nullLines of a REGULARIZATION invoice only: UUID of the original invoice whose line is regularized. Null on every other line. Format: uuid.
regularizationReasonstring or nullLines of a REGULARIZATION invoice only: NOT_PAYABLE (the original fees are credited) | ANNUITY_ERROR (office and grace fees corrected) | ACCOUNTING_ERROR (invoiced amounts corrected). Null on every other line. One of: NOT_PAYABLE, ANNUITY_ERROR, ACCOUNTING_ERROR.

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.