POST AdminInvoice

Request Information

URI Parameters

None.

Body Parameters

AdminInvoiceDto
NameDescriptionTypeAdditional information
Id

integer

None.

InvoiceTypeID

integer

None.

InvoiceStatusID

integer

None.

CustomerID

integer

None.

StructuredPaymentMessage

string

None.

Date

date

None.

ExpirationDate

date

None.

InvoiceTotal

decimal number

None.

VATApplied

boolean

None.

InvoiceVATAmount

decimal number

None.

TotalVATIncluded

decimal number

None.

InvoiceSent

boolean

None.

InvoicePaid

boolean

None.

NumberReminders

integer

None.

DateLastReminder

date

None.

InvoicePaymentDate

date

None.

InvoiceSentDate

date

None.

PONumber

string

None.

Message

string

None.

CustomerName

string

None.

CustomerAddressLine1

string

None.

CustomerAddressLine2

string

None.

CustomerAddressLine3

string

None.

CustomerCountry

string

None.

CustomerInvoiceContact

string

None.

CustomerVATNumber

string

None.

PostAction

string

None.

Invoicelines

Collection of AdminInvoiceLineDto

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "invoiceTypeID": 1,
  "invoiceStatusID": 1,
  "customerID": 2,
  "structuredPaymentMessage": "sample string 3",
  "date": "2025-11-08T13:37:56.8952474+01:00",
  "expirationDate": "2025-11-08T13:37:56.8952474+01:00",
  "invoiceTotal": 1.0,
  "vatApplied": true,
  "invoiceVATAmount": 1.0,
  "totalVATIncluded": 1.0,
  "invoiceSent": true,
  "invoicePaid": true,
  "numberReminders": 1,
  "dateLastReminder": "2025-11-08T13:37:56.8952474+01:00",
  "invoicePaymentDate": "2025-11-08T13:37:56.8952474+01:00",
  "invoiceSentDate": "2025-11-08T13:37:56.8952474+01:00",
  "poNumber": "sample string 4",
  "message": "sample string 5",
  "customerName": "sample string 6",
  "customerAddressLine1": "sample string 7",
  "customerAddressLine2": "sample string 8",
  "customerAddressLine3": "sample string 9",
  "customerCountry": "sample string 10",
  "customerInvoiceContact": "sample string 11",
  "customerVATNumber": "sample string 12",
  "postAction": "sample string 13",
  "invoicelines": [
    {
      "id": 1,
      "selected": true,
      "invoiceId": 1,
      "member": 1,
      "customerId": 1,
      "contactPerson": "sample string 3",
      "deliverDate": "2025-11-08T13:37:56.8952474+01:00",
      "serviceType": 4,
      "serviceTypeDescription": "sample string 5",
      "projectNumber": 1,
      "count": 6,
      "pricePerCount": 7.0,
      "totalLinePrice": 8.0,
      "analysisId": 1,
      "advertisementId": 1,
      "presentInInvoice": true,
      "remark": "sample string 9",
      "amountReduction": 1.0
    },
    {
      "id": 1,
      "selected": true,
      "invoiceId": 1,
      "member": 1,
      "customerId": 1,
      "contactPerson": "sample string 3",
      "deliverDate": "2025-11-08T13:37:56.8952474+01:00",
      "serviceType": 4,
      "serviceTypeDescription": "sample string 5",
      "projectNumber": 1,
      "count": 6,
      "pricePerCount": 7.0,
      "totalLinePrice": 8.0,
      "analysisId": 1,
      "advertisementId": 1,
      "presentInInvoice": true,
      "remark": "sample string 9",
      "amountReduction": 1.0
    }
  ]
}

application/xml, text/xml

Sample:
<AdminInvoiceDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/s_election.API.Models.Administrator">
  <CustomerAddressLine1>sample string 7</CustomerAddressLine1>
  <CustomerAddressLine2>sample string 8</CustomerAddressLine2>
  <CustomerAddressLine3>sample string 9</CustomerAddressLine3>
  <CustomerCountry>sample string 10</CustomerCountry>
  <CustomerID>2</CustomerID>
  <CustomerInvoiceContact>sample string 11</CustomerInvoiceContact>
  <CustomerName>sample string 6</CustomerName>
  <CustomerVATNumber>sample string 12</CustomerVATNumber>
  <Date>2025-11-08T13:37:56.8952474+01:00</Date>
  <DateLastReminder>2025-11-08T13:37:56.8952474+01:00</DateLastReminder>
  <ExpirationDate>2025-11-08T13:37:56.8952474+01:00</ExpirationDate>
  <Id>1</Id>
  <InvoicePaid>true</InvoicePaid>
  <InvoicePaymentDate>2025-11-08T13:37:56.8952474+01:00</InvoicePaymentDate>
  <InvoiceSent>true</InvoiceSent>
  <InvoiceSentDate>2025-11-08T13:37:56.8952474+01:00</InvoiceSentDate>
  <InvoiceStatusID>1</InvoiceStatusID>
  <InvoiceTotal>1</InvoiceTotal>
  <InvoiceTypeID>1</InvoiceTypeID>
  <InvoiceVATAmount>1</InvoiceVATAmount>
  <Invoicelines>
    <AdminInvoiceLineDto>
      <AdvertisementId>1</AdvertisementId>
      <AmountReduction>1</AmountReduction>
      <AnalysisId>1</AnalysisId>
      <ContactPerson>sample string 3</ContactPerson>
      <Count>6</Count>
      <CustomerId>1</CustomerId>
      <DeliverDate>2025-11-08T13:37:56.8952474+01:00</DeliverDate>
      <Id>1</Id>
      <InvoiceId>1</InvoiceId>
      <Member>1</Member>
      <PresentInInvoice>true</PresentInInvoice>
      <PricePerCount>7</PricePerCount>
      <ProjectNumber>1</ProjectNumber>
      <Remark>sample string 9</Remark>
      <Selected>true</Selected>
      <ServiceType>4</ServiceType>
      <ServiceTypeDescription>sample string 5</ServiceTypeDescription>
      <TotalLinePrice>8</TotalLinePrice>
    </AdminInvoiceLineDto>
    <AdminInvoiceLineDto>
      <AdvertisementId>1</AdvertisementId>
      <AmountReduction>1</AmountReduction>
      <AnalysisId>1</AnalysisId>
      <ContactPerson>sample string 3</ContactPerson>
      <Count>6</Count>
      <CustomerId>1</CustomerId>
      <DeliverDate>2025-11-08T13:37:56.8952474+01:00</DeliverDate>
      <Id>1</Id>
      <InvoiceId>1</InvoiceId>
      <Member>1</Member>
      <PresentInInvoice>true</PresentInInvoice>
      <PricePerCount>7</PricePerCount>
      <ProjectNumber>1</ProjectNumber>
      <Remark>sample string 9</Remark>
      <Selected>true</Selected>
      <ServiceType>4</ServiceType>
      <ServiceTypeDescription>sample string 5</ServiceTypeDescription>
      <TotalLinePrice>8</TotalLinePrice>
    </AdminInvoiceLineDto>
  </Invoicelines>
  <Message>sample string 5</Message>
  <NumberReminders>1</NumberReminders>
  <PONumber>sample string 4</PONumber>
  <PostAction>sample string 13</PostAction>
  <StructuredPaymentMessage>sample string 3</StructuredPaymentMessage>
  <TotalVATIncluded>1</TotalVATIncluded>
  <VATApplied>true</VATApplied>
</AdminInvoiceDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

AdminCommentsApprovalDto
NameDescriptionTypeAdditional information
AdminCommentsToApprove

Collection of AdminCommentDto

None.

EvaluationTypes

Collection of EvaluationTypeDto

None.

Response Formats

application/json, text/json

Sample:
{
  "adminCommentsToApprove": [
    {
      "id": 1,
      "questionnaire": "sample string 2",
      "questionnaireId": 3,
      "memberName": "sample string 4",
      "memberCompany": "sample string 5",
      "supplier": "sample string 6",
      "commentContent": "sample string 7",
      "commentType": "sample string 8",
      "evaluationType": "sample string 9",
      "evaluationTypeId": 10,
      "commentDate": "2025-11-08T13:37:56.988989+01:00"
    },
    {
      "id": 1,
      "questionnaire": "sample string 2",
      "questionnaireId": 3,
      "memberName": "sample string 4",
      "memberCompany": "sample string 5",
      "supplier": "sample string 6",
      "commentContent": "sample string 7",
      "commentType": "sample string 8",
      "evaluationType": "sample string 9",
      "evaluationTypeId": 10,
      "commentDate": "2025-11-08T13:37:56.988989+01:00"
    }
  ],
  "evaluationTypes": [
    {
      "id": 1,
      "type": "sample string 2"
    },
    {
      "id": 1,
      "type": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<AdminCommentsApprovalDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/s_election.API.Models.Administrator">
  <AdminCommentsToApprove>
    <AdminCommentDto>
      <CommentContent>sample string 7</CommentContent>
      <CommentDate>2025-11-08T13:37:56.988989+01:00</CommentDate>
      <CommentType>sample string 8</CommentType>
      <EvaluationType>sample string 9</EvaluationType>
      <EvaluationTypeId>10</EvaluationTypeId>
      <Id>1</Id>
      <MemberCompany>sample string 5</MemberCompany>
      <MemberName>sample string 4</MemberName>
      <Questionnaire>sample string 2</Questionnaire>
      <QuestionnaireId>3</QuestionnaireId>
      <Supplier>sample string 6</Supplier>
    </AdminCommentDto>
    <AdminCommentDto>
      <CommentContent>sample string 7</CommentContent>
      <CommentDate>2025-11-08T13:37:56.988989+01:00</CommentDate>
      <CommentType>sample string 8</CommentType>
      <EvaluationType>sample string 9</EvaluationType>
      <EvaluationTypeId>10</EvaluationTypeId>
      <Id>1</Id>
      <MemberCompany>sample string 5</MemberCompany>
      <MemberName>sample string 4</MemberName>
      <Questionnaire>sample string 2</Questionnaire>
      <QuestionnaireId>3</QuestionnaireId>
      <Supplier>sample string 6</Supplier>
    </AdminCommentDto>
  </AdminCommentsToApprove>
  <EvaluationTypes>
    <EvaluationTypeDto>
      <Id>1</Id>
      <Type>sample string 2</Type>
    </EvaluationTypeDto>
    <EvaluationTypeDto>
      <Id>1</Id>
      <Type>sample string 2</Type>
    </EvaluationTypeDto>
  </EvaluationTypes>
</AdminCommentsApprovalDto>