External sales invoices are invoices created in other systems that you want to import into Moneybird for a complete overview of your revenue.
Create external sales invoice from attachment
Creates an external sales invoice from an attachment.
path Parameters
administration_id
string | integer · pattern:^\d+$
· requiredThe unique identifier of the administration
A unique record identifier of an administration
format
string · pattern:^(.(json|xml))?$
· requiredThe format in which the response is given, can be empty to use the default format
Default: .json
Responses
Status code
Download attachment
Download the attachment. The response will be a redirect to a temporarily available URL
where the attachment can be downloaded. Use the Location
header in the response
to download the attachment.
path Parameters
administration_id
string | integer · pattern:^\d+$
· requiredThe unique identifier of the administration
A unique record identifier of an administration
external_sales_invoice_id
string | integer · pattern:^\d+$
· requiredA unique record identifier
id
string | integer · pattern:^\d+$
· requiredA unique record identifier
format
string · pattern:^(.(json|xml))?$
· requiredThe format in which the response is given, can be empty to use the default format
Default: .json
Responses
Found
Delete an attachment
Deletes an attachment of an attachable.
path Parameters
administration_id
string | integer · pattern:^\d+$
· requiredThe unique identifier of the administration
A unique record identifier of an administration
external_sales_invoice_id
string | integer · pattern:^\d+$
· requiredA unique record identifier
id
string | integer · pattern:^\d+$
· requiredA unique record identifier
format
string · pattern:^(.(json|xml))?$
· requiredThe format in which the response is given, can be empty to use the default format
Default: .json
Responses
Attachment deleted
Destroys note from entity
Deletes a note from the external sales invoice
path Parameters
administration_id
string | integer · pattern:^\d+$
· requiredThe unique identifier of the administration
A unique record identifier of an administration
external_sales_invoice_id
string | integer · pattern:^\d+$
· requiredA unique record identifier
id
string | integer · pattern:^\d+$
· requiredA unique record identifier
format
string · pattern:^(.(json|xml))?$
· requiredThe format in which the response is given, can be empty to use the default format
Default: .json
Responses
Note deleted
Adds note to entity
Adds a note to the external sales invoice.
path Parameters
administration_id
string | integer · pattern:^\d+$
· requiredThe unique identifier of the administration
A unique record identifier of an administration
external_sales_invoice_id
string | integer · pattern:^\d+$
· requiredA unique record identifier
format
string · pattern:^(.(json|xml))?$
· requiredThe format in which the response is given, can be empty to use the default format
Default: .json
Responses
Note created
id
string | integer · pattern:^\d+$
A unique record identifier
administration_id
string | integer · pattern:^\d+$
A unique record identifier of an administration
entity_id
string | integer | null · pattern:^\d+$
A unique record identifier
entity_type
stringuser_id
string | integer · pattern:^\d+$
A unique record identifier
assignee_id
string | integer | null · pattern:^\d+$
A unique record identifier
todo
boolean | string | nullDefault: falsenote
string | nullcompleted_at
string | null · date-timecompleted_by_id
string | integer | null · pattern:^\d+$
A unique record identifier
todo_type
string | null · enumEnum values:sales_invoice_duepurchase_invoice_duegeneral_document_remindergeneral_document_duenew_document_awaiting_processingnew_financial_mutation_awaiting_processingfinancial_mutations_not_updatedsales_invoice_payment_not_linked_to_financial_mutationdata
object | nullcreated_at
string · date-timeupdated_at
string · date-time
Delete a payment
Deletes a payment from an external sales invoice.
path Parameters
administration_id
string | integer · pattern:^\d+$
· requiredThe unique identifier of the administration
A unique record identifier of an administration
external_sales_invoice_id
string | integer · pattern:^\d+$
· requiredA unique record identifier
id
string | integer · pattern:^\d+$
· requiredA unique record identifier
format
string · pattern:^(.(json|xml))?$
· requiredThe format in which the response is given, can be empty to use the default format
Default: .json
Responses
Payment deleted
Create a payment
Registers a payment for a external sales invoice.
path Parameters
administration_id
string | integer · pattern:^\d+$
· requiredThe unique identifier of the administration
A unique record identifier of an administration
external_sales_invoice_id
string | integer · pattern:^\d+$
· requiredA unique record identifier
format
string · pattern:^(.(json|xml))?$
· requiredThe format in which the response is given, can be empty to use the default format
Default: .json
Responses
Payment created
id
string | integer · pattern:^\d+$
A unique record identifier
administration_id
string | integer · pattern:^\d+$
A unique record identifier of an administration
invoice_type
string · enumEnum values:SalesInvoiceDocumentExternalSalesInvoiceVatDocumentinvoice_id
string | integer · pattern:^\d+$
A unique record identifier
financial_account_id
string | integer | null · pattern:^\d+$
A unique record identifier
user_id
string | integer · pattern:^\d+$
A unique record identifier
payment_transaction_id
string | integer | null · pattern:^\d+$
A unique record identifier
transaction_identifier
string | nullprice
price_base
payment_date
string · datecredit_invoice_id
string | integer | null · pattern:^\d+$
A unique record identifier
financial_mutation_id
string | integer | null · pattern:^\d+$
A unique record identifier
ledger_account_id
string | integer | null · pattern:^\d+$
A unique record identifier
linked_payment_id
string | integer | null · pattern:^\d+$
A unique record identifier
manual_payment_action
string | nullcreated_at
string · date-timeupdated_at
string · date-time
Add attachment to external sales invoice
Add an attachment to an external sales invoice.
path Parameters
administration_id
string | integer · pattern:^\d+$
· requiredThe unique identifier of the administration
A unique record identifier of an administration
id
string | integer · pattern:^\d+$
· requiredA unique record identifier
format
string · pattern:^(.(json|xml))?$
· requiredThe format in which the response is given, can be empty to use the default format
Default: .json
Responses
Status code
Mark as dubious
This endpoint marks an external sales invoice as dubious.
path Parameters
administration_id
string | integer · pattern:^\d+$
· requiredThe unique identifier of the administration
A unique record identifier of an administration
id
string | integer · pattern:^\d+$
· requiredA unique record identifier
format
string · pattern:^(.(json|xml))?$
· requiredThe format in which the response is given, can be empty to use the default format
Default: .json
Responses
External sales invoice updated
id
string | integer · pattern:^\d+$
A unique record identifier
administration_id
string | integer · pattern:^\d+$
A unique record identifier of an administration
contact_id
string | integer | null · pattern:^\d+$
A unique record identifier
contact
date
string · datestate
string · enumEnum values:newopenlatepaiduncollectiblepending_paymentdue_date
string | null · datereference
string | nullentry_number
integerorigin
string | null · enumEnum values:uploadendpointsiemailsi_localsi_peppolapimoneybird_bvsource
string | nullsource_url
string | nullcurrency
stringISO 4217 currency code
paid_at
string | null · datecreated_at
string · date-timeupdated_at
string · date-timeversion
integerdetails
object[]payments
object[]total_paid
stringtotal_unpaid
stringtotal_unpaid_base
stringprices_are_incl_tax
booleantotal_price_excl_tax
stringtotal_price_excl_tax_base
stringtotal_price_incl_tax
stringtotal_price_incl_tax_base
stringmarked_dubious_on
string | null · datemarked_uncollectible_on
string | null · datenotes
object[]attachments
object[]events
object[]tax_totals
object[]
Mark as uncollectible
This endpoint marks an external sales invoice as uncollectible.
path Parameters
administration_id
string | integer · pattern:^\d+$
· requiredThe unique identifier of the administration
A unique record identifier of an administration
id
string | integer · pattern:^\d+$
· requiredA unique record identifier
format
string · pattern:^(.(json|xml))?$
· requiredThe format in which the response is given, can be empty to use the default format
Default: .json
Responses
External sales invoice updated
id
string | integer · pattern:^\d+$
A unique record identifier
administration_id
string | integer · pattern:^\d+$
A unique record identifier of an administration
contact_id
string | integer | null · pattern:^\d+$
A unique record identifier
contact
date
string · datestate
string · enumEnum values:newopenlatepaiduncollectiblepending_paymentdue_date
string | null · datereference
string | nullentry_number
integerorigin
string | null · enumEnum values:uploadendpointsiemailsi_localsi_peppolapimoneybird_bvsource
string | nullsource_url
string | nullcurrency
stringISO 4217 currency code
paid_at
string | null · datecreated_at
string · date-timeupdated_at
string · date-timeversion
integerdetails
object[]payments
object[]total_paid
stringtotal_unpaid
stringtotal_unpaid_base
stringprices_are_incl_tax
booleantotal_price_excl_tax
stringtotal_price_excl_tax_base
stringtotal_price_incl_tax
stringtotal_price_incl_tax_base
stringmarked_dubious_on
string | null · datemarked_uncollectible_on
string | null · datenotes
object[]attachments
object[]events
object[]tax_totals
object[]
Get an external sales invoice by id
Returns an external sales invoices in the administration.
path Parameters
administration_id
string | integer · pattern:^\d+$
· requiredThe unique identifier of the administration
A unique record identifier of an administration
id
string | integer · pattern:^\d+$
· requiredA unique record identifier
format
string · pattern:^(.(json|xml))?$
· requiredThe format in which the response is given, can be empty to use the default format
Default: .json
Responses
A external sales invoice
id
string | integer · pattern:^\d+$
A unique record identifier
administration_id
string | integer · pattern:^\d+$
A unique record identifier of an administration
contact_id
string | integer | null · pattern:^\d+$
A unique record identifier
contact
date
string · datestate
string · enumEnum values:newopenlatepaiduncollectiblepending_paymentdue_date
string | null · datereference
string | nullentry_number
integerorigin
string | null · enumEnum values:uploadendpointsiemailsi_localsi_peppolapimoneybird_bvsource
string | nullsource_url
string | nullcurrency
stringISO 4217 currency code
paid_at
string | null · datecreated_at
string · date-timeupdated_at
string · date-timeversion
integerdetails
object[]payments
object[]total_paid
stringtotal_unpaid
stringtotal_unpaid_base
stringprices_are_incl_tax
booleantotal_price_excl_tax
stringtotal_price_excl_tax_base
stringtotal_price_incl_tax
stringtotal_price_incl_tax_base
stringmarked_dubious_on
string | null · datemarked_uncollectible_on
string | null · datenotes
object[]attachments
object[]events
object[]tax_totals
object[]
Delete an external sales invoice
Deletes an external sales invoice.
path Parameters
administration_id
string | integer · pattern:^\d+$
· requiredThe unique identifier of the administration
A unique record identifier of an administration
id
string | integer · pattern:^\d+$
· requiredA unique record identifier
format
string · pattern:^(.(json|xml))?$
· requiredThe format in which the response is given, can be empty to use the default format
Default: .json
Responses
External sales invoice deleted
Update an external sales invoice
When updating an external sales invoice, provide only the attributes you want to update. The other attributes will not be changed.
path Parameters
administration_id
string | integer · pattern:^\d+$
· requiredThe unique identifier of the administration
A unique record identifier of an administration
id
string | integer · pattern:^\d+$
· requiredA unique record identifier
format
string · pattern:^(.(json|xml))?$
· requiredThe format in which the response is given, can be empty to use the default format
Default: .json
Responses
External sales invoice updated
id
string | integer · pattern:^\d+$
A unique record identifier
administration_id
string | integer · pattern:^\d+$
A unique record identifier of an administration
contact_id
string | integer | null · pattern:^\d+$
A unique record identifier
contact
date
string · datestate
string · enumEnum values:newopenlatepaiduncollectiblepending_paymentdue_date
string | null · datereference
string | nullentry_number
integerorigin
string | null · enumEnum values:uploadendpointsiemailsi_localsi_peppolapimoneybird_bvsource
string | nullsource_url
string | nullcurrency
stringISO 4217 currency code
paid_at
string | null · datecreated_at
string · date-timeupdated_at
string · date-timeversion
integerdetails
object[]payments
object[]total_paid
stringtotal_unpaid
stringtotal_unpaid_base
stringprices_are_incl_tax
booleantotal_price_excl_tax
stringtotal_price_excl_tax_base
stringtotal_price_incl_tax
stringtotal_price_incl_tax_base
stringmarked_dubious_on
string | null · datemarked_uncollectible_on
string | null · datenotes
object[]attachments
object[]events
object[]tax_totals
object[]
List all external invoices
Returns a paginated list of all sales invoices in the administration.
The filter
argument allows you to filter the list of external invoices. Filters are a combination of keys and values,
separated by a comma: period:this_year,state:all
. The available options for filtering are:
Filter | Type | Default | Description |
---|---|---|---|
state | String | all | all , new , open , late , or paid |
period | String | this_year | This can either be the description of a period (this_month , prev_month , next_month , this_quarter , prev_quarter , next_quarter , this_year , prev_year , next_year ) or a custom period (201301..201302 , 20130101..20130131 ) |
contact_id | Integer | Select invoices belonging to a certain contact |
You can filter by multiple states at the same time as well. To do this, separate the state values by a pipe: state:new|open
.
path Parameters
administration_id
string | integer · pattern:^\d+$
· requiredThe unique identifier of the administration
A unique record identifier of an administration
format
string · pattern:^(.(json|xml))?$
· requiredThe format in which the response is given, can be empty to use the default format
Default: .json
query Parameters
filter
stringper_page
integer | string · min: 1 · max: 100 · pattern:^\d+$
Responses
A list of external sales invoices
id
string | integer · pattern:^\d+$
A unique record identifier
administration_id
string | integer · pattern:^\d+$
A unique record identifier of an administration
contact_id
string | integer | null · pattern:^\d+$
A unique record identifier
contact
date
string · datestate
string · enumEnum values:newopenlatepaiduncollectiblepending_paymentdue_date
string | null · datereference
string | nullentry_number
integerorigin
string | null · enumEnum values:uploadendpointsiemailsi_localsi_peppolapimoneybird_bvsource
string | nullsource_url
string | nullcurrency
stringISO 4217 currency code
paid_at
string | null · datecreated_at
string · date-timeupdated_at
string · date-timeversion
integerdetails
object[]payments
object[]total_paid
stringtotal_unpaid
stringtotal_unpaid_base
stringprices_are_incl_tax
booleantotal_price_excl_tax
stringtotal_price_excl_tax_base
stringtotal_price_incl_tax
stringtotal_price_incl_tax_base
stringmarked_dubious_on
string | null · datemarked_uncollectible_on
string | null · datenotes
object[]attachments
object[]events
object[]tax_totals
object[]
Create an external sales invoice
Creates a new external sales invoice.
path Parameters
administration_id
string | integer · pattern:^\d+$
· requiredThe unique identifier of the administration
A unique record identifier of an administration
format
string · pattern:^(.(json|xml))?$
· requiredThe format in which the response is given, can be empty to use the default format
Default: .json
Responses
External sales invoice created
id
string | integer · pattern:^\d+$
A unique record identifier
administration_id
string | integer · pattern:^\d+$
A unique record identifier of an administration
contact_id
string | integer | null · pattern:^\d+$
A unique record identifier
contact
date
string · datestate
string · enumEnum values:newopenlatepaiduncollectiblepending_paymentdue_date
string | null · datereference
string | nullentry_number
integerorigin
string | null · enumEnum values:uploadendpointsiemailsi_localsi_peppolapimoneybird_bvsource
string | nullsource_url
string | nullcurrency
stringISO 4217 currency code
paid_at
string | null · datecreated_at
string · date-timeupdated_at
string · date-timeversion
integerdetails
object[]payments
object[]total_paid
stringtotal_unpaid
stringtotal_unpaid_base
stringprices_are_incl_tax
booleantotal_price_excl_tax
stringtotal_price_excl_tax_base
stringtotal_price_incl_tax
stringtotal_price_incl_tax_base
stringmarked_dubious_on
string | null · datemarked_uncollectible_on
string | null · datenotes
object[]attachments
object[]events
object[]tax_totals
object[]