AlphaAlpha Docs
API ReferenceDebit notes

Get debit notes for a purchase order

GET
/debit-notes/by-po/{poId}
AuthorizationBearer <token>

In: header

Path Parameters

poId*string

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "http://localhost:18080/api/v1/debit-notes/by-po/string"
[
  {
    "clearingEntries": [
      {
        "clearingStockSiteId": "string",
        "productId": "string",
        "quantity": 0.1
      }
    ],
    "created": "2019-08-24T14:15:22Z",
    "createdBy": "string",
    "currency": "string",
    "dueDate": "2019-08-24T14:15:22Z",
    "id": "string",
    "issueDate": "2019-08-24T14:15:22Z",
    "note": "string",
    "number": "string",
    "purchaseOrderId": "string",
    "referenceNumber": "string",
    "rows": [
      {
        "description": "string",
        "glAccountId": "string",
        "id": "string",
        "productId": "string",
        "productName": "string",
        "quantity": 0.1,
        "taxAmount": 0.1,
        "taxRate": 0.1,
        "total": 0.1,
        "totalWithTax": 0.1,
        "unitPrice": 0.1
      }
    ],
    "settledDate": "2019-08-24T14:15:22Z",
    "status": "string",
    "subsidiaryId": "string",
    "subtotal": 0.1,
    "supplierEmail": "string",
    "supplierId": "string",
    "supplierName": "string",
    "taxAmount": 0.1,
    "totalAmount": 0.1,
    "updated": "2019-08-24T14:15:22Z"
  }
]
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}