Skip to main content

Extend Due Date

Extends the due date, in accordance to the partner agreement, for the requested invoice. Can be used once per invoice.

Supported invoice types:

  • DirectInvoice

To use this functionality, and agreement with Collector must be made.

Parameters#

Fieldmin OccursnillableMaxTypeDescription
Username1false50stringThe username used to authorize the request.
Password1false50stringThe password used to authorize the request.
CorrelationId1false50stringCorrelationID is sent back in the response.
CountryCode1false2stringThe country code (ISO 3166-1 alpha-2) for the country.
InvoiceNumber1false50stringThe invoice number previously returned in AddInvoice.
StoreId1false-intThe StoreId used for identification of store.

Response#

Fieldmin OccursnillableMaxTypeDescription
CorrelationId1true50stringCorrelationID from the request if any.
DueDate1false-datetimeThe new extended Due Date of the invoice.

Example Requests#

 Value
Environment:UAT
Service:PaymentService
URL:https://ecommercetest.collector.se/v3.0/PaymentServiceV10.svc?wsdl
Function:ExtendDueDate
Description:The operation returns new due date for an invoice based on invoice number.
Notes:N/A
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:pay="http://schemas.ecommerce.collector.se/v30/PaymentService">
<soapenv:Header>
<pay:Username>USERNAME</pay:Username>
<pay:Password>PASSWORD</pay:Password>
</soapenv:Header>
<soapenv:Body>
<pay:ExtendDueDateRequest>
<pay:CorrelationId>123</pay:CorrelationId>
<pay:CountryCode>SE</pay:CountryCode>
<pay:InvoiceNo>4576392</pay:InvoiceNo>
<pay:StoreId>1234</pay:StoreId>
</pay:ExtendDueDateRequest>
</soapenv:Body>
</soapenv:Envelope>

Error codes#

Fault CodeDescription