AccountingYears

Accounting years

APIDescription
BETA POST v1/{organizationId}/accountingyears/create-current-year

Create current year, if none exist. The organization need to have last year created already, and cannot have to many open years.

Accounts

Get information on individual accounts, their numbers, names etc.

APIDescription
GET v1/{organizationId}/accounts/entry?fields={fields}&categoryFilter={categoryFilter}

Get the list of entry accounts for the organization

GET v1/{organizationId}/accounts/deposit?fields={fields}

Get the list of deposit accounts for the organization

POST v1/{organizationId}/accounts/entry

Create a new entry account

Contacts

Accessing contact information

APIDescription
POST v1/{organizationId}/contacts/{guid}/restore

Restore a deleted contact from the given organization

GET v1/{organizationId}/contacts?fields={fields}&queryFilter={queryFilter}&changesSince={changesSince}&deletedOnly={deletedOnly}&page={page}&pageSize={pageSize}

Retrieve a list of contacts for the organization order by UpdatedAt.

GET v1/{organizationId}/contacts/{guid}

Retrieves contact information for the contact with the given id

POST v1/{organizationId}/contacts

Add a new contact to the organization

PUT v1/{organizationId}/contacts/{guid}

Update an existing contact

DELETE v1/{organizationId}/contacts/{guid}

Delete a contact from the given organization

Files

Posting of files for vouchers.

APIDescription
POST v1/{organizationId}/files

Accepts a posted image. If the file is accepted status code 200 will be returned with info on the file's id and the id of the organization owning file. It might take a second for the file to be accessible.

Invoices

Handles accessing of a sales voucher (invoices)

APIDescription
POST v1/{organizationId}/invoices/fetch

Fetch a invoice to get total, line sums and payment date calculations.

GET v1/{organizationId}/invoices/{guid}

Get invoice as json or pdf. Define the Accept header of your request to either 'application/json' or 'application/octet-stream'. PDF's can only be generated from booked invoices.

POST v1/{organizationId}/invoices/{guid}/book

Book invoice.

POST v1/{organizationId}/invoices/{guid}/email

Send an email with link to a public version of the invoice where it can be printed or downloaded as a pdf.

BETA POST v1/{organizationId}/invoices/{guid}/email/pre-reminder

Send a pre reminder email with link to a public version of the invoice where it can be printed or downloaded as a pdf. The invoice needs to be overdue to send the reminder. A pre-reminder is a mail reminding the customer, that the invoice is overdue. This will not cause a reminder to be created in Dinero, this is only a mailout.

POST v1/{organizationId}/invoices/{guid}/e-invoice

Send an e-invoice to an EAN customer

PUT v1.1/{organizationId}/invoices/{guid}

Update an existing invoice. The invoice cannot be updated if booked.

BETA PUT v1.2/{organizationId}/invoices/{guid}

Update an existing invoice. The invoice cannot be updated if booked.

POST v1/{organizationId}/invoices/{guid}/payments

Create a payment for an invoice. Payments can only be added to a booked invoice.

DELETE v1/{organizationId}/invoices/{guid}/payments/{paymentGuid}

Delete a payment from an invoice. Only booked invoices can have payments.

GET v1/{organizationId}/invoices/{guid}/payments

Get the payments for an invoice

BETA POST v1/{organizationId}/invoices/{guid}/generate-creditnote

Generate and saves a credit note draft of a given booked invoice.

POST v1/{organizationId}/invoices

Saves invoice.

DELETE v1/{organizationId}/invoices/{guid}

Delete invoice. The invoice cannot be deleted if booked.

DEPRECATED PUT v1/{organizationId}/invoices/{guid}

Update an existing invoice. The invoice cannot be updated if booked.

GET v1/{organizationId}/invoices?startDate={startDate}&endDate={endDate}&fields={fields}&freeTextSearch={freeTextSearch}&statusFilter={statusFilter}&changesSince={changesSince}&deletedOnly={deletedOnly}&page={page}&pageSize={pageSize}&sort={sort}&sortOrder={sortOrder}

Retrieve a list of invoices for the organization.

LedgerItems

Accessing ledger information

APIDescription
DEPRECATED POST v1/{organizationId}/ledgeritems

Add a new ledger item to the ledger. The maximum number of ledger items in the same ledger is 1000.

POST v1.1/{organizationId}/ledgeritems

Add a new ledger item to the ledger. The maximum number of ledger items in the same ledger is 1000.

BETA POST v1/{organizationId}/ledgeritems/book

Book ledger items.

BETA POST v1/{organizationId}/ledgeritems/status

Gets status for ledger items

BETA DELETE v1/{organizationId}/ledgeritems/delete

Deletes a list of ledger items

DEPRECATED GET v1/{organizationId}/ledgeritems/nextvouchernumber

Deprecated and not used anymore. Simply returns 1. When posting new ledger items, the voucher number on items are used only for grouping.

Organizations

Accessing information on the user's organizations.

APIDescription
GET v1/organizations?fields={fields}

Gets a list of the users' organizations.

Products

Access information about products

APIDescription
GET v1/{organizationId}/products/{guid}

Gets Product Information for the product with the given Id

GET v1/{organizationId}/products?fields={fields}&freeTextSearch={freeTextSearch}&queryFilter={queryFilter}&changesSince={changesSince}&deletedOnly={deletedOnly}&page={page}&pageSize={pageSize}

Retrieve a list of products for the organization order by UpdatedAt.

POST v1/{organizationId}/products

Add a new product to the organization

PUT v1/{organizationId}/products/{guid}

Update an existing product

DELETE v1/{organizationId}/products/{guid}

Delete a product

PurchaseVouchers

Handles posting of a purchase voucher

APIDescription
POST v1/{organizationId}/vouchers/purchase

Saves a purchase voucher.

Sales

Handles accessing of a sales creditnotes

APIDescription
BETA GET v1/{organizationId}/sales?startDate={startDate}&endDate={endDate}&fields={fields}&freeTextSearch={freeTextSearch}&statusFilter={statusFilter}&changesSince={changesSince}&deletedOnly={deletedOnly}&page={page}&pageSize={pageSize}&sort={sort}&sortOrder={sortOrder}

Retrieve a list of invoices and credit notes for the organization.

BETA GET v1/{organizationId}/sales/settings

Returns a model containing the users default sales voucher setting preferences. These are the settings that are applied when the user creates a new invoice in Dinero's web app. The user can edit these setting under Settings>InvoiceSettings (Indstillinger>Faktura indstillinger).

SalesCreditNotes

Handles accessing of sales creditnotes

APIDescription
BETA POST v1/{organizationId}/sales/creditnotes

Save a credit note

DEPRECATED PUT v1/{organizationId}/sales/creditnotes/{guid}

Update an existing credit note. The credit note cannot be updated if booked.

BETA PUT v1.1/{organizationId}/sales/creditnotes/{guid}

Update an existing credit note. The credit note cannot be updated if booked.

BETA PUT v1.2/{organizationId}/sales/creditnotes/{guid}

Update an existing credit note. The credit note cannot be updated if booked.

BETA DELETE v1/{organizationId}/sales/creditnotes/{guid}

Delete credit note. The creditnote cannot be deleted if booked.

BETA POST v1/{organizationId}/sales/creditnotes/{guid}/book

Book credit note

BETA GET v1/{organizationId}/sales/creditnotes/{guid}

Get a credit note

BETA POST v1/{organizationId}/sales/creditnotes/fetch

Fetch a credit note to get total and line sums calculations.

BETA GET v1/{organizationId}/sales/creditnotes?startDate={startDate}&endDate={endDate}&fields={fields}&freeTextSearch={freeTextSearch}&statusFilter={statusFilter}&changesSince={changesSince}&deletedOnly={deletedOnly}&page={page}&pageSize={pageSize}&sort={sort}&sortOrder={sortOrder}

Retrieve a list of credit notes for the organization.

BETA POST v1/{organizationId}/sales/creditnotes/{guid}/email

Send an email with link to a public version of the credit note where it can be printed or downloaded as a pdf

BETA POST v1/{organizationId}/sales/creditnotes/{guid}/e-creditNote

Send an e-credit note to an EAN customer

TradeOffers

Handles accessing of a sales voucher

APIDescription
BETA POST v1/{organizationId}/tradeoffers/fetch

Fetch a trade offer to get total and line sums.

GET v1/{organizationId}/tradeoffers/{guid}

Get tradeoffer as json or pdf. Define the Accept header of your request to either 'application/json' or 'application/octet-stream'.

POST v1/{organizationId}/tradeoffers/{guid}/email

Send an email with link to a public version of the trade offer where it can be printed or downloaded as a pdf

POST v1/{organizationId}/tradeoffers/{guid}/generate-invoice

Generate a invoice of a given trade offer. (OBS Generating a invoice of the trade offer, will trigger a new timestamp on the trade offer).

PUT v1.1/{organizationId}/tradeoffers/{guid}

Update an existing trade offer

BETA PUT v1.2/{organizationId}/tradeoffers/{guid}

Update an existing trade offer

POST v1/{organizationId}/tradeoffers

Saves a trade offer.

DELETE v1/{organizationId}/tradeoffers/{guid}

Delete trade offer

DEPRECATED PUT v1/{organizationId}/tradeoffers/{guid}

Update an existing trade offer

GET v1/{organizationId}/tradeoffers?fields={fields}&queryFilter={queryFilter}&changesSince={changesSince}&deletedOnly={deletedOnly}&freeTextSearch={freeTextSearch}&page={page}&pageSize={pageSize}

Retrieve a list of trade offers for the organization.

VatTypes

Get information on the users VAT types.

APIDescription
GET v1/{organizationId}/vatTypes

Gets a list of all of the organization's VAT types.