Invoice Payments

📘

Note!

This FAQ cover usage of the endpoints /v2/customerinvoices/{invoiceId}/payments and /v2/supplierinvoices/{invoiceId}/payments.

Do you want another FAQ for another endpoint? Let us know! [email protected]

There are quite a few ways to pay invoices, so this endpoint deserves a cheat sheet. This FAQ does not cover all possible scenarios, but it should cover the most common ones.

Domestic Customer Invoice Payments

Scenario 1

Domestic debit invoice, full payment, no additions. Payed towards cheque bank account.

767

JSON data

1569

Voucher in eAccounting

Scenario 2

Domestic credit invoice, full payment, no additions. Payed towards cheque bank account.

681

JSON data

1571

Voucher in eAccounting

Scenario 3

Domestic debit invoice, full payment with a factoring fee of 30 SEK. Payed towards cheque bank account. We use 6064 as factoring account in this case, it is a commonly used account for this scenario in Sweden. Factoring fee is stated in the FactoringFeeAmount property and excluded from the PaymentAmount, as shown below. In the voucher, that amount is withdrawn from the cheque account row.

854

JSON data

1571

Voucher in eAccounting

Scenario 4

Domestic debit invoice, partial payment, no additions. Payed towards cheque bank account.

766

JSON data

1568

Voucher in eAccounting

Scenario 5

Domestic debit invoice, full payment with 1 SEK in roundings, no additions. Payed towards cheque bank account.

767

JSON data

1569

Voucher in eAccounting

Non Domestic Customer Invoice Payments

Scenario 1

Non-domestic debit invoice in EUR currency with SEK as company base currency, full payment with no additions. Payed towards cheque bank account. In this case we receive exactly 1000 SEK in the bank when the currency is converted, which means that no currency profit/loss is registered by eAccounting. Quite rare scenario, unless the payment date is same as invoice date.

764

JSON data

1571

Voucher in eAccounting

Scenario 2

Non-domestic debit invoice in EUR currency with SEK as company base currency, full payment, with 10 SEK bank fee. Payed towards cheque bank account. In this case we recieve a bit less money in SEK, due to currency loss. Note that DomesticPaymentAmount is payment amount in SEK with withdrawal for bank fee (10 SEK) and currency loss (8 SEK).

765

JSON data

1567

Voucher in eAccounting

Supplier Invoice Payments

In general - Supplier invoice payments are the same as customer invoice payments. Some differences exist though: FactoringFeeAmount & FactoringFeeAccountNumber is not allowed in Supplier Invoice payments. Debit invoice amounts are specified in positive, credit invoice amounts are specified in negative.