List uploaded customer data files for the tenant

Returns uploaded customer data files for the authenticated tenant.

Use this operation to return uploaded customer data files for the authenticated tenant. You can filter results using file status and pagination via $top and $skip (offset). You can also sort results using $orderBy. If you don't provide any filters or pagination, this operation returns all files.

Base URL:

https://vat-compliance-service.vertexcloud.com/documents
Provide request parameters to view uploaded customer data filesUpload your data files to generate the upload URL description
/object/array of objectsGET - List uploaded customer data files for the tenant.

Request

All request parameters are optional.

List uploaded customer data files for the tenant parameter nameList uploaded customer data files for the tenant parameter formatList uploaded customer data files for the tenant request parameter description
fileStatusarray of stringsFile status filter. Accepts one or more values via repeated parameters, such as ?fileStatus=COMPLETE&fileStatus=IN_PROGRESS
Allowed: NOT_STARTED, IN_PROGRESS, READY_FOR_REVIEW, COMPLETE, FAILED, IMPORT_IN_PROGRESS, IMPORT_SUCCESSFUL, IMPORT_FAILED, FAILED_PROCESSING, UPLOAD_FAILED, RULES_PROCESSING, RULES_PROCESSING_COMPLETED, RULES_PROCESSING_FAILED, UPLOAD_IN_PROGRESS, SPLIT_PROCESS_COMPLETED, REJECTED, FILE_SPLITTING_IN_PROGRESS, AUTO_IMPORT_PENDING, DETECTION_IN_PROGRESS, DUPLICATE_REVIEW, DETECTION_FAILED, REVIEW_IN_PROGRESS, PENDING_UPLOAD, PENDING_VALIDATION, VALIDATION_FAILED, PROCESSING_ERROR
$topintegerPage size is the number of records to return. The maximum value is 1000. When empty, all records are returned.
$skipintegerNumber of records to skip (offset). Defaults to 0.
$orderBystringSort field and direction, such as createdDate desc. Defaults to lastUpdateDate desc. Allowed fields: fileStatus, fileOriginalFileName, createdDate, createdById, templateName, importProfileName, importProfileManualInd, importProfilePassThroughInd, applyTaxCodeMappings, fileLoadType, sourceType, numOfRows, companyCode, countryCode, duplicateRecordsCount.

Example request

curl --request GET \
     --url 'https://vat-compliance-service.vertexcloud.com/documents?fileStatus=COMPLETE&fileStatus=IN_PROGRESS&$orderBy=createdDate%20desc' \
     --header 'accept: application/json'

Response

An HTTP 200 Success response includes a StorageMeta array of objects. Each object includes the following fields populated according to the state of the customer data file.

List uploaded customer data files for the tenant response fieldList uploaded customer data files for the tenant response description
fileIdThe internal seven-digit file ID.
fileDispCodeFile disposition code.
fileNameA unique string representing the file name.
fileDescA unique string file description.
enabledIndEnabled indicator. true / false
readOnlyIndRead-only indicator. true / false
draftIndDraft indicator. true / false
createdDateCreated date.
createdByIdCreated by ID.
createdByUserFirstNameCreated by user's first name.
createdByDataReleaseIdCreated by data release ID.
lastUpdateDateLast updated date.
lastUpdateByIdLast updated by ID.
updatedByDataReleaseIdUpdated by Data Release ID.
sizeInBytesThe file size in bytes.
numOfRowsThe number of rows in this customer data file.
uuidUniversally Unique Identifier.
templateIdTemplate ID.
templateNameTemplate name.
fileOriginalFileNameFile original filename.
fileStatusFile status. Allowed values: NOT_STARTED, IN_PROGRESS, READY_FOR_REVIEW, COMPLETE, FAILED, IMPORT_IN_PROGRESS, IMPORT_SUCCESSFUL, IMPORT_FAILED, FAILED_PROCESSING, UPLOAD_FAILED, RULES_PROCESSING, RULES_PROCESSING_COMPLETED, RULES_PROCESSING_FAILED, UPLOAD_IN_PROGRESS, SPLIT_PROCESS_COMPLETED, REJECTED, FILE_SPLITTING_IN_PROGRESS, AUTO_IMPORT_PENDING, DETECTION_IN_PROGRESS, DUPLICATE_REVIEW, DETECTION_FAILED, REVIEW_IN_PROGRESS, PENDING_UPLOAD, PENDING_VALIDATION, VALIDATION_FAILED, PROCESSING_ERROR
recordCountRecord count.
docRepoUuidDocument repository UUID.
fileOriginFile origin.
originalFileDocRepoUuidOriginal file document repository UUID.
removedRowsDocRepoUuidRemoved rows document repository UUID.
auditDetailsDocRepoUuidAudit details document repository UUID.
importProfileIdImport profile ID.
importProfileNameImport profile name.
importProfileManualIndImport profile manual indicator. true / false
importProfilePassThroughIndImport file pass-through indicator. true / false
duplicateDetectionIndDuplicate detection indicator. true / false
duplicateDetectionInitiatedDuplicate detection initiated. true / false
automaticRulesetAppliedAutomatic ruleset applied. true / false
dataStartsOnData starts on line number.
fileLoadTypeFile load type description.
combinedFileCombined file. true / false
combinedFileIdCombined file ID.
sourceTypeSource type description.
taxCodeMappingsAppliedTax code mappings applied to this file. true / false
companyCodeCompany code associated with this file.
countryCodeCountry code associated with this file.
splitFileSplit file. true / false
splitFileIdSplit file ID.
splitFileIdsAn array of split file IDs.
reviewProcessAppliedThe review process applied. true / false
dataFileUploadData file upload. true / false
dataImportUserData import user. true / false
limitedRoleAccessLimited role access. true / false
seqIndicatorSequence indicator. true / false
ruleProcessingStatusRule processing status description.
duplicateRecordsCountDuplicate records count number.
unreviewedDuplicatesCountUnreviewed duplicate count number.
exportToGCIndExport to Global Compliance (GC) indicator. true / false
saftDataStandard Audit File for Tax (SAFT) data. true / false
enableOSeriesOptionEnable O Series option. true / false

Example response

{
  "StorageMeta": [
    {
      "fileId": 0,
      "fileDispCode": "string",
      "fileName": "string",
      "fileDesc": "string",
      "enabledInd": true,
      "readOnlyInd": true,
      "draftInd": true,
      "createdDate": 0,
      "createdById": 0,
      "createdByUserFirstName": "string",
      "createdByDataReleaseId": 0,
      "lastUpdateDate": 0,
      "lastUpdateById": 0,
      "updatedByDataReleaseId": 0,
      "sizeInBytes": 0,
      "numOfRows": 0,
      "uuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "templateId": 0,
      "templateName": "string",
      "fileOriginalFileName": "string",
      "fileStatus": "NOT_STARTED",
      "recordCount": 0,
      "docRepoUuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "fileOrigin": "string",
      "originalFileDocRepoUuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "removedRowsDocRepoUuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "auditDetailsDocRepoUuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "importProfileId": 0,
      "importProfileName": "string",
      "importProfileManualInd": true,
      "importProfilePassThroughInd": true,
      "exportToGCInd": true,
      "taxCodeMappingsApplied": true,
      "companyCode": "string",
      "countryCode": "string",
      "reviewProcessApplied": true,
      "saftData": true,
      "enableOSeriesOption": true
    }
  ]
}

Did this page help you?