pub struct generate_income_statement;Expand description
Generate income statement (profit & loss) report for a time period
Access: Accountant, SuperAdmin
Belgian PCMN Income Statement:
- Expenses (Class 6): Operating costs, maintenance, utilities
- Revenue (Class 7): Regular fees, extraordinary fees, interest income
Query Parameters:
period_start: ISO 8601 datetime (e.g., “2024-01-01T00:00:00Z”)period_end: ISO 8601 datetime (e.g., “2024-12-31T23:59:59Z”)
Example:
GET /api/v1/reports/income-statement?period_start=2024-01-01T00:00:00Z&period_end=2024-12-31T23:59:59Z
Authorization: Bearer <token>Trait Implementations§
Auto Trait Implementations§
impl Freeze for generate_income_statement
impl RefUnwindSafe for generate_income_statement
impl Send for generate_income_statement
impl Sync for generate_income_statement
impl Unpin for generate_income_statement
impl UnwindSafe for generate_income_statement
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Chain<T> for T
impl<T> Chain<T> for T
§impl<T> Fake for T
impl<T> Fake for T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.