Create Approved Order
CreateApprovedOrder
This method creates an invoice or payment plan order in the system without performing an additional credit check.
Note:
This function is not activated by default. To activate this function for your account, please contact Svea Payments's support.
CreateApprovedOrderRequest
| Field | R | Type | Description |
|---|
| ClientUsername | * | String | Used for logging to indicate the person performing the operation (may be left blank). |
| OrderInformation | * | OrderInformation | Information needed to create the order. |
| InvoiceAddress | * | InvoiceAddress | The address of the invoice. |
| CustomerInformation | * | CustomerInformation | Information about the customer. |
Output
CreateApprovedOrderResponse
| Field | R | Type | Description |
|---|
| SveaOrderId | - | Long | The order ID. |
| OrderType | - | String | Invoice or PaymentPlan. |
| SveaWillBuyOrder | - | Boolean | True if Svea agrees to buy this order/invoice. |
| Amount | - | Decimal(18,2) | The total order amount. |
| ExpirationDate | - | DateTime | The order’s expiration date. |
| ClientOrderNumber | - | String(32) | Order number from the client’s ordersystem. |
Structures
| Field | R | Type | Description |
|---|
| AccountCreditInformation | - | - | |
| Amount | * | Decimal(16,2) | The invoice amount. |
| CheckoutOrderId | - | - | |
| ClientId | * | Long | ID that identifies a client in Svea Payments’s system. |
| ClientOrderId | - | String(32) | Order number from the client’s ordersystem. |
| CreditReportId | - | Long | Reference ID to a credit report if one exists. |
| CustomerReference | - | String(32) | Customer Reference (gets printed on the invoice). |
| ExternalCreditReportId | - | - | |
| InvoiceInformation | - | - | |
| IpAddress | - | String | Customer’s IP-address. |
| OrderDate | * | DateTime | Date of the order. |
| OrderRows | * | Collection of OrderRow | The order rows connected to the order. |
| OrderType | * | OrderType | Invoice or PaymentPlan. |
| PaymentPlanInformation | - | PaymentPlanInformation | Required if order type is PaymentPlan. |
| PeppolId | - | String(55) | Customer identifier for Peppol invoice. |
| ScoringId | - | Long | Internal Scoring ID acquired from Webpay ScoringService. |
| WillBuy | * | Boolean | True if Svea agrees to buy this order/invoice. |
InvoiceAddress
| Field | R | Type | Description |
|---|
| FullName | * | String | Full name of the customer (either first name + family name or company name). |
| FirstName | - | String | First name of the customer. |
| LastName | - | String | Last name of the customer. |
| StreetAddress | * | String | Customer’s street address. |
| CoAddress | - | String | Customer co-address. |
| ZipCode | * | String | The complete zip code of the customer. |
| HouseNumber | - | String | House number (only applicable in certain countries). |
| Locality | * | String | Customer’s town of residence. |
| CountryCode | * | String(2) | A country code which defines where the customer is residing. |
| Field | R | Type | Description |
|---|
| CustomerType | * | String | Either "Individual" or "Company". |
| EmailAddress | - | String | A valid email address for the customer. |
| NationalIdNumber | * | String | Field for entering a unique identifier for the customer (e.g., Personnummer or organisationsnummer in Sweden). |
| PhoneNumber | - | String | Customer’s phone number. |
| BirthDate | - | String | Person's date of birth in the format YYYYMMDD. (Required for Individuals in some countries) |
| IndustryCode | - | String | SNI code. |
| ExternalCustomerId | - | String(10) | ID that identifies a customer in the client’s system. Numeric values above 0. |
Note:
Please note that NationalIdNumber is a required input by default. Contact Svea Payments's support for more information.