Skip to main content
POST
Unmark a supplier invoice as paid

Authorizations

Authorization
string
header
required

Bearer authorization header: Bearer <token>, where <token> is the access token received from the authorization server at the end of the OAuth 2.0 flow.

Headers

X-Qonto-Staging-Token
string

Required only for Sandbox API requests; to get one, please sign up to the Developer Portal.

Path Parameters

id
string<uuid>
required

The ID of the supplier invoice to unmark as paid

Response

The supplier invoice

id
string<uuid>
required
Example:

"4d5418bb-bd0d-4df4-865c-c07afab8bb48"

is_einvoice
boolean
required

indicates if the invoice is an e-invoice, currently ONLY for the German organizations

Example:

false

has_discrepancies
boolean
required
Example:

false

organization_id
string<uuid>
required
Example:

"4d5418bb-bd0d-4df4-865c-c07afab8bb48"

file_name
string
required
Example:

"my-invoice.pdf"

status
required

Initial status for invoices.

Allowed value: "to_review"
Example:

"to_review"

source_type
enum<string>
required
Available options:
email,
e_invoicing,
direct_upload
Example:

"email"

created_at
string
required
Example:

"2022-03-04T17:58:30+02:00"

updated_at
string
required
Example:

"2022-03-04T17:58:30+02:00"

attachment_id
string<uuid>
required
display_attachment_id
string<uuid>
required
declined_note
string
default:""
required

Note specified when invoice was archived

e_invoice_type
enum<string>
Available options:
zugferd,
xrechnung
Example:

"zugferd"

has_duplicates
boolean
Example:

false

supplier_id
string<uuid>

ID of the supplier linked to this invoice

Example:

"4d5418bb-bd0d-4df4-865c-c07afab8bb48"

self_invoice_id
string<uuid> | null

ID of the related self-invoice, when applicable

Example:

"4d5418bb-bd0d-4df4-865c-c07afab8bb48"

issuer_name
string | null

Name of the issuer as extracted from the invoice data

Example:

"McDonald's"

invoice_number
string
Example:

"QONTO-JAN-2022"

supplier_name
string
Example:

"McDonald's"

vat_number
string | null

VAT number of the invoice issuer

Example:

"IT12345678901"

tin_number
string | null

Tax Identification Number (TIN) of the invoice issuer

Example:

"1234567890"

description
string
Example:

"This is an invoice for Ronald!"

total_amount
object
total_amount_excluding_taxes
object | null
total_tax_amount
object | null
taxes
object[] | null

Individual tax entries on the invoice

issue_date
string
Example:

"2022-03-01"

due_date
string
Example:

"2022-03-01"

payment_date
string
Example:

"2022-03-01"

scheduled_date
string
Example:

"2022-03-01"

iban
string
Example:

"FR1420041010050500013M02606"

initiator_id
string<uuid>
source
enum<string>
Available options:
email_forward,
e_invoicing,
supplier_invoices,
pay_by_invoice,
integration,
regate,
generic_upload,
pay_later
Example:

"email_forward"

is_attachment_invoice
boolean
attachment_category
enum<string>

The category of the attachment

Available options:
INVOICE,
EXPENSE_RECEIPT,
CARD_RECEIPT,
CREDIT_CARD_RECEIPT,
CREDIT_NOTE,
OTHER_FINANCIAL_DOCUMENT,
OTHER_NON_FINANCIAL_DOCUMENT,
UNKNOWN
Example:

"INVOICE"

is_attachment_non_financial
boolean
analyzed_at
string
Example:

"2022-03-04T17:58:30+02:00"

matched_transactions_ids
string<uuid>[]
deprecated

Deprecated: This field contains transfer IDs, not transaction IDs. Use matched_transactions instead.

matched_transactions
object[] | null

Array of payments (transfers/transactions) linked to this invoice

transfer_ids
(string<uuid> | null)[]

IDs of the transfer payments associated with this invoice, if any

Example:

"4d5418bb-bd0d-4df4-865c-c07afab8bb48"

request_transfer
object
einvoicing_lifecycle_events
object[]
meta
object
supplier_snapshot
object | null

Snapshot of the supplier details captured at the time the invoice was created

available_actions
object

Available actions for the invoice

approval_workflow
object | null
payable_amount
object | null
total_amount_credit_notes
object | null
is_credit_note
boolean
Example:

false

has_suggested_credit_notes
boolean
Example:

false

suggested_transactions
object[] | null

suggested transactions for the invoice