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.
PartialDeliveryRequest
Output
DeliveryResponse
| Field | R | Type | Description |
|---|
| 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.
| Value | Description |
|---|
| Post | Invoice is sent by post. |
| Email | Invoice is sent by email. |
| EInvoiceB2B | E-invoice, only available in Norway (EHF) and Finland (Finvoice). |
| Peppol | Invoice is sent by Peppol. |
Structures
DeliverOrderResult
| Field | U | R | Type | Description |
|---|
| 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 | - | * | OrderType | See OrderType. |
| DeliveryReferenceNumber | - | * | Long(10) | For OrderType Invoice: invoice ID, or PartPayment contract ID. |
| DeliveredAmount | - | * | Decimal(11,2) | Delivered order amount. |