Generate a claim letter PDF for a parcel. The claim letter is created based on the provided items, currency, tax rate, and ticket category, combined with parcel and sender details fetched from the system.
Company details and addresses are auto-populated from the parcel and sender information stored in the system.
Note: Claim letters are currently generated in French only.
Basic Authentication using API key and secrets is currently the main authentication mechanism.
Parcel tracking number
"3SABCD1234567"
List of invoice line items
ISO 4217 currency code
"EUR"
Tax rate percentage (0-99)
0 <= x <= 9921
The type of claim this letter is for
damaged, lost, unjust_return, delivered_not_received Bypasses the maximum invoice amount validation (5000 EUR). Only use this when strictly necessary, as the validation exists to prevent erroneous documents.
Claim letter generated successfully
A token referencing the generated document. Use this token when attaching the document to a ticket (in the attachments array) or when submitting it as part of a requested data response.
Temporary pre-signed URL for previewing or downloading the generated PDF. This URL expires after 72 hours and should not be stored for long-term use.