Cases

Upload a file to a case

Uploads a file and associates it with a case.

File requirements:

  • Maximum file size: 25MB
  • Allowed file types: PDF (.pdf), Excel (.xls, .xlsx), CSV (.csv), Text (.TXT), Images (.jpg, .jpeg, .png, .gif)

The file will be stored securely and associated with the specified case.

Document type (optional, case-insensitive). Omit it when you do not know it; the file is then stored as not specified.

  • OriginalInvoice - Invoice or credit note
  • AccountStatement - Statement of account
  • Contract - Contract or agreement
  • TermsAndConditions - Terms and conditions
  • ProofOfDelivery - Order or proof of delivery
  • DemandLetter - Reminder or demand letter
  • Correspondence - Correspondence with the debtor
  • PaymentProof - Proof of payment
  • CourtDocument - Court or legal document
  • IdentityDocument - Identity document
  • Miscellaneous - Other

Still accepted for existing integrations: DebtorDocuments, CreditorDocuments, PartnerDocuments. Any other value is rejected with 400 and error InvalidDocumentType.

post/cases/{id}/files

Request

  • Base URL
    https://customer-api.debitura.com
  • URL
    https://customer-api.debitura.com/cases/{id}/files
  • Auth
    • API key in header XApiKey
    • or HTTP bearer

Path parameters

idstring uuid required

Request body multipart/form-data

Descriptionstring
DocumentTypestring
Filestring binary required

Response

File uploaded successfully

idstring uuid
dateCreatedstring date-time
dateUpdatedstring date-time
caseIdstring uuid
entityTypestring nullable
entityIdstring uuid
fileNamestring nullable
urlstring nullable
descriptionstring nullable
documentTypestring nullable

Changes

No recorded changes to this operation across all 9 revisions of this API.