Skip to content

Get Documents ​

Get invoice documents using filters

GET /v1/Invoices/{invoiceGuid}/Documents

Use the Test or Production base URL configured under Overview.

Path parameters ​

ParameterMandatoryDescription
invoiceGuidYesstring
Invoice guid

Query parameters ​

Filter conditions use a simplified OData format.

ParameterMandatoryDescription
$filterNostring
Filter conditions specified in a simplified OData format
$skipNointeger <int32>
List offset when paginating (default 0)
$topNointeger <int32>
Maximum size of result (default 25, max 100)
$orderbyNostring
Sorting conditions E.g. "fullname desc"

Headers and authentication ​

Use OAuth 2.0 Client Credentials and the Authorization header with a Bearer access token, as described under Overview.

Response fields ​

HTTP 200 ​

Field pathMandatoryDescription
countYesinteger <int32>
Number of returned documents
skipYesinteger <int32>
Offset of filtered documents
totalYesinteger <int32>
Total number of filtered documents
valueNoarray of object or null
All filtered documents
value[].noteNostring or null
Free extra information related to the document.
value[].documentTypeNostring or null
Document code (one of predefined types idoc / invoice / gjeldsbrev / verdict / domforlik).
value[].loggedAtNostring <date-time> or null
Document creation date.
value[].originalFileNameNostring or null
The file name to be generated instead of an auto-generated one.
value[].importantNoboolean or null
Document importancy flag.
value[].linksNoarray of object or null
Links to internal or external archive
value[].links[].typeNostring or null
Type of object
value[].links[].nameNostring or null
Type of relation
value[].links[].hrefNostring or null
URI to object
value[].links[].resourceNostring or null
Resource type
value[].links[].guidNostring or null
Resource guid
HTTP 400
Field pathDescription
typestring or null
titlestring or null
statusinteger <int32> or null
detailstring or null
instancestring or null
HTTP 401
Field pathDescription
typestring or null
titlestring or null
statusinteger <int32> or null
detailstring or null
instancestring or null
HTTP 403
Field pathDescription
typestring or null
titlestring or null
statusinteger <int32> or null
detailstring or null
instancestring or null
HTTP 404
Field pathDescription
typestring or null
titlestring or null
statusinteger <int32> or null
detailstring or null
instancestring or null
HTTP 408
Field pathDescription
typestring or null
titlestring or null
statusinteger <int32> or null
detailstring or null
instancestring or null