Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Path Parameters
Supplier invoice identifier
Body
The ID of the supplier to import the invoice for
456
The date of the invoice (ISO 8601)
"2021-01-30"
Invoice payment deadline (ISO 8601)
"2021-01-30"
The invoice number
"F20230001"
EUR
, USD
, GBP
, AED
, AFN
, ALL
, AMD
, ANG
, AOA
, ARS
, AUD
, AWG
, AZN
, BAM
, BBD
, BDT
, BGN
, BHD
, BIF
, BMD
, BND
, BOB
, BRL
, BSD
, BTN
, BWP
, BYN
, BYR
, BZD
, CAD
, CDF
, CHF
, CLF
, CLP
, CNY
, COP
, CRC
, CUC
, CUP
, CVE
, CZK
, DJF
, DKK
, DOP
, DZD
, EGP
, ERN
, ETB
, FJD
, FKP
, GEL
, GGP
, GHS
, GIP
, GMD
, GNF
, GTQ
, GYD
, HKD
, HNL
, HRK
, HTG
, HUF
, IDR
, ILS
, IMP
, INR
, IQD
, IRR
, ISK
, JEP
, JMD
, JOD
, JPY
, KES
, KGS
, KHR
, KMF
, KPW
, KRW
, KWD
, KYD
, KZT
, LAK
, LBP
, LKR
, LRD
, LSL
, LTL
, LVL
, LYD
, MAD
, MDL
, MGA
, MKD
, MMK
, MNT
, MOP
, MRO
, MUR
, MVR
, MWK
, MXN
, MYR
, MZN
, NAD
, NGN
, NIO
, NOK
, NPR
, NZD
, OMR
, PAB
, PEN
, PGK
, PHP
, PKR
, PLN
, PYG
, QAR
, RON
, RSD
, RUB
, RWF
, SAR
, SBD
, SCR
, SDG
, SEK
, SGD
, SHP
, SLL
, SOS
, SRD
, STD
, SVC
, SYP
, SZL
, THB
, TJS
, TMT
, TND
, TOP
, TRY
, TTD
, TWD
, TZS
, UAH
, UGX
, UYU
, UZS
, VEF
, VND
, VUV
, WST
, XAF
, XCD
, XDR
, XOF
, XPF
, YER
, ZAR
, ZMK
, ZMW
, ZWL
Invoice currency amount before tax (total value before tax of the invoice in the currency of the invoice)
"100.00"
Invoice currency amount (total value of the invoice in the currency of the invoice)
"120.00"
Invoice amount in euros (total value of the invoice in euros). If the currency is euro, currency_amount
and amount
are identical.
"120.00"
Invoice taxable amount (in invoice currency)
"20.00"
Invoice taxable amount (in euros). If the currency is euro, currency_tax
and tax
are identical.
"20.00"
By adding this field you can automatically reconcile the newly imported invoice with a transaction. See documentation about automatic payment matching.
Add, update, delete invoice lines
The unique external reference that was assigned during creation either by you or Pennylane.
"FR123"
Response
The updated supplier invoice
The ID of the supplier invoice
123
"Demo label"
"F20230001"
EUR
, USD
, GBP
, AED
, AFN
, ALL
, AMD
, ANG
, AOA
, ARS
, AUD
, AWG
, AZN
, BAM
, BBD
, BDT
, BGN
, BHD
, BIF
, BMD
, BND
, BOB
, BRL
, BSD
, BTN
, BWP
, BYN
, BYR
, BZD
, CAD
, CDF
, CHF
, CLF
, CLP
, CNY
, COP
, CRC
, CUC
, CUP
, CVE
, CZK
, DJF
, DKK
, DOP
, DZD
, EGP
, ERN
, ETB
, FJD
, FKP
, GEL
, GGP
, GHS
, GIP
, GMD
, GNF
, GTQ
, GYD
, HKD
, HNL
, HRK
, HTG
, HUF
, IDR
, ILS
, IMP
, INR
, IQD
, IRR
, ISK
, JEP
, JMD
, JOD
, JPY
, KES
, KGS
, KHR
, KMF
, KPW
, KRW
, KWD
, KYD
, KZT
, LAK
, LBP
, LKR
, LRD
, LSL
, LTL
, LVL
, LYD
, MAD
, MDL
, MGA
, MKD
, MMK
, MNT
, MOP
, MRO
, MUR
, MVR
, MWK
, MXN
, MYR
, MZN
, NAD
, NGN
, NIO
, NOK
, NPR
, NZD
, OMR
, PAB
, PEN
, PGK
, PHP
, PKR
, PLN
, PYG
, QAR
, RON
, RSD
, RUB
, RWF
, SAR
, SBD
, SCR
, SDG
, SEK
, SGD
, SHP
, SLL
, SOS
, SRD
, STD
, SVC
, SYP
, SZL
, THB
, TJS
, TMT
, TND
, TOP
, TRY
, TTD
, TWD
, TZS
, UAH
, UGX
, UYU
, UZS
, VEF
, VND
, VUV
, WST
, XAF
, XCD
, XDR
, XOF
, XPF
, YER
, ZAR
, ZMK
, ZMW
, ZWL
Invoice amount (total value of the invoice in euros). If the currency is euro, currency_amount
and amount
are identical.
"230.32"
Invoice currency amount (total value of the invoice in the currency of the invoice)
"230.32"
Invoice currency amount before tax (total value before tax of the invoice in the currency of the invoice)
"196.32"
Invoice exchange rate (used to convert the invoice to euros. If the invoice currency is euro it will be 1.0)
"1.0"
Invoice issue date (ISO 8601)
"2023-08-30"
Invoice payment deadline (ISO 8601)
"2023-09-30"
Invoice taxable amount (in euros). If the currency is euro, currency_tax
and tax
are identical.
"34.0"
Invoice taxable amount (in invoice currency)
"34.0"
Whether the invoice has been reconciled or not
false
The accounting state of the invoice.
draft
: The invoice is not yet sent to the accountant.archived
: The invoice has been archived.entry
: The invoice is incomplete. Some information is missing on the invoice and needs to be completed by SME.validation_needed
: The invoice is sent to the accountant and needs validation.complete
: The invoice has been validated by the accountant.
draft
, archived
, entry
, validation_needed
, complete
Name of the file attached to the invoice
"my_file.pdf"
Public URL of the invoice file. The URL will expire after 30 minutes.
"https://app.pennylane.com/public/invoice/pdf?encrypted_id=bzjoVJe...3D%3D"
The remaining amount with VAT to pay for the invoice to be considered paid
"20.0"
The remaining amount without VAT to pay for the invoice to be considered paid
"16.0"
This reconciles the invoice with a transaction. See documentation about automatic payment matching.
to_be_processed
, to_be_paid
, partially_paid
, payment_error
, payment_scheduled
, payment_in_progress
, payment_emitted
, payment_found
, paid_offline
, fully_paid
The unique external reference that was assigned during creation either by you or Pennylane
"FR123"
The time the invoice has been archived
"2023-08-30T10:08:08.146343Z"
The time the invoice has been created
"2023-08-30T10:08:08.146343Z"
The last time the invoice has been updated
"2023-08-30T10:08:08.146343Z"