Skip to main content

Tryton module for invoicing

Project description

The account_invoice module adds the invoice, payment term.

Invoice

There are 4 types of invoice: Invoice, Supplier Invoice, Credit Note and Supplier Credit Note. An invoice can be in Draft, Validated, Posted, Paid or Canceled.

  • Company: The company for which the invoice is created.

  • Tax Identifier: The tax identifier that will be printed on the invoice (By default the first tax identifier of the company).

  • Number: The invoice number set on validation for supplier invoices and on posting for others using the sequence defined on the fiscalyear.

  • Reference: The optional external reference of the invoice.

  • Party: The party for which or from which the invoice is issued.

  • Invoice Address: The address of the party.

  • Party Tax Identifier: The tax identifier of the party.

  • Description: An optional description of the invoice.

  • Comment: A text fields to add custom comments.

  • Invoice Date: The date of the invoice. It is set on posting the invoice if not.

  • Accounting Date: The date to use for accounting if set otherwise it is the invoice date.

  • Currency: The currency of the invoice.

  • Journal: The journal on which the accounting must be booked.

  • Account: The payable or receivable account.

  • Payment Term: The payment term to apply for the invoice (default value comes from the party).

  • Lines: The lines invoiced.

  • Taxes: The taxes related to the lines.

  • Untaxed, Tax, Total Amount: The amounts computed by the invoice.

  • Move: The accounting move created by the invoice on validation for supplier invoices and on posting for others.

  • Cancel Move: The accounting move created to cancel a posted invoice.

The Invoice report is stored when the invoice is posted and thus it is always the same that is returned for consistency.

A wizard allow to register a cash payment directly on the invoice. The payment could be partial or with write-off.

An other wizard allow to create a credit note from the invoice. If the option to refund is checked, the original invoice will be cancelled by the credit note.

Invoice Line

There are 4 types of lines: Line, Subtotal, Title, Comment. The Line are composed of:

  • Product: An optional reference to the product to invoice.

  • Account: The account to book the expense or revenue.

  • Quantity: The quantity invoiced.

  • Unit: The unit of measure in which is expressed the quantity.

  • Unit Price: The unit price of the quantity in the currency of the invoice.

  • Amount: The amount of the line (Unit Price multiplied by Quantity).

  • Description: The description of the product or the line.

  • Note: A text fields to add custom comments.

  • Taxes: The taxes to apply to the amount of the line.

Invoice Tax

It groups the taxes of all the lines. The rounding of the taxes is defined in the accounting configuration and can be: Per Document or Per Line.

  • Description: The description of the tax.

  • Account: The account on which the tax is booked.

  • Base: The base amount on which the tax is computed.

  • Base Code: The Tax Code to record the base amount.

  • Base Sign: The sign used to record the base amount on the tax code.

  • Amount: The amount of the tax.

  • Tax Code: The Tax Code to record the tax amount.

  • Tax Sing: The sign used to record the tax amount on the tax code.

  • Tax: The tax used for computation.

  • Manual: A boolean to define manual tax (which is not linked to an invoice line).

Payment Term

It defines the maximum dates of how an due amount should be paid.

  • Name: The name of the term.

  • Description: The long description of the term.

  • Lines:

    • Relative Deltas:

      • Day: The day of the month.

      • Month: The month of the year.

      • Day of the Week: One of the week day.

      • Months: The number of months to add.

      • Weeks: The number of weeks to add.

      • Days: The number of days to add.

    • Type:

      • Fixed:

        • Amount: The maximum fixed amount to pay at this date.

        • Currency: The currency of the amount.

      • Percentage on Remainder:

        • Ratio: The ratio to use on the remainder amount.

        • Divisor: The reversed ratio.

      • Percentage on Total:

        • Ratio: The ratio to use on the total amount.

        • Divisor: The reversed ratio.

      • Remainder

The computation of relative delta is based on the python-dateutil library. The payment term create a term for each line as far as there is still a remainder amount.

A wizard is provided to test the behaviour of the payment term. It display computed terms base on an amount and a date.

Payment Method

The payment options available when paying an invoice. It has the following fields:

  • Name

  • Company

  • Journal: Will be used for creating the payment move

  • Credit Account and Debit Account: The accounts used for the payment move depending on the amount sign.

  • Active: A checkbox that allow to disable the payment method.

Fiscal Year Sequences

The sequence used to compute the invoice number is retrieved from the fiscalyear sequences model. At least one record must be defined for each fiscalyear. Additional criteria can be used like:

  • By period

Configuration

The account_invoice module uses the section account_invoice to retrieve some parameters:

  • filestore: a boolean value to store invoice report cache in the FileStore. The default value is False.

  • store_prefix: the prefix to use with the FileStore. The default value is None.

Release history Release notifications | RSS feed

This version

5.4.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

trytond_account_invoice-5.4.0.tar.gz (141.2 kB view details)

Uploaded Source

Built Distribution

trytond_account_invoice-5.4.0-py3-none-any.whl (192.7 kB view details)

Uploaded Python 3

File details

Details for the file trytond_account_invoice-5.4.0.tar.gz.

File metadata

  • Download URL: trytond_account_invoice-5.4.0.tar.gz
  • Upload date:
  • Size: 141.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.23.3 CPython/2.7.16

File hashes

Hashes for trytond_account_invoice-5.4.0.tar.gz
Algorithm Hash digest
SHA256 aadf738541936b0b3681ef1ee898b279f41e558d063aa7e8b9af479e22b13298
MD5 2bb5fa287d82c1b9b77ad0ecd8411ea3
BLAKE2b-256 e1b9667f92c75403db1446ed97d93ae154c5ceb841c72b8220d3793114cf8d1b

See more details on using hashes here.

Provenance

File details

Details for the file trytond_account_invoice-5.4.0-py3-none-any.whl.

File metadata

  • Download URL: trytond_account_invoice-5.4.0-py3-none-any.whl
  • Upload date:
  • Size: 192.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.23.3 CPython/2.7.16

File hashes

Hashes for trytond_account_invoice-5.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 04826a7503ec1f045d1f2f8be3441e9b2ee1ac845bec7ed5743404475e618393
MD5 2d8533fcaba4c48e9ba46e2aa998b543
BLAKE2b-256 0dacdd095d59756bc0abc59217780ae28cf91e515ae78f78d5263e30d321944f

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page