Skip to main content

Deliver Partial

DeliverPartial

This method partially delivers an order. An invoice, payment plan, or account credit purchase is created with the sum of the amount of the order rows sent to this method. The order's authorized amount is decreased by the same amount.

NOTE: Only invoices and account credit orders can be partially delivered. Any payment plan delivered using this function will be fully delivered—with the only exception being cancelled order rows.


Input

PartialDeliveryRequest

FieldRTypeDescription
OrderToDeliver*DeliverOrderInformationSee DeliverOrderInformation
RowNumbers*List<Long>List of order rows to be delivered.
InvoiceDistributionType-InvoiceDistributionTypeSee InvoiceDistributionType

Output

DeliveryResponse

FieldRTypeDescription
OrdersDelivered*List<DeliverOrderResult>-

Enumerations

InvoiceDistributionType

ValueDescription
PostInvoice is sent by post.
EmailInvoice is sent by email.
EInvoiceB2BE-invoice, only available in Norway (EHF) and Finland (Finvoice).
PeppolInvoice is sent by Peppol.
OmniAvailable in Norway.
Omni20Available in Norway.
Omni21Available in Norway.
Omni22Available in Norway.
Omni23Available in Norway.
Omni24Available in Norway.

Structures

DeliverOrderResult

FieldURTypeDescription
SveaOrderId**Long(10)Unique ID for the created order. Used for any further order webservice requests.
ClientOrderId--String(30)Order number from client’s ordersystem.
ClientId**Long(7)ID that identifies a client in Svea Payments system.
OrderType-*OrderTypeSee OrderType.
DeliveryReferenceNumber-*Long(10)For OrderType Invoice: invoice ID, or PartPayment contract ID.
DeliveredAmount-*Decimal(11,2)Delivered order amount.