Skip to content

Latest commit

 

History

History
80 lines (59 loc) · 1.31 KB

ledger.rst

File metadata and controls

80 lines (59 loc) · 1.31 KB

Back to index

Ledger

$results = $client->ledger->list();
$id = 42;
$results = $client->ledger->get($id);
$id = 42;
$results = $client->ledger->save($id, [
    'description' => 'string',
    'aggregation' => [
        'aggregation_level' => 0,
        'description' => 'string'
    ],
    'vat' => [
        'id' => 0
    ],
    'allow_free_vat_input' => true,
    'debit_credit_suggestion' => 'debet',
    'balance' => [
        'id' => 0
    ],
    'aggregate_transactions' => true,
    'quantity_applicable' => true,
    'cost_type' => [
        'id' => 0
    ],
    'blocked' => [
        'active' => true,
        'reason' => 'string'
    ],
    'budget_division' => [
        'id' => 0
    ],
    'year_budget' => 0,
    'memo' => [
        'active' => true,
        'text' => 'string'
    ]
]);
$id = 42;
$results = $client->ledger->delete($id);

Back to top