Рахунки та платежі

Рахунки, позиції, платежі, нагадування та електронне фактурування (KSeF) — автоматизуйте виставлення рахунків від початку до кінця.

Цей довідник згенеровано зі схеми API. Описи полів і будь-який текст, який ще не перекладено, показано англійською.

Рахунок

Endpoints

Рахунок: 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
POST/invoices/import
GET/invoices/name/{date}
POST/invoices/send

Рядок рахунку

Endpoints

Рядок рахунку: Endpoints
МетодШлях
GET/invoice-rows
POST/invoice-rows
GET/invoice-rows/{id}
PATCH/invoice-rows/{id}

Поля схеми

Рядок рахунку: Поля схеми
ПолеТип
classificationNumberstringnull
unit*stringnull
quantity*number
vatRate*string
netPrice*string
netDiscountAmountstringnull
productName*string
projectstring,null (iri-reference)
parentInvoiceRowmixed
invoiceChildrenRowsarray
productstring,null (iri-reference)
priceBasisstring
grossPricestringnull

Транзакція рахунку

Endpoints

Транзакція рахунку: Endpoints
МетодШлях
GET/invoice-transactions
POST/invoice-transactions
GET/invoice-transactions/{id}
PATCH/invoice-transactions/{id}
DELETE/invoice-transactions/{id}

Поля схеми

Транзакція рахунку: Поля схеми
ПолеТип
idinteger
invoice*string (iri-reference)
transactionstring,null (iri-reference)
amountnumber
date*string (date-time)
createdAtstring (date-time)
updatedAtstring (date-time)
amountFromMajornumbernull

Спосіб оплати

Endpoints

Спосіб оплати: Endpoints
МетодШлях
GET/payment-methods
GET/payment-methods/{id}
PATCH/payment-methods/{id}
DELETE/payment-methods/{id}
POST/payment-methods/create-setup-intent

Поля схеми

Спосіб оплати: Поля схеми
ПолеТип
idstring
organizationstring,null (iri-reference)
typestring
ccBrandstring
ccLastDigitsstring
ccExpMonth*integer
ccExpYear*integer
externalIdstring
createdAtstring (date-time)
updatedAtstring (date-time)
deletedAtstring,null (date-time)
deletedboolean

Завантаження рахунку

Endpoints

Завантаження рахунку: 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

Нагадування про рахунок

Endpoints

Нагадування про рахунок: Endpoints
МетодШлях
GET/invoice-reminders
POST/invoice-reminders/{id}/approve
POST/invoice-reminders/{id}/dismiss
GET/invoice-reminders/{id}/send
POST/invoice-reminders/{id}/send

Поля схеми

Нагадування про рахунок: Поля схеми
ПолеТип
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

Журнал рахунку

Endpoints

Журнал рахунку: Endpoints
МетодШлях
GET/invoice-logs
GET/invoice-logs/{id}

Поля схеми

Журнал рахунку: Поля схеми
ПолеТип
idinteger
invoicestring (iri-reference)
employeestring (iri-reference)
statusNamestring
descriptionstringnull

Надсилання рахунку

Endpoints

Надсилання рахунку: Endpoints
МетодШлях
POST/e-invoicing/invoices/{id}/send

Надсилання коригування рахунку

Endpoints

Надсилання коригування рахунку: Endpoints
МетодШлях
POST/e-invoicing/invoices/{id}/correction

Платіж

Endpoints

Платіж: Endpoints
МетодШлях
GET/payments

Поля схеми

Платіж: Поля схеми
ПолеТип
idstring
paymentMethodstring,null (iri-reference)
typestring
currencystring
statusstring

Завантаження вхідного рахунку

Endpoints

Завантаження вхідного рахунку: Endpoints
МетодШлях
GET/e-invoicing/invoices/inbound/{id}/download/upo
GET/e-invoicing/invoices/inbound/{id}/download/xml
GET/e-invoicing/invoices/inbound/download/xml

Черга вхідних рахунків

Endpoints

Черга вхідних рахунків: Endpoints
МетодШлях
POST/e-invoicing/invoices/inbound/queue

Синхронізація вхідних рахунків

Endpoints

Синхронізація вхідних рахунків: Endpoints
МетодШлях
POST/e-invoicing/invoices/inbound/sync

Черга імпорту вихідних рахунків

Endpoints

Черга імпорту вихідних рахунків: Endpoints
МетодШлях
POST/v1/pl/invoices/outbound/import/queue

Синхронізація імпорту вихідних рахунків

Endpoints

Синхронізація імпорту вихідних рахунків: Endpoints
МетодШлях
POST/v1/pl/invoices/outbound/import/sync

Сеанс KSeF

Endpoints

Сеанс KSeF: Endpoints
МетодШлях
POST/e-invoicing/ksef/session