Fakturering & betalningar
Fakturor, rader, betalningar, påminnelser och e-fakturering (KSeF) — automatisera faktureringen från början till slut.
Faktura
Endpoints
| POST | /e-invoices/send | Skapar en Invoice-resurs. |
| GET | /invoices | Hämtar samlingen av Invoice-resurser. |
| POST | /invoices | Skapar en Invoice-resurs. |
| GET | /invoices/{id} | Hämtar en Invoice-resurs. |
| PATCH | /invoices/{id} | Uppdaterar Invoice-resursen. |
| DELETE | /invoices/{id} | Tar bort Invoice-resursen. |
| GET | /invoices/{id}/send | Hämtar en Invoice-resurs. |
| POST | /invoices/{id}/send | Skapar en Invoice-resurs. |
| GET | /invoices/draft | Hämtar samlingen av Invoice-resurser. |
| GET | /invoices/name/{date} | Hämtar samlingen av Invoice-resurser. |
| POST | /invoices/send | Skapar en Invoice-resurs. |
Fakturad
Endpoints
| GET | /invoice-rows | Hämtar samlingen av InvoiceRow-resurser. |
| POST | /invoice-rows | Skapar en InvoiceRow-resurs. |
| GET | /invoice-rows/{id} | Hämtar en InvoiceRow-resurs. |
| PATCH | /invoice-rows/{id} | Uppdaterar InvoiceRow-resursen. |
Schema-fält
| Fält | Typ | Beskrivning |
|---|---|---|
| classificationNumber | stringnull | |
| unit* | stringnull | |
| quantity* | number | |
| vatRate* | string | |
| netPrice* | string | |
| netDiscountAmount | string | |
| productName* | string | |
| project | string,null (iri-reference) | |
| parentInvoiceRow | mixed | |
| invoiceChildrenRows | array |
Fakturatransaktion
Endpoints
| GET | /invoice-transactions | Hämtar samlingen av InvoiceTransaction-resurser. |
| POST | /invoice-transactions | Skapar en InvoiceTransaction-resurs. |
| GET | /invoice-transactions/{id} | Hämtar en InvoiceTransaction-resurs. |
| PATCH | /invoice-transactions/{id} | Uppdaterar InvoiceTransaction-resursen. |
| DELETE | /invoice-transactions/{id} | Tar bort InvoiceTransaction-resursen. |
Schema-fält
| Fält | Typ | Beskrivning |
|---|---|---|
| id | integer | |
| invoice* | string (iri-reference) | |
| transaction | string,null (iri-reference) | |
| amount | numbernull | |
| date* | string (date-time) | |
| createdAt | string (date-time) | |
| updatedAt | string (date-time) |
Betalningsmetod
Endpoints
| GET | /payment-methods | Hämtar samlingen av PaymentMethod-resurser. |
| GET | /payment-methods/{id} | Hämtar en PaymentMethod-resurs. |
| PATCH | /payment-methods/{id} | Uppdaterar PaymentMethod-resursen. |
| DELETE | /payment-methods/{id} | Tar bort PaymentMethod-resursen. |
| POST | /payment-methods/create-setup-intent | Skapar en PaymentMethod-resurs. |
Schema-fält
| Fält | Typ | Beskrivning |
|---|---|---|
| id | string | |
| organization | string,null (iri-reference) | |
| type | string | |
| ccBrand | string | |
| ccLastDigits | string | |
| ccExpMonth* | integer | |
| ccExpYear* | integer | |
| externalId | string | |
| createdAt | string (date-time) | |
| updatedAt | string (date-time) | |
| deletedAt | string,null (date-time) | |
| deleted | boolean | Check if the entity has been soft deleted. |
Fakturanedladdning
Endpoints
| GET | /e-invoicing/invoices/{id}/download/pdf | Hämtar en InvoiceDownload-resurs. |
| GET | /e-invoicing/invoices/{id}/download/preview/pdf | Hämtar en InvoiceDownload-resurs. |
| GET | /e-invoicing/invoices/{id}/download/upo | Hämtar en InvoiceDownload-resurs. |
| GET | /e-invoicing/invoices/{id}/download/xml | Hämtar en InvoiceDownload-resurs. |
| GET | /e-invoicing/invoices/download/xml | Hämtar samlingen av InvoiceDownload-resurser. |
Fakturapåminnelse
Endpoints
| GET | /invoice-reminders | Hämtar samlingen av InvoiceReminder-resurser. |
| POST | /invoice-reminders/{id}/approve | Skapar en InvoiceReminder-resurs. |
| POST | /invoice-reminders/{id}/dismiss | Skapar en InvoiceReminder-resurs. |
| GET | /invoice-reminders/{id}/send | Hämtar en InvoiceReminder-resurs. |
| POST | /invoice-reminders/{id}/send | Skapar en InvoiceReminder-resurs. |
Schema-fält
| Fält | Typ | Beskrivning |
|---|---|---|
| id | integer | |
| invoice | string (iri-reference) | |
| level | integer | |
| status | string | |
| dueAt | string (date-time) | |
| createdAt | string (date-time) | |
| sentAt | string,null (date-time) | |
| dismissedAt | string,null (date-time) | |
| failedAt | string,null (date-time) | |
| recipientEmail | stringnull | |
| failureReason | stringnull | |
| sentBody | stringnull | |
| sentCcs | arraynull | |
| pending | boolean | |
| failed | boolean | |
| sendable | boolean | A reminder can be (re-)sent while it is still awaiting its first send or its last attempt failed. Sent/dismissed reminders are terminal. |
| invoiceId | integernull | |
| invoiceName | stringnull | |
| clientName | stringnull | |
| amountDue | numbernull | |
| currencyCode | stringnull | |
| invoiceDueDate | string (date-time) | |
| daysOverdue | integer |
Fakturalogg
Endpoints
| GET | /invoice-logs | Hämtar samlingen av InvoiceLog-resurser. |
| GET | /invoice-logs/{id} | Hämtar en InvoiceLog-resurs. |
Schema-fält
| Fält | Typ | Beskrivning |
|---|---|---|
| id | integer | |
| invoice | string (iri-reference) | |
| employee | string (iri-reference) | |
| statusName | string | |
| description | stringnull |
Fakturautskick
Endpoints
| POST | /e-invoicing/invoices/{id}/send | Skapar en InvoiceSend-resurs. |
Utskick av fakturakorrigering
Endpoints
| POST | /e-invoicing/invoices/{id}/correction | Skapar en InvoiceCorrectionSend-resurs. |
Betalning
Endpoints
| GET | /payments | Hämtar samlingen av Payment-resurser. |
Schema-fält
| Fält | Typ | Beskrivning |
|---|---|---|
| id | string | |
| paymentMethod | string,null (iri-reference) | |
| type | string | |
| currency | string | |
| status | string |
Nedladdning av inkommande faktura
Endpoints
| GET | /e-invoicing/invoices/inbound/{id}/download/upo | Hämtar en InboundInvoiceDownload-resurs. |
| GET | /e-invoicing/invoices/inbound/{id}/download/xml | Hämtar en InboundInvoiceDownload-resurs. |
| GET | /e-invoicing/invoices/inbound/download/xml | Hämtar samlingen av InboundInvoiceDownload-resurser. |
Kö för inkommande fakturor
Endpoints
| POST | /e-invoicing/invoices/inbound/queue | Skapar en InboundInvoiceQueue-resurs. |
Synk av inkommande fakturor
Endpoints
| POST | /e-invoicing/invoices/inbound/sync | Skapar en InboundInvoiceSync-resurs. |
Importkö för utgående fakturor
Endpoints
| POST | /v1/pl/invoices/outbound/import/queue | Skapar en OutboundInvoiceImportQueue-resurs. |
Importsynk för utgående fakturor
Endpoints
| POST | /v1/pl/invoices/outbound/import/sync | Skapar en OutboundInvoiceImportSync-resurs. |
KSeF-session
Endpoints
| POST | /e-invoicing/ksef/session | Skapar en KsefSession-resurs. |