Invoices
Last updated
Was this helpful?
Last updated
Was this helpful?
Was this helpful?
POST /v1/om/invoices HTTP/1.1
Host:
api-key: YOUR_API_KEY
organization-id: text
Content-Type: application/json
Accept: */*
Content-Length: 102
{
"params": {
"orderId": "text",
"type": "credit-note",
"referenceInvoiceId": "text",
"applyExpiresAt": "text"
}
}{
"app": "text",
"service": "text",
"warnings": [
{}
],
"instanceId": "text",
"requestId": "text",
"data": {
"id": "text"
}
}DELETE /v1/om/invoices/{uid} HTTP/1.1
Host:
api-key: YOUR_API_KEY
organization-id: text
Accept: */*
{
"app": "text",
"service": "text",
"warnings": [
{}
],
"instanceId": "text",
"requestId": "text",
"data": {
"succeed": true
}
}PATCH /v1/om/invoices/{uid} HTTP/1.1
Host:
api-key: YOUR_API_KEY
organization-id: text
Content-Type: application/json
Accept: */*
Content-Length: 93
{
"params": {
"orderId": "text",
"id": "text",
"referenceInvoiceId": "text",
"applyExpiresAt": "text"
}
}{
"app": "text",
"service": "text",
"warnings": [
{}
],
"instanceId": "text",
"requestId": "text",
"data": {
"success": true
}
}PATCH /v1/om/invoices/{uid}/close HTTP/1.1
Host:
api-key: YOUR_API_KEY
organization-id: text
Accept: */*
{
"app": "text",
"service": "text",
"warnings": [
{}
],
"instanceId": "text",
"requestId": "text",
"data": {
"invoiceNumber": 1,
"invoiceSource": "text",
"invoicedAt": "text"
}
}POST /v1/om/invoices/{uid}/send HTTP/1.1
Host:
api-key: YOUR_API_KEY
organization-id: text
Accept: */*
{
"app": "text",
"service": "text",
"warnings": [
{}
],
"instanceId": "text",
"requestId": "text",
"data": {
"success": true,
"messageId": "text"
}
}