Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Body
File attachment id
42
Invoice date (ISO 8601)
"2023-08-30"
Invoice payment deadline (ISO 8601)
"2023-08-30"
Customer identifier
42
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 taxable amount (in invoice currency)
"20.00"
1
This will set the invoice to Incomplete status
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 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 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.
A unique external reference you can provide to track this customer invoice. If not provided, Pennylane will generate an identifier for you.
"FR123"
Response
The imported customer invoice
Invoice identifier
42
"Invoice 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)
"2020-09-02"
Invoice taxable amount (in euros. If the currency is euro, currency_amount
and amount
are identical)
"34.0"
Invoice taxable amount (in invoice currency)
"34.0"
fr_FR
, en_GB
Invoice paid status (set to True if the invoice is paid)
false
archived
, incomplete
, cancelled
, paid
, partially_cancelled
, upcoming
, late
, draft
, credit_note
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"
Name of the file attached to the invoice
"my_file.pdf"
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"
Indicates if the invoice is in draft (has not been finalized)
false
Additional details
"Additional details"
"Thanks for paying this invoice"
"Invoice subject"
"Invoice description"
The credited invoice if the invoice is a credit note.
This reconciles the invoice with a transaction. See documentation about automatic payment matching.
The quote at the origin of the invoice
The unique external reference that was assigned during creation either by you or Pennylane. (Same attribute as external_id
in the API v1)
"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"