ops
ops-orders
Add invoices
Changed onAdd invoices for an end customer by ops
post/ops/invoices
Request
- Base URLhttps://api.topi-staging.eu
- URLhttps://api.topi-staging.eu/ops/invoices
- AuthOAuth 2Authorization code: /oauth2/authorizeToken URL: /oauth2/token scopes: ops-invoice:edit
Request body
Example request
{
"invoices": [
{
"amount": {
"currency": "EUR",
"gross": 119000,
"net": 100000
},
"confirm_overwrite": false,
"contract_type": "rent",
"duration": 6,
"encrypted_invoice_number": "abc123",
"file": "abc123",
"invoice_date": "abc123",
"order_id": "739b63c2-9e58-4964-b38d-4ebb424de242",
"seller_offer_reference": "abc123",
"transaction_type": "invoice",
"withdrawal_date": "1970-01-01T00:00:01Z"
},
{
"amount": {
"currency": "EUR",
"gross": 119000,
"net": 100000
},
"confirm_overwrite": false,
"contract_type": "rent",
"duration": 6,
"encrypted_invoice_number": "abc123",
"file": "abc123",
"invoice_date": "abc123",
"order_id": "739b63c2-9e58-4964-b38d-4ebb424de242",
"seller_offer_reference": "abc123",
"transaction_type": "invoice",
"withdrawal_date": "1970-01-01T00:00:01Z"
}
],
"send_email": false
}Response
OK response.
Changes
- info
api operation id
invoice.addInvoicesremoved and replaced withinvoice#addInvoices
- info
- info
api operation id
invoice#addInvoicesremoved and replaced withinvoice.addInvoices - info
api tag
ops-ordersadded
- info