Invoicing & payments

Invoices, rows, payments, reminders and e-invoicing (KSeF) — automate billing end to end.

Invoice

Endpoints

POST/e-invoices/send
GET/invoices
POST/invoices
GET/invoices/{id}
PATCH/invoices/{id}
DELETE/invoices/{id}
GET/invoices/{id}/send
POST/invoices/{id}/send
GET/invoices/draft
GET/invoices/name/{date}
POST/invoices/send

Invoice Row

Endpoints

GET/invoice-rows
POST/invoice-rows
GET/invoice-rows/{id}
PATCH/invoice-rows/{id}

Schema fields

FieldType
classificationNumberstringnull
unit*stringnull
quantity*number
vatRate*string
netPrice*string
netDiscountAmountstring
productName*string
projectstring,null (iri-reference)
parentInvoiceRowmixed
invoiceChildrenRowsarray

Invoice Transaction

Endpoints

GET/invoice-transactions
POST/invoice-transactions
GET/invoice-transactions/{id}
PATCH/invoice-transactions/{id}
DELETE/invoice-transactions/{id}

Schema fields

FieldType
idinteger
invoice*string (iri-reference)
transactionstring,null (iri-reference)
amountnumbernull
date*string (date-time)
createdAtstring (date-time)
updatedAtstring (date-time)

Payment Method

Endpoints

GET/payment-methods
GET/payment-methods/{id}
PATCH/payment-methods/{id}
DELETE/payment-methods/{id}
POST/payment-methods/create-setup-intent

Schema fields

FieldType
idstring
organizationstring,null (iri-reference)
typestring
ccBrandstring
ccLastDigitsstring
ccExpMonth*integer
ccExpYear*integer
externalIdstring
createdAtstring (date-time)
updatedAtstring (date-time)
deletedAtstring,null (date-time)
deletedboolean

Invoice Download

Endpoints

GET/e-invoicing/invoices/{id}/download/pdf
GET/e-invoicing/invoices/{id}/download/preview/pdf
GET/e-invoicing/invoices/{id}/download/upo
GET/e-invoicing/invoices/{id}/download/xml
GET/e-invoicing/invoices/download/xml

Invoice Reminder

Endpoints

GET/invoice-reminders
POST/invoice-reminders/{id}/approve
POST/invoice-reminders/{id}/dismiss
GET/invoice-reminders/{id}/send
POST/invoice-reminders/{id}/send

Schema fields

FieldType
idinteger
invoicestring (iri-reference)
levelinteger
statusstring
dueAtstring (date-time)
createdAtstring (date-time)
sentAtstring,null (date-time)
dismissedAtstring,null (date-time)
failedAtstring,null (date-time)
recipientEmailstringnull
failureReasonstringnull
sentBodystringnull
sentCcsarraynull
pendingboolean
failedboolean
sendableboolean
invoiceIdintegernull
invoiceNamestringnull
clientNamestringnull
amountDuenumbernull
currencyCodestringnull
invoiceDueDatestring (date-time)
daysOverdueinteger

Invoice Log

Endpoints

GET/invoice-logs
GET/invoice-logs/{id}

Schema fields

FieldType
idinteger
invoicestring (iri-reference)
employeestring (iri-reference)
statusNamestring
descriptionstringnull

Invoice Send

Endpoints

POST/e-invoicing/invoices/{id}/send

Invoice Correction Send

Endpoints

POST/e-invoicing/invoices/{id}/correction

Payment

Endpoints

GET/payments

Schema fields

FieldType
idstring
paymentMethodstring,null (iri-reference)
typestring
currencystring
statusstring

Inbound Invoice Download

Endpoints

GET/e-invoicing/invoices/inbound/{id}/download/upo
GET/e-invoicing/invoices/inbound/{id}/download/xml
GET/e-invoicing/invoices/inbound/download/xml

Inbound Invoice Queue

Endpoints

POST/e-invoicing/invoices/inbound/queue

Inbound Invoice Sync

Endpoints

POST/e-invoicing/invoices/inbound/sync

Outbound Invoice Import Queue

Endpoints

POST/v1/pl/invoices/outbound/import/queue

Outbound Invoice Import Sync

Endpoints

POST/v1/pl/invoices/outbound/import/sync

KSeF Session

Endpoints

POST/e-invoicing/ksef/session