Skip to main content

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.


Input

CreateApprovedOrderRequest

FieldRTypeDescription
ClientUsername*StringUsed for logging to indicate the person performing the operation (may be left blank).
OrderInformation*OrderInformationInformation needed to create the order.
InvoiceAddress*InvoiceAddressThe address of the invoice.
CustomerInformation*CustomerInformationInformation about the customer.

Output

CreateApprovedOrderResponse

FieldRTypeDescription
SveaOrderId-LongThe order ID.
OrderType-StringInvoice or PaymentPlan.
SveaWillBuyOrder-BooleanTrue if Svea agrees to buy this order/invoice.
Amount-Decimal(18,2)The total order amount.
ExpirationDate-DateTimeThe order’s expiration date.
ClientOrderNumber-String(32)Order number from the client’s ordersystem.

Structures

OrderInformation

FieldRTypeDescription
AccountCreditInformation--
Amount*Decimal(16,2)The invoice amount.
CheckoutOrderId--
ClientId*LongID that identifies a client in Svea Payments’s system.
ClientOrderId-String(32)Order number from the client’s ordersystem.
CreditReportId-LongReference ID to a credit report if one exists.
CustomerReference-String(32)Customer Reference (gets printed on the invoice).
ExternalCreditReportId--
InvoiceInformation--
IpAddress-StringCustomer’s IP-address.
OrderDate*DateTimeDate of the order.
OrderRows*Collection of OrderRowThe order rows connected to the order.
OrderType*OrderTypeInvoice or PaymentPlan.
PaymentPlanInformation-PaymentPlanInformationRequired if order type is PaymentPlan.
PeppolId-String(55)Customer identifier for Peppol invoice.
ScoringId-LongInternal Scoring ID acquired from Webpay ScoringService.
WillBuy*BooleanTrue if Svea agrees to buy this order/invoice.

InvoiceAddress

FieldRTypeDescription
FullName*StringFull name of the customer (either first name + family name or company name).
FirstName-StringFirst name of the customer.
LastName-StringLast name of the customer.
StreetAddress*StringCustomer’s street address.
CoAddress-StringCustomer co-address.
ZipCode*StringThe complete zip code of the customer.
HouseNumber-StringHouse number (only applicable in certain countries).
Locality*StringCustomer’s town of residence.
CountryCode*String(2)A country code which defines where the customer is residing.

CustomerInformation

FieldRTypeDescription
CustomerType*StringEither "Individual" or "Company".
EmailAddress-StringA valid email address for the customer.
NationalIdNumber*StringField for entering a unique identifier for the customer (e.g., Personnummer or organisationsnummer in Sweden).
PhoneNumber-StringCustomer’s phone number.
BirthDate-StringPerson's date of birth in the format YYYYMMDD. (Required for Individuals in some countries)
IndustryCode-StringSNI 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.