Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
7931d458c5 | |||
d5b21e6567 | |||
1ccafa8c87 | |||
850d56df8b |
11
changelog.md
11
changelog.md
@ -1,5 +1,16 @@
|
||||
# Changelog
|
||||
|
||||
## 2025-03-20 - 7.1.0 - feat(ts/finance/invoice)
|
||||
Add electronicAddress field to IInvoice for circular xinvoice support
|
||||
|
||||
- Introduce optional electronicAddress property with scheme and value
|
||||
- Enhance documentation for buyer reference in invoice interface
|
||||
|
||||
## 2025-03-20 - 7.0.0 - BREAKING CHANGE(business/address)
|
||||
Remove eAddress property from IAddress interface
|
||||
|
||||
- Removed eAddress field that allowed storage of electronic contact means (phone, email, peppolId)
|
||||
|
||||
## 2025-03-20 - 6.1.2 - fix(business/address)
|
||||
Improve documentation comments for address interface properties
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@tsclass/tsclass",
|
||||
"version": "6.1.2",
|
||||
"version": "7.1.0",
|
||||
"private": false,
|
||||
"description": "Provides TypeScript definitions for various business, financial, networking, content, and other common classes.",
|
||||
"main": "dist_ts/index.js",
|
||||
|
@ -3,6 +3,6 @@
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@tsclass/tsclass',
|
||||
version: '6.1.2',
|
||||
version: '7.1.0',
|
||||
description: 'Provides TypeScript definitions for various business, financial, networking, content, and other common classes.'
|
||||
}
|
||||
|
@ -14,13 +14,4 @@ export interface IAddress {
|
||||
lat: number;
|
||||
lng: number;
|
||||
};
|
||||
/**
|
||||
* allows storage of electronic means to reach this address
|
||||
* can be phone, email
|
||||
*/
|
||||
eAddress?: {
|
||||
email?: string;
|
||||
phone?: string;
|
||||
peppolId?: string;
|
||||
};
|
||||
}
|
||||
|
@ -21,6 +21,13 @@ export interface IInvoice {
|
||||
* buyer reference is an optional field, that helps the buyer to identify the invoice
|
||||
*/
|
||||
buyerReference?: string;
|
||||
/**
|
||||
* also a kind of reference, esspecially needed for circular xinvoice support.
|
||||
*/
|
||||
electronicAddress?: {
|
||||
scheme: string;
|
||||
value: string;
|
||||
};
|
||||
type: 'creditnote' | 'debitnote';
|
||||
status: TInvoiceStatus;
|
||||
items: IInvoiceItem[];
|
||||
|
Reference in New Issue
Block a user