The ActivateInvoice request should be used when the complete order is ready to be shipped since it activates the whole invoice.
In short, if the complete order is ready to be sent, use the ActivateInvoice request. If only a part-delivery can be made, use the PartActivateInvoice request.
When this request has been made, Collector will send out the invoice according to the specifications in the agreement and the AddInvoice request and you're pretty much done.
This method is available in the following countries:
|Username||false||50||string||The username used to authorize the request.|
|Password||false||50||string||The password used to authorize the request.|
|StoreId||true||4||short||The StoreId used for identification of store.|
|CorrelationId||true||50||string||CorrelationID is sent back in the response.|
|CountryCode||false||2||string||The country code (ISO 3166-1 alpha-2) for the country.|
|InvoiceNo||false||50||string||The InvoiceNo previously returned in AddInvoice.|
|CorrelationId||true||50||string||CorrelationID from the request if any.|
|PaymentReference||true||50||string||The payment identification number. This is the id the customer must use when they do a payment of an invoice.|
|LowestAmountToPay||true||6,2||decimal||The lowest amount to pay on the invoice.|
|TotalAmount||true||6,2||decimal||The total amount to pay for the invoice.|
|DueDate||true||-||datetime||The due date of the invoice.|
|InvoiceUrl||true||200||string||The url to invoice in pdf format.|