Skip to main content

Get Invoices

GetInvoices

This method returns information about a specific invoice.

Input

GetInvoicesRequest

FieldRTypeDescription
InvoicesToRetrieve*Collection of GetInvoiceInformationDescribes the invoices to retrieve.

Output

GetInvoicesResponse

FieldRTypeDescription
Invoices*Collection of InvoiceThe invoices that match the request.

Structures

GetInvoiceInformation

FieldRTypeDescription
InvoiceId*Long(10)Reference to an Invoice.
ClientId*LongID that identifies a client in the Svea Payments system.

Invoice

FieldURTypeDescription
ClientId**Long(7)ID that identifies a client in the Svea Payments system.
InvoiceId-*Long(10)Reference to an Invoice.
CreditedAmount-*Decimal(18,2)The total amount that is credited on this invoice.
UnmatchedCreditAmount--Decimal(18,2)The amount credited on this invoice that does not match any invoice rows.
InvoiceDate-*DateTimeDate when the invoice is created in the Svea Payments system.
DueDate-*DateTimeDue date for the invoice; when Svea Payments requires the invoice to be paid.
EarliestPossibleNewDueDate--Nullable of DateTimeThe earliest possible new due date that the invoice may be set to. If null, changing the invoice date is not possible.
LatestPossibleNewDueDate--Nullable of DateTimeThe latest possible new due date that the invoice may be set to. If null, changing the invoice date is not possible.
PaidToClientDate--Nullable of DateTimeDate when Svea Payments paid (or will pay) the client for the invoice.
Amount-*Decimal(15,2)Invoice amount.
SveaOrderId-*Long(10)Unique ID for the created order. Used for any further order webservice requests.
SveaHasBought-*BooleanTrue if Svea Payments bought the invoice, otherwise false.
Currency-*StringCurrency of the country that the invoice was created for.
ClientOrderId--String(30)Order number from the client’s ordersystem.
Status-*(String) InvoicePaymentStatusSee InvoicePaymentStatus.
Type-*InvoiceTypeSee InvoiceType.
CustomerReference--String(32)
Reminder1Date--Nullable of DateTimeDate of the first reminder.
Reminder2Date--Nullable of DateTimeDate of the second reminder.
DeboCollectionDate--Nullable of DateTimeDate when the invoice went to debt collection.
CreditedDate--Nullable of DateTimeDate when the invoice was credited.
Notes--String(200)Note on invoice from client to customer.
ClientReference--String(32)
Customer-*CustomerIdentityIdentity of the customer.
CustomerId--Nullable of LongCustomer ID created by Svea Payments system.
InvoiceRows-*Array of NumberedOrderRowSee NumberedOrderRow.
CreditApproved-*BooleanTrue if credit was accepted, false otherwise.
IsPossibleToCancel-*BooleanIndicates if the invoice can be cancelled.

CustomerIdentity

FieldURTypeDescription
NationalIdNumber*-StringField for entering unique identifiers for customers in certain countries. (Example: Personnummer & organisationsnummer in Sweden). Will not be returned for Finnish clients.
Email--StringA valid email address of the customer.
PhoneNumber--StringCustomer’s phone number.
IpAddress--StringCustomer’s IP-address.
FullName-*StringFull name of the customer. Either first name + family name or company name.
Street-*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.
CustomerType-*CustomerTypeSee CustomerType.
IndividualIdentity--IndividualIdentityOnly if the CustomerType is Individual.
CompanyIdentity--CompanyIdentityOnly if the CustomerType is Company.

IndividualIdentity

FieldRTypeDescription
FirstName*String
LastName*String
Initials-StringOnly used in NL, “voorletters”
BirthDate-StringDate of birth in format YYYYMMDD. (Required for DE and NL)

CompanyIdentity

FieldRTypeDescription
CompanyIdentification-StringNot in use.
CompanyVatNumber-StringCompany VAT number (Required for DE and NL).