The Repost Accounting Ledger Settings object
Attributes
id string
Unique identifier for the object.
created_at string
ISO 8601 timestamp of when the object was created.
updated_at string
ISO 8601 timestamp of when the object was last updated.
The Repost Accounting Ledger Settings object
{
"id": "repost-accounting-ledger-settings_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z"
} GET
/api/accounts/repost-accounting-ledger-settings Retrieve repost accounting ledger settings
Retrieves the current repost accounting ledger settings. This is a singleton resource.
Returns
Returns the repost accounting ledger settings object.
GET /api/accounts/repost-accounting-ledger-settings
curl https://api.overplane.dev/api/accounts/repost-accounting-ledger-settings \
-H "Authorization: Bearer sk_test_..." Response
{
"id": "repost-accounting-ledger-settings_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z"
} PATCH
/api/accounts/repost-accounting-ledger-settings/{id} Update a repost accounting ledger settings
Updates the specified repost accounting ledger settings by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
Path parameters
id string required
The identifier of the repost accounting ledger settings to update.
Returns
Returns the updated repost accounting ledger settings object.
PATCH /api/accounts/repost-accounting-ledger-settings/{id}
curl https://api.overplane.dev/api/accounts/repost-accounting-ledger-settings/repost-accounting-ledger-settings_abc123 \
-H "Authorization: Bearer sk_test_..." \
-X PATCH \
-H "Content-Type: application/json" Response
{
"id": "repost-accounting-ledger-settings_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z"
} Line items
Child objects that belong to this repost accounting ledger settings. These are accessed via the parent's ID.
Repost Allowed Types
Attributes
idx integer
repost_accounting_ledger_settings_id string required
document_type string
allowed boolean
Endpoints
GET
/api/accounts/repost-allowed-types?parent_id={id} POST
/api/accounts/repost-allowed-types PATCH
/api/accounts/repost-allowed-types/{id} DELETE
/api/accounts/repost-allowed-types/{id} POST
/api/accounts/repost-allowed-types/reorder Repost Allowed Types object
{
"id": "repost-allowed-types_abc123",
"idx": 1,
"repost_accounting_ledger_settings_id": "repost_accounting_ledger_settings_id_example",
"document_type": "document_type_example",
"allowed": false
}