Complyt Docs
  1. Files
Complyt Docs
  • Getting Started
    • Introduction to Sales Tax Calculation
    • Step By Step - Creating your first transaction
    • Step By Step - Creating VAT / Global Tax Transaction
  • Endpoints
    • Authentication
      • Authentication - Getting Started
      • Create JWT
      • Create JWT - Partnerships
      • Get Partnerships
      • Upsert Client- Partnerships
      • Delete Client- Partnerships
    • Customers
      • Get to Know
      • Get Customer
      • Get All Customers
      • Upsert Customer
      • Update Customer
    • Exemptions
      • Get to Know
      • Get All Exemptions
      • Post Exemption
      • Update Exemption
      • Patch Exemption
    • Transactions
      • Get to Know
      • The Importance of Shipping Address
      • How to Use Credit Memos
      • Get Transaction (thin)
      • Get Transaction
      • Upsert Transaction
      • Delete Transaction
      • Get All Transactions (thin)
      • Get All Transactions
      • Upsert VAT / GT Transactio
    • Files
      • Get All Files
        GET
      • Get One file - With signed link
        GET
      • Save file
        PUT
      • Delete one file
        DELETE
    • Address Validation
      • Address Validation Intro
      • Validate Address
    • Sales Tax Rates
      • Get Sales Tax Rates
    • Vat Validation
      • Validate Vat
  • Special Features
    • Global Tax Rate
    • Partial Address
    • Discounts
    • Inclusive Tax
    • Vat Validation
    • Post exemptions from CSV
      POST
  1. Files

Save file

PUT
/v1/files
Save a new file.
In the form data, any key-value data can be added to describe the file that being uploaded.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT '/v1/files' \
--form 'file=@""' \
--form 'type=""'
Response Response Example
{
  "complytId": "6a74d5dc-d54e-4674-b37d-c46c540c0aa0",
  "metadata": {
    "original_created_date": "2024-10-07T13:41:30Z",
    "type": "document",
    "display_name": "string",
    "status": "active"
  },
  "tenantId": "org_92AvR81Bm9aFeN8k",
  "updateTime": "2024-10-13T11:31:54.789Z",
  "createTime": "2024-10-13T11:31:54.789Z",
  "link": "/v1/files/6a74d5dc-d54e-4674-b37d-c46c540c0aa0"
}

Request

Body Params multipart/form-data
file
file 
required
type
string 
optional
Can be any string that will describe the file

Responses

🟢200Success
application/json
Body
complytId
string 
required
metadata
object 
required
original_created_date
string 
required
type
string 
required
display_name
string 
required
status
string 
required
tenantId
string 
required
updateTime
string 
required
createTime
string 
required
link
string 
required
Modified at 2024-10-13 12:22:20
Previous
Get One file - With signed link
Next
Delete one file
Built with