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

Note:
It's not recommended to specify the distribution type manually. If not specified, the default distribution type configured for your Client ID will be used.

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.

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.