Show / Hide Table of Contents

    Create

    Command, Introduced in version 22.4

    POST https://localhost:8001/sv/001.1/api/v1/Accounting/AccountsReceivables/Create
    

    Creates an accounts receivable.

    Returns EntityCommandResponse

    The root entity id of the response is the business key identifier of the created accounts receivable. References AccountsReceivables

    The entity id of the response is the same as the root entity id.

    Required permission

    Create accounts receivable
    

    Properties

    Name Type Summary Introduced in
    InvoiceNumber Int64? The human readable identifier of the accounts receivable.

    • Generated from number series by default
    • Unique
    IsCredit Boolean Specifies if the accounts receivable is a credit or not.
    BusinessContactId Int64 The business key identifier of the customer that the accounts receivable belongs to.

    • Mandatory
    • References Customer
    InvoiceAmount Decimal The invoice amount of the accounts receivable.

    • Mandatory
    VatAmount Decimal? The VAT amount of the accounts receivable.

    • Calculated by MONITOR by default
    VatGroupId Int64? The business key identifier of the VAT group that the accounts receivable belongs to

    • Same as customer by default
    • References VatGroup
    CustomerAccountGroupId Int64? The business key identifier of the customer account group for the accounts receivable.

    • References CustomerAccountGroup
    • Same as customer by default
    CurrencyId Int64? The business key identifier of the accounts receivable currency.

    • References Currency
    • Same as customer by default
    ExchangeRate Decimal? The exchange rate of the accounts receivable.

    • Generated by MONITOR by default
    InvoiceDate DateTimeOffset? The invoice date of the accounts receivable.

    • Today's date by default
    BookingRows AddBookingRow[] The booking rows to set for the accounts receivable.
    Introduced in version 22.7
    DueDate DateTimeOffset? The due date of the accounts receivable.

    • Calculated by Monitor by default
    Introduced in version 22.9

    Example

    {
      "InvoiceNumber": null,
      "IsCredit": false,
      "BusinessContactId": 0,
      "InvoiceAmount": 0.0,
      "VatAmount": null,
      "VatGroupId": null,
      "CustomerAccountGroupId": null,
      "CurrencyId": null,
      "ExchangeRate": null,
      "InvoiceDate": null,
      "BookingRows": null,
      "DueDate": null
    }
    
    Back to top Copyright © 2023 Monitor ERP System AB