v1

latestOpenAPI 3.0.12026-08-041753011.2 MB
Invoice

Get invoice settings

get/v1/workspaces/{workspaceId}/invoices/settings

Path parameters

workspaceIdstring required

Represents a workspace identifier across the system.

Example:64a687e29ae1f428e7ebe303

Represents a workspace identifier across the system.

Response

OK

Example response

{
  "defaults": {
    "companyId": "34a687e29ae1f428e7ebe101",
    "defaultImportExpenseItemTypeId": "88a687e29ae1f428e7ebe303",
    "defaultImportTimeItemTypeId": "18a687e29ae1f428e7ebe303",
    "dueDays": 2,
    "itemTypeId": "78a687e29ae1f428e7ebe303",
    "notes": "This is a sample note for this invoice.",
    "subject": "January salary",
    "tax2Percent": 1,
    "taxPercent": 5,
    "taxType": "COMPOUND"
  },
  "labels": {
    "amount": "1000",
    "billFrom": "Entity A",
    "billTo": "Entity B",
    "description": "This is a sample description for this invoice.",
    "discount": "0",
    "dueDate": "2020-01-01",
    "issueDate": "2020-01-01",
    "itemType": "Service",
    "notes": "This is a sample note for this invoice.",
    "paid": "1000",
    "quantity": "10",
    "subtotal": "1000",
    "tax": "10",
    "tax2": "0",
    "total": "1010",
    "totalAmount": "1010",
    "unitPrice": "100"
  }
}