account

package module
v0.0.30 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 7, 2019 License: AGPL-3.0 Imports: 31 Imported by: 1

README

Build Status Go Report Card

Account

Hexya Accounting

The Hexya accounting app allows a better way to collaborate with your accountants, your customers and control your suppliers.

Activate features on demand, from integrated analytic accounting to budget, assets and multiple companies consolidation.

A Smart User Interface

Record transactions in a few clicks and easily manage all financial activities in one place. Hexya's user interface is designed with productivity in mind.

A Better Way To Work – Together

Share access to your latest business numbers with your team and your accountant – so everyone is up to speed. From work, home or on the go.

Connect Your Bank Accounts

Import your bank statements and reconcile them in just a few clicks. Prepare payment orders based on your supplier invoices and payment terms.

Electronic invoicing and automated follow-ups

Create and send professional invoices & get paid online. Get rid of the stress of having to constantly remind your debtors. Simply set-up and automate follow-ups to get paid quickly.

Sales Integration

Automatically create invoices from sales orders, delivery orders or base them on time and material. Re-invoice expenses on projects to your customer in just a few clicks.

Purchase Integration

Control supplier invocies based on purchase orders. Get real-time inventory valuation reports automatically posted in your accounts.

Multi-Level Analytic Accounting

Integrate your analytic accounting operations with timesheets, projects, invoices, expenses, etc. No need to record transactions, all analytic entries are posted automatically following your business rules.

Everything you need to grow

Manage your assets, track expenses, control budgets, multi-level analytic accounting; Haxya has all the features you need to sustain all your business activities.

Scale With Your Organization

Hexya supports multiple currencies, multiple users with different access rights, multiple companies with real time consolidation and unlimited analytic plans.

Documentation

Index

Constants

View Source
const MODULE_NAME string = "account"

Variables

View Source
var (
	GroupUser           *security.Group
	GroupPartnerManager *security.Group
	GroupAccountInvoice *security.Group
	GroupAccountUser    *security.Group
	GroupAccountManager *security.Group
)
View Source
var ReferenceType = types.Selection{
	"none": "Free Reference",
}

ReferenceType for a move

View Source
var Type2Journal = map[string]string{
	"out_invoice": "sale",
	"in_invoice":  "purchase",
	"out_refund":  "sale",
	"in_refund":   "purchase",
}

Type2Journal is mapping from invoice type to journal type

View Source
var Type2PartnerType = map[string]string{
	`out_invoice`: `customer`,
	`out_refund`:  `customer`,
	`in_invoice`:  `supplier`,
	`in_refund`:   `supplier`,
}

Type2PartnerType is a mapping from invoice type to partner type

View Source
var Type2PaymentType = map[string]float64{
	`out_invoice`: 1.0,
	`in_refund`:   1.0,
	`in_invoice`:  -1.0,
	`out_refund`:  -1.0,
}

Type2PaymentType is a mapping from invoice type to 1 or -1. Since invoice amounts are unsigned, this is how we know if money comes in or goes out

View Source
var Type2Refund = map[string]string{
	`out_invoice`: `out_refund`,
	`in_invoice`:  `in_refund`,
	`out_refund`:  `out_invoice`,
	`in_refund`:   `in_invoice`,
}

Type2Refund is a mapping from invoice type to refund type

Functions

func CoalesceInt added in v0.0.30

func CoalesceInt(lst ...int) int

func CoalesceStr added in v0.0.30

func CoalesceStr(lst ...string) string

func FormatLang added in v0.0.30

func FormatLang(env models.Environment, value float64, currency models.RecordSet) string

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL