Fakturering & betalinger
Fakturaer, linjer, betalinger, rykkere og e-fakturering (KSeF) — automatiser fakturering fra ende til anden.
Faktura
Endpoints
| POST | /e-invoices/send | Opretter en Invoice-ressource. |
| GET | /invoices | Henter samlingen af Invoice-ressourcer. |
| POST | /invoices | Opretter en Invoice-ressource. |
| GET | /invoices/{id} | Henter en Invoice-ressource. |
| PATCH | /invoices/{id} | Opdaterer Invoice-ressourcen. |
| DELETE | /invoices/{id} | Fjerner Invoice-ressourcen. |
| GET | /invoices/{id}/send | Henter en Invoice-ressource. |
| POST | /invoices/{id}/send | Opretter en Invoice-ressource. |
| GET | /invoices/draft | Henter samlingen af Invoice-ressourcer. |
| POST | /invoices/import | Opretter en Invoice-ressource. |
| GET | /invoices/name/{date} | Henter samlingen af Invoice-ressourcer. |
| POST | /invoices/send | Opretter en Invoice-ressource. |
Fakturarække
Endpoints
| GET | /invoice-rows | Henter samlingen af InvoiceRow-ressourcer. |
| POST | /invoice-rows | Opretter en InvoiceRow-ressource. |
| GET | /invoice-rows/{id} | Henter en InvoiceRow-ressource. |
| PATCH | /invoice-rows/{id} | Opdaterer InvoiceRow-ressourcen. |
Skemafelter
| Felt | Type | Beskrivelse |
|---|---|---|
| classificationNumber | stringnull | |
| unit* | stringnull | |
| quantity* | number | |
| vatRate* | string | |
| netPrice* | string | |
| netDiscountAmount | string | |
| productName* | string | |
| project | string,null (iri-reference) | |
| parentInvoiceRow | mixed | |
| invoiceChildrenRows | array | |
| product | string,null (iri-reference) | The catalog product this row sold, when it sold one. NULL on every row that exists today and on every row written by a non-POS screen — and a NULL product means this row moves no stock at all, which is exactly today's behaviour. |
| priceBasis | string | |
| grossPrice | stringnull | The tax-INCLUSIVE unit price — the number on the price tag. Set only on a 'gross' row, where it is the authority; NULL on every 'net' row. |
Fakturatransaktion
Endpoints
| GET | /invoice-transactions | Henter samlingen af InvoiceTransaction-ressourcer. |
| POST | /invoice-transactions | Opretter en InvoiceTransaction-ressource. |
| GET | /invoice-transactions/{id} | Henter en InvoiceTransaction-ressource. |
| PATCH | /invoice-transactions/{id} | Opdaterer InvoiceTransaction-ressourcen. |
| DELETE | /invoice-transactions/{id} | Fjerner InvoiceTransaction-ressourcen. |
Skemafelter
| Felt | Type | Beskrivelse |
|---|---|---|
| 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) |
Betalingsmetode
Endpoints
| GET | /payment-methods | Henter samlingen af PaymentMethod-ressourcer. |
| GET | /payment-methods/{id} | Henter en PaymentMethod-ressource. |
| PATCH | /payment-methods/{id} | Opdaterer PaymentMethod-ressourcen. |
| DELETE | /payment-methods/{id} | Fjerner PaymentMethod-ressourcen. |
| POST | /payment-methods/create-setup-intent | Opretter en PaymentMethod-ressource. |
Skemafelter
| Felt | Type | Beskrivelse |
|---|---|---|
| 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. |
Fakturadownload
Endpoints
| GET | /e-invoicing/invoices/{id}/download/pdf | Henter en InvoiceDownload-ressource. |
| GET | /e-invoicing/invoices/{id}/download/preview/pdf | Henter en InvoiceDownload-ressource. |
| GET | /e-invoicing/invoices/{id}/download/upo | Henter en InvoiceDownload-ressource. |
| GET | /e-invoicing/invoices/{id}/download/xml | Henter en InvoiceDownload-ressource. |
| GET | /e-invoicing/invoices/download/xml | Henter samlingen af InvoiceDownload-ressourcer. |
Fakturarykker
Endpoints
| GET | /invoice-reminders | Henter samlingen af InvoiceReminder-ressourcer. |
| POST | /invoice-reminders/{id}/approve | Opretter en InvoiceReminder-ressource. |
| POST | /invoice-reminders/{id}/dismiss | Opretter en InvoiceReminder-ressource. |
| GET | /invoice-reminders/{id}/send | Henter en InvoiceReminder-ressource. |
| POST | /invoice-reminders/{id}/send | Opretter en InvoiceReminder-ressource. |
Skemafelter
| Felt | Type | Beskrivelse |
|---|---|---|
| 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 |
Fakturalog
Endpoints
| GET | /invoice-logs | Henter samlingen af InvoiceLog-ressourcer. |
| GET | /invoice-logs/{id} | Henter en InvoiceLog-ressource. |
Skemafelter
| Felt | Type | Beskrivelse |
|---|---|---|
| id | integer | |
| invoice | string (iri-reference) | |
| employee | string (iri-reference) | |
| statusName | string | |
| description | stringnull |
Fakturaafsendelse
Endpoints
| POST | /e-invoicing/invoices/{id}/send | Opretter en InvoiceSend-ressource. |
Afsendelse af fakturakorrektion
Endpoints
| POST | /e-invoicing/invoices/{id}/correction | Opretter en InvoiceCorrectionSend-ressource. |
Betaling
Endpoints
| GET | /payments | Henter samlingen af Payment-ressourcer. |
Skemafelter
| Felt | Type | Beskrivelse |
|---|---|---|
| id | string | |
| paymentMethod | string,null (iri-reference) | |
| type | string | |
| currency | string | |
| status | string |
Download af indgående faktura
Endpoints
| GET | /e-invoicing/invoices/inbound/{id}/download/upo | Henter en InboundInvoiceDownload-ressource. |
| GET | /e-invoicing/invoices/inbound/{id}/download/xml | Henter en InboundInvoiceDownload-ressource. |
| GET | /e-invoicing/invoices/inbound/download/xml | Henter samlingen af InboundInvoiceDownload-ressourcer. |
Kø for indgående fakturaer
Endpoints
| POST | /e-invoicing/invoices/inbound/queue | Opretter en InboundInvoiceQueue-ressource. |
Synkronisering af indgående fakturaer
Endpoints
| POST | /e-invoicing/invoices/inbound/sync | Opretter en InboundInvoiceSync-ressource. |
Importkø for udgående fakturaer
Endpoints
| POST | /v1/pl/invoices/outbound/import/queue | Opretter en OutboundInvoiceImportQueue-ressource. |
Importsynkronisering af udgående fakturaer
Endpoints
| POST | /v1/pl/invoices/outbound/import/sync | Opretter en OutboundInvoiceImportSync-ressource. |
KSeF-session
Endpoints
| POST | /e-invoicing/ksef/session | Opretter en KsefSession-ressource. |