Zahlungseingang v2 /api/v2/:principal_slug/business/payment_receipts/:id

Überblick

Klasse / Datentyp
Zahlungseingang
Response Formats
JSON
API Version
v2
Öffentlich erreichbar
false
HTTP Methode
GET
Zuletzt aktualisiert

/api/v2/:principal_slug/business/payment_receipts/:id

Parameter

Query Parameter

Schlüssel
id Pflicht

Business::PaymentReceipt ID

principal_slug Pflicht

Backend::Principal Slug / ID

Beispiel Rückgabe

{
  "data" : {
    "id"               : "581b837856820b1b2d204aea",
    "valuta"           : "2016-12-03",
    "state"            : "booked",
    "state_translated" : "Buchungen erfolgreich erstellt",
    "client"           : {
      "id"                     : "5770fb6856820b57b4c898e2",
      "_type"                  : "Business::Partner::Client::PrivateClient",
      "name"                   : "XXXXXXXXXXX",
      "backend_application_id" : "XXXXXXXXXXX",
      "foreign_id"             : "XXXXXXXXXXX"
    },
    "invoice"          : {
      "id"               : "581b2f6a56820b4981b56f72",
      "number"           : "RE-20161103-435",
      "state"            : "completed",
      "state_translated" : "Abgeschlossen"
    },
    "payment"          : null,
    "price"            : {"id" : "581b837856820b1b2d204aeb","value" : 39.95},
    "account"          : {
      "id"     : "56e45c6b93e2e546c82bdb2e",
      "_type"  : "Business::Account::Active::CashResource",
      "number" : 1100,
      "label"  : "Postbank"
    },
    "accounting_year"  : {"id" : "56e45ced93e2e546c82bde83","code" : "2016","label" : "2016"},
    "period"           : {
      "id"    : "56e45ced93e2e546c82bde8f",
      "code"  : "2016-12",
      "label" : "December 2016"
    }
  },
  "meta" : {
    "resource_class" : "Business::PaymentReceipt",
    "id"             : "581b837856820b1b2d204aea",
    "created_at"     : "2016-11-03T19:35:36.825+01:00",
    "updated_at"     : "2016-11-03T19:35:37.784+01:00",
    "principal"      : {"id" : "565c63a193e2e56fc3000001","to_param" : "krolop-gerst"}
  }
}