Mark Invoiced
Mark the transports selected by the filters as invoiced.
Warning: please use filters when calling this API or the action will apply to all transports
If you want to set invoice_number
or customer_to_invoice
you need to use this webservice
Comma separated list of transport uids to mark as invoiced.
4443d4b6-e165-11ea-a488-0242ac110007,db46db81-ff56-482a-afc0-c85b89ea130e
POST /api/v4/transports/mark-invoiced/ HTTP/1.1
Host: api.dashdoc.eu
Authentication: YOUR_API_KEY
Accept: */*
{
"success": true
}
Mark a transport as invoiced.
If set, invoice_number
, invoiced_price
and customer_to_invoice
can be read at root level of the global JSON of the transport.
uid of the transport
4443d4b6-e165-11ea-a488-0242ac110007
If you choose to identify an object with its remote_id
instead of its uid
then
-
replace the
uid
value with theremote_id
value in the URL -
specify
lookup_field=remote_id
in the query parameters
Used to specify what field is used in the URL to identify the object you're requesting, e.g. with the remote_id
(see path parameters)
Invoice number for the transport
invoice_21_05_742
Invoiced price for the transport. Deprecated in favour of pricing field
250
POST /api/v4/transports/{uid}/mark-invoiced/ HTTP/1.1
Host: api.dashdoc.eu
Authentication: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 96
{
"invoice_number": "invoice_21_05_742",
"customer_to_invoice": {
"pk": 928,
"remote_id": "company123"
}
}
{
"success": true
}
Last updated
Was this helpful?