GET procurement/invoices

List of supplier invoices

Note: Log in to check if your API client have access to run this resource
Version: 6
Success HTTP Status Code: 200
Maximum items from list ($top): 80

The following body must be added to the request. Mouse over fieldnames for description and other useful information about the fields. Note that fields in bold is required/mandatory.

Format:
1
1

The query string is placed after the resource URL, seperated with a questionmark (?). The query string is composed of a series of query parameters with values. See the page about query parameters on how to use these parameters.

$inlinecount String, optional Only usable when the result is a list. Set to "allpages" if you want size of the result list to be returned. Accepted values are: "allpages", "none"
$top String, optional Only usable when the result is a list. Set the number of objects to return in result list. Maximum limit is specific for each resource, but is default 80.
$filter String, optional Only usable when the result is a list. Use to filter the result list, see the Filter and OrderBy page for more information about this.
$orderby String, optional Only usable when the result is a list. Use to order the result list, see Filter and OrderBy page for more information about this.
$select String, optional Use to define the fields to return in the result. Accepts a comma-separated list of Output Field names. See the Expand and Select page for more information about this.
$db String, optional Set the database to use for the request
$format String, optional Set the format of the response to use for the request. Accepted values are "xml", "json"
$lang String, optional Use to get localized responses. Supported formats are 3-letter ISO-639-1 [lll], 2-letter ISO-639-2 [ll], or a combination of a two-letter language code and a two-letter country code ISO-639-2 and ISO-3166-1 [ll_CC], [ll-CC]
$useMinimumVersion Integer, optional This can be used to test a new version of a resource when your ApiClient is running an older, deprecated, version of a resource. $useminimumversion can be used to test against a newer version of the resource. See the Deprecated APIs page for more information about this.

See the page about filters and sorting on how to use filter parameters and named filters.

BuyersReferenceNumber String Buyers reference number.
Status Integer Status of supplier invoice.
SupplierId Integer Customer identifier.
SupplierInvoiceId Integer Supplier invoice identifier.
SuppliersReferenceNumber String Suppliers/sellers reference number. Typically to an external system.

See the page about filters and sorting on how to use sortable parameters

BuyersReferenceNumber String Buyers reference number
Status Integer Status of supplier invoice
SupplierId Integer Customer identifier
SupplierInvoiceId Integer Supplier invoice identifier
SuppliersReferenceNumber String Suppliers/sellers reference number. Typically to an external system.

Requesting this resource will yield the following response. Mouse over fieldnames (or fieldgroups) for descriptions and other useful information about the fields. Fields colored in grey is expandable fields.

Please note that some fields may be removed from the response, based on user roles/duties/permissions.

Format:
1
<SupplierInvoices>
2
     <SupplierInvoice>
3
          <SupplierInvoiceId
SupplierInvoiceId

Supplier invoice identifier

>
{Integer}</SupplierInvoiceId>
4
          <Status
Status

Status of supplier invoice

>
{Integer}</Status>
5
          <CreatedAt
CreatedAt

Date and time of creation

>
{Datetime}</CreatedAt>
6
          <SuppliersReferenceNumber
SuppliersReferenceNumber

Suppliers/sellers reference number. Typically to an external system.

>
{String}</SuppliersReferenceNumber>
7
          <BuyersReferenceNumber
BuyersReferenceNumber

Buyers reference number

>
{String}</BuyersReferenceNumber>
8
          <Supplier>
9
               <SupplierId
SupplierId

RamBase supplier identifier

>
{Integer}</SupplierId>
10
               <Name
Name

Name of supplier (name of company or surname/familyname/lastname of a person)

>
{String}</Name>
11
               <Firstname
Firstname

Firstname/givenname if the supplier is a person

>
{String}</Firstname>
12
               <SupplierLink
SupplierLink

Supplier reference

>
{String}</SupplierLink>
13
          </Supplier>
14
          <SupplierInvoiceLink
SupplierInvoiceLink

Supplier invoice reference

>
{String}</SupplierInvoiceLink>
15
     </SupplierInvoice>
16
</SupplierInvoices>
1
{
2
     "supplierInvoices": [
3
          {
4
               "supplierInvoiceId
SupplierInvoiceId

Supplier invoice identifier

":
"{Integer}",
5
               "status
Status

Status of supplier invoice

":
"{Integer}",
6
               "createdAt
CreatedAt

Date and time of creation

":
"{Datetime}",
7
               "suppliersReferenceNumber
SuppliersReferenceNumber

Suppliers/sellers reference number. Typically to an external system.

":
"{String}",
8
               "buyersReferenceNumber
BuyersReferenceNumber

Buyers reference number

":
"{String}",
9
               "supplier": {
10
                    "supplierId
SupplierId

RamBase supplier identifier

":
"{Integer}",
11
                    "name
Name

Name of supplier (name of company or surname/familyname/lastname of a person)

":
"{String}",
12
                    "firstname
Firstname

Firstname/givenname if the supplier is a person

":
"{String}",
13
                    "supplierLink
SupplierLink

Supplier reference

":
"{String}"
14
               },
15
               "supplierInvoiceLink
SupplierInvoiceLink

Supplier invoice reference

":
"{String}"
16
          }
17
     ]
18
}

List of available operations/actions for this resource.
See the operations documentation for more information about API operations.

Possible error codes the response might return:

Error 100050 HTTP 403 No admittance as customer {0}