placementt-core 1.400.1240 → 1.400.1241

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/invoicing.js CHANGED
@@ -14,7 +14,7 @@ exports.INVOICE_VAT_RATE = 0.2;
14
14
  exports.INVOICE_DUE_DAYS = 30;
15
15
  /** Xero's "Sales" account and its 20% VAT-on-income tax type, as every
16
16
  * CareerThread invoice has been coded. */
17
- exports.XERO_LINE_DEFAULTS = { accountCode: "763", taxType: "OUTPUT2" };
17
+ exports.XERO_LINE_DEFAULTS = { accountCode: "200", taxType: "OUTPUT2" };
18
18
  const round = (value) => Math.round(value * 100) / 100;
19
19
  /**
20
20
  * How much a discount takes off an amount.
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "private": false,
3
3
  "name": "placementt-core",
4
4
  "author": "Placementt",
5
- "version": "1.400.1240",
5
+ "version": "1.400.1241",
6
6
  "main": "lib/index.js",
7
7
  "types": "lib/index.d.ts",
8
8
  "scripts": {
package/src/invoicing.ts CHANGED
@@ -57,7 +57,7 @@ export const INVOICE_DUE_DAYS = 30;
57
57
 
58
58
  /** Xero's "Sales" account and its 20% VAT-on-income tax type, as every
59
59
  * CareerThread invoice has been coded. */
60
- export const XERO_LINE_DEFAULTS = {accountCode: "763", taxType: "OUTPUT2"};
60
+ export const XERO_LINE_DEFAULTS = {accountCode: "200", taxType: "OUTPUT2"};
61
61
 
62
62
  export type InvoiceLineTotal = InvoiceLine & {
63
63
  /** quantity × unitAmount. */