Frequently asked questions
Questions integration partners typically ask before they start building.
Access
How do I get a test subscription key and a test policy?
Request them from PetExpert integration support (<SUPPORT_EMAIL>). You receive a test subscription key per API, a test clinic login and at least one test policy number with an active vet benefit. See Getting started.
Where are the exact schemas of AddNewClaim, AddNewIncident, CancelIncident, ConfirmIncident and GetIncidentStatus?
In the Claim API reference. Every method shows the request and response schema, the mandatory fields and examples for every result code. The OpenAPI file can be downloaded as YAML or JSON and imported into Postman or a code generator.
What are the values of claimType, causeType, incidentCause, documentType and itemType?
causeType:1illness,2accident / injury (any other value counts as accident / injury).items[].type(legacyitemType):1material,2treatment,3other services,4medication,5food,6administration,7other.claimType: not an input in v2. PetExpert sets it.incidentCauseanddocumentType: response-only localized labels inGetIncidentDetail. Display them but do not parse them. API incidents have the document typeVetNet.
Full lists: Code lists.
Data formats
What are the maximum lengths of claimName, detail, incidentDetail, itemName and itemNote?
| Legacy name | v2 field | Maximum |
|---|---|---|
claimName | claimName | 200 (longer is truncated) |
detail | description | 10,000 (longer is truncated) |
incidentDetail | incident.medicalReport (or incident.comment) | 10,000 (longer is truncated) |
itemName | items[].name | <ITEM_NAME_MAX_LENGTH>; 200 is safe |
itemNote | items[].itemNote | <ITEM_NOTE_MAX_LENGTH>; 2,000 is safe |
What date format and timezone are used?
Send dates as yyyy-MM-dd (ISO 8601 date, no time). Responses use yyyy-MM-dd.
The server runs in UTC; the incident start date is set by the server to the submission time.
clinicalSignsFrom must be present (a date or an empty string, not null) but is currently not stored.
visitDate defaults to today and is only used for the default incident name.
Human-readable texts in resultText use the market's local date format (for example d.m.yyyy in CZ/SK).
Amounts: with or without VAT? Which currency? Which decimal separator?
- Decimal separator: amounts are JSON numbers with a dot, for example
1250.50. Do not send strings or commas. - Currency: always the market currency: CZK (CZ), EUR (SK, BE), PLN (PL). It cannot be chosen;
currencyin the response confirms it. Do not send EUR amounts to the CZ market. - VAT: <VAT_RULE>. Until confirmed, send the amount the customer is invoiced for that line.
basePrice,taxAmountandtaxRatePctare accepted but not stored. - Line total:
amountis the total for the line (quantity x unit price after discounts).quantityandunitPriceare informational;quantitymust be a JSON integer. claimedin the response is the sum of theamountvalues;coveredis what PetExpert pays.
What do xBankingSS, separateSettlement, preventionComply, treatmentComply and lastIncident mean?
| Field | Status in v2 |
|---|---|
xBankingSS | Legacy bank-reference field. Not supported. The closest v2 field is incident.externalid (your invoice ID), which is accepted but not stored. |
separateSettlement | Response only (GetIncidentDetail): the incident has its own settlement. Always true for API incidents. Nothing to send. |
preventionComply | Not supported. Do not send. |
treatmentComply | Set to true by the server for every API incident. Nothing to send. |
lastIncident | Response only: the incident closes the claim. Always false for API incidents; PetExpert closes claims. |
Is partnerID the value from GetAccount?
Yes. partnerID is the PetExpert provider code of the clinic, derived from the clinic login.
GetAccount returns it. You never need to send it when submitting claims; the server ignores a partnerID in the request.
It is required only as partnerId in GetIncidentList.
Methods
Are GetPolicyByChipNr and GetLastResult available?
GetPolicyByChipNris available again in Claim API v3. SendchipNrand use the returnedpolicyNumberwithGetActivePolicy.GetLastResultis discontinued. UseGetIncidentStatusfor one incident, orGetIncidentListfor all incidents of the clinic.
Can I cancel an incident that is already settled?
CancelIncident is allowed while the settlement is New (1), Processing (856900000) or Confirmed (856900001).
It is refused with 420 when the settlement is Paid (856900003), Rejected/Cancelled (856900002, 856900004) or Inactive (2), or when no settlement exists.
A paid incident must be corrected by contacting PetExpert. If the cancellation cannot be saved, the response contains only trace; retry later.
Does PetExpert detect duplicate submissions?
No. Every AddNewClaim and AddNewIncident call creates new records, even with identical content, and externalid is not used for matching.
Store the returned claim and incident numbers on the invoice and never resubmit an invoice that has them.
After a timeout, check GetOpenClaims / GetIncidentList before resubmitting.
See Avoiding duplicate claims.
How do I create an express policy?
Call the Policy API AddNewPolicy with "policy": { "type": "ex" }, the clinic's userName / password, the animal and the customer.
Do not send productcode or price. Without type: "ex" a standard policy that waits for payment is created instead.
Older documents call this AddEdoPolicy. See Express policy.
Operations
What are the rate limits and timeouts?
- Server processing limit: 120 seconds. Set your client timeout to at least 120 seconds for claim submissions.
- A synchronous
AddNewClaim/AddNewIncidentusually takes 8-20 seconds (it waits about 5 seconds for automatic settlement). Useasync: trueif that is too long and pollGetIncidentStatus. - Rate limits: <RATE_LIMITS>. Exceeding them returns HTTP
429. Poll an incident no more often than every 10 seconds.
What is the production URL and how does onboarding work?
Production Claim API URLs depend on the market (for example https://api.petexpert.eu/cz-claim/v3 for Czech Republic). See Going to production and the Environments table.
Onboarding: <ONBOARDING_PROCESS_AND_CONTACT>.
See Going to production.
Can we store the clinic's PetExpert login, submit each invoice as AddNewClaim and book the covered amount as an insurance payment?
Yes, that is the intended integration. Store the clinic credentials encrypted per clinic and submit each new event as AddNewClaim.
Follow-up visits of the same event go to AddNewIncident on the existing claim.
Book covered only when statusCode is 856900001 (Confirmed) or 856900003 (Paid), and only when directPay is true.
The customer pays claimed - covered plus any items you did not submit.
Details: Claim workflow.
