List supplier invoice files
GET/supplier-invoices/{invoiceId}/invoice-files
Returns a list of supplier invoice file metadata for the given supplier invoice (invoiceId).
Audit event:
- supplier_invoice_file.list
Privilege (one of):
- invoice-docs.view
- invoice-docs-own.view
Sortable fields:
- id
- invoiceId
- filename
- fsFilename
- status
- size
- statusDt
- statusInfo
- insertDt
- dstFileTypeid
- fsStatus
- fsStatusDt
Filter fields:
- id
- invoiceId
- filename
- fsFilename
- status
- size
- statusDt
- statusInfo
- insertDt
- dstFileTypeid
- fsStatus
- fsStatusDt
Searchable attributes (q):
- id
- invoiceId
- filename
- fsFilename
- size
- status
- statusDt
- statusInfo
- insertDt
- dtsFileTypeId
- fsStatus
- fsStatusDt
Errors:
- INVOICE_DOCS_API_V2:INVOICE_BASIC_NOT_FOUND - Invoice basic not found
- INVOICE_NOTFOUND - Invoice not found
- INVOICE_DOCS_API_V2:SUPPLIER_INVOICE_BELONG_TO_OTHER_INSTANCE - Supplier invoice belong to other instance
- INVOICE_DOCS_API_V2:NO_CONFIGURED_FILE_PATH - No configured file path
- NOT_AUTHORIZED - Not authorized
- NOT_AUTHENTICATED - Not authenticated
- INT_APP_ERROR - Unexpected internal error
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 500
List of supplier invoice files for the given invoice
Bad Request — invalid pagination or invalid filter property/value
Not Authorized or not authenticated or not platform owner
Forbidden — supplier invoice belongs to another instance
Not Found — invoice basic not found, invoice not found, or file path not configured
Unexpected internal error