PUT
/
v1
/
companies
/
{company_id}
/
reports
/
{report_id}
/
items
/
{item_id}
/
documents
curl --request PUT \
  --url https://nueborder.com/api/v1/v1/companies/{company_id}/reports/{report_id}/items/{item_id}/documents \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "binary": [
    123
  ],
  "companyID": 123,
  "country": "CA",
  "createdAt": "<string>",
  "description": "Description",
  "document_type": "GENERAL",
  "filename": "Supporting_document_01.docx",
  "internalReportID": 123,
  "issuing_auth_name": "Issuing authority name",
  "item_number": "1",
  "line_item_number": 88888,
  "mime": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
  "organizationID": 123,
  "reference_number": "01 Reference number",
  "sequence_number": 1,
  "type": "01",
  "updatedAt": "<string>",
  "updatedBy": "<string>",
  "uri": "<string>",
  "validity_end_date": "1/1/24",
  "validity_start_date": "1/1/24",
  "version": "<string>"
}'
{
  "message": "Operation completed successfully",
  "status": 200
}

Authorizations

Authorization
string
header
required

Provide your Bearer token in the format: Bearer <your_api_key>

Path Parameters

company_id
string
required

Unique identifier for the company associated with the imported good documents

report_id
string
required

Unique identifier for the report associated with the imported good documents

item_id
string
required

Unique identifier for the item associated with the imported good documents

Body

application/json

Payload for supporting documents

Summary of Struct

Response

200
application/json

Successfully updated or inserted imported good documents

A standard successful API response.